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

Unified Diff: base/event_types.h

Issue 8659033: IME (input method editor) support for Aura, part 1 of 3: Add ui/base/ime/ classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cherry-picked patchset #9 and #10 in http://codereview.chromium.org/8576005/ 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
« no previous file with comments | « no previous file | ui/base/ime/input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
brettw 2011/12/02 03:49:17 Why not use ui/gfx/native_widget_types.h instead o
Yusuke Sato 2011/12/02 04:02:25 This is because ui::InputMethod, which is designed
#elif defined(USE_WAYLAND)
typedef wayland::WaylandEvent* NativeEvent;
+// TODO: typedef NativeWindow.
#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 | ui/base/ime/input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698