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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 2695493002: [Mac] Touch Bar support for default browser window state (Closed)
Patch Set: Rebased Created 3 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/app/generated_resources.grd » ('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 31ae383fab00231c56db9828f52662868bcfa60a..c636b34e56c4db00ab75223820fa8f5c429a6536 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -122,6 +122,7 @@ BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight;
@interface NSLayoutConstraint (YosemiteSDK)
@property(getter=isActive) BOOL active;
++ (void)activateConstraints:(NSArray*)constraints;
@end
@interface NSVisualEffectView (YosemiteSDK)
@@ -163,13 +164,19 @@ BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight;
#if !defined(MAC_OS_X_VERSION_10_11) || \
MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11
+@class NSLayoutDimension;
@class NSLayoutXAxisAnchor;
@class NSLayoutYAxisAnchor;
+@interface NSObject (ElCapitanSDK)
+- (NSLayoutConstraint*)constraintEqualToConstant:(CGFloat)c;
+@end
+
@interface NSView (ElCapitanSDK)
@property(readonly, strong) NSLayoutXAxisAnchor* leftAnchor;
@property(readonly, strong) NSLayoutXAxisAnchor* rightAnchor;
@property(readonly, strong) NSLayoutYAxisAnchor* bottomAnchor;
+@property(readonly, strong) NSLayoutDimension* widthAnchor;
@end
@interface NSWindow (ElCapitanSDK)
@@ -196,9 +203,24 @@ BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight;
@interface NSButton (SierraPointOneSDK)
@property(copy) NSColor* bezelColor;
+@property BOOL imageHugsTitle;
+ (instancetype)buttonWithTitle:(NSString*)title
target:(id)target
action:(SEL)action;
++ (instancetype)buttonWithImage:(NSImage*)image
+ target:(id)target
+ action:(SEL)action;
++ (instancetype)buttonWithTitle:(NSString*)title
+ image:(NSImage*)image
+ target:(id)target
+ action:(SEL)action;
+@end
+
+@interface NSSegmentedControl (SierraPointOneSDK)
++ (instancetype)segmentedControlWithImages:(NSArray*)images
+ trackingMode:(NSSegmentSwitchTracking)trackingMode
+ target:(id)target
+ action:(SEL)action;
@end
#endif // MAC_OS_X_VERSION_10_12_1
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698