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

Unified Diff: ui/events/keycodes/keyboard_code_conversion_x.h

Issue 243143002: linux-aura: Supports Compose key with XIM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments. Created 6 years, 8 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/keycodes/keyboard_code_conversion_x.h
diff --git a/ui/events/keycodes/keyboard_code_conversion_x.h b/ui/events/keycodes/keyboard_code_conversion_x.h
index ff34ba1358d21c49a69c00ea1181a7896a0e7691..9d78229b27d78d2c1ec68dae10fc4fd0a75f367b 100644
--- a/ui/events/keycodes/keyboard_code_conversion_x.h
+++ b/ui/events/keycodes/keyboard_code_conversion_x.h
@@ -30,6 +30,9 @@ EVENTS_BASE_EXPORT int XKeysymForWindowsKeyCode(KeyboardCode keycode,
EVENTS_BASE_EXPORT unsigned int DefaultXKeysymFromHardwareKeycode(
unsigned int keycode);
+// Returns true if the key event is fabricated by the underlying IME.
+EVENTS_BASE_EXPORT bool IsXKeyEventFabricatedByIme(XEvent* xev);
+
} // namespace ui
#endif // UI_EVENTS_KEYCODES_KEYBOARD_CODE_CONVERSION_X_H_

Powered by Google App Engine
This is Rietveld 408576698