From 2d8d923da42df61e9d65942945456d4b9304ef8e Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Fri, 2 Oct 2009 20:19:20 +0000 Subject: Add simple popup support to browser actions. This will create a popup HTML window that extends below a browser action button when the browser is clicked. When it loses focus, it is automatically dismissed. BUG=23596 TEST=none Review URL: http://codereview.chromium.org/258011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27889 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/button/menu_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/controls/button') diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h index e17f65d..1f5f8e8 100644 --- a/views/controls/button/menu_button.h +++ b/views/controls/button/menu_button.h @@ -47,7 +47,7 @@ class MenuButton : public TextButton { // These methods are overriden to implement a simple push button // behavior virtual bool OnMousePressed(const MouseEvent& e); - void OnMouseReleased(const MouseEvent& e, bool canceled); + virtual void OnMouseReleased(const MouseEvent& e, bool canceled); virtual bool OnKeyReleased(const KeyEvent& e); virtual void OnMouseExited(const MouseEvent& event); -- cgit v1.1