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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm

Issue 1162393003: Replace info_bubble::BubbleArrowLocation with views::BubbleBorder::Arrow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile in test Created 5 years, 7 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/autofill/autofill_details_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
index 1609fd21d39bbf32c692a861bdb72d9d6c15762a..571abdd277f11d1c396a2a9a5dab50f1a738622b 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm
@@ -206,13 +206,15 @@ typedef BOOL (^FieldFilterBlock)(NSView<AutofillInputField>*);
if ((NSMinX(viewRect) + [errorBubbleController_ maxWidth]) >
NSWidth([parentWindow frame])) {
anchorPoint = NSMakePoint(NSMaxX(viewRect), NSMinY(viewRect));
- [[errorBubbleController_ bubble] setArrowLocation:info_bubble::kTopRight];
+ [[errorBubbleController_ bubble]
+ setArrowLocation:views::BubbleBorder::TOP_RIGHT];
[[errorBubbleController_ bubble] setAlignment:
info_bubble::kAlignRightEdgeToAnchorEdge];
} else {
anchorPoint = NSMakePoint(NSMinX(viewRect), NSMinY(viewRect));
- [[errorBubbleController_ bubble] setArrowLocation:info_bubble::kTopLeft];
+ [[errorBubbleController_ bubble]
+ setArrowLocation:views::BubbleBorder::TOP_LEFT];
[[errorBubbleController_ bubble] setAlignment:
info_bubble::kAlignLeftEdgeToAnchorEdge];
}

Powered by Google App Engine
This is Rietveld 408576698