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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 + (NSCursor*)IBeamCursorForVerticalLayout; | 112 + (NSCursor*)IBeamCursorForVerticalLayout; |
113 @end | 113 @end |
114 | 114 |
115 @interface NSAnimationContext (LionSDK) | 115 @interface NSAnimationContext (LionSDK) |
116 + (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes | 116 + (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes |
117 completionHandler:(void (^)(void))completionHandler; | 117 completionHandler:(void (^)(void))completionHandler; |
118 @property(copy) void(^completionHandler)(void); | 118 @property(copy) void(^completionHandler)(void); |
119 @end | 119 @end |
120 | 120 |
121 @interface NSView (LionSDK) | 121 @interface NSView (LionSDK) |
| 122 - (NSPoint)convertPointFromBacking:(NSPoint)point; |
| 123 - (NSPoint)convertPointToBacking:(NSPoint)point; |
| 124 - (NSRect)convertRectFromBacking:(NSRect)rect; |
| 125 - (NSRect)convertRectToBacking:(NSRect)rect; |
122 - (NSSize)convertSizeFromBacking:(NSSize)size; | 126 - (NSSize)convertSizeFromBacking:(NSSize)size; |
| 127 - (NSSize)convertSizeToBacking:(NSSize)size; |
123 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; | 128 - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag; |
124 @end | 129 @end |
125 | 130 |
126 @interface NSObject (ICCameraDeviceDelegateLionSDK) | 131 @interface NSObject (ICCameraDeviceDelegateLionSDK) |
127 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; | 132 - (void)deviceDidBecomeReadyWithCompleteContentCatalog:(ICDevice*)device; |
128 - (void)didDownloadFile:(ICCameraFile*)file | 133 - (void)didDownloadFile:(ICCameraFile*)file |
129 error:(NSError*)error | 134 error:(NSError*)error |
130 options:(NSDictionary*)options | 135 options:(NSDictionary*)options |
131 contextInfo:(void*)contextInfo; | 136 contextInfo:(void*)contextInfo; |
132 @end | 137 @end |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 | 346 |
342 @end | 347 @end |
343 | 348 |
344 BASE_EXPORT extern "C" NSString* const NSUserActivityTypeBrowsingWeb; | 349 BASE_EXPORT extern "C" NSString* const NSUserActivityTypeBrowsingWeb; |
345 | 350 |
346 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; | 351 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; |
347 | 352 |
348 #endif // MAC_OS_X_VERSION_10_10 | 353 #endif // MAC_OS_X_VERSION_10_10 |
349 | 354 |
350 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 355 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
OLD | NEW |