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

Unified Diff: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm

Issue 10272035: [Mac] Give info bubble windows a gaussian blur and a smaller border radius. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _CGSDefaultConnection Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/info_bubble_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm
index 71bfe0c9ee71eb1cec7819c72d62be476b286fd3..1f9466fdf32eb7d8ad5b95fe97c22532a3e617e5 100644
--- a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm
@@ -467,11 +467,11 @@ const CGFloat kLabelInset = 49.0;
blue:246.0/255
alpha:1.0];
} else {
- backgroundColor = [NSColor whiteColor];
+ backgroundColor = [NSColor clearColor];
}
[backgroundColor set];
- NSRectFill([self bounds]);
+ [NSBezierPath fillRect:[self bounds]];
}
// Make sure the element is focusable for accessibility.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/info_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698