diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 20:12:59 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 20:12:59 +0000 |
commit | 345dd30a55dd5219c39a31df9621e715a8947924 (patch) | |
tree | 3562329aa4aac7361ff092ffb4976d28c59944a1 /views/widget | |
parent | f278f74b49f068b3bc1de49a0d90b33cb0d5c005 (diff) | |
download | chromium_src-345dd30a55dd5219c39a31df9621e715a8947924.zip chromium_src-345dd30a55dd5219c39a31df9621e715a8947924.tar.gz chromium_src-345dd30a55dd5219c39a31df9621e715a8947924.tar.bz2 |
Reverts menu patch.
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/173508
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r-- | views/widget/widget_gtk.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index 7de1492..8f356fb 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -156,9 +156,6 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { void set_mouse_down(bool mouse_down) { is_mouse_down_ = mouse_down; } - // Do we own the mouse grab? - bool has_capture() const { return has_capture_; } - // Returns whether capture should be released on mouse release. The default // is true. virtual bool ReleaseCaptureOnMouseReleased() { return true; } @@ -167,7 +164,7 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { void DoGrab(); // Releases a grab done by this widget. - virtual void ReleaseGrab(); + void ReleaseGrab(); // Sets the WindowGtk in the userdata section of the widget. static void SetWindowForNative(GtkWidget* widget, WindowGtk* window); |