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

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

Issue 10800062: [Web Intents, OSX] White background for picker dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/web_intent_sheet_controller.mm
diff --git a/chrome/browser/ui/cocoa/web_intent_sheet_controller.mm b/chrome/browser/ui/cocoa/web_intent_sheet_controller.mm
index b52e9f0aa7284a37ef7b6b2f7ae8222e560e8b65..ab9e85b9a42dda78ab1b30eb47fbff10ead0f62f 100644
--- a/chrome/browser/ui/cocoa/web_intent_sheet_controller.mm
+++ b/chrome/browser/ui/cocoa/web_intent_sheet_controller.mm
@@ -93,6 +93,11 @@ NSButton* CreateHyperlinkButton(NSString* title, const NSRect& frame) {
- (BOOL)isFlipped {
return YES;
}
+
+- (void)drawRect:(NSRect)rect {
+ [[NSColor colorWithCalibratedWhite:1.0 alpha:1.0] set];
Nico 2012/07/21 00:43:30 [[NSColor whiteColor] set]
+ NSRectFill(rect);
+}
@end
// NSImageView subclassed to allow fading the alpha value of the image to
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698