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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2059863004: Mac video: Enable fullscreen low power mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 // Shows a notification when quitting Chrome with hosted apps running. Default 1123 // Shows a notification when quitting Chrome with hosted apps running. Default
1124 // behavior is to also quit all hosted apps. 1124 // behavior is to also quit all hosted apps.
1125 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; 1125 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification";
1126 1126
1127 // Disable the toolkit-views App Info dialog for Mac. 1127 // Disable the toolkit-views App Info dialog for Mac.
1128 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; 1128 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac";
1129 1129
1130 // Disables custom Cmd+` window cycling for platform apps and hosted apps. 1130 // Disables custom Cmd+` window cycling for platform apps and hosted apps.
1131 const char kDisableAppWindowCycling[] = "disable-app-window-cycling"; 1131 const char kDisableAppWindowCycling[] = "disable-app-window-cycling";
1132 1132
1133 // Disables fullscreen low power mode on Mac.
1134 const char kDisableFullscreenLowPowerMode[] =
1135 "disable-fullscreen-low-power-mode";
1136
1133 // Disables tab detaching in fullscreen mode on Mac. 1137 // Disables tab detaching in fullscreen mode on Mac.
1134 const char kDisableFullscreenTabDetaching[] = 1138 const char kDisableFullscreenTabDetaching[] =
1135 "disable-fullscreen-tab-detaching"; 1139 "disable-fullscreen-tab-detaching";
1136 1140
1137 // Disables app shim creation for hosted apps on Mac. 1141 // Disables app shim creation for hosted apps on Mac.
1138 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1142 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1139 1143
1140 // Prevents hosted apps from being opened in windows on Mac. 1144 // Prevents hosted apps from being opened in windows on Mac.
1141 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; 1145 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows";
1142 1146
1143 // Disables use of toolkit-views based native app windows. 1147 // Disables use of toolkit-views based native app windows.
1144 const char kDisableMacViewsNativeAppWindows[] = 1148 const char kDisableMacViewsNativeAppWindows[] =
1145 "disable-mac-views-native-app-windows"; 1149 "disable-mac-views-native-app-windows";
1146 1150
1147 // Disables Translate experimental new UX which replaces the infobar. 1151 // Disables Translate experimental new UX which replaces the infobar.
1148 const char kDisableTranslateNewUX[] = "disable-translate-new-ux"; 1152 const char kDisableTranslateNewUX[] = "disable-translate-new-ux";
1149 1153
1150 // Enable the toolkit-views App Info dialog for Mac. This is accessible from 1154 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1151 // chrome://apps and chrome://extensions and is already enabled on non-mac. 1155 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1152 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; 1156 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1153 1157
1154 // Enables custom Cmd+` window cycling for platform apps and hosted apps. 1158 // Enables custom Cmd+` window cycling for platform apps and hosted apps.
1155 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; 1159 const char kEnableAppWindowCycling[] = "enable-app-window-cycling";
1156 1160
1157 // Enables fullscreen low power mode transitions on Mac.
1158 const char kEnableFullscreenLowPowerMode[] = "enable-fullscreen-low-power-mode";
1159
1160 // Enables tab detaching in fullscreen mode on Mac. 1161 // Enables tab detaching in fullscreen mode on Mac.
1161 const char kEnableFullscreenTabDetaching[] = "enable-fullscreen-tab-detaching"; 1162 const char kEnableFullscreenTabDetaching[] = "enable-fullscreen-tab-detaching";
1162 1163
1163 // Allows hosted apps to be opened in windows on Mac. 1164 // Allows hosted apps to be opened in windows on Mac.
1164 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; 1165 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows";
1165 1166
1166 // Enables use of toolkit-views based native app windows. 1167 // Enables use of toolkit-views based native app windows.
1167 const char kEnableMacViewsNativeAppWindows[] = 1168 const char kEnableMacViewsNativeAppWindows[] =
1168 "enable-mac-views-native-app-windows"; 1169 "enable-mac-views-native-app-windows";
1169 1170
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 1321
1321 // ----------------------------------------------------------------------------- 1322 // -----------------------------------------------------------------------------
1322 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1323 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1323 // 1324 //
1324 // You were going to just dump your switches here, weren't you? Instead, please 1325 // You were going to just dump your switches here, weren't you? Instead, please
1325 // put them in alphabetical order above, or in order inside the appropriate 1326 // put them in alphabetical order above, or in order inside the appropriate
1326 // ifdef at the bottom. The order should match the header. 1327 // ifdef at the bottom. The order should match the header.
1327 // ----------------------------------------------------------------------------- 1328 // -----------------------------------------------------------------------------
1328 1329
1329 } // namespace switches 1330 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698