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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_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/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 1d56a8cf2826efc5334b0001fef320a9187cd707..e56eccbdc5f49d3a9f40a8f6fb2434767d1d62d0 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
@@ -307,9 +307,9 @@ bool ExtensionInstalledBubbleBridge::MaybeShowNow() {
NSWindow* window = [self window]; // completes nib load
if (type_ == extension_installed_bubble::kOmniboxKeyword) {
- [self.bubble setArrowLocation:info_bubble::kTopLeft];
+ [self.bubble setArrowLocation:views::BubbleBorder::TOP_LEFT];
} else {
- [self.bubble setArrowLocation:info_bubble::kTopRight];
+ [self.bubble setArrowLocation:views::BubbleBorder::TOP_RIGHT];
}
if (type_ == extension_installed_bubble::kBundle)

Powered by Google App Engine
This is Rietveld 408576698