| OLD | NEW |
| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 // Prevents Chrome from quitting when Chrome Apps are open. | 1222 // Prevents Chrome from quitting when Chrome Apps are open. |
| 1223 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; | 1223 const char kAppsKeepChromeAliveInTests[] = "apps-keep-chrome-alive-in-tests"; |
| 1224 | 1224 |
| 1225 // Shows a notification when quitting Chrome with hosted apps running. Default | 1225 // Shows a notification when quitting Chrome with hosted apps running. Default |
| 1226 // behavior is to also quit all hosted apps. | 1226 // behavior is to also quit all hosted apps. |
| 1227 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; | 1227 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; |
| 1228 | 1228 |
| 1229 // Disable the toolkit-views App Info dialog for Mac. | 1229 // Disable the toolkit-views App Info dialog for Mac. |
| 1230 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; | 1230 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; |
| 1231 | 1231 |
| 1232 // Disables custom Cmd+` window cycling for platform apps and hosted apps. |
| 1233 const char kDisableAppWindowCycling[] = "disable-app-window-cycling"; |
| 1234 |
| 1232 // Disables app shim creation for hosted apps on Mac. | 1235 // Disables app shim creation for hosted apps on Mac. |
| 1233 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; | 1236 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; |
| 1234 | 1237 |
| 1235 // Disables use of toolkit-views based native app windows. | 1238 // Disables use of toolkit-views based native app windows. |
| 1236 const char kDisableMacViewsNativeAppWindows[] = | 1239 const char kDisableMacViewsNativeAppWindows[] = |
| 1237 "disable-mac-views-native-app-windows"; | 1240 "disable-mac-views-native-app-windows"; |
| 1238 | 1241 |
| 1239 // Forcibly disables Lion-style on newer OSes, to allow developers to test the | 1242 // Forcibly disables Lion-style on newer OSes, to allow developers to test the |
| 1240 // older, SnowLeopard-style fullscreen. | 1243 // older, SnowLeopard-style fullscreen. |
| 1241 const char kDisableSystemFullscreenForTesting[] = | 1244 const char kDisableSystemFullscreenForTesting[] = |
| 1242 "disable-system-fullscreen-for-testing"; | 1245 "disable-system-fullscreen-for-testing"; |
| 1243 | 1246 |
| 1244 // Enable the toolkit-views App Info dialog for Mac. This is accessible from | 1247 // Enable the toolkit-views App Info dialog for Mac. This is accessible from |
| 1245 // chrome://apps and chrome://extensions and is already enabled on non-mac. | 1248 // chrome://apps and chrome://extensions and is already enabled on non-mac. |
| 1246 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; | 1249 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; |
| 1247 | 1250 |
| 1251 // Enables custom Cmd+` window cycling for platform apps and hosted apps. |
| 1252 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; |
| 1253 |
| 1248 // Enables use of toolkit-views based native app windows. | 1254 // Enables use of toolkit-views based native app windows. |
| 1249 const char kEnableMacViewsNativeAppWindows[] = | 1255 const char kEnableMacViewsNativeAppWindows[] = |
| 1250 "enable-mac-views-native-app-windows"; | 1256 "enable-mac-views-native-app-windows"; |
| 1251 | 1257 |
| 1252 // Enables Translate experimental new UX which replaces the infobar. | 1258 // Enables Translate experimental new UX which replaces the infobar. |
| 1253 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 1259 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| 1254 | 1260 |
| 1255 // This is how the metrics client ID is passed from the browser process to its | 1261 // This is how the metrics client ID is passed from the browser process to its |
| 1256 // children. With Crashpad, the metrics client ID is distinct from the crash | 1262 // children. With Crashpad, the metrics client ID is distinct from the crash |
| 1257 // client ID. | 1263 // client ID. |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 | 1382 |
| 1377 // ----------------------------------------------------------------------------- | 1383 // ----------------------------------------------------------------------------- |
| 1378 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1384 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1379 // | 1385 // |
| 1380 // You were going to just dump your switches here, weren't you? Instead, please | 1386 // You were going to just dump your switches here, weren't you? Instead, please |
| 1381 // put them in alphabetical order above, or in order inside the appropriate | 1387 // put them in alphabetical order above, or in order inside the appropriate |
| 1382 // ifdef at the bottom. The order should match the header. | 1388 // ifdef at the bottom. The order should match the header. |
| 1383 // ----------------------------------------------------------------------------- | 1389 // ----------------------------------------------------------------------------- |
| 1384 | 1390 |
| 1385 } // namespace switches | 1391 } // namespace switches |
| OLD | NEW |