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 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1361 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. | 1361 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. |
1362 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; | 1362 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; |
1363 #endif | 1363 #endif |
1364 | 1364 |
1365 #if defined(OS_ANDROID) || defined(OS_IOS) | 1365 #if defined(OS_ANDROID) || defined(OS_IOS) |
1366 // Enable SPDY proxy. | 1366 // Enable SPDY proxy. |
1367 const char kEnableSpdyProxyAuth[] = "enable-spdy-proxy-auth"; | 1367 const char kEnableSpdyProxyAuth[] = "enable-spdy-proxy-auth"; |
1368 #endif // defined(OS_ANDROID) || defined(OS_IOS) | 1368 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
1369 | 1369 |
1370 #if defined(OS_ANDROID) | 1370 #if defined(OS_ANDROID) |
1371 // Disables the app banner <meta> tag. | |
1372 const char kDisableAppBanners[] = "disable-app-banners"; | |
1373 | |
1374 // Disables support for playing videos on Chromecast devices. | 1371 // Disables support for playing videos on Chromecast devices. |
1375 const char kDisableCast[] = "disable-cast"; | 1372 const char kDisableCast[] = "disable-cast"; |
1376 | 1373 |
1377 // Disables the new NTP. | 1374 // Disables the new NTP. |
1378 const char kDisableNewNTP[] = "disable-new-ntp"; | 1375 const char kDisableNewNTP[] = "disable-new-ntp"; |
1379 | 1376 |
1380 // Disables zero suggest experiment on Dev channel. | 1377 // Disables zero suggest experiment on Dev channel. |
1381 const char kDisableZeroSuggest[] = "disable-zero-suggest"; | 1378 const char kDisableZeroSuggest[] = "disable-zero-suggest"; |
1382 | 1379 |
1383 // Enable the accessibility tab switcher. | 1380 // Enable the accessibility tab switcher. |
1384 const char kEnableAccessibilityTabSwitcher[] = | 1381 const char kEnableAccessibilityTabSwitcher[] = |
1385 "enable-accessibility-tab-switcher"; | 1382 "enable-accessibility-tab-switcher"; |
1386 | 1383 |
| 1384 // Enables the app banner <meta> tag. |
| 1385 const char kEnableAppInstallAlerts[] = "enable-app-install-alerts"; |
| 1386 |
1387 // Enables Contextual Search | 1387 // Enables Contextual Search |
1388 const char kEnableContextualSearch[] = "contextual-search"; | 1388 const char kEnableContextualSearch[] = "contextual-search"; |
1389 | 1389 |
1390 // Enables the new NTP. | 1390 // Enables the new NTP. |
1391 const char kEnableNewNTP[] = "enable-new-ntp"; | 1391 const char kEnableNewNTP[] = "enable-new-ntp"; |
1392 | 1392 |
1393 // Enables zero suggest functionality on Dev channel, showing contextual | 1393 // Enables zero suggest functionality on Dev channel, showing contextual |
1394 // suggestions (EtherSuggest) for http pages and google.com search queries. | 1394 // suggestions (EtherSuggest) for http pages and google.com search queries. |
1395 const char kEnableZeroSuggestEtherSerp[] = | 1395 const char kEnableZeroSuggestEtherSerp[] = |
1396 "enable-zero-suggest-ether-serp"; | 1396 "enable-zero-suggest-ether-serp"; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 | 1520 |
1521 // ----------------------------------------------------------------------------- | 1521 // ----------------------------------------------------------------------------- |
1522 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1522 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1523 // | 1523 // |
1524 // You were going to just dump your switches here, weren't you? Instead, please | 1524 // You were going to just dump your switches here, weren't you? Instead, please |
1525 // put them in alphabetical order above, or in order inside the appropriate | 1525 // put them in alphabetical order above, or in order inside the appropriate |
1526 // ifdef at the bottom. The order should match the header. | 1526 // ifdef at the bottom. The order should match the header. |
1527 // ----------------------------------------------------------------------------- | 1527 // ----------------------------------------------------------------------------- |
1528 | 1528 |
1529 } // namespace switches | 1529 } // namespace switches |
OLD | NEW |