| 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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 // Shows a notification when quitting Chrome with hosted apps running. Default | 1214 // Shows a notification when quitting Chrome with hosted apps running. Default |
| 1215 // behavior is to also quit all hosted apps. | 1215 // behavior is to also quit all hosted apps. |
| 1216 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; | 1216 const char kHostedAppQuitNotification[] = "enable-hosted-app-quit-notification"; |
| 1217 | 1217 |
| 1218 // Disable the toolkit-views App Info dialog for Mac. | 1218 // Disable the toolkit-views App Info dialog for Mac. |
| 1219 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; | 1219 const char kDisableAppInfoDialogMac[] = "disable-app-info-dialog-mac"; |
| 1220 | 1220 |
| 1221 // Disables app shim creation for hosted apps on Mac. | 1221 // Disables app shim creation for hosted apps on Mac. |
| 1222 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; | 1222 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; |
| 1223 | 1223 |
| 1224 // Disables use of toolkit-views based native app windows. |
| 1225 const char kDisableMacViewsNativeAppWindows[] = |
| 1226 "disable-mac-views-native-app-windows"; |
| 1227 |
| 1224 // Forcibly disables Lion-style on newer OSes, to allow developers to test the | 1228 // Forcibly disables Lion-style on newer OSes, to allow developers to test the |
| 1225 // older, SnowLeopard-style fullscreen. | 1229 // older, SnowLeopard-style fullscreen. |
| 1226 const char kDisableSystemFullscreenForTesting[] = | 1230 const char kDisableSystemFullscreenForTesting[] = |
| 1227 "disable-system-fullscreen-for-testing"; | 1231 "disable-system-fullscreen-for-testing"; |
| 1228 | 1232 |
| 1229 // Enable the toolkit-views App Info dialog for Mac. This is accessible from | 1233 // Enable the toolkit-views App Info dialog for Mac. This is accessible from |
| 1230 // chrome://apps and chrome://extensions and is already enabled on non-mac. | 1234 // chrome://apps and chrome://extensions and is already enabled on non-mac. |
| 1231 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; | 1235 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; |
| 1232 | 1236 |
| 1237 // Enables use of toolkit-views based native app windows. |
| 1238 const char kEnableMacViewsNativeAppWindows[] = |
| 1239 "enable-mac-views-native-app-windows"; |
| 1240 |
| 1233 // Enables Translate experimental new UX which replaces the infobar. | 1241 // Enables Translate experimental new UX which replaces the infobar. |
| 1234 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 1242 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| 1235 | 1243 |
| 1236 // This is how the metrics client ID is passed from the browser process to its | 1244 // This is how the metrics client ID is passed from the browser process to its |
| 1237 // children. With Crashpad, the metrics client ID is distinct from the crash | 1245 // children. With Crashpad, the metrics client ID is distinct from the crash |
| 1238 // client ID. | 1246 // client ID. |
| 1239 const char kMetricsClientID[] = "metrics-client-id"; | 1247 const char kMetricsClientID[] = "metrics-client-id"; |
| 1240 | 1248 |
| 1241 // A process type (switches::kProcessType) that relaunches the browser. See | 1249 // A process type (switches::kProcessType) that relaunches the browser. See |
| 1242 // chrome/browser/mac/relauncher.h. | 1250 // chrome/browser/mac/relauncher.h. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 | 1370 |
| 1363 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1365 // | 1373 // |
| 1366 // You were going to just dump your switches here, weren't you? Instead, please | 1374 // You were going to just dump your switches here, weren't you? Instead, please |
| 1367 // put them in alphabetical order above, or in order inside the appropriate | 1375 // put them in alphabetical order above, or in order inside the appropriate |
| 1368 // ifdef at the bottom. The order should match the header. | 1376 // ifdef at the bottom. The order should match the header. |
| 1369 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
| 1370 | 1378 |
| 1371 } // namespace switches | 1379 } // namespace switches |
| OLD | NEW |