Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: base/mac/sdk_forward_declarations.h

Issue 16189012: Add a path to use CALayers to display content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve again Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698