Bug 602787 part.6 Use EventForwards.h in gtk/nsWindow.h r=karlt
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 22 Oct 2013 22:27:35 +0900
changeset 151738 574ba6718462c3f417e8b243f3d4f69761b5f808
parent 151737 e47912877f80b8875c1a85cdd7d615ff12e69f92
child 151739 b8263a460d24ca0750c552a2445e0eb81ad6e2cd
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerskarlt
bugs602787
milestone27.0a1
Bug 602787 part.6 Use EventForwards.h in gtk/nsWindow.h r=karlt
widget/gtk/nsDragService.cpp
widget/gtk/nsWindow.h
--- a/widget/gtk/nsDragService.cpp
+++ b/widget/gtk/nsDragService.cpp
@@ -17,16 +17,17 @@
 #include "prlog.h"
 #include "nsTArray.h"
 #include "nsPrimitiveHelpers.h"
 #include "prtime.h"
 #include "prthread.h"
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 #include "nsCRT.h"
+#include "mozilla/BasicEvents.h"
 #include "mozilla/Services.h"
 
 #include "gfxASurface.h"
 #include "gfxXlibSurface.h"
 #include "gfxContext.h"
 #include "nsImageToPixbuf.h"
 #include "nsPresContext.h"
 #include "nsIContent.h"
--- a/widget/gtk/nsWindow.h
+++ b/widget/gtk/nsWindow.h
@@ -25,17 +25,17 @@
 
 #ifdef MOZ_X11
 #include <gdk/gdkx.h>
 #endif /* MOZ_X11 */
 
 #ifdef ACCESSIBILITY
 #include "mozilla/a11y/Accessible.h"
 #endif
-#include "mozilla/MouseEvents.h"
+#include "mozilla/EventForwards.h"
 
 #include "nsGtkIMModule.h"
 
 #undef LOG
 #ifdef MOZ_LOGGING
 
 // make sure that logging is enabled before including prlog.h
 #define FORCE_PR_LOG