summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 17:56:52 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-09 17:56:52 +0000
commit86ee4bd6f1177d7fc79a6ac7e6c06dd0b8e2365d (patch)
tree585af64c4a505bc2440e49a23fdc8ac19c3e94db
parent87b955d6ac5acceaa6f06f67ed13274f550d2024 (diff)
downloadchromium_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--AUTHORS1
-rw-r--r--chrome/browser/views/toolbar_view.cc12
2 files changed, 7 insertions, 6 deletions
diff --git a/AUTHORS b/AUTHORS
index 295b2d1..b94c5bf 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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();