blob: 2fb4cf64f1f8c965d44ef05afe9aa9cd5211f78a [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
Kunihiko Sakamoto4d407982018-07-10 04:56:2933const char kAllowSignedHTTPExchangeCertsWithoutExtensionName[] =
34 "Allow Signed HTTP Exchange certificates without extension";
35const char kAllowSignedHTTPExchangeCertsWithoutExtensionDescription[] =
36 "Accepts Origin-Signed HTTP Exchanges to be signed with certificates "
37 "that do not have CanSignHttpExchangesDraft extension. Requires "
38 "#enable-signed-http-exchange. Warning: Enabling this may pose a security "
39 "risk.";
40
Henrique Nakashima52d76952018-11-30 19:35:5841const char kAllowStartingServiceManagerOnlyName[] =
42 "Allow starting service manager only";
43const char kAllowStartingServiceManagerOnlyDescription[] =
44 "Allows running a lightweight service-manager-only mode, in which services "
45 "can run without the browser process.";
46
Jeremy Klein586b4ccc2018-06-09 21:05:4847const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
48const char kAndroidMessagesIntegrationDescription[] =
49 "Enables Chrome OS integration with Android messages.";
50
Kyle Horimoto2d838ec2018-12-26 19:41:1651const char kUseMessagesGoogleComDomainName[] = "Use messages.google.com domain";
52const char kUseMessagesGoogleComDomainDescription[] =
53 "Use the messages.google.com domain as part of the \"Messages\" "
54 "feature under \"Connected Devices\" settings.";
55
Kyle Horimoto874554a2019-01-31 00:52:0956const char kUseMessagesStagingUrlName[] = "Use Messages staging URL";
57const char kUseMessagesStagingUrlDescription[] =
58 "Use the staging server as part of the \"Messages\" feature under "
59 "\"Connected Devices\" settings.";
60
Azeem Arshad373e1ea72019-01-23 02:16:0061const char kEnableMessagesWebPushName[] =
62 "Web push in Android Messages integration";
63const char kEnableMessagesWebPushDescription[] =
64 "Use web push for background notificatons in Chrome OS integration "
65 "with Android Messages for Web";
66
Kamila472a5942018-11-26 09:48:2767const char kAndroidSiteSettingsUIRefreshName[] =
68 "Android Site Settings UI changes.";
69const char kAndroidSiteSettingsUIRefreshDescription[] =
Kamila02f7e072018-10-08 09:50:2870 "Enable the new UI "
71 "changes in Site Settings in Android.";
72
Brett Wilsonf27ff602017-07-07 22:28:4773const char kAppBannersName[] = "App Banners";
74const char kAppBannersDescription[] =
75 "Enable the display of Progressive Web App banners, which prompt a user to "
76 "add a web app to their shelf, or other platform-specific equivalent.";
77
Ioana Pandelef9689a062018-06-22 15:35:5178const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
79const char kAutomaticPasswordGenerationDescription[] =
80 "Allow Chrome to offer to generate passwords when it detects account "
81 "creation pages.";
82
Michael Lippautz6081dfa2018-10-18 13:10:1483const char kEnableBlinkHeapUnifiedGarbageCollectionName[] =
84 "Blink Heap Unified Garbage Collection";
85const char kEnableBlinkHeapUnifiedGarbageCollectionDescription[] =
86 "Enable unified garbage collection in Blink";
87
Ulan Degenbaevb5466a92018-07-19 12:35:3488const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
89const char kEnableBloatedRendererDetectionDescription[] =
90 "Enable bloated renderer detection";
91
Khushalba202212017-07-12 19:53:4992const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
93const char kAsyncImageDecodingDescription[] =
94 "Enables asynchronous decoding of images from raster for web content";
95
sebsgca14b092018-12-07 16:56:1596extern const char kAutofillAlwaysShowServerCardsInSyncTransportName[] =
97 "AlwaysShowServerCardsInSyncTransport";
98extern const char kAutofillAlwaysShowServerCardsInSyncTransportDescription[] =
99 "Always show server cards when in sync transport mode for wallet data";
100
Hui(Andy) Wufbebf91d22019-02-01 01:23:54101extern const char kAutofillAssistantChromeEntryName[] =
102 "AutofillAssistantChromeEntry";
103extern const char kAutofillAssistantChromeEntryDescription[] =
104 "Initiate autofill assistant from within Chrome.";
105
Roger McFarlane2eceba982018-05-18 01:37:11106const char kAutofillCacheQueryResponsesName[] =
107 "Cache Autofill Query Responses";
108const char kAutofillCacheQueryResponsesDescription[] =
109 "When enabled, autofill will cache the responses it receives from the "
110 "crowd-sourced field type prediction server.";
111
Jeffrey Cohen05cdafa392018-08-15 20:49:17112const char kAutofillEnableCompanyNameName[] =
113 "Enable Autofill Company Name field";
114const char kAutofillEnableCompanyNameDescription[] =
115 "When enabled, Company Name fields will be auto filled";
116
sebsge35b762c2018-03-29 20:33:27117const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
118const char kAutofillDynamicFormsDescription[] =
119 "Allows autofill to fill dynamically changing forms";
120
Anne Lime625362e2018-08-29 03:13:25121const char kAutofillNoLocalSaveOnUploadSuccessName[] =
122 "Disable locally saving card when credit card upload succeeds";
123const char kAutofillNoLocalSaveOnUploadSuccessDescription[] =
124 "When enabled, no local copy of server card will be saved when credit card "
125 "upload succeeds.";
126
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:39127const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
128const char kAutofillPrefilledFieldsDescription[] =
129 "Allows autofill to fill fields previously filled by the website";
130
Parastoo Geranmayeh0f5ebbc2019-01-21 21:01:09131const char kAutofillProfileClientValidationName[] =
132 "Autofill Validates Profiles By Client";
133const char kAutofillProfileClientValidationDescription[] =
134 "Allows autofill to validate profiles on the client side";
135
Parastoo Geranmayeh25fccec22019-01-29 18:38:13136const char kAutofillProfileServerValidationName[] =
137 "Autofill Uses Server Validation";
138const char kAutofillProfileServerValidationDescription[] =
139 "Allows autofill to use server side validation";
140
Lei Zhang0ca70ea2018-09-07 17:51:01141const char kAutofillPreviewStyleExperimentName[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18142 "Autofill Preview Style Experiment";
Lei Zhang0ca70ea2018-09-07 17:51:01143const char kAutofillPreviewStyleExperimentDescription[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18144 "Allows experimentation with the Autofill field preview's style.";
145
Roger McFarlane1a37d7b2018-04-20 22:45:19146const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
147 "Autofill Enforce Min Required Fields For Heuristics";
148const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
149 "When enabled, autofill will generally require a form to have at least 3 "
150 "fields before allowing heuristic field-type prediction to occur.";
151
152const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
153 "Autofill Enforce Min Required Fields For Query";
154const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
155 "When enabled, autofill will generally require a form to have at least 3 "
156 "fields before querying the autofill server for field-type predictions.";
157
158const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
159 "Autofill Enforce Min Required Fields For Upload";
160const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
161 "When enabled, autofill will generally require a form to have at least 3 "
162 "fillable fields before uploading field-type votes for that form.";
163
Moe Ahmadid3ddfcb2018-04-20 19:51:08164const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
165 "Restrict formless form extraction";
166const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
167 "Restrict extraction of formless forms to checkout flows";
168
Roger McFarlanee193ab122018-11-22 20:55:07169const char kAutofillRichMetadataQueriesName[] =
170 "Autofill - Rich metadata queries (Canary/Dev only)";
171const char kAutofillRichMetadataQueriesDescription[] =
172 "Transmit rich form/field metadata when querying the autofill server. "
173 "This feature only works on the Canary and Dev channels.";
174
sebsg48d53acd92019-01-17 18:11:16175const char kAutofillSettingsSplitByCardTypeName[] =
176 "Autofill settings split by card type";
177const char kAutofillSettingsSplitByCardTypeDescription[] =
178 "When enabled, the cards in the payments settings will be split into two "
179 "lists based on where they are stored.";
180
Brett Wilsonf27ff602017-07-07 22:28:47181const char kAutoplayPolicyName[] = "Autoplay policy";
182const char kAutoplayPolicyDescription[] =
183 "Policy used when deciding if audio or video is allowed to autoplay.";
184
185const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
186 "User gesture is required for cross-origin iframes.";
187const char kAutoplayPolicyNoUserGestureRequired[] =
188 "No user gesture is required.";
189const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
190const char kAutoplayPolicyDocumentUserActivation[] =
191 "Document user activation is required.";
192
Maya Lekova4bbfdb7f2018-10-16 08:15:03193const char kAwaitOptimizationName[] = "Await optimization";
194const char kAwaitOptimizationDescription[] =
195 "Enables await taking 1 tick on the microtask queue.";
196
Brett Wilsonf27ff602017-07-07 22:28:47197const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
198const char kBleAdvertisingInExtensionsDescription[] =
199 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
200 "with regular use of Bluetooth Low Energy features.";
201
Charles Harrisond629cc62017-10-05 01:39:54202const char kBlockTabUndersName[] = "Block tab-unders";
203const char kBlockTabUndersDescription[] =
204 "Blocks tab-unders in Chrome with some native UI to allow the user to "
205 "proceed.";
206
Brett Wilsonf27ff602017-07-07 22:28:47207const char kBrowserTaskSchedulerName[] = "Task Scheduler";
208const char kBrowserTaskSchedulerDescription[] =
209 "Enables redirection of some task posting APIs to the task scheduler.";
210
Carlos IL766fbc882018-02-16 02:34:52211const char kBundledConnectionHelpName[] = "Bundled Connection Help";
212const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37213 "Enables or disables redirection to local help content for users who get "
214 "an interstitial after clicking the 'Learn More' link on a previous "
215 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52216
Brett Wilsonf27ff602017-07-07 22:28:47217const char kBypassAppBannerEngagementChecksName[] =
218 "Bypass user engagement checks";
219const char kBypassAppBannerEngagementChecksDescription[] =
220 "Bypasses user engagement checks for displaying app banners, such as "
221 "requiring that users have visited the site before and that the banner "
222 "hasn't been shown recently. This allows developers to test that other "
223 "eligibility requirements for showing app banners, such as having a "
224 "manifest, are met.";
225
Miguel Casas454d9cf2018-06-28 16:25:00226const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
227const char kCanvas2DImageChromiumDescription[] =
228 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
229
Amber Won478561d2017-08-19 01:02:59230const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
231const char kClickToOpenPDFDescription[] =
232 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
233 "embedded PDFs.";
234
Gary Kacmarcikfb69b212017-11-14 03:41:08235const char kClipboardContentSettingName[] = "Clipboard content setting";
236const char kClipboardContentSettingDescription[] =
237 "Enables a site-wide permission in the UI which controls access to the "
238 "asynchronous clipboard web API";
239
Brett Wilsonf27ff602017-07-07 22:28:47240const char kCloudImportName[] = "Cloud Import";
241const char kCloudImportDescription[] = "Allows the cloud-import feature.";
242
rbpotter9990eb42018-07-12 05:34:59243const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
244const char kCloudPrinterHandlerDescription[] =
245 "Use the new cloud printer handler for communicating with the cloud "
246 "print server, instead of the cloud print interface in the Print "
247 "Preview WebUI.";
248
Tanja Gornakb0985dd2018-10-11 17:24:40249const char kFCMInvalidationsName[] =
250 "Enable invalidations delivery via new FCM based protocol";
251const char kFCMInvalidationsDescription[] =
252 "Use the new FCM-based protocol for deliveling invalidations";
253
Christopher Cameronceb8727d2017-09-07 23:53:16254const char kForceColorProfileSRGB[] = "sRGB";
255const char kForceColorProfileP3[] = "Display P3 D65";
256const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
257const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
258
259const char kForceColorProfileName[] = "Force color profile";
260const char kForceColorProfileDescription[] =
261 "Forces Chrome to use a specific color profile instead of the color "
262 "of the window's current monitor, as specified by the operating system.";
263
Brett Wilsonf27ff602017-07-07 22:28:47264const char kCompositedLayerBordersName[] = "Composited render layer borders";
265const char kCompositedLayerBordersDescription[] =
266 "Renders a border around composited Render Layers to help debug and study "
267 "layer compositing.";
268
Theresac34db2d2018-06-28 00:03:11269const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
270const char kContextualSuggestionsButtonDescription[] =
271 "If enabled, shows a button to trigger contextual suggestions.";
272
Theresae308b9e2018-10-10 15:57:40273const char kContextualSuggestionsIPHReverseScrollName[] =
274 "Contextual Suggestions IPH Reverse Scroll";
275const char kContextualSuggestionsIPHReverseScrollDescription[] =
276 "Require a reverse scroll before showing in-product help for contextual "
277 "suggestions.";
278
Theresa0f2947b92018-07-02 21:27:58279const char kContextualSuggestionsOptOutName[] =
280 "Contextual Suggestions Opt-out";
281const char kContextualSuggestionsOptOutDescription[] =
282 "If enabled, allows the user to opt out of contextual suggestions.";
283
Brett Wilsonf27ff602017-07-07 22:28:47284const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
285const char kCreditCardAssistDescription[] =
286 "Enable assisted credit card filling on certain sites.";
287
Thanh Le659cb102017-12-20 22:00:19288const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
289const char kDataSaverServerPreviewsDescription[] =
290 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47291
Brett Wilsonf27ff602017-07-07 22:28:47292const char kDebugPackedAppName[] = "Debugging for packed apps";
293const char kDebugPackedAppDescription[] =
294 "Enables debugging context menu options such as Inspect Element for packed "
295 "applications.";
296
Brett Wilsonf27ff602017-07-07 22:28:47297const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
298const char kDebugShortcutsDescription[] =
299 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
300
301const char kDeviceDiscoveryNotificationsName[] =
302 "Device Discovery Notifications";
303const char kDeviceDiscoveryNotificationsDescription[] =
304 "Device discovery notifications on local network.";
305
306const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
307const char kDevtoolsExperimentsDescription[] =
308 "Enables Developer Tools experiments. Use Settings panel in Developer "
309 "Tools to toggle individual experiments.";
310
311const char kDisableAudioForDesktopShareName[] =
312 "Disable Audio For Desktop Share";
313const char kDisableAudioForDesktopShareDescription[] =
314 "With this flag on, desktop share picker window will not let the user "
315 "choose whether to share audio.";
316
Yue Ru Suna50a80f2019-02-08 05:02:58317const char kDisableBestEffortTasksName[] = "Skip best effort tasks";
318const char kDisableBestEffortTasksDescription[] =
319 "With this flag on, tasks of the lowest priority will not be executed "
320 "until shutdown. The queue of low priority tasks can increase memory usage."
321 "Also, while it should be possible to use Chrome almost normally with this "
322 "flag, it is expected that some non-visible operations such as writing "
323 "user data to disk, cleaning caches, reporting metrics or updating "
324 "components won't be performed until shutdown.";
325
Arthur Sonzogni721f48e2018-10-31 17:10:02326const char kDisableIpcFloodingProtectionName[] =
327 "Disable IPC flooding protection";
328const char kDisableIpcFloodingProtectionDescription[] =
329 "Some javascript code can flood the inter process communication system. "
330 "This protection limits the rate (calls/seconds) at which theses function "
arthursonzogni443bd0ef2018-11-27 16:12:53331 "can be used. This flag disables the protection. This flag is deprecated "
332 "and will be removed in Chrome 76. Use the switch "
333 "--disable-ipc-flooding-protection instead.";
Arthur Sonzogni721f48e2018-10-31 17:10:02334
Chris Palmer917bc052018-03-14 19:28:31335const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
336const char kDisablePushStateThrottleDescription[] =
337 "Disables throttling of history.pushState and history.replaceState method "
arthursonzogni443bd0ef2018-11-27 16:12:53338 "calls. This flag is deprecated and will be removed in Chrome 76. Use the "
339 "switch --disable-ipc-flooding-protection instead.";
Chris Palmer917bc052018-03-14 19:28:31340
Brett Wilsonf27ff602017-07-07 22:28:47341const char kDisableTabForDesktopShareName[] =
342 "Disable Desktop Share with tab source";
343const char kDisableTabForDesktopShareDescription[] =
344 "This flag controls whether users can choose a tab for desktop share.";
345
346const char kDisallowDocWrittenScriptsUiName[] =
347 "Block scripts loaded via document.write";
348const char kDisallowDocWrittenScriptsUiDescription[] =
349 "Disallows fetches for third-party parser-blocking scripts inserted into "
350 "the main frame via document.write.";
351
Christopher Thompson2ffffa2c2018-05-18 23:06:37352const char kDisallowUnsafeHttpDownloadsName[] =
353 "Block unsafe downloads over insecure connections";
354const char kDisallowUnsafeHttpDownloadsNameDescription[] =
355 "Disallows downloads of unsafe files (files that can potentially execute "
356 "code), where the final download origin or any origin in the redirect "
357 "chain is insecure.";
358
Brett Wilsonf27ff602017-07-07 22:28:47359const char kDriveSearchInChromeLauncherName[] =
360 "Drive Search in Chrome App Launcher";
361const char kDriveSearchInChromeLauncherDescription[] =
362 "Files from Drive will show up when searching the Chrome App Launcher.";
363
Brett Wilsonf27ff602017-07-07 22:28:47364const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
365const char kEmbeddedExtensionOptionsDescription[] =
366 "Display extension options as an embedded element in chrome://extensions "
367 "rather than opening a new tab.";
368
Dominic Mazzoni8ac98962018-05-25 05:44:55369const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
370const char kEnableAccessibilityObjectModelDescription[] =
371 "Enables experimental support for Accessibility Object Model APIs "
372 "that are in development.";
373
Becca Hughesac86cd442019-01-09 23:49:54374const char kEnableAudioFocusEnforcementName[] = "Audio Focus Enforcement";
375const char kEnableAudioFocusEnforcementDescription[] =
376 "Enables enforcement of a single media session having audio focus at "
377 "any one time. Requires #enable-media-session-service to be enabled too.";
378
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36379const char kEnableWebPaymentsSingleAppUiSkipName[] =
380 "Enable Web Payments single app UI skip";
381const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
382 "Enable Web Payments to skip showing its UI if the developer specifies a "
383 "single app.";
384
Sebastien Lalancette5daaf4a2019-01-11 22:09:25385const char kEnableAutocompleteDataRetentionPolicyName[] =
386 "Enable automatic cleanup of expired Autocomplete entries.";
387const char kEnableAutocompleteDataRetentionPolicyDescription[] =
388 "If enabled, will clean-up Autocomplete entries whose last use date is "
389 "older than the current retention policy. These entries will be "
390 "permanently deleted from the client on startup, and will be unlinked "
391 "from sync.";
392
Florian Uunk8c428ea2018-07-18 11:12:52393const char kEnableAutofillAccountWalletStorageName[] =
394 "Enable the account data storage for autofill";
395const char kEnableAutofillAccountWalletStorageDescription[] =
396 "Enable the ephemeral storage for account data for autofill.";
397
Shanfeng Zhang19c16562017-10-17 02:30:40398const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
399 "Credit card autofill ablation experiment.";
400const char kEnableAutofillCreditCardAblationExperimentDescription[] =
401 "If enabled, credit card autofill suggestions will not display.";
402
Brett Wilsonf27ff602017-07-07 22:28:47403const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
404 "Display the last used date of a credit card in autofill.";
405const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
406 "If enabled, display the last used date of a credit card in autofill.";
407
Sujie Zhu2cf0e5c2018-07-17 18:00:27408const char kEnableAutofillCreditCardLocalCardMigrationName[] =
409 "Enable migrating local cards to Google Pay";
410const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
411 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
412
Jared Saulbc672a072018-06-16 05:22:12413const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
414 "Make cardholder name editable in dialog during credit card upload";
415const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
416 "If enabled, in certain situations when offering credit card upload to "
417 "Google Payments, the cardholder name can be edited within the "
418 "offer-to-save dialog, which is prefilled with the name from the signed-in "
419 "Google Account.";
420
Hao Zhang1be9c262018-11-03 00:23:51421const char kEnableAutofillCreditCardUploadEditableExpirationDateName[] =
422 "Make expiration date editable in dialog during credit card upload";
423const char kEnableAutofillCreditCardUploadEditableExpirationDateDescription[] =
424 "If enabled, if a credit card's expiration date was not detected when "
425 "offering card upload to Google Payments, the offer-to-save dialog "
426 "displays an expiration date selector.";
427
Hao Zhangd3017112019-02-01 20:13:30428const char kEnableAutofillImportNonFocusableCreditCardFormsName[] =
429 "Allow credit card import from forms that disappear after entry";
430const char kEnableAutofillImportNonFocusableCreditCardFormsDescription[] =
431 "If enabled, offers credit card save for forms that are hidden from the "
432 "page after information has been entered into them, including "
433 "accordion-style checkout flows.";
434
siyua9a4a8872018-10-05 03:46:56435const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
436 "Show the upload results dialog after local card migration";
437const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
438 "If enabled, the local card migration offer dialog will remain pending "
439 "after the user clicks the save button. Once migration is finished, "
440 "the dialog will be updated with the results of each card.";
441
tmartinocd414732018-02-12 19:01:01442const char kEnableAutofillNativeDropdownViewsName[] =
443 "Display Autofill Dropdown Using Views";
444const char kEnableAutofillNativeDropdownViewsDescription[] =
445 "If enabled, the Autofill Dropdown will be built natively using Views, "
446 "rather than painted directly to a canvas.";
447
Fabio Tirelo87552e02018-07-06 15:43:21448const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
449 "Show unlabeled expiration dates on the save card dialog";
450const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
451 "If enabled, expiration dates on the save card dialog (both local and "
452 "upstream) are shown without an 'Exp:' label.";
453
siyua172973d2018-11-21 22:23:20454const char kEnableAutofillSaveCardImprovedUserConsentName[] =
455 "Use updated UI for credit card save bubbles";
456const char kEnableAutofillSaveCardImprovedUserConsentDescription[] =
457 "If enabled, adds a [No thanks] button to credit card save bubbles and "
458 "updates their title headers.";
459
Manas Verma99541e52018-08-03 20:37:23460const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
461 "Show Sign-In/Sync promo after saving a card locally";
462const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
463 "If enabled, shows a sign in prompt to the user after the user "
464 "saves a card locally. This also introduces a Manage Cards bubble "
465 "which you can access from the card icon after saving a card.";
466
Jared Saul8a0c1e92018-10-10 18:22:47467const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
468 "Enable limit on offering to save the same credit card repeatedly";
469const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
470 "If enabled, prevents popping up the credit card offer-to-save prompt if "
471 "it has repeatedly been ignored, declined, or failed.";
472
Anne Lim9d8f66a2019-01-07 23:49:21473const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Name[] =
474 "Enable limit on offering to save the same credit card repeatedly using the"
475 "updated strike system implementation";
476const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Description[] =
477 "If enabled, uses the updated strike system implementation to prevent"
478 "popping up the credit card offer-to-save prompt if it has repeatedly been"
479 "ignored, declined, or failed.";
480
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23481const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
482 "Send experiment flag IDs in calls to Google Payments";
483const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
484 "If enabled, adds the status of certain experiment variations when making "
485 "calls to Google Payments.";
486
Becca Hughes4d896c42018-05-29 16:58:51487const char kEnableAutoplayIgnoreWebAudioName[] =
488 "Autoplay ignores WebAudio playbacks";
489const char kEnableAutoplayIgnoreWebAudioDescription[] =
490 "If enabled, autoplay restrictions will be ignored for WebAudio.";
491
Becca Hughesc62f6a1d2018-08-16 15:59:47492const char kEnableAutoplayUnifiedSoundSettingsName[] =
493 "Autoplay unified sound settings UI";
494const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
495 "If enabled, shows the new unified autoplay sound settings UI.";
496
Brett Wilsonf27ff602017-07-07 22:28:47497const char kEnableBrotliName[] = "Brotli Content-Encoding.";
498const char kEnableBrotliDescription[] =
499 "Enable Brotli Content-Encoding support.";
500
Qiang Xu0f602fe62017-12-22 01:31:20501const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
502const char kEnableCaptivePortalRandomUrlDescription[] =
503 "Enable Captive Portal URL randomization.";
504
Yuki Awano06c7ddf2019-01-23 04:17:59505const char kEnableChromevoxDeveloperOptionName[] =
506 "Enable Chromevox developer option";
507const char kEnableChromevoxDeveloperOptionDescription[] =
508 "This option provides tools for developing in chromevox.";
509
Robert Ogdenc3703942019-02-06 21:05:49510const char kEnableDataSaverLiteModeRebrandName[] =
511 "Data Saver Lite Mode Rebranding";
512const char kEnableDataSaverLiteModeRebrandDescription[] =
513 "Enable the Data Saver rebranding to Lite Mode.";
514
sclittle50e4bb92017-07-08 02:23:03515const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
516
517const char kEnableClientLoFiDescription[] =
518 "Enable showing low fidelity images on some pages on slow networks.";
519
Patrick Noland8bc57472018-06-19 21:09:54520const char kEnableCSSFragmentIdentifiersName[] =
521 "Enable CSS Fragment Identifiers";
522const char kEnableCSSFragmentIdentifiersDescription[] =
523 "Enable support for specifying a target element using a css selector in "
524 "the fragment identifier.";
525
Doug Arnett08b4067b2017-10-12 20:14:44526const char kEnableNoScriptPreviewsName[] = "NoScript previews";
527
528const char kEnableNoScriptPreviewsDescription[] =
529 "Enable disabling JavaScript on some pages on slow networks.";
530
Thanh Le2c279fbc2017-11-21 01:25:40531const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
532const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
533const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
534const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
535const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
536const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
537const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
538const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
539const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
540const char kDataReductionProxyServerAlternative10[] =
541 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54542const char kEnableDataReductionProxyNetworkServiceName[] =
543 "Data reduction proxy with network service";
544const char kEnableDataReductionProxyNetworkServiceDescription[] =
545 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47546const char kEnableDataReductionProxyServerExperimentName[] =
547 "Use an alternative Data Saver back end configuration.";
548const char kEnableDataReductionProxyServerExperimentDescription[] =
549 "Enable a different approach to saving data by configuring the back end "
550 "server";
551
552const char kEnableDataReductionProxySavingsPromoName[] =
553 "Data Saver 1 MB Savings Promo";
554const char kEnableDataReductionProxySavingsPromoDescription[] =
555 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
556 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
557 "enabled for the promo to be shown.";
558
Matt Giucad4870432017-11-24 01:04:38559const char kEnableDesktopPWAsName[] = "Desktop PWAs";
560const char kEnableDesktopPWAsDescription[] =
561 "Experimental windowing and install banner treatment for Progressive Web "
562 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17563
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59564const char kEnableDesktopPWAsLinkCapturingName[] =
565 "Desktop PWAs Link Capturing";
566const char kEnableDesktopPWAsLinkCapturingDescription[] =
567 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
568 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
569 "#enable-desktop-pwas.";
570
Jay Harris52511a02018-11-02 01:00:28571const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
572const char kDesktopPWAsCustomTabUIDescription[] =
573 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
574 "for displaying the page title and origin instead of the location bar.";
575
Jay Harrisee7a7bc62018-10-09 01:47:49576const char kDesktopPWAsStayInWindowName[] =
577 "Desktop PWAs out-of-scope links open in the app window";
578const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28579 "Links to sites in a different scope will open inside the PWA window as "
580 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49581
Alan Cutter1816c9d2019-02-11 02:20:07582const char kDesktopPWAsOmniboxInstallName[] =
583 "Desktop PWAs installable from the omnibox";
584const char kDesktopPWAsOmniboxInstallDescription[] =
585 "When on a site that passes PWA installation requirements show a button in "
586 "the omnibox for installing it.";
587
Christopher Lame66b7812018-09-26 01:49:24588const char kEnableSystemWebAppsName[] = "System Web Apps";
589const char kEnableSystemWebAppsDescription[] =
590 "Experimental system for using the Desktop PWA framework for running System"
591 "Apps (e.g Settings, Discover).";
592
David Benjamin570460e2018-10-16 06:01:29593const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
594const char kEnforceTLS13DowngradeDescription[] =
595 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
596 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
597 "through 1.2 connections. Firewalls and proxies that do not function when "
598 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
599 "securely. They must be fixed by vendors.";
600
Brett Wilsonf27ff602017-07-07 22:28:47601const char kEnableGenericSensorName[] = "Generic Sensor";
602const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25603 "Enables motion sensor classes based on Generic Sensor API, i.e. "
604 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
605 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
606
607const char kEnableGenericSensorExtraClassesName[] =
608 "Generic Sensor Extra Classes";
609const char kEnableGenericSensorExtraClassesDescription[] =
610 "Enables an extra set of sensor classes based on Generic Sensor API, which "
611 "expose previously unavailable platform features, i.e. AmbientLightSensor "
612 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47613
Vikas Soni78daa632019-01-12 01:32:52614const char kEnableGpuServiceLoggingName[] = "Enable gpu service logging";
615const char kEnableGpuServiceLoggingDescription[] =
616 "Enable printing the actual GL driver calls.";
617
Brett Wilsonf27ff602017-07-07 22:28:47618const char kEnableHDRName[] = "HDR mode";
619const char kEnableHDRDescription[] =
620 "Enables HDR support on compatible displays.";
621
David Bokan911bded2018-11-27 23:23:32622const char kEnableImplicitRootScrollerName[] = "Implicit Root Scroller";
623const char kEnableImplicitRootScrollerDescription[] =
624 "Enables implicitly choosing which scroller on a page is the 'root "
625 "scroller'. i.e. The one that gets special features like URL bar movement, "
626 "overscroll glow, rotation anchoring, etc.";
627
Robert Ogden5a63b242018-09-17 21:38:57628const char kEnablePreviewsAndroidOmniboxUIName[] =
629 "Previews Android Omnibox UI";
630const char kEnablePreviewsAndroidOmniboxUIDescription[] =
631 "Enable showing the Previews UI in the Omnibox on Android instead of an "
632 "InfoBar. This has no effect on other platforms.";
633
Robert Ogdence8c9572018-10-08 23:08:48634const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
635const char kEnableLitePageServerPreviewsDescription[] =
Doug Arnett9c1f87562018-12-14 00:56:39636 "Enable showing Lite Page Previews served from a Previews Server."
637 "This feature will cause Chrome to redirect eligible navigations "
Robert Ogdence8c9572018-10-08 23:08:48638 "to a Google-owned domain that serves a pre-rendered version of the "
Doug Arnett9c1f87562018-12-14 00:56:39639 "original page. Also known as Lite Page Redirect Previews.";
Robert Ogdence8c9572018-10-08 23:08:48640
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41641const char kLayeredAPIName[] = "Experimental layered APIs";
642const char kLayeredAPIDescription[] =
643 "Enable layered API infrastructure, as well as several experimental "
644 "layered APIs. The syntax and the APIs exposed are experimental and will "
645 "change over time.";
646
Philip Rogers63481332018-12-01 22:16:51647const char kEnableBlinkGenPropertyTreesName[] = "Enable BlinkGenPropertyTrees";
648const char kEnableBlinkGenPropertyTreesDescription[] =
649 "Enable a new compositing mode where Blink generates the compositor "
650 "property trees.";
651
Ian Kilpatricke68ef11a2018-07-04 03:52:10652const char kEnableLayoutNGName[] = "Enable LayoutNG";
653const char kEnableLayoutNGDescription[] =
654 "Enable Blink's next generation layout engine.";
655
Scott Littled0fd2d002018-04-13 03:37:26656const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
657const char kEnableLazyFrameLoadingDescription[] =
658 "Defers the loading of certain cross-origin frames until the page is "
659 "scrolled down near them.";
660
rajendrant793ff512018-08-10 17:07:59661const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
662const char kEnableLazyImageLoadingDescription[] =
663 "Defers the loading of images until the page is scrolled down near them.";
664
Sidney San Martín9375b892017-09-09 00:29:54665const char kEnableMacMaterialDesignDownloadShelfName[] =
666 "Enable Material Design download shelf";
667
668const char kEnableMacMaterialDesignDownloadShelfDescription[] =
669 "If enabled, the download shelf uses Material Design.";
670
Becca Hughesac86cd442019-01-09 23:49:54671const char kEnableMediaSessionServiceName[] = "Media Session Service";
672const char kEnableMediaSessionServiceDescription[] =
673 "Enables the media session mojo service and internal media session "
674 "support.";
675
Anton Urusov47cd4932017-09-19 14:41:41676const char kEnablePolicyToolName[] = "Enable policy management page";
677const char kEnablePolicyToolDescription[] =
678 "If enabled, the chrome://policy-tool URL loads a page for managing "
679 "policies.";
680
Brett Wilsonf27ff602017-07-07 22:28:47681const char kEnableNavigationTracingName[] = "Enable navigation tracing";
682const char kEnableNavigationTracingDescription[] =
683 "This is to be used in conjunction with the trace-upload-url flag. "
684 "WARNING: When enabled, Chrome will record performance data for every "
685 "navigation and upload it to the URL specified by the trace-upload-url "
686 "flag. The trace may include personally identifiable information (PII) "
687 "such as the titles and URLs of websites you visit.";
688
Bernhard Bauer5533f9912017-11-06 17:56:02689const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
690const char kEnableNetworkLoggingToFileDescription[] =
691 "Enables network logging to a file named netlog.json in the user data "
692 "directory. The file can be imported into chrome://net-internals.";
693
Brett Wilsonf27ff602017-07-07 22:28:47694const char kEnableNetworkServiceName[] = "Enable network service";
695const char kEnableNetworkServiceDescription[] =
696 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40697 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47698
John Abd-El-Malek8067cc02017-12-04 23:23:20699const char kEnableNetworkServiceInProcessName[] =
700 "Runs network service in-process";
701const char kEnableNetworkServiceInProcessDescription[] =
702 "Runs the network service in the browser process.";
703
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28704const char kEnableNotificationScrollBarName[] =
705 "Enable notification list scroll bar";
706const char kEnableNotificationScrollBarDescription[] =
707 "Enable the scroll bar of the notification list in Unified System Tray.";
708
Mitsuru Otsukae8304de2018-10-29 02:14:36709const char kEnableNotificationExpansionAnimationName[] =
710 "Enable notification expansion animations";
711const char kEnableNotificationExpansionAnimationDescription[] =
712 "Enable notification animations whenever the expansion state is toggled.";
713
xlou8b56f672018-02-09 23:34:30714const char kEnableNupPrintingName[] = "Enable N-up printing";
715const char kEnableNupPrintingDescription[] =
716 "Enable N-up printing in the print preview panel.";
717
Sophie Chang117a3b22017-10-24 22:25:36718const char kEnableOptimizationHintsName[] = "Optimization Hints";
719const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50720 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36721 "into decisions for what optimizations to perform on some pages on slow "
722 "networks.";
723
Takashi Toyoshima2e01e692018-11-16 03:23:27724const char kEnableOutOfBlinkCorsName[] = "Out of blink CORS";
725const char kEnableOutOfBlinkCorsDescription[] =
Yutaka Hirano98be3272017-08-07 17:55:39726 "CORS handling logic is moved out of blink.";
727
Chris Halle952239e2018-11-06 06:49:52728const char kExperimentalAccessibilityFeaturesName[] =
729 "Experimental accessibility features";
730const char kExperimentalAccessibilityFeaturesDescription[] =
731 "Enable additional accessibility features in the Settings page.";
732
Katie D652135c2018-11-27 18:30:13733const char kExperimentalAccessibilityAutoclickName[] =
734 "Experimental automatic click features";
735const char kExperimentalAccessibilityAutoclickDescription[] =
736 "Enable additional features for automatic clicks.";
737
Katie D0c31c5062019-01-02 18:12:35738const char kExperimentalAccessibilityLabelsName[] =
739 "Experimental accessibility image label features";
740const char kExperimentalAccessibilityLabelsDescription[] =
741 "Enable additional features for image labels for accessibility.";
742
Chris Hall4a4225f62019-01-18 03:07:16743const char kExperimentalAccessibilityLanguageDetectionName[] =
744 "Experimental accessibility language detection";
745const char kExperimentalAccessibilityLanguageDetectionDescription[] =
746 "Enable language detection for in-page content which is then exposed to "
747 "accessiblity technologies such as screen readers.";
748
Anastasia Helfinsteinafecc68c2018-11-26 19:20:17749const char kExperimentalAccessibilitySwitchAccessName[] =
750 "Experimental feature Switch Access";
751const char kExperimentalAccessibilitySwitchAccessDescription[] =
752 "Add a setting to enable the prototype of Switch Access";
753
kylechar7051c092018-02-05 20:31:39754const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
755const char kVizDisplayCompositorDescription[] =
756 "If enabled, the display compositor runs as part of the viz service in the"
757 "GPU process.";
758
Ria Jiang6a129b982018-03-01 18:30:40759const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
760const char kVizHitTestDrawQuadDescription[] =
761 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
762 "with hit-test data computed from the CompositorFrame.";
763
Erik Chen49bbfa22017-08-18 08:49:56764const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23765 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56766const char kEnableOutOfProcessHeapProfilingDescription[] =
767 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19768 "malloced objects. Heap dumps can be obtained at chrome://tracing "
769 "[category:memory-infra] and chrome://memory-internals. This setting "
770 "controls which processes are profiled. As long as this setting is not "
771 "disabled, users can start profiling any given process in "
772 "chrome://memory-internals.";
773const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
774const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
775const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
776const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
777const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10778const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19779 "None by default. Visit chrome://memory-internals to choose which "
780 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15781const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
782 "Profile a random sampling of renderer processes, ensuring only one is "
783 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19784
Erik Chen8bb76b52017-12-06 19:06:25785const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19786 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25787const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
788 "By default, small allocations are pruned from the heap dump. This reduces "
789 "the size of the compressed trace by 100x. If pruning is disabled, the "
790 "chrome://tracing UI may be unable to take or load the trace. Save the "
791 "trace directly using chrome://memory-internals, and use other mechanisms "
792 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
793 "automatically uploaded traces will always be pruned. This only affects "
794 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56795
erikchen8bc20d82018-02-14 03:21:51796const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
797const char kOutOfProcessHeapProfilingSamplingDescription[] =
798 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22799 "10000. This results in low noise for large and/or frequent allocations ["
800 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
801 "total size of malloc-ed objects] and large and/or frequent allocations "
802 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51803
Erik Chen3303fd0232018-01-11 20:29:05804const char kOOPHPStackModeName[] =
805 "The type of stack to record for memlog heap dumps";
806const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19807 "By default, memlog heap dumps record native stacks, which requires a "
808 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55809 "pointers to work on Android. Native with thread names will add the thread "
810 "name as the first frame of each native stack. It's also possible to "
811 "record a pseudo stack using trace events as identifiers. It's also "
812 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19813const char kOOPHPStackModeMixed[] = "Mixed";
814const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55815const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19816const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05817
François Beaufort2e75f492018-02-08 20:44:46818const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47819const char kEnablePictureInPictureDescription[] =
François Beaufort106802c2018-12-18 17:46:13820 "Show Picture-in-Picture in browser context menu and video native "
821 "controls. The #enable-surfaces-for-videos flag must be enabled as well "
822 "to use it.";
Brett Wilsonf27ff602017-07-07 22:28:47823
F#m59d036e2017-09-13 07:22:17824const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
825const char kEnablePixelCanvasRecordingDescription[] =
826 "Pixel canvas recording allows the compositor to raster contents aligned "
827 "with the pixel and improves text rendering. This should be enabled when a "
828 "device is using fractional scale factor.";
829
Ella Gebee81c92018-08-14 15:51:09830const char kEnableResamplingInputEventsName[] =
831 "Enable resampling input events";
832const char kEnableResamplingInputEventsDescription[] =
833 "Predicts mouse and touch inputs position at rAF time based on previous "
834 "input";
835const char kEnableResamplingScrollEventsName[] =
836 "Enable resampling scroll events";
837const char kEnableResamplingScrollEventsDescription[] =
838 "Predicts the scroll amount at vsync time based on previous input";
839
Doug Arnettaa0bf202018-08-27 19:42:11840const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
841const char kEnableResourceLoadingHintsDescription[] =
842 "Enable using server-provided resource loading hints to provide a preview "
843 "over slow network connections.";
844
Mikel Astizb4786aa2018-11-09 22:12:09845const char kEnableSyncPseudoUSSAppListName[] =
846 "Enable pseudo-USS for APP_LIST sync.";
847const char kEnableSyncPseudoUSSAppListDescription[] =
848 "Enable new USS-based codepath for sync datatype APP_LIST.";
849
850const char kEnableSyncPseudoUSSAppsName[] = "Enable pseudo-USS for APPS sync.";
851const char kEnableSyncPseudoUSSAppsDescription[] =
852 "Enable new USS-based codepath for sync datatype APPS.";
853
854const char kEnableSyncPseudoUSSDictionaryName[] =
855 "Enable pseudo-USS for DICTIONARY sync.";
856const char kEnableSyncPseudoUSSDictionaryDescription[] =
857 "Enable new USS-based codepath for sync datatype DICTIONARY.";
858
859const char kEnableSyncPseudoUSSExtensionSettingsName[] =
860 "Enable pseudo-USS for EXTENSION_SETTINGS and APP_SETTINGS sync.";
861const char kEnableSyncPseudoUSSExtensionSettingsDescription[] =
862 "Enable new USS-based codepath for sync datatypes EXTENSION_SETTINGS and "
863 "APP_SETTINGS.";
864
865const char kEnableSyncPseudoUSSExtensionsName[] =
866 "Enable pseudo-USS for EXTENSIONS sync.";
867const char kEnableSyncPseudoUSSExtensionsDescription[] =
868 "Enable new USS-based codepath for sync datatype EXTENSIONS.";
869
870const char kEnableSyncPseudoUSSFaviconsName[] =
871 "Enable pseudo-USS for favicon sync.";
872const char kEnableSyncPseudoUSSFaviconsDescription[] =
873 "Enable new USS-based codepath for sync datatypes FAVICON_IMAGES and "
874 "FAVICON_TRACKING.";
875
876const char kEnableSyncPseudoUSSHistoryDeleteDirectivesName[] =
877 "Enable pseudo-USS for HISTORY_DELETE_DIRECTIVES sync.";
878const char kEnableSyncPseudoUSSHistoryDeleteDirectivesDescription[] =
879 "Enable new USS-based codepath for sync datatype "
880 "HISTORY_DELETE_DIRECTIVES.";
881
882const char kEnableSyncPseudoUSSPasswordsName[] =
883 "Enable pseudo-USS for PASSWORDS sync.";
884const char kEnableSyncPseudoUSSPasswordsDescription[] =
885 "Enable new USS-based codepath for sync datatype PASSWORDS (pseudo-USS).";
886
887const char kEnableSyncPseudoUSSPreferencesName[] =
888 "Enable pseudo-USS for PREFERENCES sync.";
889const char kEnableSyncPseudoUSSPreferencesDescription[] =
890 "Enable new USS-based codepath for sync datatype PREFERENCES.";
891
892const char kEnableSyncPseudoUSSPriorityPreferencesName[] =
893 "Enable pseudo-USS for PRIORITY_PREFERENCES sync.";
894const char kEnableSyncPseudoUSSPriorityPreferencesDescription[] =
895 "Enable new USS-based codepath for sync datatype PRIORITY_PREFERENCES.";
896
897const char kEnableSyncPseudoUSSSearchEnginesName[] =
898 "Enable pseudo-USS for SEARCH_ENGINES sync.";
899const char kEnableSyncPseudoUSSSearchEnginesDescription[] =
900 "Enable new USS-based codepath for sync datatype SEARCH_ENGINES.";
901
902const char kEnableSyncPseudoUSSSupervisedUsersName[] =
903 "Enable pseudo-USS for supervised users sync.";
904const char kEnableSyncPseudoUSSSupervisedUsersDescription[] =
905 "Enable new USS-based codepath for sync datatypes SUPERVISED_USER_SETTINGS "
906 "and SUPERVISED_USER_WHITELISTS.";
907
908const char kEnableSyncPseudoUSSThemesName[] =
909 "Enable pseudo-USS for THEMES sync.";
910const char kEnableSyncPseudoUSSThemesDescription[] =
911 "Enable new USS-based codepath for sync datatype THEMES.";
912
Mohamed Amir Yosef0178fa892018-07-23 17:43:52913const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
914const char kEnableSyncUSSBookmarksDescription[] =
915 "Enables the new, experimental implementation of bookmark sync";
916
Mohamed Amir Yosef3074dfc2019-02-06 18:34:43917const char kEnableSyncUSSPasswordsName[] = "Enable USS for passwords sync";
918const char kEnableSyncUSSPasswordsDescription[] =
919 "Enables the new, experimental implementation of passwords sync";
920
Mikel Astiz38837f82018-04-24 22:23:23921const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
922const char kEnableSyncUSSSessionsDescription[] =
923 "Enables the new, experimental implementation of session sync (aka tab "
924 "sync).";
925
David Bokane9370c22019-02-14 15:19:58926const char kEnableTextFragmentAnchorName[] = "Enable Text Fragment Anchor.";
927const char kEnableTextFragmentAnchorDescription[] =
928 "Enables scrolling to text specified in URL's fragment.";
929
Brett Wilsonf27ff602017-07-07 22:28:47930const char kEnableUseZoomForDsfName[] =
931 "Use Blink's zoom for device scale factor.";
932const char kEnableUseZoomForDsfDescription[] =
933 "If enabled, Blink uses its zooming mechanism to scale content for device "
934 "scale factor.";
935const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
936const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
937const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
938
Patrick Noland8ee016e2018-01-24 11:44:53939const char kEnableScrollAnchorSerializationName[] =
940 "Scroll Anchor Serialization";
941const char kEnableScrollAnchorSerializationDescription[] =
942 "Save the scroll anchor and use it to restore the scroll position when "
943 "navigating.";
944
Brad Nelson5cd500e2018-01-04 00:50:19945const char kEnableSharedArrayBufferName[] =
946 "Experimental enabled SharedArrayBuffer support in JavaScript.";
947const char kEnableSharedArrayBufferDescription[] =
948 "Enable SharedArrayBuffer support in JavaScript.";
949
Brett Wilsonf27ff602017-07-07 22:28:47950const char kEnableWasmName[] = "WebAssembly structured cloning support.";
951const char kEnableWasmDescription[] =
952 "Enable web pages to use WebAssembly structured cloning.";
953
Lei Zhang0ca70ea2018-09-07 17:51:01954const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47955 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01956const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47957 "Enable the cloud-assisted pairingless BLE protocol for use with "
958 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54959
Brett Wilsonf27ff602017-07-07 22:28:47960const char kEnableImageCaptureAPIName[] = "Image Capture API";
961const char kEnableImageCaptureAPIDescription[] =
962 "Enables the Web Platform Image Capture API: takePhoto(), "
963 "getPhotoCapabilities(), etc.";
964
Ramin Halavatic158b182018-10-18 14:04:54965const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
966const char kEnableIncognitoWindowCounterDescription[] =
967 "Shows the count of Incognito windows next to the Incognito icon on the "
968 "toolbar.";
969
Brett Wilsonf27ff602017-07-07 22:28:47970const char kEnableZeroSuggestRedirectToChromeName[] =
971 "Experimental contextual omnibox suggestion";
972const char kEnableZeroSuggestRedirectToChromeDescription[] =
973 "Change omnibox contextual suggestions to an experimental source. Note "
974 "that this is not an on/off switch for contextual omnibox and it only "
975 "applies to suggestions provided before the user starts typing a URL or a "
976 "search query (i.e. zero suggest).";
977
Clemens Hammacher0c8a15a2018-04-27 13:45:32978const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
979const char kEnableWasmBaselineDescription[] =
980 "Enables WebAssembly baseline compilation and tier up.";
981
Bill Budged0dace172019-02-10 00:46:21982const char kEnableWasmCodeCacheName[] = "WebAssembly compiled module cache";
983const char kEnableWasmCodeCacheDescription[] =
984 "Enables caching of compiled WebAssembly modules.";
985
Ben Smith24c1e5c2018-06-20 01:09:02986const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
987const char kEnableWasmThreadsDescription[] =
988 "Enables support for the WebAssembly Threads proposal. Implies "
989 "#shared-array-buffer and #enable-webassembly.";
990
Brett Wilsonf27ff602017-07-07 22:28:47991const char kExpensiveBackgroundTimerThrottlingName[] =
992 "Throttle expensive background timers";
993const char kExpensiveBackgroundTimerThrottlingDescription[] =
994 "Enables intervention to limit CPU usage of background timers to 1%.";
995
996const char kExperimentalAppBannersName[] = "Experimental app banners";
997const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38998 "Enables a new experimental app banner flow and UI. Implies "
999 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:471000
1001const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
1002const char kExperimentalCanvasFeaturesDescription[] =
1003 "Enables the use of experimental canvas features which are still in "
1004 "development.";
1005
1006const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
1007const char kExperimentalExtensionApisDescription[] =
1008 "Enables experimental extension APIs. Note that the extension gallery "
1009 "doesn't allow you to upload extensions that use experimental APIs.";
1010
Ian Clelland37a985d2018-05-04 02:43:131011const char kExperimentalProductivityFeaturesName[] =
1012 "Experimental Productivity Features";
1013const char kExperimentalProductivityFeaturesDescription[] =
1014 "Enable support for experimental developer productivity features, such as "
1015 "Layered APIs and policies for avoiding slow rendering.";
1016
Brett Wilsonf27ff602017-07-07 22:28:471017const char kExperimentalSecurityFeaturesName[] =
1018 "Potentially annoying security features";
1019const char kExperimentalSecurityFeaturesDescription[] =
1020 "Enables several security features that will likely break one or more "
1021 "pages that you visit on a daily basis. Strict mixed content checking, for "
1022 "example. And locking powerful features to secure contexts. This flag will "
1023 "probably annoy you.";
1024
1025const char kExperimentalWebPlatformFeaturesName[] =
1026 "Experimental Web Platform features";
1027const char kExperimentalWebPlatformFeaturesDescription[] =
1028 "Enables experimental Web Platform features that are in development.";
1029
1030const char kExtensionContentVerificationName[] =
1031 "Extension Content Verification";
1032const char kExtensionContentVerificationDescription[] =
1033 "This flag can be used to turn on verification that the contents of the "
1034 "files on disk for extensions from the webstore match what they're "
1035 "expected to be. This can be used to turn on this feature if it would not "
1036 "otherwise have been turned on, but cannot be used to turn it off (because "
1037 "this setting can be tampered with by malware).";
1038const char kExtensionContentVerificationBootstrap[] =
1039 "Bootstrap (get expected hashes, but do not enforce them)";
1040const char kExtensionContentVerificationEnforce[] =
1041 "Enforce (try to get hashes, and enforce them if successful)";
1042const char kExtensionContentVerificationEnforceStrict[] =
1043 "Enforce strict (hard fail if we can't get hashes)";
1044
1045const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
1046const char kExtensionsOnChromeUrlsDescription[] =
1047 "Enables running extensions on chrome:// URLs, where extensions explicitly "
1048 "request this permission.";
galinapae72e152017-05-12 13:12:281049
Brett Wilsonecb80982017-07-12 20:34:511050const char kFeaturePolicyName[] = "Feature Policy";
1051const char kFeaturePolicyDescription[] =
1052 "Enables granting and removing access to features through the "
1053 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:341054
Brett Wilsonecb80982017-07-12 20:34:511055const char kFontCacheScalingName[] = "FontCache scaling";
1056const char kFontCacheScalingDescription[] =
1057 "Reuse a cached font in the renderer to serve different sizes of font for "
1058 "faster layout.";
1059
1060const char kForceEffectiveConnectionTypeName[] =
1061 "Override effective connection type";
1062const char kForceEffectiveConnectionTypeDescription[] =
1063 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:301064 "returned by the network quality estimator. Slow 2G on Cellular returns "
1065 "Slow 2G when connected to a cellular network, and the actual estimate "
1066 "effective connection type when not on a cellular network. Previews are "
1067 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:511068const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
1069const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
1070const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:301071const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
1072 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:511073const char kEffectiveConnectionType2GDescription[] = "2G";
1074const char kEffectiveConnectionType3GDescription[] = "3G";
1075const char kEffectiveConnectionType4GDescription[] = "4G";
1076
1077const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1078const char kFillOnAccountSelectDescription[] =
1079 "Filling of passwords when an account is explicitly selected by the user "
1080 "rather than autofilling credentials on page load.";
1081
jdoerrie11c5f4f2019-02-04 18:29:181082const char kFillOnAccountSelectHttpName[] =
1083 "Fill passwords on account selection on HTTP origins";
1084const char kFillOnAccountSelectHttpDescription[] =
1085 "Filling of passwords when an account is explicitly selected by the user "
1086 "rather than autofilling credentials on page load on HTTP origins.";
1087
Brett Wilsonecb80982017-07-12 20:34:511088const char kForceTextDirectionName[] = "Force text direction";
1089const char kForceTextDirectionDescription[] =
1090 "Explicitly force the per-character directionality of UI text to "
1091 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
1092 "direction of the character language.";
1093const char kForceDirectionLtr[] = "Left-to-right";
1094const char kForceDirectionRtl[] = "Right-to-left";
1095
1096const char kForceUiDirectionName[] = "Force UI direction";
1097const char kForceUiDirectionDescription[] =
1098 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1099 "mode, overriding the default direction of the UI language.";
1100
1101const char kFramebustingName[] =
1102 "Framebusting requires same-origin or a user gesture";
1103const char kFramebustingDescription[] =
1104 "Don't permit an iframe to navigate the top level browsing context unless "
1105 "they are same-origin or the iframe is processing a user gesture.";
1106
Matt Reynolds043469f2018-05-01 22:56:581107const char kGamepadVibrationName[] = "Gamepad Vibration";
1108const char kGamepadVibrationDescription[] =
1109 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511110
Brett Wilsonecb80982017-07-12 20:34:511111const char kGpuRasterizationName[] = "GPU rasterization";
1112const char kGpuRasterizationDescription[] =
1113 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281114const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511115
Ioana Pandele1ed7ef72018-11-21 15:22:031116const char kGooglePasswordManagerName[] = "Google Password Manager UI";
1117const char kGooglePasswordManagerDescription[] =
1118 "Enables access to the Google Password Manager UI from Chrome.";
1119
Brett Wilsonecb80982017-07-12 20:34:511120const char kGoogleProfileInfoName[] = "Google profile name and icon";
1121const char kGoogleProfileInfoDescription[] =
1122 "Enables using Google information to populate the profile name and icon in "
1123 "the avatar menu.";
1124
Takumi Fujimotofb71e332018-03-31 14:04:081125const char kViewsCastDialogName[] = "Views Cast dialog";
1126const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311127 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531128 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541129 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081130
Gabrielle Paladoaebf7ca2019-01-16 07:07:061131const char kHandwritingGestureName[] = "Handwriting Gestures";
1132const char kHandwritingGestureDescription[] =
1133 "Enables handwriting gestures within the virtual keyboard";
1134
Tommy Steimel1aadd7b2019-01-18 19:39:421135const char kHardwareMediaKeyHandling[] = "Hardware Media Key Handling";
1136const char kHardwareMediaKeyHandlingDescription[] =
1137 "Enables using media keys to control the active media session. This "
1138 "requires MediaSessionService to be enabled too";
1139
Manu Cornet4a908de2018-04-09 04:32:271140const char kHideActiveAppsFromShelfName[] =
1141 "Hide running apps (that are not pinned) from the shelf";
1142const char kHideActiveAppsFromShelfDescription[] =
1143 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251144
Brett Wilsonecb80982017-07-12 20:34:511145const char kHistoryRequiresUserGestureName[] =
1146 "New history entries require a user gesture.";
1147const char kHistoryRequiresUserGestureDescription[] =
1148 "Require a user gesture to add a history entry.";
1149const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1150const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1151
Ryan Landay4242dbc22018-04-04 01:47:331152const char kHorizontalTabSwitcherAndroidName[] =
1153 "Enable horizontal tab switcher";
1154const char kHorizontalTabSwitcherAndroidDescription[] =
1155 "Changes the layout of the Android tab switcher so tabs scroll "
1156 "horizontally instead of vertically.";
1157
Matt Simmons2048b2a2018-12-20 20:12:561158const char kTabSwitcherOnReturnName[] = "Enable tab switcher on return";
1159const char kTabSwitcherOnReturnDescription[] =
1160 "Enable tab switcher on return after specified time has elapsed";
1161
Brett Wilsonecb80982017-07-12 20:34:511162const char kHostedAppQuitNotificationName[] =
1163 "Quit notification for hosted apps";
1164const char kHostedAppQuitNotificationDescription[] =
1165 "Display a notification when quitting Chrome if hosted apps are currently "
1166 "running.";
1167
1168const char kHostedAppShimCreationName[] =
1169 "Creation of app shims for hosted apps on Mac";
1170const char kHostedAppShimCreationDescription[] =
1171 "Create app shims on Mac when creating a hosted app.";
1172
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481173const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1174const char kHtmlBasedUsernameDetectorDescription[] =
1175 "Use HTML-based username detector for the password manager.";
1176
Brett Wilsonecb80982017-07-12 20:34:511177const char kIconNtpName[] = "Large icons on the New Tab page";
1178const char kIconNtpDescription[] =
1179 "Enable the experimental New Tab page using large icons.";
1180
1181const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1182const char kIgnoreGpuBlacklistDescription[] =
1183 "Overrides the built-in software rendering list and enables "
1184 "GPU-acceleration on unsupported system configurations.";
1185
Ryan Sturm8c3dbc92018-06-26 19:22:371186const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441187const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371188 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441189
Alexandre Frechetted3e1b542018-12-13 14:40:501190const char kImprovedGeoLanguageDataName[] = "Improved Geo-language Data";
1191const char kImprovedGeoLanguageDataDescription[] =
1192 "Makes the GeoLanguageModel use higher quality, more refined ULP "
1193 "geo-language data.";
1194
Brett Wilsonecb80982017-07-12 20:34:511195const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1196const char kInProductHelpDemoModeChoiceDescription[] =
1197 "Selects the In-Product Help demo mode.";
1198
1199const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1200const char kJavascriptHarmonyDescription[] =
1201 "Enable web pages to use experimental JavaScript features.";
1202
1203const char kJavascriptHarmonyShippingName[] =
1204 "Latest stable JavaScript features";
1205const char kJavascriptHarmonyShippingDescription[] =
1206 "Some web pages use legacy or non-standard JavaScript extensions that may "
1207 "conflict with the latest JavaScript features. This flag allows disabling "
1208 "support of those features for compatibility with such pages.";
1209
gogeraldfd7675d2018-06-19 22:57:351210const char kJustInTimeServiceWorkerPaymentAppName[] =
1211 "Just-in-time service worker payment app";
1212const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1213 "Allow crawling just-in-time service worker payment app when there is no "
1214 "installed service worker payment app for a payment request.";
1215
Yutaka Hiranof7f2f632017-09-06 10:40:081216const char kKeepAliveRendererForKeepaliveRequestsName[] =
1217 "Keep a renderer alive for keepalive fetch requests";
1218const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1219 "Keep a render process alive when the process has a pending fetch request "
1220 "with `keepalive' specified.";
1221
Joe Downing095fd6d2018-02-01 18:40:361222const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1223const char kKeyboardLockApiDescription[] =
1224 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1225 "specific key events and have them routed directly to the webpage when in "
1226 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1227
Brett Wilsonecb80982017-07-12 20:34:511228const char kLcdTextName[] = "LCD text antialiasing";
1229const char kLcdTextDescription[] =
1230 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1231 "(subpixel) when doing accelerated compositing.";
1232
1233const char kLoadMediaRouterComponentExtensionName[] =
1234 "Load Media Router Component Extension";
1235const char kLoadMediaRouterComponentExtensionDescription[] =
1236 "Loads the Media Router component extension at startup.";
1237
Mustafa Emre Acer137dc8b2018-08-29 20:38:131238const char kLookalikeUrlNavigationSuggestionsName[] =
1239 "Navigation suggestions for lookalike URLs";
1240const char kLookalikeUrlNavigationSuggestionsDescription[] =
1241 "Enable navigation suggestions for URLs that are visually similar to "
1242 "popular domains or to domains with a site engagement score.";
1243
Brett Wilsonecb80982017-07-12 20:34:511244const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1245const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511246
Lei Zhang2eca9082017-10-17 20:42:501247const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1248const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511249 "If enabled, the Incognito New Tab page uses the new material design with "
1250 "a better readable text.";
1251
spqchanb87755692018-04-05 00:46:091252const char kMediaRouterCastAllowAllIPsName[] =
1253 "Connect to Cast devices on all IP addresses";
1254const char kMediaRouterCastAllowAllIPsDescription[] =
1255 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311256 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091257
Brett Wilsonecb80982017-07-12 20:34:511258const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1259const char kMessageCenterNewStyleNotificationDescription[] =
1260 "Enables the experiment style of material-design notification";
1261
Brett Wilsonecb80982017-07-12 20:34:511262const char kNewAudioRenderingMixingStrategyName[] =
1263 "New audio rendering mixing strategy";
1264const char kNewAudioRenderingMixingStrategyDescription[] =
1265 "Use the new audio rendering mixing strategy.";
1266
1267const char kNewBookmarkAppsName[] = "The new bookmark app system";
1268const char kNewBookmarkAppsDescription[] =
1269 "Enables the new system for creating bookmark apps.";
1270
Vadym Doroshenkocd4ff782018-07-24 13:41:021271const char kNewPasswordFormParsingName[] =
1272 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241273const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021274 "Replaces existing form parsing for filling in password manager with a new "
1275 "version, currently under development. WARNING: when enabled, Password "
1276 "Manager might stop working";
1277
1278const char kNewPasswordFormParsingForSavingName[] =
1279 "New password form parsing for saving passwords";
1280const char kNewPasswordFormParsingForSavingDescription[] =
1281 "Replaces existing form parsing for saving in password manager with a new "
1282 "version, currently under development. WARNING: when enabled, Password "
1283 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241284
CJ DiMeglio7b4a199f2017-11-30 01:26:501285const char kUseSurfaceLayerForVideoName[] =
1286 "Enable the use of SurfaceLayer objects for videos.";
1287const char kUseSurfaceLayerForVideoDescription[] =
1288 "Enable compositing onto a Surface instead of a VideoLayer "
1289 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511290
1291const char kNewUsbBackendName[] = "Enable new USB backend";
1292const char kNewUsbBackendDescription[] =
1293 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341294
Sonny Sasaka2d200432018-03-22 17:43:161295const char kNewblueName[] = "Newblue";
1296const char kNewblueDescription[] =
1297 "Enables the use of newblue Bluetooth daemon.";
1298
Peter Boström7df25c72018-12-12 06:40:191299const char kNewTabLoadingAnimation[] = "New tab-loading animation";
1300const char kNewTabLoadingAnimationDescription[] =
1301 "Enables a new look for the tab-loading animation.";
1302
Peter Kasting63097912018-06-30 02:09:031303const char kNewTabButtonPosition[] = "New tab button position";
1304const char kNewTabButtonPositionDescription[] =
1305 "Controls placement of the new tab button within the tabstrip.";
1306const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1307const char kNewTabButtonPositionLeading[] = "Leading";
1308const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1309const char kNewTabButtonPositionTrailing[] = "Trailing";
1310
Egor Pasko6fed3822018-05-30 10:33:141311const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341312const char kNostatePrefetchDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:061313 "If enabled, pre-downloads resources to improve page load speed.";
vabr0215a8e2017-03-28 12:47:341314
Alex Newcomerd7b0cc42018-05-25 22:58:481315const char kNotificationIndicatorName[] = "Notification Indicators";
1316const char kNotificationIndicatorDescription[] =
1317 "Enable notification indicators, which appear on app icons when a "
1318 "notification is active. This will also enable notifications in context "
1319 "menus.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1322const char kNotificationsNativeFlagDescription[] =
1323 "Enable support for using the native notification toasts and notification "
1324 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341325
Valeriya Sinevich972ac122018-09-05 07:33:191326const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1327const char kUseMultiloginEndpointDescription[] =
1328 "Use Gaia OAuth multilogin for identity consistency.";
1329
Zentaro Kavanaghbad511c2017-10-18 22:29:001330#if defined(OS_POSIX)
1331const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1332const char kNtlmV2EnabledDescription[] =
1333 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1334#endif
1335
Brett Wilsonecb80982017-07-12 20:34:511336const char kOfferStoreUnmaskedWalletCardsName[] =
1337 "Google Payments card saving checkbox";
1338const char kOfferStoreUnmaskedWalletCardsDescription[] =
1339 "Show the checkbox to offer local saving of a credit card downloaded from "
1340 "the server.";
1341
1342const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1343const char kOfflineAutoReloadDescription[] =
1344 "Pages that fail to load while the browser is offline will be "
1345 "auto-reloaded when the browser is online again.";
1346
1347const char kOfflineAutoReloadVisibleOnlyName[] =
1348 "Only Auto-Reload Visible Tabs";
1349const char kOfflineAutoReloadVisibleOnlyDescription[] =
1350 "Pages that fail to load while the browser is offline will only be "
1351 "auto-reloaded if their tab is visible.";
1352
Brett Wilsonecb80982017-07-12 20:34:511353const char kOmniboxDisplayTitleForCurrentUrlName[] =
1354 "Include title for the current URL in the omnibox";
1355const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1356 "In the event that the omnibox provides suggestions on-focus, the URL of "
1357 "the current page is provided as the first suggestion without a title. "
1358 "Enabling this flag causes the title to be displayed.";
1359
manuk2e55a7b2019-02-12 20:08:231360const char kOmniboxMaterialDesignWeatherIconsName[] =
1361 "Omnibox Material Design Weather Icons";
1362const char kOmniboxMaterialDesignWeatherIconsDescription[] =
1363 "Use material design weather icons in the omnibox when displaying weather "
1364 "answers.";
1365
Tomasz Wiszkowskic87dff12019-01-15 02:57:511366const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
1367const char kOmniboxNewAnswerLayoutDescription[] =
1368 "Modernize omnibox answers using an enhanced layout with larger icons.";
1369
Tomasz Wiszkowskic7fd5bed2019-02-11 17:33:231370const char kOmniboxRichEntitySuggestionsName[] =
1371 "Omnibox rich entity suggestions";
1372const char kOmniboxRichEntitySuggestionsDescription[] =
1373 "Display entity suggestions using images and an enhanced layout; showing "
1374 "more context and descriptive text about the entity. Has no effect unless "
1375 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
1376 "flag is set to Refresh or Touchable Refresh.";
1377
Benoit Lizeab08362c2017-07-19 14:50:541378const char kOmniboxSpareRendererName[] =
1379 "Start spare renderer on omnibox focus";
1380const char kOmniboxSpareRendererDescription[] =
1381 "When the omnibox is focused, start an empty spare renderer. This can "
1382 "speed up the load of the navigation from the omnibox.";
1383
Tommy C. Lie4194b732018-09-28 22:21:511384const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1385 "Omnibox UI Hide Steady-State URL Scheme";
1386const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1387 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361388 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511389
Tommy C. Lib20aec72018-11-19 21:38:231390const char kOmniboxUIOneClickUnelideName[] = "Omnibox UI One Click Unelide";
1391const char kOmniboxUIOneClickUnelideDescription[] =
1392 "In the omnibox, undo all unelisions with a single click or focus action.";
1393
Tommy C. Lie4194b732018-09-28 22:21:511394const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1395 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1396const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1397 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361398 "Hidden portions are restored during editing.";
1399
1400const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1401 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1402const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1403 "In the omnibox, hide the path, query and ref from steady state displayed "
1404 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121405
Brett Wilsonecb80982017-07-12 20:34:511406const char kOmniboxUIMaxAutocompleteMatchesName[] =
1407 "Omnibox UI Max Autocomplete Matches";
1408
1409const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1410 "Changes the maximum number of autocomplete matches displayed in the "
1411 "Omnibox UI.";
1412
Tommy C. Liba4e66ef2019-02-12 21:33:281413const char kOmniboxUIShowSuggestionFaviconsName[] =
1414 "Omnibox UI Show Suggestion Favicons";
1415const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1416 "Shows favicons instead of generic vector icons for URL suggestions in the "
1417 "Omnibox dropdown.";
1418
Justin Donnelly65c9e8b2017-10-01 05:15:011419const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1420const char kOmniboxUISwapTitleAndUrlDescription[] =
1421 "In the omnibox dropdown, shows titles before URLs when both are "
1422 "available.";
1423
Tommy C. Lia737d3e82019-02-13 23:06:141424const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1425const char kOmniboxUIVerticalMarginDescription[] =
1426 "Changes the vertical margin in the Omnibox UI.";
1427
Troy Hildebrandtb32637ca2018-02-21 23:25:091428const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1429 "Omnibox Voice Search Always Visible";
1430const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1431 "Always displays voice search icon in focused omnibox as long as voice "
1432 "search is possible";
1433
Vadym Doroshenko6b8f64d2018-11-26 15:35:391434const char kOnlyNewPasswordFormParsingName[] =
1435 "Use only new password form parsing";
1436const char kOnlyNewPasswordFormParsingDescription[] =
1437 "The old password form parsing is disabled";
1438
Mark Lieufaa1b762019-01-08 19:37:281439const char kOnTheFlyMhtmlHashComputationName[] =
1440 "On-The-Fly MHTML Hash Computation";
1441const char kOnTheFlyMhtmlHashComputationDescription[] =
1442 "Save MHTML files to the target location and calculate their content "
1443 "digests in one step.";
1444
Adrienne Walkerc87477e2018-06-06 22:28:211445const char kOopRasterizationName[] = "Out of process rasterization";
1446const char kOopRasterizationDescription[] =
1447 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1448 "Must also enable GPU rasterization";
1449
Brett Wilsonecb80982017-07-12 20:34:511450const char kOriginTrialsName[] = "Origin Trials";
1451const char kOriginTrialsDescription[] =
1452 "Enables origin trials for controlling access to feature/API experiments.";
1453
Becca Hughes930d8cd2017-10-02 11:09:121454const char kOverflowIconsForMediaControlsName[] =
1455 "Icons on Media Controls Overflow Menu";
1456const char kOverflowIconsForMediaControlsDescription[] =
1457 "Displays icons on the overflow menu of the native media controls";
1458
Brett Wilsonecb80982017-07-12 20:34:511459const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1460const char kOverlayScrollbarsDescription[] =
1461 "Enable the experimental overlay scrollbars implementation. You must also "
1462 "enable threaded compositing to have the scrollbars animate.";
1463
chaopenge8aa016b2017-08-24 15:20:191464const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1465 "Flash Overlay Scrollbars After Any Scroll Update";
1466const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1467 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1468 " must also enable Overlay Scrollbars.";
1469
chaopeng343678022017-08-24 18:45:001470const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1471 "Flash Overlay Scrollbars When Mouse Enter";
1472const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1473 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1474 " enable Overlay Scrollbars.";
1475
Daniele Castagna74ddb9c2018-06-21 22:59:021476const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1477const char kOverlayStrategiesDescription[] =
1478 "Select strategies used to promote quads to HW overlays.";
1479const char kOverlayStrategiesDefault[] = "Default";
1480const char kOverlayStrategiesNone[] = "None";
1481const char kOverlayStrategiesUnoccludedFullscreen[] =
1482 "Unoccluded fullscreen buffers (single-fullscreen)";
1483const char kOverlayStrategiesUnoccluded[] =
1484 "Unoccluded buffers (single-fullscreen,single-on-top)";
1485const char kOverlayStrategiesOccludedAndUnoccluded[] =
1486 "Occluded and unoccluded buffers "
1487 "(single-fullscreen,single-on-top,underlay)";
1488
Claudio Magni81326f92017-09-01 05:21:181489const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1490const char kUseNewAcceptLanguageHeaderDescription[] =
1491 "Adds the base language code after other corresponding language+region "
1492 "codes. This ensures that users receive content in their preferred "
1493 "language.";
1494
Brett Wilsonecb80982017-07-12 20:34:511495const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1496const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481497 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511498
1499const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1500const char kOverscrollStartThresholdDescription[] =
1501 "Changes overscroll start threshold relative to the default value.";
1502const char kOverscrollStartThreshold133Percent[] = "133%";
1503const char kOverscrollStartThreshold166Percent[] = "166%";
1504const char kOverscrollStartThreshold200Percent[] = "200%";
1505
chaopenge2b6e5f2018-05-08 16:40:451506const char kTouchpadOverscrollHistoryNavigationName[] =
1507 "Overscroll history navigation on Touchpad";
1508const char kTouchpadOverscrollHistoryNavigationDescription[] =
1509 "Allows swipe left/right from touchpad change browser navigation.";
1510
Xing Liu5400a002017-09-15 21:48:291511const char kParallelDownloadingName[] = "Parallel downloading";
1512const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061513 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291514
Brett Wilsonecb80982017-07-12 20:34:511515const char kPassiveEventListenerDefaultName[] =
1516 "Passive Event Listener Override";
1517const char kPassiveEventListenerDefaultDescription[] =
1518 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1519 "haven't requested otherwise) to be treated as passive. This will break "
1520 "touch/wheel behavior on some websites but is useful for demonstrating the "
1521 "potential performance benefits of adopting passive event listeners.";
1522const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1523const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1524
1525const char kPassiveEventListenersDueToFlingName[] =
1526 "Touch Event Listeners Passive Default During Fling";
1527const char kPassiveEventListenersDueToFlingDescription[] =
1528 "Forces touchstart, and first touchmove per scroll event listeners during "
1529 "fling to be treated as passive.";
1530
1531const char kPassiveDocumentEventListenersName[] =
1532 "Document Level Event Listeners Passive Default";
1533const char kPassiveDocumentEventListenersDescription[] =
1534 "Forces touchstart, and touchmove event listeners on document level "
1535 "targets (which haven't requested otherwise) to be treated as passive.";
1536
Sahel Sharify7400e882018-08-13 17:13:211537const char kPassiveDocumentWheelEventListenersName[] =
1538 "Document Level Wheel Event Listeners Passive Default";
1539const char kPassiveDocumentWheelEventListenersDescription[] =
1540 "Forces wheel, and mousewheel event listeners on document level targets "
1541 "(which haven't requested otherwise) to be treated as passive.";
1542
Vaclav Brozekd8a3f542017-11-16 14:21:131543const char kPasswordImportName[] = "Password import";
1544const char kPasswordImportDescription[] =
1545 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511546
Friedrich Horschige6c27742018-04-23 17:13:411547const char kPasswordsKeyboardAccessoryName[] =
1548 "Add password-related functions to keyboard accessory";
1549const char kPasswordsKeyboardAccessoryDescription[] =
1550 "Adds password generation button and toggle for the passwords bottom sheet "
1551 "to the keyboard accessory. Replaces password generation popups.";
1552
Christos Froussios6e060c42018-07-31 16:17:191553const char kPasswordsMigrateLinuxToLoginDBName[] =
1554 "Migrate passwords to \"Login Data\"";
1555const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591556 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191557 "gnome-keyring or kwallet into the profile directory.";
1558
Rouslan Solomakhinded840112018-11-02 13:27:101559const char kPerMethodCanMakePaymentQuotaName[] =
1560 "Per-method canMakePayment() quota.";
1561const char kPerMethodCanMakePaymentQuotaDescription[] =
1562 "Allow calling canMakePayment() for different payment methods, as long as "
1563 "method-specific parameters remain unchanged.";
1564
Brett Wilsonecb80982017-07-12 20:34:511565const char kPinchScaleName[] = "Pinch scale";
1566const char kPinchScaleDescription[] =
1567 "Enables experimental support for scale using pinch.";
1568
Doug Arnett620ff542018-02-06 17:54:221569const char kPreviewsAllowedName[] = "Previews Allowed";
1570const char kPreviewsAllowedDescription[] =
1571 "Allows previews to be shown subject to specific preview types being "
1572 "enabled and the client experiencing specific triggering conditions. "
1573 "May be used as a kill-switch to turn off all potential preview types.";
1574
Brett Wilsonecb80982017-07-12 20:34:511575const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1576const char kPrintPdfAsImageDescription[] =
1577 "If enabled, an option to print PDF files as images will be available in "
1578 "print preview.";
1579
1580const char kPrintPreviewRegisterPromosName[] =
1581 "Print Preview Registration Promos";
1582const char kPrintPreviewRegisterPromosDescription[] =
1583 "Enable registering unregistered cloud printers from print preview.";
1584
1585const char kProtectSyncCredentialName[] = "Autofill sync credential";
1586const char kProtectSyncCredentialDescription[] =
1587 "How the password manager handles autofill for the sync credential.";
1588
1589const char kProtectSyncCredentialOnReauthName[] =
1590 "Autofill sync credential only for transactional reauth pages";
1591const char kProtectSyncCredentialOnReauthDescription[] =
1592 "How the password manager handles autofill for the sync credential only "
1593 "for transactional reauth pages.";
1594
Mohsen Izadi93faac12017-07-29 04:45:151595const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1596const char kPullToRefreshDescription[] =
1597 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011598const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151599
Troy Hildebrandt7228ad12018-02-23 21:18:241600const char kQueryInOmniboxName[] = "Query in Omnibox";
1601const char kQueryInOmniboxDescription[] =
1602 "Only display query terms in the omnibox when viewing a search results "
1603 "page.";
1604
Brett Wilsonecb80982017-07-12 20:34:511605const char kQuicName[] = "Experimental QUIC protocol";
1606const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1607
Emily Starke8878d52018-05-11 21:27:261608const char kRecurrentInterstitialName[] =
1609 "Show a message when the same SSL error recurs";
1610const char kRecurrentInterstitialDescription[] =
1611 "Enable a special message on the SSL certificate error page when the same "
1612 "SSL error occurs repeatedly.";
1613
Brett Wilsonecb80982017-07-12 20:34:511614const char kReducedReferrerGranularityName[] =
1615 "Reduce default 'referer' header granularity.";
1616const char kReducedReferrerGranularityDescription[] =
1617 "If a page hasn't set an explicit referrer policy, setting this flag will "
1618 "reduce the amount of information in the 'referer' header for cross-origin "
1619 "requests.";
1620
Lei Zhang0ca70ea2018-09-07 17:51:011621const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581622 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011623const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581624 "This flag allows regional locales to be selected as display UI by the "
1625 "user in Language Settings. The actual locale of the system is derived "
1626 "from the user selection based on some simple fallback logic.";
1627
Christian Dullweber3cc579a22018-09-11 10:54:441628const char kRewriteLevelDBOnDeletionName[] =
1629 "Rewrite LevelDB instances after full deletions";
1630const char kRewriteLevelDBOnDeletionDescription[] =
1631 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1632
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351633const char kRendererSideResourceSchedulerName[] =
1634 "Renderer side ResourceScheduler";
1635const char kRendererSideResourceSchedulerDescription[] =
1636 "Migrate some ResourceScheduler functionalities to renderer";
1637
Brett Wilsonecb80982017-07-12 20:34:511638const char kRequestTabletSiteName[] =
1639 "Request tablet site option in the settings menu";
1640const char kRequestTabletSiteDescription[] =
1641 "Allows the user to request tablet site. Web content is often optimized "
1642 "for tablet devices. When this option is selected the user agent string is "
1643 "changed to indicate a tablet device. Web content optimized for tablets is "
1644 "received there after for the current tab.";
1645
1646const char kResetAppListInstallStateName[] =
1647 "Reset the App Launcher install state on every restart.";
1648const char kResetAppListInstallStateDescription[] =
1649 "Reset the App Launcher install state on every restart. While this flag is "
1650 "set, Chrome will forget the launcher has been installed each time it "
1651 "starts. This is used for testing the App Launcher install flow.";
1652
Kinuko Yasuda33955082018-06-19 10:14:591653const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511654const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591655 "Uses the resource load scheduler in blink to throttle resource load "
1656 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511657
Daniel Rubery91874e32019-01-10 22:12:341658const char kSafeBrowsingUseAPDownloadVerdictsName[] =
1659 "Request Advanced Protection verdicts when inspecting downloads";
1660const char kSafeBrowsingUseAPDownloadVerdictsDescription[] =
1661 "If enabled, download protection will request Advanced Protection "
1662 "verdicts from Safe Browsing. These will provide stronger protections "
1663 "from files Safe Browsing is unsure about.";
1664
Brett Wilsonecb80982017-07-12 20:34:511665const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1666const char kSafeSearchUrlReportingDescription[] =
1667 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1668
Alexei Filippov98772752018-01-27 08:26:521669const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1670const char kSamplingHeapProfilerDescription[] =
1671 "Enables native memory sampling profiler with specified rate in KiB. "
1672 "If sampling rate is not provided the default value of 128 KiB is used.";
1673
Brett Wilsonecb80982017-07-12 20:34:511674const char kSaveasMenuLabelExperimentName[] =
1675 "Switch 'Save as' menu labels to 'Download'";
1676const char kSaveasMenuLabelExperimentDescription[] =
1677 "Enables an experiment to switch menu labels that use 'Save as...' to "
1678 "'Download'.";
1679
1680const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1681const char kSavePageAsMhtmlDescription[] =
1682 "Enables saving pages as MHTML: a single text file containing HTML and all "
1683 "sub-resources.";
1684
Jeffrey Cohene49cc59c2018-10-23 16:27:281685const char kSendTabToSelfName[] = "Send tab to self";
1686const char kSendTabToSelfDescription[] =
1687 "Allows users to push tabs from Android devices to other synced "
1688 "devices, in order to easily transition those tabs to the new device ";
1689
gogeraldd5061b592017-09-06 23:39:551690const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1691const char kServiceWorkerPaymentAppsDescription[] =
1692 "Enable Service Worker applications to integrate as payment apps";
1693
momohattfc352292018-08-29 05:12:361694const char kServiceWorkerImportedScriptUpdateCheckName[] =
1695 "Enable update check for service worker importScripts() resources";
1696const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1697 "Extend byte-for-byte update check for scripts that are imported by the "
1698 "service worker script via importScripts().";
1699
Lei Zhang0ca70ea2018-09-07 17:51:011700const char kServiceWorkerServicificationName[] = "Servicified service workers";
1701const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441702 "Enable the servicified service workers. A servicified service worker can "
1703 "have direct connection from its clients, so that fetch events can be "
1704 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171705
Azeem Arshad3b1ef73122018-08-30 02:04:151706const char kServiceWorkerLongRunningMessageName[] =
1707 "Service worker long running message dispatch.";
1708const char kServiceWorkerLongRunningMessageDescription[] =
1709 "Enables long running message dispatch method for service workers. "
1710 "Messages sent with this method do not timeout, allowing the service "
1711 "worker to run indefinitely.";
1712
Chris Hamiltonb9612e262019-02-12 21:12:061713const char kSessionRestorePrioritizesBackgroundUseCasesName[] =
1714 "Session restore prioritizes background use cases.";
1715const char kSessionRestorePrioritizesBackgroundUseCasesDescription[] =
1716 "When enabled session restore logic will prioritize sites that make use of "
1717 "background communication mechanisms (favicon and tab title switches, "
1718 "notifications, etc) over sites that do not.";
1719
Brett Wilsonecb80982017-07-12 20:34:511720const char kSettingsWindowName[] = "Show settings in a window";
1721const char kSettingsWindowDescription[] =
1722 "Settings will be shown in a dedicated window instead of as a browser tab.";
1723
Manu Cornetd7ef7c52018-05-01 22:08:231724const char kShelfHoverPreviewsName[] =
1725 "Show previews of running apps when hovering over the shelf.";
1726const char kShelfHoverPreviewsDescription[] =
1727 "Shows previews of the open windows for a given running app when hovering "
1728 "over the shelf.";
1729
Naoki Fukino008a0022018-05-23 18:33:001730const char kShowAndroidFilesInFilesAppName[] =
1731 "Show Android files in Files app";
1732const char kShowAndroidFilesInFilesAppDescription[] =
1733 "Show Android files in Files app if Android is enabled on the device.";
1734
Brett Wilsonecb80982017-07-12 20:34:511735const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1736const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381737 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1738 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511739
1740const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1741const char kShowAutofillTypePredictionsDescription[] =
1742 "Annotates web forms with Autofill field type predictions as placeholder "
1743 "text.";
1744
1745const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1746const char kShowOverdrawFeedbackDescription[] =
1747 "Visualize overdraw by color-coding elements based on if they have other "
1748 "elements drawn underneath.";
1749
Shivani Sharma2d5b4b6b2019-01-08 16:07:161750const char kHistoryManipulationIntervention[] =
1751 "History Manipulation Intervention";
1752const char kHistoryManipulationInterventionDescription[] =
1753 "If a page does a client side redirect or adds to the history without a "
1754 "user gesture, then skip it on back/forward UI.";
1755
Carlos IL89128732018-04-03 17:00:251756const char kSupervisedUserCommittedInterstitialsName[] =
1757 "Enable Supervised User Committed Interstitials";
1758const char kSupervisedUserCommittedInterstitialsDescription[] =
1759 "Use committed error pages instead of transient navigation entries for "
1760 "supervised user interstitials";
1761
Brett Wilsonecb80982017-07-12 20:34:511762const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1763const char kSilentDebuggerExtensionApiDescription[] =
1764 "Do not show the infobar when an extension attaches to a page via "
1765 "chrome.debugger API. This is required to debug extension background "
1766 "pages.";
1767
Tsuyoshi Horo53895ba92018-03-14 04:06:481768const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1769const char kSignedHTTPExchangeDescription[] =
1770 "Enables Origin-Signed HTTP Exchanges support which is still in "
1771 "development. Warning: Enabling this may pose a security risk.";
1772
Christopher Thompson75ff845d2018-02-01 20:12:461773const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1774const char kSimplifyHttpsIndicatorDescription[] =
1775 "Change the UI treatment for HTTPS pages.";
1776
Lukasz Anforowicz738a88d2018-11-05 19:19:341777const char kSiteIsolationOptOutName[] = "Disable site isolation";
1778const char kSiteIsolationOptOutDescription[] =
1779 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571780 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1781 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221782 "isolation is force-enabled using a command line switch or using an "
1783 "enterprise policy. "
1784 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571785 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341786const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1787const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511788
Pattideade7972018-04-27 02:59:401789const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511790const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401791 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511792
Brett Wilsonecb80982017-07-12 20:34:511793const char kSmoothScrollingName[] = "Smooth Scrolling";
1794const char kSmoothScrollingDescription[] =
1795 "Animate smoothly when scrolling page content.";
1796
1797const char kSoftwareRasterizerName[] = "3D software rasterizer";
1798const char kSoftwareRasterizerDescription[] =
1799 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1800
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201801const char kSoleIntegrationName[] = "Sole integration";
1802const char kSoleIntegrationDescription[] =
1803 "Enable Sole integration for browser customization. You must restart "
1804 "the browser twice for changes to take effect.";
1805
Tommy Steimel77704be2017-08-28 22:14:401806const char kSoundContentSettingName[] = "Sound content setting";
1807const char kSoundContentSettingDescription[] =
1808 "Enable site-wide muting in content settings and tab strip context menu.";
1809
Justin Donnelly4e448cb2017-07-07 21:32:131810const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1811 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131812const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1813 "If enabled, when the user enters text in the omnibox that looks like a "
1814 "a query, any service worker associated with the search engine the query "
1815 "will be sent to is started early.";
1816
Brett Wilsonecb80982017-07-12 20:34:511817const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1818const char kSpellingFeedbackFieldTrialDescription[] =
1819 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401820
Carlos ILe5fa0a12018-08-03 16:08:321821const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1822const char kSSLCommittedInterstitialsDescription[] =
1823 "Use committed error pages instead of transient navigation entries "
1824 "for SSL interstitial error pages (i.e. certificate errors).";
1825
Shubhie Panickerfaf082ed2018-01-03 04:49:151826const char kStopInBackgroundName[] = "Stop in background";
1827const char kStopInBackgroundDescription[] =
1828 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281829 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151830
Shubhie Panicker56c99a22018-03-21 00:22:281831const char kStopNonTimersInBackgroundName[] =
1832 "Stop non-timer task queues background";
1833const char kStopNonTimersInBackgroundDescription[] =
1834 "Stop non-timer task queues, in the background, "
1835 "after a grace period.";
1836
Brett Wilsonecb80982017-07-12 20:34:511837const char kSuggestionsWithSubStringMatchName[] =
1838 "Substring matching for Autofill suggestions";
1839const char kSuggestionsWithSubStringMatchDescription[] =
1840 "Match Autofill suggestions based on substrings (token prefixes) rather "
1841 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341842
Marc Treibf65fb002018-08-03 11:17:161843const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1844const char kSyncStandaloneTransportDescription[] =
1845 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1846 "this mode, the Sync machinery can start without user opt-in, but only a "
1847 "subset of data types are supported.";
1848
Marc Treib4bd95e72018-08-30 06:30:581849const char kSyncSupportSecondaryAccountName[] =
1850 "Support secondary accounts for Sync standalone transport";
1851const char kSyncSupportSecondaryAccountDescription[] =
1852 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1853 "a signed-in account that has not been chosen as Chrome's primary account. "
1854 "This only has an effect if sync-standalone-transport is also enabled.";
1855
Jan Krcal2ff23f7c2018-09-04 16:16:131856const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1857const char kSyncUSSAutofillProfileDescription[] =
1858 "Enables the new implementation of autofill profile sync";
1859
Jan Krcale3641b92018-08-10 17:53:311860const char kSyncUSSAutofillWalletDataName[] =
1861 "Enable USS for autofill wallet data";
1862const char kSyncUSSAutofillWalletDataDescription[] =
1863 "Enables the new implementation of autofill walet data sync";
1864
Brett Wilsonecb80982017-07-12 20:34:511865const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1866const char kSyncSandboxDescription[] =
1867 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341868
Joe Downing8cbbc192018-05-14 17:37:071869const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1870const char kSystemKeyboardLockDescription[] =
1871 "Enables websites to use the keyboard.lock() API to intercept system "
1872 "keyboard shortcuts and have the events routed directly to the website "
1873 "when in fullscreen mode.";
1874
Taylor Bergquistbcc15462018-12-05 00:36:561875const char kTabGroupsName[] = "Tab Groups";
1876const char kTabGroupsDescription[] =
1877 "Allows users to organize tabs into visually distinct groups, e.g. to "
1878 "separate tabs associated with different tasks.";
1879
Caroline Risinge121c2b2018-12-03 20:19:291880const char kTabHoverCardsName[] = "Tab Hover Cards";
1881const char kTabHoverCardsDescription[] =
1882 "Enables a popup containing tab information to be visible when hovering "
1883 "over a tab. This will replace tooltips for tabs.";
1884
Dana Friedacaa8ef52019-02-08 02:20:351885const char kTabHoverCardImagesName[] = "Tab Hover Card Images";
1886const char kTabHoverCardImagesDescription[] =
1887 "Shows a preview image in tab hover cards, if tab hover cards are enabled.";
1888
Christian Dullweberd0d96f02017-09-13 09:22:511889const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1890const char kTabsInCbdDescription[] =
1891 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1892
Daniele Castagna0fead93e2018-01-10 20:40:291893const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1894const char kTintGlCompositedContentDescription[] =
1895 "Tint contents composited using GL with a shade of red to help debug and "
1896 "study overlay support.";
1897
Peter Kastingd77428352018-10-26 15:20:251898const char kTopChromeTouchUiName[] = "Touch UI Layout";
1899const char kTopChromeTouchUiDescription[] =
1900 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341901
Brett Wilsonecb80982017-07-12 20:34:511902const char kThreadedScrollingName[] = "Threaded scrolling";
1903const char kThreadedScrollingDescription[] =
1904 "Threaded handling of scroll-related input events. Disabling this will "
1905 "force all such scroll events to be handled on the main thread. Note that "
1906 "this can dramatically hurt scrolling performance of most websites and is "
1907 "intended for testing purposes only.";
1908
Dominick Ng8896b1cd2017-10-17 23:24:361909const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1910const char kTopSitesFromSiteEngagementDescription[] =
1911 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1912 "engagement.";
1913
Brett Wilsonecb80982017-07-12 20:34:511914const char kTouchAdjustmentName[] = "Touch adjustment";
1915const char kTouchAdjustmentDescription[] =
1916 "Refine the position of a touch gesture in order to compensate for touches "
1917 "having poor resolution compared to a mouse.";
1918
1919const char kTouchDragDropName[] = "Touch initiated drag and drop";
1920const char kTouchDragDropDescription[] =
1921 "Touch drag and drop can be initiated through long press on a draggable "
1922 "element.";
1923
1924const char kTouchEventsName[] = "Touch Events API";
1925const char kTouchEventsDescription[] =
1926 "Force Touch Events API feature detection to always be enabled or "
1927 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291928 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511929
1930const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1931const char kTouchSelectionStrategyDescription[] =
1932 "Controls how text selection granularity changes when touch text selection "
1933 "handles are dragged. Non-default behavior is experimental.";
1934const char kTouchSelectionStrategyCharacter[] = "Character";
1935const char kTouchSelectionStrategyDirection[] = "Direction";
1936
1937const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1938const char kTraceUploadUrlDescription[] =
1939 "This is to be used in conjunction with the enable-navigation-tracing "
1940 "flag. Please select the label that best describes the recorded traces. "
1941 "This will choose the destination the traces are uploaded to. If you are "
1942 "not sure, select other. If left empty, no traces will be uploaded.";
1943const char kTraceUploadUrlChoiceOther[] = "Other";
1944const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1945const char kTraceUploadUrlChoiceQa[] = "QA";
1946const char kTraceUploadUrlChoiceTesting[] = "Testing";
1947
Anthony Vallee-Dubois265c5692018-06-01 15:57:141948const char kTranslateForceTriggerOnEnglishName[] =
1949 "Select which language model to use to trigger translate on English "
1950 "content";
1951const char kTranslateForceTriggerOnEnglishDescription[] =
1952 "Force the Translate Triggering on English pages experiment to be enabled "
1953 "with the selected language model active.";
1954
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161955
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051956const char kTreatInsecureOriginAsSecureName[] =
1957 "Insecure origins treated as secure";
1958const char kTreatInsecureOriginAsSecureDescription[] =
1959 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1960 "supplied as a comma-separated list. For the definition of secure "
1961 "contexts, "
1962 "see https://w3c.github.io/webappsec-secure-contexts/";
1963
Brett Wilsonecb80982017-07-12 20:34:511964const char kTrySupportedChannelLayoutsName[] =
1965 "Causes audio output streams to check if channel layouts other than the "
1966 "default hardware layout are available.";
1967const char kTrySupportedChannelLayoutsDescription[] =
1968 "Causes audio output streams to check if channel layouts other than the "
1969 "default hardware layout are available. Turning this on will allow the OS "
1970 "to do stereo to surround expansion if supported. May expose third party "
1971 "driver bugs, use with caution.";
1972
David Roger6762a092018-01-31 15:55:071973const char kUnifiedConsentName[] = "Unified Consent";
1974const char kUnifiedConsentDescription[] =
1975 "Enables a unified management of user consent for privacy-related "
1976 "features. This includes new confirmation screens and improved settings "
1977 "pages.";
1978
Brett Wilsonecb80982017-07-12 20:34:511979const char kUiPartialSwapName[] = "Partial swap";
1980const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1981
Chris Pickel3a227ae62017-08-24 10:47:261982const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1983const char kUseDdljsonApiDescription[] =
1984 "Enables the new ddljson API to fetch Doodles for the NTP.";
1985
Becca Hughes59c05b42017-11-03 13:11:581986const char kUseModernMediaControlsName[] = "New Media Controls";
1987const char kUseModernMediaControlsDescription[] =
1988 "Enables the new style native media controls.";
1989
Wei Li790e7a8572018-03-23 01:31:551990const char kUsePdfCompositorServiceName[] =
1991 "Use PDF compositor service for printing";
1992const char kUsePdfCompositorServiceDescription[] =
1993 "When enabled, use PDF compositor service to composite and generate PDF "
1994 "files for printing. When site isolation is enabled, disabling this will "
1995 "not stop using PDF compositor service since the service is required for "
1996 "printing out-of-process iframes correctly.";
1997
Mustaq Ahmedc646c0a2017-10-20 20:08:301998const char kUserActivationV2Name[] = "User Activation v2";
1999const char kUserActivationV2Description[] =
2000 "Enable simple user activation for APIs that are otherwise controlled by "
2001 "user gesture tokens.";
2002
Brett Wilsonecb80982017-07-12 20:34:512003const char kUserConsentForExtensionScriptsName[] =
2004 "User consent for extension scripts";
2005const char kUserConsentForExtensionScriptsDescription[] =
2006 "Require user consent for an extension running a script on the page, if "
2007 "the extension requested permission to run on all urls.";
2008
2009const char kUseSuggestionsEvenIfFewFeatureName[] =
2010 "Disable minimum for server-side tile suggestions on NTP.";
2011const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2012 "Request server-side suggestions even if there are only very few of them "
2013 "and use them for tiles on the New Tab Page.";
2014
2015const char kV8CacheOptionsName[] = "V8 caching mode.";
2016const char kV8CacheOptionsDescription[] =
2017 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512018const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2019
Michael Hablich896d52662017-10-23 15:59:572020const char kV8VmFutureName[] = "Future V8 VM features";
2021const char kV8VmFutureDescription[] =
2022 "This enables upcoming and experimental V8 VM features. "
2023 "This flag does not enable experimental JavaScript features.";
2024
Hannes Payer1130d5672018-06-05 07:37:312025const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2026const char kV8OrinocoDescription[] =
2027 "This enables the V8 Orinoco garbage collection features.";
2028
Brett Wilsonecb80982017-07-12 20:34:512029const char kVideoFullscreenOrientationLockName[] =
2030 "Lock screen orientation when playing a video fullscreen.";
2031const char kVideoFullscreenOrientationLockDescription[] =
2032 "Lock the screen orientation of the device to match video orientation when "
2033 "a video goes fullscreen. Only on phones.";
2034
2035const char kVideoRotateToFullscreenName[] =
2036 "Rotate-to-fullscreen gesture for videos.";
2037const char kVideoRotateToFullscreenDescription[] =
2038 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2039 "the video. Only on phones.";
2040
2041const char kWalletServiceUseSandboxName[] =
2042 "Use Google Payments sandbox servers";
2043const char kWalletServiceUseSandboxDescription[] =
2044 "For developers: use the sandbox service for Google Payments API calls.";
2045
Brett Wilsonecb80982017-07-12 20:34:512046const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2047const char kWebglDraftExtensionsDescription[] =
2048 "Enabling this option allows web applications to access the WebGL "
2049 "Extensions that are still in draft status.";
2050
2051const char kWebMidiName[] = "Web MIDI API";
2052const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2053
2054const char kWebPaymentsName[] = "Web Payments";
2055const char kWebPaymentsDescription[] =
2056 "Enable Web Payments API integration, a JavaScript API for merchants.";
2057
Mathieu Perreault51339b82017-07-20 17:06:052058const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2059const char kWebPaymentsModifiersDescription[] =
2060 "If the website provides modifiers in the payment request, show the custom "
2061 "total for each payment instrument, update the shopping cart when "
2062 "instruments are switched, and send modified payment method specific data "
2063 "to the payment app.";
2064
Brett Wilsonecb80982017-07-12 20:34:512065const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2066const char kWebrtcEchoCanceller3Description[] =
2067 "Experimental WebRTC echo canceller (AEC3).";
2068
Lei Zhang0a318af2018-11-14 02:19:462069const char kWebrtcH264WithOpenh264FfmpegName[] =
2070 "WebRTC H.264 software video encoder/decoder";
2071const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2072 "When enabled, an H.264 software video encoder/decoder pair is included. "
2073 "If a hardware encoder/decoder is also available it may be used instead of "
2074 "this encoder/decoder.";
2075
Qingsi Wangec2dbf942018-11-03 05:33:042076const char kWebrtcHideLocalIpsWithMdnsName[] =
2077 "Anonymize local IPs exposed by WebRTC.";
2078const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2079 "Conceal local IP addresses with mDNS hostnames.";
2080
Alex Loikob5fb1282018-08-14 10:04:402081const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2082const char kWebrtcHybridAgcDescription[] =
2083 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2084
Brett Wilsonecb80982017-07-12 20:34:512085const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2086const char kWebrtcHwDecodingDescription[] =
2087 "Support in WebRTC for decoding video streams using platform hardware.";
2088
2089const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2090const char kWebrtcHwEncodingDescription[] =
2091 "Support in WebRTC for encoding video streams using platform hardware.";
2092
2093const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2094const char kWebrtcHwH264EncodingDescription[] =
2095 "Support in WebRTC for encoding h264 video streams using platform "
2096 "hardware.";
2097
2098const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2099const char kWebrtcHwVP8EncodingDescription[] =
2100 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2101
Sreerenj Balachandran2a5fd0972019-02-08 22:15:202102const char kWebrtcHwVP9EncodingName[] = "WebRTC hardware vp9 video encoding";
2103const char kWebrtcHwVP9EncodingDescription[] =
2104 "Support in WebRTC for encoding vp9 video streams using platform hardware.";
2105
Niels Möller090866a2018-02-13 10:55:032106const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2107 "WebRTC new encode cpu load estimator";
2108const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2109 "Enable new estimator for the encoder cpu load, for evaluation and "
2110 "testing. Intended to improve accuracy when screen casting.";
2111
Elad Alon85e0d0be2018-06-26 10:38:372112const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2113const char kWebRtcRemoteEventLogDescription[] =
2114 "Allow collecting WebRTC event logs and uploading them to Crash. "
2115 "Please note that, even if enabled, this will still require "
2116 "a policy to be set, for it to have an effect.";
2117
Brett Wilsonecb80982017-07-12 20:34:512118const char kWebrtcSrtpAesGcmName[] =
2119 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2120const char kWebrtcSrtpAesGcmDescription[] =
2121 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2122
Joachim Bauch4a41d7512017-08-23 14:24:232123const char kWebrtcSrtpEncryptedHeadersName[] =
2124 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2125const char kWebrtcSrtpEncryptedHeadersDescription[] =
2126 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2127 "for SRTP.";
2128
Brett Wilsonecb80982017-07-12 20:34:512129const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2130const char kWebrtcStunOriginDescription[] =
2131 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2132 "header.";
2133
Lei Zhang0a318af2018-11-14 02:19:462134const char kWebrtcUnifiedPlanByDefaultName[] =
2135 "WebRTC: Use Unified Plan SDP Semantics by default";
2136const char kWebrtcUnifiedPlanByDefaultDescription[] =
2137 "RTCPeerConnections generate and expect the standards compliant SDP format "
2138 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
2139 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
2140 "RTCRtpTransceiver support is also enabled in Unified Plan.";
2141
Brett Wilsonecb80982017-07-12 20:34:512142const char kWebvrName[] = "WebVR";
2143const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012144 "Enables access to experimental Virtual Reality functionality via the "
2145 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2146 "Device API. Warning: Enabling this will also allow WebVR content on "
2147 "insecure origins to access these powerful APIs, and may pose a security "
David Dorwin09448942019-01-11 23:37:302148 "risk. Controllers are exposed as Gamepads, and WebVR-specific attributes "
2149 "are exposed.";
Brett Wilsonecb80982017-07-12 20:34:512150
Brandon Jonese9d9b2b2017-12-11 22:20:112151const char kWebXrName[] = "WebXR Device API";
2152const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012153 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2154 "and Augmented Reality (AR) devices.";
2155
2156const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2157const char kWebXrGamepadSupportDescription[] =
2158 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222159 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2160 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432161
2162const char kWebXrHitTestName[] = "WebXR Hit Test";
2163const char kWebXrHitTestDescription[] =
2164 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112165
Anna Maria57ecf7592018-01-12 03:10:402166const char kWebXrOrientationSensorDeviceName[] =
2167 "WebXR orientation sensor device";
2168const char kWebXrOrientationSensorDeviceDescription[] =
2169 "When no VR platform device is available, expose a non-presenting device "
2170 "based on the device's orientation sensors, if available.";
2171
Brett Wilsonecb80982017-07-12 20:34:512172const char kZeroCopyName[] = "Zero-copy rasterizer";
2173const char kZeroCopyDescription[] =
2174 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342175
Brett Wilsonff596952017-07-14 01:06:552176// Android ---------------------------------------------------------------------
2177
2178#if defined(OS_ANDROID)
2179
2180const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2181const char kAiaFetchingDescription[] =
2182 "Enable intermediate certificate fetching when a server does not provide "
2183 "sufficient certificates to build a chain to a trusted root.";
2184
2185const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2186const char kAccessibilityTabSwitcherDescription[] =
2187 "Enable the accessibility tab switcher for Android.";
2188
Pavel Shmakov798f4742018-11-15 21:27:382189const char kAllowRemoteContextForNotificationsName[] =
2190 "Allow using remote app context for notifications";
2191const char kAllowRemoteContextForNotificationsDescription[] =
2192 "Allow using Context#createPackageContext to work around issues with status"
2193 "bar icons on certain Android M devices.";
2194
Brett Wilsonff596952017-07-14 01:06:552195const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2196const char kAndroidAutofillAccessibilityDescription[] =
2197 "Enable accessibility for autofill popup.";
2198
Khushalbb1963a2018-10-02 21:02:352199const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2200const char kAndroidSurfaceControlDescription[] =
2201 "Use the SurfaceControl API for supporting overlays on Android";
2202
Anita Woodruffbfcd1e52018-07-16 12:00:512203const char kAppNotificationStatusMessagingName[] =
2204 "App notification status messaging";
2205const char kAppNotificationStatusMessagingDescription[] =
2206 "Enables messaging in site permissions UI informing user when "
2207 "notifications are disabled for the entire app.";
2208
Brett Wilsonff596952017-07-14 01:06:552209const char kAndroidPaymentAppsName[] = "Android payment apps";
2210const char kAndroidPaymentAppsDescription[] =
2211 "Enable third party Android apps to integrate as payment apps";
2212
Miriam Gershenson8cf1397222018-01-23 22:48:292213const char kAsyncDnsName[] = "Async DNS resolver";
2214const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2215
Dan Harrington01229f82018-09-12 21:01:212216const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2217const char kAutoFetchOnNetErrorPageDescription[] =
2218 "When enabled, and navigation fails with an offline error, schedule a "
2219 "fetch of the page when online again.";
2220
Brett Wilsonff596952017-07-14 01:06:552221const char kAutofillAccessoryViewName[] =
2222 "Autofill suggestions as keyboard accessory view";
2223const char kAutofillAccessoryViewDescription[] =
2224 "Shows Autofill suggestions on top of the keyboard rather than in a "
2225 "dropdown.";
2226
2227const char kBackgroundLoaderForDownloadsName[] =
2228 "Enables background downloading of pages.";
2229const char kBackgroundLoaderForDownloadsDescription[] =
2230 "Enables downloading pages in the background in case page is not yet "
2231 "loaded in current tab.";
2232
Tibor Goldschwendt11b3cf22018-07-04 15:32:442233const char kBackgroundTaskComponentUpdateName[] =
2234 "Background Task Component Updates";
2235const char kBackgroundTaskComponentUpdateDescription[] =
2236 "Schedule component updates with BackgroundTaskScheduler";
2237
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002238const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2239const char kCCTModuleDescription[] =
2240 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2241
Michael van Ouwerkerk29a7a292018-10-09 09:20:142242const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2243const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402244 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2245 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142246
John Lin170c00b2018-11-21 15:44:252247const char kCCTModuleCustomHeaderName[] =
2248 "Chrome Custom Tabs Module Custom Header";
2249const char kCCTModuleCustomHeaderDescription[] =
2250 "Enables header customization by dynamically loaded modules in "
2251 "Chrome Custom Tabs.";
2252
Michael van Ouwerkerk0878427a2019-02-13 15:11:422253const char kCCTModuleCustomRequestHeaderName[] =
2254 "Chrome Custom Tabs Module Custom Request Header";
2255const char kCCTModuleCustomRequestHeaderDescription[] =
2256 "Enables a custom request header for URLs managed by dynamically loaded "
2257 "modules in Chrome Custom Tabs.";
2258
alihanlivdumlu12ac4772019-01-17 17:37:182259const char kCCTModuleDexLoadingName[] = "Chrome Custom Tabs Module Dex Loading";
2260const char kCCTModuleDexLoadingDescription[] =
2261 "Enables loading Chrome Custom Tabs module code from a dex file "
2262 "provided by the module.";
2263
barkerd84051482018-11-13 14:46:562264const char kCCTModulePostMessageName[] =
2265 "Chrome Custom Tabs Module postMessage API";
2266const char kCCTModulePostMessageDescription[] =
2267 "Enables the postMessage API exposed to dynamically loaded modules in "
2268 "Chrome Custom Tabs.";
2269
Anna Malova9bb4ead2019-01-18 18:01:262270const char kCCTModuleUseIntentExtrasName[] =
2271 "Chrome Custom Tabs Module Intent Extras Usage";
2272const char kCCTModuleUseIntentExtrasDescription[] =
2273 "Enables usage of Intent's extras in Chrome Custom Tabs Module";
2274
Matthew Jones1abcb132018-07-09 17:59:462275const char kChromeDuetName[] = "Chrome Duet";
2276const char kChromeDuetDescription[] =
2277 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052278
Sarath Singapati83aef1c2017-11-16 15:54:522279const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2280const char kClearOldBrowsingDataDescription[] =
2281 "Enables clearing of browsing data which is older than a given time "
2282 "period.";
2283
Brett Wilsonff596952017-07-14 01:06:552284const char kContentSuggestionsCategoryOrderName[] =
2285 "Default content suggestions category order (e.g. on NTP)";
2286const char kContentSuggestionsCategoryOrderDescription[] =
2287 "Set default order of content suggestion categories (e.g. on the NTP).";
2288
2289const char kContentSuggestionsCategoryRankerName[] =
2290 "Content suggestions category ranker (e.g. on NTP)";
2291const char kContentSuggestionsCategoryRankerDescription[] =
2292 "Set category ranker to order categories of content suggestions (e.g. on "
2293 "the NTP).";
2294
Vitalii Iarkof52ff802017-09-14 12:34:242295const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2296const char kContentSuggestionsDebugLogDescription[] =
2297 "Enable content suggestions debug log accessible through "
2298 "snippets-internals.";
2299
Donn Denman8e58ead2017-11-04 01:44:012300const char kContextualSearchMlTapSuppressionName[] =
2301 "Contextual Search ML tap suppression";
2302const char kContextualSearchMlTapSuppressionDescription[] =
2303 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022304 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2305 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552306
Donn Denman59729812018-01-09 01:27:022307const char kContextualSearchRankerQueryName[] =
2308 "Contextual Search Ranker prediction";
2309const char kContextualSearchRankerQueryDescription[] =
2310 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2311
2312const char kContextualSearchSecondTapName[] =
2313 "Contextual Search second tap triggering";
2314const char kContextualSearchSecondTapDescription[] =
2315 "Enables triggering on a second tap gesture even when Ranker would "
2316 "normally suppress that tap.";
2317
Donn Denmane9b5b7fb2018-07-24 22:19:492318const char kContextualSearchUnityIntegrationName[] =
2319 "Contextual Search integration with Unified Consent";
2320const char kContextualSearchUnityIntegrationDescription[] =
2321 "Enables integration of Tap to Search with Unified Consent.";
2322
Lei Zhang0a318af2018-11-14 02:19:462323const char kDisplayCutoutAPIName[] =
2324 "Enable support for the Display Cutout API";
2325const char kDisplayCutoutAPIDescription[] =
2326 "Enables developers to support devices that have a display cutout.";
Cathy Li2fb32bf82018-06-06 18:55:402327
Dmitry Skiba9c3efa72017-07-20 22:01:142328const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2329const char kDontPrefetchLibrariesDescription[] =
2330 "Don't prefetch libraries after loading.";
2331
Joy Ming189b0cc2017-12-08 19:42:432332const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2333const char kDownloadsLocationChangeDescription[] =
2334 "Enable changing default downloads storage location on Android.";
2335
Shakti Sahu32b2ee102018-05-17 00:04:462336const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2337const char kDownloadProgressInfoBarDescription[] =
2338 "Enables an infobar notifying users about status of current downloads.";
2339
Shakti Sahu9ec8cfd2018-07-17 13:29:292340const char kDownloadHomeV2Name[] = "Enable download home v2";
2341const char kDownloadHomeV2Description[] =
2342 "Enables the new UI for download home";
2343
Brett Wilsonff596952017-07-14 01:06:552344const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2345const char kEnableAndroidPayIntegrationV1Description[] =
2346 "Enable integration with Android Pay using the first version of the API";
2347
2348const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2349const char kEnableAndroidPayIntegrationV2Description[] =
2350 "Enable integration with Android Pay using the second version of the API";
2351
Fabio Tirelo918089a2018-10-22 21:24:082352const char kAutofillManualFallbackAndroidName[] =
2353 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2354const char kAutofillManualFallbackAndroidDescription[] =
2355 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2356 "keyboard accessory.";
2357
Fabio Tirelo315e65922018-09-05 03:35:492358const char kEnableAutofillRefreshStyleName[] =
2359 "Enable Autofill refresh style (Android)";
2360const char kEnableAutofillRefreshStyleDescription[] =
2361 "Enable modernized style for Autofill on Android";
2362
Vitalii Iarkof4ed32d2017-09-26 13:15:532363const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552364const char kEnableAndroidSpellcheckerDescription[] =
2365 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552366
Lei Tianbd5a3bf2018-02-28 19:01:162367const char kEnableCommandLineOnNonRootedName[] =
2368 "Enable command line on non-rooted devices";
2369const char kEnableCommandLineOnNoRootedDescription[] =
2370 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2371
Vitalii Iarkof4ed32d2017-09-26 13:15:532372const char kEnableContentSuggestionsNewFaviconServerName[] =
2373 "Get favicons for content suggestions from a new server.";
2374const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2375 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2376 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552377
Vitalii Iarkof4ed32d2017-09-26 13:15:532378const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2379 "Use content suggestions thumbnail dominant color.";
2380const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2381 "Use content suggestions thumbnail dominant color as a placeholder before "
2382 "the real thumbnail is fetched (requires Chrome Home).";
2383
Brett Wilsonff596952017-07-14 01:06:552384const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2385const char kEnableCustomContextMenuDescription[] =
2386 "Enables a new context menu when a link, image, or video is pressed within "
2387 "Chrome.";
2388
Becca Hughes6d73bac542018-06-18 20:38:502389const char kEnableMediaControlsExpandGestureName[] =
2390 "Enable Media Controls Expand Gesture";
2391const char kEnableMediaControlsExpandGestureDescription[] =
2392 "Enables a gesture to be used on the media controls to extend the video "
2393 "into the Display Cutout area.";
2394
Brett Wilsonff596952017-07-14 01:06:552395const char kEnableOmniboxClipboardProviderName[] =
2396 "Omnibox clipboard URL suggestions";
2397const char kEnableOmniboxClipboardProviderDescription[] =
2398 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2399 "focus in the omnibox.";
2400
Brett Wilsonff596952017-07-14 01:06:552401const char kEnableNtpAssetDownloadSuggestionsName[] =
2402 "Show asset downloads on the New Tab page";
2403const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2404 "If enabled, the list of content suggestions on the New Tab page will "
2405 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2406 "later use.";
2407
2408const char kEnableNtpBookmarkSuggestionsName[] =
2409 "Show recently visited bookmarks on the New Tab page";
2410const char kEnableNtpBookmarkSuggestionsDescription[] =
2411 "If enabled, the list of content suggestions on the New Tab page will "
2412 "contain recently visited bookmarks.";
2413
Brett Wilsonff596952017-07-14 01:06:552414const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2415 "Show offline page downloads on the New Tab page";
2416const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2417 "If enabled, the list of content suggestions on the New Tab page will "
2418 "contain pages that the user downloaded for later use.";
2419
2420const char kEnableNtpRemoteSuggestionsName[] =
2421 "Show server-side suggestions on the New Tab page";
2422const char kEnableNtpRemoteSuggestionsDescription[] =
2423 "If enabled, the list of content suggestions on the New Tab page will "
2424 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2425 "allows to override the source used to retrieve these server-side "
2426 "suggestions.";
2427
2428const char kEnableNtpSnippetsVisibilityName[] =
2429 "Make New Tab Page Snippets more visible.";
2430const char kEnableNtpSnippetsVisibilityDescription[] =
2431 "If enabled, the NTP snippets will become more discoverable with a larger "
2432 "portion of the first card above the fold.";
2433
2434const char kEnableNtpSuggestionsNotificationsName[] =
2435 "Notify about new content suggestions available at the New Tab page";
2436const char kEnableNtpSuggestionsNotificationsDescription[] =
2437 "If enabled, notifications will inform about new content suggestions on "
2438 "the New Tab page.";
2439
Brett Wilsonff596952017-07-14 01:06:552440const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2441const char kEnableOfflinePreviewsDescription[] =
2442 "Enable showing offline page previews on slow networks.";
2443
2444const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2445const char kEnableOskOverscrollDescription[] =
2446 "Enable OSK overscroll support. With this flag on, the OSK will only "
2447 "resize the visual viewport.";
2448
Brett Wilsonff596952017-07-14 01:06:552449const char kEnableWebNfcName[] = "WebNFC";
2450const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2451
gogeraldf3cbb422017-07-26 14:37:122452const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2453 "Enable Web Payments method section order V2.";
2454const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2455 "Enable this option to display payment method section above address "
2456 "section instead of below it.";
2457
Donn Denmanffaeaa32018-10-12 17:37:532458const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2459const char kEphemeralTabDescription[] =
Donn Denmanb45c26a2019-02-13 01:42:212460 "Enable a 'Preview page/image' at a linked page into an overlay.";
Donn Denmanffaeaa32018-10-12 17:37:532461
Lei Zhang0a318af2018-11-14 02:19:462462const char kExploreSitesName[] = "Explore websites";
2463const char kExploreSitesDescription[] =
2464 "Enables portal from new tab page to explore websites.";
2465
Xing Liu7d57dd32019-01-20 02:34:182466const char kForegroundNotificationManagerName[] =
2467 "Foreground notification manager";
2468const char kForegroundNotificationManagerDescription[] =
2469 "Enable foreground notification manager to handle foreground service and "
2470 "notification.";
2471
Raymes Khoury582b43132017-12-12 23:54:302472const char kGrantNotificationsToDSEName[] =
2473 "Grant notifications to the Default Search Engine";
2474const char kGrantNotificationsToDSENameDescription[] =
2475 "Automatically grant the notifications permission to the Default Search "
2476 "Engine";
2477
Daniel Parke74fcf862018-03-27 18:05:452478const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512479const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452480
Yafei Duanbb7663f32018-07-17 01:33:152481const char kHomepageTileName[] =
2482 "Enable Homepage tile shown in Suggested Tiles";
2483const char kHomepageTileDescription[] =
2484 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2485 "used for homepage. It will not have an effect when NTPButton is disabled.";
2486
Jian Li4b252642018-07-23 19:49:072487const char kIncognitoStringsName[] = "Alternate incognito strings";
2488const char kIncognitoStringsDescription[] =
2489 "Show alternate incognito strings if enabled.";
2490
Theresa920e0ed2018-03-07 18:12:442491const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152492 "Use the interest feed to render content suggestions. Currently "
2493 "content "
Theresa920e0ed2018-03-07 18:12:442494 "suggestions are shown on the New Tab Page.";
2495const char kInterestFeedContentSuggestionsName[] =
2496 "Interest Feed Content Suggestions";
2497
Brett Wilsonff596952017-07-14 01:06:552498const char kKeepPrefetchedContentSuggestionsName[] =
2499 "Keep prefetched content suggestions";
2500const char kKeepPrefetchedContentSuggestionsDescription[] =
2501 "If enabled, some of prefetched content suggestions are not replaced by "
2502 "the new fetched suggestions.";
2503
Leo Zhang051b75482017-12-20 03:28:302504const char kLanguagesPreferenceName[] = "Language Settings";
2505const char kLanguagesPreferenceDescription[] =
2506 "Enable this option for Language Settings feature on Android.";
2507
Brett Wilsonff596952017-07-14 01:06:552508const char kLsdPermissionPromptName[] =
2509 "Location Settings Dialog Permission Prompt";
2510const char kLsdPermissionPromptDescription[] =
2511 "Whether to use the Google Play Services Location Settings Dialog "
2512 "permission dialog.";
2513
Amirhossein Simjour97b4154f2018-02-20 03:49:592514const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2515const char kModalPermissionDialogViewDescription[] =
2516 "Enable this option to use ModalDialogManager for permission Dialogs.";
2517
Brett Wilsonff596952017-07-14 01:06:552518const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2519const char kMediaScreenCaptureDescription[] =
2520 "Enable this option for experimental ScreenCapture feature on Android.";
2521
2522const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2523const char kModalPermissionPromptsDescription[] =
2524 "Whether to use permission dialogs in place of permission infobars.";
2525
Finnur Thorarinssonc1488fc62018-07-09 19:21:572526const char kNewContactsPickerName[] = "Enable new contacts picker";
2527const char kNewContactsPickerDescription[] =
2528 "Activates the new picker for selecting contacts.";
2529
Dan Harrington541db9e2018-07-30 18:36:302530const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2531const char kNewNetErrorPageUIDescription[] =
2532 "Selects which new UI experience to show on the net-error (Dino) page";
2533
Brett Wilsonff596952017-07-14 01:06:552534const char kNewPhotoPickerName[] = "Enable new Photopicker";
2535const char kNewPhotoPickerDescription[] =
2536 "Activates the new picker for selecting photos.";
2537
2538const char kNoCreditCardAbort[] = "No Credit Card Abort";
2539const char kNoCreditCardAbortDescription[] =
2540 "Whether or not the No Credit Card Abort is enabled.";
2541
Daniel Park990d0992018-05-18 22:12:512542const char kNtpButtonName[] = "Enable NTP Button";
2543const char kNtpButtonDescription[] =
2544 "Displays a New Tab Page button in the toolbar if enabled.";
2545
Jian Liade82832018-09-06 22:31:412546const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2547const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2548 "Always do http probe to detect network connectivity for offline indicator "
2549 "as opposed to just taking the connection state from the system."
2550 "Used for testing.";
2551
2552const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2553const char kOfflineIndicatorChoiceDescription[] =
2554 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322555
Brett Wilsonff596952017-07-14 01:06:552556const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2557const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2558
2559const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2560const char kOfflinePagesCtV2Description[] =
2561 "V2 features include attributing pages to the app that initiated the "
2562 "custom tabs, and being able to query for pages by page attribution.";
2563
Cathy Li7311d792018-04-05 00:34:162564const char kOfflinePagesCTSuppressNotificationsName[] =
2565 "Disable download complete notification for whitelisted CCT apps.";
2566const char kOfflinePagesCTSuppressNotificationsDescription[] =
2567 "Disable download complete notification for page downloads originating "
2568 "from a CCT app whitelisted to show their own download complete "
2569 "notification.";
2570
Candice Sy74fa7a352018-03-30 23:46:492571const char kOfflinePagesDescriptiveFailStatusName[] =
2572 "Enables descriptive failed download status text.";
2573const char kOfflinePagesDescriptiveFailStatusDescription[] =
2574 "Enables failed download status text in notifications and Downloads Home "
2575 "to state the reason the request failed if the failure is actionable.";
2576
2577const char kOfflinePagesDescriptivePendingStatusName[] =
2578 "Enables descriptive pending download status text.";
2579const char kOfflinePagesDescriptivePendingStatusDescription[] =
2580 "Enables pending download status text in notifications and Downloads Home "
2581 "to state the reason the request is pending.";
2582
2583const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2584 "Enables offline pages in the downloads home to be opened in CCT.";
2585const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2586 "When enabled offline pages launched from the Downloads Home will be "
2587 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2588
Carlos Knippschild09272ecd2017-12-09 03:29:362589const char kOfflinePagesLimitlessPrefetchingName[] =
2590 "Removes resource usage limits for the prefetching of offline pages.";
2591const char kOfflinePagesLimitlessPrefetchingDescription[] =
2592 "Allows the prefetching of suggested offline pages to ignore resource "
2593 "usage limits. This allows it to completely ignore data usage limitations "
2594 "and allows downloads to happen with any kind of connection.";
2595
Brett Wilsonff596952017-07-14 01:06:552596const char kOfflinePagesLoadSignalCollectingName[] =
2597 "Enables collecting load timing data for offline page snapshots.";
2598const char kOfflinePagesLoadSignalCollectingDescription[] =
2599 "Enables loading completeness data collection while writing an offline "
2600 "page. This data is collected in the snapshotted offline page to allow "
2601 "data analysis to improve deciding when to make the offline snapshot.";
2602
2603const char kOfflinePagesPrefetchingName[] =
2604 "Enables suggested offline pages to be prefetched.";
2605const char kOfflinePagesPrefetchingDescription[] =
2606 "Enables suggested offline pages to be prefetched, so useful content is "
2607 "available while offline.";
2608
Pete Williamson7845dff2017-09-20 11:06:192609const char kOfflinePagesResourceBasedSnapshotName[] =
2610 "Enables offline page snapshots to be based on percentage of page loaded.";
2611const char kOfflinePagesResourceBasedSnapshotDescription[] =
2612 "Enables offline page snapshots to use a resource percentage based "
2613 "approach for determining when the page is loaded as opposed to a time "
2614 "based approach";
2615
Collin Baker17f92a52017-07-19 21:41:252616const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2617const char kOfflinePagesRenovationsDescription[] =
2618 "Enables offline page renovations which correct issues with dynamic "
2619 "content that occur when offlining pages that use JavaScript.";
2620
Yafei Duan36b4b5b2018-08-07 00:40:032621const char kOfflinePagesLivePageSharingName[] =
2622 "Enables live page sharing of offline pages";
2623const char kOfflinePagesLivePageSharingDescription[] =
2624 "Enables to share current loaded page as offline page by saving as MHTML "
2625 "first.";
2626
Cathy Lie0d88762018-04-12 08:03:012627const char kOfflinePagesShowAlternateDinoPageName[] =
2628 "Enable alternate dino page with more user capabilities.";
2629const char kOfflinePagesShowAlternateDinoPageDescription[] =
2630 "Enables the dino page to show more buttons and offer existing offline "
2631 "content.";
2632
Brett Wilsonff596952017-07-14 01:06:552633const char kOfflinePagesSvelteConcurrentLoadingName[] =
2634 "Enables concurrent background loading on svelte.";
2635const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2636 "Enables concurrent background loading (or downloading) of pages on "
2637 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2638 "happen when the svelte device is idle.";
2639
2640const char kOffliningRecentPagesName[] =
2641 "Enable offlining of recently visited pages";
2642const char kOffliningRecentPagesDescription[] =
2643 "Enable storing recently visited pages locally for offline use. Requires "
2644 "Offline Pages to be enabled.";
2645
Lei Zhang2eca9082017-10-17 20:42:502646const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2647const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552648 "Enable Pay with Google integration into Web Payments with API version "
2649 "'1'.";
2650
Matthew Jonesa88b95852017-11-08 23:13:502651const char kProgressBarThrottleName[] = "Android progress update throttling.";
2652const char kProgressBarThrottleDescription[] =
2653 "Limit the maximum progress update to make progress appear smoother.";
2654
Brett Wilsonff596952017-07-14 01:06:552655const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2656const char kPullToRefreshEffectDescription[] =
2657 "Page reloads triggered by vertically overscrolling content.";
2658
Piotr Swigon7c296ef2017-08-29 04:32:002659const char kPwaImprovedSplashScreenName[] =
2660 "Improved Splash Screen for standalone PWAs";
2661const char kPwaImprovedSplashScreenDescription[] =
2662 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2663 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492664const char kPwaPersistentNotificationName[] =
2665 "Persistent notification in standalone PWA";
2666const char kPwaPersistentNotificationDescription[] =
2667 "Enables a persistent Android notification for standalone PWAs";
2668
Brett Wilsonff596952017-07-14 01:06:552669const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2670const char kReaderModeHeuristicsDescription[] =
2671 "Determines what pages the Reader Mode infobar is shown on.";
2672const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2673const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2674const char kReaderModeHeuristicsAllArticles[] = "All articles";
2675const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2676const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2677
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182678const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2679const char kReaderModeInCCTDescription[] =
2680 "Open Reader Mode in Chrome Custom Tabs.";
2681
Varun Khaneja2a8229f2019-01-12 00:57:262682const char kSafeBrowsingTelemetryForApkDownloadsName[] =
2683 "Send some telemetry for APK downloads for extended reporting users";
2684const char kSafeBrowsingTelemetryForApkDownloadsDescription[] =
2685 "If enabled, sends some information about the source and hash of the "
2686 "contents of any APK files downloaded by a user who has opted into Safe "
2687 "Browsing Extended Reporting already.";
2688
Varun Khaneja80712a82018-10-12 23:34:592689const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2690 "Use local Safe Browsing blacklists";
2691const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2692 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2693 "process to check the Safe Browsing reputation of URLs without calling "
2694 "into GmsCore for every URL.";
2695
Matthew Jones53114262018-12-12 16:36:472696const char kSearchReadyOmniboxName[] = "Search Ready Omnibox";
2697const char kSearchReadyOmniboxDescription[] =
2698 "Clears the omnibox and adds a suggestion item to share, copy, or edit the "
2699 "URL.";
2700
Brett Wilsonff596952017-07-14 01:06:552701const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2702const char kSetMarketUrlForTestingDescription[] =
2703 "When enabled, sets the market URL for use in testing the update menu "
2704 "item.";
2705
2706const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2707const char kSpannableInlineAutocompleteDescription[] =
2708 "A new type of inline autocomplete for the omnibox that works with "
2709 "keyboards that compose text.";
2710
Theresaeea05a12018-05-09 21:01:592711const char kSiteExplorationUiName[] = "Site Exploration UI";
2712const char kSiteExplorationUiDescription[] =
2713 "Show site suggestions in the Exploration UI";
2714
Lei Zhang0a318af2018-11-14 02:19:462715const char kStrictSiteIsolationName[] = "Strict site isolation";
2716const char kStrictSiteIsolationDescription[] =
2717 "Security mode that enables site isolation for all sites (SitePerProcess). "
2718 "In this mode, each renderer process will contain pages from at most one "
2719 "site, using out-of-process iframes when needed. "
2720 "Check chrome://process-internals to see the current isolation mode. "
2721 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
2722 "default. Here, 'Disabled' is a legacy value that actually means "
2723 "'Default,' in which case site isolation may be already enabled based on "
2724 "platform, enterprise policy, or field trial. See also "
2725 "#site-isolation-trial-opt-out for how to disable site isolation for "
2726 "testing.";
2727
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182728const char kTranslateAndroidManualTriggerName[] =
2729 "Enable manual translate trigger";
2730const char kTranslateAndroidManualTriggerDescription[] =
2731 "Show a menu item in the main menu that triggers page translation.";
2732
Brett Wilsonff596952017-07-14 01:06:552733const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2734const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442735 "When enabled, a badge will be shown on the app menu button if the update "
2736 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552737
2738const char kUpdateMenuItemCustomSummaryDescription[] =
2739 "When this flag and the force show update menu item flag are enabled, a "
2740 "custom summary string will be displayed below the update menu item.";
2741const char kUpdateMenuItemCustomSummaryName[] =
2742 "Update menu item custom summary";
2743
Tommy Nyquist3c02e592018-10-18 23:36:442744const char kUpdateMenuTypeName[] =
2745 "Forces the update menu type to a specific type";
2746const char kUpdateMenuTypeDescription[] =
2747 "When set, forces the update type to be a specific one, which impacts "
2748 "the app menu badge and menu item for updates.";
2749const char kUpdateMenuTypeNone[] = "None";
2750const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2751const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
David Trainor4d86fd4e2019-01-24 21:40:282752const char kUpdateMenuTypeInlineUpdateAvailable[] = "Inline Update Available";
2753const char kUpdateMenuTypeInlineUpdateDownloading[] =
2754 "Inline Update Downloading";
2755const char kUpdateMenuTypeInlineUpdateReady[] = "Inline Update Ready";
2756const char kUpdateMenuTypeInlineUpdateFailed[] = "Inline Update Failed";
Brett Wilsonff596952017-07-14 01:06:552757
Marc Treib93af46a2017-08-23 13:30:002758const char kThirdPartyDoodlesName[] =
2759 "Enable Doodles for third-party search engines";
2760const char kThirdPartyDoodlesDescription[] =
2761 "Enables fetching and displaying Doodles on the NTP for third-party search "
2762 "engines.";
2763
Klaus Weidneraaf697f2018-01-18 20:07:362764const char kWebXrRenderPathName[] = "WebXR presentation render path";
2765const char kWebXrRenderPathDescription[] =
2766 "Render path to use for WebXR presentation (including WebVR)";
2767const char kWebXrRenderPathChoiceClientWaitDescription[] =
2768 "ClientWait (Baseline)";
2769const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2770 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072771const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2772 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362773
Becky Zhou65584142019-01-10 18:22:292774#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2775
2776const char kAndroidNightModeName[] = "Enable night mode based on user settings";
2777const char kAndroidNightModeDescription[] =
2778 "If enabled, user can enable night mode through settings.";
2779
2780#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2781
Brett Wilson7b44537e2017-08-18 01:38:282782// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552783
Brett Wilson7b44537e2017-08-18 01:38:282784#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482785
Brett Wilson7b44537e2017-08-18 01:38:282786const char kAccountConsistencyName[] =
2787 "Identity consistency between browser and cookie jar";
2788const char kAccountConsistencyDescription[] =
2789 "When enabled, the browser manages signing in and out of Google accounts.";
2790const char kAccountConsistencyChoiceMirror[] = "Mirror";
2791const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342792
Reka Normana11e57fc2019-01-29 21:56:582793const char kAppManagementName[] = "Enable App Management page";
2794const char kAppManagementDescription[] =
2795 "Shows the new app management page at chrome://apps.";
2796
Tommy Martino3fa3df52018-08-20 21:45:442797const char kAutofillDropdownLayoutName[] =
2798 "Autofill Dropdown Layout Experiment";
2799const char kAutofillDropdownLayoutDescription[] =
2800 "Alternate visual designs for the Autofill dropdown.";
2801
Chris Pickel3a227ae62017-08-24 10:47:262802const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2803const char kDoodlesOnLocalNtpDescription[] =
2804 "Show doodles on the local New Tab page if Google is the default search "
2805 "engine.";
2806
Kyle Milkaedb39f52018-11-21 19:53:072807const char kSearchSuggestionsOnLocalNtpName[] =
2808 "Enable search suggestions on the local NTP";
2809const char kSearchSuggestionsOnLocalNtpDescription[] =
2810 "Show search suggestions on the local New Tab page if Google is the "
2811 "default search engine.";
2812
2813const char kPromosOnLocalNtpName[] = "Enable promos on the local NTP";
2814const char kPromosOnLocalNtpDescription[] =
2815 "Show promos on the local New Tab page if Google is the "
2816 "default search engine.";
2817
Kristi Parkc9b9d6592019-02-12 22:30:382818const char kRemoveNtpFakeboxName[] = "Remove fakebox from the NTP";
2819const char kRemoveNtpFakeboxDescription[] =
2820 "Do not show the fakebox on the New Tab page.";
2821
Lei Zhang0a318af2018-11-14 02:19:462822const char kEnableWebAuthenticationBleSupportName[] =
2823 "Web Authentication API BLE support";
2824const char kEnableWebAuthenticationBleSupportDescription[] =
2825 "Enable support for using Web Authentication API via Bluetooth security "
2826 "keys";
Sebastien Marchandd33f7dc2018-06-22 22:07:062827
Sebastien Marchandd33f7dc2018-06-22 22:07:062828const char kEnableWebAuthenticationTestingAPIName[] =
2829 "Web Authentication Testing API";
2830const char kEnableWebAuthenticationTestingAPIDescription[] =
2831 "Enable Web Authentication Testing API support, which disconnects the API "
2832 "implementation from the real world, and allows configuring virtual "
2833 "authenticator devices for testing";
2834
Jeffrey Cohenf04130a42018-08-29 00:22:272835const char kHappinessTrackingSurveysForDesktopName[] =
2836 "Happiness Tracking Surveys";
2837const char kHappinessTrackingSurveysForDesktopDescription[] =
2838 "Enable showing Happiness Tracking Surveys to users on Desktop";
2839
Travis Skarebcdb5ed32018-08-17 01:49:402840const char kOmniboxDriveSuggestionsName[] =
2841 "Omnibox Google Drive Document suggestions";
2842const char kOmniboxDriveSuggestionsDescriptions[] =
2843 "Display suggestions for Google Drive documents in the omnibox when Google "
2844 "is the default search engine.";
2845
Kevin Bailey9ec05532019-01-31 23:01:332846const char kOmniboxExperimentalKeywordModeName[] =
2847 "Omnibox Experimental Keyword Mode";
2848const char kOmniboxExperimentalKeywordModeDescription[] =
2849 "Enables various experimental features related to keyword mode, its "
2850 "suggestions and layout";
2851
Lei Zhang0a318af2018-11-14 02:19:462852const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2853const char kOmniboxPedalSuggestionsDescription[] =
Orin Jaworski506db4d2019-02-14 20:17:142854 "Enable omnibox Pedal suggestions to accelerate actions within Chrome by "
2855 "detecting user intent and offering direct access to the end goal.";
Lei Zhang0a318af2018-11-14 02:19:462856
Orin Jaworski04c08b42018-07-11 02:39:562857const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2858const char kOmniboxReverseAnswersDescription[] =
2859 "Display answers with rows reversed (swapped); except definitions. Has no "
2860 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2861 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2862
Kevin Baileya5f17452019-02-13 01:52:032863const char kOmniboxReverseTabSwitchLogicName[] =
2864 "Omnibox reverse tab switch logic";
2865const char kOmniboxReverseTabSwitchLogicDescription[] =
2866 "Reverse the logic of suggestions that have a tab switch button: Have "
2867 "them switch by default, and have the button navigate.";
2868
Kevin Bailey898669972017-11-06 15:34:492869const char kOmniboxTabSwitchSuggestionsName[] =
2870 "Omnibox tab switch suggestions";
2871const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212872 "Enable suggestions for switching to open tabs within the Omnibox. "
2873 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2874 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492875
krbcc621412017-06-01 19:40:282876const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2877const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192878 "Enable receiving tail suggestions, a type of search suggestion based on "
2879 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342880
Sebastien Marchandd33f7dc2018-06-22 22:07:062881const char kPageAlmostIdleName[] = "Page Almost Idle";
2882const char kPageAlmostIdleDescription[] =
2883 "Make session restore use a definition of loading that waits for CPU and "
2884 "network quiescence.";
2885
2886const char kProactiveTabFreezeAndDiscardName[] =
2887 "Proactive Tab Freeze and Discard";
2888const char kProactiveTabFreezeAndDiscardDescription[] =
2889 "Enables proactive tab freezing and discarding. This requires "
2890 "#enable-page-almost-idle.";
2891
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272892const char kShowManagedUiName[] = "Show managed UI for managed users";
2893const char kShowManagedUiDescription[] =
2894 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2895 "message in the app menu and on some chrome:// pages.";
2896
Sebastien Marchandd33f7dc2018-06-22 22:07:062897const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2898const char kSiteCharacteristicsDatabaseDescription[] =
2899 "Records usage of some features in a database while a tab is in background "
2900 "(title/favicon update, audio playback or usage of non-persistent "
2901 "notifications).";
2902
Brett Wilson7b44537e2017-08-18 01:38:282903const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2904const char kUseGoogleLocalNtpDescription[] =
2905 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322906
Brett Wilson7b44537e2017-08-18 01:38:282907#if defined(GOOGLE_CHROME_BUILD)
2908
2909const char kGoogleBrandedContextMenuName[] =
2910 "Google branding in the context menu";
2911const char kGoogleBrandedContextMenuDescription[] =
2912 "Shows a Google icon next to context menu items powered by Google "
2913 "services.";
2914
2915#endif // !defined(GOOGLE_CHROME_BUILD)
2916
2917#endif // !defined(OS_ANDROID)
2918
2919// Windows ---------------------------------------------------------------------
2920
2921#if defined(OS_WIN)
2922
David Bienvenud0ddda32018-11-01 16:59:162923const char kCalculateNativeWinOcclusionName[] =
2924 "Calculate window occlusion on Windows";
2925const char kCalculateNativeWinOcclusionDescription[] =
2926 "Calculate window occlusion on Windows will be used in the future "
2927 "to throttle and potentially unload foreground tabs in occluded windows";
2928
Brett Wilson7b44537e2017-08-18 01:38:282929const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2930const char kCloudPrintXpsDescription[] =
2931 "XPS enables advanced options for classic printers connected to the Cloud "
2932 "Print with Chrome. Printers must be re-connected after changing this "
2933 "flag.";
2934
Frank Liberato754d14f2019-01-30 23:31:172935const char kD3D11VideoDecoderName[] = "D3D11 Video Decoder";
2936const char kD3D11VideoDecoderDescription[] =
2937 "Enables D3D11VideoDecoder for hardware accelerated video decoding.";
2938
Brett Wilson7b44537e2017-08-18 01:38:282939const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2940const char kDisablePostscriptPrintingDescription[] =
2941 "Disables PostScript generation when printing to PostScript capable "
2942 "printers, and uses EMF generation in its place.";
2943
2944const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2945const char kEnableAppcontainerDescription[] =
2946 "Enables the use of an AppContainer on sandboxed processes to improve "
2947 "security.";
2948
James Forshawfd0ce342018-02-14 09:55:392949const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2950const char kEnableGpuAppcontainerDescription[] =
2951 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2952 "improve security.";
2953
Brett Wilson7b44537e2017-08-18 01:38:282954const char kGdiTextPrinting[] = "GDI Text Printing";
2955const char kGdiTextPrintingDescription[] =
2956 "Use GDI to print text as simply text";
2957
Olli Etuaho122321192018-09-07 10:15:292958const char kUseAngleName[] = "Choose ANGLE graphics backend";
2959const char kUseAngleDescription[] =
2960 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2961 "computers by default. Using the OpenGL driver as the graphics backend may "
2962 "result in higher performance in some graphics-heavy applications, "
2963 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2964 "video playback.";
2965
2966const char kUseAngleDefault[] = "Default";
2967const char kUseAngleGL[] = "OpenGL";
2968const char kUseAngleD3D11[] = "D3D11";
2969const char kUseAngleD3D9[] = "D3D9";
2970
Brett Wilson7b44537e2017-08-18 01:38:282971const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2972const char kUseWinrtMidiApiDescription[] =
2973 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2974 "later).";
2975
2976const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2977const char kWindows10CustomTitlebarDescription[] =
2978 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2979 "deferring to Windows.";
2980
2981#endif // defined(OS_WIN)
2982
2983// Mac -------------------------------------------------------------------------
2984
2985#if defined(OS_MACOSX)
2986
Brett Wilson7b44537e2017-08-18 01:38:282987const char kContentFullscreenName[] = "Improved Content Fullscreen";
2988const char kContentFullscreenDescription[] =
2989 "Fullscreen content window detaches from main browser window and goes to "
2990 "a new space without moving or changing the original browser window.";
2991
Brett Wilson7b44537e2017-08-18 01:38:282992const char kHostedAppsInWindowsName[] =
2993 "Allow hosted apps to be opened in windows";
2994const char kHostedAppsInWindowsDescription[] =
2995 "Allows hosted apps to be opened in windows instead of being limited to "
2996 "tabs.";
2997
Christopher Cameron57dee5a42018-09-25 01:20:082998const char kCreateAppWindowsInAppShimProcessName[] =
2999 "Create native windows in the app process";
3000const char kCreateAppWindowsInAppShimProcessDescription[] =
3001 "Create native windows the app shim process, instead of of the browser "
3002 "process.";
3003
Lei Zhange065b572018-12-11 08:00:413004const char kEnableCustomMacPaperSizesName[] = "Enable custom paper sizes";
3005const char kEnableCustomMacPaperSizesDescription[] =
3006 "Allow use of custom paper sizes in Print Preview.";
3007
Lei Zhang2eca9082017-10-17 20:42:503008const char kMacTouchBarName[] = "Hardware Touch Bar";
3009const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283010
Greg Kerr32483d1c2018-12-18 02:29:143011const char kMacV2GPUSandboxName[] = "Mac V2 GPU Sandbox";
3012const char kMacV2GPUSandboxDescription[] =
3013 "Controls whether the GPU process on macOS uses the V1 or V2 sandbox.";
3014
Brett Wilson7b44537e2017-08-18 01:38:283015const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3016const char kMacViewsNativeAppWindowsDescription[] =
3017 "Controls whether to use Toolkit-Views based Chrome App windows.";
3018
3019const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3020const char kMacViewsTaskManagerDescription[] =
3021 "Controls whether to use the Toolkit-Views based Task Manager.";
3022
Brett Wilson7b44537e2017-08-18 01:38:283023#endif
3024
3025// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343026
3027#if defined(OS_CHROMEOS)
3028
Brett Wilson7b44537e2017-08-18 01:38:283029const char kAcceleratedMjpegDecodeName[] =
3030 "Hardware-accelerated mjpeg decode for captured frame";
3031const char kAcceleratedMjpegDecodeDescription[] =
3032 "Enable hardware-accelerated mjpeg decode for captured frame where "
3033 "available.";
vabr0215a8e2017-03-28 12:47:343034
Brett Wilson7b44537e2017-08-18 01:38:283035const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3036const char kAllowTouchpadThreeFingerClickDescription[] =
3037 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343038
Reka Normana11e57fc2019-01-29 21:56:583039const char kAppServiceAshName[] = "App Service Ash";
3040const char kAppServiceAshDescription[] =
3041 "Use the App Service to provide data to the Ash UI, such as the shelf and "
3042 "app list.";
3043
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523044const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3045const char kArcAvailableForChildDescription[] =
3046 "Allow child accounts to start Android apps.";
3047
Brett Wilson7b44537e2017-08-18 01:38:283048const char kArcBootCompleted[] = "Load Android apps automatically";
3049const char kArcBootCompletedDescription[] =
3050 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343051
Luum Habtemariamdaa8fd22018-06-25 22:39:433052const char kArcCupsApiName[] = "ARC CUPS API";
3053const char kArcCupsApiDescription[] =
3054 "Enables support of libcups APIs from ARC";
3055
Naoki Fukino153de8a2019-01-22 08:37:543056const char kArcDocumentsProviderName[] = "ARC DocumentsProvider integration";
3057const char kArcDocumentsProviderDescription[] =
3058 "Enables DocumentsProvider integration in Chrome OS Files app.";
3059
Satoshi Niwa8b1d5282018-10-24 04:53:033060const char kArcFilePickerExperimentName[] =
3061 "Enable file picker experiment for ARC";
3062const char kArcFilePickerExperimentDescription[] =
3063 "Enables using Chrome OS file picker in ARC.";
3064
[email protected]939ceae2019-01-29 17:00:153065const char kArcGraphicBuffersVisualizationToolName[] =
3066 "Enable ARC graphic buffers visualization tool";
3067const char kArcGraphicBuffersVisualizationToolDescription[] =
3068 "Enable ARC graphic buffers visualization tool "
3069 "(chrome://arc-graphics-tracing).";
3070
Lev Rumyantsev7a8544312017-08-18 19:26:513071const char kArcNativeBridgeExperimentName[] =
3072 "Enable native bridge experiment for ARC";
3073const char kArcNativeBridgeExperimentDescription[] =
3074 "Enables experimental native bridge feature.";
3075
lgchengecd1c1a62018-01-09 02:59:463076const char kArcUsbHostName[] = "Enable ARC USB host integration";
3077const char kArcUsbHostDescription[] =
3078 "Allow Android apps to use USB host feature on ChromeOS devices.";
3079
Kevin Cernekeeb7f96a52017-10-25 17:40:183080const char kArcVpnName[] = "Enable ARC VPN integration";
3081const char kArcVpnDescription[] =
3082 "Allow Android VPN clients to tunnel Chrome traffic.";
3083
Qiang Xu045aff222018-05-21 23:21:013084const char kAshEnableDisplayMoveWindowAccelsName[] =
3085 "Enable shortcuts for moving window between displays.";
3086const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3087 "Enable shortcuts for moving window between displays.";
3088
Sammie Quonfe640ca2019-01-30 17:54:183089const char kAshEnableOverviewRoundedCornersName[] =
3090 "Enable rounded corners in overview mode.";
3091const char kAshEnableOverviewRoundedCornersDescription[] =
3092 "Enables rounded corners on overview windows.";
3093
Qiang Xu045aff222018-05-21 23:21:013094const char kAshEnablePersistentWindowBoundsName[] =
3095 "Enable persistent window bounds in multi-displays scenario.";
3096const char kAshEnablePersistentWindowBoundsDescription[] =
3097 "Enable persistent window bounds in multi-displays scenario.";
3098
Eliot Courtneye87a9c32018-11-20 03:33:023099const char kAshEnablePipRoundedCornersName[] =
3100 "Enable Picture-in-Picture rounded corners.";
3101const char kAshEnablePipRoundedCornersDescription[] =
3102 "Enable rounded corners on the Picture-in-Picture window.";
3103
Brett Wilson7b44537e2017-08-18 01:38:283104const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3105const char kAshEnableUnifiedDesktopDescription[] =
3106 "Enable unified desktop mode which allows a window to span multiple "
3107 "displays.";
vabr0215a8e2017-03-28 12:47:343108
Qiang Xu045aff222018-05-21 23:21:013109const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3110const char kAshShelfColorDescription[] =
3111 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3112 "--ash-shelf-color-scheme flag defines how that color is derived.";
3113
3114const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3115const char kAshShelfColorSchemeDescription[] =
3116 "Specify how the color is derived from the wallpaper. This flag is only "
3117 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3118const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3119const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3120const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3121const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3122const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3123const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3124
Sean Kau5e956192017-10-06 22:25:173125const char kBulkPrintersName[] = "Bulk Printers Policy";
3126const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3127
Brett Wilson7b44537e2017-08-18 01:38:283128const char kCaptivePortalBypassProxyName[] =
3129 "Bypass proxy for Captive Portal Authorization";
3130const char kCaptivePortalBypassProxyDescription[] =
3131 "If proxy is configured, it usually prevents from authorization on "
3132 "different captive portals. This enables opening captive portal "
3133 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343134
Brett Wilson7b44537e2017-08-18 01:38:283135const char kCrOSComponentName[] = "Chrome OS Component";
3136const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083137 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343138
Xiaochu Liu51d03fd2017-09-08 23:51:023139const char kCrOSContainerName[] = "Chrome OS Container";
3140const char kCrOSContainerDescription[] =
3141 "Enable the use of Chrome OS Container utility.";
3142
Brett Wilson7b44537e2017-08-18 01:38:283143const char kCrosRegionsModeName[] = "Cros-regions load mode";
3144const char kCrosRegionsModeDescription[] =
3145 "This flag controls cros-regions load mode";
3146const char kCrosRegionsModeDefault[] = "Default";
3147const char kCrosRegionsModeOverride[] = "Override VPD values.";
3148const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343149
Daniel Ng96ab0c82019-01-16 01:21:553150const char kCrostiniAppSearchName[] = "Crostini App Search";
3151const char kCrostiniAppSearchDescription[] =
3152 "Enable search and installation of Crostini apps in the launcher.";
3153
Joel Hockey42387102019-01-10 01:19:323154const char kCrostiniBackupName[] = "Crostini Backup";
3155const char kCrostiniBackupDescription[] = "Enable Crostini export and import.";
3156
Joel Hockeyad5b9762018-09-01 12:06:083157const char kCrostiniFilesName[] = "Crostini Files";
3158const char kCrostiniFilesDescription[] =
3159 "Enable Crostini file sharing in Files app.";
3160
Josh Pratt57cea392018-10-30 02:59:063161const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3162const char kCrostiniUsbSupportDescription[] =
3163 "Enable mounting Usb devices in Crostini.";
3164
Josh Nohle2f82dcc2018-12-17 23:11:233165const char kCryptAuthV2EnrollmentName[] = "CryptAuth v2 Enrollment";
3166const char kCryptAuthV2EnrollmentDescription[] =
3167 "Use the CryptAuth v2 Enrollment protocol.";
3168
Daniele Castagna787f4152019-02-12 17:05:053169const char kEnableExplicitDmaFencesName[] = "Enable explicit dma-fences";
3170const char kEnableExplicitDmaFencesDescription[] =
3171 "Use dma-fences explicitly for synchronization between GPU and display "
3172 "controller when available.";
Daniele Castagnac4aeb572018-10-23 16:23:573173
Qiang Xu045aff222018-05-21 23:21:013174const char kDisableSystemTimezoneAutomaticDetectionName[] =
3175 "SystemTimezoneAutomaticDetection policy support";
3176const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3177 "Disable system timezone automatic detection device policy.";
3178
Sammie Quonef6b4882017-09-14 16:50:053179const char kDisableTabletAutohideTitlebarsName[] =
3180 "Disable autohide titlebars in tablet mode";
3181const char kDisableTabletAutohideTitlebarsDescription[] =
3182 "Disable tablet mode autohide titlebars functionality. The user will be "
3183 "able to see the titlebar in tablet mode.";
3184
Xiaoqian Dai24b33eb2018-04-10 21:01:573185const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3186const char kDisableTabletSplitViewDescription[] =
3187 "Disable split view for Chrome OS tablet mode.";
3188
Ahmed Fakhry4f567e692018-10-16 15:51:083189const char kDoubleTapToZoomInTabletModeName[] =
3190 "Double-tap to zoom in tablet mode";
3191const char kDoubleTapToZoomInTabletModeDescription[] =
3192 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3193 "page.";
3194
Daniel Zhang01399072018-08-16 22:28:203195const char kEnableAppListSearchAutocompleteName[] =
3196 "App List Search Autocomplete";
3197const char kEnableAppListSearchAutocompleteDescription[] =
3198 "Allow App List search box to autocomplete queries for Google searches and "
3199 "apps.";
3200
Qiang Xu53d1a5832018-05-24 18:44:193201const char kEnableAppShortcutSearchName[] =
3202 "Enable app shortcut search in launcher";
3203const char kEnableAppShortcutSearchDescription[] =
3204 "Enables app shortcut search in launcher";
3205
Vladislav Kaznacheevaa213a02018-10-29 17:54:283206const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3207const char kEnableAppDataSearchDescription[] =
3208 "Allow launcher search to access data available through Firebase App "
3209 "Indexing";
3210
Lei Zhang0a318af2018-11-14 02:19:463211const char kEnableArcUnifiedAudioFocusName[] =
Becca Hughes34415e82018-10-05 18:47:373212 "Enable unified audio focus on ARC";
Lei Zhang0a318af2018-11-14 02:19:463213const char kEnableArcUnifiedAudioFocusDescription[] =
Becca Hughes34415e82018-10-05 18:47:373214 "If audio focus is enabled in Chrome then this will delegate audio focus "
3215 "control in Android apps to Chrome.";
3216
Yue Li958f9dd2018-11-15 00:56:593217const char kEnableAssistantVoiceMatchName[] = "Enable Assistant Voice Match";
3218const char kEnableAssistantVoiceMatchDescription[] =
3219 "Enable the Assistant Voice Match feature";
3220
Yue Liebaa9952018-12-07 21:41:263221const char kEnableAssistantAppSupportName[] = "Enable Assistant App Support";
3222const char kEnableAssistantAppSupportDescription[] =
3223 "Enable the Assistant App Support feature";
3224
Lei Zhang2eca9082017-10-17 20:42:503225const char kEnableBackgroundBlurName[] = "Enable background blur.";
3226const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423227 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393228
Lei Zhang0ca70ea2018-09-07 17:51:013229const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3230const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493231 "Enables the Chrome OS Account Manager";
3232
Alexander Alekseev38e1e0a2018-11-08 22:48:483233const char kEnableDiscoverAppName[] = "Enable Discover App";
3234const char kEnableDiscoverAppDescription[] =
3235 "Enable Discover App icon in launcher.";
3236
Xiaoqian Dai82d99192018-05-25 18:51:353237const char kEnableDragTabsInTabletModeName[] =
3238 "Enable dragging tabs in tablet mode";
3239const char kEnableDragTabsInTabletModeDescription[] =
3240 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3241
Sam McNally201fbf94e2018-07-04 03:15:203242const char kEnableDriveFsName[] = "Enable DriveFS";
3243const char kEnableDriveFsDescription[] =
3244 "Enables use of the new DriveFS-based Drive sync client.";
3245
Luciano Pacheco20c48bd42018-11-07 00:57:083246const char kEnableMyFilesVolumeName[] = "Enable MyFiles as Volume";
3247const char kEnableMyFilesVolumeDescription[] =
Luciano Pacheco7fe772fe2018-11-07 02:31:453248 "Enables use of MyFiles as a read/write volume. This should be only "
3249 "used for testing or for trying to restore the previous Downloads content.";
Luciano Pacheco20c48bd42018-11-07 00:57:083250
Brett Wilson7b44537e2017-08-18 01:38:283251const char kEnableEhvInputName[] =
3252 "Emoji, handwriting and voice input on opt-in IME menu";
3253const char kEnableEhvInputDescription[] =
3254 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343255
Brett Wilson7b44537e2017-08-18 01:38:283256const char kEnableEncryptionMigrationName[] =
3257 "Enable encryption migration of user data";
3258const char kEnableEncryptionMigrationDescription[] =
3259 "If enabled and the device supports ARC, the user will be asked to update "
3260 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343261
Qiang Xu045aff222018-05-21 23:21:013262const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3263 "Enable full screen handwriting virtual keyboard";
3264const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3265 "If enabled, the handwriting virtual keyboard will allow user to write "
3266 "anywhere on the screen";
3267
Xiaohui Chenfb0943e2018-10-16 22:44:373268const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3269const char kEnableGoogleAssistantDescription[] =
3270 "Enable an experimental Assistant implementation that will work on all "
3271 "Chromebooks.";
3272
Xiaohui Chenf4283f32018-11-26 20:02:503273const char kEnableGoogleAssistantDspName[] =
3274 "Enable Google Assistant with hardware-based hotword";
3275const char kEnableGoogleAssistantDspDescription[] =
3276 "Enable an experimental feature that uses hardware-based hotword detection "
3277 "for Assistant. Only a limited number of devices have this type of "
3278 "hardware support.";
3279
Xiaohui Chenc3baca42018-11-30 19:29:373280const char kEnableGoogleAssistantStereoInputName[] =
3281 "Enable Google Assistant with stereo audio input";
3282const char kEnableGoogleAssistantStereoInputDescription[] =
3283 "Enable an experimental feature that uses stereo audio input for hotword "
3284 "and voice to text detection in Google Assistant.";
3285
Qiang Xu045aff222018-05-21 23:21:013286const char kEnableHomeLauncherName[] = "Enable home launcher";
3287const char kEnableHomeLauncherDescription[] =
3288 "Enable home launcher in tablet mode.";
3289
Brett Wilson7b44537e2017-08-18 01:38:283290const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3291const char kEnableImeMenuDescription[] =
3292 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343293
Sammie Quon248ccef2018-08-28 23:00:013294const char kEnableOobeRecommendAppsScreenName[] =
3295 "Enable OOBE Recommend Apps Screen";
3296const char kEnableOobeRecommendAppsScreenDescription[] =
3297 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3298 "from other devices";
3299
Qiang Xu045aff222018-05-21 23:21:013300const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3301const char kEnablePerUserTimezoneDescription[] =
3302 "Chrome OS system timezone preference is stored and handled for each user "
3303 "individually.";
3304
Vladislav Kaznacheevaa213a02018-10-29 17:54:283305const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3306const char kEnablePlayStoreSearchDescription[] =
3307 "Enable Play Store search in launcher.";
3308
Darren Shen3e49c63d2018-03-28 04:45:503309const char kEnableStylusVirtualKeyboardName[] =
3310 "Enable stylus virtual keyboard";
3311const char kEnableStylusVirtualKeyboardDescription[] =
3312 "If enabled, tapping with a stylus will show the handwriting virtual "
3313 "keyboard.";
3314
Jazz Xu2e5886662018-12-14 00:38:483315const char kEnableVideoPlayerNativeControlsName[] =
3316 "Enable native controls in video player app";
3317const char kEnableVideoPlayerNativeControlsDescription[] =
3318 "Enable native controls in video player app";
3319
Darren Shen0b4e5802018-07-10 03:12:263320const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3321const char kEnableVirtualKeyboardUkmDescription[] =
3322 "Enables UKM for virtual keyboard";
3323
Lei Zhang0ca70ea2018-09-07 17:51:013324const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3325const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013326 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283327 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013328
Brett Wilson7b44537e2017-08-18 01:38:283329const char kEolNotificationName[] = "Disable Device End of Life notification.";
3330const char kEolNotificationDescription[] =
3331 "Disable Notifcation when Device is End of Life.";
3332
Akihiro Ota3ff6f8a2019-01-18 17:43:043333const char kExperimentalAccessibilityChromeVoxLanguageSwitchingName[] =
3334 "Enable experimental ChromeVox language switching.";
3335const char kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription[] =
3336 "Enable ChromeVox language switching, which changes ChromeVox's "
3337 "output language upon detection of new language.";
3338
Brett Wilson7b44537e2017-08-18 01:38:283339const char kFileManagerTouchModeName[] = "Files App. touch mode";
3340const char kFileManagerTouchModeDescription[] =
3341 "Touchscreen-specific interactions of the Files app.";
3342
3343const char kFirstRunUiTransitionsName[] =
3344 "Animated transitions in the first-run tutorial";
3345const char kFirstRunUiTransitionsDescription[] =
3346 "Transitions during first-run tutorial are animated.";
3347
Brett Wilson7b44537e2017-08-18 01:38:283348const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3349const char kForceEnableStylusToolsDescription[] =
3350 "Forces display of the stylus tools menu in the shelf and the stylus "
3351 "section in settings, even if there is no attached stylus device.";
3352
3353const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3354const char kGestureEditingDescription[] =
3355 "Enable/Disable gesture editing option in the settings page for the "
3356 "virtual keyboard.";
3357
3358const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3359const char kGestureTypingDescription[] =
3360 "Enable/Disable gesture typing option in the settings page for the virtual "
3361 "keyboard.";
3362
3363const char kInputViewName[] = "Input views";
3364const char kInputViewDescription[] =
3365 "Enable IME extensions to supply custom views for user input such as "
3366 "virtual keyboards.";
3367
Leo Zhang3cc77542018-11-07 00:58:083368const char kImeServiceName[] = "Enable IME service";
3369const char kImeServiceDescription[] =
3370 "Enable IME service to provide the IME functionality instead of NaCl";
3371
Megumi Hattori5a0d4182018-03-06 11:09:503372const char kLockScreenNotificationName[] = "Lock screen notification";
3373const char kLockScreenNotificationDescription[] =
3374 "Enable notifications on the lock screen.";
3375
Mohsen Izadi06a16f72018-11-29 02:29:223376const char kMashOopVizName[] = "Out-of-process viz for mash";
3377const char kMashOopVizDescription[] =
3378 "Runs viz in a separate process when mash is enabled (otherwise viz would "
3379 "run in ash process)";
3380
Qiang Xu045aff222018-05-21 23:21:013381const char kMaterialDesignInkDropAnimationSpeedName[] =
3382 "Material design ink drop animation speed";
3383const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3384 "Sets the speed of the experimental visual feedback animations for "
3385 "material design.";
3386const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3387const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3388
Brett Wilson7b44537e2017-08-18 01:38:283389const char kMemoryPressureThresholdName[] =
3390 "Memory discard strategy for advanced pressure handling";
3391const char kMemoryPressureThresholdDescription[] =
3392 "Memory discarding strategy to use";
3393const char kConservativeThresholds[] =
3394 "Conservative memory pressure release strategy";
3395const char kAggressiveCacheDiscardThresholds[] =
3396 "Aggressive cache release strategy";
3397const char kAggressiveTabDiscardThresholds[] =
3398 "Aggressive tab release strategy";
3399const char kAggressiveThresholds[] =
3400 "Aggressive tab and cache release strategy";
3401
3402const char kMtpWriteSupportName[] = "MTP write support";
3403const char kMtpWriteSupportDescription[] =
3404 "MTP write support in File System API (and file manager). In-place editing "
3405 "operations are not supported.";
3406
vabr0215a8e2017-03-28 12:47:343407const char kNetworkPortalNotificationName[] =
3408 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343409const char kNetworkPortalNotificationDescription[] =
3410 "If enabled, notification is displayed when device is connected to a "
3411 "network behind captive portal.";
3412
Brett Wilson7b44537e2017-08-18 01:38:283413const char kNewKoreanImeName[] = "New Korean IME";
3414const char kNewKoreanImeDescription[] =
3415 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343416
Anand K. Mistrydb5e0102018-10-04 04:24:003417const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283418const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003419 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343420
Qiang Xu045aff222018-05-21 23:21:013421const char kOfficeEditingComponentAppName[] =
3422 "Office Editing for Docs, Sheets & Slides";
3423const char kOfficeEditingComponentAppDescription[] =
3424 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3425
Brett Wilson7b44537e2017-08-18 01:38:283426const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3427const char kPhysicalKeyboardAutocorrectDescription[] =
3428 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3429 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343430
3431const char kPrinterProviderSearchAppName[] =
3432 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343433const char kPrinterProviderSearchAppDescription[] =
3434 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193435 "searches Chrome Web Store for extensions that support printing to a USB "
3436 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343437
Brett Wilson7b44537e2017-08-18 01:38:283438const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3439const char kQuickUnlockPinDescription[] =
3440 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3441 "device on the lock screen after you have signed into your device.";
3442const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3443const char kQuickUnlockPinSigninDescription[] =
3444 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3445 "device. After changing this flag PIN needs to be set up again.";
3446const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3447const char kQuickUnlockFingerprintDescription[] =
3448 "Enabling fingerprint quick unlock allows you to setup and use a "
3449 "fingerprint to unlock your Chromebook on the lock screen after you have "
3450 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343451
James Cook0ba192bf2017-12-01 20:53:113452const char kShowTapsName[] = "Show taps";
3453const char kShowTapsDescription[] =
3454 "Draws a circle at each touch point, which makes touch points more obvious "
3455 "when projecting or mirroring the display. Similar to the Android OS "
3456 "developer option.";
3457
3458const char kShowTouchHudName[] = "Show HUD for touch points";
3459const char kShowTouchHudDescription[] =
3460 "Shows a trail of colored dots for the last few touch points. Pressing "
3461 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3462 "debug hardware issues that generate spurious touch events.";
3463
James Cook28d7c482018-09-07 21:00:543464const char kSingleProcessMashName[] =
3465 "In-process window service (SingleProcessMash)";
3466const char kSingleProcessMashDescription[] =
3467 "Runs the system UI (ash) as a mojo service, but inside the browser "
3468 "process. The browser uses the mojo window service (ws) APIs.";
3469
Ahmed Fakhry58e6ef542018-09-04 18:05:383470const char kSlideTopChromeWithPageScrollsName[] =
3471 "Slide top-chrome with page scrolls";
3472const char kSlideTopChromeWithPageScrollsDescription[] =
3473 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3474 " UI.";
3475
Jorge Gil5a8ccde2018-07-10 01:46:213476const char kSmartTextSelectionName[] = "Smart Text Selection";
3477const char kSmartTextSelectionDescription[] =
3478 "Shows quick actions for text "
3479 "selections in the context menu.";
3480
Brett Wilson7b44537e2017-08-18 01:38:283481const char kTetherName[] = "Instant Tethering";
3482const char kTetherDescription[] =
3483 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3484 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373485
Brett Wilson7b44537e2017-08-18 01:38:283486const char kTouchscreenCalibrationName[] =
3487 "Enable/disable touchscreen calibration option in material design settings";
3488const char kTouchscreenCalibrationDescription[] =
3489 "If enabled, the user can calibrate the touch screen displays in "
3490 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093491
Qiang Xu045aff222018-05-21 23:21:013492const char kUiDevToolsName[] = "Enable native UI inspection";
3493const char kUiDevToolsDescription[] =
3494 "Enables inspection of native UI elements. For local inspection use "
3495 "chrome://inspect#other";
3496
3497const char kUiShowCompositedLayerBordersName[] =
3498 "Show UI composited layer borders";
3499const char kUiShowCompositedLayerBordersDescription[] =
3500 "Show border around composited layers created by UI.";
3501const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3502const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3503const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3504const char kUiShowCompositedLayerBordersAll[] = "All";
3505
3506const char kUiSlowAnimationsName[] = "Slow UI animations";
3507const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3508
Mitsuru Oshima63d3f2a2017-08-23 00:12:113509// Force UI Mode
3510const char kUiModeName[] = "Force Ui Mode";
3511const char kUiModeDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:063512 "This flag can be used to force a certain mode on to a chromebook, "
3513 "despite its current orientation. \"Tablet\" means that the "
3514 "chromebook will act as if it were in tablet mode. \"Clamshell\" "
3515 "means that the chromebook will act as if it were in clamshell "
3516 "mode. \"Auto\" means that the chromebook will alternate between "
3517 "the two, based on its orientation.";
Min Chenfd25cd22018-11-06 01:50:513518const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113519const char kUiModeClamshell[] = "Clamshell";
3520const char kUiModeAuto[] = "Auto (default)";
3521
Mattias Nissler6bb633f2019-02-13 23:41:463522const char kSchedulerConfigurationName[] = "Scheduler Configuration";
3523const char kSchedulerConfigurationDescription[] =
3524 "Instructs the OS to use a specific scheduler configuration setting.";
3525const char kSchedulerConfigurationConservative[] = "Conservative";
3526const char kSchedulerConfigurationPerformance[] = "Performance";
3527
Sonny Sasaka7fecfeda2018-07-11 23:47:553528const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3529const char kUnfilteredBluetoothDevicesDescription[] =
3530 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3531
Allen Webbcdc8e69d2018-09-12 20:36:003532const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3533const char kUsbguardDescription[] =
3534 "Prevents newly connected USB devices from operating at the lock screen"
3535 " until Chrome OS is unlocked to protect against malicious USB devices."
3536 " Already connected USB devices will continue to function.";
3537
Micah Morton79a7b522018-09-27 15:15:303538const char kShillSandboxingName[] =
3539 "Run shill, the ChromeOS network manager, in a sandbox.";
3540const char kShillSandboxingDescription[] =
3541 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3542
Micah Morton02d3aba2018-11-20 01:51:453543const char kFsNosymfollowName[] =
3544 "Prevent symlink traversal on user-supplied filesystems.";
3545const char kFsNosymfollowDescription[] =
3546 "Causes user-supplied filesystems to be mounted with the 'nosymfollow'"
3547 " option, so the chromuimos LSM denies symlink traversal on the"
3548 " filesystem.";
3549
James Cooka1bcfa9a2018-01-30 00:18:403550const char kUseMashName[] = "Out-of-process system UI (mash)";
3551const char kUseMashDescription[] =
3552 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3553 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283554
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343555// TODO(mcasas): remove after https://crbug.com/771345.
3556const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3557const char kUseMonitorColorSpaceDescription[] =
3558 "Enables Chrome to use the color space information provided by the monitor"
3559 " instead of the default sRGB color space.";
3560
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233561const char kVaapiJpegImageDecodeAccelerationName[] =
3562 "VA-API JPEG decode acceleration for images";
3563const char kVaapiJpegImageDecodeAccelerationDescription[] =
3564 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3565 " captures) using the VA-API.";
3566
Brett Wilson7b44537e2017-08-18 01:38:283567const char kVideoPlayerChromecastSupportName[] =
3568 "Experimental Chromecast support for Video Player";
3569const char kVideoPlayerChromecastSupportDescription[] =
3570 "This option enables experimental Chromecast support for Video Player app "
3571 "on ChromeOS.";
3572
3573const char kVirtualKeyboardName[] = "Virtual Keyboard";
3574const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3575
3576const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3577const char kVirtualKeyboardOverscrollDescription[] =
3578 "Enables virtual keyboard overscroll support.";
3579
3580const char kVoiceInputName[] = "Voice input on virtual keyboard";
3581const char kVoiceInputDescription[] =
3582 "Enables voice input on virtual keyboard.";
3583
3584const char kWakeOnPacketsName[] = "Wake On Packets";
3585const char kWakeOnPacketsDescription[] =
3586 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203587
yhanadac5bff5b2017-05-18 06:37:093588#endif // defined(OS_CHROMEOS)
3589
Brett Wilson7b44537e2017-08-18 01:38:283590// Random platform combinations -----------------------------------------------
3591
3592#if defined(OS_WIN) || defined(OS_LINUX)
3593
3594const char kEnableInputImeApiName[] = "Enable Input IME API";
3595const char kEnableInputImeApiDescription[] =
3596 "Enable the use of chrome.input.ime API.";
3597
3598#endif // defined(OS_WIN) || defined(OS_LINUX)
3599
Jiajia Qindb252e92019-01-28 11:47:483600#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3601
3602const char kWebGL2ComputeContextName[] = "WebGL 2.0 Compute";
3603const char kWebGL2ComputeContextDescription[] =
3604 "Enable the use of WebGL 2.0 Compute API.";
3605
3606#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3607
Brett Wilson7b44537e2017-08-18 01:38:283608#if defined(OS_WIN) || defined(OS_MACOSX)
3609
3610const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3611const char kAutomaticTabDiscardingDescription[] =
3612 "If enabled, tabs get automatically discarded from memory when the system "
3613 "memory is low. Discarded tabs are still visible on the tab strip and get "
3614 "reloaded when clicked on. Info about discarded tabs can be found at "
3615 "chrome://discards.";
3616
3617#endif // defined(OS_WIN) || defined(OS_MACOSX)
3618
lanwei83f54452018-06-21 23:51:043619#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3620
3621const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3622const char kDirectManipulationStylusDescription[] =
3623 "If enabled, Chrome will scroll web pages on stylus drag.";
3624
3625#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3626
Henrik Grunell63f2d772018-12-06 17:25:203627#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3628
3629const char kForceEnableSystemAecName[] = "Force enable system AEC";
3630const char kForceEnableSystemAecDescription[] =
3631 "Use system echo canceller instead of WebRTC echo canceller. If there is "
3632 "no system echo canceller available, getUserMedia with echo cancellation "
3633 "enabled will fail.";
3634
3635#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
3636
David Bienvenuc713d502019-02-07 23:46:323637#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3638
3639const char kWebContentsOcclusionName[] = "Enable occlusion of web contents";
3640const char kWebContentsOcclusionDescription[] =
3641 "If enabled, web contents will behave as hidden when it is occluded by "
3642 "other windows.";
3643
3644#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3645
Justin Donnelly110e40c2018-06-01 21:48:433646const char kExperimentalUiName[] = "Use all upcoming UI features";
3647const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483648
Brett Wilson7b44537e2017-08-18 01:38:283649// Feature flags --------------------------------------------------------------
3650
Lei Zhang0a318af2018-11-14 02:19:463651#if defined(DCHECK_IS_CONFIGURABLE)
3652const char kDcheckIsFatalName[] = "DCHECKs are fatal";
3653const char kDcheckIsFatalDescription[] =
3654 "By default Chrome will evaluate in this build, but only log failures, "
3655 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
3656#endif // defined(DCHECK_IS_CONFIGURABLE)
3657
Brett Wilson7b44537e2017-08-18 01:38:283658#if BUILDFLAG(ENABLE_VR)
3659
David Dorwin5a496c32017-11-17 01:45:053660const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3661const char kWebVrVsyncAlignDescription[] =
3662 "Align WebVR application rendering with VSync for smoother animations.";
3663
Bill Orr103ed272018-02-14 21:23:053664#if BUILDFLAG(ENABLE_OCULUS_VR)
3665const char kOculusVRName[] = "Oculus hardware support";
3666const char kOculusVRDescription[] =
3667 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3668 "Windows 10 or later).";
3669#endif // ENABLE_OCULUS_VR
3670
Bill Orr49527562017-11-22 16:58:483671#if BUILDFLAG(ENABLE_OPENVR)
3672const char kOpenVRName[] = "OpenVR hardware support";
3673const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073674 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3675 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483676#endif // ENABLE_OPENVR
3677
Bill Orrd2af6bd52019-01-23 02:50:243678#if BUILDFLAG(ENABLE_WINDOWS_MR)
3679const char kWindowsMixedRealityName[] = "Windows Mixed Reality support";
3680const char kWindowsMixedRealityDescription[] =
3681 "If enabled, Chrome will use Windows Mixed Reality devices for VR"
3682 " (supported only on Windows 10 or later).";
3683#endif // ENABLE_WINDOWS_MR
3684
Bill Orrecfb9fe2018-10-02 00:11:103685#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3686const char kXRSandboxName[] = "XR device sandboxing";
3687const char kXRSandboxDescription[] =
3688 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3689#endif // ENABLE_ISOLATED_XR_SERVICE
3690
Brett Wilson7b44537e2017-08-18 01:38:283691#endif // ENABLE_VR
3692
Lei Zhang802201c2018-11-14 18:16:283693#if BUILDFLAG(ENABLE_PLUGINS)
3694
dstockwellcc759202019-01-11 00:42:123695#if defined(OS_CHROMEOS)
3696const char kPdfAnnotations[] = "PDF Annotations";
Weidong Guo577fe9ac2019-01-28 19:58:103697const char kPdfAnnotationsDescription[] = "Enable annotating PDF documents.";
dstockwellcc759202019-01-11 00:42:123698#endif // defined(OS_CHROMEOS)
3699
Lei Zhang802201c2018-11-14 18:16:283700const char kPdfFormSaveName[] = "Save PDF Forms";
3701const char kPdfFormSaveDescription[] =
3702 "Enable saving PDFs with filled form data.";
3703
3704const char kPdfIsolationName[] = "PDF Isolation";
3705const char kPdfIsolationDescription[] =
3706 "Render PDF files from different origins in different plugin processes.";
3707
3708#endif // BUILDFLAG(ENABLE_PLUGINS)
3709
Brett Wilson7b44537e2017-08-18 01:38:283710#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3711
3712const char kAutofillCreditCardUploadName[] =
3713 "Enable offering upload of Autofilled credit cards";
3714const char kAutofillCreditCardUploadDescription[] =
3715 "Enables a new option to upload credit cards to Google Payments for sync "
3716 "to all Chrome devices.";
3717
3718#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3719
Collin Baker0a45d6a2018-12-20 19:21:503720#if BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3721
3722const char kReopenTabInProductHelpName[] = "Reopen tab in-product help";
3723const char kReopenTabInProductHelpDescription[] =
3724 "Enable in-product help that guides a user to reopen a tab if it looks "
3725 "like they accidentally closed it.";
3726
3727#endif // BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3728
Tomas Popela253a5832019-01-14 17:22:103729#if defined(WEBRTC_USE_PIPEWIRE)
3730
3731extern const char kWebrtcPipeWireCapturerName[] = "WebRTC PipeWire support";
3732extern const char kWebrtcPipeWireCapturerDescription[] =
3733 "When enabled the WebRTC will use the PipeWire multimedia server for "
3734 "capturing the desktop content on the Wayland display server.";
3735
3736#endif // #if defined(WEBRTC_USE_PIPEWIRE)
3737
Stephen Chenneyde6e5c82019-01-21 01:56:043738const char kAvoidFlashBetweenNavigationName[] =
3739 "Enable flash avoidance between same-origin navigations";
3740const char kAvoidFlahsBetweenNavigationDescription[] =
3741 "Enables experimental flash avoidance when navigating between pages "
3742 "in the same origin. This feature is in the implementation stages and "
3743 "currently has no effect.";
3744
Brett Wilson7b44537e2017-08-18 01:38:283745// ============================================================================
3746// Don't just add flags to the end, put them in the right section in
3747// alphabetical order just like the header file.
3748// ============================================================================
3749
vabr0215a8e2017-03-28 12:47:343750} // namespace flag_descriptions