| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 254 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 255 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | 255 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
| 256 BASE_EXPORT extern NSString* const NSWindowWillEnterFullScreenNotification; | 256 BASE_EXPORT extern NSString* const NSWindowWillEnterFullScreenNotification; |
| 257 BASE_EXPORT extern NSString* const NSWindowWillExitFullScreenNotification; | 257 BASE_EXPORT extern NSString* const NSWindowWillExitFullScreenNotification; |
| 258 BASE_EXPORT extern NSString* const NSWindowDidEnterFullScreenNotification; | 258 BASE_EXPORT extern NSString* const NSWindowDidEnterFullScreenNotification; |
| 259 BASE_EXPORT extern NSString* const NSWindowDidExitFullScreenNotification; | 259 BASE_EXPORT extern NSString* const NSWindowDidExitFullScreenNotification; |
| 260 BASE_EXPORT extern NSString* const | 260 BASE_EXPORT extern NSString* const |
| 261 NSWindowDidChangeBackingPropertiesNotification; | 261 NSWindowDidChangeBackingPropertiesNotification; |
| 262 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceDataKey; | 262 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceDataKey; |
| 263 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceUUIDsKey; | 263 BASE_EXPORT extern NSString* const CBAdvertisementDataServiceUUIDsKey; |
| 264 BASE_EXPORT extern NSString* const | |
| 265 NSPreferredScrollerStyleDidChangeNotification; | |
| 266 #endif // MAC_OS_X_VERSION_10_7 | 264 #endif // MAC_OS_X_VERSION_10_7 |
| 267 | 265 |
| 268 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 266 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 269 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 | 267 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 |
| 270 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; | 268 BASE_EXPORT extern NSString* const NSWindowDidChangeOcclusionStateNotification; |
| 271 BASE_EXPORT extern NSString* const CBAdvertisementDataOverflowServiceUUIDsKey; | 269 BASE_EXPORT extern NSString* const CBAdvertisementDataOverflowServiceUUIDsKey; |
| 272 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; | 270 BASE_EXPORT extern NSString* const CBAdvertisementDataIsConnectable; |
| 273 #endif // MAC_OS_X_VERSION_10_9 | 271 #endif // MAC_OS_X_VERSION_10_9 |
| 274 | 272 |
| 275 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 273 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 @end | 351 @end |
| 354 | 352 |
| 355 @interface NSObject (ICCameraDeviceDelegateLionSDK) | 353 @interface NSObject (ICCameraDeviceDelegateLionSDK) |
| 356 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; | 354 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; |
| 357 - (void)didDownloadFile:(ICCameraFile*)file | 355 - (void)didDownloadFile:(ICCameraFile*)file |
| 358 error:(NSError*)error | 356 error:(NSError*)error |
| 359 options:(NSDictionary*)options | 357 options:(NSDictionary*)options |
| 360 contextInfo:(void*)contextInfo; | 358 contextInfo:(void*)contextInfo; |
| 361 @end | 359 @end |
| 362 | 360 |
| 363 @interface NSScroller (LionSDK) | |
| 364 + (NSInteger)preferredScrollerStyle; | |
| 365 @end | |
| 366 | |
| 367 @interface CWInterface (LionSDK) | 361 @interface CWInterface (LionSDK) |
| 368 - (BOOL)associateToNetwork:(CWNetwork*)network | 362 - (BOOL)associateToNetwork:(CWNetwork*)network |
| 369 password:(NSString*)password | 363 password:(NSString*)password |
| 370 error:(NSError**)error; | 364 error:(NSError**)error; |
| 371 - (NSSet*)scanForNetworksWithName:(NSString*)networkName error:(NSError**)error; | 365 - (NSSet*)scanForNetworksWithName:(NSString*)networkName error:(NSError**)error; |
| 372 @end | 366 @end |
| 373 | 367 |
| 374 @interface CWChannel (LionSDK) | 368 @interface CWChannel (LionSDK) |
| 375 @property(readonly) CWChannelBand channelBand; | 369 @property(readonly) CWChannelBand channelBand; |
| 376 @end | 370 @end |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 // The symbol for kCWSSIDDidChangeNotification is available in the | 557 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 564 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 558 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 565 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 559 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 566 // declare the symbol. | 560 // declare the symbol. |
| 567 // ---------------------------------------------------------------------------- | 561 // ---------------------------------------------------------------------------- |
| 568 #if defined(MAC_OS_X_VERSION_10_9) && \ | 562 #if defined(MAC_OS_X_VERSION_10_9) && \ |
| 569 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 563 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
| 570 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 564 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 571 #endif | 565 #endif |
| 572 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 566 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |