James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "base/mac/sdk_forward_declarations.h" |
| 6 | |
| 7 | // Replicate specific 10.7 SDK declarations for building with prior SDKs. |
| 8 | #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 9 | MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
| 10 | |
| 11 | NSString* const NSWindowWillEnterFullScreenNotification = |
| 12 | @"NSWindowWillEnterFullScreenNotification"; |
| 13 | |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 14 | NSString* const NSWindowWillExitFullScreenNotification = |
| 15 | @"NSWindowWillExitFullScreenNotification"; |
| 16 | |
| 17 | NSString* const NSWindowDidEnterFullScreenNotification = |
| 18 | @"NSWindowDidEnterFullScreenNotification"; |
| 19 | |
| 20 | NSString* const NSWindowDidExitFullScreenNotification = |
| 21 | @"NSWindowDidExitFullScreenNotification"; |
| 22 | |
James Robinson | 7f48021 | 2014-10-31 10:28:08 -0700 | [diff] [blame] | 23 | NSString* const NSWindowDidChangeBackingPropertiesNotification = |
| 24 | @"NSWindowDidChangeBackingPropertiesNotification"; |
| 25 | |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 26 | NSString* const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData"; |
| 27 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 28 | #endif // MAC_OS_X_VERSION_10_7 |
| 29 | |
James Robinson | 7f48021 | 2014-10-31 10:28:08 -0700 | [diff] [blame] | 30 | // Replicate specific 10.9 SDK declarations for building with prior SDKs. |
| 31 | #if !defined(MAC_OS_X_VERSION_10_9) || \ |
| 32 | MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9 |
| 33 | |
| 34 | NSString* const NSWindowDidChangeOcclusionStateNotification = |
| 35 | @"NSWindowDidChangeOcclusionStateNotification"; |
| 36 | |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 37 | NSString* const CBAdvertisementDataIsConnectable = @"kCBAdvDataIsConnectable"; |
| 38 | |
James Robinson | 7f48021 | 2014-10-31 10:28:08 -0700 | [diff] [blame] | 39 | #endif // MAC_OS_X_VERSION_10_9 |
| 40 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 41 | // Replicate specific 10.10 SDK declarations for building with prior SDKs. |
| 42 | #if !defined(MAC_OS_X_VERSION_10_10) || \ |
| 43 | MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 |
| 44 | |
| 45 | NSString* const NSUserActivityTypeBrowsingWeb = |
| 46 | @"NSUserActivityTypeBrowsingWeb"; |
| 47 | |
| 48 | NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; |
| 49 | |
| 50 | #endif // MAC_OS_X_VERSION_10_10 |