| 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. | |
| 8 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 7 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 9 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 8 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
| 10 | |
| 11 NSString* const NSWindowWillEnterFullScreenNotification = | 9 NSString* const NSWindowWillEnterFullScreenNotification = |
| 12 @"NSWindowWillEnterFullScreenNotification"; | 10 @"NSWindowWillEnterFullScreenNotification"; |
| 13 | 11 |
| 14 NSString* const NSWindowWillExitFullScreenNotification = | 12 NSString* const NSWindowWillExitFullScreenNotification = |
| 15 @"NSWindowWillExitFullScreenNotification"; | 13 @"NSWindowWillExitFullScreenNotification"; |
| 16 | 14 |
| 17 NSString* const NSWindowDidEnterFullScreenNotification = | 15 NSString* const NSWindowDidEnterFullScreenNotification = |
| 18 @"NSWindowDidEnterFullScreenNotification"; | 16 @"NSWindowDidEnterFullScreenNotification"; |
| 19 | 17 |
| 20 NSString* const NSWindowDidExitFullScreenNotification = | 18 NSString* const NSWindowDidExitFullScreenNotification = |
| 21 @"NSWindowDidExitFullScreenNotification"; | 19 @"NSWindowDidExitFullScreenNotification"; |
| 22 | 20 |
| 23 NSString* const NSWindowDidChangeBackingPropertiesNotification = | 21 NSString* const NSWindowDidChangeBackingPropertiesNotification = |
| 24 @"NSWindowDidChangeBackingPropertiesNotification"; | 22 @"NSWindowDidChangeBackingPropertiesNotification"; |
| 25 | 23 |
| 26 NSString* const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData"; | 24 NSString* const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData"; |
| 27 | |
| 28 #endif // MAC_OS_X_VERSION_10_7 | 25 #endif // MAC_OS_X_VERSION_10_7 |
| 29 | 26 |
| 30 // Replicate specific 10.9 SDK declarations for building with prior SDKs. | |
| 31 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 27 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 32 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 | 28 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 |
| 33 | |
| 34 NSString* const NSWindowDidChangeOcclusionStateNotification = | 29 NSString* const NSWindowDidChangeOcclusionStateNotification = |
| 35 @"NSWindowDidChangeOcclusionStateNotification"; | 30 @"NSWindowDidChangeOcclusionStateNotification"; |
| 36 | 31 |
| 37 NSString* const CBAdvertisementDataIsConnectable = @"kCBAdvDataIsConnectable"; | 32 NSString* const CBAdvertisementDataIsConnectable = @"kCBAdvDataIsConnectable"; |
| 38 | |
| 39 #endif // MAC_OS_X_VERSION_10_9 | 33 #endif // MAC_OS_X_VERSION_10_9 |
| 40 | 34 |
| 41 // Replicate specific 10.10 SDK declarations for building with prior SDKs. | |
| 42 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 35 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| 43 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 | 36 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10 |
| 44 | |
| 45 NSString* const NSUserActivityTypeBrowsingWeb = | 37 NSString* const NSUserActivityTypeBrowsingWeb = |
| 46 @"NSUserActivityTypeBrowsingWeb"; | 38 @"NSUserActivityTypeBrowsingWeb"; |
| 47 | 39 |
| 48 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; | 40 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; |
| 49 | |
| 50 #endif // MAC_OS_X_VERSION_10_10 | 41 #endif // MAC_OS_X_VERSION_10_10 |
| OLD | NEW |