summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status/power_menu_button.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 21:34:04 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 21:34:04 +0000
commit9c8f1501112092eba0e1c411c2c196487eb61b00 (patch)
tree38a5b7452b7bb9d9a5334eb3740f4cdc1fe8da51 /chrome/browser/chromeos/status/power_menu_button.h
parent66761b95332549f825999e482c17c94675275f49 (diff)
downloadchromium_src-9c8f1501112092eba0e1c411c2c196487eb61b00.zip
chromium_src-9c8f1501112092eba0e1c411c2c196487eb61b00.tar.gz
chromium_src-9c8f1501112092eba0e1c411c2c196487eb61b00.tar.bz2
Reapply r50859 with chromeos fixes.
GTK: First draft of the unified cut/copy/paste and +/-/Fullscreen menu items. Adds special menu item types that allow shoving buttons into them, along with tracking which button is selected. We now are halfway to the mocks that the chrome-ui-leads sent out. Review URL: http://codereview.chromium.org/2800015 BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2879002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/status/power_menu_button.h')
-rw-r--r--chrome/browser/chromeos/status/power_menu_button.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/status/power_menu_button.h b/chrome/browser/chromeos/status/power_menu_button.h
index 15601bc..413b744 100644
--- a/chrome/browser/chromeos/status/power_menu_button.h
+++ b/chrome/browser/chromeos/status/power_menu_button.h
@@ -37,6 +37,9 @@ class PowerMenuButton : public StatusAreaButton,
virtual bool IsItemCheckedAt(int index) const { return false; }
virtual int GetGroupIdAt(int index) const { return 0; }
virtual bool GetIconAt(int index, SkBitmap* icon) const { return false; }
+ virtual menus::ButtonMenuItemModel* GetButtonMenuItemAt(int index) const {
+ return NULL;
+ }
virtual bool IsEnabledAt(int index) const { return false; }
virtual menus::MenuModel* GetSubmenuModelAt(int index) const { return NULL; }
virtual void HighlightChangedTo(int index) {}