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

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: fix updateAppButtonSeverity and rewrap + rebase 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 77c9a1be9d6ec738b191128eae1ed4664bb8532c..eca6ecf7fe7838c11180df9f4ecaccd04f5352f4 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
@@ -303,12 +303,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