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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 564953002: Add support for dark theme in Mac Notification Center (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: base/mac/sdk_forward_declarations.h
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h
index e8682caf6fa7ab0d51d801483d485c5bd8369757..7283d12fd39895963410397844d98ea55123fce7 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -257,6 +257,15 @@ typedef NSUInteger NSWindowOcclusionState;
- (NSWindowOcclusionState)occlusionState;
@end
+@interface NSAppearance : NSObject
Robert Sesek 2014/09/11 20:50:00 You won't be able to do this, unfortunately. What
dewittj 2014/09/12 18:16:23 Done.
++ (NSAppearance*)appearanceNamed:(NSString*)name;
+@end
+
+@protocol NSAppearanceCustomization
+@property(retain) NSAppearance* appearance;
+@property(readonly) NSAppearance* effectiveAppearance;
+@end
+
#endif // MAC_OS_X_VERSION_10_9
#if !defined(MAC_OS_X_VERSION_10_10) || \
@@ -271,6 +280,8 @@ typedef NSUInteger NSWindowOcclusionState;
BASE_EXPORT extern "C" NSString* const NSUserActivityTypeBrowsingWeb;
+BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark;
+
#endif // MAC_OS_X_VERSION_10_10
#endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_

Powered by Google App Engine
This is Rietveld 408576698