OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "base/mac/sdk_forward_declarations.h" | 5 #include "base/mac/sdk_forward_declarations.h" |
6 | 6 |
7 // Replicate specific 10.7 SDK declarations for building with prior SDKs. | 7 // Replicate specific 10.7 SDK declarations for building with prior SDKs. |
8 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 8 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
9 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 9 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
10 | 10 |
11 NSString* const NSWindowWillEnterFullScreenNotification = | 11 NSString* const NSWindowWillEnterFullScreenNotification = |
12 @"NSWindowWillEnterFullScreenNotification"; | 12 @"NSWindowWillEnterFullScreenNotification"; |
13 | 13 |
14 NSString* const NSWindowWillExitFullScreenNotification = | 14 NSString* const NSWindowWillExitFullScreenNotification = |
15 @"NSWindowWillExitFullScreenNotification"; | 15 @"NSWindowWillExitFullScreenNotification"; |
16 | 16 |
17 NSString* const NSWindowDidEnterFullScreenNotification = | 17 NSString* const NSWindowDidEnterFullScreenNotification = |
18 @"NSWindowDidEnterFullScreenNotification"; | 18 @"NSWindowDidEnterFullScreenNotification"; |
19 | 19 |
20 NSString* const NSWindowDidExitFullScreenNotification = | 20 NSString* const NSWindowDidExitFullScreenNotification = |
21 @"NSWindowDidExitFullScreenNotification"; | 21 @"NSWindowDidExitFullScreenNotification"; |
22 | 22 |
| 23 NSString* const NSWindowDidChangeBackingPropertiesNotification = |
| 24 @"NSWindowDidChangeBackingPropertiesNotification"; |
| 25 |
23 #endif // MAC_OS_X_VERSION_10_7 | 26 #endif // MAC_OS_X_VERSION_10_7 |
24 | 27 |
| 28 // Replicate specific 10.9 SDK declarations for building with prior SDKs. |
| 29 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 30 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 |
| 31 |
| 32 NSString* const NSWindowDidChangeOcclusionStateNotification = |
| 33 @"NSWindowDidChangeOcclusionStateNotification"; |
| 34 |
| 35 #endif // MAC_OS_X_VERSION_10_9 |
| 36 |
25 // Replicate specific 10.10 SDK declarations for building with prior SDKs. | 37 // Replicate specific 10.10 SDK declarations for building with prior SDKs. |
26 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 38 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
27 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 | 39 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 |
28 | 40 |
29 NSString* const NSUserActivityTypeBrowsingWeb = | 41 NSString* const NSUserActivityTypeBrowsingWeb = |
30 @"NSUserActivityTypeBrowsingWeb"; | 42 @"NSUserActivityTypeBrowsingWeb"; |
31 | 43 |
32 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; | 44 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; |
33 | 45 |
34 #endif // MAC_OS_X_VERSION_10_10 | 46 #endif // MAC_OS_X_VERSION_10_10 |
OLD | NEW |