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

Unified Diff: chrome/browser/chromeos/system_key_event_listener.h

Issue 7019007: Update the X11 keycodes when keys are remapped. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unify Created 9 years, 7 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 | « base/message_pump_glib_x.cc ('k') | chrome/browser/chromeos/system_key_event_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system_key_event_listener.h
diff --git a/chrome/browser/chromeos/system_key_event_listener.h b/chrome/browser/chromeos/system_key_event_listener.h
index 7ba32d5530404ae0da68d243df5b5b970cf510b2..c4bac562d7422295c64dc4a38eb07822910985d3 100644
--- a/chrome/browser/chromeos/system_key_event_listener.h
+++ b/chrome/browser/chromeos/system_key_event_listener.h
@@ -51,6 +51,10 @@ class SystemKeyEventListener : public WmMessageListener::Observer,
GdkEvent* gevent,
gpointer data);
+ // Sets up the keycods and grabs the keys. Returns true if any of the keycodes
+ // is changed due to this call.
+ bool SetupKeycodes();
+
// Tell X we are interested in the specified key/mask combination.
// Capslock and Numlock are always ignored.
void GrabKey(int32 key, uint32 mask);
« no previous file with comments | « base/message_pump_glib_x.cc ('k') | chrome/browser/chromeos/system_key_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698