| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 @interface NSColor (MountainLionSDK) | 280 @interface NSColor (MountainLionSDK) |
| 281 - (CGColorRef)CGColor; | 281 - (CGColorRef)CGColor; |
| 282 @end | 282 @end |
| 283 | 283 |
| 284 @interface NSUUID : NSObject | 284 @interface NSUUID : NSObject |
| 285 - (NSString*)UUIDString; | 285 - (NSString*)UUIDString; |
| 286 @end | 286 @end |
| 287 | 287 |
| 288 @interface NSControl (MountainLionSDK) |
| 289 @property BOOL allowsExpansionToolTips; |
| 290 @end |
| 291 |
| 288 #endif // MAC_OS_X_VERSION_10_8 | 292 #endif // MAC_OS_X_VERSION_10_8 |
| 289 | 293 |
| 290 | 294 |
| 291 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 295 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 292 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 | 296 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 |
| 293 | 297 |
| 294 // NSProgress is public API in 10.9, but a version of it exists and is usable | 298 // NSProgress is public API in 10.9, but a version of it exists and is usable |
| 295 // in 10.8. | 299 // in 10.8. |
| 296 | 300 |
| 297 @interface NSProgress : NSObject | 301 @interface NSProgress : NSObject |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 | 408 |
| 405 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; | 409 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; |
| 406 | 410 |
| 407 @interface CBUUID (YosemiteSDK) | 411 @interface CBUUID (YosemiteSDK) |
| 408 - (NSString*)UUIDString; | 412 - (NSString*)UUIDString; |
| 409 @end | 413 @end |
| 410 | 414 |
| 411 #endif // MAC_OS_X_VERSION_10_10 | 415 #endif // MAC_OS_X_VERSION_10_10 |
| 412 | 416 |
| 413 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 417 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |