OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains forward declarations for items in later SDKs than the | 5 // This file contains forward declarations for items in later SDKs than the |
6 // default one with which Chromium is built (currently 10.10). | 6 // default one with which Chromium is built (currently 10.10). |
7 // If you call any function from this header, be sure to check at runtime for | 7 // If you call any function from this header, be sure to check at runtime for |
8 // respondsToSelector: before calling these functions (else your code will crash | 8 // respondsToSelector: before calling these functions (else your code will crash |
9 // on older OS X versions that chrome still supports). | 9 // on older OS X versions that chrome still supports). |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... | |
31 // The protocol was formalized by the 10.12 SDK, but it was informally used | 31 // The protocol was formalized by the 10.12 SDK, but it was informally used |
32 // before. | 32 // before. |
33 @protocol CAAnimationDelegate | 33 @protocol CAAnimationDelegate |
34 - (void)animationDidStart:(CAAnimation*)animation; | 34 - (void)animationDidStart:(CAAnimation*)animation; |
35 - (void)animationDidStop:(CAAnimation*)animation finished:(BOOL)finished; | 35 - (void)animationDidStop:(CAAnimation*)animation finished:(BOOL)finished; |
36 @end | 36 @end |
37 | 37 |
38 @protocol CALayerDelegate | 38 @protocol CALayerDelegate |
39 @end | 39 @end |
40 | 40 |
41 @interface NSWindow (SierraSDK) | |
42 @property(class) BOOL allowsAutomaticWindowTabbing; | |
Nico
2016/09/12 14:13:58
TIL
| |
43 @end | |
44 | |
41 #endif // MAC_OS_X_VERSION_10_12 | 45 #endif // MAC_OS_X_VERSION_10_12 |
42 | 46 |
43 #if !defined(MAC_OS_X_VERSION_10_11) || \ | 47 #if !defined(MAC_OS_X_VERSION_10_11) || \ |
44 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11 | 48 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_11 |
45 | 49 |
46 enum { | 50 enum { |
47 NSPressureBehaviorUnknown = -1, | 51 NSPressureBehaviorUnknown = -1, |
48 NSPressureBehaviorPrimaryDefault = 0, | 52 NSPressureBehaviorPrimaryDefault = 0, |
49 NSPressureBehaviorPrimaryClick = 1, | 53 NSPressureBehaviorPrimaryClick = 1, |
50 NSPressureBehaviorPrimaryGeneric = 2, | 54 NSPressureBehaviorPrimaryGeneric = 2, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
242 | 246 |
243 // ---------------------------------------------------------------------------- | 247 // ---------------------------------------------------------------------------- |
244 // The symbol for kCWSSIDDidChangeNotification is available in the | 248 // The symbol for kCWSSIDDidChangeNotification is available in the |
245 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 249 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
246 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 250 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
247 // declare the symbol. | 251 // declare the symbol. |
248 // ---------------------------------------------------------------------------- | 252 // ---------------------------------------------------------------------------- |
249 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 253 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
250 | 254 |
251 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 255 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
OLD | NEW |