| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // Print Proxy component within the service process. | 478 // Print Proxy component within the service process. |
| 479 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 479 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
| 480 | 480 |
| 481 // Enables fetching the user's contacts from Google and showing them in the | 481 // Enables fetching the user's contacts from Google and showing them in the |
| 482 // Chrome OS apps list. | 482 // Chrome OS apps list. |
| 483 const char kEnableContacts[] = "enable-contacts"; | 483 const char kEnableContacts[] = "enable-contacts"; |
| 484 | 484 |
| 485 // Enables web developers to create apps for Chrome without using crx packages. | 485 // Enables web developers to create apps for Chrome without using crx packages. |
| 486 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; | 486 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; |
| 487 | 487 |
| 488 // Enables desktop guest mode. |
| 489 const char kEnableDesktopGuestMode[] = "enable-desktop-guest-mode"; |
| 490 |
| 488 // If true devtools experimental settings are enabled. | 491 // If true devtools experimental settings are enabled. |
| 489 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 492 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
| 490 | 493 |
| 491 // Enables an interactive autocomplete UI and a way to invoke this UI from | 494 // Enables an interactive autocomplete UI and a way to invoke this UI from |
| 492 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated | 495 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated |
| 493 // autocomplete* events and logic). | 496 // autocomplete* events and logic). |
| 494 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; | 497 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; |
| 495 | 498 |
| 496 // Enables extensions to be easily installed from sites other than the web | 499 // Enables extensions to be easily installed from sites other than the web |
| 497 // store. Without this flag, they can still be installed, but must be manually | 500 // store. Without this flag, they can still be installed, but must be manually |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 #elif defined(OS_WIN) | 1631 #elif defined(OS_WIN) |
| 1629 return CommandLine::ForCurrentProcess()->HasSwitch( | 1632 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1630 switches::kEnableChromeStyleDialogs); | 1633 switches::kEnableChromeStyleDialogs); |
| 1631 #else | 1634 #else |
| 1632 return CommandLine::ForCurrentProcess()->HasSwitch( | 1635 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1633 switches::kEnableChromeStyleDialogs); | 1636 switches::kEnableChromeStyleDialogs); |
| 1634 #endif | 1637 #endif |
| 1635 } | 1638 } |
| 1636 | 1639 |
| 1637 } // namespace chrome | 1640 } // namespace chrome |
| OLD | NEW |