blob: 6c3748e8a0403300aef08fb93c33bd11e18aaeb9 [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
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
Kunihiko Sakamoto4d407982018-07-10 04:56:2938const char kAllowSignedHTTPExchangeCertsWithoutExtensionName[] =
39 "Allow Signed HTTP Exchange certificates without extension";
40const char kAllowSignedHTTPExchangeCertsWithoutExtensionDescription[] =
41 "Accepts Origin-Signed HTTP Exchanges to be signed with certificates "
42 "that do not have CanSignHttpExchangesDraft extension. Requires "
43 "#enable-signed-http-exchange. Warning: Enabling this may pose a security "
44 "risk.";
45
Henrique Nakashima52d76952018-11-30 19:35:5846const char kAllowStartingServiceManagerOnlyName[] =
47 "Allow starting service manager only";
48const char kAllowStartingServiceManagerOnlyDescription[] =
49 "Allows running a lightweight service-manager-only mode, in which services "
50 "can run without the browser process.";
51
Jeremy Klein586b4ccc2018-06-09 21:05:4852const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
53const char kAndroidMessagesIntegrationDescription[] =
54 "Enables Chrome OS integration with Android messages.";
55
Kyle Horimoto2d838ec2018-12-26 19:41:1656const char kUseMessagesGoogleComDomainName[] = "Use messages.google.com domain";
57const char kUseMessagesGoogleComDomainDescription[] =
58 "Use the messages.google.com domain as part of the \"Messages\" "
59 "feature under \"Connected Devices\" settings.";
60
Kyle Horimoto874554a2019-01-31 00:52:0961const char kUseMessagesStagingUrlName[] = "Use Messages staging URL";
62const char kUseMessagesStagingUrlDescription[] =
63 "Use the staging server as part of the \"Messages\" feature under "
64 "\"Connected Devices\" settings.";
65
Azeem Arshad373e1ea72019-01-23 02:16:0066const char kEnableMessagesWebPushName[] =
67 "Web push in Android Messages integration";
68const char kEnableMessagesWebPushDescription[] =
69 "Use web push for background notificatons in Chrome OS integration "
70 "with Android Messages for Web";
71
Kamila472a5942018-11-26 09:48:2772const char kAndroidSiteSettingsUIRefreshName[] =
73 "Android Site Settings UI changes.";
74const char kAndroidSiteSettingsUIRefreshDescription[] =
Kamila02f7e072018-10-08 09:50:2875 "Enable the new UI "
76 "changes in Site Settings in Android.";
77
Brett Wilsonf27ff602017-07-07 22:28:4778const char kAppBannersName[] = "App Banners";
79const char kAppBannersDescription[] =
80 "Enable the display of Progressive Web App banners, which prompt a user to "
81 "add a web app to their shelf, or other platform-specific equivalent.";
82
Ioana Pandelef9689a062018-06-22 15:35:5183const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
84const char kAutomaticPasswordGenerationDescription[] =
85 "Allow Chrome to offer to generate passwords when it detects account "
86 "creation pages.";
87
Michael Lippautz6081dfa2018-10-18 13:10:1488const char kEnableBlinkHeapUnifiedGarbageCollectionName[] =
89 "Blink Heap Unified Garbage Collection";
90const char kEnableBlinkHeapUnifiedGarbageCollectionDescription[] =
91 "Enable unified garbage collection in Blink";
92
Ulan Degenbaevb5466a92018-07-19 12:35:3493const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
94const char kEnableBloatedRendererDetectionDescription[] =
95 "Enable bloated renderer detection";
96
Khushalba202212017-07-12 19:53:4997const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
98const char kAsyncImageDecodingDescription[] =
99 "Enables asynchronous decoding of images from raster for web content";
100
sebsgca14b092018-12-07 16:56:15101extern const char kAutofillAlwaysShowServerCardsInSyncTransportName[] =
102 "AlwaysShowServerCardsInSyncTransport";
103extern const char kAutofillAlwaysShowServerCardsInSyncTransportDescription[] =
104 "Always show server cards when in sync transport mode for wallet data";
105
Hui(Andy) Wufbebf91d22019-02-01 01:23:54106extern const char kAutofillAssistantChromeEntryName[] =
107 "AutofillAssistantChromeEntry";
108extern const char kAutofillAssistantChromeEntryDescription[] =
109 "Initiate autofill assistant from within Chrome.";
110
Roger McFarlane2eceba982018-05-18 01:37:11111const char kAutofillCacheQueryResponsesName[] =
112 "Cache Autofill Query Responses";
113const char kAutofillCacheQueryResponsesDescription[] =
114 "When enabled, autofill will cache the responses it receives from the "
115 "crowd-sourced field type prediction server.";
116
Jeffrey Cohen05cdafa392018-08-15 20:49:17117const char kAutofillEnableCompanyNameName[] =
118 "Enable Autofill Company Name field";
119const char kAutofillEnableCompanyNameDescription[] =
120 "When enabled, Company Name fields will be auto filled";
121
sebsge35b762c2018-03-29 20:33:27122const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
123const char kAutofillDynamicFormsDescription[] =
124 "Allows autofill to fill dynamically changing forms";
125
Anne Lime625362e2018-08-29 03:13:25126const char kAutofillNoLocalSaveOnUploadSuccessName[] =
127 "Disable locally saving card when credit card upload succeeds";
128const char kAutofillNoLocalSaveOnUploadSuccessDescription[] =
129 "When enabled, no local copy of server card will be saved when credit card "
130 "upload succeeds.";
131
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:39132const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
133const char kAutofillPrefilledFieldsDescription[] =
134 "Allows autofill to fill fields previously filled by the website";
135
Parastoo Geranmayeh0f5ebbc2019-01-21 21:01:09136const char kAutofillProfileClientValidationName[] =
137 "Autofill Validates Profiles By Client";
138const char kAutofillProfileClientValidationDescription[] =
139 "Allows autofill to validate profiles on the client side";
140
Parastoo Geranmayeh25fccec22019-01-29 18:38:13141const char kAutofillProfileServerValidationName[] =
142 "Autofill Uses Server Validation";
143const char kAutofillProfileServerValidationDescription[] =
144 "Allows autofill to use server side validation";
145
Lei Zhang0ca70ea2018-09-07 17:51:01146const char kAutofillPreviewStyleExperimentName[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18147 "Autofill Preview Style Experiment";
Lei Zhang0ca70ea2018-09-07 17:51:01148const char kAutofillPreviewStyleExperimentDescription[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18149 "Allows experimentation with the Autofill field preview's style.";
150
Roger McFarlane1a37d7b2018-04-20 22:45:19151const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
152 "Autofill Enforce Min Required Fields For Heuristics";
153const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
154 "When enabled, autofill will generally require a form to have at least 3 "
155 "fields before allowing heuristic field-type prediction to occur.";
156
157const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
158 "Autofill Enforce Min Required Fields For Query";
159const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
160 "When enabled, autofill will generally require a form to have at least 3 "
161 "fields before querying the autofill server for field-type predictions.";
162
163const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
164 "Autofill Enforce Min Required Fields For Upload";
165const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
166 "When enabled, autofill will generally require a form to have at least 3 "
167 "fillable fields before uploading field-type votes for that form.";
168
Moe Ahmadid3ddfcb2018-04-20 19:51:08169const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
170 "Restrict formless form extraction";
171const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
172 "Restrict extraction of formless forms to checkout flows";
173
Roger McFarlanee193ab122018-11-22 20:55:07174const char kAutofillRichMetadataQueriesName[] =
175 "Autofill - Rich metadata queries (Canary/Dev only)";
176const char kAutofillRichMetadataQueriesDescription[] =
177 "Transmit rich form/field metadata when querying the autofill server. "
178 "This feature only works on the Canary and Dev channels.";
179
sebsg48d53acd92019-01-17 18:11:16180const char kAutofillSettingsSplitByCardTypeName[] =
181 "Autofill settings split by card type";
182const char kAutofillSettingsSplitByCardTypeDescription[] =
183 "When enabled, the cards in the payments settings will be split into two "
184 "lists based on where they are stored.";
185
Brett Wilsonf27ff602017-07-07 22:28:47186const char kAutoplayPolicyName[] = "Autoplay policy";
187const char kAutoplayPolicyDescription[] =
188 "Policy used when deciding if audio or video is allowed to autoplay.";
189
190const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
191 "User gesture is required for cross-origin iframes.";
192const char kAutoplayPolicyNoUserGestureRequired[] =
193 "No user gesture is required.";
194const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
195const char kAutoplayPolicyDocumentUserActivation[] =
196 "Document user activation is required.";
197
Maya Lekova4bbfdb7f2018-10-16 08:15:03198const char kAwaitOptimizationName[] = "Await optimization";
199const char kAwaitOptimizationDescription[] =
200 "Enables await taking 1 tick on the microtask queue.";
201
Brett Wilsonf27ff602017-07-07 22:28:47202const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
203const char kBleAdvertisingInExtensionsDescription[] =
204 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
205 "with regular use of Bluetooth Low Energy features.";
206
Charles Harrisond629cc62017-10-05 01:39:54207const char kBlockTabUndersName[] = "Block tab-unders";
208const char kBlockTabUndersDescription[] =
209 "Blocks tab-unders in Chrome with some native UI to allow the user to "
210 "proceed.";
211
Brett Wilsonf27ff602017-07-07 22:28:47212const char kBrowserTaskSchedulerName[] = "Task Scheduler";
213const char kBrowserTaskSchedulerDescription[] =
214 "Enables redirection of some task posting APIs to the task scheduler.";
215
Carlos IL766fbc882018-02-16 02:34:52216const char kBundledConnectionHelpName[] = "Bundled Connection Help";
217const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37218 "Enables or disables redirection to local help content for users who get "
219 "an interstitial after clicking the 'Learn More' link on a previous "
220 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52221
Brett Wilsonf27ff602017-07-07 22:28:47222const char kBypassAppBannerEngagementChecksName[] =
223 "Bypass user engagement checks";
224const char kBypassAppBannerEngagementChecksDescription[] =
225 "Bypasses user engagement checks for displaying app banners, such as "
226 "requiring that users have visited the site before and that the banner "
227 "hasn't been shown recently. This allows developers to test that other "
228 "eligibility requirements for showing app banners, such as having a "
229 "manifest, are met.";
230
Miguel Casas454d9cf2018-06-28 16:25:00231const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
232const char kCanvas2DImageChromiumDescription[] =
233 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
234
Amber Won478561d2017-08-19 01:02:59235const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
236const char kClickToOpenPDFDescription[] =
237 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
238 "embedded PDFs.";
239
Gary Kacmarcikfb69b212017-11-14 03:41:08240const char kClipboardContentSettingName[] = "Clipboard content setting";
241const char kClipboardContentSettingDescription[] =
242 "Enables a site-wide permission in the UI which controls access to the "
243 "asynchronous clipboard web API";
244
Brett Wilsonf27ff602017-07-07 22:28:47245const char kCloudImportName[] = "Cloud Import";
246const char kCloudImportDescription[] = "Allows the cloud-import feature.";
247
rbpotter9990eb42018-07-12 05:34:59248const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
249const char kCloudPrinterHandlerDescription[] =
250 "Use the new cloud printer handler for communicating with the cloud "
251 "print server, instead of the cloud print interface in the Print "
252 "Preview WebUI.";
253
Tanja Gornakb0985dd2018-10-11 17:24:40254const char kFCMInvalidationsName[] =
255 "Enable invalidations delivery via new FCM based protocol";
256const char kFCMInvalidationsDescription[] =
257 "Use the new FCM-based protocol for deliveling invalidations";
258
Christopher Cameronceb8727d2017-09-07 23:53:16259const char kForceColorProfileSRGB[] = "sRGB";
260const char kForceColorProfileP3[] = "Display P3 D65";
261const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
262const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
263
264const char kForceColorProfileName[] = "Force color profile";
265const char kForceColorProfileDescription[] =
266 "Forces Chrome to use a specific color profile instead of the color "
267 "of the window's current monitor, as specified by the operating system.";
268
Brett Wilsonf27ff602017-07-07 22:28:47269const char kCompositedLayerBordersName[] = "Composited render layer borders";
270const char kCompositedLayerBordersDescription[] =
271 "Renders a border around composited Render Layers to help debug and study "
272 "layer compositing.";
273
Theresac34db2d2018-06-28 00:03:11274const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
275const char kContextualSuggestionsButtonDescription[] =
276 "If enabled, shows a button to trigger contextual suggestions.";
277
Theresae308b9e2018-10-10 15:57:40278const char kContextualSuggestionsIPHReverseScrollName[] =
279 "Contextual Suggestions IPH Reverse Scroll";
280const char kContextualSuggestionsIPHReverseScrollDescription[] =
281 "Require a reverse scroll before showing in-product help for contextual "
282 "suggestions.";
283
Theresa0f2947b92018-07-02 21:27:58284const char kContextualSuggestionsOptOutName[] =
285 "Contextual Suggestions Opt-out";
286const char kContextualSuggestionsOptOutDescription[] =
287 "If enabled, allows the user to opt out of contextual suggestions.";
288
Brett Wilsonf27ff602017-07-07 22:28:47289const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
290const char kCreditCardAssistDescription[] =
291 "Enable assisted credit card filling on certain sites.";
292
Thanh Le659cb102017-12-20 22:00:19293const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
294const char kDataSaverServerPreviewsDescription[] =
295 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47296
Brett Wilsonf27ff602017-07-07 22:28:47297const char kDebugPackedAppName[] = "Debugging for packed apps";
298const char kDebugPackedAppDescription[] =
299 "Enables debugging context menu options such as Inspect Element for packed "
300 "applications.";
301
Brett Wilsonf27ff602017-07-07 22:28:47302const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
303const char kDebugShortcutsDescription[] =
304 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
305
306const char kDeviceDiscoveryNotificationsName[] =
307 "Device Discovery Notifications";
308const char kDeviceDiscoveryNotificationsDescription[] =
309 "Device discovery notifications on local network.";
310
311const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
312const char kDevtoolsExperimentsDescription[] =
313 "Enables Developer Tools experiments. Use Settings panel in Developer "
314 "Tools to toggle individual experiments.";
315
316const char kDisableAudioForDesktopShareName[] =
317 "Disable Audio For Desktop Share";
318const char kDisableAudioForDesktopShareDescription[] =
319 "With this flag on, desktop share picker window will not let the user "
320 "choose whether to share audio.";
321
Yue Ru Suna50a80f2019-02-08 05:02:58322const char kDisableBestEffortTasksName[] = "Skip best effort tasks";
323const char kDisableBestEffortTasksDescription[] =
324 "With this flag on, tasks of the lowest priority will not be executed "
325 "until shutdown. The queue of low priority tasks can increase memory usage."
326 "Also, while it should be possible to use Chrome almost normally with this "
327 "flag, it is expected that some non-visible operations such as writing "
328 "user data to disk, cleaning caches, reporting metrics or updating "
329 "components won't be performed until shutdown.";
330
Arthur Sonzogni721f48e2018-10-31 17:10:02331const char kDisableIpcFloodingProtectionName[] =
332 "Disable IPC flooding protection";
333const char kDisableIpcFloodingProtectionDescription[] =
334 "Some javascript code can flood the inter process communication system. "
335 "This protection limits the rate (calls/seconds) at which theses function "
arthursonzogni443bd0ef2018-11-27 16:12:53336 "can be used. This flag disables the protection. This flag is deprecated "
337 "and will be removed in Chrome 76. Use the switch "
338 "--disable-ipc-flooding-protection instead.";
Arthur Sonzogni721f48e2018-10-31 17:10:02339
Chris Palmer917bc052018-03-14 19:28:31340const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
341const char kDisablePushStateThrottleDescription[] =
342 "Disables throttling of history.pushState and history.replaceState method "
arthursonzogni443bd0ef2018-11-27 16:12:53343 "calls. This flag is deprecated and will be removed in Chrome 76. Use the "
344 "switch --disable-ipc-flooding-protection instead.";
Chris Palmer917bc052018-03-14 19:28:31345
Brett Wilsonf27ff602017-07-07 22:28:47346const char kDisableTabForDesktopShareName[] =
347 "Disable Desktop Share with tab source";
348const char kDisableTabForDesktopShareDescription[] =
349 "This flag controls whether users can choose a tab for desktop share.";
350
351const char kDisallowDocWrittenScriptsUiName[] =
352 "Block scripts loaded via document.write";
353const char kDisallowDocWrittenScriptsUiDescription[] =
354 "Disallows fetches for third-party parser-blocking scripts inserted into "
355 "the main frame via document.write.";
356
Christopher Thompson2ffffa2c2018-05-18 23:06:37357const char kDisallowUnsafeHttpDownloadsName[] =
358 "Block unsafe downloads over insecure connections";
359const char kDisallowUnsafeHttpDownloadsNameDescription[] =
360 "Disallows downloads of unsafe files (files that can potentially execute "
361 "code), where the final download origin or any origin in the redirect "
362 "chain is insecure.";
363
Brett Wilsonf27ff602017-07-07 22:28:47364const char kDriveSearchInChromeLauncherName[] =
365 "Drive Search in Chrome App Launcher";
366const char kDriveSearchInChromeLauncherDescription[] =
367 "Files from Drive will show up when searching the Chrome App Launcher.";
368
Brett Wilsonf27ff602017-07-07 22:28:47369const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
370const char kEmbeddedExtensionOptionsDescription[] =
371 "Display extension options as an embedded element in chrome://extensions "
372 "rather than opening a new tab.";
373
Dominic Mazzoni8ac98962018-05-25 05:44:55374const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
375const char kEnableAccessibilityObjectModelDescription[] =
376 "Enables experimental support for Accessibility Object Model APIs "
377 "that are in development.";
378
Becca Hughesac86cd442019-01-09 23:49:54379const char kEnableAudioFocusEnforcementName[] = "Audio Focus Enforcement";
380const char kEnableAudioFocusEnforcementDescription[] =
381 "Enables enforcement of a single media session having audio focus at "
382 "any one time. Requires #enable-media-session-service to be enabled too.";
383
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36384const char kEnableWebPaymentsSingleAppUiSkipName[] =
385 "Enable Web Payments single app UI skip";
386const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
387 "Enable Web Payments to skip showing its UI if the developer specifies a "
388 "single app.";
389
Sebastien Lalancette5daaf4a2019-01-11 22:09:25390const char kEnableAutocompleteDataRetentionPolicyName[] =
391 "Enable automatic cleanup of expired Autocomplete entries.";
392const char kEnableAutocompleteDataRetentionPolicyDescription[] =
393 "If enabled, will clean-up Autocomplete entries whose last use date is "
394 "older than the current retention policy. These entries will be "
395 "permanently deleted from the client on startup, and will be unlinked "
396 "from sync.";
397
Florian Uunk8c428ea2018-07-18 11:12:52398const char kEnableAutofillAccountWalletStorageName[] =
399 "Enable the account data storage for autofill";
400const char kEnableAutofillAccountWalletStorageDescription[] =
401 "Enable the ephemeral storage for account data for autofill.";
402
Shanfeng Zhang19c16562017-10-17 02:30:40403const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
404 "Credit card autofill ablation experiment.";
405const char kEnableAutofillCreditCardAblationExperimentDescription[] =
406 "If enabled, credit card autofill suggestions will not display.";
407
Brett Wilsonf27ff602017-07-07 22:28:47408const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
409 "Display the last used date of a credit card in autofill.";
410const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
411 "If enabled, display the last used date of a credit card in autofill.";
412
Sujie Zhu2cf0e5c2018-07-17 18:00:27413const char kEnableAutofillCreditCardLocalCardMigrationName[] =
414 "Enable migrating local cards to Google Pay";
415const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
416 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
417
Jared Saulbc672a072018-06-16 05:22:12418const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
419 "Make cardholder name editable in dialog during credit card upload";
420const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
421 "If enabled, in certain situations when offering credit card upload to "
422 "Google Payments, the cardholder name can be edited within the "
423 "offer-to-save dialog, which is prefilled with the name from the signed-in "
424 "Google Account.";
425
Hao Zhang1be9c262018-11-03 00:23:51426const char kEnableAutofillCreditCardUploadEditableExpirationDateName[] =
427 "Make expiration date editable in dialog during credit card upload";
428const char kEnableAutofillCreditCardUploadEditableExpirationDateDescription[] =
429 "If enabled, if a credit card's expiration date was not detected when "
430 "offering card upload to Google Payments, the offer-to-save dialog "
431 "displays an expiration date selector.";
432
Hao Zhangd3017112019-02-01 20:13:30433const char kEnableAutofillImportNonFocusableCreditCardFormsName[] =
434 "Allow credit card import from forms that disappear after entry";
435const char kEnableAutofillImportNonFocusableCreditCardFormsDescription[] =
436 "If enabled, offers credit card save for forms that are hidden from the "
437 "page after information has been entered into them, including "
438 "accordion-style checkout flows.";
439
siyua9a4a8872018-10-05 03:46:56440const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
441 "Show the upload results dialog after local card migration";
442const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
443 "If enabled, the local card migration offer dialog will remain pending "
444 "after the user clicks the save button. Once migration is finished, "
445 "the dialog will be updated with the results of each card.";
446
tmartinocd414732018-02-12 19:01:01447const char kEnableAutofillNativeDropdownViewsName[] =
448 "Display Autofill Dropdown Using Views";
449const char kEnableAutofillNativeDropdownViewsDescription[] =
450 "If enabled, the Autofill Dropdown will be built natively using Views, "
451 "rather than painted directly to a canvas.";
452
Fabio Tirelo87552e02018-07-06 15:43:21453const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
454 "Show unlabeled expiration dates on the save card dialog";
455const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
456 "If enabled, expiration dates on the save card dialog (both local and "
457 "upstream) are shown without an 'Exp:' label.";
458
siyua172973d2018-11-21 22:23:20459const char kEnableAutofillSaveCardImprovedUserConsentName[] =
460 "Use updated UI for credit card save bubbles";
461const char kEnableAutofillSaveCardImprovedUserConsentDescription[] =
462 "If enabled, adds a [No thanks] button to credit card save bubbles and "
463 "updates their title headers.";
464
Manas Verma99541e52018-08-03 20:37:23465const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
466 "Show Sign-In/Sync promo after saving a card locally";
467const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
468 "If enabled, shows a sign in prompt to the user after the user "
469 "saves a card locally. This also introduces a Manage Cards bubble "
470 "which you can access from the card icon after saving a card.";
471
Jared Saul8a0c1e92018-10-10 18:22:47472const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
473 "Enable limit on offering to save the same credit card repeatedly";
474const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
475 "If enabled, prevents popping up the credit card offer-to-save prompt if "
476 "it has repeatedly been ignored, declined, or failed.";
477
Anne Lim9d8f66a2019-01-07 23:49:21478const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Name[] =
479 "Enable limit on offering to save the same credit card repeatedly using the"
480 "updated strike system implementation";
481const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Description[] =
482 "If enabled, uses the updated strike system implementation to prevent"
483 "popping up the credit card offer-to-save prompt if it has repeatedly been"
484 "ignored, declined, or failed.";
485
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23486const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
487 "Send experiment flag IDs in calls to Google Payments";
488const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
489 "If enabled, adds the status of certain experiment variations when making "
490 "calls to Google Payments.";
491
Becca Hughes4d896c42018-05-29 16:58:51492const char kEnableAutoplayIgnoreWebAudioName[] =
493 "Autoplay ignores WebAudio playbacks";
494const char kEnableAutoplayIgnoreWebAudioDescription[] =
495 "If enabled, autoplay restrictions will be ignored for WebAudio.";
496
Becca Hughesc62f6a1d2018-08-16 15:59:47497const char kEnableAutoplayUnifiedSoundSettingsName[] =
498 "Autoplay unified sound settings UI";
499const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
500 "If enabled, shows the new unified autoplay sound settings UI.";
501
Brett Wilsonf27ff602017-07-07 22:28:47502const char kEnableBrotliName[] = "Brotli Content-Encoding.";
503const char kEnableBrotliDescription[] =
504 "Enable Brotli Content-Encoding support.";
505
Qiang Xu0f602fe62017-12-22 01:31:20506const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
507const char kEnableCaptivePortalRandomUrlDescription[] =
508 "Enable Captive Portal URL randomization.";
509
Yuki Awano06c7ddf2019-01-23 04:17:59510const char kEnableChromevoxDeveloperOptionName[] =
511 "Enable Chromevox developer option";
512const char kEnableChromevoxDeveloperOptionDescription[] =
513 "This option provides tools for developing in chromevox.";
514
Robert Ogdenc3703942019-02-06 21:05:49515const char kEnableDataSaverLiteModeRebrandName[] =
516 "Data Saver Lite Mode Rebranding";
517const char kEnableDataSaverLiteModeRebrandDescription[] =
518 "Enable the Data Saver rebranding to Lite Mode.";
519
sclittle50e4bb92017-07-08 02:23:03520const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
521
522const char kEnableClientLoFiDescription[] =
523 "Enable showing low fidelity images on some pages on slow networks.";
524
Patrick Noland8bc57472018-06-19 21:09:54525const char kEnableCSSFragmentIdentifiersName[] =
526 "Enable CSS Fragment Identifiers";
527const char kEnableCSSFragmentIdentifiersDescription[] =
528 "Enable support for specifying a target element using a css selector in "
529 "the fragment identifier.";
530
Doug Arnett08b4067b2017-10-12 20:14:44531const char kEnableNoScriptPreviewsName[] = "NoScript previews";
532
533const char kEnableNoScriptPreviewsDescription[] =
534 "Enable disabling JavaScript on some pages on slow networks.";
535
Thanh Le2c279fbc2017-11-21 01:25:40536const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
537const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
538const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
539const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
540const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
541const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
542const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
543const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
544const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
545const char kDataReductionProxyServerAlternative10[] =
546 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54547const char kEnableDataReductionProxyNetworkServiceName[] =
548 "Data reduction proxy with network service";
549const char kEnableDataReductionProxyNetworkServiceDescription[] =
550 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47551const char kEnableDataReductionProxyServerExperimentName[] =
552 "Use an alternative Data Saver back end configuration.";
553const char kEnableDataReductionProxyServerExperimentDescription[] =
554 "Enable a different approach to saving data by configuring the back end "
555 "server";
556
557const char kEnableDataReductionProxySavingsPromoName[] =
558 "Data Saver 1 MB Savings Promo";
559const char kEnableDataReductionProxySavingsPromoDescription[] =
560 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
561 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
562 "enabled for the promo to be shown.";
563
Matt Giucad4870432017-11-24 01:04:38564const char kEnableDesktopPWAsName[] = "Desktop PWAs";
565const char kEnableDesktopPWAsDescription[] =
566 "Experimental windowing and install banner treatment for Progressive Web "
567 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17568
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59569const char kEnableDesktopPWAsLinkCapturingName[] =
570 "Desktop PWAs Link Capturing";
571const char kEnableDesktopPWAsLinkCapturingDescription[] =
572 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
573 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
574 "#enable-desktop-pwas.";
575
Jay Harris52511a02018-11-02 01:00:28576const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
577const char kDesktopPWAsCustomTabUIDescription[] =
578 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
579 "for displaying the page title and origin instead of the location bar.";
580
Jay Harrisee7a7bc62018-10-09 01:47:49581const char kDesktopPWAsStayInWindowName[] =
582 "Desktop PWAs out-of-scope links open in the app window";
583const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28584 "Links to sites in a different scope will open inside the PWA window as "
585 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49586
Alan Cutter1816c9d2019-02-11 02:20:07587const char kDesktopPWAsOmniboxInstallName[] =
588 "Desktop PWAs installable from the omnibox";
589const char kDesktopPWAsOmniboxInstallDescription[] =
590 "When on a site that passes PWA installation requirements show a button in "
591 "the omnibox for installing it.";
592
Christopher Lame66b7812018-09-26 01:49:24593const char kEnableSystemWebAppsName[] = "System Web Apps";
594const char kEnableSystemWebAppsDescription[] =
595 "Experimental system for using the Desktop PWA framework for running System"
596 "Apps (e.g Settings, Discover).";
597
David Benjamin570460e2018-10-16 06:01:29598const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
599const char kEnforceTLS13DowngradeDescription[] =
600 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
601 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
602 "through 1.2 connections. Firewalls and proxies that do not function when "
603 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
604 "securely. They must be fixed by vendors.";
605
Brett Wilsonf27ff602017-07-07 22:28:47606const char kEnableEnumeratingAudioDevicesName[] =
607 "Experimentally enable enumerating audio devices.";
608const char kEnableEnumeratingAudioDevicesDescription[] =
609 "Experimentally enable the use of enumerating audio devices.";
610
611const char kEnableGenericSensorName[] = "Generic Sensor";
612const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25613 "Enables motion sensor classes based on Generic Sensor API, i.e. "
614 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
615 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
616
617const char kEnableGenericSensorExtraClassesName[] =
618 "Generic Sensor Extra Classes";
619const char kEnableGenericSensorExtraClassesDescription[] =
620 "Enables an extra set of sensor classes based on Generic Sensor API, which "
621 "expose previously unavailable platform features, i.e. AmbientLightSensor "
622 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47623
Vikas Soni78daa632019-01-12 01:32:52624const char kEnableGpuServiceLoggingName[] = "Enable gpu service logging";
625const char kEnableGpuServiceLoggingDescription[] =
626 "Enable printing the actual GL driver calls.";
627
Brett Wilsonf27ff602017-07-07 22:28:47628const char kEnableHDRName[] = "HDR mode";
629const char kEnableHDRDescription[] =
630 "Enables HDR support on compatible displays.";
631
David Bokan911bded2018-11-27 23:23:32632const char kEnableImplicitRootScrollerName[] = "Implicit Root Scroller";
633const char kEnableImplicitRootScrollerDescription[] =
634 "Enables implicitly choosing which scroller on a page is the 'root "
635 "scroller'. i.e. The one that gets special features like URL bar movement, "
636 "overscroll glow, rotation anchoring, etc.";
637
Robert Ogden5a63b242018-09-17 21:38:57638const char kEnablePreviewsAndroidOmniboxUIName[] =
639 "Previews Android Omnibox UI";
640const char kEnablePreviewsAndroidOmniboxUIDescription[] =
641 "Enable showing the Previews UI in the Omnibox on Android instead of an "
642 "InfoBar. This has no effect on other platforms.";
643
Robert Ogdence8c9572018-10-08 23:08:48644const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
645const char kEnableLitePageServerPreviewsDescription[] =
Doug Arnett9c1f87562018-12-14 00:56:39646 "Enable showing Lite Page Previews served from a Previews Server."
647 "This feature will cause Chrome to redirect eligible navigations "
Robert Ogdence8c9572018-10-08 23:08:48648 "to a Google-owned domain that serves a pre-rendered version of the "
Doug Arnett9c1f87562018-12-14 00:56:39649 "original page. Also known as Lite Page Redirect Previews.";
Robert Ogdence8c9572018-10-08 23:08:48650
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41651const char kLayeredAPIName[] = "Experimental layered APIs";
652const char kLayeredAPIDescription[] =
653 "Enable layered API infrastructure, as well as several experimental "
654 "layered APIs. The syntax and the APIs exposed are experimental and will "
655 "change over time.";
656
Philip Rogers63481332018-12-01 22:16:51657const char kEnableBlinkGenPropertyTreesName[] = "Enable BlinkGenPropertyTrees";
658const char kEnableBlinkGenPropertyTreesDescription[] =
659 "Enable a new compositing mode where Blink generates the compositor "
660 "property trees.";
661
Ian Kilpatricke68ef11a2018-07-04 03:52:10662const char kEnableLayoutNGName[] = "Enable LayoutNG";
663const char kEnableLayoutNGDescription[] =
664 "Enable Blink's next generation layout engine.";
665
Scott Littled0fd2d002018-04-13 03:37:26666const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
667const char kEnableLazyFrameLoadingDescription[] =
668 "Defers the loading of certain cross-origin frames until the page is "
669 "scrolled down near them.";
670
rajendrant793ff512018-08-10 17:07:59671const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
672const char kEnableLazyImageLoadingDescription[] =
673 "Defers the loading of images until the page is scrolled down near them.";
674
Sidney San Martín9375b892017-09-09 00:29:54675const char kEnableMacMaterialDesignDownloadShelfName[] =
676 "Enable Material Design download shelf";
677
678const char kEnableMacMaterialDesignDownloadShelfDescription[] =
679 "If enabled, the download shelf uses Material Design.";
680
Becca Hughesac86cd442019-01-09 23:49:54681const char kEnableMediaSessionServiceName[] = "Media Session Service";
682const char kEnableMediaSessionServiceDescription[] =
683 "Enables the media session mojo service and internal media session "
684 "support.";
685
Anton Urusov47cd4932017-09-19 14:41:41686const char kEnablePolicyToolName[] = "Enable policy management page";
687const char kEnablePolicyToolDescription[] =
688 "If enabled, the chrome://policy-tool URL loads a page for managing "
689 "policies.";
690
Brett Wilsonf27ff602017-07-07 22:28:47691const char kEnableNavigationTracingName[] = "Enable navigation tracing";
692const char kEnableNavigationTracingDescription[] =
693 "This is to be used in conjunction with the trace-upload-url flag. "
694 "WARNING: When enabled, Chrome will record performance data for every "
695 "navigation and upload it to the URL specified by the trace-upload-url "
696 "flag. The trace may include personally identifiable information (PII) "
697 "such as the titles and URLs of websites you visit.";
698
Bernhard Bauer5533f9912017-11-06 17:56:02699const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
700const char kEnableNetworkLoggingToFileDescription[] =
701 "Enables network logging to a file named netlog.json in the user data "
702 "directory. The file can be imported into chrome://net-internals.";
703
Brett Wilsonf27ff602017-07-07 22:28:47704const char kEnableNetworkServiceName[] = "Enable network service";
705const char kEnableNetworkServiceDescription[] =
706 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40707 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47708
John Abd-El-Malek8067cc02017-12-04 23:23:20709const char kEnableNetworkServiceInProcessName[] =
710 "Runs network service in-process";
711const char kEnableNetworkServiceInProcessDescription[] =
712 "Runs the network service in the browser process.";
713
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28714const char kEnableNotificationScrollBarName[] =
715 "Enable notification list scroll bar";
716const char kEnableNotificationScrollBarDescription[] =
717 "Enable the scroll bar of the notification list in Unified System Tray.";
718
Mitsuru Otsukae8304de2018-10-29 02:14:36719const char kEnableNotificationExpansionAnimationName[] =
720 "Enable notification expansion animations";
721const char kEnableNotificationExpansionAnimationDescription[] =
722 "Enable notification animations whenever the expansion state is toggled.";
723
xlou8b56f672018-02-09 23:34:30724const char kEnableNupPrintingName[] = "Enable N-up printing";
725const char kEnableNupPrintingDescription[] =
726 "Enable N-up printing in the print preview panel.";
727
Sophie Chang117a3b22017-10-24 22:25:36728const char kEnableOptimizationHintsName[] = "Optimization Hints";
729const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50730 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36731 "into decisions for what optimizations to perform on some pages on slow "
732 "networks.";
733
Takashi Toyoshima2e01e692018-11-16 03:23:27734const char kEnableOutOfBlinkCorsName[] = "Out of blink CORS";
735const char kEnableOutOfBlinkCorsDescription[] =
Yutaka Hirano98be3272017-08-07 17:55:39736 "CORS handling logic is moved out of blink.";
737
Chris Halle952239e2018-11-06 06:49:52738const char kExperimentalAccessibilityFeaturesName[] =
739 "Experimental accessibility features";
740const char kExperimentalAccessibilityFeaturesDescription[] =
741 "Enable additional accessibility features in the Settings page.";
742
Katie D652135c2018-11-27 18:30:13743const char kExperimentalAccessibilityAutoclickName[] =
744 "Experimental automatic click features";
745const char kExperimentalAccessibilityAutoclickDescription[] =
746 "Enable additional features for automatic clicks.";
747
Katie D0c31c5062019-01-02 18:12:35748const char kExperimentalAccessibilityLabelsName[] =
749 "Experimental accessibility image label features";
750const char kExperimentalAccessibilityLabelsDescription[] =
751 "Enable additional features for image labels for accessibility.";
752
Chris Hall4a4225f62019-01-18 03:07:16753const char kExperimentalAccessibilityLanguageDetectionName[] =
754 "Experimental accessibility language detection";
755const char kExperimentalAccessibilityLanguageDetectionDescription[] =
756 "Enable language detection for in-page content which is then exposed to "
757 "accessiblity technologies such as screen readers.";
758
Anastasia Helfinsteinafecc68c2018-11-26 19:20:17759const char kExperimentalAccessibilitySwitchAccessName[] =
760 "Experimental feature Switch Access";
761const char kExperimentalAccessibilitySwitchAccessDescription[] =
762 "Add a setting to enable the prototype of Switch Access";
763
kylechar7051c092018-02-05 20:31:39764const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
765const char kVizDisplayCompositorDescription[] =
766 "If enabled, the display compositor runs as part of the viz service in the"
767 "GPU process.";
768
Ria Jiang6a129b982018-03-01 18:30:40769const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
770const char kVizHitTestDrawQuadDescription[] =
771 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
772 "with hit-test data computed from the CompositorFrame.";
773
Erik Chen49bbfa22017-08-18 08:49:56774const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23775 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56776const char kEnableOutOfProcessHeapProfilingDescription[] =
777 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19778 "malloced objects. Heap dumps can be obtained at chrome://tracing "
779 "[category:memory-infra] and chrome://memory-internals. This setting "
780 "controls which processes are profiled. As long as this setting is not "
781 "disabled, users can start profiling any given process in "
782 "chrome://memory-internals.";
783const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
784const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
785const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
786const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
787const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10788const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19789 "None by default. Visit chrome://memory-internals to choose which "
790 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15791const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
792 "Profile a random sampling of renderer processes, ensuring only one is "
793 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19794
Erik Chen8bb76b52017-12-06 19:06:25795const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19796 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25797const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
798 "By default, small allocations are pruned from the heap dump. This reduces "
799 "the size of the compressed trace by 100x. If pruning is disabled, the "
800 "chrome://tracing UI may be unable to take or load the trace. Save the "
801 "trace directly using chrome://memory-internals, and use other mechanisms "
802 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
803 "automatically uploaded traces will always be pruned. This only affects "
804 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56805
erikchen8bc20d82018-02-14 03:21:51806const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
807const char kOutOfProcessHeapProfilingSamplingDescription[] =
808 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22809 "10000. This results in low noise for large and/or frequent allocations ["
810 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
811 "total size of malloc-ed objects] and large and/or frequent allocations "
812 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51813
Erik Chen3303fd0232018-01-11 20:29:05814const char kOOPHPStackModeName[] =
815 "The type of stack to record for memlog heap dumps";
816const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19817 "By default, memlog heap dumps record native stacks, which requires a "
818 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55819 "pointers to work on Android. Native with thread names will add the thread "
820 "name as the first frame of each native stack. It's also possible to "
821 "record a pseudo stack using trace events as identifiers. It's also "
822 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19823const char kOOPHPStackModeMixed[] = "Mixed";
824const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55825const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19826const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05827
François Beaufort2e75f492018-02-08 20:44:46828const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47829const char kEnablePictureInPictureDescription[] =
François Beaufort106802c2018-12-18 17:46:13830 "Show Picture-in-Picture in browser context menu and video native "
831 "controls. The #enable-surfaces-for-videos flag must be enabled as well "
832 "to use it.";
Brett Wilsonf27ff602017-07-07 22:28:47833
F#m59d036e2017-09-13 07:22:17834const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
835const char kEnablePixelCanvasRecordingDescription[] =
836 "Pixel canvas recording allows the compositor to raster contents aligned "
837 "with the pixel and improves text rendering. This should be enabled when a "
838 "device is using fractional scale factor.";
839
Ella Gebee81c92018-08-14 15:51:09840const char kEnableResamplingInputEventsName[] =
841 "Enable resampling input events";
842const char kEnableResamplingInputEventsDescription[] =
843 "Predicts mouse and touch inputs position at rAF time based on previous "
844 "input";
845const char kEnableResamplingScrollEventsName[] =
846 "Enable resampling scroll events";
847const char kEnableResamplingScrollEventsDescription[] =
848 "Predicts the scroll amount at vsync time based on previous input";
849
Doug Arnettaa0bf202018-08-27 19:42:11850const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
851const char kEnableResourceLoadingHintsDescription[] =
852 "Enable using server-provided resource loading hints to provide a preview "
853 "over slow network connections.";
854
Mikel Astizb4786aa2018-11-09 22:12:09855const char kEnableSyncPseudoUSSAppListName[] =
856 "Enable pseudo-USS for APP_LIST sync.";
857const char kEnableSyncPseudoUSSAppListDescription[] =
858 "Enable new USS-based codepath for sync datatype APP_LIST.";
859
860const char kEnableSyncPseudoUSSAppsName[] = "Enable pseudo-USS for APPS sync.";
861const char kEnableSyncPseudoUSSAppsDescription[] =
862 "Enable new USS-based codepath for sync datatype APPS.";
863
864const char kEnableSyncPseudoUSSDictionaryName[] =
865 "Enable pseudo-USS for DICTIONARY sync.";
866const char kEnableSyncPseudoUSSDictionaryDescription[] =
867 "Enable new USS-based codepath for sync datatype DICTIONARY.";
868
869const char kEnableSyncPseudoUSSExtensionSettingsName[] =
870 "Enable pseudo-USS for EXTENSION_SETTINGS and APP_SETTINGS sync.";
871const char kEnableSyncPseudoUSSExtensionSettingsDescription[] =
872 "Enable new USS-based codepath for sync datatypes EXTENSION_SETTINGS and "
873 "APP_SETTINGS.";
874
875const char kEnableSyncPseudoUSSExtensionsName[] =
876 "Enable pseudo-USS for EXTENSIONS sync.";
877const char kEnableSyncPseudoUSSExtensionsDescription[] =
878 "Enable new USS-based codepath for sync datatype EXTENSIONS.";
879
880const char kEnableSyncPseudoUSSFaviconsName[] =
881 "Enable pseudo-USS for favicon sync.";
882const char kEnableSyncPseudoUSSFaviconsDescription[] =
883 "Enable new USS-based codepath for sync datatypes FAVICON_IMAGES and "
884 "FAVICON_TRACKING.";
885
886const char kEnableSyncPseudoUSSHistoryDeleteDirectivesName[] =
887 "Enable pseudo-USS for HISTORY_DELETE_DIRECTIVES sync.";
888const char kEnableSyncPseudoUSSHistoryDeleteDirectivesDescription[] =
889 "Enable new USS-based codepath for sync datatype "
890 "HISTORY_DELETE_DIRECTIVES.";
891
892const char kEnableSyncPseudoUSSPasswordsName[] =
893 "Enable pseudo-USS for PASSWORDS sync.";
894const char kEnableSyncPseudoUSSPasswordsDescription[] =
895 "Enable new USS-based codepath for sync datatype PASSWORDS (pseudo-USS).";
896
897const char kEnableSyncPseudoUSSPreferencesName[] =
898 "Enable pseudo-USS for PREFERENCES sync.";
899const char kEnableSyncPseudoUSSPreferencesDescription[] =
900 "Enable new USS-based codepath for sync datatype PREFERENCES.";
901
902const char kEnableSyncPseudoUSSPriorityPreferencesName[] =
903 "Enable pseudo-USS for PRIORITY_PREFERENCES sync.";
904const char kEnableSyncPseudoUSSPriorityPreferencesDescription[] =
905 "Enable new USS-based codepath for sync datatype PRIORITY_PREFERENCES.";
906
907const char kEnableSyncPseudoUSSSearchEnginesName[] =
908 "Enable pseudo-USS for SEARCH_ENGINES sync.";
909const char kEnableSyncPseudoUSSSearchEnginesDescription[] =
910 "Enable new USS-based codepath for sync datatype SEARCH_ENGINES.";
911
912const char kEnableSyncPseudoUSSSupervisedUsersName[] =
913 "Enable pseudo-USS for supervised users sync.";
914const char kEnableSyncPseudoUSSSupervisedUsersDescription[] =
915 "Enable new USS-based codepath for sync datatypes SUPERVISED_USER_SETTINGS "
916 "and SUPERVISED_USER_WHITELISTS.";
917
918const char kEnableSyncPseudoUSSThemesName[] =
919 "Enable pseudo-USS for THEMES sync.";
920const char kEnableSyncPseudoUSSThemesDescription[] =
921 "Enable new USS-based codepath for sync datatype THEMES.";
922
Mohamed Amir Yosef0178fa892018-07-23 17:43:52923const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
924const char kEnableSyncUSSBookmarksDescription[] =
925 "Enables the new, experimental implementation of bookmark sync";
926
Mohamed Amir Yosef3074dfc2019-02-06 18:34:43927const char kEnableSyncUSSPasswordsName[] = "Enable USS for passwords sync";
928const char kEnableSyncUSSPasswordsDescription[] =
929 "Enables the new, experimental implementation of passwords sync";
930
Mikel Astiz38837f82018-04-24 22:23:23931const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
932const char kEnableSyncUSSSessionsDescription[] =
933 "Enables the new, experimental implementation of session sync (aka tab "
934 "sync).";
935
Brett Wilsonf27ff602017-07-07 22:28:47936const char kEnableUseZoomForDsfName[] =
937 "Use Blink's zoom for device scale factor.";
938const char kEnableUseZoomForDsfDescription[] =
939 "If enabled, Blink uses its zooming mechanism to scale content for device "
940 "scale factor.";
941const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
942const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
943const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
944
Patrick Noland8ee016e2018-01-24 11:44:53945const char kEnableScrollAnchorSerializationName[] =
946 "Scroll Anchor Serialization";
947const char kEnableScrollAnchorSerializationDescription[] =
948 "Save the scroll anchor and use it to restore the scroll position when "
949 "navigating.";
950
Brad Nelson5cd500e2018-01-04 00:50:19951const char kEnableSharedArrayBufferName[] =
952 "Experimental enabled SharedArrayBuffer support in JavaScript.";
953const char kEnableSharedArrayBufferDescription[] =
954 "Enable SharedArrayBuffer support in JavaScript.";
955
Brett Wilsonf27ff602017-07-07 22:28:47956const char kEnableWasmName[] = "WebAssembly structured cloning support.";
957const char kEnableWasmDescription[] =
958 "Enable web pages to use WebAssembly structured cloning.";
959
Lei Zhang0ca70ea2018-09-07 17:51:01960const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47961 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01962const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47963 "Enable the cloud-assisted pairingless BLE protocol for use with "
964 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54965
Brett Wilsonf27ff602017-07-07 22:28:47966const char kEnableImageCaptureAPIName[] = "Image Capture API";
967const char kEnableImageCaptureAPIDescription[] =
968 "Enables the Web Platform Image Capture API: takePhoto(), "
969 "getPhotoCapabilities(), etc.";
970
Ramin Halavatic158b182018-10-18 14:04:54971const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
972const char kEnableIncognitoWindowCounterDescription[] =
973 "Shows the count of Incognito windows next to the Incognito icon on the "
974 "toolbar.";
975
Brett Wilsonf27ff602017-07-07 22:28:47976const char kEnableZeroSuggestRedirectToChromeName[] =
977 "Experimental contextual omnibox suggestion";
978const char kEnableZeroSuggestRedirectToChromeDescription[] =
979 "Change omnibox contextual suggestions to an experimental source. Note "
980 "that this is not an on/off switch for contextual omnibox and it only "
981 "applies to suggestions provided before the user starts typing a URL or a "
982 "search query (i.e. zero suggest).";
983
Clemens Hammacher0c8a15a2018-04-27 13:45:32984const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
985const char kEnableWasmBaselineDescription[] =
986 "Enables WebAssembly baseline compilation and tier up.";
987
Bill Budged0dace172019-02-10 00:46:21988const char kEnableWasmCodeCacheName[] = "WebAssembly compiled module cache";
989const char kEnableWasmCodeCacheDescription[] =
990 "Enables caching of compiled WebAssembly modules.";
991
Ben Smith24c1e5c2018-06-20 01:09:02992const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
993const char kEnableWasmThreadsDescription[] =
994 "Enables support for the WebAssembly Threads proposal. Implies "
995 "#shared-array-buffer and #enable-webassembly.";
996
Brett Wilsonf27ff602017-07-07 22:28:47997const char kExpensiveBackgroundTimerThrottlingName[] =
998 "Throttle expensive background timers";
999const char kExpensiveBackgroundTimerThrottlingDescription[] =
1000 "Enables intervention to limit CPU usage of background timers to 1%.";
1001
1002const char kExperimentalAppBannersName[] = "Experimental app banners";
1003const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:381004 "Enables a new experimental app banner flow and UI. Implies "
1005 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:471006
1007const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
1008const char kExperimentalCanvasFeaturesDescription[] =
1009 "Enables the use of experimental canvas features which are still in "
1010 "development.";
1011
1012const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
1013const char kExperimentalExtensionApisDescription[] =
1014 "Enables experimental extension APIs. Note that the extension gallery "
1015 "doesn't allow you to upload extensions that use experimental APIs.";
1016
Ian Clelland37a985d2018-05-04 02:43:131017const char kExperimentalProductivityFeaturesName[] =
1018 "Experimental Productivity Features";
1019const char kExperimentalProductivityFeaturesDescription[] =
1020 "Enable support for experimental developer productivity features, such as "
1021 "Layered APIs and policies for avoiding slow rendering.";
1022
Brett Wilsonf27ff602017-07-07 22:28:471023const char kExperimentalSecurityFeaturesName[] =
1024 "Potentially annoying security features";
1025const char kExperimentalSecurityFeaturesDescription[] =
1026 "Enables several security features that will likely break one or more "
1027 "pages that you visit on a daily basis. Strict mixed content checking, for "
1028 "example. And locking powerful features to secure contexts. This flag will "
1029 "probably annoy you.";
1030
1031const char kExperimentalWebPlatformFeaturesName[] =
1032 "Experimental Web Platform features";
1033const char kExperimentalWebPlatformFeaturesDescription[] =
1034 "Enables experimental Web Platform features that are in development.";
1035
1036const char kExtensionContentVerificationName[] =
1037 "Extension Content Verification";
1038const char kExtensionContentVerificationDescription[] =
1039 "This flag can be used to turn on verification that the contents of the "
1040 "files on disk for extensions from the webstore match what they're "
1041 "expected to be. This can be used to turn on this feature if it would not "
1042 "otherwise have been turned on, but cannot be used to turn it off (because "
1043 "this setting can be tampered with by malware).";
1044const char kExtensionContentVerificationBootstrap[] =
1045 "Bootstrap (get expected hashes, but do not enforce them)";
1046const char kExtensionContentVerificationEnforce[] =
1047 "Enforce (try to get hashes, and enforce them if successful)";
1048const char kExtensionContentVerificationEnforceStrict[] =
1049 "Enforce strict (hard fail if we can't get hashes)";
1050
1051const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
1052const char kExtensionsOnChromeUrlsDescription[] =
1053 "Enables running extensions on chrome:// URLs, where extensions explicitly "
1054 "request this permission.";
galinapae72e152017-05-12 13:12:281055
Brett Wilsonecb80982017-07-12 20:34:511056const char kFeaturePolicyName[] = "Feature Policy";
1057const char kFeaturePolicyDescription[] =
1058 "Enables granting and removing access to features through the "
1059 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:341060
Brett Wilsonecb80982017-07-12 20:34:511061const char kFontCacheScalingName[] = "FontCache scaling";
1062const char kFontCacheScalingDescription[] =
1063 "Reuse a cached font in the renderer to serve different sizes of font for "
1064 "faster layout.";
1065
1066const char kForceEffectiveConnectionTypeName[] =
1067 "Override effective connection type";
1068const char kForceEffectiveConnectionTypeDescription[] =
1069 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:301070 "returned by the network quality estimator. Slow 2G on Cellular returns "
1071 "Slow 2G when connected to a cellular network, and the actual estimate "
1072 "effective connection type when not on a cellular network. Previews are "
1073 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:511074const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
1075const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
1076const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:301077const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
1078 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:511079const char kEffectiveConnectionType2GDescription[] = "2G";
1080const char kEffectiveConnectionType3GDescription[] = "3G";
1081const char kEffectiveConnectionType4GDescription[] = "4G";
1082
1083const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1084const char kFillOnAccountSelectDescription[] =
1085 "Filling of passwords when an account is explicitly selected by the user "
1086 "rather than autofilling credentials on page load.";
1087
jdoerrie11c5f4f2019-02-04 18:29:181088const char kFillOnAccountSelectHttpName[] =
1089 "Fill passwords on account selection on HTTP origins";
1090const char kFillOnAccountSelectHttpDescription[] =
1091 "Filling of passwords when an account is explicitly selected by the user "
1092 "rather than autofilling credentials on page load on HTTP origins.";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kForceTextDirectionName[] = "Force text direction";
1095const char kForceTextDirectionDescription[] =
1096 "Explicitly force the per-character directionality of UI text to "
1097 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
1098 "direction of the character language.";
1099const char kForceDirectionLtr[] = "Left-to-right";
1100const char kForceDirectionRtl[] = "Right-to-left";
1101
1102const char kForceUiDirectionName[] = "Force UI direction";
1103const char kForceUiDirectionDescription[] =
1104 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1105 "mode, overriding the default direction of the UI language.";
1106
1107const char kFramebustingName[] =
1108 "Framebusting requires same-origin or a user gesture";
1109const char kFramebustingDescription[] =
1110 "Don't permit an iframe to navigate the top level browsing context unless "
1111 "they are same-origin or the iframe is processing a user gesture.";
1112
Matt Reynolds043469f2018-05-01 22:56:581113const char kGamepadVibrationName[] = "Gamepad Vibration";
1114const char kGamepadVibrationDescription[] =
1115 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511116
Brett Wilsonecb80982017-07-12 20:34:511117const char kGpuRasterizationName[] = "GPU rasterization";
1118const char kGpuRasterizationDescription[] =
1119 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281120const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511121
Ioana Pandele1ed7ef72018-11-21 15:22:031122const char kGooglePasswordManagerName[] = "Google Password Manager UI";
1123const char kGooglePasswordManagerDescription[] =
1124 "Enables access to the Google Password Manager UI from Chrome.";
1125
Brett Wilsonecb80982017-07-12 20:34:511126const char kGoogleProfileInfoName[] = "Google profile name and icon";
1127const char kGoogleProfileInfoDescription[] =
1128 "Enables using Google information to populate the profile name and icon in "
1129 "the avatar menu.";
1130
Takumi Fujimotofb71e332018-03-31 14:04:081131const char kViewsCastDialogName[] = "Views Cast dialog";
1132const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311133 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531134 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541135 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081136
Gabrielle Paladoaebf7ca2019-01-16 07:07:061137const char kHandwritingGestureName[] = "Handwriting Gestures";
1138const char kHandwritingGestureDescription[] =
1139 "Enables handwriting gestures within the virtual keyboard";
1140
Tommy Steimel1aadd7b2019-01-18 19:39:421141const char kHardwareMediaKeyHandling[] = "Hardware Media Key Handling";
1142const char kHardwareMediaKeyHandlingDescription[] =
1143 "Enables using media keys to control the active media session. This "
1144 "requires MediaSessionService to be enabled too";
1145
Manu Cornet4a908de2018-04-09 04:32:271146const char kHideActiveAppsFromShelfName[] =
1147 "Hide running apps (that are not pinned) from the shelf";
1148const char kHideActiveAppsFromShelfDescription[] =
1149 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251150
Brett Wilsonecb80982017-07-12 20:34:511151const char kHistoryRequiresUserGestureName[] =
1152 "New history entries require a user gesture.";
1153const char kHistoryRequiresUserGestureDescription[] =
1154 "Require a user gesture to add a history entry.";
1155const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1156const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1157
Ryan Landay4242dbc22018-04-04 01:47:331158const char kHorizontalTabSwitcherAndroidName[] =
1159 "Enable horizontal tab switcher";
1160const char kHorizontalTabSwitcherAndroidDescription[] =
1161 "Changes the layout of the Android tab switcher so tabs scroll "
1162 "horizontally instead of vertically.";
1163
Matt Simmons2048b2a2018-12-20 20:12:561164const char kTabSwitcherOnReturnName[] = "Enable tab switcher on return";
1165const char kTabSwitcherOnReturnDescription[] =
1166 "Enable tab switcher on return after specified time has elapsed";
1167
Brett Wilsonecb80982017-07-12 20:34:511168const char kHostedAppQuitNotificationName[] =
1169 "Quit notification for hosted apps";
1170const char kHostedAppQuitNotificationDescription[] =
1171 "Display a notification when quitting Chrome if hosted apps are currently "
1172 "running.";
1173
1174const char kHostedAppShimCreationName[] =
1175 "Creation of app shims for hosted apps on Mac";
1176const char kHostedAppShimCreationDescription[] =
1177 "Create app shims on Mac when creating a hosted app.";
1178
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481179const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1180const char kHtmlBasedUsernameDetectorDescription[] =
1181 "Use HTML-based username detector for the password manager.";
1182
Brett Wilsonecb80982017-07-12 20:34:511183const char kIconNtpName[] = "Large icons on the New Tab page";
1184const char kIconNtpDescription[] =
1185 "Enable the experimental New Tab page using large icons.";
1186
1187const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1188const char kIgnoreGpuBlacklistDescription[] =
1189 "Overrides the built-in software rendering list and enables "
1190 "GPU-acceleration on unsupported system configurations.";
1191
Ryan Sturm8c3dbc92018-06-26 19:22:371192const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441193const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371194 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441195
Alexandre Frechetted3e1b542018-12-13 14:40:501196const char kImprovedGeoLanguageDataName[] = "Improved Geo-language Data";
1197const char kImprovedGeoLanguageDataDescription[] =
1198 "Makes the GeoLanguageModel use higher quality, more refined ULP "
1199 "geo-language data.";
1200
Brett Wilsonecb80982017-07-12 20:34:511201const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1202const char kInProductHelpDemoModeChoiceDescription[] =
1203 "Selects the In-Product Help demo mode.";
1204
1205const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1206const char kJavascriptHarmonyDescription[] =
1207 "Enable web pages to use experimental JavaScript features.";
1208
1209const char kJavascriptHarmonyShippingName[] =
1210 "Latest stable JavaScript features";
1211const char kJavascriptHarmonyShippingDescription[] =
1212 "Some web pages use legacy or non-standard JavaScript extensions that may "
1213 "conflict with the latest JavaScript features. This flag allows disabling "
1214 "support of those features for compatibility with such pages.";
1215
gogeraldfd7675d2018-06-19 22:57:351216const char kJustInTimeServiceWorkerPaymentAppName[] =
1217 "Just-in-time service worker payment app";
1218const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1219 "Allow crawling just-in-time service worker payment app when there is no "
1220 "installed service worker payment app for a payment request.";
1221
Yutaka Hiranof7f2f632017-09-06 10:40:081222const char kKeepAliveRendererForKeepaliveRequestsName[] =
1223 "Keep a renderer alive for keepalive fetch requests";
1224const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1225 "Keep a render process alive when the process has a pending fetch request "
1226 "with `keepalive' specified.";
1227
Joe Downing095fd6d2018-02-01 18:40:361228const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1229const char kKeyboardLockApiDescription[] =
1230 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1231 "specific key events and have them routed directly to the webpage when in "
1232 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1233
Brett Wilsonecb80982017-07-12 20:34:511234const char kLcdTextName[] = "LCD text antialiasing";
1235const char kLcdTextDescription[] =
1236 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1237 "(subpixel) when doing accelerated compositing.";
1238
1239const char kLoadMediaRouterComponentExtensionName[] =
1240 "Load Media Router Component Extension";
1241const char kLoadMediaRouterComponentExtensionDescription[] =
1242 "Loads the Media Router component extension at startup.";
1243
Mustafa Emre Acer137dc8b2018-08-29 20:38:131244const char kLookalikeUrlNavigationSuggestionsName[] =
1245 "Navigation suggestions for lookalike URLs";
1246const char kLookalikeUrlNavigationSuggestionsDescription[] =
1247 "Enable navigation suggestions for URLs that are visually similar to "
1248 "popular domains or to domains with a site engagement score.";
1249
Brett Wilsonecb80982017-07-12 20:34:511250const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1251const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511252
Lei Zhang2eca9082017-10-17 20:42:501253const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1254const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511255 "If enabled, the Incognito New Tab page uses the new material design with "
1256 "a better readable text.";
1257
spqchanb87755692018-04-05 00:46:091258const char kMediaRouterCastAllowAllIPsName[] =
1259 "Connect to Cast devices on all IP addresses";
1260const char kMediaRouterCastAllowAllIPsDescription[] =
1261 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311262 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091263
Brett Wilsonecb80982017-07-12 20:34:511264const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1265const char kMessageCenterNewStyleNotificationDescription[] =
1266 "Enables the experiment style of material-design notification";
1267
Brett Wilsonecb80982017-07-12 20:34:511268const char kNewAudioRenderingMixingStrategyName[] =
1269 "New audio rendering mixing strategy";
1270const char kNewAudioRenderingMixingStrategyDescription[] =
1271 "Use the new audio rendering mixing strategy.";
1272
1273const char kNewBookmarkAppsName[] = "The new bookmark app system";
1274const char kNewBookmarkAppsDescription[] =
1275 "Enables the new system for creating bookmark apps.";
1276
Vadym Doroshenkocd4ff782018-07-24 13:41:021277const char kNewPasswordFormParsingName[] =
1278 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241279const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021280 "Replaces existing form parsing for filling in password manager with a new "
1281 "version, currently under development. WARNING: when enabled, Password "
1282 "Manager might stop working";
1283
1284const char kNewPasswordFormParsingForSavingName[] =
1285 "New password form parsing for saving passwords";
1286const char kNewPasswordFormParsingForSavingDescription[] =
1287 "Replaces existing form parsing for saving in password manager with a new "
1288 "version, currently under development. WARNING: when enabled, Password "
1289 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241290
CJ DiMeglio7b4a199f2017-11-30 01:26:501291const char kUseSurfaceLayerForVideoName[] =
1292 "Enable the use of SurfaceLayer objects for videos.";
1293const char kUseSurfaceLayerForVideoDescription[] =
1294 "Enable compositing onto a Surface instead of a VideoLayer "
1295 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511296
1297const char kNewUsbBackendName[] = "Enable new USB backend";
1298const char kNewUsbBackendDescription[] =
1299 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341300
Sonny Sasaka2d200432018-03-22 17:43:161301const char kNewblueName[] = "Newblue";
1302const char kNewblueDescription[] =
1303 "Enables the use of newblue Bluetooth daemon.";
1304
Peter Boström7df25c72018-12-12 06:40:191305const char kNewTabLoadingAnimation[] = "New tab-loading animation";
1306const char kNewTabLoadingAnimationDescription[] =
1307 "Enables a new look for the tab-loading animation.";
1308
Peter Kasting63097912018-06-30 02:09:031309const char kNewTabButtonPosition[] = "New tab button position";
1310const char kNewTabButtonPositionDescription[] =
1311 "Controls placement of the new tab button within the tabstrip.";
1312const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1313const char kNewTabButtonPositionLeading[] = "Leading";
1314const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1315const char kNewTabButtonPositionTrailing[] = "Trailing";
1316
Egor Pasko6fed3822018-05-30 10:33:141317const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341318const char kNostatePrefetchDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:061319 "If enabled, pre-downloads resources to improve page load speed.";
vabr0215a8e2017-03-28 12:47:341320
Alex Newcomerd7b0cc42018-05-25 22:58:481321const char kNotificationIndicatorName[] = "Notification Indicators";
1322const char kNotificationIndicatorDescription[] =
1323 "Enable notification indicators, which appear on app icons when a "
1324 "notification is active. This will also enable notifications in context "
1325 "menus.";
1326
Brett Wilsonecb80982017-07-12 20:34:511327const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1328const char kNotificationsNativeFlagDescription[] =
1329 "Enable support for using the native notification toasts and notification "
1330 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341331
Valeriya Sinevich972ac122018-09-05 07:33:191332const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1333const char kUseMultiloginEndpointDescription[] =
1334 "Use Gaia OAuth multilogin for identity consistency.";
1335
Zentaro Kavanaghbad511c2017-10-18 22:29:001336#if defined(OS_POSIX)
1337const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1338const char kNtlmV2EnabledDescription[] =
1339 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1340#endif
1341
Brett Wilsonecb80982017-07-12 20:34:511342const char kOfferStoreUnmaskedWalletCardsName[] =
1343 "Google Payments card saving checkbox";
1344const char kOfferStoreUnmaskedWalletCardsDescription[] =
1345 "Show the checkbox to offer local saving of a credit card downloaded from "
1346 "the server.";
1347
1348const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1349const char kOfflineAutoReloadDescription[] =
1350 "Pages that fail to load while the browser is offline will be "
1351 "auto-reloaded when the browser is online again.";
1352
1353const char kOfflineAutoReloadVisibleOnlyName[] =
1354 "Only Auto-Reload Visible Tabs";
1355const char kOfflineAutoReloadVisibleOnlyDescription[] =
1356 "Pages that fail to load while the browser is offline will only be "
1357 "auto-reloaded if their tab is visible.";
1358
Brett Wilsonecb80982017-07-12 20:34:511359const char kOmniboxDisplayTitleForCurrentUrlName[] =
1360 "Include title for the current URL in the omnibox";
1361const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1362 "In the event that the omnibox provides suggestions on-focus, the URL of "
1363 "the current page is provided as the first suggestion without a title. "
1364 "Enabling this flag causes the title to be displayed.";
1365
manuk2e55a7b2019-02-12 20:08:231366const char kOmniboxMaterialDesignWeatherIconsName[] =
1367 "Omnibox Material Design Weather Icons";
1368const char kOmniboxMaterialDesignWeatherIconsDescription[] =
1369 "Use material design weather icons in the omnibox when displaying weather "
1370 "answers.";
1371
Tomasz Wiszkowskic87dff12019-01-15 02:57:511372const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
1373const char kOmniboxNewAnswerLayoutDescription[] =
1374 "Modernize omnibox answers using an enhanced layout with larger icons.";
1375
Tomasz Wiszkowskic7fd5bed2019-02-11 17:33:231376const char kOmniboxRichEntitySuggestionsName[] =
1377 "Omnibox rich entity suggestions";
1378const char kOmniboxRichEntitySuggestionsDescription[] =
1379 "Display entity suggestions using images and an enhanced layout; showing "
1380 "more context and descriptive text about the entity. Has no effect unless "
1381 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
1382 "flag is set to Refresh or Touchable Refresh.";
1383
Benoit Lizeab08362c2017-07-19 14:50:541384const char kOmniboxSpareRendererName[] =
1385 "Start spare renderer on omnibox focus";
1386const char kOmniboxSpareRendererDescription[] =
1387 "When the omnibox is focused, start an empty spare renderer. This can "
1388 "speed up the load of the navigation from the omnibox.";
1389
Tommy C. Lie4194b732018-09-28 22:21:511390const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1391 "Omnibox UI Hide Steady-State URL Scheme";
1392const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1393 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361394 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511395
Tommy C. Lib20aec72018-11-19 21:38:231396const char kOmniboxUIOneClickUnelideName[] = "Omnibox UI One Click Unelide";
1397const char kOmniboxUIOneClickUnelideDescription[] =
1398 "In the omnibox, undo all unelisions with a single click or focus action.";
1399
Tommy C. Lie4194b732018-09-28 22:21:511400const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1401 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1402const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1403 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361404 "Hidden portions are restored during editing.";
1405
1406const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1407 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1408const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1409 "In the omnibox, hide the path, query and ref from steady state displayed "
1410 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121411
Brett Wilsonecb80982017-07-12 20:34:511412const char kOmniboxUIMaxAutocompleteMatchesName[] =
1413 "Omnibox UI Max Autocomplete Matches";
1414
1415const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1416 "Changes the maximum number of autocomplete matches displayed in the "
1417 "Omnibox UI.";
1418
Tommy C. Liba4e66ef2019-02-12 21:33:281419const char kOmniboxUIShowSuggestionFaviconsName[] =
1420 "Omnibox UI Show Suggestion Favicons";
1421const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1422 "Shows favicons instead of generic vector icons for URL suggestions in the "
1423 "Omnibox dropdown.";
1424
Justin Donnelly65c9e8b2017-10-01 05:15:011425const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1426const char kOmniboxUISwapTitleAndUrlDescription[] =
1427 "In the omnibox dropdown, shows titles before URLs when both are "
1428 "available.";
1429
Troy Hildebrandtb32637ca2018-02-21 23:25:091430const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1431 "Omnibox Voice Search Always Visible";
1432const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1433 "Always displays voice search icon in focused omnibox as long as voice "
1434 "search is possible";
1435
Vadym Doroshenko6b8f64d2018-11-26 15:35:391436const char kOnlyNewPasswordFormParsingName[] =
1437 "Use only new password form parsing";
1438const char kOnlyNewPasswordFormParsingDescription[] =
1439 "The old password form parsing is disabled";
1440
Mark Lieufaa1b762019-01-08 19:37:281441const char kOnTheFlyMhtmlHashComputationName[] =
1442 "On-The-Fly MHTML Hash Computation";
1443const char kOnTheFlyMhtmlHashComputationDescription[] =
1444 "Save MHTML files to the target location and calculate their content "
1445 "digests in one step.";
1446
Adrienne Walkerc87477e2018-06-06 22:28:211447const char kOopRasterizationName[] = "Out of process rasterization";
1448const char kOopRasterizationDescription[] =
1449 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1450 "Must also enable GPU rasterization";
1451
Brett Wilsonecb80982017-07-12 20:34:511452const char kOriginTrialsName[] = "Origin Trials";
1453const char kOriginTrialsDescription[] =
1454 "Enables origin trials for controlling access to feature/API experiments.";
1455
Becca Hughes930d8cd2017-10-02 11:09:121456const char kOverflowIconsForMediaControlsName[] =
1457 "Icons on Media Controls Overflow Menu";
1458const char kOverflowIconsForMediaControlsDescription[] =
1459 "Displays icons on the overflow menu of the native media controls";
1460
Brett Wilsonecb80982017-07-12 20:34:511461const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1462const char kOverlayScrollbarsDescription[] =
1463 "Enable the experimental overlay scrollbars implementation. You must also "
1464 "enable threaded compositing to have the scrollbars animate.";
1465
chaopenge8aa016b2017-08-24 15:20:191466const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1467 "Flash Overlay Scrollbars After Any Scroll Update";
1468const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1469 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1470 " must also enable Overlay Scrollbars.";
1471
chaopeng343678022017-08-24 18:45:001472const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1473 "Flash Overlay Scrollbars When Mouse Enter";
1474const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1475 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1476 " enable Overlay Scrollbars.";
1477
Daniele Castagna74ddb9c2018-06-21 22:59:021478const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1479const char kOverlayStrategiesDescription[] =
1480 "Select strategies used to promote quads to HW overlays.";
1481const char kOverlayStrategiesDefault[] = "Default";
1482const char kOverlayStrategiesNone[] = "None";
1483const char kOverlayStrategiesUnoccludedFullscreen[] =
1484 "Unoccluded fullscreen buffers (single-fullscreen)";
1485const char kOverlayStrategiesUnoccluded[] =
1486 "Unoccluded buffers (single-fullscreen,single-on-top)";
1487const char kOverlayStrategiesOccludedAndUnoccluded[] =
1488 "Occluded and unoccluded buffers "
1489 "(single-fullscreen,single-on-top,underlay)";
1490
Claudio Magni81326f92017-09-01 05:21:181491const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1492const char kUseNewAcceptLanguageHeaderDescription[] =
1493 "Adds the base language code after other corresponding language+region "
1494 "codes. This ensures that users receive content in their preferred "
1495 "language.";
1496
Brett Wilsonecb80982017-07-12 20:34:511497const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1498const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481499 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511500
1501const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1502const char kOverscrollStartThresholdDescription[] =
1503 "Changes overscroll start threshold relative to the default value.";
1504const char kOverscrollStartThreshold133Percent[] = "133%";
1505const char kOverscrollStartThreshold166Percent[] = "166%";
1506const char kOverscrollStartThreshold200Percent[] = "200%";
1507
chaopenge2b6e5f2018-05-08 16:40:451508const char kTouchpadOverscrollHistoryNavigationName[] =
1509 "Overscroll history navigation on Touchpad";
1510const char kTouchpadOverscrollHistoryNavigationDescription[] =
1511 "Allows swipe left/right from touchpad change browser navigation.";
1512
Xing Liu5400a002017-09-15 21:48:291513const char kParallelDownloadingName[] = "Parallel downloading";
1514const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061515 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291516
Brett Wilsonecb80982017-07-12 20:34:511517const char kPassiveEventListenerDefaultName[] =
1518 "Passive Event Listener Override";
1519const char kPassiveEventListenerDefaultDescription[] =
1520 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1521 "haven't requested otherwise) to be treated as passive. This will break "
1522 "touch/wheel behavior on some websites but is useful for demonstrating the "
1523 "potential performance benefits of adopting passive event listeners.";
1524const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1525const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1526
1527const char kPassiveEventListenersDueToFlingName[] =
1528 "Touch Event Listeners Passive Default During Fling";
1529const char kPassiveEventListenersDueToFlingDescription[] =
1530 "Forces touchstart, and first touchmove per scroll event listeners during "
1531 "fling to be treated as passive.";
1532
1533const char kPassiveDocumentEventListenersName[] =
1534 "Document Level Event Listeners Passive Default";
1535const char kPassiveDocumentEventListenersDescription[] =
1536 "Forces touchstart, and touchmove event listeners on document level "
1537 "targets (which haven't requested otherwise) to be treated as passive.";
1538
Sahel Sharify7400e882018-08-13 17:13:211539const char kPassiveDocumentWheelEventListenersName[] =
1540 "Document Level Wheel Event Listeners Passive Default";
1541const char kPassiveDocumentWheelEventListenersDescription[] =
1542 "Forces wheel, and mousewheel event listeners on document level targets "
1543 "(which haven't requested otherwise) to be treated as passive.";
1544
Vaclav Brozekd8a3f542017-11-16 14:21:131545const char kPasswordImportName[] = "Password import";
1546const char kPasswordImportDescription[] =
1547 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511548
Friedrich Horschige6c27742018-04-23 17:13:411549const char kPasswordsKeyboardAccessoryName[] =
1550 "Add password-related functions to keyboard accessory";
1551const char kPasswordsKeyboardAccessoryDescription[] =
1552 "Adds password generation button and toggle for the passwords bottom sheet "
1553 "to the keyboard accessory. Replaces password generation popups.";
1554
Christos Froussios6e060c42018-07-31 16:17:191555const char kPasswordsMigrateLinuxToLoginDBName[] =
1556 "Migrate passwords to \"Login Data\"";
1557const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591558 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191559 "gnome-keyring or kwallet into the profile directory.";
1560
Rouslan Solomakhinded840112018-11-02 13:27:101561const char kPerMethodCanMakePaymentQuotaName[] =
1562 "Per-method canMakePayment() quota.";
1563const char kPerMethodCanMakePaymentQuotaDescription[] =
1564 "Allow calling canMakePayment() for different payment methods, as long as "
1565 "method-specific parameters remain unchanged.";
1566
Brett Wilsonecb80982017-07-12 20:34:511567const char kPinchScaleName[] = "Pinch scale";
1568const char kPinchScaleDescription[] =
1569 "Enables experimental support for scale using pinch.";
1570
Doug Arnett620ff542018-02-06 17:54:221571const char kPreviewsAllowedName[] = "Previews Allowed";
1572const char kPreviewsAllowedDescription[] =
1573 "Allows previews to be shown subject to specific preview types being "
1574 "enabled and the client experiencing specific triggering conditions. "
1575 "May be used as a kill-switch to turn off all potential preview types.";
1576
Brett Wilsonecb80982017-07-12 20:34:511577const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1578const char kPrintPdfAsImageDescription[] =
1579 "If enabled, an option to print PDF files as images will be available in "
1580 "print preview.";
1581
1582const char kPrintPreviewRegisterPromosName[] =
1583 "Print Preview Registration Promos";
1584const char kPrintPreviewRegisterPromosDescription[] =
1585 "Enable registering unregistered cloud printers from print preview.";
1586
1587const char kProtectSyncCredentialName[] = "Autofill sync credential";
1588const char kProtectSyncCredentialDescription[] =
1589 "How the password manager handles autofill for the sync credential.";
1590
1591const char kProtectSyncCredentialOnReauthName[] =
1592 "Autofill sync credential only for transactional reauth pages";
1593const char kProtectSyncCredentialOnReauthDescription[] =
1594 "How the password manager handles autofill for the sync credential only "
1595 "for transactional reauth pages.";
1596
Mohsen Izadi93faac12017-07-29 04:45:151597const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1598const char kPullToRefreshDescription[] =
1599 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011600const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151601
Troy Hildebrandt7228ad12018-02-23 21:18:241602const char kQueryInOmniboxName[] = "Query in Omnibox";
1603const char kQueryInOmniboxDescription[] =
1604 "Only display query terms in the omnibox when viewing a search results "
1605 "page.";
1606
Brett Wilsonecb80982017-07-12 20:34:511607const char kQuicName[] = "Experimental QUIC protocol";
1608const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1609
Emily Starke8878d52018-05-11 21:27:261610const char kRecurrentInterstitialName[] =
1611 "Show a message when the same SSL error recurs";
1612const char kRecurrentInterstitialDescription[] =
1613 "Enable a special message on the SSL certificate error page when the same "
1614 "SSL error occurs repeatedly.";
1615
Brett Wilsonecb80982017-07-12 20:34:511616const char kReducedReferrerGranularityName[] =
1617 "Reduce default 'referer' header granularity.";
1618const char kReducedReferrerGranularityDescription[] =
1619 "If a page hasn't set an explicit referrer policy, setting this flag will "
1620 "reduce the amount of information in the 'referer' header for cross-origin "
1621 "requests.";
1622
Lei Zhang0ca70ea2018-09-07 17:51:011623const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581624 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011625const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581626 "This flag allows regional locales to be selected as display UI by the "
1627 "user in Language Settings. The actual locale of the system is derived "
1628 "from the user selection based on some simple fallback logic.";
1629
Christian Dullweber3cc579a22018-09-11 10:54:441630const char kRewriteLevelDBOnDeletionName[] =
1631 "Rewrite LevelDB instances after full deletions";
1632const char kRewriteLevelDBOnDeletionDescription[] =
1633 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1634
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351635const char kRendererSideResourceSchedulerName[] =
1636 "Renderer side ResourceScheduler";
1637const char kRendererSideResourceSchedulerDescription[] =
1638 "Migrate some ResourceScheduler functionalities to renderer";
1639
Brett Wilsonecb80982017-07-12 20:34:511640const char kRequestTabletSiteName[] =
1641 "Request tablet site option in the settings menu";
1642const char kRequestTabletSiteDescription[] =
1643 "Allows the user to request tablet site. Web content is often optimized "
1644 "for tablet devices. When this option is selected the user agent string is "
1645 "changed to indicate a tablet device. Web content optimized for tablets is "
1646 "received there after for the current tab.";
1647
1648const char kResetAppListInstallStateName[] =
1649 "Reset the App Launcher install state on every restart.";
1650const char kResetAppListInstallStateDescription[] =
1651 "Reset the App Launcher install state on every restart. While this flag is "
1652 "set, Chrome will forget the launcher has been installed each time it "
1653 "starts. This is used for testing the App Launcher install flow.";
1654
Kinuko Yasuda33955082018-06-19 10:14:591655const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511656const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591657 "Uses the resource load scheduler in blink to throttle resource load "
1658 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511659
Daniel Rubery91874e32019-01-10 22:12:341660const char kSafeBrowsingUseAPDownloadVerdictsName[] =
1661 "Request Advanced Protection verdicts when inspecting downloads";
1662const char kSafeBrowsingUseAPDownloadVerdictsDescription[] =
1663 "If enabled, download protection will request Advanced Protection "
1664 "verdicts from Safe Browsing. These will provide stronger protections "
1665 "from files Safe Browsing is unsure about.";
1666
Brett Wilsonecb80982017-07-12 20:34:511667const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1668const char kSafeSearchUrlReportingDescription[] =
1669 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1670
Alexei Filippov98772752018-01-27 08:26:521671const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1672const char kSamplingHeapProfilerDescription[] =
1673 "Enables native memory sampling profiler with specified rate in KiB. "
1674 "If sampling rate is not provided the default value of 128 KiB is used.";
1675
Brett Wilsonecb80982017-07-12 20:34:511676const char kSaveasMenuLabelExperimentName[] =
1677 "Switch 'Save as' menu labels to 'Download'";
1678const char kSaveasMenuLabelExperimentDescription[] =
1679 "Enables an experiment to switch menu labels that use 'Save as...' to "
1680 "'Download'.";
1681
1682const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1683const char kSavePageAsMhtmlDescription[] =
1684 "Enables saving pages as MHTML: a single text file containing HTML and all "
1685 "sub-resources.";
1686
Jeffrey Cohene49cc59c2018-10-23 16:27:281687const char kSendTabToSelfName[] = "Send tab to self";
1688const char kSendTabToSelfDescription[] =
1689 "Allows users to push tabs from Android devices to other synced "
1690 "devices, in order to easily transition those tabs to the new device ";
1691
gogeraldd5061b592017-09-06 23:39:551692const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1693const char kServiceWorkerPaymentAppsDescription[] =
1694 "Enable Service Worker applications to integrate as payment apps";
1695
momohattfc352292018-08-29 05:12:361696const char kServiceWorkerImportedScriptUpdateCheckName[] =
1697 "Enable update check for service worker importScripts() resources";
1698const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1699 "Extend byte-for-byte update check for scripts that are imported by the "
1700 "service worker script via importScripts().";
1701
Lei Zhang0ca70ea2018-09-07 17:51:011702const char kServiceWorkerServicificationName[] = "Servicified service workers";
1703const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441704 "Enable the servicified service workers. A servicified service worker can "
1705 "have direct connection from its clients, so that fetch events can be "
1706 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171707
Azeem Arshad3b1ef73122018-08-30 02:04:151708const char kServiceWorkerLongRunningMessageName[] =
1709 "Service worker long running message dispatch.";
1710const char kServiceWorkerLongRunningMessageDescription[] =
1711 "Enables long running message dispatch method for service workers. "
1712 "Messages sent with this method do not timeout, allowing the service "
1713 "worker to run indefinitely.";
1714
Chris Hamiltonb9612e262019-02-12 21:12:061715const char kSessionRestorePrioritizesBackgroundUseCasesName[] =
1716 "Session restore prioritizes background use cases.";
1717const char kSessionRestorePrioritizesBackgroundUseCasesDescription[] =
1718 "When enabled session restore logic will prioritize sites that make use of "
1719 "background communication mechanisms (favicon and tab title switches, "
1720 "notifications, etc) over sites that do not.";
1721
Brett Wilsonecb80982017-07-12 20:34:511722const char kSettingsWindowName[] = "Show settings in a window";
1723const char kSettingsWindowDescription[] =
1724 "Settings will be shown in a dedicated window instead of as a browser tab.";
1725
Manu Cornetd7ef7c52018-05-01 22:08:231726const char kShelfHoverPreviewsName[] =
1727 "Show previews of running apps when hovering over the shelf.";
1728const char kShelfHoverPreviewsDescription[] =
1729 "Shows previews of the open windows for a given running app when hovering "
1730 "over the shelf.";
1731
Naoki Fukino008a0022018-05-23 18:33:001732const char kShowAndroidFilesInFilesAppName[] =
1733 "Show Android files in Files app";
1734const char kShowAndroidFilesInFilesAppDescription[] =
1735 "Show Android files in Files app if Android is enabled on the device.";
1736
Brett Wilsonecb80982017-07-12 20:34:511737const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1738const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381739 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1740 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511741
1742const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1743const char kShowAutofillTypePredictionsDescription[] =
1744 "Annotates web forms with Autofill field type predictions as placeholder "
1745 "text.";
1746
1747const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1748const char kShowOverdrawFeedbackDescription[] =
1749 "Visualize overdraw by color-coding elements based on if they have other "
1750 "elements drawn underneath.";
1751
Shivani Sharma2d5b4b6b2019-01-08 16:07:161752const char kHistoryManipulationIntervention[] =
1753 "History Manipulation Intervention";
1754const char kHistoryManipulationInterventionDescription[] =
1755 "If a page does a client side redirect or adds to the history without a "
1756 "user gesture, then skip it on back/forward UI.";
1757
Carlos IL89128732018-04-03 17:00:251758const char kSupervisedUserCommittedInterstitialsName[] =
1759 "Enable Supervised User Committed Interstitials";
1760const char kSupervisedUserCommittedInterstitialsDescription[] =
1761 "Use committed error pages instead of transient navigation entries for "
1762 "supervised user interstitials";
1763
Brett Wilsonecb80982017-07-12 20:34:511764const char kShowSavedCopyName[] = "Show Saved Copy Button";
1765const char kShowSavedCopyDescription[] =
1766 "When a page fails to load, if a stale copy of the page exists in the "
1767 "browser cache, a button will be presented to allow the user to load that "
1768 "stale copy. The primary enabling choice puts the button in the most "
1769 "salient position on the error page; the secondary enabling choice puts it "
1770 "secondary to the reload button.";
1771const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1772const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1773const char kDisableShowSavedCopy[] = "Disable";
1774
Brett Wilsonecb80982017-07-12 20:34:511775const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1776const char kSilentDebuggerExtensionApiDescription[] =
1777 "Do not show the infobar when an extension attaches to a page via "
1778 "chrome.debugger API. This is required to debug extension background "
1779 "pages.";
1780
Tsuyoshi Horo53895ba92018-03-14 04:06:481781const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1782const char kSignedHTTPExchangeDescription[] =
1783 "Enables Origin-Signed HTTP Exchanges support which is still in "
1784 "development. Warning: Enabling this may pose a security risk.";
1785
Christopher Thompson75ff845d2018-02-01 20:12:461786const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1787const char kSimplifyHttpsIndicatorDescription[] =
1788 "Change the UI treatment for HTTPS pages.";
1789
Lukasz Anforowicz738a88d2018-11-05 19:19:341790const char kSiteIsolationOptOutName[] = "Disable site isolation";
1791const char kSiteIsolationOptOutDescription[] =
1792 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571793 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1794 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221795 "isolation is force-enabled using a command line switch or using an "
1796 "enterprise policy. "
1797 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571798 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341799const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1800const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511801
Pattideade7972018-04-27 02:59:401802const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511803const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401804 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511805
Brett Wilsonecb80982017-07-12 20:34:511806const char kSmoothScrollingName[] = "Smooth Scrolling";
1807const char kSmoothScrollingDescription[] =
1808 "Animate smoothly when scrolling page content.";
1809
1810const char kSoftwareRasterizerName[] = "3D software rasterizer";
1811const char kSoftwareRasterizerDescription[] =
1812 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1813
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201814const char kSoleIntegrationName[] = "Sole integration";
1815const char kSoleIntegrationDescription[] =
1816 "Enable Sole integration for browser customization. You must restart "
1817 "the browser twice for changes to take effect.";
1818
Tommy Steimel77704be2017-08-28 22:14:401819const char kSoundContentSettingName[] = "Sound content setting";
1820const char kSoundContentSettingDescription[] =
1821 "Enable site-wide muting in content settings and tab strip context menu.";
1822
Justin Donnelly4e448cb2017-07-07 21:32:131823const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1824 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131825const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1826 "If enabled, when the user enters text in the omnibox that looks like a "
1827 "a query, any service worker associated with the search engine the query "
1828 "will be sent to is started early.";
1829
Brett Wilsonecb80982017-07-12 20:34:511830const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1831const char kSpellingFeedbackFieldTrialDescription[] =
1832 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401833
Carlos ILe5fa0a12018-08-03 16:08:321834const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1835const char kSSLCommittedInterstitialsDescription[] =
1836 "Use committed error pages instead of transient navigation entries "
1837 "for SSL interstitial error pages (i.e. certificate errors).";
1838
Shubhie Panickerfaf082ed2018-01-03 04:49:151839const char kStopInBackgroundName[] = "Stop in background";
1840const char kStopInBackgroundDescription[] =
1841 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281842 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151843
Shubhie Panicker56c99a22018-03-21 00:22:281844const char kStopNonTimersInBackgroundName[] =
1845 "Stop non-timer task queues background";
1846const char kStopNonTimersInBackgroundDescription[] =
1847 "Stop non-timer task queues, in the background, "
1848 "after a grace period.";
1849
Brett Wilsonecb80982017-07-12 20:34:511850const char kSuggestionsWithSubStringMatchName[] =
1851 "Substring matching for Autofill suggestions";
1852const char kSuggestionsWithSubStringMatchDescription[] =
1853 "Match Autofill suggestions based on substrings (token prefixes) rather "
1854 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341855
Marc Treibf65fb002018-08-03 11:17:161856const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1857const char kSyncStandaloneTransportDescription[] =
1858 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1859 "this mode, the Sync machinery can start without user opt-in, but only a "
1860 "subset of data types are supported.";
1861
Marc Treib4bd95e72018-08-30 06:30:581862const char kSyncSupportSecondaryAccountName[] =
1863 "Support secondary accounts for Sync standalone transport";
1864const char kSyncSupportSecondaryAccountDescription[] =
1865 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1866 "a signed-in account that has not been chosen as Chrome's primary account. "
1867 "This only has an effect if sync-standalone-transport is also enabled.";
1868
Jan Krcal2ff23f7c2018-09-04 16:16:131869const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1870const char kSyncUSSAutofillProfileDescription[] =
1871 "Enables the new implementation of autofill profile sync";
1872
Jan Krcale3641b92018-08-10 17:53:311873const char kSyncUSSAutofillWalletDataName[] =
1874 "Enable USS for autofill wallet data";
1875const char kSyncUSSAutofillWalletDataDescription[] =
1876 "Enables the new implementation of autofill walet data sync";
1877
Brett Wilsonecb80982017-07-12 20:34:511878const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1879const char kSyncSandboxDescription[] =
1880 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341881
Joe Downing8cbbc192018-05-14 17:37:071882const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1883const char kSystemKeyboardLockDescription[] =
1884 "Enables websites to use the keyboard.lock() API to intercept system "
1885 "keyboard shortcuts and have the events routed directly to the website "
1886 "when in fullscreen mode.";
1887
Taylor Bergquistbcc15462018-12-05 00:36:561888const char kTabGroupsName[] = "Tab Groups";
1889const char kTabGroupsDescription[] =
1890 "Allows users to organize tabs into visually distinct groups, e.g. to "
1891 "separate tabs associated with different tasks.";
1892
Caroline Risinge121c2b2018-12-03 20:19:291893const char kTabHoverCardsName[] = "Tab Hover Cards";
1894const char kTabHoverCardsDescription[] =
1895 "Enables a popup containing tab information to be visible when hovering "
1896 "over a tab. This will replace tooltips for tabs.";
1897
Dana Friedacaa8ef52019-02-08 02:20:351898const char kTabHoverCardImagesName[] = "Tab Hover Card Images";
1899const char kTabHoverCardImagesDescription[] =
1900 "Shows a preview image in tab hover cards, if tab hover cards are enabled.";
1901
Christian Dullweberd0d96f02017-09-13 09:22:511902const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1903const char kTabsInCbdDescription[] =
1904 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1905
Daniele Castagna0fead93e2018-01-10 20:40:291906const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1907const char kTintGlCompositedContentDescription[] =
1908 "Tint contents composited using GL with a shade of red to help debug and "
1909 "study overlay support.";
1910
Peter Kastingd77428352018-10-26 15:20:251911const char kTopChromeTouchUiName[] = "Touch UI Layout";
1912const char kTopChromeTouchUiDescription[] =
1913 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341914
Brett Wilsonecb80982017-07-12 20:34:511915const char kThreadedScrollingName[] = "Threaded scrolling";
1916const char kThreadedScrollingDescription[] =
1917 "Threaded handling of scroll-related input events. Disabling this will "
1918 "force all such scroll events to be handled on the main thread. Note that "
1919 "this can dramatically hurt scrolling performance of most websites and is "
1920 "intended for testing purposes only.";
1921
Dominick Ng8896b1cd2017-10-17 23:24:361922const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1923const char kTopSitesFromSiteEngagementDescription[] =
1924 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1925 "engagement.";
1926
Brett Wilsonecb80982017-07-12 20:34:511927const char kTouchAdjustmentName[] = "Touch adjustment";
1928const char kTouchAdjustmentDescription[] =
1929 "Refine the position of a touch gesture in order to compensate for touches "
1930 "having poor resolution compared to a mouse.";
1931
1932const char kTouchDragDropName[] = "Touch initiated drag and drop";
1933const char kTouchDragDropDescription[] =
1934 "Touch drag and drop can be initiated through long press on a draggable "
1935 "element.";
1936
1937const char kTouchEventsName[] = "Touch Events API";
1938const char kTouchEventsDescription[] =
1939 "Force Touch Events API feature detection to always be enabled or "
1940 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291941 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511942
1943const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1944const char kTouchSelectionStrategyDescription[] =
1945 "Controls how text selection granularity changes when touch text selection "
1946 "handles are dragged. Non-default behavior is experimental.";
1947const char kTouchSelectionStrategyCharacter[] = "Character";
1948const char kTouchSelectionStrategyDirection[] = "Direction";
1949
1950const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1951const char kTraceUploadUrlDescription[] =
1952 "This is to be used in conjunction with the enable-navigation-tracing "
1953 "flag. Please select the label that best describes the recorded traces. "
1954 "This will choose the destination the traces are uploaded to. If you are "
1955 "not sure, select other. If left empty, no traces will be uploaded.";
1956const char kTraceUploadUrlChoiceOther[] = "Other";
1957const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1958const char kTraceUploadUrlChoiceQa[] = "QA";
1959const char kTraceUploadUrlChoiceTesting[] = "Testing";
1960
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561961const char kTranslateExplicitLanguageAskName[] =
1962 "Explicitly ask for language preferences";
1963const char kTranslateExplicitLanguageAskDescription[] =
1964 "Explicitly ask the user which languages they can read on Chrome startup, "
1965 "on the first run that doesn't already have a promo.";
1966
Anthony Vallee-Dubois265c5692018-06-01 15:57:141967const char kTranslateForceTriggerOnEnglishName[] =
1968 "Select which language model to use to trigger translate on English "
1969 "content";
1970const char kTranslateForceTriggerOnEnglishDescription[] =
1971 "Force the Translate Triggering on English pages experiment to be enabled "
1972 "with the selected language model active.";
1973
Philippe Hamel7fdaa452017-09-29 17:22:491974const char kTranslateRankerEnforcementName[] =
1975 "Enforce TranslateRanker decisions";
1976const char kTranslateRankerEnforcementDescription[] =
1977 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1978 "or not Translate UI should be triggered in a given context.";
1979
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161980const char kTranslateUIName[] = "Enable Translate";
1981const char kTranslateUIDescription[] =
1982 "Enable the Translate popup when visiting webpages in other languages.";
1983
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051984const char kTreatInsecureOriginAsSecureName[] =
1985 "Insecure origins treated as secure";
1986const char kTreatInsecureOriginAsSecureDescription[] =
1987 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1988 "supplied as a comma-separated list. For the definition of secure "
1989 "contexts, "
1990 "see https://w3c.github.io/webappsec-secure-contexts/";
1991
Brett Wilsonecb80982017-07-12 20:34:511992const char kTrySupportedChannelLayoutsName[] =
1993 "Causes audio output streams to check if channel layouts other than the "
1994 "default hardware layout are available.";
1995const char kTrySupportedChannelLayoutsDescription[] =
1996 "Causes audio output streams to check if channel layouts other than the "
1997 "default hardware layout are available. Turning this on will allow the OS "
1998 "to do stereo to surround expansion if supported. May expose third party "
1999 "driver bugs, use with caution.";
2000
David Roger6762a092018-01-31 15:55:072001const char kUnifiedConsentName[] = "Unified Consent";
2002const char kUnifiedConsentDescription[] =
2003 "Enables a unified management of user consent for privacy-related "
2004 "features. This includes new confirmation screens and improved settings "
2005 "pages.";
2006
Brett Wilsonecb80982017-07-12 20:34:512007const char kUiPartialSwapName[] = "Partial swap";
2008const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
2009
Chris Pickel3a227ae62017-08-24 10:47:262010const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
2011const char kUseDdljsonApiDescription[] =
2012 "Enables the new ddljson API to fetch Doodles for the NTP.";
2013
Becca Hughes59c05b42017-11-03 13:11:582014const char kUseModernMediaControlsName[] = "New Media Controls";
2015const char kUseModernMediaControlsDescription[] =
2016 "Enables the new style native media controls.";
2017
Wei Li790e7a8572018-03-23 01:31:552018const char kUsePdfCompositorServiceName[] =
2019 "Use PDF compositor service for printing";
2020const char kUsePdfCompositorServiceDescription[] =
2021 "When enabled, use PDF compositor service to composite and generate PDF "
2022 "files for printing. When site isolation is enabled, disabling this will "
2023 "not stop using PDF compositor service since the service is required for "
2024 "printing out-of-process iframes correctly.";
2025
Mustaq Ahmedc646c0a2017-10-20 20:08:302026const char kUserActivationV2Name[] = "User Activation v2";
2027const char kUserActivationV2Description[] =
2028 "Enable simple user activation for APIs that are otherwise controlled by "
2029 "user gesture tokens.";
2030
Brett Wilsonecb80982017-07-12 20:34:512031const char kUserConsentForExtensionScriptsName[] =
2032 "User consent for extension scripts";
2033const char kUserConsentForExtensionScriptsDescription[] =
2034 "Require user consent for an extension running a script on the page, if "
2035 "the extension requested permission to run on all urls.";
2036
2037const char kUseSuggestionsEvenIfFewFeatureName[] =
2038 "Disable minimum for server-side tile suggestions on NTP.";
2039const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2040 "Request server-side suggestions even if there are only very few of them "
2041 "and use them for tiles on the New Tab Page.";
2042
2043const char kV8CacheOptionsName[] = "V8 caching mode.";
2044const char kV8CacheOptionsDescription[] =
2045 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512046const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2047
Michael Hablich896d52662017-10-23 15:59:572048const char kV8VmFutureName[] = "Future V8 VM features";
2049const char kV8VmFutureDescription[] =
2050 "This enables upcoming and experimental V8 VM features. "
2051 "This flag does not enable experimental JavaScript features.";
2052
Hannes Payer1130d5672018-06-05 07:37:312053const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2054const char kV8OrinocoDescription[] =
2055 "This enables the V8 Orinoco garbage collection features.";
2056
Brett Wilsonecb80982017-07-12 20:34:512057const char kVideoFullscreenOrientationLockName[] =
2058 "Lock screen orientation when playing a video fullscreen.";
2059const char kVideoFullscreenOrientationLockDescription[] =
2060 "Lock the screen orientation of the device to match video orientation when "
2061 "a video goes fullscreen. Only on phones.";
2062
2063const char kVideoRotateToFullscreenName[] =
2064 "Rotate-to-fullscreen gesture for videos.";
2065const char kVideoRotateToFullscreenDescription[] =
2066 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2067 "the video. Only on phones.";
2068
2069const char kWalletServiceUseSandboxName[] =
2070 "Use Google Payments sandbox servers";
2071const char kWalletServiceUseSandboxDescription[] =
2072 "For developers: use the sandbox service for Google Payments API calls.";
2073
Brett Wilsonecb80982017-07-12 20:34:512074const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2075const char kWebglDraftExtensionsDescription[] =
2076 "Enabling this option allows web applications to access the WebGL "
2077 "Extensions that are still in draft status.";
2078
2079const char kWebMidiName[] = "Web MIDI API";
2080const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2081
2082const char kWebPaymentsName[] = "Web Payments";
2083const char kWebPaymentsDescription[] =
2084 "Enable Web Payments API integration, a JavaScript API for merchants.";
2085
Mathieu Perreault51339b82017-07-20 17:06:052086const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2087const char kWebPaymentsModifiersDescription[] =
2088 "If the website provides modifiers in the payment request, show the custom "
2089 "total for each payment instrument, update the shopping cart when "
2090 "instruments are switched, and send modified payment method specific data "
2091 "to the payment app.";
2092
Brett Wilsonecb80982017-07-12 20:34:512093const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2094const char kWebrtcEchoCanceller3Description[] =
2095 "Experimental WebRTC echo canceller (AEC3).";
2096
Lei Zhang0a318af2018-11-14 02:19:462097const char kWebrtcH264WithOpenh264FfmpegName[] =
2098 "WebRTC H.264 software video encoder/decoder";
2099const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2100 "When enabled, an H.264 software video encoder/decoder pair is included. "
2101 "If a hardware encoder/decoder is also available it may be used instead of "
2102 "this encoder/decoder.";
2103
Qingsi Wangec2dbf942018-11-03 05:33:042104const char kWebrtcHideLocalIpsWithMdnsName[] =
2105 "Anonymize local IPs exposed by WebRTC.";
2106const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2107 "Conceal local IP addresses with mDNS hostnames.";
2108
Alex Loikob5fb1282018-08-14 10:04:402109const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2110const char kWebrtcHybridAgcDescription[] =
2111 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2112
Brett Wilsonecb80982017-07-12 20:34:512113const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2114const char kWebrtcHwDecodingDescription[] =
2115 "Support in WebRTC for decoding video streams using platform hardware.";
2116
2117const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2118const char kWebrtcHwEncodingDescription[] =
2119 "Support in WebRTC for encoding video streams using platform hardware.";
2120
2121const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2122const char kWebrtcHwH264EncodingDescription[] =
2123 "Support in WebRTC for encoding h264 video streams using platform "
2124 "hardware.";
2125
2126const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2127const char kWebrtcHwVP8EncodingDescription[] =
2128 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2129
Sreerenj Balachandran2a5fd0972019-02-08 22:15:202130const char kWebrtcHwVP9EncodingName[] = "WebRTC hardware vp9 video encoding";
2131const char kWebrtcHwVP9EncodingDescription[] =
2132 "Support in WebRTC for encoding vp9 video streams using platform hardware.";
2133
Niels Möller090866a2018-02-13 10:55:032134const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2135 "WebRTC new encode cpu load estimator";
2136const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2137 "Enable new estimator for the encoder cpu load, for evaluation and "
2138 "testing. Intended to improve accuracy when screen casting.";
2139
Elad Alon85e0d0be2018-06-26 10:38:372140const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2141const char kWebRtcRemoteEventLogDescription[] =
2142 "Allow collecting WebRTC event logs and uploading them to Crash. "
2143 "Please note that, even if enabled, this will still require "
2144 "a policy to be set, for it to have an effect.";
2145
Brett Wilsonecb80982017-07-12 20:34:512146const char kWebrtcSrtpAesGcmName[] =
2147 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2148const char kWebrtcSrtpAesGcmDescription[] =
2149 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2150
Joachim Bauch4a41d7512017-08-23 14:24:232151const char kWebrtcSrtpEncryptedHeadersName[] =
2152 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2153const char kWebrtcSrtpEncryptedHeadersDescription[] =
2154 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2155 "for SRTP.";
2156
Brett Wilsonecb80982017-07-12 20:34:512157const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2158const char kWebrtcStunOriginDescription[] =
2159 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2160 "header.";
2161
Lei Zhang0a318af2018-11-14 02:19:462162const char kWebrtcUnifiedPlanByDefaultName[] =
2163 "WebRTC: Use Unified Plan SDP Semantics by default";
2164const char kWebrtcUnifiedPlanByDefaultDescription[] =
2165 "RTCPeerConnections generate and expect the standards compliant SDP format "
2166 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
2167 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
2168 "RTCRtpTransceiver support is also enabled in Unified Plan.";
2169
Brett Wilsonecb80982017-07-12 20:34:512170const char kWebvrName[] = "WebVR";
2171const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012172 "Enables access to experimental Virtual Reality functionality via the "
2173 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2174 "Device API. Warning: Enabling this will also allow WebVR content on "
2175 "insecure origins to access these powerful APIs, and may pose a security "
David Dorwin09448942019-01-11 23:37:302176 "risk. Controllers are exposed as Gamepads, and WebVR-specific attributes "
2177 "are exposed.";
Brett Wilsonecb80982017-07-12 20:34:512178
Brandon Jonese9d9b2b2017-12-11 22:20:112179const char kWebXrName[] = "WebXR Device API";
2180const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012181 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2182 "and Augmented Reality (AR) devices.";
2183
2184const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2185const char kWebXrGamepadSupportDescription[] =
2186 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222187 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2188 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432189
2190const char kWebXrHitTestName[] = "WebXR Hit Test";
2191const char kWebXrHitTestDescription[] =
2192 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112193
Anna Maria57ecf7592018-01-12 03:10:402194const char kWebXrOrientationSensorDeviceName[] =
2195 "WebXR orientation sensor device";
2196const char kWebXrOrientationSensorDeviceDescription[] =
2197 "When no VR platform device is available, expose a non-presenting device "
2198 "based on the device's orientation sensors, if available.";
2199
Brett Wilsonecb80982017-07-12 20:34:512200const char kZeroCopyName[] = "Zero-copy rasterizer";
2201const char kZeroCopyDescription[] =
2202 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342203
Brett Wilsonff596952017-07-14 01:06:552204// Android ---------------------------------------------------------------------
2205
2206#if defined(OS_ANDROID)
2207
2208const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2209const char kAiaFetchingDescription[] =
2210 "Enable intermediate certificate fetching when a server does not provide "
2211 "sufficient certificates to build a chain to a trusted root.";
2212
2213const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2214const char kAccessibilityTabSwitcherDescription[] =
2215 "Enable the accessibility tab switcher for Android.";
2216
Pavel Shmakov798f4742018-11-15 21:27:382217const char kAllowRemoteContextForNotificationsName[] =
2218 "Allow using remote app context for notifications";
2219const char kAllowRemoteContextForNotificationsDescription[] =
2220 "Allow using Context#createPackageContext to work around issues with status"
2221 "bar icons on certain Android M devices.";
2222
Brett Wilsonff596952017-07-14 01:06:552223const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2224const char kAndroidAutofillAccessibilityDescription[] =
2225 "Enable accessibility for autofill popup.";
2226
Khushalbb1963a2018-10-02 21:02:352227const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2228const char kAndroidSurfaceControlDescription[] =
2229 "Use the SurfaceControl API for supporting overlays on Android";
2230
Anita Woodruffbfcd1e52018-07-16 12:00:512231const char kAppNotificationStatusMessagingName[] =
2232 "App notification status messaging";
2233const char kAppNotificationStatusMessagingDescription[] =
2234 "Enables messaging in site permissions UI informing user when "
2235 "notifications are disabled for the entire app.";
2236
Brett Wilsonff596952017-07-14 01:06:552237const char kAndroidPaymentAppsName[] = "Android payment apps";
2238const char kAndroidPaymentAppsDescription[] =
2239 "Enable third party Android apps to integrate as payment apps";
2240
Miriam Gershenson8cf1397222018-01-23 22:48:292241const char kAsyncDnsName[] = "Async DNS resolver";
2242const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2243
Dan Harrington01229f82018-09-12 21:01:212244const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2245const char kAutoFetchOnNetErrorPageDescription[] =
2246 "When enabled, and navigation fails with an offline error, schedule a "
2247 "fetch of the page when online again.";
2248
Brett Wilsonff596952017-07-14 01:06:552249const char kAutofillAccessoryViewName[] =
2250 "Autofill suggestions as keyboard accessory view";
2251const char kAutofillAccessoryViewDescription[] =
2252 "Shows Autofill suggestions on top of the keyboard rather than in a "
2253 "dropdown.";
2254
2255const char kBackgroundLoaderForDownloadsName[] =
2256 "Enables background downloading of pages.";
2257const char kBackgroundLoaderForDownloadsDescription[] =
2258 "Enables downloading pages in the background in case page is not yet "
2259 "loaded in current tab.";
2260
Tibor Goldschwendt11b3cf22018-07-04 15:32:442261const char kBackgroundTaskComponentUpdateName[] =
2262 "Background Task Component Updates";
2263const char kBackgroundTaskComponentUpdateDescription[] =
2264 "Schedule component updates with BackgroundTaskScheduler";
2265
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002266const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2267const char kCCTModuleDescription[] =
2268 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2269
Michael van Ouwerkerk29a7a292018-10-09 09:20:142270const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2271const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402272 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2273 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142274
John Lin170c00b2018-11-21 15:44:252275const char kCCTModuleCustomHeaderName[] =
2276 "Chrome Custom Tabs Module Custom Header";
2277const char kCCTModuleCustomHeaderDescription[] =
2278 "Enables header customization by dynamically loaded modules in "
2279 "Chrome Custom Tabs.";
2280
alihanlivdumlu12ac4772019-01-17 17:37:182281const char kCCTModuleDexLoadingName[] = "Chrome Custom Tabs Module Dex Loading";
2282const char kCCTModuleDexLoadingDescription[] =
2283 "Enables loading Chrome Custom Tabs module code from a dex file "
2284 "provided by the module.";
2285
barkerd84051482018-11-13 14:46:562286const char kCCTModulePostMessageName[] =
2287 "Chrome Custom Tabs Module postMessage API";
2288const char kCCTModulePostMessageDescription[] =
2289 "Enables the postMessage API exposed to dynamically loaded modules in "
2290 "Chrome Custom Tabs.";
2291
Anna Malova9bb4ead2019-01-18 18:01:262292const char kCCTModuleUseIntentExtrasName[] =
2293 "Chrome Custom Tabs Module Intent Extras Usage";
2294const char kCCTModuleUseIntentExtrasDescription[] =
2295 "Enables usage of Intent's extras in Chrome Custom Tabs Module";
2296
Matthew Jones1abcb132018-07-09 17:59:462297const char kChromeDuetName[] = "Chrome Duet";
2298const char kChromeDuetDescription[] =
2299 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052300
Sarath Singapati83aef1c2017-11-16 15:54:522301const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2302const char kClearOldBrowsingDataDescription[] =
2303 "Enables clearing of browsing data which is older than a given time "
2304 "period.";
2305
Brett Wilsonff596952017-07-14 01:06:552306const char kContentSuggestionsCategoryOrderName[] =
2307 "Default content suggestions category order (e.g. on NTP)";
2308const char kContentSuggestionsCategoryOrderDescription[] =
2309 "Set default order of content suggestion categories (e.g. on the NTP).";
2310
2311const char kContentSuggestionsCategoryRankerName[] =
2312 "Content suggestions category ranker (e.g. on NTP)";
2313const char kContentSuggestionsCategoryRankerDescription[] =
2314 "Set category ranker to order categories of content suggestions (e.g. on "
2315 "the NTP).";
2316
Vitalii Iarkof52ff802017-09-14 12:34:242317const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2318const char kContentSuggestionsDebugLogDescription[] =
2319 "Enable content suggestions debug log accessible through "
2320 "snippets-internals.";
2321
Donn Denman8e58ead2017-11-04 01:44:012322const char kContextualSearchMlTapSuppressionName[] =
2323 "Contextual Search ML tap suppression";
2324const char kContextualSearchMlTapSuppressionDescription[] =
2325 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022326 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2327 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552328
Donn Denman59729812018-01-09 01:27:022329const char kContextualSearchRankerQueryName[] =
2330 "Contextual Search Ranker prediction";
2331const char kContextualSearchRankerQueryDescription[] =
2332 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2333
2334const char kContextualSearchSecondTapName[] =
2335 "Contextual Search second tap triggering";
2336const char kContextualSearchSecondTapDescription[] =
2337 "Enables triggering on a second tap gesture even when Ranker would "
2338 "normally suppress that tap.";
2339
Donn Denmane9b5b7fb2018-07-24 22:19:492340const char kContextualSearchUnityIntegrationName[] =
2341 "Contextual Search integration with Unified Consent";
2342const char kContextualSearchUnityIntegrationDescription[] =
2343 "Enables integration of Tap to Search with Unified Consent.";
2344
Lei Zhang0a318af2018-11-14 02:19:462345const char kDisplayCutoutAPIName[] =
2346 "Enable support for the Display Cutout API";
2347const char kDisplayCutoutAPIDescription[] =
2348 "Enables developers to support devices that have a display cutout.";
Cathy Li2fb32bf82018-06-06 18:55:402349
Dmitry Skiba9c3efa72017-07-20 22:01:142350const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2351const char kDontPrefetchLibrariesDescription[] =
2352 "Don't prefetch libraries after loading.";
2353
Joy Ming189b0cc2017-12-08 19:42:432354const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2355const char kDownloadsLocationChangeDescription[] =
2356 "Enable changing default downloads storage location on Android.";
2357
Shakti Sahu32b2ee102018-05-17 00:04:462358const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2359const char kDownloadProgressInfoBarDescription[] =
2360 "Enables an infobar notifying users about status of current downloads.";
2361
Shakti Sahu9ec8cfd2018-07-17 13:29:292362const char kDownloadHomeV2Name[] = "Enable download home v2";
2363const char kDownloadHomeV2Description[] =
2364 "Enables the new UI for download home";
2365
Brett Wilsonff596952017-07-14 01:06:552366const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2367const char kEnableAndroidPayIntegrationV1Description[] =
2368 "Enable integration with Android Pay using the first version of the API";
2369
2370const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2371const char kEnableAndroidPayIntegrationV2Description[] =
2372 "Enable integration with Android Pay using the second version of the API";
2373
Fabio Tirelo918089a2018-10-22 21:24:082374const char kAutofillManualFallbackAndroidName[] =
2375 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2376const char kAutofillManualFallbackAndroidDescription[] =
2377 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2378 "keyboard accessory.";
2379
Fabio Tirelo315e65922018-09-05 03:35:492380const char kEnableAutofillRefreshStyleName[] =
2381 "Enable Autofill refresh style (Android)";
2382const char kEnableAutofillRefreshStyleDescription[] =
2383 "Enable modernized style for Autofill on Android";
2384
Vitalii Iarkof4ed32d2017-09-26 13:15:532385const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552386const char kEnableAndroidSpellcheckerDescription[] =
2387 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552388
Lei Tianbd5a3bf2018-02-28 19:01:162389const char kEnableCommandLineOnNonRootedName[] =
2390 "Enable command line on non-rooted devices";
2391const char kEnableCommandLineOnNoRootedDescription[] =
2392 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2393
Vitalii Iarkof4ed32d2017-09-26 13:15:532394const char kEnableContentSuggestionsNewFaviconServerName[] =
2395 "Get favicons for content suggestions from a new server.";
2396const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2397 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2398 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552399
Vitalii Iarkof4ed32d2017-09-26 13:15:532400const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2401 "Use content suggestions thumbnail dominant color.";
2402const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2403 "Use content suggestions thumbnail dominant color as a placeholder before "
2404 "the real thumbnail is fetched (requires Chrome Home).";
2405
Brett Wilsonff596952017-07-14 01:06:552406const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2407const char kEnableCustomContextMenuDescription[] =
2408 "Enables a new context menu when a link, image, or video is pressed within "
2409 "Chrome.";
2410
Becca Hughes6d73bac542018-06-18 20:38:502411const char kEnableMediaControlsExpandGestureName[] =
2412 "Enable Media Controls Expand Gesture";
2413const char kEnableMediaControlsExpandGestureDescription[] =
2414 "Enables a gesture to be used on the media controls to extend the video "
2415 "into the Display Cutout area.";
2416
Brett Wilsonff596952017-07-14 01:06:552417const char kEnableOmniboxClipboardProviderName[] =
2418 "Omnibox clipboard URL suggestions";
2419const char kEnableOmniboxClipboardProviderDescription[] =
2420 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2421 "focus in the omnibox.";
2422
Brett Wilsonff596952017-07-14 01:06:552423const char kEnableNtpAssetDownloadSuggestionsName[] =
2424 "Show asset downloads on the New Tab page";
2425const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2426 "If enabled, the list of content suggestions on the New Tab page will "
2427 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2428 "later use.";
2429
2430const char kEnableNtpBookmarkSuggestionsName[] =
2431 "Show recently visited bookmarks on the New Tab page";
2432const char kEnableNtpBookmarkSuggestionsDescription[] =
2433 "If enabled, the list of content suggestions on the New Tab page will "
2434 "contain recently visited bookmarks.";
2435
Brett Wilsonff596952017-07-14 01:06:552436const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2437 "Show offline page downloads on the New Tab page";
2438const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2439 "If enabled, the list of content suggestions on the New Tab page will "
2440 "contain pages that the user downloaded for later use.";
2441
2442const char kEnableNtpRemoteSuggestionsName[] =
2443 "Show server-side suggestions on the New Tab page";
2444const char kEnableNtpRemoteSuggestionsDescription[] =
2445 "If enabled, the list of content suggestions on the New Tab page will "
2446 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2447 "allows to override the source used to retrieve these server-side "
2448 "suggestions.";
2449
2450const char kEnableNtpSnippetsVisibilityName[] =
2451 "Make New Tab Page Snippets more visible.";
2452const char kEnableNtpSnippetsVisibilityDescription[] =
2453 "If enabled, the NTP snippets will become more discoverable with a larger "
2454 "portion of the first card above the fold.";
2455
2456const char kEnableNtpSuggestionsNotificationsName[] =
2457 "Notify about new content suggestions available at the New Tab page";
2458const char kEnableNtpSuggestionsNotificationsDescription[] =
2459 "If enabled, notifications will inform about new content suggestions on "
2460 "the New Tab page.";
2461
Brett Wilsonff596952017-07-14 01:06:552462const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2463const char kEnableOfflinePreviewsDescription[] =
2464 "Enable showing offline page previews on slow networks.";
2465
2466const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2467const char kEnableOskOverscrollDescription[] =
2468 "Enable OSK overscroll support. With this flag on, the OSK will only "
2469 "resize the visual viewport.";
2470
Brett Wilsonff596952017-07-14 01:06:552471const char kEnableWebNfcName[] = "WebNFC";
2472const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2473
gogeraldf3cbb422017-07-26 14:37:122474const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2475 "Enable Web Payments method section order V2.";
2476const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2477 "Enable this option to display payment method section above address "
2478 "section instead of below it.";
2479
Donn Denmanffaeaa32018-10-12 17:37:532480const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2481const char kEphemeralTabDescription[] =
Donn Denmanb45c26a2019-02-13 01:42:212482 "Enable a 'Preview page/image' at a linked page into an overlay.";
Donn Denmanffaeaa32018-10-12 17:37:532483
Lei Zhang0a318af2018-11-14 02:19:462484const char kExploreSitesName[] = "Explore websites";
2485const char kExploreSitesDescription[] =
2486 "Enables portal from new tab page to explore websites.";
2487
Xing Liu7d57dd32019-01-20 02:34:182488const char kForegroundNotificationManagerName[] =
2489 "Foreground notification manager";
2490const char kForegroundNotificationManagerDescription[] =
2491 "Enable foreground notification manager to handle foreground service and "
2492 "notification.";
2493
Raymes Khoury582b43132017-12-12 23:54:302494const char kGrantNotificationsToDSEName[] =
2495 "Grant notifications to the Default Search Engine";
2496const char kGrantNotificationsToDSENameDescription[] =
2497 "Automatically grant the notifications permission to the Default Search "
2498 "Engine";
2499
Daniel Parke74fcf862018-03-27 18:05:452500const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512501const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452502
Yafei Duanbb7663f32018-07-17 01:33:152503const char kHomepageTileName[] =
2504 "Enable Homepage tile shown in Suggested Tiles";
2505const char kHomepageTileDescription[] =
2506 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2507 "used for homepage. It will not have an effect when NTPButton is disabled.";
2508
Jian Li4b252642018-07-23 19:49:072509const char kIncognitoStringsName[] = "Alternate incognito strings";
2510const char kIncognitoStringsDescription[] =
2511 "Show alternate incognito strings if enabled.";
2512
Theresa920e0ed2018-03-07 18:12:442513const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152514 "Use the interest feed to render content suggestions. Currently "
2515 "content "
Theresa920e0ed2018-03-07 18:12:442516 "suggestions are shown on the New Tab Page.";
2517const char kInterestFeedContentSuggestionsName[] =
2518 "Interest Feed Content Suggestions";
2519
Brett Wilsonff596952017-07-14 01:06:552520const char kKeepPrefetchedContentSuggestionsName[] =
2521 "Keep prefetched content suggestions";
2522const char kKeepPrefetchedContentSuggestionsDescription[] =
2523 "If enabled, some of prefetched content suggestions are not replaced by "
2524 "the new fetched suggestions.";
2525
Leo Zhang051b75482017-12-20 03:28:302526const char kLanguagesPreferenceName[] = "Language Settings";
2527const char kLanguagesPreferenceDescription[] =
2528 "Enable this option for Language Settings feature on Android.";
2529
Brett Wilsonff596952017-07-14 01:06:552530const char kLsdPermissionPromptName[] =
2531 "Location Settings Dialog Permission Prompt";
2532const char kLsdPermissionPromptDescription[] =
2533 "Whether to use the Google Play Services Location Settings Dialog "
2534 "permission dialog.";
2535
Amirhossein Simjour97b4154f2018-02-20 03:49:592536const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2537const char kModalPermissionDialogViewDescription[] =
2538 "Enable this option to use ModalDialogManager for permission Dialogs.";
2539
Brett Wilsonff596952017-07-14 01:06:552540const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2541const char kMediaScreenCaptureDescription[] =
2542 "Enable this option for experimental ScreenCapture feature on Android.";
2543
2544const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2545const char kModalPermissionPromptsDescription[] =
2546 "Whether to use permission dialogs in place of permission infobars.";
2547
Finnur Thorarinssonc1488fc62018-07-09 19:21:572548const char kNewContactsPickerName[] = "Enable new contacts picker";
2549const char kNewContactsPickerDescription[] =
2550 "Activates the new picker for selecting contacts.";
2551
Dan Harrington541db9e2018-07-30 18:36:302552const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2553const char kNewNetErrorPageUIDescription[] =
2554 "Selects which new UI experience to show on the net-error (Dino) page";
2555
Brett Wilsonff596952017-07-14 01:06:552556const char kNewPhotoPickerName[] = "Enable new Photopicker";
2557const char kNewPhotoPickerDescription[] =
2558 "Activates the new picker for selecting photos.";
2559
2560const char kNoCreditCardAbort[] = "No Credit Card Abort";
2561const char kNoCreditCardAbortDescription[] =
2562 "Whether or not the No Credit Card Abort is enabled.";
2563
Daniel Park990d0992018-05-18 22:12:512564const char kNtpButtonName[] = "Enable NTP Button";
2565const char kNtpButtonDescription[] =
2566 "Displays a New Tab Page button in the toolbar if enabled.";
2567
Jian Liade82832018-09-06 22:31:412568const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2569const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2570 "Always do http probe to detect network connectivity for offline indicator "
2571 "as opposed to just taking the connection state from the system."
2572 "Used for testing.";
2573
2574const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2575const char kOfflineIndicatorChoiceDescription[] =
2576 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322577
Brett Wilsonff596952017-07-14 01:06:552578const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2579const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2580
2581const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2582const char kOfflinePagesCtV2Description[] =
2583 "V2 features include attributing pages to the app that initiated the "
2584 "custom tabs, and being able to query for pages by page attribution.";
2585
Cathy Li7311d792018-04-05 00:34:162586const char kOfflinePagesCTSuppressNotificationsName[] =
2587 "Disable download complete notification for whitelisted CCT apps.";
2588const char kOfflinePagesCTSuppressNotificationsDescription[] =
2589 "Disable download complete notification for page downloads originating "
2590 "from a CCT app whitelisted to show their own download complete "
2591 "notification.";
2592
Candice Sy74fa7a352018-03-30 23:46:492593const char kOfflinePagesDescriptiveFailStatusName[] =
2594 "Enables descriptive failed download status text.";
2595const char kOfflinePagesDescriptiveFailStatusDescription[] =
2596 "Enables failed download status text in notifications and Downloads Home "
2597 "to state the reason the request failed if the failure is actionable.";
2598
2599const char kOfflinePagesDescriptivePendingStatusName[] =
2600 "Enables descriptive pending download status text.";
2601const char kOfflinePagesDescriptivePendingStatusDescription[] =
2602 "Enables pending download status text in notifications and Downloads Home "
2603 "to state the reason the request is pending.";
2604
2605const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2606 "Enables offline pages in the downloads home to be opened in CCT.";
2607const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2608 "When enabled offline pages launched from the Downloads Home will be "
2609 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2610
Carlos Knippschild09272ecd2017-12-09 03:29:362611const char kOfflinePagesLimitlessPrefetchingName[] =
2612 "Removes resource usage limits for the prefetching of offline pages.";
2613const char kOfflinePagesLimitlessPrefetchingDescription[] =
2614 "Allows the prefetching of suggested offline pages to ignore resource "
2615 "usage limits. This allows it to completely ignore data usage limitations "
2616 "and allows downloads to happen with any kind of connection.";
2617
Brett Wilsonff596952017-07-14 01:06:552618const char kOfflinePagesLoadSignalCollectingName[] =
2619 "Enables collecting load timing data for offline page snapshots.";
2620const char kOfflinePagesLoadSignalCollectingDescription[] =
2621 "Enables loading completeness data collection while writing an offline "
2622 "page. This data is collected in the snapshotted offline page to allow "
2623 "data analysis to improve deciding when to make the offline snapshot.";
2624
2625const char kOfflinePagesPrefetchingName[] =
2626 "Enables suggested offline pages to be prefetched.";
2627const char kOfflinePagesPrefetchingDescription[] =
2628 "Enables suggested offline pages to be prefetched, so useful content is "
2629 "available while offline.";
2630
Pete Williamson7845dff2017-09-20 11:06:192631const char kOfflinePagesResourceBasedSnapshotName[] =
2632 "Enables offline page snapshots to be based on percentage of page loaded.";
2633const char kOfflinePagesResourceBasedSnapshotDescription[] =
2634 "Enables offline page snapshots to use a resource percentage based "
2635 "approach for determining when the page is loaded as opposed to a time "
2636 "based approach";
2637
Collin Baker17f92a52017-07-19 21:41:252638const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2639const char kOfflinePagesRenovationsDescription[] =
2640 "Enables offline page renovations which correct issues with dynamic "
2641 "content that occur when offlining pages that use JavaScript.";
2642
Brett Wilsonff596952017-07-14 01:06:552643const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2644const char kOfflinePagesSharingDescription[] =
2645 "Enables the saved offline pages to be shared via other applications.";
2646
Yafei Duan36b4b5b2018-08-07 00:40:032647const char kOfflinePagesLivePageSharingName[] =
2648 "Enables live page sharing of offline pages";
2649const char kOfflinePagesLivePageSharingDescription[] =
2650 "Enables to share current loaded page as offline page by saving as MHTML "
2651 "first.";
2652
Cathy Lie0d88762018-04-12 08:03:012653const char kOfflinePagesShowAlternateDinoPageName[] =
2654 "Enable alternate dino page with more user capabilities.";
2655const char kOfflinePagesShowAlternateDinoPageDescription[] =
2656 "Enables the dino page to show more buttons and offer existing offline "
2657 "content.";
2658
Brett Wilsonff596952017-07-14 01:06:552659const char kOfflinePagesSvelteConcurrentLoadingName[] =
2660 "Enables concurrent background loading on svelte.";
2661const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2662 "Enables concurrent background loading (or downloading) of pages on "
2663 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2664 "happen when the svelte device is idle.";
2665
2666const char kOffliningRecentPagesName[] =
2667 "Enable offlining of recently visited pages";
2668const char kOffliningRecentPagesDescription[] =
2669 "Enable storing recently visited pages locally for offline use. Requires "
2670 "Offline Pages to be enabled.";
2671
Lei Zhang2eca9082017-10-17 20:42:502672const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2673const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552674 "Enable Pay with Google integration into Web Payments with API version "
2675 "'1'.";
2676
Matthew Jonesa88b95852017-11-08 23:13:502677const char kProgressBarThrottleName[] = "Android progress update throttling.";
2678const char kProgressBarThrottleDescription[] =
2679 "Limit the maximum progress update to make progress appear smoother.";
2680
Brett Wilsonff596952017-07-14 01:06:552681const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2682const char kPullToRefreshEffectDescription[] =
2683 "Page reloads triggered by vertically overscrolling content.";
2684
Piotr Swigon7c296ef2017-08-29 04:32:002685const char kPwaImprovedSplashScreenName[] =
2686 "Improved Splash Screen for standalone PWAs";
2687const char kPwaImprovedSplashScreenDescription[] =
2688 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2689 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492690const char kPwaPersistentNotificationName[] =
2691 "Persistent notification in standalone PWA";
2692const char kPwaPersistentNotificationDescription[] =
2693 "Enables a persistent Android notification for standalone PWAs";
2694
Brett Wilsonff596952017-07-14 01:06:552695const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2696const char kReaderModeHeuristicsDescription[] =
2697 "Determines what pages the Reader Mode infobar is shown on.";
2698const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2699const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2700const char kReaderModeHeuristicsAllArticles[] = "All articles";
2701const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2702const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2703
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182704const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2705const char kReaderModeInCCTDescription[] =
2706 "Open Reader Mode in Chrome Custom Tabs.";
2707
Varun Khaneja2a8229f2019-01-12 00:57:262708const char kSafeBrowsingTelemetryForApkDownloadsName[] =
2709 "Send some telemetry for APK downloads for extended reporting users";
2710const char kSafeBrowsingTelemetryForApkDownloadsDescription[] =
2711 "If enabled, sends some information about the source and hash of the "
2712 "contents of any APK files downloaded by a user who has opted into Safe "
2713 "Browsing Extended Reporting already.";
2714
Varun Khaneja80712a82018-10-12 23:34:592715const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2716 "Use local Safe Browsing blacklists";
2717const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2718 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2719 "process to check the Safe Browsing reputation of URLs without calling "
2720 "into GmsCore for every URL.";
2721
Matthew Jones53114262018-12-12 16:36:472722const char kSearchReadyOmniboxName[] = "Search Ready Omnibox";
2723const char kSearchReadyOmniboxDescription[] =
2724 "Clears the omnibox and adds a suggestion item to share, copy, or edit the "
2725 "URL.";
2726
Brett Wilsonff596952017-07-14 01:06:552727const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2728const char kSetMarketUrlForTestingDescription[] =
2729 "When enabled, sets the market URL for use in testing the update menu "
2730 "item.";
2731
2732const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2733const char kSpannableInlineAutocompleteDescription[] =
2734 "A new type of inline autocomplete for the omnibox that works with "
2735 "keyboards that compose text.";
2736
Theresaeea05a12018-05-09 21:01:592737const char kSiteExplorationUiName[] = "Site Exploration UI";
2738const char kSiteExplorationUiDescription[] =
2739 "Show site suggestions in the Exploration UI";
2740
Lei Zhang0a318af2018-11-14 02:19:462741const char kStrictSiteIsolationName[] = "Strict site isolation";
2742const char kStrictSiteIsolationDescription[] =
2743 "Security mode that enables site isolation for all sites (SitePerProcess). "
2744 "In this mode, each renderer process will contain pages from at most one "
2745 "site, using out-of-process iframes when needed. "
2746 "Check chrome://process-internals to see the current isolation mode. "
2747 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
2748 "default. Here, 'Disabled' is a legacy value that actually means "
2749 "'Default,' in which case site isolation may be already enabled based on "
2750 "platform, enterprise policy, or field trial. See also "
2751 "#site-isolation-trial-opt-out for how to disable site isolation for "
2752 "testing.";
2753
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182754const char kTranslateAndroidManualTriggerName[] =
2755 "Enable manual translate trigger";
2756const char kTranslateAndroidManualTriggerDescription[] =
2757 "Show a menu item in the main menu that triggers page translation.";
2758
Brett Wilsonff596952017-07-14 01:06:552759const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2760const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442761 "When enabled, a badge will be shown on the app menu button if the update "
2762 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552763
2764const char kUpdateMenuItemCustomSummaryDescription[] =
2765 "When this flag and the force show update menu item flag are enabled, a "
2766 "custom summary string will be displayed below the update menu item.";
2767const char kUpdateMenuItemCustomSummaryName[] =
2768 "Update menu item custom summary";
2769
Tommy Nyquist3c02e592018-10-18 23:36:442770const char kUpdateMenuTypeName[] =
2771 "Forces the update menu type to a specific type";
2772const char kUpdateMenuTypeDescription[] =
2773 "When set, forces the update type to be a specific one, which impacts "
2774 "the app menu badge and menu item for updates.";
2775const char kUpdateMenuTypeNone[] = "None";
2776const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2777const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
David Trainor4d86fd4e2019-01-24 21:40:282778const char kUpdateMenuTypeInlineUpdateAvailable[] = "Inline Update Available";
2779const char kUpdateMenuTypeInlineUpdateDownloading[] =
2780 "Inline Update Downloading";
2781const char kUpdateMenuTypeInlineUpdateReady[] = "Inline Update Ready";
2782const char kUpdateMenuTypeInlineUpdateFailed[] = "Inline Update Failed";
Brett Wilsonff596952017-07-14 01:06:552783
Marc Treib93af46a2017-08-23 13:30:002784const char kThirdPartyDoodlesName[] =
2785 "Enable Doodles for third-party search engines";
2786const char kThirdPartyDoodlesDescription[] =
2787 "Enables fetching and displaying Doodles on the NTP for third-party search "
2788 "engines.";
2789
Klaus Weidneraaf697f2018-01-18 20:07:362790const char kWebXrRenderPathName[] = "WebXR presentation render path";
2791const char kWebXrRenderPathDescription[] =
2792 "Render path to use for WebXR presentation (including WebVR)";
2793const char kWebXrRenderPathChoiceClientWaitDescription[] =
2794 "ClientWait (Baseline)";
2795const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2796 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072797const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2798 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362799
Becky Zhou65584142019-01-10 18:22:292800#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2801
2802const char kAndroidNightModeName[] = "Enable night mode based on user settings";
2803const char kAndroidNightModeDescription[] =
2804 "If enabled, user can enable night mode through settings.";
2805
2806#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2807
Brett Wilson7b44537e2017-08-18 01:38:282808// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552809
Brett Wilson7b44537e2017-08-18 01:38:282810#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482811
Brett Wilson7b44537e2017-08-18 01:38:282812const char kAccountConsistencyName[] =
2813 "Identity consistency between browser and cookie jar";
2814const char kAccountConsistencyDescription[] =
2815 "When enabled, the browser manages signing in and out of Google accounts.";
2816const char kAccountConsistencyChoiceMirror[] = "Mirror";
2817const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342818
Reka Normana11e57fc2019-01-29 21:56:582819const char kAppManagementName[] = "Enable App Management page";
2820const char kAppManagementDescription[] =
2821 "Shows the new app management page at chrome://apps.";
2822
Tommy Martino3fa3df52018-08-20 21:45:442823const char kAutofillDropdownLayoutName[] =
2824 "Autofill Dropdown Layout Experiment";
2825const char kAutofillDropdownLayoutDescription[] =
2826 "Alternate visual designs for the Autofill dropdown.";
2827
Chris Pickel3a227ae62017-08-24 10:47:262828const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2829const char kDoodlesOnLocalNtpDescription[] =
2830 "Show doodles on the local New Tab page if Google is the default search "
2831 "engine.";
2832
Kyle Milkaedb39f52018-11-21 19:53:072833const char kSearchSuggestionsOnLocalNtpName[] =
2834 "Enable search suggestions on the local NTP";
2835const char kSearchSuggestionsOnLocalNtpDescription[] =
2836 "Show search suggestions on the local New Tab page if Google is the "
2837 "default search engine.";
2838
2839const char kPromosOnLocalNtpName[] = "Enable promos on the local NTP";
2840const char kPromosOnLocalNtpDescription[] =
2841 "Show promos on the local New Tab page if Google is the "
2842 "default search engine.";
2843
Kristi Parkc9b9d6592019-02-12 22:30:382844const char kRemoveNtpFakeboxName[] = "Remove fakebox from the NTP";
2845const char kRemoveNtpFakeboxDescription[] =
2846 "Do not show the fakebox on the New Tab page.";
2847
Lei Zhang0a318af2018-11-14 02:19:462848const char kEnableWebAuthenticationBleSupportName[] =
2849 "Web Authentication API BLE support";
2850const char kEnableWebAuthenticationBleSupportDescription[] =
2851 "Enable support for using Web Authentication API via Bluetooth security "
2852 "keys";
Sebastien Marchandd33f7dc2018-06-22 22:07:062853
Sebastien Marchandd33f7dc2018-06-22 22:07:062854const char kEnableWebAuthenticationTestingAPIName[] =
2855 "Web Authentication Testing API";
2856const char kEnableWebAuthenticationTestingAPIDescription[] =
2857 "Enable Web Authentication Testing API support, which disconnects the API "
2858 "implementation from the real world, and allows configuring virtual "
2859 "authenticator devices for testing";
2860
Jeffrey Cohenf04130a42018-08-29 00:22:272861const char kHappinessTrackingSurveysForDesktopName[] =
2862 "Happiness Tracking Surveys";
2863const char kHappinessTrackingSurveysForDesktopDescription[] =
2864 "Enable showing Happiness Tracking Surveys to users on Desktop";
2865
Travis Skarebcdb5ed32018-08-17 01:49:402866const char kOmniboxDriveSuggestionsName[] =
2867 "Omnibox Google Drive Document suggestions";
2868const char kOmniboxDriveSuggestionsDescriptions[] =
2869 "Display suggestions for Google Drive documents in the omnibox when Google "
2870 "is the default search engine.";
2871
Kevin Bailey9ec05532019-01-31 23:01:332872const char kOmniboxExperimentalKeywordModeName[] =
2873 "Omnibox Experimental Keyword Mode";
2874const char kOmniboxExperimentalKeywordModeDescription[] =
2875 "Enables various experimental features related to keyword mode, its "
2876 "suggestions and layout";
2877
Lei Zhang0a318af2018-11-14 02:19:462878const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2879const char kOmniboxPedalSuggestionsDescription[] =
2880 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2881 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2882 "Pedals accelerate actions within Chrome by detecting user intent and "
2883 "offering direct access to the end goal.";
2884
Orin Jaworski04c08b42018-07-11 02:39:562885const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2886const char kOmniboxReverseAnswersDescription[] =
2887 "Display answers with rows reversed (swapped); except definitions. Has no "
2888 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2889 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2890
Kevin Baileya5f17452019-02-13 01:52:032891const char kOmniboxReverseTabSwitchLogicName[] =
2892 "Omnibox reverse tab switch logic";
2893const char kOmniboxReverseTabSwitchLogicDescription[] =
2894 "Reverse the logic of suggestions that have a tab switch button: Have "
2895 "them switch by default, and have the button navigate.";
2896
Kevin Bailey898669972017-11-06 15:34:492897const char kOmniboxTabSwitchSuggestionsName[] =
2898 "Omnibox tab switch suggestions";
2899const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212900 "Enable suggestions for switching to open tabs within the Omnibox. "
2901 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2902 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492903
krbcc621412017-06-01 19:40:282904const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2905const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192906 "Enable receiving tail suggestions, a type of search suggestion based on "
2907 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342908
Sebastien Marchandd33f7dc2018-06-22 22:07:062909const char kPageAlmostIdleName[] = "Page Almost Idle";
2910const char kPageAlmostIdleDescription[] =
2911 "Make session restore use a definition of loading that waits for CPU and "
2912 "network quiescence.";
2913
2914const char kProactiveTabFreezeAndDiscardName[] =
2915 "Proactive Tab Freeze and Discard";
2916const char kProactiveTabFreezeAndDiscardDescription[] =
2917 "Enables proactive tab freezing and discarding. This requires "
2918 "#enable-page-almost-idle.";
2919
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272920const char kShowManagedUiName[] = "Show managed UI for managed users";
2921const char kShowManagedUiDescription[] =
2922 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2923 "message in the app menu and on some chrome:// pages.";
2924
Sebastien Marchandd33f7dc2018-06-22 22:07:062925const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2926const char kSiteCharacteristicsDatabaseDescription[] =
2927 "Records usage of some features in a database while a tab is in background "
2928 "(title/favicon update, audio playback or usage of non-persistent "
2929 "notifications).";
2930
Brett Wilson7b44537e2017-08-18 01:38:282931const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2932const char kUseGoogleLocalNtpDescription[] =
2933 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322934
Brett Wilson7b44537e2017-08-18 01:38:282935#if defined(GOOGLE_CHROME_BUILD)
2936
2937const char kGoogleBrandedContextMenuName[] =
2938 "Google branding in the context menu";
2939const char kGoogleBrandedContextMenuDescription[] =
2940 "Shows a Google icon next to context menu items powered by Google "
2941 "services.";
2942
2943#endif // !defined(GOOGLE_CHROME_BUILD)
2944
2945#endif // !defined(OS_ANDROID)
2946
2947// Windows ---------------------------------------------------------------------
2948
2949#if defined(OS_WIN)
2950
David Bienvenud0ddda32018-11-01 16:59:162951const char kCalculateNativeWinOcclusionName[] =
2952 "Calculate window occlusion on Windows";
2953const char kCalculateNativeWinOcclusionDescription[] =
2954 "Calculate window occlusion on Windows will be used in the future "
2955 "to throttle and potentially unload foreground tabs in occluded windows";
2956
Brett Wilson7b44537e2017-08-18 01:38:282957const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2958const char kCloudPrintXpsDescription[] =
2959 "XPS enables advanced options for classic printers connected to the Cloud "
2960 "Print with Chrome. Printers must be re-connected after changing this "
2961 "flag.";
2962
Frank Liberato754d14f2019-01-30 23:31:172963const char kD3D11VideoDecoderName[] = "D3D11 Video Decoder";
2964const char kD3D11VideoDecoderDescription[] =
2965 "Enables D3D11VideoDecoder for hardware accelerated video decoding.";
2966
Brett Wilson7b44537e2017-08-18 01:38:282967const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2968const char kDisablePostscriptPrintingDescription[] =
2969 "Disables PostScript generation when printing to PostScript capable "
2970 "printers, and uses EMF generation in its place.";
2971
2972const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2973const char kEnableAppcontainerDescription[] =
2974 "Enables the use of an AppContainer on sandboxed processes to improve "
2975 "security.";
2976
James Forshawfd0ce342018-02-14 09:55:392977const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2978const char kEnableGpuAppcontainerDescription[] =
2979 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2980 "improve security.";
2981
Brett Wilson7b44537e2017-08-18 01:38:282982const char kGdiTextPrinting[] = "GDI Text Printing";
2983const char kGdiTextPrintingDescription[] =
2984 "Use GDI to print text as simply text";
2985
Olli Etuaho122321192018-09-07 10:15:292986const char kUseAngleName[] = "Choose ANGLE graphics backend";
2987const char kUseAngleDescription[] =
2988 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2989 "computers by default. Using the OpenGL driver as the graphics backend may "
2990 "result in higher performance in some graphics-heavy applications, "
2991 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2992 "video playback.";
2993
2994const char kUseAngleDefault[] = "Default";
2995const char kUseAngleGL[] = "OpenGL";
2996const char kUseAngleD3D11[] = "D3D11";
2997const char kUseAngleD3D9[] = "D3D9";
2998
Brett Wilson7b44537e2017-08-18 01:38:282999const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
3000const char kUseWinrtMidiApiDescription[] =
3001 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
3002 "later).";
3003
3004const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
3005const char kWindows10CustomTitlebarDescription[] =
3006 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
3007 "deferring to Windows.";
3008
3009#endif // defined(OS_WIN)
3010
3011// Mac -------------------------------------------------------------------------
3012
3013#if defined(OS_MACOSX)
3014
Brett Wilson7b44537e2017-08-18 01:38:283015const char kContentFullscreenName[] = "Improved Content Fullscreen";
3016const char kContentFullscreenDescription[] =
3017 "Fullscreen content window detaches from main browser window and goes to "
3018 "a new space without moving or changing the original browser window.";
3019
Brett Wilson7b44537e2017-08-18 01:38:283020const char kHostedAppsInWindowsName[] =
3021 "Allow hosted apps to be opened in windows";
3022const char kHostedAppsInWindowsDescription[] =
3023 "Allows hosted apps to be opened in windows instead of being limited to "
3024 "tabs.";
3025
Christopher Cameron57dee5a42018-09-25 01:20:083026const char kCreateAppWindowsInAppShimProcessName[] =
3027 "Create native windows in the app process";
3028const char kCreateAppWindowsInAppShimProcessDescription[] =
3029 "Create native windows the app shim process, instead of of the browser "
3030 "process.";
3031
Lei Zhange065b572018-12-11 08:00:413032const char kEnableCustomMacPaperSizesName[] = "Enable custom paper sizes";
3033const char kEnableCustomMacPaperSizesDescription[] =
3034 "Allow use of custom paper sizes in Print Preview.";
3035
Lei Zhang2eca9082017-10-17 20:42:503036const char kMacTouchBarName[] = "Hardware Touch Bar";
3037const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283038
Greg Kerr32483d1c2018-12-18 02:29:143039const char kMacV2GPUSandboxName[] = "Mac V2 GPU Sandbox";
3040const char kMacV2GPUSandboxDescription[] =
3041 "Controls whether the GPU process on macOS uses the V1 or V2 sandbox.";
3042
Brett Wilson7b44537e2017-08-18 01:38:283043const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3044const char kMacViewsNativeAppWindowsDescription[] =
3045 "Controls whether to use Toolkit-Views based Chrome App windows.";
3046
3047const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3048const char kMacViewsTaskManagerDescription[] =
3049 "Controls whether to use the Toolkit-Views based Task Manager.";
3050
Brett Wilson7b44537e2017-08-18 01:38:283051#endif
3052
3053// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343054
3055#if defined(OS_CHROMEOS)
3056
Brett Wilson7b44537e2017-08-18 01:38:283057const char kAcceleratedMjpegDecodeName[] =
3058 "Hardware-accelerated mjpeg decode for captured frame";
3059const char kAcceleratedMjpegDecodeDescription[] =
3060 "Enable hardware-accelerated mjpeg decode for captured frame where "
3061 "available.";
vabr0215a8e2017-03-28 12:47:343062
Brett Wilson7b44537e2017-08-18 01:38:283063const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3064const char kAllowTouchpadThreeFingerClickDescription[] =
3065 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343066
Reka Normana11e57fc2019-01-29 21:56:583067const char kAppServiceAshName[] = "App Service Ash";
3068const char kAppServiceAshDescription[] =
3069 "Use the App Service to provide data to the Ash UI, such as the shelf and "
3070 "app list.";
3071
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523072const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3073const char kArcAvailableForChildDescription[] =
3074 "Allow child accounts to start Android apps.";
3075
Brett Wilson7b44537e2017-08-18 01:38:283076const char kArcBootCompleted[] = "Load Android apps automatically";
3077const char kArcBootCompletedDescription[] =
3078 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343079
Luum Habtemariamdaa8fd22018-06-25 22:39:433080const char kArcCupsApiName[] = "ARC CUPS API";
3081const char kArcCupsApiDescription[] =
3082 "Enables support of libcups APIs from ARC";
3083
Naoki Fukino153de8a2019-01-22 08:37:543084const char kArcDocumentsProviderName[] = "ARC DocumentsProvider integration";
3085const char kArcDocumentsProviderDescription[] =
3086 "Enables DocumentsProvider integration in Chrome OS Files app.";
3087
Satoshi Niwa8b1d5282018-10-24 04:53:033088const char kArcFilePickerExperimentName[] =
3089 "Enable file picker experiment for ARC";
3090const char kArcFilePickerExperimentDescription[] =
3091 "Enables using Chrome OS file picker in ARC.";
3092
[email protected]939ceae2019-01-29 17:00:153093const char kArcGraphicBuffersVisualizationToolName[] =
3094 "Enable ARC graphic buffers visualization tool";
3095const char kArcGraphicBuffersVisualizationToolDescription[] =
3096 "Enable ARC graphic buffers visualization tool "
3097 "(chrome://arc-graphics-tracing).";
3098
Lev Rumyantsev7a8544312017-08-18 19:26:513099const char kArcNativeBridgeExperimentName[] =
3100 "Enable native bridge experiment for ARC";
3101const char kArcNativeBridgeExperimentDescription[] =
3102 "Enables experimental native bridge feature.";
3103
lgchengecd1c1a62018-01-09 02:59:463104const char kArcUsbHostName[] = "Enable ARC USB host integration";
3105const char kArcUsbHostDescription[] =
3106 "Allow Android apps to use USB host feature on ChromeOS devices.";
3107
Kevin Cernekeeb7f96a52017-10-25 17:40:183108const char kArcVpnName[] = "Enable ARC VPN integration";
3109const char kArcVpnDescription[] =
3110 "Allow Android VPN clients to tunnel Chrome traffic.";
3111
Qiang Xu045aff222018-05-21 23:21:013112const char kAshEnableDisplayMoveWindowAccelsName[] =
3113 "Enable shortcuts for moving window between displays.";
3114const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3115 "Enable shortcuts for moving window between displays.";
3116
Sammie Quonfe640ca2019-01-30 17:54:183117const char kAshEnableOverviewRoundedCornersName[] =
3118 "Enable rounded corners in overview mode.";
3119const char kAshEnableOverviewRoundedCornersDescription[] =
3120 "Enables rounded corners on overview windows.";
3121
Qiang Xu045aff222018-05-21 23:21:013122const char kAshEnablePersistentWindowBoundsName[] =
3123 "Enable persistent window bounds in multi-displays scenario.";
3124const char kAshEnablePersistentWindowBoundsDescription[] =
3125 "Enable persistent window bounds in multi-displays scenario.";
3126
Eliot Courtneye87a9c32018-11-20 03:33:023127const char kAshEnablePipRoundedCornersName[] =
3128 "Enable Picture-in-Picture rounded corners.";
3129const char kAshEnablePipRoundedCornersDescription[] =
3130 "Enable rounded corners on the Picture-in-Picture window.";
3131
Brett Wilson7b44537e2017-08-18 01:38:283132const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3133const char kAshEnableUnifiedDesktopDescription[] =
3134 "Enable unified desktop mode which allows a window to span multiple "
3135 "displays.";
vabr0215a8e2017-03-28 12:47:343136
Qiang Xu045aff222018-05-21 23:21:013137const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3138const char kAshShelfColorDescription[] =
3139 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3140 "--ash-shelf-color-scheme flag defines how that color is derived.";
3141
3142const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3143const char kAshShelfColorSchemeDescription[] =
3144 "Specify how the color is derived from the wallpaper. This flag is only "
3145 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3146const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3147const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3148const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3149const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3150const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3151const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3152
Sean Kau5e956192017-10-06 22:25:173153const char kBulkPrintersName[] = "Bulk Printers Policy";
3154const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3155
Brett Wilson7b44537e2017-08-18 01:38:283156const char kCaptivePortalBypassProxyName[] =
3157 "Bypass proxy for Captive Portal Authorization";
3158const char kCaptivePortalBypassProxyDescription[] =
3159 "If proxy is configured, it usually prevents from authorization on "
3160 "different captive portals. This enables opening captive portal "
3161 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343162
Brett Wilson7b44537e2017-08-18 01:38:283163const char kCrOSComponentName[] = "Chrome OS Component";
3164const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083165 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343166
Xiaochu Liu51d03fd2017-09-08 23:51:023167const char kCrOSContainerName[] = "Chrome OS Container";
3168const char kCrOSContainerDescription[] =
3169 "Enable the use of Chrome OS Container utility.";
3170
Brett Wilson7b44537e2017-08-18 01:38:283171const char kCrosRegionsModeName[] = "Cros-regions load mode";
3172const char kCrosRegionsModeDescription[] =
3173 "This flag controls cros-regions load mode";
3174const char kCrosRegionsModeDefault[] = "Default";
3175const char kCrosRegionsModeOverride[] = "Override VPD values.";
3176const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343177
Daniel Ng96ab0c82019-01-16 01:21:553178const char kCrostiniAppSearchName[] = "Crostini App Search";
3179const char kCrostiniAppSearchDescription[] =
3180 "Enable search and installation of Crostini apps in the launcher.";
3181
Joel Hockey42387102019-01-10 01:19:323182const char kCrostiniBackupName[] = "Crostini Backup";
3183const char kCrostiniBackupDescription[] = "Enable Crostini export and import.";
3184
Joel Hockeyad5b9762018-09-01 12:06:083185const char kCrostiniFilesName[] = "Crostini Files";
3186const char kCrostiniFilesDescription[] =
3187 "Enable Crostini file sharing in Files app.";
3188
Josh Pratt57cea392018-10-30 02:59:063189const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3190const char kCrostiniUsbSupportDescription[] =
3191 "Enable mounting Usb devices in Crostini.";
3192
Josh Nohle2f82dcc2018-12-17 23:11:233193const char kCryptAuthV2EnrollmentName[] = "CryptAuth v2 Enrollment";
3194const char kCryptAuthV2EnrollmentDescription[] =
3195 "Use the CryptAuth v2 Enrollment protocol.";
3196
Daniele Castagna787f4152019-02-12 17:05:053197const char kEnableExplicitDmaFencesName[] = "Enable explicit dma-fences";
3198const char kEnableExplicitDmaFencesDescription[] =
3199 "Use dma-fences explicitly for synchronization between GPU and display "
3200 "controller when available.";
Daniele Castagnac4aeb572018-10-23 16:23:573201
Qiang Xu045aff222018-05-21 23:21:013202const char kDisableSystemTimezoneAutomaticDetectionName[] =
3203 "SystemTimezoneAutomaticDetection policy support";
3204const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3205 "Disable system timezone automatic detection device policy.";
3206
Sammie Quonef6b4882017-09-14 16:50:053207const char kDisableTabletAutohideTitlebarsName[] =
3208 "Disable autohide titlebars in tablet mode";
3209const char kDisableTabletAutohideTitlebarsDescription[] =
3210 "Disable tablet mode autohide titlebars functionality. The user will be "
3211 "able to see the titlebar in tablet mode.";
3212
Xiaoqian Dai24b33eb2018-04-10 21:01:573213const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3214const char kDisableTabletSplitViewDescription[] =
3215 "Disable split view for Chrome OS tablet mode.";
3216
Ahmed Fakhry4f567e692018-10-16 15:51:083217const char kDoubleTapToZoomInTabletModeName[] =
3218 "Double-tap to zoom in tablet mode";
3219const char kDoubleTapToZoomInTabletModeDescription[] =
3220 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3221 "page.";
3222
Daniel Zhang01399072018-08-16 22:28:203223const char kEnableAppListSearchAutocompleteName[] =
3224 "App List Search Autocomplete";
3225const char kEnableAppListSearchAutocompleteDescription[] =
3226 "Allow App List search box to autocomplete queries for Google searches and "
3227 "apps.";
3228
Qiang Xu53d1a5832018-05-24 18:44:193229const char kEnableAppShortcutSearchName[] =
3230 "Enable app shortcut search in launcher";
3231const char kEnableAppShortcutSearchDescription[] =
3232 "Enables app shortcut search in launcher";
3233
Vladislav Kaznacheevaa213a02018-10-29 17:54:283234const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3235const char kEnableAppDataSearchDescription[] =
3236 "Allow launcher search to access data available through Firebase App "
3237 "Indexing";
3238
Lei Zhang0a318af2018-11-14 02:19:463239const char kEnableArcUnifiedAudioFocusName[] =
Becca Hughes34415e82018-10-05 18:47:373240 "Enable unified audio focus on ARC";
Lei Zhang0a318af2018-11-14 02:19:463241const char kEnableArcUnifiedAudioFocusDescription[] =
Becca Hughes34415e82018-10-05 18:47:373242 "If audio focus is enabled in Chrome then this will delegate audio focus "
3243 "control in Android apps to Chrome.";
3244
Yue Li958f9dd2018-11-15 00:56:593245const char kEnableAssistantVoiceMatchName[] = "Enable Assistant Voice Match";
3246const char kEnableAssistantVoiceMatchDescription[] =
3247 "Enable the Assistant Voice Match feature";
3248
Yue Liebaa9952018-12-07 21:41:263249const char kEnableAssistantAppSupportName[] = "Enable Assistant App Support";
3250const char kEnableAssistantAppSupportDescription[] =
3251 "Enable the Assistant App Support feature";
3252
Lei Zhang2eca9082017-10-17 20:42:503253const char kEnableBackgroundBlurName[] = "Enable background blur.";
3254const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423255 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393256
Lei Zhang0ca70ea2018-09-07 17:51:013257const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3258const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493259 "Enables the Chrome OS Account Manager";
3260
Alexander Alekseev38e1e0a2018-11-08 22:48:483261const char kEnableDiscoverAppName[] = "Enable Discover App";
3262const char kEnableDiscoverAppDescription[] =
3263 "Enable Discover App icon in launcher.";
3264
Xiaoqian Dai82d99192018-05-25 18:51:353265const char kEnableDragTabsInTabletModeName[] =
3266 "Enable dragging tabs in tablet mode";
3267const char kEnableDragTabsInTabletModeDescription[] =
3268 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3269
Sam McNally201fbf94e2018-07-04 03:15:203270const char kEnableDriveFsName[] = "Enable DriveFS";
3271const char kEnableDriveFsDescription[] =
3272 "Enables use of the new DriveFS-based Drive sync client.";
3273
Luciano Pacheco20c48bd42018-11-07 00:57:083274const char kEnableMyFilesVolumeName[] = "Enable MyFiles as Volume";
3275const char kEnableMyFilesVolumeDescription[] =
Luciano Pacheco7fe772fe2018-11-07 02:31:453276 "Enables use of MyFiles as a read/write volume. This should be only "
3277 "used for testing or for trying to restore the previous Downloads content.";
Luciano Pacheco20c48bd42018-11-07 00:57:083278
Brett Wilson7b44537e2017-08-18 01:38:283279const char kEnableEhvInputName[] =
3280 "Emoji, handwriting and voice input on opt-in IME menu";
3281const char kEnableEhvInputDescription[] =
3282 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343283
Brett Wilson7b44537e2017-08-18 01:38:283284const char kEnableEncryptionMigrationName[] =
3285 "Enable encryption migration of user data";
3286const char kEnableEncryptionMigrationDescription[] =
3287 "If enabled and the device supports ARC, the user will be asked to update "
3288 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343289
Qiang Xu045aff222018-05-21 23:21:013290const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3291 "Enable full screen handwriting virtual keyboard";
3292const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3293 "If enabled, the handwriting virtual keyboard will allow user to write "
3294 "anywhere on the screen";
3295
Xiaohui Chenfb0943e2018-10-16 22:44:373296const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3297const char kEnableGoogleAssistantDescription[] =
3298 "Enable an experimental Assistant implementation that will work on all "
3299 "Chromebooks.";
3300
Xiaohui Chenf4283f32018-11-26 20:02:503301const char kEnableGoogleAssistantDspName[] =
3302 "Enable Google Assistant with hardware-based hotword";
3303const char kEnableGoogleAssistantDspDescription[] =
3304 "Enable an experimental feature that uses hardware-based hotword detection "
3305 "for Assistant. Only a limited number of devices have this type of "
3306 "hardware support.";
3307
Xiaohui Chenc3baca42018-11-30 19:29:373308const char kEnableGoogleAssistantStereoInputName[] =
3309 "Enable Google Assistant with stereo audio input";
3310const char kEnableGoogleAssistantStereoInputDescription[] =
3311 "Enable an experimental feature that uses stereo audio input for hotword "
3312 "and voice to text detection in Google Assistant.";
3313
Qiang Xu045aff222018-05-21 23:21:013314const char kEnableHomeLauncherName[] = "Enable home launcher";
3315const char kEnableHomeLauncherDescription[] =
3316 "Enable home launcher in tablet mode.";
3317
Brett Wilson7b44537e2017-08-18 01:38:283318const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3319const char kEnableImeMenuDescription[] =
3320 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343321
Sammie Quon248ccef2018-08-28 23:00:013322const char kEnableOobeRecommendAppsScreenName[] =
3323 "Enable OOBE Recommend Apps Screen";
3324const char kEnableOobeRecommendAppsScreenDescription[] =
3325 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3326 "from other devices";
3327
Qiang Xu045aff222018-05-21 23:21:013328const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3329const char kEnablePerUserTimezoneDescription[] =
3330 "Chrome OS system timezone preference is stored and handled for each user "
3331 "individually.";
3332
Vladislav Kaznacheevaa213a02018-10-29 17:54:283333const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3334const char kEnablePlayStoreSearchDescription[] =
3335 "Enable Play Store search in launcher.";
3336
Darren Shen3e49c63d2018-03-28 04:45:503337const char kEnableStylusVirtualKeyboardName[] =
3338 "Enable stylus virtual keyboard";
3339const char kEnableStylusVirtualKeyboardDescription[] =
3340 "If enabled, tapping with a stylus will show the handwriting virtual "
3341 "keyboard.";
3342
Jazz Xu2e5886662018-12-14 00:38:483343const char kEnableVideoPlayerNativeControlsName[] =
3344 "Enable native controls in video player app";
3345const char kEnableVideoPlayerNativeControlsDescription[] =
3346 "Enable native controls in video player app";
3347
Darren Shen0b4e5802018-07-10 03:12:263348const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3349const char kEnableVirtualKeyboardUkmDescription[] =
3350 "Enables UKM for virtual keyboard";
3351
Lei Zhang0ca70ea2018-09-07 17:51:013352const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3353const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013354 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283355 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013356
Brett Wilson7b44537e2017-08-18 01:38:283357const char kEolNotificationName[] = "Disable Device End of Life notification.";
3358const char kEolNotificationDescription[] =
3359 "Disable Notifcation when Device is End of Life.";
3360
Akihiro Ota3ff6f8a2019-01-18 17:43:043361const char kExperimentalAccessibilityChromeVoxLanguageSwitchingName[] =
3362 "Enable experimental ChromeVox language switching.";
3363const char kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription[] =
3364 "Enable ChromeVox language switching, which changes ChromeVox's "
3365 "output language upon detection of new language.";
3366
Brett Wilson7b44537e2017-08-18 01:38:283367const char kFileManagerTouchModeName[] = "Files App. touch mode";
3368const char kFileManagerTouchModeDescription[] =
3369 "Touchscreen-specific interactions of the Files app.";
3370
3371const char kFirstRunUiTransitionsName[] =
3372 "Animated transitions in the first-run tutorial";
3373const char kFirstRunUiTransitionsDescription[] =
3374 "Transitions during first-run tutorial are animated.";
3375
Brett Wilson7b44537e2017-08-18 01:38:283376const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3377const char kForceEnableStylusToolsDescription[] =
3378 "Forces display of the stylus tools menu in the shelf and the stylus "
3379 "section in settings, even if there is no attached stylus device.";
3380
3381const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3382const char kGestureEditingDescription[] =
3383 "Enable/Disable gesture editing option in the settings page for the "
3384 "virtual keyboard.";
3385
3386const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3387const char kGestureTypingDescription[] =
3388 "Enable/Disable gesture typing option in the settings page for the virtual "
3389 "keyboard.";
3390
3391const char kInputViewName[] = "Input views";
3392const char kInputViewDescription[] =
3393 "Enable IME extensions to supply custom views for user input such as "
3394 "virtual keyboards.";
3395
Leo Zhang3cc77542018-11-07 00:58:083396const char kImeServiceName[] = "Enable IME service";
3397const char kImeServiceDescription[] =
3398 "Enable IME service to provide the IME functionality instead of NaCl";
3399
Megumi Hattori5a0d4182018-03-06 11:09:503400const char kLockScreenNotificationName[] = "Lock screen notification";
3401const char kLockScreenNotificationDescription[] =
3402 "Enable notifications on the lock screen.";
3403
Mohsen Izadi06a16f72018-11-29 02:29:223404const char kMashOopVizName[] = "Out-of-process viz for mash";
3405const char kMashOopVizDescription[] =
3406 "Runs viz in a separate process when mash is enabled (otherwise viz would "
3407 "run in ash process)";
3408
Qiang Xu045aff222018-05-21 23:21:013409const char kMaterialDesignInkDropAnimationSpeedName[] =
3410 "Material design ink drop animation speed";
3411const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3412 "Sets the speed of the experimental visual feedback animations for "
3413 "material design.";
3414const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3415const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3416
Brett Wilson7b44537e2017-08-18 01:38:283417const char kMemoryPressureThresholdName[] =
3418 "Memory discard strategy for advanced pressure handling";
3419const char kMemoryPressureThresholdDescription[] =
3420 "Memory discarding strategy to use";
3421const char kConservativeThresholds[] =
3422 "Conservative memory pressure release strategy";
3423const char kAggressiveCacheDiscardThresholds[] =
3424 "Aggressive cache release strategy";
3425const char kAggressiveTabDiscardThresholds[] =
3426 "Aggressive tab release strategy";
3427const char kAggressiveThresholds[] =
3428 "Aggressive tab and cache release strategy";
3429
3430const char kMtpWriteSupportName[] = "MTP write support";
3431const char kMtpWriteSupportDescription[] =
3432 "MTP write support in File System API (and file manager). In-place editing "
3433 "operations are not supported.";
3434
vabr0215a8e2017-03-28 12:47:343435const char kNetworkPortalNotificationName[] =
3436 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343437const char kNetworkPortalNotificationDescription[] =
3438 "If enabled, notification is displayed when device is connected to a "
3439 "network behind captive portal.";
3440
Brett Wilson7b44537e2017-08-18 01:38:283441const char kNewKoreanImeName[] = "New Korean IME";
3442const char kNewKoreanImeDescription[] =
3443 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343444
Anand K. Mistrydb5e0102018-10-04 04:24:003445const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283446const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003447 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343448
Qiang Xu045aff222018-05-21 23:21:013449const char kOfficeEditingComponentAppName[] =
3450 "Office Editing for Docs, Sheets & Slides";
3451const char kOfficeEditingComponentAppDescription[] =
3452 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3453
Brett Wilson7b44537e2017-08-18 01:38:283454const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3455const char kPhysicalKeyboardAutocorrectDescription[] =
3456 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3457 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343458
3459const char kPrinterProviderSearchAppName[] =
3460 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343461const char kPrinterProviderSearchAppDescription[] =
3462 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193463 "searches Chrome Web Store for extensions that support printing to a USB "
3464 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343465
Brett Wilson7b44537e2017-08-18 01:38:283466const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3467const char kQuickUnlockPinDescription[] =
3468 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3469 "device on the lock screen after you have signed into your device.";
3470const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3471const char kQuickUnlockPinSigninDescription[] =
3472 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3473 "device. After changing this flag PIN needs to be set up again.";
3474const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3475const char kQuickUnlockFingerprintDescription[] =
3476 "Enabling fingerprint quick unlock allows you to setup and use a "
3477 "fingerprint to unlock your Chromebook on the lock screen after you have "
3478 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343479
James Cook0ba192bf2017-12-01 20:53:113480const char kShowTapsName[] = "Show taps";
3481const char kShowTapsDescription[] =
3482 "Draws a circle at each touch point, which makes touch points more obvious "
3483 "when projecting or mirroring the display. Similar to the Android OS "
3484 "developer option.";
3485
3486const char kShowTouchHudName[] = "Show HUD for touch points";
3487const char kShowTouchHudDescription[] =
3488 "Shows a trail of colored dots for the last few touch points. Pressing "
3489 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3490 "debug hardware issues that generate spurious touch events.";
3491
James Cook28d7c482018-09-07 21:00:543492const char kSingleProcessMashName[] =
3493 "In-process window service (SingleProcessMash)";
3494const char kSingleProcessMashDescription[] =
3495 "Runs the system UI (ash) as a mojo service, but inside the browser "
3496 "process. The browser uses the mojo window service (ws) APIs.";
3497
Ahmed Fakhry58e6ef542018-09-04 18:05:383498const char kSlideTopChromeWithPageScrollsName[] =
3499 "Slide top-chrome with page scrolls";
3500const char kSlideTopChromeWithPageScrollsDescription[] =
3501 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3502 " UI.";
3503
Jorge Gil5a8ccde2018-07-10 01:46:213504const char kSmartTextSelectionName[] = "Smart Text Selection";
3505const char kSmartTextSelectionDescription[] =
3506 "Shows quick actions for text "
3507 "selections in the context menu.";
3508
Brett Wilson7b44537e2017-08-18 01:38:283509const char kTetherName[] = "Instant Tethering";
3510const char kTetherDescription[] =
3511 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3512 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373513
Brett Wilson7b44537e2017-08-18 01:38:283514const char kTouchscreenCalibrationName[] =
3515 "Enable/disable touchscreen calibration option in material design settings";
3516const char kTouchscreenCalibrationDescription[] =
3517 "If enabled, the user can calibrate the touch screen displays in "
3518 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093519
Qiang Xu045aff222018-05-21 23:21:013520const char kUiDevToolsName[] = "Enable native UI inspection";
3521const char kUiDevToolsDescription[] =
3522 "Enables inspection of native UI elements. For local inspection use "
3523 "chrome://inspect#other";
3524
3525const char kUiShowCompositedLayerBordersName[] =
3526 "Show UI composited layer borders";
3527const char kUiShowCompositedLayerBordersDescription[] =
3528 "Show border around composited layers created by UI.";
3529const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3530const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3531const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3532const char kUiShowCompositedLayerBordersAll[] = "All";
3533
3534const char kUiSlowAnimationsName[] = "Slow UI animations";
3535const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3536
Mitsuru Oshima63d3f2a2017-08-23 00:12:113537// Force UI Mode
3538const char kUiModeName[] = "Force Ui Mode";
3539const char kUiModeDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:063540 "This flag can be used to force a certain mode on to a chromebook, "
3541 "despite its current orientation. \"Tablet\" means that the "
3542 "chromebook will act as if it were in tablet mode. \"Clamshell\" "
3543 "means that the chromebook will act as if it were in clamshell "
3544 "mode. \"Auto\" means that the chromebook will alternate between "
3545 "the two, based on its orientation.";
Min Chenfd25cd22018-11-06 01:50:513546const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113547const char kUiModeClamshell[] = "Clamshell";
3548const char kUiModeAuto[] = "Auto (default)";
3549
Sonny Sasaka7fecfeda2018-07-11 23:47:553550const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3551const char kUnfilteredBluetoothDevicesDescription[] =
3552 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3553
Allen Webbcdc8e69d2018-09-12 20:36:003554const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3555const char kUsbguardDescription[] =
3556 "Prevents newly connected USB devices from operating at the lock screen"
3557 " until Chrome OS is unlocked to protect against malicious USB devices."
3558 " Already connected USB devices will continue to function.";
3559
Micah Morton79a7b522018-09-27 15:15:303560const char kShillSandboxingName[] =
3561 "Run shill, the ChromeOS network manager, in a sandbox.";
3562const char kShillSandboxingDescription[] =
3563 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3564
Micah Morton02d3aba2018-11-20 01:51:453565const char kFsNosymfollowName[] =
3566 "Prevent symlink traversal on user-supplied filesystems.";
3567const char kFsNosymfollowDescription[] =
3568 "Causes user-supplied filesystems to be mounted with the 'nosymfollow'"
3569 " option, so the chromuimos LSM denies symlink traversal on the"
3570 " filesystem.";
3571
James Cooka1bcfa9a2018-01-30 00:18:403572const char kUseMashName[] = "Out-of-process system UI (mash)";
3573const char kUseMashDescription[] =
3574 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3575 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283576
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343577// TODO(mcasas): remove after https://crbug.com/771345.
3578const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3579const char kUseMonitorColorSpaceDescription[] =
3580 "Enables Chrome to use the color space information provided by the monitor"
3581 " instead of the default sRGB color space.";
3582
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233583const char kVaapiJpegImageDecodeAccelerationName[] =
3584 "VA-API JPEG decode acceleration for images";
3585const char kVaapiJpegImageDecodeAccelerationDescription[] =
3586 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3587 " captures) using the VA-API.";
3588
Brett Wilson7b44537e2017-08-18 01:38:283589const char kVideoPlayerChromecastSupportName[] =
3590 "Experimental Chromecast support for Video Player";
3591const char kVideoPlayerChromecastSupportDescription[] =
3592 "This option enables experimental Chromecast support for Video Player app "
3593 "on ChromeOS.";
3594
3595const char kVirtualKeyboardName[] = "Virtual Keyboard";
3596const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3597
3598const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3599const char kVirtualKeyboardOverscrollDescription[] =
3600 "Enables virtual keyboard overscroll support.";
3601
3602const char kVoiceInputName[] = "Voice input on virtual keyboard";
3603const char kVoiceInputDescription[] =
3604 "Enables voice input on virtual keyboard.";
3605
3606const char kWakeOnPacketsName[] = "Wake On Packets";
3607const char kWakeOnPacketsDescription[] =
3608 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203609
yhanadac5bff5b2017-05-18 06:37:093610#endif // defined(OS_CHROMEOS)
3611
Brett Wilson7b44537e2017-08-18 01:38:283612// Random platform combinations -----------------------------------------------
3613
3614#if defined(OS_WIN) || defined(OS_LINUX)
3615
3616const char kEnableInputImeApiName[] = "Enable Input IME API";
3617const char kEnableInputImeApiDescription[] =
3618 "Enable the use of chrome.input.ime API.";
3619
3620#endif // defined(OS_WIN) || defined(OS_LINUX)
3621
Jiajia Qindb252e92019-01-28 11:47:483622#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3623
3624const char kWebGL2ComputeContextName[] = "WebGL 2.0 Compute";
3625const char kWebGL2ComputeContextDescription[] =
3626 "Enable the use of WebGL 2.0 Compute API.";
3627
3628#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3629
Brett Wilson7b44537e2017-08-18 01:38:283630#if defined(OS_WIN) || defined(OS_MACOSX)
3631
3632const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3633const char kAutomaticTabDiscardingDescription[] =
3634 "If enabled, tabs get automatically discarded from memory when the system "
3635 "memory is low. Discarded tabs are still visible on the tab strip and get "
3636 "reloaded when clicked on. Info about discarded tabs can be found at "
3637 "chrome://discards.";
3638
3639#endif // defined(OS_WIN) || defined(OS_MACOSX)
3640
lanwei83f54452018-06-21 23:51:043641#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3642
3643const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3644const char kDirectManipulationStylusDescription[] =
3645 "If enabled, Chrome will scroll web pages on stylus drag.";
3646
3647#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3648
Henrik Grunell63f2d772018-12-06 17:25:203649#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3650
3651const char kForceEnableSystemAecName[] = "Force enable system AEC";
3652const char kForceEnableSystemAecDescription[] =
3653 "Use system echo canceller instead of WebRTC echo canceller. If there is "
3654 "no system echo canceller available, getUserMedia with echo cancellation "
3655 "enabled will fail.";
3656
3657#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
3658
David Bienvenuc713d502019-02-07 23:46:323659#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3660
3661const char kWebContentsOcclusionName[] = "Enable occlusion of web contents";
3662const char kWebContentsOcclusionDescription[] =
3663 "If enabled, web contents will behave as hidden when it is occluded by "
3664 "other windows.";
3665
3666#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3667
Justin Donnelly110e40c2018-06-01 21:48:433668const char kExperimentalUiName[] = "Use all upcoming UI features";
3669const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483670
Brett Wilson7b44537e2017-08-18 01:38:283671// Feature flags --------------------------------------------------------------
3672
Lei Zhang0a318af2018-11-14 02:19:463673#if defined(DCHECK_IS_CONFIGURABLE)
3674const char kDcheckIsFatalName[] = "DCHECKs are fatal";
3675const char kDcheckIsFatalDescription[] =
3676 "By default Chrome will evaluate in this build, but only log failures, "
3677 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
3678#endif // defined(DCHECK_IS_CONFIGURABLE)
3679
Brett Wilson7b44537e2017-08-18 01:38:283680#if BUILDFLAG(ENABLE_VR)
3681
David Dorwin5a496c32017-11-17 01:45:053682const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3683const char kWebVrVsyncAlignDescription[] =
3684 "Align WebVR application rendering with VSync for smoother animations.";
3685
Bill Orr103ed272018-02-14 21:23:053686#if BUILDFLAG(ENABLE_OCULUS_VR)
3687const char kOculusVRName[] = "Oculus hardware support";
3688const char kOculusVRDescription[] =
3689 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3690 "Windows 10 or later).";
3691#endif // ENABLE_OCULUS_VR
3692
Bill Orr49527562017-11-22 16:58:483693#if BUILDFLAG(ENABLE_OPENVR)
3694const char kOpenVRName[] = "OpenVR hardware support";
3695const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073696 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3697 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483698#endif // ENABLE_OPENVR
3699
Bill Orrd2af6bd52019-01-23 02:50:243700#if BUILDFLAG(ENABLE_WINDOWS_MR)
3701const char kWindowsMixedRealityName[] = "Windows Mixed Reality support";
3702const char kWindowsMixedRealityDescription[] =
3703 "If enabled, Chrome will use Windows Mixed Reality devices for VR"
3704 " (supported only on Windows 10 or later).";
3705#endif // ENABLE_WINDOWS_MR
3706
Bill Orrecfb9fe2018-10-02 00:11:103707#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3708const char kXRSandboxName[] = "XR device sandboxing";
3709const char kXRSandboxDescription[] =
3710 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3711#endif // ENABLE_ISOLATED_XR_SERVICE
3712
Brett Wilson7b44537e2017-08-18 01:38:283713#endif // ENABLE_VR
3714
Nico Weberaf3b00b2017-09-11 17:58:173715#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283716
3717const char kNaclDebugMaskName[] =
3718 "Restrict Native Client GDB-based debugging by pattern";
3719const char kNaclDebugMaskDescription[] =
3720 "Restricts Native Client application GDB-based debugging by URL of "
3721 "manifest file. Native Client GDB-based debugging must be enabled for this "
3722 "option to work.";
3723const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3724const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3725 "Debug everything except secure shell and the PNaCl translator.";
3726const char kNaclDebugMaskChoiceIncludeDebug[] =
3727 "Debug only if manifest URL ends with debug.nmf.";
3728
3729const char kNaclDebugName[] = "Native Client GDB-based debugging";
3730const char kNaclDebugDescription[] =
3731 "Enable GDB debug stub. This will stop a Native Client application on "
3732 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3733
3734const char kNaclName[] = "Native Client";
3735const char kNaclDescription[] =
3736 "Support Native Client for all web applications, even those that were not "
3737 "installed from the Chrome Web Store.";
3738
3739const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3740const char kPnaclSubzeroDescription[] =
3741 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3742
Nico Weberaf3b00b2017-09-11 17:58:173743#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283744
Lei Zhang802201c2018-11-14 18:16:283745#if BUILDFLAG(ENABLE_PLUGINS)
3746
dstockwellcc759202019-01-11 00:42:123747#if defined(OS_CHROMEOS)
3748const char kPdfAnnotations[] = "PDF Annotations";
Weidong Guo577fe9ac2019-01-28 19:58:103749const char kPdfAnnotationsDescription[] = "Enable annotating PDF documents.";
dstockwellcc759202019-01-11 00:42:123750#endif // defined(OS_CHROMEOS)
3751
Lei Zhang802201c2018-11-14 18:16:283752const char kPdfFormSaveName[] = "Save PDF Forms";
3753const char kPdfFormSaveDescription[] =
3754 "Enable saving PDFs with filled form data.";
3755
3756const char kPdfIsolationName[] = "PDF Isolation";
3757const char kPdfIsolationDescription[] =
3758 "Render PDF files from different origins in different plugin processes.";
3759
3760#endif // BUILDFLAG(ENABLE_PLUGINS)
3761
Brett Wilson7b44537e2017-08-18 01:38:283762#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3763
3764const char kAutofillCreditCardUploadName[] =
3765 "Enable offering upload of Autofilled credit cards";
3766const char kAutofillCreditCardUploadDescription[] =
3767 "Enables a new option to upload credit cards to Google Payments for sync "
3768 "to all Chrome devices.";
3769
3770#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3771
Collin Baker0a45d6a2018-12-20 19:21:503772#if BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3773
3774const char kReopenTabInProductHelpName[] = "Reopen tab in-product help";
3775const char kReopenTabInProductHelpDescription[] =
3776 "Enable in-product help that guides a user to reopen a tab if it looks "
3777 "like they accidentally closed it.";
3778
3779#endif // BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3780
Tomas Popela253a5832019-01-14 17:22:103781#if defined(WEBRTC_USE_PIPEWIRE)
3782
3783extern const char kWebrtcPipeWireCapturerName[] = "WebRTC PipeWire support";
3784extern const char kWebrtcPipeWireCapturerDescription[] =
3785 "When enabled the WebRTC will use the PipeWire multimedia server for "
3786 "capturing the desktop content on the Wayland display server.";
3787
3788#endif // #if defined(WEBRTC_USE_PIPEWIRE)
3789
Stephen Chenneyde6e5c82019-01-21 01:56:043790const char kAvoidFlashBetweenNavigationName[] =
3791 "Enable flash avoidance between same-origin navigations";
3792const char kAvoidFlahsBetweenNavigationDescription[] =
3793 "Enables experimental flash avoidance when navigating between pages "
3794 "in the same origin. This feature is in the implementation stages and "
3795 "currently has no effect.";
3796
Brett Wilson7b44537e2017-08-18 01:38:283797// ============================================================================
3798// Don't just add flags to the end, put them in the right section in
3799// alphabetical order just like the header file.
3800// ============================================================================
3801
vabr0215a8e2017-03-28 12:47:343802} // namespace flag_descriptions