| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 // Runs the Native Client inside the renderer process and enables GPU plugin | 534 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 535 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). | 535 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). |
| 536 const char kEnableNaCl[] = "enable-nacl"; | 536 const char kEnableNaCl[] = "enable-nacl"; |
| 537 | 537 |
| 538 // Enables debugging via RSP over a socket. | 538 // Enables debugging via RSP over a socket. |
| 539 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 539 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
| 540 | 540 |
| 541 // Enable Native Web Worker support. | 541 // Enable Native Web Worker support. |
| 542 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; | 542 const char kEnableNativeWebWorkers[] = "enable-native-web-workers"; |
| 543 | 543 |
| 544 // Is InstantController::PREDICTIVE_TYPE enabled? | |
| 545 const char kEnablePredictiveInstant[] = "enable-predictive-instant"; | |
| 546 | |
| 547 // Is InstantController::PREDICTIVE_NO_AUTO_COMPLETE_TYPE enabled? | |
| 548 const char kEnablePredictiveNoAutoCompleteInstant[] = | |
| 549 "enable-predictive-no-auto-complete-instant"; | |
| 550 | |
| 551 // This applies only when the process type is "service". Enables the | 544 // This applies only when the process type is "service". Enables the |
| 552 // Chromoting Host Process within the service process. | 545 // Chromoting Host Process within the service process. |
| 553 const char kEnableRemoting[] = "enable-remoting"; | 546 const char kEnableRemoting[] = "enable-remoting"; |
| 554 | 547 |
| 555 // Enable content settings based on host *and* plug-in. | 548 // Enable content settings based on host *and* plug-in. |
| 556 const char kEnableResourceContentSettings[] = | 549 const char kEnableResourceContentSettings[] = |
| 557 "enable-resource-content-settings"; | 550 "enable-resource-content-settings"; |
| 558 | 551 |
| 559 // Enable speculative prerendering of pages. | 552 // Enable speculative prerendering of pages. |
| 560 const char kEnablePagePrerender[] = "enable-page-prerender"; | 553 const char kEnablePagePrerender[] = "enable-page-prerender"; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 // Enable syncing browser typed urls. | 586 // Enable syncing browser typed urls. |
| 594 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; | 587 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; |
| 595 | 588 |
| 596 // Enable use of experimental TCP sockets API for sending data in the | 589 // Enable use of experimental TCP sockets API for sending data in the |
| 597 // SYN packet. | 590 // SYN packet. |
| 598 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 591 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 599 | 592 |
| 600 // Whether or not the touch events API is exposed. | 593 // Whether or not the touch events API is exposed. |
| 601 const char kEnableTouch[] = "enable-touch"; | 594 const char kEnableTouch[] = "enable-touch"; |
| 602 | 595 |
| 603 // Is verbatim instant enabled? | |
| 604 const char kEnableVerbatimInstant[] = "enable-verbatim-instant"; | |
| 605 | |
| 606 // Enables the option to show tabs as a vertical stack down the side of the | 596 // Enables the option to show tabs as a vertical stack down the side of the |
| 607 // browser window. | 597 // browser window. |
| 608 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; | 598 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; |
| 609 | 599 |
| 610 // Enables support for fullscreen video. Current implementation is | 600 // Enables support for fullscreen video. Current implementation is |
| 611 // incomplete and this flag is used for development and testing. | 601 // incomplete and this flag is used for development and testing. |
| 612 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; | 602 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; |
| 613 | 603 |
| 614 // Enables video logging where video elements log playback performance data to | 604 // Enables video logging where video elements log playback performance data to |
| 615 // the debug log. | 605 // the debug log. |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1405 | 1395 |
| 1406 // ----------------------------------------------------------------------------- | 1396 // ----------------------------------------------------------------------------- |
| 1407 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1397 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1408 // | 1398 // |
| 1409 // You were going to just dump your switches here, weren't you? Instead, | 1399 // You were going to just dump your switches here, weren't you? Instead, |
| 1410 // please put them in alphabetical order above, or in order inside the | 1400 // please put them in alphabetical order above, or in order inside the |
| 1411 // appropriate ifdef at the bottom. The order should match the header. | 1401 // appropriate ifdef at the bottom. The order should match the header. |
| 1412 // ----------------------------------------------------------------------------- | 1402 // ----------------------------------------------------------------------------- |
| 1413 | 1403 |
| 1414 } // namespace switches | 1404 } // namespace switches |
| OLD | NEW |