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

Unified Diff: ui/base/ime/chromeos/ime_keymap.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/base/ime/chromeos/ime_keymap.h
diff --git a/ui/base/ime/chromeos/ime_keymap.h b/ui/base/ime/chromeos/ime_keymap.h
index 863efb5f5e8c425953bf55b331acfbe82ed827b9..b82b52152de9a24bdec84bd8d0507f25cf22e6a4 100644
--- a/ui/base/ime/chromeos/ime_keymap.h
+++ b/ui/base/ime/chromeos/ime_keymap.h
@@ -8,12 +8,12 @@
#include <string>
#include "base/basictypes.h"
#include "ui/base/ui_base_export.h"
+#include "ui/events/keycodes/keyboard_codes.h"
namespace ui {
-// Translates the key value from an X11 key value to key value string
-// visible from javascript.
-UI_BASE_EXPORT std::string FromXKeycodeToKeyValue(int keyval);
+// Translates the DOM4 key code string to ui::KeyboardCode.
+UI_BASE_EXPORT KeyboardCode FromCodeToKeyboardCode(const std::string& code);
Yuki 2014/06/16 07:34:24 It's not clear to me what "Code" means here from t
Shu Chen 2014/06/16 08:06:48 Done.
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698