summaryrefslogtreecommitdiffstats
path: root/chrome/views/menu_button.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-16 23:25:13 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-16 23:25:13 +0000
commit48c8fa63122510b2c51c6608a93b30e94192e679 (patch)
treedc22b80b2f4103d865cbfe47c6f4dc52c8595985 /chrome/views/menu_button.h
parent9ea0ea99d3a1140a17712a286414d387eddbe8ac (diff)
downloadchromium_src-48c8fa63122510b2c51c6608a93b30e94192e679.zip
chromium_src-48c8fa63122510b2c51c6608a93b30e94192e679.tar.gz
chromium_src-48c8fa63122510b2c51c6608a93b30e94192e679.tar.bz2
Rework the Button API to be saner in preparation for NativeControl rejiggering.BaseButton->Button, CustomButtonButton->ImageButtonToggleButton->ToggleImageButtonRemoving SetListener (buttons take listener through ctor)Tidy up source files. No functionality changes, just naming and organization.Look at the button classes first, then everything else.
Review URL: http://codereview.chromium.org/46096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/menu_button.h')
-rw-r--r--chrome/views/menu_button.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/views/menu_button.h b/chrome/views/menu_button.h
index 185d59f..55fe4e5 100644
--- a/chrome/views/menu_button.h
+++ b/chrome/views/menu_button.h
@@ -29,7 +29,8 @@ class MenuButton : public TextButton {
public:
//
// Create a Button
- MenuButton(const std::wstring& text,
+ MenuButton(ButtonListener* listener,
+ const std::wstring& text,
ViewMenuDelegate* menu_delegate,
bool show_menu_marker);
virtual ~MenuButton();