| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 #if defined(OS_ANDROID) | 1026 #if defined(OS_ANDROID) |
| 1027 // Android authentication account type for SPNEGO authentication | 1027 // Android authentication account type for SPNEGO authentication |
| 1028 const char kAuthAndroidNegotiateAccountType[] = "auth-spnego-account-type"; | 1028 const char kAuthAndroidNegotiateAccountType[] = "auth-spnego-account-type"; |
| 1029 | 1029 |
| 1030 // Disable App Link. | 1030 // Disable App Link. |
| 1031 const char kDisableAppLink[] = "disable-app-link"; | 1031 const char kDisableAppLink[] = "disable-app-link"; |
| 1032 | 1032 |
| 1033 // Disables Contextual Search. | 1033 // Disables Contextual Search. |
| 1034 const char kDisableContextualSearch[] = "disable-contextual-search"; | 1034 const char kDisableContextualSearch[] = "disable-contextual-search"; |
| 1035 | 1035 |
| 1036 // Disable VR UI if supported. | |
| 1037 const char kDisableVrShell[] = "disable-vr-shell"; | |
| 1038 | |
| 1039 // Enable the accessibility tab switcher. | 1036 // Enable the accessibility tab switcher. |
| 1040 const char kEnableAccessibilityTabSwitcher[] = | 1037 const char kEnableAccessibilityTabSwitcher[] = |
| 1041 "enable-accessibility-tab-switcher"; | 1038 "enable-accessibility-tab-switcher"; |
| 1042 | 1039 |
| 1043 // Enable App Link. | 1040 // Enable App Link. |
| 1044 const char kEnableAppLink[] = "enable-app-link"; | 1041 const char kEnableAppLink[] = "enable-app-link"; |
| 1045 | 1042 |
| 1046 // Enables Contextual Search. | 1043 // Enables Contextual Search. |
| 1047 const char kEnableContextualSearch[] = "enable-contextual-search"; | 1044 const char kEnableContextualSearch[] = "enable-contextual-search"; |
| 1048 | 1045 |
| 1049 // Enables Contextual Search UI integration with Contextual Cards data. | 1046 // Enables Contextual Search UI integration with Contextual Cards data. |
| 1050 const char kEnableContextualSearchContextualCardsBarIntegration[] = | 1047 const char kEnableContextualSearchContextualCardsBarIntegration[] = |
| 1051 "cs-contextual-cards-bar-integration"; | 1048 "cs-contextual-cards-bar-integration"; |
| 1052 | 1049 |
| 1053 // Enables chrome hosted mode for Android. | 1050 // Enables chrome hosted mode for Android. |
| 1054 const char kEnableHostedMode[] = "enable-hosted-mode"; | 1051 const char kEnableHostedMode[] = "enable-hosted-mode"; |
| 1055 | 1052 |
| 1056 // Enables a hung renderer InfoBar allowing the user to close or wait on | 1053 // Enables a hung renderer InfoBar allowing the user to close or wait on |
| 1057 // unresponsive web content. | 1054 // unresponsive web content. |
| 1058 const char kEnableHungRendererInfoBar[] = "enable-hung-renderer-infobar"; | 1055 const char kEnableHungRendererInfoBar[] = "enable-hung-renderer-infobar"; |
| 1059 | 1056 |
| 1060 // Enable VR UI if supported. | |
| 1061 const char kEnableVrShell[] = "enable-vr-shell"; | |
| 1062 | |
| 1063 // Enables "Add to Home screen" in the app menu to generate WebAPKs. | 1057 // Enables "Add to Home screen" in the app menu to generate WebAPKs. |
| 1064 const char kEnableWebApk[] = "enable-webapk"; | 1058 const char kEnableWebApk[] = "enable-webapk"; |
| 1065 | 1059 |
| 1066 // Forces the update menu badge to show. | 1060 // Forces the update menu badge to show. |
| 1067 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; | 1061 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; |
| 1068 | 1062 |
| 1069 // Forces the update menu item to show. | 1063 // Forces the update menu item to show. |
| 1070 const char kForceShowUpdateMenuItem[] = "force-show-update-menu-item"; | 1064 const char kForceShowUpdateMenuItem[] = "force-show-update-menu-item"; |
| 1071 | 1065 |
| 1072 // Forces a custom summary to be displayed below the update menu item. | 1066 // Forces a custom summary to be displayed below the update menu item. |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1329 | 1323 |
| 1330 // ----------------------------------------------------------------------------- | 1324 // ----------------------------------------------------------------------------- |
| 1331 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1325 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1332 // | 1326 // |
| 1333 // You were going to just dump your switches here, weren't you? Instead, please | 1327 // You were going to just dump your switches here, weren't you? Instead, please |
| 1334 // put them in alphabetical order above, or in order inside the appropriate | 1328 // put them in alphabetical order above, or in order inside the appropriate |
| 1335 // ifdef at the bottom. The order should match the header. | 1329 // ifdef at the bottom. The order should match the header. |
| 1336 // ----------------------------------------------------------------------------- | 1330 // ----------------------------------------------------------------------------- |
| 1337 | 1331 |
| 1338 } // namespace switches | 1332 } // namespace switches |
| OLD | NEW |