Chromium Code Reviews| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 484 - (instancetype)initWithActivityType:(NSString*)activityType; | 484 - (instancetype)initWithActivityType:(NSString*)activityType; |
| 485 - (void)becomeCurrent; | 485 - (void)becomeCurrent; |
| 486 - (void)invalidate; | 486 - (void)invalidate; |
| 487 | 487 |
| 488 @end | 488 @end |
| 489 | 489 |
| 490 @interface CBUUID (YosemiteSDK) | 490 @interface CBUUID (YosemiteSDK) |
| 491 - (NSString*)UUIDString; | 491 - (NSString*)UUIDString; |
| 492 @end | 492 @end |
| 493 | 493 |
| 494 @interface NSViewController (YosemiteSDK) | |
|
Robert Sesek
2015/09/21 22:04:01
We build with the 10.10 SDK now, so is this necess
tapted
2015/09/21 23:55:16
Yup. It was silent on my checkout still linking to
| |
| 495 - (void)viewDidLoad; | |
| 496 @end | |
| 497 | |
| 494 #endif // MAC_OS_X_VERSION_10_10 | 498 #endif // MAC_OS_X_VERSION_10_10 |
| 495 | 499 |
| 496 // ---------------------------------------------------------------------------- | 500 // ---------------------------------------------------------------------------- |
| 497 // Chrome uses -[CWNetwork securityMode] and -[CWNetwork rssi] on OSX 10.6. The | 501 // Chrome uses -[CWNetwork securityMode] and -[CWNetwork rssi] on OSX 10.6. The |
| 498 // former method relies on the enum CWSecurityMode which was removed in the OSX | 502 // former method relies on the enum CWSecurityMode which was removed in the OSX |
| 499 // 10.9 SDK. In order for Chrome to compile against an OSX 10.9+ SDK, Chrome | 503 // 10.9 SDK. In order for Chrome to compile against an OSX 10.9+ SDK, Chrome |
| 500 // must define this enum. Chrome must also declare these methods. | 504 // must define this enum. Chrome must also declare these methods. |
| 501 // | 505 // |
| 502 // These declarations and definitions will not be necessary once Chrome no | 506 // These declarations and definitions will not be necessary once Chrome no |
| 503 // longer runs on OSX 10.6. | 507 // longer runs on OSX 10.6. |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 525 // The symbol for kCWSSIDDidChangeNotification is available in the | 529 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 526 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 530 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 527 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 531 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 528 // declare the symbol. | 532 // declare the symbol. |
| 529 // ---------------------------------------------------------------------------- | 533 // ---------------------------------------------------------------------------- |
| 530 #if defined(MAC_OS_X_VERSION_10_9) && \ | 534 #if defined(MAC_OS_X_VERSION_10_9) && \ |
| 531 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 535 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
| 532 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 536 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 533 #endif | 537 #endif |
| 534 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 538 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |