| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 286 |
| 287 enum { | 287 enum { |
| 288 NSWindowOcclusionStateVisible = 1UL << 1, | 288 NSWindowOcclusionStateVisible = 1UL << 1, |
| 289 }; | 289 }; |
| 290 typedef NSUInteger NSWindowOcclusionState; | 290 typedef NSUInteger NSWindowOcclusionState; |
| 291 | 291 |
| 292 @interface NSWindow (MavericksSDK) | 292 @interface NSWindow (MavericksSDK) |
| 293 - (NSWindowOcclusionState)occlusionState; | 293 - (NSWindowOcclusionState)occlusionState; |
| 294 @end | 294 @end |
| 295 | 295 |
| 296 BASE_EXPORT extern "C" NSString* const |
| 297 NSWindowDidChangeOcclusionStateNotification; |
| 298 |
| 296 enum { | 299 enum { |
| 297 NSWorkspaceLaunchWithErrorPresentation = 0x00000040 | 300 NSWorkspaceLaunchWithErrorPresentation = 0x00000040 |
| 298 }; | 301 }; |
| 299 | 302 |
| 300 #else // !MAC_OS_X_VERSION_10_9 | 303 #else // !MAC_OS_X_VERSION_10_9 |
| 301 | 304 |
| 302 typedef enum { | 305 typedef enum { |
| 303 kCWSecurityModeOpen = 0, | 306 kCWSecurityModeOpen = 0, |
| 304 kCWSecurityModeWEP, | 307 kCWSecurityModeWEP, |
| 305 kCWSecurityModeWPA_PSK, | 308 kCWSecurityModeWPA_PSK, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 330 | 333 |
| 331 @end | 334 @end |
| 332 | 335 |
| 333 BASE_EXPORT extern "C" NSString* const NSUserActivityTypeBrowsingWeb; | 336 BASE_EXPORT extern "C" NSString* const NSUserActivityTypeBrowsingWeb; |
| 334 | 337 |
| 335 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; | 338 BASE_EXPORT extern "C" NSString* const NSAppearanceNameVibrantDark; |
| 336 | 339 |
| 337 #endif // MAC_OS_X_VERSION_10_10 | 340 #endif // MAC_OS_X_VERSION_10_10 |
| 338 | 341 |
| 339 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 342 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |