diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 22:56:52 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 22:56:52 +0000 |
commit | c999ae2b2daeb6a0e7f7446ddff39b6691590062 (patch) | |
tree | dce5402314e7f2a630caa4974233c334621c04bc /views/widget/native_widget_win.h | |
parent | 9a0a36cfbabd036540d86f1f2acc6eeef7823d16 (diff) | |
download | chromium_src-c999ae2b2daeb6a0e7f7446ddff39b6691590062.zip chromium_src-c999ae2b2daeb6a0e7f7446ddff39b6691590062.tar.gz chromium_src-c999ae2b2daeb6a0e7f7446ddff39b6691590062.tar.bz2 |
Revert 92252 - Gets mouse capture to work for menus with pure views. As part of this
I moved what was in menu_host_gtk into native_widget_gtk. Gtk supports
two grab types, both mouse and key. We only want key grab when showing
menus.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7346003
TBR=sky@chromium.org
Review URL: http://codereview.chromium.org/7350008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget_win.h')
-rw-r--r-- | views/widget/native_widget_win.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/views/widget/native_widget_win.h b/views/widget/native_widget_win.h index 965eb6d..eb8d391 100644 --- a/views/widget/native_widget_win.h +++ b/views/widget/native_widget_win.h @@ -216,9 +216,6 @@ class NativeWidgetWin : public ui::WindowImpl, virtual void SetMouseCapture() OVERRIDE; virtual void ReleaseMouseCapture() OVERRIDE; virtual bool HasMouseCapture() const OVERRIDE; - virtual void SetKeyboardCapture() OVERRIDE; - virtual void ReleaseKeyboardCapture() OVERRIDE; - virtual bool HasKeyboardCapture() OVERRIDE; virtual InputMethod* GetInputMethodNative() OVERRIDE; virtual void ReplaceInputMethod(InputMethod* input_method) OVERRIDE; virtual void CenterWindow(const gfx::Size& size) OVERRIDE; |