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