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_ |