| 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  |   7  | 
|   8 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |   8 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 
|   9 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |   9 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 
|  10  |  10  | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
|  36           dampenAmountThresholdMin:(CGFloat)minDampenThreshold |  36           dampenAmountThresholdMin:(CGFloat)minDampenThreshold | 
|  37                                max:(CGFloat)maxDampenThreshold |  37                                max:(CGFloat)maxDampenThreshold | 
|  38                       usingHandler:(void (^)(CGFloat gestureAmount, |  38                       usingHandler:(void (^)(CGFloat gestureAmount, | 
|  39                                              NSEventPhase phase, |  39                                              NSEventPhase phase, | 
|  40                                              BOOL isComplete, |  40                                              BOOL isComplete, | 
|  41                                              BOOL *stop))trackingHandler; |  41                                              BOOL *stop))trackingHandler; | 
|  42  |  42  | 
|  43 - (BOOL)isDirectionInvertedFromDevice; |  43 - (BOOL)isDirectionInvertedFromDevice; | 
|  44  |  44  | 
|  45 @end |  45 @end | 
 |  46  | 
 |  47 @interface CALayer (LionAPI) | 
 |  48 - (CGFloat)contentsScale; | 
 |  49 - (void)setContentsScale:(CGFloat)contentsScale; | 
 |  50 @end | 
 |  51  | 
|  46 #endif  // MAC_OS_X_VERSION_10_7 |  52 #endif  // MAC_OS_X_VERSION_10_7 | 
|  47  |  53  | 
|  48 #endif  // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |  54 #endif  // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 
| OLD | NEW |