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

Unified Diff: ui/events/event_utils.h

Issue 324903002: Remoes X11 dependency in InputMethodEngine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months 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: ui/events/event_utils.h
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index fa22da847b33001d2b13907e0d57d3ea8402cfa8..e401bfd0244e5ecca6936497b99fe8fdc9e0626b 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -82,6 +82,10 @@ EVENTS_EXPORT KeyboardCode KeyboardCodeFromNative(
EVENTS_EXPORT const char* CodeFromNative(
const base::NativeEvent& native_event);
+// Returns the platform related key code. For X11, it is xksym value.
+EVENTS_EXPORT uint32 PlatformCodeFromNative(
Yuki 2014/06/16 07:34:24 I'm uneasy with this name because it's not clear w
Shu Chen 2014/06/16 08:06:48 I've renamed it as PlatformKeycodeFromNative(). Na
+ const base::NativeEvent& native_event);
+
// Returns the flags of the button that changed during a press/release.
EVENTS_EXPORT int GetChangedMouseButtonFlagsFromNative(
const base::NativeEvent& native_event);

Powered by Google App Engine
This is Rietveld 408576698