Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: chrome/browser/ui/cocoa/browser_window_command_handler.mm

Issue 1417423003: chrome: Rename WrenchMenuModel to AppMenuModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_command_handler.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_command_handler.mm b/chrome/browser/ui/cocoa/browser_window_command_handler.mm
index 260c95cde6a68417a1c1a38d1f8114b019f1f025..2c13074ac6a60f9a7e10ec388e9ad029fc828ddc 100644
--- a/chrome/browser/ui/cocoa/browser_window_command_handler.mm
+++ b/chrome/browser/ui/cocoa/browser_window_command_handler.mm
@@ -178,7 +178,7 @@ Browser* FindBrowserForSender(id sender, NSWindow* window) {
// Extensions have the ability to hide the bookmark page menu item.
// This only affects the bookmark page menu item under the main menu.
// The bookmark page menu item under the wrench menu has its
- // visibility controlled by WrenchMenuModel.
+ // visibility controlled by AppMenuModel.
bool shouldHide =
chrome::ShouldRemoveBookmarkThisPageUI(browser->profile());
NSMenuItem* menuItem = base::mac::ObjCCast<NSMenuItem>(item);
@@ -189,7 +189,7 @@ Browser* FindBrowserForSender(id sender, NSWindow* window) {
// Extensions have the ability to hide the bookmark all tabs menu
// item. This only affects the bookmark page menu item under the main
// menu. The bookmark page menu item under the wrench menu has its
- // visibility controlled by WrenchMenuModel.
+ // visibility controlled by AppMenuModel.
bool shouldHide =
chrome::ShouldRemoveBookmarkOpenPagesUI(browser->profile());
NSMenuItem* menuItem = base::mac::ObjCCast<NSMenuItem>(item);
« no previous file with comments | « chrome/browser/profiles/profile_window_browsertest.cc ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698