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

Unified Diff: chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.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/autofill/new_credit_card_bubble_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm b/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm
index 6bfa92253a80c6d4d05bf84f7a1eb9b18aef57f7..b44cc70afc33a8de21a8b0619212f019077cc5fc 100644
--- a/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm
@@ -24,7 +24,7 @@
namespace {
-const CGFloat kWrenchBubblePointOffsetY = 6;
+const CGFloat kAppMenuBubblePointOffsetY = 6;
const CGFloat kVerticalSpacing = 8;
const CGFloat kHorizontalSpacing = 4;
const CGFloat kInset = 20.0;
@@ -210,10 +210,10 @@ void NewCreditCardBubbleCocoa::Show() {
NSPoint anchor_point;
NSView* anchor_view;
if ([bwc isTabbedWindow]) {
- anchor_view = [[bwc toolbarController] wrenchButton];
+ anchor_view = [[bwc toolbarController] appMenuButton];
anchor_point = NSMakePoint(
NSMidX([anchor_view bounds]),
- NSMinY([anchor_view bounds]) + kWrenchBubblePointOffsetY);
+ NSMinY([anchor_view bounds]) + kAppMenuBubblePointOffsetY);
[[bubbleController_ bubble] setArrowLocation:info_bubble::kTopRight];
[[bubbleController_ bubble] setAlignment:info_bubble::kAlignArrowToAnchor];
} else {
« no previous file with comments | « chrome/browser/ui/cocoa/app_menu/app_menu_controller.mm ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698