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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 236 NSPressureBehaviorPrimaryAccelerator = 3, | 236 NSPressureBehaviorPrimaryAccelerator = 3, |
| 237 NSPressureBehaviorPrimaryDeepClick = 5, | 237 NSPressureBehaviorPrimaryDeepClick = 5, |
| 238 NSPressureBehaviorPrimaryDeepDrag = 6 | 238 NSPressureBehaviorPrimaryDeepDrag = 6 |
| 239 }; | 239 }; |
| 240 typedef NSInteger NSPressureBehavior; | 240 typedef NSInteger NSPressureBehavior; |
| 241 | 241 |
| 242 @interface NSPressureConfiguration : NSObject | 242 @interface NSPressureConfiguration : NSObject |
| 243 - (instancetype)initWithPressureBehavior:(NSPressureBehavior)pressureBehavior; | 243 - (instancetype)initWithPressureBehavior:(NSPressureBehavior)pressureBehavior; |
| 244 @end | 244 @end |
| 245 | 245 |
| 246 enum { | |
| 247 NSSpringLoadingHighlightNone = 0, | |
| 248 NSSpringLoadingHighlightStandard, | |
| 249 NSSpringLoadingHighlightEmphasized | |
| 250 }; | |
| 251 typedef NSUInteger NSSpringLoadingHighlight; | |
|
sky
2016/06/03 15:18:37
using?
spqchan
2016/06/03 16:55:45
I don't think so, everything else here is using ty
| |
| 252 | |
| 246 #endif // MAC_OS_X_VERSION_10_11 | 253 #endif // MAC_OS_X_VERSION_10_11 |
| 247 | 254 |
| 248 // ---------------------------------------------------------------------------- | 255 // ---------------------------------------------------------------------------- |
| 249 // Define NSStrings only available in newer versions of the OSX SDK to force | 256 // Define NSStrings only available in newer versions of the OSX SDK to force |
| 250 // them to be statically linked. | 257 // them to be statically linked. |
| 251 // ---------------------------------------------------------------------------- | 258 // ---------------------------------------------------------------------------- |
| 252 | 259 |
| 253 extern "C" { | 260 extern "C" { |
| 254 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 261 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 255 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | 262 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 557 // The symbol for kCWSSIDDidChangeNotification is available in the | 564 // The symbol for kCWSSIDDidChangeNotification is available in the |
| 558 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not | 565 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not |
| 559 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, | 566 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, |
| 560 // declare the symbol. | 567 // declare the symbol. |
| 561 // ---------------------------------------------------------------------------- | 568 // ---------------------------------------------------------------------------- |
| 562 #if defined(MAC_OS_X_VERSION_10_9) && \ | 569 #if defined(MAC_OS_X_VERSION_10_9) && \ |
| 563 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 | 570 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 |
| 564 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; | 571 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; |
| 565 #endif | 572 #endif |
| 566 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 573 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |