summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_gtk.h
diff options
context:
space:
mode:
authorsuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 03:56:20 +0000
committersuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 03:56:20 +0000
commit14cbb6a5af82cc577b2fc3442d5a5df0a2b710de (patch)
tree39b3d408454d48099ef12ff7a8fca92072977cdd /chrome/browser/gtk/browser_window_gtk.h
parent4df55d887f46b11ff832cdeec3ced59215af9663 (diff)
downloadchromium_src-14cbb6a5af82cc577b2fc3442d5a5df0a2b710de.zip
chromium_src-14cbb6a5af82cc577b2fc3442d5a5df0a2b710de.tar.gz
chromium_src-14cbb6a5af82cc577b2fc3442d5a5df0a2b710de.tar.bz2
Improves key event handing code of BrowserWindowGtk.
This CL improves the key event handing code of BrowserWindowGtk. Issue 20118 is also fixed. BUG=20118: Typing a colon (:) into the address bar causes the browser to freeze TEST=Run chrome with a XIM input method, chrome and x server's cpu usage shall be very low after pressing shift key (or any other modifier key) in omnibox. Review URL: http://codereview.chromium.org/173344 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index 0c684b2..7a35e9f 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -55,8 +55,8 @@ class BrowserWindowGtk : public BrowserWindow,
Browser* browser() const { return browser_.get(); }
- // Process a keyboard input and try to find an accelerator for it.
- void HandleAccelerator(guint keyval, GdkModifierType modifier);
+ // Process a keyboard event which was not handled by webkit.
+ void HandleKeyboardEvent(GdkEventKey* event);
// Overridden from BrowserWindow
virtual void Show();