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