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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_popup_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/extensions/extension_popup_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
index 0897b25b886446918a3d12dc10df53e09f851b37..dacd8b66cfd3762a05e9ac47591d3ea591711045 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
@@ -48,7 +48,7 @@ CGFloat Clamp(CGFloat value, CGFloat min, CGFloat max) {
// Callers should be using the public static method for initialization.
- (id)initWithParentWindow:(NSWindow*)parentWindow
anchoredAt:(NSPoint)anchoredAt
- arrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation
+ arrowLocation:(views::BubbleBorder::Arrow)arrowLocation
devMode:(BOOL)devMode;
// Set the ExtensionViewHost, taking ownership.
@@ -162,7 +162,7 @@ class ExtensionPopupNotificationBridge : public content::NotificationObserver {
- (id)initWithParentWindow:(NSWindow*)parentWindow
anchoredAt:(NSPoint)anchoredAt
- arrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation
+ arrowLocation:(views::BubbleBorder::Arrow)arrowLocation
devMode:(BOOL)devMode {
base::scoped_nsobject<InfoBubbleWindow> window([[InfoBubbleWindow alloc]
initWithContentRect:ui::kWindowSizeDeterminedLater
@@ -255,8 +255,7 @@ class ExtensionPopupNotificationBridge : public content::NotificationObserver {
+ (ExtensionPopupController*)host:(scoped_ptr<ExtensionViewHost>)host
inBrowser:(Browser*)browser
anchoredAt:(NSPoint)anchoredAt
- arrowLocation:(info_bubble::BubbleArrowLocation)
- arrowLocation
+ arrowLocation:(views::BubbleBorder::Arrow)arrowLocation
devMode:(BOOL)devMode {
DCHECK([NSThread isMainThread]);
DCHECK(browser);

Powered by Google App Engine
This is Rietveld 408576698