| 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 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 | 1250 |
| 1251 // Disable the toolkit-views App Info dialog for Mac. | 1251 // Disable the toolkit-views App Info dialog for Mac. |
| 1252 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; | 1252 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; |
| 1253 | 1253 |
| 1254 // Disables custom Cmd+` window cycling for platform apps and hosted apps. | 1254 // Disables custom Cmd+` window cycling for platform apps and hosted apps. |
| 1255 const char kDisableAppWindowCycling[] = "disable-app-window-cycling"; | 1255 const char kDisableAppWindowCycling[] = "disable-app-window-cycling"; |
| 1256 | 1256 |
| 1257 // Disables app shim creation for hosted apps on Mac. | 1257 // Disables app shim creation for hosted apps on Mac. |
| 1258 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; | 1258 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; |
| 1259 | 1259 |
| 1260 // Prevents hosted apps from being opened in windows on Mac. |
| 1261 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; |
| 1262 |
| 1260 // Disables use of toolkit-views based native app windows. | 1263 // Disables use of toolkit-views based native app windows. |
| 1261 const char kDisableMacViewsNativeAppWindows[] = | 1264 const char kDisableMacViewsNativeAppWindows[] = |
| 1262 "disable-mac-views-native-app-windows"; | 1265 "disable-mac-views-native-app-windows"; |
| 1263 | 1266 |
| 1264 // Enable the toolkit-views App Info dialog for Mac. This is accessible from | 1267 // Enable the toolkit-views App Info dialog for Mac. This is accessible from |
| 1265 // chrome://apps and chrome://extensions and is already enabled on non-mac. | 1268 // chrome://apps and chrome://extensions and is already enabled on non-mac. |
| 1266 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; | 1269 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; |
| 1267 | 1270 |
| 1268 // Enables custom Cmd+` window cycling for platform apps and hosted apps. | 1271 // Enables custom Cmd+` window cycling for platform apps and hosted apps. |
| 1269 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; | 1272 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; |
| 1270 | 1273 |
| 1274 // Allows hosted apps to be opened in windows on Mac. |
| 1275 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; |
| 1276 |
| 1271 // Enables use of toolkit-views based native app windows. | 1277 // Enables use of toolkit-views based native app windows. |
| 1272 const char kEnableMacViewsNativeAppWindows[] = | 1278 const char kEnableMacViewsNativeAppWindows[] = |
| 1273 "enable-mac-views-native-app-windows"; | 1279 "enable-mac-views-native-app-windows"; |
| 1274 | 1280 |
| 1275 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog | 1281 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog |
| 1276 // when available, rather than a Cocoa one. | 1282 // when available, rather than a Cocoa one. |
| 1277 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; | 1283 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; |
| 1278 | 1284 |
| 1279 // Enables Translate experimental new UX which replaces the infobar. | 1285 // Enables Translate experimental new UX which replaces the infobar. |
| 1280 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 1286 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 | 1424 |
| 1419 // ----------------------------------------------------------------------------- | 1425 // ----------------------------------------------------------------------------- |
| 1420 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1426 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1421 // | 1427 // |
| 1422 // You were going to just dump your switches here, weren't you? Instead, please | 1428 // You were going to just dump your switches here, weren't you? Instead, please |
| 1423 // put them in alphabetical order above, or in order inside the appropriate | 1429 // put them in alphabetical order above, or in order inside the appropriate |
| 1424 // ifdef at the bottom. The order should match the header. | 1430 // ifdef at the bottom. The order should match the header. |
| 1425 // ----------------------------------------------------------------------------- | 1431 // ----------------------------------------------------------------------------- |
| 1426 | 1432 |
| 1427 } // namespace switches | 1433 } // namespace switches |
| OLD | NEW |