From c999ae2b2daeb6a0e7f7446ddff39b6691590062 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 12 Jul 2011 22:56:52 +0000 Subject: 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 --- views/widget/native_widget_win.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'views/widget/native_widget_win.h') 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; -- cgit v1.1