diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 17:26:18 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 17:26:18 +0000 |
commit | 564a9026f2f0c9baf0c12b6e72a959ffc8beb985 (patch) | |
tree | f51454a79ae8aee7f0d6edc29b40ff95fa148964 /chrome/browser/back_forward_menu_model.cc | |
parent | 49857a356c68f5915ed73452cfc162c18576fedd (diff) | |
download | chromium_src-564a9026f2f0c9baf0c12b6e72a959ffc8beb985.zip chromium_src-564a9026f2f0c9baf0c12b6e72a959ffc8beb985.tar.gz chromium_src-564a9026f2f0c9baf0c12b6e72a959ffc8beb985.tar.bz2 |
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.
BUG=45757
TEST=none
Review URL: http://codereview.chromium.org/2800015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/back_forward_menu_model.cc')
-rw-r--r-- | chrome/browser/back_forward_menu_model.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/back_forward_menu_model.cc b/chrome/browser/back_forward_menu_model.cc index e1bc742..5a164e7 100644 --- a/chrome/browser/back_forward_menu_model.cc +++ b/chrome/browser/back_forward_menu_model.cc @@ -115,6 +115,11 @@ bool BackForwardMenuModel::GetIconAt(int index, SkBitmap* icon) const { return true; } +menus::ButtonMenuItemModel* BackForwardMenuModel::GetButtonMenuItemAt( + int index) const { + return NULL; +} + bool BackForwardMenuModel::IsEnabledAt(int index) const { return index < GetItemCount() && !IsSeparator(index); } |