// -----------------------------------------------------------------------------
// Allows choosing an existing managed user profile during the managed
-// user creation flow.
+// user creation flow. Is only used on ChromeOS.
const char kAllowCreateExistingManagedUsers[] =
"allow-create-existing-managed-users";
// will not occur in subsequent runs either.
const char kCancelFirstRun[] = "cancel-first-run";
-// Certificate Transparency: Uses the provided log for checking Signed
+// Certificate Transparency: Uses the provided log(s) for checking Signed
// Certificate Timestamps provided with certificates.
// The switch's value is:
-// log_description:log_key
-// where:
-// log_description is a textual description of the log
+// log_description:log_key,log_description:log_key,...
+// where
+// log_description is a textual description of the log.
// log_key is a Base64'd DER-encoded SubjectPublicKeyInfo of the log's
// public key.
+// Multiple logs can be specified by repeating description:key pairs,
+// separated by a comma.
const char kCertificateTransparencyLog[] =
"certificate-transparency-log";
const char kDisableAuthNegotiateCnameLookup[] =
"disable-auth-negotiate-cname-lookup";
+// Disables the i18n address input widget for the requestAutocomplete() dialog.
+const char kDisableAutofillAddressI18n[] = "disable-autofill-address-i18n";
+
// Disables background mode (background apps will not keep chrome running in
// the background).
const char kDisableBackgroundMode[] = "disable-background-mode";
// set of CRLs rather than performing on-line checks.
const char kDisableCRLSets[] = "disable-crl-sets";
+// Disables choosing an existing managed user profile during the managed
+// user creation flow.
+const char kDisableCreateExistingManagedUsers[] =
+ "disable-create-exsting-managed-users";
+
// Disables the custom JumpList on Windows 7.
const char kDisableCustomJumpList[] = "disable-custom-jumplist";
// Disable the origin chip.
const char kDisableOriginChip[] = "disable-origin-chip";
-// Disable using a public suffix based domain matching for autofill of
-// passwords.
-const char kDisablePasswordAutofillPublicSuffixDomainMatching[] =
- "disable-password-autofill-public-suffix-domain-matching";
+// Disable the origin chip in the location bar.
+const char kDisableOriginChipV2[] = "disable-origin-chip-v2";
// Disable the setting to prompt the user for their OS account password before
// revealing plaintext passwords in the password manager.
// Disable SPDY/3.1. This is a temporary testing flag.
const char kDisableSpdy31[] = "disable-spdy31";
-// Disables support of sticky keys.
-const char kDisableStickyKeys[] = "disable-sticky-keys";
-
// Disables syncing browser data to a Google Account.
const char kDisableSync[] = "disable-sync";
// Disables syncing browser typed urls.
const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls";
-// Allows disabling of translate from the command line to assist with automated
-// browser testing (e.g. Selenium/WebDriver). Normal browser users should
-// disable translate with the preference.
-const char kDisableTranslate[] = "disable-translate";
-
// Disables TLS Channel ID extension.
const char kDisableTLSChannelID[] = "disable-tls-channel-id";
// If set, the app list will be enabled as if enabled from CWS.
const char kEnableAppList[] = "enable-app-list";
-// Enables specifying a "src" attribute on <adview> elements
-// (for testing purposes, to skip the whitelist).
-const char kEnableAdviewSrcAttribute[] = "enable-adview-src-attribute";
-
// Enables the <window-controls> tag in platform apps.
const char kEnableAppWindowControls[] = "enable-app-window-controls";
// HttpAuthHandlerNegotiate::CreateSPN for more background.
const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
-// Enables the i18n address input widget for the requestAutocomplete() dialog.
-const char kEnableAutofillAddressI18n[] = "enable-autofill-address-i18n";
-
// Enable using a public suffix based domain matching for autofill of passwords.
const char kEnablePasswordAutofillPublicSuffixDomainMatching[] =
"enable-password-autofill-public-suffix-domain-matching";
const char kEnableOriginChipLeadingMenuButton[] =
"enable-origin-chip-leading-menu-button";
+// Controls which branch of the origin chip in location bar experiment is
+// enabled.
+//
+// We're using independent flags here (as opposed to a common flag with
+// different values) to be able to enable/disable the entire experience
+// associated with this feature server-side from the FieldTrial (the complete
+// experience includes other flag changes as well). It is not currently possible
+// to do that with "flag=value" flags.
+const char kEnableOriginChipV2[] = "enable-origin-chip-v2";
+const char kEnableOriginChipV2HideOnMouseRelease[] =
+ "enable-origin-chip-v2-hide-on-mouse-release";
+const char kEnableOriginChipV2HideOnUserInput[] =
+ "enable-origin-chip-v2-hide-on-user-input";
+
// Enables panels (always on-top docked pop-up windows).
const char kEnablePanels[] = "enable-panels";
// This only has an effect if QUIC protocol is enabled.
const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
-// Enables the Quickoffoce/Chrome document viewer rather than the editor.
-const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing";
-
// Enables save password prompt bubble.
const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
const char kEnableSearchButtonInOmniboxForStrOrIip[] =
"enable-search-button-in-omnibox-for-str-or-iip";
-// Enables support of sticky keys.
-const char kEnableStickyKeys[] = "enable-sticky-keys";
+// Certificate Transparency: Enable showing the SCT viewer when an SSL
+// certificate is accompanied by, or contains, SCTs.
+const char kEnableSignedCertificateTimestampsViewer[] = "enable-sct-viewer";
// Enable SPDY/2. This is a temporary testing flag. See
// http://crbug.com/303957 .
// Overrides the path to the location that PNaCl is installed.
const char kPnaclDir[] = "pnacl-dir";
-// Forces the PPAPI version of Flash (if it's being used) to run in the
-// renderer process rather than in a separate plugin process.
-const char kPpapiFlashInProcess[] = "ppapi-flash-in-process";
-
// Use the PPAPI (Pepper) Flash found at the given path.
const char kPpapiFlashPath[] = "ppapi-flash-path";
// defaults to "10.2.999.999".
const char kPpapiFlashVersion[] = "ppapi-flash-version";
+// Triggers prerendering of search base page to prefetch results for the typed
+// omnibox query. Only has an effect when prerender is enabled.
+const char kPrefetchSearchResults[] = "prefetch-search-results";
+
// Triggers prerendering of pages from suggestions in the omnibox. Only has an
// effect when Instant is either disabled or restricted to search, and when
// prerender is enabled.
// channel with the given ID.
const char kTestingChannelID[] = "testing-channel";
-// Overrides the default server used for Google Translate.
-const char kTranslateScriptURL[] = "translate-script-url";
-
// Disables same-origin check on HTTP resources pushed via a SPDY proxy.
// The value is the host:port of the trusted proxy.
const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
// all of its state.
const char kUserDataDir[] = "user-data-dir";
-// Use the system-provided title bar and window dressing. Only affects Linux
-// Aura. Temporarily activated by a switch; eventually to be dynamically
-// changeable with the kUseCustomChromeFrame preference as with the GTK version.
-const char kUseSystemTitleBar[] = "use-system-title-bar";
-
// Examines a .crx for validity and prints the result.
const char kValidateCrx[] = "validate-crx";
#endif // defined(OS_ANDROID) || defined(OS_IOS)
#if defined(OS_ANDROID)
-// Makes the "Add to Homescreen" shortcut invisible.
-const char kDisableAddToHomescreen[] = "disable-add-to-homescreen";
+// Disables the app banner <meta> tag.
+const char kDisableAppBanners[] = "disable-app-banners";
// Disables the new NTP.
const char kDisableNewNTP[] = "disable-new-ntp";
const char kEnableAccessibilityTabSwitcher[] =
"enable-accessibility-tab-switcher";
-// Makes the "Add to Homescreen" shortcut visible.
-const char kEnableAddToHomescreen[] = "enable-add-to-homescreen";
+// Enables support for playing videos on Chromecast devices.
+const char kEnableCast[] = "enable-cast";
+
+// Enables Contextual Search
+const char kEnableContextualSearch[] = "contextual-search";
// Enables the new NTP.
const char kEnableNewNTP[] = "enable-new-ntp";
// Pops the translate infobar if possible.
const char kEnableTranslate[] = "enable-translate";
-// Enables support for playing videos on Chromecast devices.
-const char kEnableCast[] = "enable-cast";
-
// Enables zero suggest functionality on Dev channel, showing contextual
// suggestions (EtherSuggest) for http pages and google.com search queries.
const char kEnableZeroSuggestEtherSerp[] =
const char kDisableCoreAnimationLayerSquashing[] =
"disable-core-animation-layer-squashing";
-// Enables the tabs expose feature ( http://crbug.com/50307 ).
-const char kEnableExposeForTabs[] = "enable-expose-for-tabs";
-
// Enables a simplified fullscreen UI on Mac.
const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen";
// Relaunches metro Chrome on Windows 8 and higher using a given shortcut.
const char kRelaunchShortcut[] = "relaunch-shortcut";
-// Waits for the given handle to be signaled before relaunching metro Chrome on
-// Windows 8 and higher.
-const char kWaitForMutex[] = "wait-for-mutex";
-
-// Indicates that chrome was launched to service a search request in Windows 8.
-const char kWindows8Search[] = "windows8-search";
-
-#endif
-
-#if defined(OS_WIN) && defined(USE_AURA)
// Requests that Chrome connect to the running Metro viewer process.
const char kViewerConnect[] = "viewer-connect";
// (which is assumed to be registered as default browser) and synchronously
// connect to it.
const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid";
+
+// Waits for the given handle to be signaled before relaunching metro Chrome on
+// Windows 8 and higher.
+const char kWaitForMutex[] = "wait-for-mutex";
+
+// Indicates that chrome was launched to service a search request in Windows 8.
+const char kWindows8Search[] = "windows8-search";
#endif
#ifndef NDEBUG