| 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 | 497 |
| 498 // Enables web developers to create apps for Chrome without using crx packages. | 498 // Enables web developers to create apps for Chrome without using crx packages. |
| 499 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 499 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
| 500 | 500 |
| 501 // If true devtools experimental settings are enabled. | 501 // If true devtools experimental settings are enabled. |
| 502 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 502 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
| 503 | 503 |
| 504 // Enables experimental discovery slots in New Tab page. | 504 // Enables experimental discovery slots in New Tab page. |
| 505 const char kEnableDiscoveryInNewTabPage[] = "enable-discovery-ntp"; | 505 const char kEnableDiscoveryInNewTabPage[] = "enable-discovery-ntp"; |
| 506 | 506 |
| 507 // Enables Drive v2 API instead of Google Documents List API. |
| 508 const char kEnableDriveV2Api[] = "enable-drive-v2-api"; |
| 509 |
| 507 // Enables extensions to be easily installed from sites other than the web | 510 // Enables extensions to be easily installed from sites other than the web |
| 508 // store. Without this flag, they can still be installed, but must be manually | 511 // store. Without this flag, they can still be installed, but must be manually |
| 509 // dragged onto chrome://extensions/. | 512 // dragged onto chrome://extensions/. |
| 510 const char kEnableEasyOffStoreExtensionInstall[] = | 513 const char kEnableEasyOffStoreExtensionInstall[] = |
| 511 "enable-easy-off-store-extension-install"; | 514 "enable-easy-off-store-extension-install"; |
| 512 | 515 |
| 513 // Enables extension APIs that are in development. | 516 // Enables extension APIs that are in development. |
| 514 const char kEnableExperimentalExtensionApis[] = | 517 const char kEnableExperimentalExtensionApis[] = |
| 515 "enable-experimental-extension-apis"; | 518 "enable-experimental-extension-apis"; |
| 516 | 519 |
| (...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 // certain hosted applications. | 1390 // certain hosted applications. |
| 1388 const char kEnableBackgroundLoader[] = "enable-background-loader"; | 1391 const char kEnableBackgroundLoader[] = "enable-background-loader"; |
| 1389 | 1392 |
| 1390 // Enables touchpad three-finger-click as middle button. | 1393 // Enables touchpad three-finger-click as middle button. |
| 1391 const char kEnableTouchpadThreeFingerClick[] | 1394 const char kEnableTouchpadThreeFingerClick[] |
| 1392 = "touchpad-enable-three-finger-click"; | 1395 = "touchpad-enable-three-finger-click"; |
| 1393 | 1396 |
| 1394 // Skips OAuth part of ChromeOS login process. | 1397 // Skips OAuth part of ChromeOS login process. |
| 1395 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1398 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1396 | 1399 |
| 1397 // Enables Drive v2 API instead of Google Documents List API. | |
| 1398 const char kEnableDriveV2Api[] = "enable-drive-v2-api"; | |
| 1399 | |
| 1400 // Use level db for drive metadata storage. | 1400 // Use level db for drive metadata storage. |
| 1401 const char kUseLevelDBForGData[] = "use-leveldb-for-gdata"; | 1401 const char kUseLevelDBForGData[] = "use-leveldb-for-gdata"; |
| 1402 | 1402 |
| 1403 // Enables the redirection of viewable document requests to the Google Document | 1403 // Enables the redirection of viewable document requests to the Google Document |
| 1404 // Viewer. | 1404 // Viewer. |
| 1405 const char kEnableGView[] = "enable-gview"; | 1405 const char kEnableGView[] = "enable-gview"; |
| 1406 | 1406 |
| 1407 // Enable Kiosk mode for ChromeOS | 1407 // Enable Kiosk mode for ChromeOS |
| 1408 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1408 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 1409 | 1409 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 | 1577 |
| 1578 // ----------------------------------------------------------------------------- | 1578 // ----------------------------------------------------------------------------- |
| 1579 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1579 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1580 // | 1580 // |
| 1581 // You were going to just dump your switches here, weren't you? Instead, please | 1581 // You were going to just dump your switches here, weren't you? Instead, please |
| 1582 // put them in alphabetical order above, or in order inside the appropriate | 1582 // put them in alphabetical order above, or in order inside the appropriate |
| 1583 // ifdef at the bottom. The order should match the header. | 1583 // ifdef at the bottom. The order should match the header. |
| 1584 // ----------------------------------------------------------------------------- | 1584 // ----------------------------------------------------------------------------- |
| 1585 | 1585 |
| 1586 } // namespace switches | 1586 } // namespace switches |
| OLD | NEW |