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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.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_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm
index 31aebc1891f9c377e50c562949059d52d151144d..b1afa0391f27495049a510e09a75cd03210fc837 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm
@@ -32,13 +32,13 @@ const CGFloat kMaxLabelWidth =
return [self initWithParentWindow:parentWindow
message:message
inset:NSMakeSize(kLabelInset, kLabelInset)
- arrowLocation:info_bubble::kTopCenter];
+ arrowLocation:views::BubbleBorder::TOP_CENTER];
}
- (id)initWithParentWindow:(NSWindow*)parentWindow
message:(NSString*)message
inset:(NSSize)inset
- arrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation {
+ arrowLocation:(views::BubbleBorder::Arrow)arrowLocation {
base::scoped_nsobject<InfoBubbleWindow> window(
[[InfoBubbleWindow alloc] initWithContentRect:NSMakeRect(0, 0, 200, 100)
styleMask:NSBorderlessWindowMask

Powered by Google App Engine
This is Rietveld 408576698