| 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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1262 // chrome://apps and chrome://extensions and is already enabled on non-mac. | 1262 // chrome://apps and chrome://extensions and is already enabled on non-mac. |
| 1263 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; | 1263 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; |
| 1264 | 1264 |
| 1265 // Enables custom Cmd+` window cycling for platform apps and hosted apps. | 1265 // Enables custom Cmd+` window cycling for platform apps and hosted apps. |
| 1266 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; | 1266 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; |
| 1267 | 1267 |
| 1268 // Enables use of toolkit-views based native app windows. | 1268 // Enables use of toolkit-views based native app windows. |
| 1269 const char kEnableMacViewsNativeAppWindows[] = | 1269 const char kEnableMacViewsNativeAppWindows[] = |
| 1270 "enable-mac-views-native-app-windows"; | 1270 "enable-mac-views-native-app-windows"; |
| 1271 | 1271 |
| 1272 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog |
| 1273 // when available, rather than a Cocoa one. |
| 1274 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; |
| 1275 |
| 1272 // Enables Translate experimental new UX which replaces the infobar. | 1276 // Enables Translate experimental new UX which replaces the infobar. |
| 1273 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; | 1277 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; |
| 1274 | 1278 |
| 1275 // This is how the metrics client ID is passed from the browser process to its | 1279 // This is how the metrics client ID is passed from the browser process to its |
| 1276 // children. With Crashpad, the metrics client ID is distinct from the crash | 1280 // children. With Crashpad, the metrics client ID is distinct from the crash |
| 1277 // client ID. | 1281 // client ID. |
| 1278 const char kMetricsClientID[] = "metrics-client-id"; | 1282 const char kMetricsClientID[] = "metrics-client-id"; |
| 1279 | 1283 |
| 1280 // A process type (switches::kProcessType) that relaunches the browser. See | 1284 // A process type (switches::kProcessType) that relaunches the browser. See |
| 1281 // chrome/browser/mac/relauncher.h. | 1285 // chrome/browser/mac/relauncher.h. |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 | 1415 |
| 1412 // ----------------------------------------------------------------------------- | 1416 // ----------------------------------------------------------------------------- |
| 1413 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1414 // | 1418 // |
| 1415 // You were going to just dump your switches here, weren't you? Instead, please | 1419 // You were going to just dump your switches here, weren't you? Instead, please |
| 1416 // put them in alphabetical order above, or in order inside the appropriate | 1420 // put them in alphabetical order above, or in order inside the appropriate |
| 1417 // ifdef at the bottom. The order should match the header. | 1421 // ifdef at the bottom. The order should match the header. |
| 1418 // ----------------------------------------------------------------------------- | 1422 // ----------------------------------------------------------------------------- |
| 1419 | 1423 |
| 1420 } // namespace switches | 1424 } // namespace switches |
| OLD | NEW |