| 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.10). | 6 // default one with which Chromium is built (currently 10.10). |
| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 @property(readonly) CGPoint topRight; | 137 @property(readonly) CGPoint topRight; |
| 138 @property(readonly) CGPoint bottomLeft; | 138 @property(readonly) CGPoint bottomLeft; |
| 139 @property(readonly) CGPoint bottomRight; | 139 @property(readonly) CGPoint bottomRight; |
| 140 @property(readonly, copy) NSString* messageString; | 140 @property(readonly, copy) NSString* messageString; |
| 141 @end | 141 @end |
| 142 | 142 |
| 143 @class CIQRCodeFeature; | 143 @class CIQRCodeFeature; |
| 144 | 144 |
| 145 @interface NSView (YosemiteSDK) | 145 @interface NSView (YosemiteSDK) |
| 146 - (BOOL)isAccessibilitySelectorAllowed:(SEL)selector; | 146 - (BOOL)isAccessibilitySelectorAllowed:(SEL)selector; |
| 147 @property(copy) NSString* accessibilityLabel; |
| 147 @end | 148 @end |
| 148 | 149 |
| 149 #endif // MAC_OS_X_VERSION_10_10 | 150 #endif // MAC_OS_X_VERSION_10_10 |
| 150 | 151 |
| 151 // Once Chrome no longer supports OSX 10.10.2, everything within this | 152 // Once Chrome no longer supports OSX 10.10.2, everything within this |
| 152 // preprocessor block can be removed. | 153 // preprocessor block can be removed. |
| 153 #if !defined(MAC_OS_X_VERSION_10_10_3) || \ | 154 #if !defined(MAC_OS_X_VERSION_10_10_3) || \ |
| 154 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3 | 155 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3 |
| 155 | 156 |
| 156 @interface NSEvent (Yosemite_3_SDK) | 157 @interface NSEvent (Yosemite_3_SDK) |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 250 |
| 250 // ---------------------------------------------------------------------------- | 251 // ---------------------------------------------------------------------------- |
| 251 // The symbol for kCWSSIDDidChangeNotification is available in the | 252 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 252 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 253 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 253 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 254 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 254 // declare the symbol. | 255 // declare the symbol. |
| 255 // ---------------------------------------------------------------------------- | 256 // ---------------------------------------------------------------------------- |
| 256 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 257 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 257 | 258 |
| 258 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 259 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |