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

Unified Diff: chrome/browser/ui/cocoa/nsview_additions.h

Issue 184433005: Give the browser window's content view a CALayers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/cocoa/nsview_additions.h
diff --git a/chrome/browser/ui/cocoa/nsview_additions.h b/chrome/browser/ui/cocoa/nsview_additions.h
index c9b0e47302fbe77fbc1b2f25044f978d0ce69266..89d04ce6116b0c1bedf589db46d02581f0c4e1d8 100644
--- a/chrome/browser/ui/cocoa/nsview_additions.h
+++ b/chrome/browser/ui/cocoa/nsview_additions.h
@@ -41,6 +41,12 @@
// not enabled at the command line, or if the layer squashing API is not
// availabble.
- (void)cr_setWantsSquashedLayer;
+
+// Set the specified view to be hosting a solid white CALayer if CoreAnimation
+// is enabled at the command line. This view will no longer have drawRect
+// called after this is set.
+- (void)cr_setHostsSolidWhiteLayer;
Avi (use Gerrit) 2014/03/05 03:19:28 This is only used once; why does it get its own he
ccameron 2014/03/05 07:59:31 I had a vague preference for consolidating all of
+
@end
#endif // CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_

Powered by Google App Engine
This is Rietveld 408576698