diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-21 21:55:50 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-21 21:55:50 +0000 |
commit | 28a4d4e616ab6c3010bfefa4ec56b38b25cc1b73 (patch) | |
tree | 3c4b3daabda7f9f0d68675bca529a16ee2bef924 /chrome/browser/app_menu_model.h | |
parent | 1ba1e38aaf8a1665d2b700eb53c9c893108d540b (diff) | |
download | chromium_src-28a4d4e616ab6c3010bfefa4ec56b38b25cc1b73.zip chromium_src-28a4d4e616ab6c3010bfefa4ec56b38b25cc1b73.tar.gz chromium_src-28a4d4e616ab6c3010bfefa4ec56b38b25cc1b73.tar.bz2 |
Simplifying appmenu impl.
Using command id instead of index.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/554038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_menu_model.h')
-rw-r--r-- | chrome/browser/app_menu_model.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/app_menu_model.h b/chrome/browser/app_menu_model.h index 5dc5d44..a3d7e0e 100644 --- a/chrome/browser/app_menu_model.h +++ b/chrome/browser/app_menu_model.h @@ -12,8 +12,7 @@ class Browser; -// A menu model that builds the contents of the app menu. This menu has only -// one level (no submenus). +// A menu model that builds the contents of the app menu. class AppMenuModel : public menus::SimpleMenuModel { public: explicit AppMenuModel(menus::SimpleMenuModel::Delegate* delegate, @@ -37,9 +36,6 @@ class AppMenuModel : public menus::SimpleMenuModel { Browser* browser_; // weak - bool sync_item_enabled_; - int sync_item_index_; // -1 if sync_item_enabled_ is false. - DISALLOW_COPY_AND_ASSIGN(AppMenuModel); }; |