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.
5 #include "base/mac/sdk_forward_declarations.h"
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
11 NSString* const NSWindowWillEnterFullScreenNotification =
12 @"NSWindowWillEnterFullScreenNotification";
14 NSString* const NSWindowWillExitFullScreenNotification =
15 @"NSWindowWillExitFullScreenNotification";
17 NSString* const NSWindowDidEnterFullScreenNotification =
18 @"NSWindowDidEnterFullScreenNotification";
20 NSString* const NSWindowDidExitFullScreenNotification =
21 @"NSWindowDidExitFullScreenNotification";
23 NSString* const NSWindowDidChangeBackingPropertiesNotification =
24 @"NSWindowDidChangeBackingPropertiesNotification";
26 NSString* const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData";
28 #endif // MAC_OS_X_VERSION_10_7
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
34 NSString* const NSWindowDidChangeOcclusionStateNotification =
35 @"NSWindowDidChangeOcclusionStateNotification";
37 NSString* const CBAdvertisementDataIsConnectable = @"kCBAdvDataIsConnectable";
39 #endif // MAC_OS_X_VERSION_10_9
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
45 NSString* const NSUserActivityTypeBrowsingWeb =
46 @"NSUserActivityTypeBrowsingWeb";
48 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark";
50 #endif // MAC_OS_X_VERSION_10_10