| 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.6). | 6 // default one with which Chromium is built (currently 10.6). |
| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 extern "C" { | 232 extern "C" { |
| 233 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 233 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 234 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | 234 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
| 235 BASE_EXPORT extern NSString* const NSWindowWillEnterFullScreenNotification; | 235 BASE_EXPORT extern NSString* const NSWindowWillEnterFullScreenNotification; |
| 236 BASE_EXPORT extern NSString* const NSWindowWillExitFullScreenNotification; | 236 BASE_EXPORT extern NSString* const NSWindowWillExitFullScreenNotification; |
| 237 BASE_EXPORT extern NSString* const NSWindowDidEnterFullScreenNotification; | 237 BASE_EXPORT extern NSString* const NSWindowDidEnterFullScreenNotification; |
| 238 BASE_EXPORT extern NSString* const NSWindowDidExitFullScreenNotification; | 238 BASE_EXPORT extern NSString* const NSWindowDidExitFullScreenNotification; |
| 239 BASE_EXPORT extern NSString* const | 239 BASE_EXPORT extern NSString* const |
| 240 NSWindowDidChangeBackingPropertiesNotification; | 240 NSWindowDidChangeBackingPropertiesNotification; |
| 241 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceDataKey; | 241 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceDataKey; |
| 242 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceUUIDsKey; |
| 242 BASE_EXPORT extern NSString* const | 243 BASE_EXPORT extern NSString* const |
| 243 NSPreferredScrollerStyleDidChangeNotification; | 244 NSPreferredScrollerStyleDidChangeNotification; |
| 244 #endif // MAC_OS_X_VERSION_10_7 | 245 #endif // MAC_OS_X_VERSION_10_7 |
| 245 | 246 |
| 246 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 247 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 247 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 | 248 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 |
| 248 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; | 249 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; |
| 250 BASE_EXPORT extern NSString* const CBAdvertisementDataOverflowServiceUUIDsKey; |
| 249 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; | 251 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; |
| 250 #endif // MAC_OS_X_VERSION_10_9 | 252 #endif // MAC_OS_X_VERSION_10_9 |
| 251 | 253 |
| 252 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 254 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| 253 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 | 255 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 |
| 254 BASE_EXPORT extern NSString* const NSUserActivityTypeBrowsingWeb; | 256 BASE_EXPORT extern NSString* const NSUserActivityTypeBrowsingWeb; |
| 255 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantDark; | 257 BASE_EXPORT extern NSString* const NSAppearanceNameVibrantDark; |
| 256 #endif // MAC_OS_X_VERSION_10_10 | 258 #endif // MAC_OS_X_VERSION_10_10 |
| 257 } // extern "C" | 259 } // extern "C" |
| 258 | 260 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 // The symbol for kCWSSIDDidChangeNotification is available in the | 525 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 524 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 526 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 525 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 527 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 526 // declare the symbol. | 528 // declare the symbol. |
| 527 // ---------------------------------------------------------------------------- | 529 // ---------------------------------------------------------------------------- |
| 528 #if defined(MAC_OS_X_VERSION_10_9) && \ | 530 #if defined(MAC_OS_X_VERSION_10_9) && \ |
| 529 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 531 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
| 530 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 532 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 531 #endif | 533 #endif |
| 532 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 534 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |