Commit 9dc76456 authored by stevenjb's avatar stevenjb Committed by Commit bot

Move 'Extensions' to the main menu for settings-in-a-window

BUG=407162

Review URL: https://codereview.chromium.org/511923002

Cr-Commit-Position: refs/heads/master@{#292492}
parent ee53aabb
......@@ -249,7 +249,9 @@ void ToolsMenuModel::Build(Browser* browser) {
AddSeparator(ui::NORMAL_SEPARATOR);
}
AddItemWithStringId(IDC_MANAGE_EXTENSIONS, IDS_SHOW_EXTENSIONS);
// If settings-in-a-window is enabled the Extensions item is at the top level.
if (!::switches::SettingsWindowEnabled())
AddItemWithStringId(IDC_MANAGE_EXTENSIONS, IDS_SHOW_EXTENSIONS);
if (chrome::CanOpenTaskManager())
AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
......@@ -595,6 +597,9 @@ void WrenchMenuModel::Build() {
AddItemWithStringId(IDC_SHOW_HISTORY, IDS_SHOW_HISTORY);
AddItemWithStringId(IDC_SHOW_DOWNLOADS, IDS_SHOW_DOWNLOADS);
// If settings-in-a-window is enabled the Extensions item is at the top level.
if (::switches::SettingsWindowEnabled())
AddItemWithStringId(IDC_MANAGE_EXTENSIONS, IDS_SHOW_EXTENSIONS);
AddSeparator(ui::NORMAL_SEPARATOR);
#if !defined(OS_CHROMEOS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment