diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 18:56:08 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 18:56:08 +0000 |
commit | c5874d55686f444954222f604bd79ff15d7a4325 (patch) | |
tree | b7a6fae22d166b600743895b0288b0edaf5c1736 /views/widget/widget_gtk.h | |
parent | 64e8a5a584671b47f39e08e3c308b308da57eb94 (diff) | |
download | chromium_src-c5874d55686f444954222f604bd79ff15d7a4325.zip chromium_src-c5874d55686f444954222f604bd79ff15d7a4325.tar.gz chromium_src-c5874d55686f444954222f604bd79ff15d7a4325.tar.bz2 |
* WidgetGtk::OnKeyPressed never called on window because the signal handler
was connected to the content, but the focus was set to GtkWindow by FocusManager.
* Enable IgnoreKeyupForAccelerators for linux.
BUG=40140
TEST=IgnoreKeyupForAccelerators shoud pass now on linux.
Review URL: http://codereview.chromium.org/1575001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r-- | views/widget/widget_gtk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index 075d873..c621fae 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -261,6 +261,9 @@ class WidgetGtk CHROMEGTK_CALLBACK_0(WidgetGtk, void, OnShow); CHROMEGTK_CALLBACK_0(WidgetGtk, void, OnHide); + CHROMEGTK_CALLBACK_1(WidgetGtk, gboolean, OnKeyPressToFail, GdkEventKey*); + CHROMEGTK_CALLBACK_1(WidgetGtk, gboolean, OnKeyReleaseToFail, GdkEventKey*); + void set_mouse_down(bool mouse_down) { is_mouse_down_ = mouse_down; } // Do we own the mouse grab? |