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

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

Issue 600021: Allow opacity in themes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« 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/cocoa/browser_window_controller.mm
===================================================================
--- chrome/browser/cocoa/browser_window_controller.mm (revision 38468)
+++ chrome/browser/cocoa/browser_window_controller.mm (working copy)
@@ -269,8 +269,8 @@
new TabStripModelObserverBridge(browser->tabstrip_model(), self));
NSWindow* window = [self window];
windowShim_.reset(new BrowserWindowCocoa(browser, self, window));
+ [window setOpaque:NO]; // for themes wanting to play with opacity
Robert Sesek 2010/02/09 21:49:56 Make this a full-stop sentence.
-
// Sets the window to not have rounded corners, which prevents
// the resize control from being inset slightly and looking ugly.
if ([window respondsToSelector:@selector(setBottomCornerRounded:)])
« 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