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 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 | 1266 |
1267 #if defined(ENABLE_PLUGIN_INSTALLATION) | 1267 #if defined(ENABLE_PLUGIN_INSTALLATION) |
1268 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. | 1268 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. |
1269 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; | 1269 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; |
1270 #endif | 1270 #endif |
1271 | 1271 |
1272 #if defined(OS_ANDROID) | 1272 #if defined(OS_ANDROID) |
1273 // Disables support for playing videos on Chromecast devices. | 1273 // Disables support for playing videos on Chromecast devices. |
1274 const char kDisableCast[] = "disable-cast"; | 1274 const char kDisableCast[] = "disable-cast"; |
1275 | 1275 |
| 1276 // Disables Contextual Search. |
| 1277 const char kDisableContextualSearch[] = "disable-contextual-search"; |
| 1278 |
1276 // Disables the new NTP. | 1279 // Disables the new NTP. |
1277 const char kDisableNewNTP[] = "disable-new-ntp"; | 1280 const char kDisableNewNTP[] = "disable-new-ntp"; |
1278 | 1281 |
1279 // Disables zero suggest experiment on Dev channel. | 1282 // Disables zero suggest experiment on Dev channel. |
1280 const char kDisableZeroSuggest[] = "disable-zero-suggest"; | 1283 const char kDisableZeroSuggest[] = "disable-zero-suggest"; |
1281 | 1284 |
1282 // Enable the accessibility tab switcher. | 1285 // Enable the accessibility tab switcher. |
1283 const char kEnableAccessibilityTabSwitcher[] = | 1286 const char kEnableAccessibilityTabSwitcher[] = |
1284 "enable-accessibility-tab-switcher"; | 1287 "enable-accessibility-tab-switcher"; |
1285 | 1288 |
1286 // Enables app install alerts. | 1289 // Enables app install alerts. |
1287 const char kEnableAppInstallAlerts[] = "enable-app-install-alerts"; | 1290 const char kEnableAppInstallAlerts[] = "enable-app-install-alerts"; |
1288 | 1291 |
1289 // Enables Contextual Search | 1292 // Enables Contextual Search. |
1290 const char kEnableContextualSearch[] = "contextual-search"; | 1293 const char kEnableContextualSearch[] = "enable-contextual-search"; |
1291 | 1294 |
1292 // Enables the new NTP. | 1295 // Enables the new NTP. |
1293 const char kEnableNewNTP[] = "enable-new-ntp"; | 1296 const char kEnableNewNTP[] = "enable-new-ntp"; |
1294 | 1297 |
1295 // Enables zero suggest functionality on Dev channel, showing contextual | 1298 // Enables zero suggest functionality on Dev channel, showing contextual |
1296 // suggestions (EtherSuggest) for http pages and google.com search queries. | 1299 // suggestions (EtherSuggest) for http pages and google.com search queries. |
1297 const char kEnableZeroSuggestEtherSerp[] = | 1300 const char kEnableZeroSuggestEtherSerp[] = |
1298 "enable-zero-suggest-ether-serp"; | 1301 "enable-zero-suggest-ether-serp"; |
1299 | 1302 |
1300 // Enables zero suggest functionality on Dev channel, showing contextual | 1303 // Enables zero suggest functionality on Dev channel, showing contextual |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 | 1413 |
1411 // ----------------------------------------------------------------------------- | 1414 // ----------------------------------------------------------------------------- |
1412 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1415 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1413 // | 1416 // |
1414 // You were going to just dump your switches here, weren't you? Instead, please | 1417 // You were going to just dump your switches here, weren't you? Instead, please |
1415 // put them in alphabetical order above, or in order inside the appropriate | 1418 // put them in alphabetical order above, or in order inside the appropriate |
1416 // ifdef at the bottom. The order should match the header. | 1419 // ifdef at the bottom. The order should match the header. |
1417 // ----------------------------------------------------------------------------- | 1420 // ----------------------------------------------------------------------------- |
1418 | 1421 |
1419 } // namespace switches | 1422 } // namespace switches |
OLD | NEW |