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

Unified Diff: ui/base/cocoa/nsview_additions.h

Issue 900613003: Mac: Make it easier for views to correctly draw with a theme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gyp
Patch Set: Created 5 years, 11 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: ui/base/cocoa/nsview_additions.h
diff --git a/ui/base/cocoa/nsview_additions.h b/ui/base/cocoa/nsview_additions.h
index 962d89b946e4ec74171698ecc4b88c41797caac0..a919b3b3d48f3770dfbe1e42d90fa11d1a5821bf 100644
--- a/ui/base/cocoa/nsview_additions.h
+++ b/ui/base/cocoa/nsview_additions.h
@@ -29,6 +29,9 @@
// Return best color for keyboard focus ring.
- (NSColor*)cr_keyboardFocusIndicatorColor;
+// Invoke |block| on this view and all descendants.
+- (void)cr_recursivelyInvokeBlock:(void (^)(id view))block;
+
// Set needsDisplay for this view and all descendants.
- (void)cr_recursivelySetNeedsDisplay:(BOOL)flag;

Powered by Google App Engine
This is Rietveld 408576698