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

Unified Diff: ui/base/keycodes/keyboard_code_conversion_gtk.h

Issue 6674052: [cros] Fix accelerator keys when using non-US/Latin keyboard layouts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | ui/base/keycodes/keyboard_code_conversion_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/keycodes/keyboard_code_conversion_gtk.h
diff --git a/ui/base/keycodes/keyboard_code_conversion_gtk.h b/ui/base/keycodes/keyboard_code_conversion_gtk.h
index e30d8d92295bc182b7e8ed6cbed6485110c99db7..3221da5b4208ad7ca22fd3f8ca6ba779cd00744f 100644
--- a/ui/base/keycodes/keyboard_code_conversion_gtk.h
+++ b/ui/base/keycodes/keyboard_code_conversion_gtk.h
@@ -39,12 +39,16 @@
#include "ui/base/keycodes/keyboard_codes_posix.h"
+typedef struct _GdkEventKey GdkEventKey;
+
namespace ui {
KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode);
int GdkKeyCodeForWindowsKeyCode(KeyboardCode keycode, bool shift);
+KeyboardCode KeyboardCodeFromGdkEventKey(GdkEventKey* event);
+
} // namespace ui
#endif // UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_
« no previous file with comments | « no previous file | ui/base/keycodes/keyboard_code_conversion_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698