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

Unified Diff: chrome/browser/cocoa/extension_installed_bubble_controller.mm

Issue 600133: Mac: Content blocked icons. (Closed)
Patch Set: comments andybons Created 10 years, 10 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/cocoa/extension_installed_bubble_controller.mm
diff --git a/chrome/browser/cocoa/extension_installed_bubble_controller.mm b/chrome/browser/cocoa/extension_installed_bubble_controller.mm
index f1d476109b2ad82af36fb2457c0d5a1f5e77a58c..677e55ce104e95e30042d1fd27b59467c8a630a8 100644
--- a/chrome/browser/cocoa/extension_installed_bubble_controller.mm
+++ b/chrome/browser/cocoa/extension_installed_bubble_controller.mm
@@ -200,9 +200,7 @@ class ExtensionLoadedNotificationObserver : public NotificationObserver {
pageActionFrameForIndex:index inFrame:[field frame]];
NSRect boundsrect = [browserContentWindow convertRect:iconRect
fromView:[field superview]];
- arrowPoint =
- NSMakePoint(NSMinX(boundsrect) - NSWidth(boundsrect) / 2 - 1,
- NSMinY(boundsrect));
+ arrowPoint = NSMakePoint(NSMidX(boundsrect) + 1, NSMinY(boundsrect));
break;
}
default: {
« no previous file with comments | « chrome/browser/cocoa/autocomplete_text_field_unittest.mm ('k') | chrome/browser/cocoa/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698