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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm

Issue 1508853008: chrome: rename more wrench/Wrench occurrencies to appMenu/AppMenu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/extensions/extension_installed_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
index 63883b009cf46273cc4c37a887f0e669314aa2ec..da177767d65a03cb9a8efcd97f2d0ac5605298ef 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
@@ -302,12 +302,12 @@ void ExtensionInstalledBubbleBridge::UpdateAnchorPosition() {
} else {
DCHECK(type_ == extension_installed_bubble::kBundle ||
type_ == extension_installed_bubble::kGeneric);
- // Point at the bottom of the wrench menu.
- NSView* wrenchButton =
- [[window->cocoa_controller() toolbarController] wrenchButton];
- const NSRect bounds = [wrenchButton bounds];
+ // Point at the bottom of the app menu.
+ NSView* appMenuButton =
+ [[window->cocoa_controller() toolbarController] appMenuButton];
+ const NSRect bounds = [appMenuButton bounds];
NSPoint anchor = NSMakePoint(NSMidX(bounds), NSMaxY(bounds));
- arrowPoint = [wrenchButton convertPoint:anchor toView:nil];
+ arrowPoint = [appMenuButton convertPoint:anchor toView:nil];
}
return arrowPoint;
}

Powered by Google App Engine
This is Rietveld 408576698