| 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 = | 23 NSString* const NSWindowDidChangeBackingPropertiesNotification = |
| 24 @"NSWindowDidChangeBackingPropertiesNotification"; | 24 @"NSWindowDidChangeBackingPropertiesNotification"; |
| 25 | 25 |
| 26 NSString* const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData"; |
| 27 |
| 26 #endif // MAC_OS_X_VERSION_10_7 | 28 #endif // MAC_OS_X_VERSION_10_7 |
| 27 | 29 |
| 28 // Replicate specific 10.9 SDK declarations for building with prior SDKs. | 30 // Replicate specific 10.9 SDK declarations for building with prior SDKs. |
| 29 #if !defined(MAC_OS_X_VERSION_10_9) || \ | 31 #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 30 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 | 32 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 |
| 31 | 33 |
| 32 NSString* const NSWindowDidChangeOcclusionStateNotification = | 34 NSString* const NSWindowDidChangeOcclusionStateNotification = |
| 33 @"NSWindowDidChangeOcclusionStateNotification"; | 35 @"NSWindowDidChangeOcclusionStateNotification"; |
| 34 | 36 |
| 37 NSString* const CBAdvertisementDataIsConnectable = @"kCBAdvDataIsConnectable"; |
| 38 |
| 35 #endif // MAC_OS_X_VERSION_10_9 | 39 #endif // MAC_OS_X_VERSION_10_9 |
| 36 | 40 |
| 37 // Replicate specific 10.10 SDK declarations for building with prior SDKs. | 41 // Replicate specific 10.10 SDK declarations for building with prior SDKs. |
| 38 #if !defined(MAC_OS_X_VERSION_10_10) || \ | 42 #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| 39 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 | 43 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 |
| 40 | 44 |
| 41 NSString* const NSUserActivityTypeBrowsingWeb = | 45 NSString* const NSUserActivityTypeBrowsingWeb = |
| 42 @"NSUserActivityTypeBrowsingWeb"; | 46 @"NSUserActivityTypeBrowsingWeb"; |
| 43 | 47 |
| 44 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; | 48 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; |
| 45 | 49 |
| 46 #endif // MAC_OS_X_VERSION_10_10 | 50 #endif // MAC_OS_X_VERSION_10_10 |
| OLD | NEW |