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

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

Issue 2390103003: [Mac] Update NSVisualEffectView to 10.9 Deployment (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 @end 185 @end
186 186
187 @interface NSAppearance (MavericksSDK) 187 @interface NSAppearance (MavericksSDK)
188 + (id<NSObject>)appearanceNamed:(NSString*)name; 188 + (id<NSObject>)appearanceNamed:(NSString*)name;
189 @end 189 @end
190 190
191 @interface CBPeripheral (MavericksSDK) 191 @interface CBPeripheral (MavericksSDK)
192 @property(readonly, nonatomic) NSUUID* identifier; 192 @property(readonly, nonatomic) NSUUID* identifier;
193 @end 193 @end
194 194
195 @interface NSVisualEffectView (MavericksSDK)
196 - (void)setState:(NSVisualEffectState)state;
197 @end
198
199 @class NSVisualEffectView;
200
201 @class NSUserActivity; 195 @class NSUserActivity;
202 196
203 #endif // MAC_OS_X_VERSION_10_9 197 #endif // MAC_OS_X_VERSION_10_9
204 198
205 // Once Chrome no longer supports OSX 10.9, everything within this preprocessor 199 // Once Chrome no longer supports OSX 10.9, everything within this preprocessor
206 // block can be removed. 200 // block can be removed.
207 #if !defined(MAC_OS_X_VERSION_10_10) || \ 201 #if !defined(MAC_OS_X_VERSION_10_10) || \
208 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 202 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10
209 203
210 @interface NSUserActivity (YosemiteSDK) 204 @interface NSUserActivity (YosemiteSDK)
(...skipping 17 matching lines...) Expand all
228 @end 222 @end
229 223
230 @interface NSWindow (YosemiteSDK) 224 @interface NSWindow (YosemiteSDK)
231 - (void)setTitlebarAppearsTransparent:(BOOL)flag; 225 - (void)setTitlebarAppearsTransparent:(BOOL)flag;
232 @end 226 @end
233 227
234 @interface NSProcessInfo (YosemiteSDK) 228 @interface NSProcessInfo (YosemiteSDK)
235 @property(readonly) NSOperatingSystemVersion operatingSystemVersion; 229 @property(readonly) NSOperatingSystemVersion operatingSystemVersion;
236 @end 230 @end
237 231
232 @interface NSVisualEffectView (YosemiteSDK)
233 - (void)setState:(NSVisualEffectState)state;
234 @end
235
236 @class NSVisualEffectView;
237
238 #endif // MAC_OS_X_VERSION_10_10 238 #endif // MAC_OS_X_VERSION_10_10
239 239
240 // Once Chrome no longer supports OSX 10.10.2, everything within this 240 // Once Chrome no longer supports OSX 10.10.2, everything within this
241 // preprocessor block can be removed. 241 // preprocessor block can be removed.
242 #if !defined(MAC_OS_X_VERSION_10_10_3) || \ 242 #if !defined(MAC_OS_X_VERSION_10_10_3) || \
243 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3 243 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10_3
244 244
245 @interface NSEvent (YosemiteSDK) 245 @interface NSEvent (YosemiteSDK)
246 @property(readonly) NSInteger stage; 246 @property(readonly) NSInteger stage;
247 @end 247 @end
(...skipping 17 matching lines...) Expand all
265 265
266 // ---------------------------------------------------------------------------- 266 // ----------------------------------------------------------------------------
267 // The symbol for kCWSSIDDidChangeNotification is available in the 267 // The symbol for kCWSSIDDidChangeNotification is available in the
268 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not 268 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not
269 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, 269 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK,
270 // declare the symbol. 270 // declare the symbol.
271 // ---------------------------------------------------------------------------- 271 // ----------------------------------------------------------------------------
272 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; 272 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification;
273 273
274 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 274 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698