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; |
349 @end | 353 @end |
350 | 354 |
351 @interface NSObject (ICCameraDeviceDelegateLionSDK) | 355 @interface NSObject (ICCameraDeviceDelegateLionSDK) |
352 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; | 356 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; |
353 - (void)didDownloadFile:(ICCameraFile*)file | 357 - (void)didDownloadFile:(ICCameraFile*)file |
354 error:(NSError*)error | 358 error:(NSError*)error |
355 options:(NSDictionary*)options | 359 options:(NSDictionary*)options |
356 contextInfo:(void*)contextInfo; | 360 contextInfo:(void*)contextInfo; |
357 @end | 361 @end |
358 | 362 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 // The symbol for kCWSSIDDidChangeNotification is available in the | 559 // The symbol for kCWSSIDDidChangeNotification is available in the |
556 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 560 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
557 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 561 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
558 // declare the symbol. | 562 // declare the symbol. |
559 // ---------------------------------------------------------------------------- | 563 // ---------------------------------------------------------------------------- |
560 #if defined(MAC_OS_X_VERSION_10_9) && \ | 564 #if defined(MAC_OS_X_VERSION_10_9) && \ |
561 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 565 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
562 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 566 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
563 #endif | 567 #endif |
564 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 568 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
OLD | NEW |