| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 - (void)setRestorable:(BOOL)flag; | 106 - (void)setRestorable:(BOOL)flag; |
| 107 @end | 107 @end |
| 108 | 108 |
| 109 @interface NSCursor (LionSDKDeclarations) | 109 @interface NSCursor (LionSDKDeclarations) |
| 110 + (NSCursor*)IBeamCursorForVerticalLayout; | 110 + (NSCursor*)IBeamCursorForVerticalLayout; |
| 111 @end | 111 @end |
| 112 | 112 |
| 113 @interface NSAnimationContext (LionSDK) | 113 @interface NSAnimationContext (LionSDK) |
| 114 + (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes | 114 + (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes |
| 115 completionHandler:(void (^)(void))completionHandler; | 115 completionHandler:(void (^)(void))completionHandler; |
| 116 @property(copy) void(^completionHandler)(void); |
| 116 @end | 117 @end |
| 117 | 118 |
| 118 @interface NSView (LionSDK) | 119 @interface NSView (LionSDK) |
| 119 - (NSSize)convertSizeFromBacking:(NSSize)size; | 120 - (NSSize)convertSizeFromBacking:(NSSize)size; |
| 120 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; | 121 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; |
| 121 @end | 122 @end |
| 122 | 123 |
| 123 @interface NSObject (ICCameraDeviceDelegateLionSDK) | 124 @interface NSObject (ICCameraDeviceDelegateLionSDK) |
| 124 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; | 125 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; |
| 125 - (void)didDownloadFile:(ICCameraFile*)file | 126 - (void)didDownloadFile:(ICCameraFile*)file |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 254 |
| 254 @interface NSWindow (YosemiteSDK) | 255 @interface NSWindow (YosemiteSDK) |
| 255 | 256 |
| 256 @property NSWindowTitleVisibility titleVisibility; | 257 @property NSWindowTitleVisibility titleVisibility; |
| 257 | 258 |
| 258 @end | 259 @end |
| 259 | 260 |
| 260 #endif // MAC_OS_X_VERSION_10_10 | 261 #endif // MAC_OS_X_VERSION_10_10 |
| 261 | 262 |
| 262 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 263 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |