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

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

Issue 2706743002: MacViews/a11y: Disable most text-specific attributes for protected textfields. (Closed)
Patch Set: Review comments. Created 3 years, 10 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
« no previous file with comments | « no previous file | ui/accessibility/platform/ax_platform_node_mac.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.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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 @property(readonly) CGRect bounds; 135 @property(readonly) CGRect bounds;
136 @property(readonly) CGPoint topLeft; 136 @property(readonly) CGPoint topLeft;
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)
146 - (BOOL)isAccessibilitySelectorAllowed:(SEL)selector;
147 @end
148
145 #endif // MAC_OS_X_VERSION_10_10 149 #endif // MAC_OS_X_VERSION_10_10
146 150
147 // Once Chrome no longer supports OSX 10.10.2, everything within this 151 // Once Chrome no longer supports OSX 10.10.2, everything within this
148 // preprocessor block can be removed. 152 // preprocessor block can be removed.
149 #if !defined(MAC_OS_X_VERSION_10_10_3) || \ 153 #if !defined(MAC_OS_X_VERSION_10_10_3) || \
150 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3 154 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3
151 155
152 @interface NSEvent (YosemiteSDK) 156 @interface NSEvent (Yosemite_3_SDK)
153 @property(readonly) NSInteger stage; 157 @property(readonly) NSInteger stage;
154 @end 158 @end
155 159
156 @interface NSView (YosemiteSDK) 160 @interface NSView (Yosemite_3_SDK)
157 - (void)setPressureConfiguration:(NSPressureConfiguration*)aConfiguration; 161 - (void)setPressureConfiguration:(NSPressureConfiguration*)aConfiguration;
158 @end 162 @end
159 163
160 #endif // MAC_OS_X_VERSION_10_10 164 #endif // MAC_OS_X_VERSION_10_10
161 165
162 // Once Chrome no longer supports OSX 10.10, everything within this 166 // Once Chrome no longer supports OSX 10.10, everything within this
163 // preprocessor block can be removed. 167 // preprocessor block can be removed.
164 #if !defined(MAC_OS_X_VERSION_10_11) || \ 168 #if !defined(MAC_OS_X_VERSION_10_11) || \
165 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11 169 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11
166 170
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 231
228 // ---------------------------------------------------------------------------- 232 // ----------------------------------------------------------------------------
229 // The symbol for kCWSSIDDidChangeNotification is available in the 233 // The symbol for kCWSSIDDidChangeNotification is available in the
230 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not 234 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not
231 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, 235 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK,
232 // declare the symbol. 236 // declare the symbol.
233 // ---------------------------------------------------------------------------- 237 // ----------------------------------------------------------------------------
234 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; 238 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification;
235 239
236 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 240 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/accessibility/platform/ax_platform_node_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698