| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 339 |
| 340 @interface NSAnimationContext (LionSDK) | 340 @interface NSAnimationContext (LionSDK) |
| 341 + (void)runAnimationGroup:(void (^)(NSAnimationContext* context))changes | 341 + (void)runAnimationGroup:(void (^)(NSAnimationContext* context))changes |
| 342 completionHandler:(void (^)(void))completionHandler; | 342 completionHandler:(void (^)(void))completionHandler; |
| 343 @property(copy) void (^completionHandler)(void); | 343 @property(copy) void (^completionHandler)(void); |
| 344 @end | 344 @end |
| 345 | 345 |
| 346 @interface NSView (LionSDK) | 346 @interface NSView (LionSDK) |
| 347 - (NSSize)convertSizeFromBacking:(NSSize)size; | 347 - (NSSize)convertSizeFromBacking:(NSSize)size; |
| 348 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; | 348 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; |
| 349 - (NSDraggingSession*)beginDraggingSessionWithItems:(NSArray*)items | |
| 350 event:(NSEvent*)event | |
| 351 source: | |
| 352 (id<NSDraggingSource>)source; | |
| 353 @end | 349 @end |
| 354 | 350 |
| 355 @interface NSObject (ICCameraDeviceDelegateLionSDK) | 351 @interface NSObject (ICCameraDeviceDelegateLionSDK) |
| 356 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; | 352 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; |
| 357 - (void)didDownloadFile:(ICCameraFile*)file | 353 - (void)didDownloadFile:(ICCameraFile*)file |
| 358 error:(NSError*)error | 354 error:(NSError*)error |
| 359 options:(NSDictionary*)options | 355 options:(NSDictionary*)options |
| 360 contextInfo:(void*)contextInfo; | 356 contextInfo:(void*)contextInfo; |
| 361 @end | 357 @end |
| 362 | 358 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 // The symbol for kCWSSIDDidChangeNotification is available in the | 555 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 560 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 556 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 561 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 557 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 562 // declare the symbol. | 558 // declare the symbol. |
| 563 // ---------------------------------------------------------------------------- | 559 // ---------------------------------------------------------------------------- |
| 564 #if defined(MAC_OS_X_VERSION_10_9) && \ | 560 #if defined(MAC_OS_X_VERSION_10_9) && \ |
| 565 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 561 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
| 566 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 562 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 567 #endif | 563 #endif |
| 568 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 564 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |