diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 17:56:52 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 17:56:52 +0000 |
commit | 86ee4bd6f1177d7fc79a6ac7e6c06dd0b8e2365d (patch) | |
tree | 585af64c4a505bc2440e49a23fdc8ac19c3e94db | |
parent | 87b955d6ac5acceaa6f06f67ed13274f550d2024 (diff) | |
download | chromium_src-86ee4bd6f1177d7fc79a6ac7e6c06dd0b8e2365d.zip chromium_src-86ee4bd6f1177d7fc79a6ac7e6c06dd0b8e2365d.tar.gz chromium_src-86ee4bd6f1177d7fc79a6ac7e6c06dd0b8e2365d.tar.bz2 |
Patch from Szymon Piechowicz <szymonpiechowicz@o2.pl>
Moves the New Tab, Window, Incognito Window menu items from the Page menu to the Wrench menu.
Code review: http://codereview.chromium.org/1826
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1903 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | chrome/browser/views/toolbar_view.cc | 12 |
2 files changed, 7 insertions, 6 deletions
@@ -6,3 +6,4 @@ Alex Scheele <alexscheele@gmail.com> Seo Sanghyeon <sanxiyn@gmail.com> Andrew Brampton <me@bramp.net> Paweł Hajdan jr <phajdan.jr@gmail.com> +Szymon Piechowicz <szymonpiechowicz@o2.pl> diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc index 5a40f88..e2c772f 100644 --- a/chrome/browser/views/toolbar_view.cc +++ b/chrome/browser/views/toolbar_view.cc @@ -487,12 +487,6 @@ void BrowserToolbarView::RunPageMenu(const CPoint& pt, HWND hwnd) { anchor = Menu::TOPLEFT; Menu menu(this, anchor, hwnd); - menu.AppendMenuItemWithLabel(IDC_NEWTAB, l10n_util::GetString(IDS_NEWTAB)); - menu.AppendMenuItemWithLabel(IDC_NEWWINDOW, - l10n_util::GetString(IDS_NEWWINDOW)); - menu.AppendMenuItemWithLabel(IDC_GOOFFTHERECORD, - l10n_util::GetString(IDS_GOOFFTHERECORD)); - menu.AppendSeparator(); // The install menu may be dynamically generated with a contextual label. // See browser_commands.cc. menu.AppendMenuItemWithLabel(IDC_CREATE_SHORTCUT, @@ -562,6 +556,12 @@ void BrowserToolbarView::RunAppMenu(const CPoint& pt, HWND hwnd) { anchor = Menu::TOPLEFT; Menu menu(this, anchor, hwnd); + menu.AppendMenuItemWithLabel(IDC_NEWTAB, l10n_util::GetString(IDS_NEWTAB)); + menu.AppendMenuItemWithLabel(IDC_NEWWINDOW, + l10n_util::GetString(IDS_NEWWINDOW)); + menu.AppendMenuItemWithLabel(IDC_GOOFFTHERECORD, + l10n_util::GetString(IDS_GOOFFTHERECORD)); + menu.AppendSeparator(); menu.AppendMenuItemWithLabel(IDC_SHOW_BOOKMARKS_BAR, l10n_util::GetString(IDS_SHOW_BOOKMARK_BAR)); menu.AppendSeparator(); |