Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2076)

Unified Diff: base/event_types.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aura_win fix Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/event_types.h
diff --git a/base/event_types.h b/base/event_types.h
index a1b78f6db2cff8fd72e9f2434bede7662aa04ccd..7fe95ba34721bd96bb39a285c59f6ee332af6a6f 100644
--- a/base/event_types.h
+++ b/base/event_types.h
@@ -17,6 +17,7 @@ union WaylandEvent;
}
}
#elif defined(USE_X11)
+#include <X11/Xdefs.h> // for XID
typedef union _XEvent XEvent;
#endif
@@ -25,12 +26,16 @@ namespace base {
// Cross platform typedefs for native event types.
#if defined(OS_WIN)
typedef MSG NativeEvent;
+typedef HWND NativeWindow;
#elif defined(USE_WAYLAND)
typedef wayland::WaylandEvent* NativeEvent;
+// TODO: typedef NativeWindow.
James Su 2011/11/24 03:57:03 WaylandWindow is in ui/, perhaps we need move nati
#elif defined(USE_X11)
typedef XEvent* NativeEvent;
+typedef XID NativeWindow;
#else
typedef void* NativeEvent;
+typedef void* NativeWindow;
#endif
} // namespace base
« no previous file with comments | « no previous file | content/browser/renderer_host/native_web_keyboard_event_aura.cc » ('j') | ui/base/ime/input_method_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698