diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 22:12:12 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-05 22:12:12 +0000 |
commit | 37e4c90afd94c73f3d8c8fe014faac7917254c63 (patch) | |
tree | 30be8c46235297318217134c00cf745322b9eb96 | |
parent | b99d49328a35bec8f2b28f2e1d18ff537eb1f9ac (diff) | |
download | chromium_src-37e4c90afd94c73f3d8c8fe014faac7917254c63.zip chromium_src-37e4c90afd94c73f3d8c8fe014faac7917254c63.tar.gz chromium_src-37e4c90afd94c73f3d8c8fe014faac7917254c63.tar.bz2 |
Make open tab items check item.
and fixed comment in simple_menu_model.h
BUG=chromium-os:1217
TEST=none
Review URL: http://codereview.chromium.org/575012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38263 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | app/menus/simple_menu_model.cc | 2 | ||||
-rwxr-xr-x | chrome/browser/chromeos/status/browser_status_area_view.cc | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/app/menus/simple_menu_model.cc b/app/menus/simple_menu_model.cc index 53fe4c1..7f01b97 100644 --- a/app/menus/simple_menu_model.cc +++ b/app/menus/simple_menu_model.cc @@ -200,4 +200,4 @@ MenuModel* SimpleMenuModel::GetSubmenuModelAt(int index) const { return items_.at(FlipIndex(index)).submenu; } -} // namespace views +} // namespace menus diff --git a/chrome/browser/chromeos/status/browser_status_area_view.cc b/chrome/browser/chromeos/status/browser_status_area_view.cc index 18e2e00..e9952cc 100755 --- a/chrome/browser/chromeos/status/browser_status_area_view.cc +++ b/chrome/browser/chromeos/status/browser_status_area_view.cc @@ -44,12 +44,12 @@ class OptionsMenuModel : public menus::SimpleMenuModel, AddItemWithStringId(IDC_COMPACT_NAVBAR, IDS_COMPACT_NAVBAR); AddSeparator(); - AddItem(static_cast<int>(StatusAreaView::OPEN_TABS_ON_LEFT), - ASCIIToUTF16("Open tabs on left")); - AddItem(static_cast<int>(StatusAreaView::OPEN_TABS_CLOBBER), - ASCIIToUTF16("Open tabs clobber")); - AddItem(static_cast<int>(StatusAreaView::OPEN_TABS_ON_RIGHT), - ASCIIToUTF16("Open tabs on right")); + AddCheckItem(static_cast<int>(StatusAreaView::OPEN_TABS_ON_LEFT), + ASCIIToUTF16("Open tabs on left")); + AddCheckItem(static_cast<int>(StatusAreaView::OPEN_TABS_CLOBBER), + ASCIIToUTF16("Open tabs clobber")); + AddCheckItem(static_cast<int>(StatusAreaView::OPEN_TABS_ON_RIGHT), + ASCIIToUTF16("Open tabs on right")); } virtual ~OptionsMenuModel() { } |