| Index: ui/base/cocoa/touch_bar_forward_declarations.h
|
| diff --git a/ui/base/cocoa/touch_bar_forward_declarations.h b/ui/base/cocoa/touch_bar_forward_declarations.h
|
| index 5fd9b962ac5f08c931c7c35b37142e2851bc86d3..a1437c0cdcf5d5d4c16b1fa3a2e40c5185d9d273 100644
|
| --- a/ui/base/cocoa/touch_bar_forward_declarations.h
|
| +++ b/ui/base/cocoa/touch_bar_forward_declarations.h
|
| @@ -101,6 +101,16 @@ NS_CLASS_AVAILABLE_MAC(10_12_1)
|
|
|
| NS_ASSUME_NONNULL_END
|
|
|
| +#elif MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12_1
|
| +
|
| +// When compiling against the 10.12.1 SDK or later, just provide forward
|
| +// declarations to suppress the partial availability warnings.
|
| +@class NSCustomTouchBarItem;
|
| +@class NSGroupTouchBarItem;
|
| +@class NSTouchBar;
|
| +@protocol NSTouchBarDelegate;
|
| +@class NSTouchBarItem;
|
| +
|
| #endif // MAC_OS_X_VERSION_10_12_1
|
|
|
| #endif // UI_BASE_COCOA_TOUCH_BAR_FORWARD_DECLARATIONS_H_
|
|
|