| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Define NSStrings only available in newer versions of the OSX SDK to force | 56 // Define NSStrings only available in newer versions of the OSX SDK to force |
| 57 // them to be statically linked. | 57 // them to be statically linked. |
| 58 // ---------------------------------------------------------------------------- | 58 // ---------------------------------------------------------------------------- |
| 59 | 59 |
| 60 extern "C" { | 60 extern "C" { |
| 61 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 61 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 62 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 | 62 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 |
| 63 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; | 63 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; |
| 64 BASE_EXPORT extern NSString* const CBAdvertisementDataOverflowServiceUUIDsKey; | 64 BASE_EXPORT extern NSString* const CBAdvertisementDataOverflowServiceUUIDsKey; |
| 65 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; | 65 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; |
| 66 BASE_EXPORT extern NSString* const NSAccessibilityPriorityKey; |
| 66 #endif // MAC_OS_X_VERSION_10_9 | 67 #endif // MAC_OS_X_VERSION_10_9 |
| 67 | 68 |
| 68 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 69 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| 69 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 | 70 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 |
| 70 BASE_EXPORT extern NSString* const NSUserActivityTypeBrowsingWeb; | 71 BASE_EXPORT extern NSString* const NSUserActivityTypeBrowsingWeb; |
| 71 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantDark; | 72 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantDark; |
| 72 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight; | 73 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight; |
| 73 #endif // MAC_OS_X_VERSION_10_10 | 74 #endif // MAC_OS_X_VERSION_10_10 |
| 74 } // extern "C" | 75 } // extern "C" |
| 75 | 76 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 223 |
| 223 // ---------------------------------------------------------------------------- | 224 // ---------------------------------------------------------------------------- |
| 224 // The symbol for kCWSSIDDidChangeNotification is available in the | 225 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 225 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 226 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 226 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 227 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 227 // declare the symbol. | 228 // declare the symbol. |
| 228 // ---------------------------------------------------------------------------- | 229 // ---------------------------------------------------------------------------- |
| 229 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 230 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 230 | 231 |
| 231 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 232 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |