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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 928303003: [Mac] Use NSTitlebarAccessoryViewController to implement colored app window frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nawc
Patch Set: Created 5 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 | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/sdk_forward_declarations.h
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h
index 2795b195f9e77af96c15e2668ac5950c9133a9e2..2d9e022e5f6421c3e5e560af27bcd67cb72bc8dc 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -408,6 +408,12 @@ BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark;
- (NSString*)UUIDString;
@end
+@class NSTitlebarAccessoryViewController;
+@interface NSWindow (YosemiteSDK)
+- (void)addTitlebarAccessoryViewController:(NSTitlebarAccessoryViewController *)childViewController;
+- (void)removeTitlebarAccessoryViewControllerAtIndex:(NSInteger)index;
+@end
+
#endif // MAC_OS_X_VERSION_10_10
#endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698