Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: base/mac/sdk_forward_declarations.mm

Issue 666123003: Mac: Use Mavericks occlusion APIs for power savings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move occlusion handling to WebContentsViewMac Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #endif // MAC_OS_X_VERSION_10_7 23 #endif // MAC_OS_X_VERSION_10_7
24 24
25 // Replicate specific 10.9 SDK declarations for building with prior SDKs.
26 #if !defined(MAC_OS_X_VERSION_10_9) || \
27 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9
28
29 NSString* const NSWindowDidChangeOcclusionStateNotification =
30 @"NSWindowDidChangeOcclusionStateNotification";
31
32 #endif // MAC_OS_X_VERSION_10_9
33
25 // Replicate specific 10.10 SDK declarations for building with prior SDKs. 34 // Replicate specific 10.10 SDK declarations for building with prior SDKs.
26 #if !defined(MAC_OS_X_VERSION_10_10) || \ 35 #if !defined(MAC_OS_X_VERSION_10_10) || \
27 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 36 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10
28 37
29 NSString* const NSUserActivityTypeBrowsingWeb = 38 NSString* const NSUserActivityTypeBrowsingWeb =
30 @"NSUserActivityTypeBrowsingWeb"; 39 @"NSUserActivityTypeBrowsingWeb";
31 40
32 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark"; 41 NSString* const NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark";
33 42
34 #endif // MAC_OS_X_VERSION_10_10 43 #endif // MAC_OS_X_VERSION_10_10
OLDNEW
« no previous file with comments | « base/mac/sdk_forward_declarations.h ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698