blob: 69d86180e5f787b058ab749f86f336d75bfaeb28 [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
Brett Wilsonf27ff602017-07-07 22:28:47235const char kCastStreamingHwEncodingName[] =
236 "Cast Streaming hardware video encoding";
237const char kCastStreamingHwEncodingDescription[] =
238 "This option enables support in Cast Streaming for encoding video streams "
239 "using platform hardware.";
240
Amber Won478561d2017-08-19 01:02:59241const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
242const char kClickToOpenPDFDescription[] =
243 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
244 "embedded PDFs.";
245
Gary Kacmarcikfb69b212017-11-14 03:41:08246const char kClipboardContentSettingName[] = "Clipboard content setting";
247const char kClipboardContentSettingDescription[] =
248 "Enables a site-wide permission in the UI which controls access to the "
249 "asynchronous clipboard web API";
250
Brett Wilsonf27ff602017-07-07 22:28:47251const char kCloudImportName[] = "Cloud Import";
252const char kCloudImportDescription[] = "Allows the cloud-import feature.";
253
rbpotter9990eb42018-07-12 05:34:59254const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
255const char kCloudPrinterHandlerDescription[] =
256 "Use the new cloud printer handler for communicating with the cloud "
257 "print server, instead of the cloud print interface in the Print "
258 "Preview WebUI.";
259
Tanja Gornakb0985dd2018-10-11 17:24:40260const char kFCMInvalidationsName[] =
261 "Enable invalidations delivery via new FCM based protocol";
262const char kFCMInvalidationsDescription[] =
263 "Use the new FCM-based protocol for deliveling invalidations";
264
Christopher Cameronceb8727d2017-09-07 23:53:16265const char kForceColorProfileSRGB[] = "sRGB";
266const char kForceColorProfileP3[] = "Display P3 D65";
267const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
268const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
269
270const char kForceColorProfileName[] = "Force color profile";
271const char kForceColorProfileDescription[] =
272 "Forces Chrome to use a specific color profile instead of the color "
273 "of the window's current monitor, as specified by the operating system.";
274
Brett Wilsonf27ff602017-07-07 22:28:47275const char kCompositedLayerBordersName[] = "Composited render layer borders";
276const char kCompositedLayerBordersDescription[] =
277 "Renders a border around composited Render Layers to help debug and study "
278 "layer compositing.";
279
Theresac34db2d2018-06-28 00:03:11280const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
281const char kContextualSuggestionsButtonDescription[] =
282 "If enabled, shows a button to trigger contextual suggestions.";
283
Theresae308b9e2018-10-10 15:57:40284const char kContextualSuggestionsIPHReverseScrollName[] =
285 "Contextual Suggestions IPH Reverse Scroll";
286const char kContextualSuggestionsIPHReverseScrollDescription[] =
287 "Require a reverse scroll before showing in-product help for contextual "
288 "suggestions.";
289
Theresa0f2947b92018-07-02 21:27:58290const char kContextualSuggestionsOptOutName[] =
291 "Contextual Suggestions Opt-out";
292const char kContextualSuggestionsOptOutDescription[] =
293 "If enabled, allows the user to opt out of contextual suggestions.";
294
Brett Wilsonf27ff602017-07-07 22:28:47295const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
296const char kCreditCardAssistDescription[] =
297 "Enable assisted credit card filling on certain sites.";
298
Thanh Le659cb102017-12-20 22:00:19299const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
300const char kDataSaverServerPreviewsDescription[] =
301 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47302
Brett Wilsonf27ff602017-07-07 22:28:47303const char kDebugPackedAppName[] = "Debugging for packed apps";
304const char kDebugPackedAppDescription[] =
305 "Enables debugging context menu options such as Inspect Element for packed "
306 "applications.";
307
Brett Wilsonf27ff602017-07-07 22:28:47308const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
309const char kDebugShortcutsDescription[] =
310 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
311
312const char kDeviceDiscoveryNotificationsName[] =
313 "Device Discovery Notifications";
314const char kDeviceDiscoveryNotificationsDescription[] =
315 "Device discovery notifications on local network.";
316
317const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
318const char kDevtoolsExperimentsDescription[] =
319 "Enables Developer Tools experiments. Use Settings panel in Developer "
320 "Tools to toggle individual experiments.";
321
322const char kDisableAudioForDesktopShareName[] =
323 "Disable Audio For Desktop Share";
324const char kDisableAudioForDesktopShareDescription[] =
325 "With this flag on, desktop share picker window will not let the user "
326 "choose whether to share audio.";
327
Arthur Sonzogni721f48e2018-10-31 17:10:02328const char kDisableIpcFloodingProtectionName[] =
329 "Disable IPC flooding protection";
330const char kDisableIpcFloodingProtectionDescription[] =
331 "Some javascript code can flood the inter process communication system. "
332 "This protection limits the rate (calls/seconds) at which theses function "
arthursonzogni443bd0ef2018-11-27 16:12:53333 "can be used. This flag disables the protection. This flag is deprecated "
334 "and will be removed in Chrome 76. Use the switch "
335 "--disable-ipc-flooding-protection instead.";
Arthur Sonzogni721f48e2018-10-31 17:10:02336
Chris Palmer917bc052018-03-14 19:28:31337const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
338const char kDisablePushStateThrottleDescription[] =
339 "Disables throttling of history.pushState and history.replaceState method "
arthursonzogni443bd0ef2018-11-27 16:12:53340 "calls. This flag is deprecated and will be removed in Chrome 76. Use the "
341 "switch --disable-ipc-flooding-protection instead.";
Chris Palmer917bc052018-03-14 19:28:31342
Brett Wilsonf27ff602017-07-07 22:28:47343const char kDisableTabForDesktopShareName[] =
344 "Disable Desktop Share with tab source";
345const char kDisableTabForDesktopShareDescription[] =
346 "This flag controls whether users can choose a tab for desktop share.";
347
348const char kDisallowDocWrittenScriptsUiName[] =
349 "Block scripts loaded via document.write";
350const char kDisallowDocWrittenScriptsUiDescription[] =
351 "Disallows fetches for third-party parser-blocking scripts inserted into "
352 "the main frame via document.write.";
353
Christopher Thompson2ffffa2c2018-05-18 23:06:37354const char kDisallowUnsafeHttpDownloadsName[] =
355 "Block unsafe downloads over insecure connections";
356const char kDisallowUnsafeHttpDownloadsNameDescription[] =
357 "Disallows downloads of unsafe files (files that can potentially execute "
358 "code), where the final download origin or any origin in the redirect "
359 "chain is insecure.";
360
Brett Wilsonf27ff602017-07-07 22:28:47361const char kDriveSearchInChromeLauncherName[] =
362 "Drive Search in Chrome App Launcher";
363const char kDriveSearchInChromeLauncherDescription[] =
364 "Files from Drive will show up when searching the Chrome App Launcher.";
365
Brett Wilsonf27ff602017-07-07 22:28:47366const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
367const char kEmbeddedExtensionOptionsDescription[] =
368 "Display extension options as an embedded element in chrome://extensions "
369 "rather than opening a new tab.";
370
Dominic Mazzoni8ac98962018-05-25 05:44:55371const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
372const char kEnableAccessibilityObjectModelDescription[] =
373 "Enables experimental support for Accessibility Object Model APIs "
374 "that are in development.";
375
Becca Hughesac86cd442019-01-09 23:49:54376const char kEnableAudioFocusEnforcementName[] = "Audio Focus Enforcement";
377const char kEnableAudioFocusEnforcementDescription[] =
378 "Enables enforcement of a single media session having audio focus at "
379 "any one time. Requires #enable-media-session-service to be enabled too.";
380
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36381const char kEnableWebPaymentsSingleAppUiSkipName[] =
382 "Enable Web Payments single app UI skip";
383const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
384 "Enable Web Payments to skip showing its UI if the developer specifies a "
385 "single app.";
386
Sebastien Lalancette5daaf4a2019-01-11 22:09:25387const char kEnableAutocompleteDataRetentionPolicyName[] =
388 "Enable automatic cleanup of expired Autocomplete entries.";
389const char kEnableAutocompleteDataRetentionPolicyDescription[] =
390 "If enabled, will clean-up Autocomplete entries whose last use date is "
391 "older than the current retention policy. These entries will be "
392 "permanently deleted from the client on startup, and will be unlinked "
393 "from sync.";
394
Florian Uunk8c428ea2018-07-18 11:12:52395const char kEnableAutofillAccountWalletStorageName[] =
396 "Enable the account data storage for autofill";
397const char kEnableAutofillAccountWalletStorageDescription[] =
398 "Enable the ephemeral storage for account data for autofill.";
399
Shanfeng Zhang19c16562017-10-17 02:30:40400const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
401 "Credit card autofill ablation experiment.";
402const char kEnableAutofillCreditCardAblationExperimentDescription[] =
403 "If enabled, credit card autofill suggestions will not display.";
404
Brett Wilsonf27ff602017-07-07 22:28:47405const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
406 "Display the last used date of a credit card in autofill.";
407const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
408 "If enabled, display the last used date of a credit card in autofill.";
409
Sujie Zhu2cf0e5c2018-07-17 18:00:27410const char kEnableAutofillCreditCardLocalCardMigrationName[] =
411 "Enable migrating local cards to Google Pay";
412const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
413 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
414
Jared Saulbc672a072018-06-16 05:22:12415const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
416 "Make cardholder name editable in dialog during credit card upload";
417const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
418 "If enabled, in certain situations when offering credit card upload to "
419 "Google Payments, the cardholder name can be edited within the "
420 "offer-to-save dialog, which is prefilled with the name from the signed-in "
421 "Google Account.";
422
Hao Zhang1be9c262018-11-03 00:23:51423const char kEnableAutofillCreditCardUploadEditableExpirationDateName[] =
424 "Make expiration date editable in dialog during credit card upload";
425const char kEnableAutofillCreditCardUploadEditableExpirationDateDescription[] =
426 "If enabled, if a credit card's expiration date was not detected when "
427 "offering card upload to Google Payments, the offer-to-save dialog "
428 "displays an expiration date selector.";
429
Hao Zhangd3017112019-02-01 20:13:30430const char kEnableAutofillImportNonFocusableCreditCardFormsName[] =
431 "Allow credit card import from forms that disappear after entry";
432const char kEnableAutofillImportNonFocusableCreditCardFormsDescription[] =
433 "If enabled, offers credit card save for forms that are hidden from the "
434 "page after information has been entered into them, including "
435 "accordion-style checkout flows.";
436
siyua9a4a8872018-10-05 03:46:56437const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
438 "Show the upload results dialog after local card migration";
439const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
440 "If enabled, the local card migration offer dialog will remain pending "
441 "after the user clicks the save button. Once migration is finished, "
442 "the dialog will be updated with the results of each card.";
443
tmartinocd414732018-02-12 19:01:01444const char kEnableAutofillNativeDropdownViewsName[] =
445 "Display Autofill Dropdown Using Views";
446const char kEnableAutofillNativeDropdownViewsDescription[] =
447 "If enabled, the Autofill Dropdown will be built natively using Views, "
448 "rather than painted directly to a canvas.";
449
Fabio Tirelo87552e02018-07-06 15:43:21450const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
451 "Show unlabeled expiration dates on the save card dialog";
452const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
453 "If enabled, expiration dates on the save card dialog (both local and "
454 "upstream) are shown without an 'Exp:' label.";
455
siyua172973d2018-11-21 22:23:20456const char kEnableAutofillSaveCardImprovedUserConsentName[] =
457 "Use updated UI for credit card save bubbles";
458const char kEnableAutofillSaveCardImprovedUserConsentDescription[] =
459 "If enabled, adds a [No thanks] button to credit card save bubbles and "
460 "updates their title headers.";
461
Manas Verma99541e52018-08-03 20:37:23462const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
463 "Show Sign-In/Sync promo after saving a card locally";
464const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
465 "If enabled, shows a sign in prompt to the user after the user "
466 "saves a card locally. This also introduces a Manage Cards bubble "
467 "which you can access from the card icon after saving a card.";
468
Jared Saul8a0c1e92018-10-10 18:22:47469const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
470 "Enable limit on offering to save the same credit card repeatedly";
471const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
472 "If enabled, prevents popping up the credit card offer-to-save prompt if "
473 "it has repeatedly been ignored, declined, or failed.";
474
Anne Lim9d8f66a2019-01-07 23:49:21475const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Name[] =
476 "Enable limit on offering to save the same credit card repeatedly using the"
477 "updated strike system implementation";
478const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Description[] =
479 "If enabled, uses the updated strike system implementation to prevent"
480 "popping up the credit card offer-to-save prompt if it has repeatedly been"
481 "ignored, declined, or failed.";
482
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23483const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
484 "Send experiment flag IDs in calls to Google Payments";
485const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
486 "If enabled, adds the status of certain experiment variations when making "
487 "calls to Google Payments.";
488
Becca Hughes4d896c42018-05-29 16:58:51489const char kEnableAutoplayIgnoreWebAudioName[] =
490 "Autoplay ignores WebAudio playbacks";
491const char kEnableAutoplayIgnoreWebAudioDescription[] =
492 "If enabled, autoplay restrictions will be ignored for WebAudio.";
493
Becca Hughesc62f6a1d2018-08-16 15:59:47494const char kEnableAutoplayUnifiedSoundSettingsName[] =
495 "Autoplay unified sound settings UI";
496const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
497 "If enabled, shows the new unified autoplay sound settings UI.";
498
Brett Wilsonf27ff602017-07-07 22:28:47499const char kEnableBrotliName[] = "Brotli Content-Encoding.";
500const char kEnableBrotliDescription[] =
501 "Enable Brotli Content-Encoding support.";
502
Qiang Xu0f602fe62017-12-22 01:31:20503const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
504const char kEnableCaptivePortalRandomUrlDescription[] =
505 "Enable Captive Portal URL randomization.";
506
Yuki Awano06c7ddf2019-01-23 04:17:59507const char kEnableChromevoxDeveloperOptionName[] =
508 "Enable Chromevox developer option";
509const char kEnableChromevoxDeveloperOptionDescription[] =
510 "This option provides tools for developing in chromevox.";
511
sclittle50e4bb92017-07-08 02:23:03512const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
513
514const char kEnableClientLoFiDescription[] =
515 "Enable showing low fidelity images on some pages on slow networks.";
516
Patrick Noland8bc57472018-06-19 21:09:54517const char kEnableCSSFragmentIdentifiersName[] =
518 "Enable CSS Fragment Identifiers";
519const char kEnableCSSFragmentIdentifiersDescription[] =
520 "Enable support for specifying a target element using a css selector in "
521 "the fragment identifier.";
522
Doug Arnett08b4067b2017-10-12 20:14:44523const char kEnableNoScriptPreviewsName[] = "NoScript previews";
524
525const char kEnableNoScriptPreviewsDescription[] =
526 "Enable disabling JavaScript on some pages on slow networks.";
527
Thanh Le2c279fbc2017-11-21 01:25:40528const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
529const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
530const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
531const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
532const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
533const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
534const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
535const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
536const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
537const char kDataReductionProxyServerAlternative10[] =
538 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54539const char kEnableDataReductionProxyNetworkServiceName[] =
540 "Data reduction proxy with network service";
541const char kEnableDataReductionProxyNetworkServiceDescription[] =
542 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47543const char kEnableDataReductionProxyServerExperimentName[] =
544 "Use an alternative Data Saver back end configuration.";
545const char kEnableDataReductionProxyServerExperimentDescription[] =
546 "Enable a different approach to saving data by configuring the back end "
547 "server";
548
549const char kEnableDataReductionProxySavingsPromoName[] =
550 "Data Saver 1 MB Savings Promo";
551const char kEnableDataReductionProxySavingsPromoDescription[] =
552 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
553 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
554 "enabled for the promo to be shown.";
555
Matt Giucad4870432017-11-24 01:04:38556const char kEnableDesktopPWAsName[] = "Desktop PWAs";
557const char kEnableDesktopPWAsDescription[] =
558 "Experimental windowing and install banner treatment for Progressive Web "
559 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17560
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59561const char kEnableDesktopPWAsLinkCapturingName[] =
562 "Desktop PWAs Link Capturing";
563const char kEnableDesktopPWAsLinkCapturingDescription[] =
564 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
565 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
566 "#enable-desktop-pwas.";
567
Jay Harris52511a02018-11-02 01:00:28568const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
569const char kDesktopPWAsCustomTabUIDescription[] =
570 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
571 "for displaying the page title and origin instead of the location bar.";
572
Jay Harrisee7a7bc62018-10-09 01:47:49573const char kDesktopPWAsStayInWindowName[] =
574 "Desktop PWAs out-of-scope links open in the app window";
575const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28576 "Links to sites in a different scope will open inside the PWA window as "
577 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49578
Christopher Lame66b7812018-09-26 01:49:24579const char kEnableSystemWebAppsName[] = "System Web Apps";
580const char kEnableSystemWebAppsDescription[] =
581 "Experimental system for using the Desktop PWA framework for running System"
582 "Apps (e.g Settings, Discover).";
583
David Benjamin570460e2018-10-16 06:01:29584const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
585const char kEnforceTLS13DowngradeDescription[] =
586 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
587 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
588 "through 1.2 connections. Firewalls and proxies that do not function when "
589 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
590 "securely. They must be fixed by vendors.";
591
Brett Wilsonf27ff602017-07-07 22:28:47592const char kEnableEnumeratingAudioDevicesName[] =
593 "Experimentally enable enumerating audio devices.";
594const char kEnableEnumeratingAudioDevicesDescription[] =
595 "Experimentally enable the use of enumerating audio devices.";
596
597const char kEnableGenericSensorName[] = "Generic Sensor";
598const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25599 "Enables motion sensor classes based on Generic Sensor API, i.e. "
600 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
601 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
602
603const char kEnableGenericSensorExtraClassesName[] =
604 "Generic Sensor Extra Classes";
605const char kEnableGenericSensorExtraClassesDescription[] =
606 "Enables an extra set of sensor classes based on Generic Sensor API, which "
607 "expose previously unavailable platform features, i.e. AmbientLightSensor "
608 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47609
Vikas Soni78daa632019-01-12 01:32:52610const char kEnableGpuServiceLoggingName[] = "Enable gpu service logging";
611const char kEnableGpuServiceLoggingDescription[] =
612 "Enable printing the actual GL driver calls.";
613
Brett Wilsonf27ff602017-07-07 22:28:47614const char kEnableHDRName[] = "HDR mode";
615const char kEnableHDRDescription[] =
616 "Enables HDR support on compatible displays.";
617
Ryan Sturm6a850902018-06-09 02:27:34618const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
619const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09620 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25621 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01622 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
623 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34624
David Bokan911bded2018-11-27 23:23:32625const char kEnableImplicitRootScrollerName[] = "Implicit Root Scroller";
626const char kEnableImplicitRootScrollerDescription[] =
627 "Enables implicitly choosing which scroller on a page is the 'root "
628 "scroller'. i.e. The one that gets special features like URL bar movement, "
629 "overscroll glow, rotation anchoring, etc.";
630
Robert Ogden5a63b242018-09-17 21:38:57631const char kEnablePreviewsAndroidOmniboxUIName[] =
632 "Previews Android Omnibox UI";
633const char kEnablePreviewsAndroidOmniboxUIDescription[] =
634 "Enable showing the Previews UI in the Omnibox on Android instead of an "
635 "InfoBar. This has no effect on other platforms.";
636
Robert Ogdence8c9572018-10-08 23:08:48637const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
638const char kEnableLitePageServerPreviewsDescription[] =
Doug Arnett9c1f87562018-12-14 00:56:39639 "Enable showing Lite Page Previews served from a Previews Server."
640 "This feature will cause Chrome to redirect eligible navigations "
Robert Ogdence8c9572018-10-08 23:08:48641 "to a Google-owned domain that serves a pre-rendered version of the "
Doug Arnett9c1f87562018-12-14 00:56:39642 "original page. Also known as Lite Page Redirect Previews.";
Robert Ogdence8c9572018-10-08 23:08:48643
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41644const char kLayeredAPIName[] = "Experimental layered APIs";
645const char kLayeredAPIDescription[] =
646 "Enable layered API infrastructure, as well as several experimental "
647 "layered APIs. The syntax and the APIs exposed are experimental and will "
648 "change over time.";
649
Philip Rogers63481332018-12-01 22:16:51650const char kEnableBlinkGenPropertyTreesName[] = "Enable BlinkGenPropertyTrees";
651const char kEnableBlinkGenPropertyTreesDescription[] =
652 "Enable a new compositing mode where Blink generates the compositor "
653 "property trees.";
654
Ian Kilpatricke68ef11a2018-07-04 03:52:10655const char kEnableLayoutNGName[] = "Enable LayoutNG";
656const char kEnableLayoutNGDescription[] =
657 "Enable Blink's next generation layout engine.";
658
Scott Littled0fd2d002018-04-13 03:37:26659const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
660const char kEnableLazyFrameLoadingDescription[] =
661 "Defers the loading of certain cross-origin frames until the page is "
662 "scrolled down near them.";
663
rajendrant793ff512018-08-10 17:07:59664const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
665const char kEnableLazyImageLoadingDescription[] =
666 "Defers the loading of images until the page is scrolled down near them.";
667
Sidney San Martín9375b892017-09-09 00:29:54668const char kEnableMacMaterialDesignDownloadShelfName[] =
669 "Enable Material Design download shelf";
670
671const char kEnableMacMaterialDesignDownloadShelfDescription[] =
672 "If enabled, the download shelf uses Material Design.";
673
Becca Hughesac86cd442019-01-09 23:49:54674const char kEnableMediaSessionServiceName[] = "Media Session Service";
675const char kEnableMediaSessionServiceDescription[] =
676 "Enables the media session mojo service and internal media session "
677 "support.";
678
Anton Urusov47cd4932017-09-19 14:41:41679const char kEnablePolicyToolName[] = "Enable policy management page";
680const char kEnablePolicyToolDescription[] =
681 "If enabled, the chrome://policy-tool URL loads a page for managing "
682 "policies.";
683
Brett Wilsonf27ff602017-07-07 22:28:47684const char kEnableNavigationTracingName[] = "Enable navigation tracing";
685const char kEnableNavigationTracingDescription[] =
686 "This is to be used in conjunction with the trace-upload-url flag. "
687 "WARNING: When enabled, Chrome will record performance data for every "
688 "navigation and upload it to the URL specified by the trace-upload-url "
689 "flag. The trace may include personally identifiable information (PII) "
690 "such as the titles and URLs of websites you visit.";
691
Bernhard Bauer5533f9912017-11-06 17:56:02692const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
693const char kEnableNetworkLoggingToFileDescription[] =
694 "Enables network logging to a file named netlog.json in the user data "
695 "directory. The file can be imported into chrome://net-internals.";
696
Brett Wilsonf27ff602017-07-07 22:28:47697const char kEnableNetworkServiceName[] = "Enable network service";
698const char kEnableNetworkServiceDescription[] =
699 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40700 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47701
John Abd-El-Malek8067cc02017-12-04 23:23:20702const char kEnableNetworkServiceInProcessName[] =
703 "Runs network service in-process";
704const char kEnableNetworkServiceInProcessDescription[] =
705 "Runs the network service in the browser process.";
706
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28707const char kEnableNotificationScrollBarName[] =
708 "Enable notification list scroll bar";
709const char kEnableNotificationScrollBarDescription[] =
710 "Enable the scroll bar of the notification list in Unified System Tray.";
711
Mitsuru Otsukae8304de2018-10-29 02:14:36712const char kEnableNotificationExpansionAnimationName[] =
713 "Enable notification expansion animations";
714const char kEnableNotificationExpansionAnimationDescription[] =
715 "Enable notification animations whenever the expansion state is toggled.";
716
xlou8b56f672018-02-09 23:34:30717const char kEnableNupPrintingName[] = "Enable N-up printing";
718const char kEnableNupPrintingDescription[] =
719 "Enable N-up printing in the print preview panel.";
720
Sophie Chang117a3b22017-10-24 22:25:36721const char kEnableOptimizationHintsName[] = "Optimization Hints";
722const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50723 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36724 "into decisions for what optimizations to perform on some pages on slow "
725 "networks.";
726
Takashi Toyoshima2e01e692018-11-16 03:23:27727const char kEnableOutOfBlinkCorsName[] = "Out of blink CORS";
728const char kEnableOutOfBlinkCorsDescription[] =
Yutaka Hirano98be3272017-08-07 17:55:39729 "CORS handling logic is moved out of blink.";
730
Chris Halle952239e2018-11-06 06:49:52731const char kExperimentalAccessibilityFeaturesName[] =
732 "Experimental accessibility features";
733const char kExperimentalAccessibilityFeaturesDescription[] =
734 "Enable additional accessibility features in the Settings page.";
735
Katie D652135c2018-11-27 18:30:13736const char kExperimentalAccessibilityAutoclickName[] =
737 "Experimental automatic click features";
738const char kExperimentalAccessibilityAutoclickDescription[] =
739 "Enable additional features for automatic clicks.";
740
Katie D0c31c5062019-01-02 18:12:35741const char kExperimentalAccessibilityLabelsName[] =
742 "Experimental accessibility image label features";
743const char kExperimentalAccessibilityLabelsDescription[] =
744 "Enable additional features for image labels for accessibility.";
745
Chris Hall4a4225f62019-01-18 03:07:16746const char kExperimentalAccessibilityLanguageDetectionName[] =
747 "Experimental accessibility language detection";
748const char kExperimentalAccessibilityLanguageDetectionDescription[] =
749 "Enable language detection for in-page content which is then exposed to "
750 "accessiblity technologies such as screen readers.";
751
Anastasia Helfinsteinafecc68c2018-11-26 19:20:17752const char kExperimentalAccessibilitySwitchAccessName[] =
753 "Experimental feature Switch Access";
754const char kExperimentalAccessibilitySwitchAccessDescription[] =
755 "Add a setting to enable the prototype of Switch Access";
756
kylechar7051c092018-02-05 20:31:39757const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
758const char kVizDisplayCompositorDescription[] =
759 "If enabled, the display compositor runs as part of the viz service in the"
760 "GPU process.";
761
Ria Jiang6a129b982018-03-01 18:30:40762const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
763const char kVizHitTestDrawQuadDescription[] =
764 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
765 "with hit-test data computed from the CompositorFrame.";
766
Erik Chen49bbfa22017-08-18 08:49:56767const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23768 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56769const char kEnableOutOfProcessHeapProfilingDescription[] =
770 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19771 "malloced objects. Heap dumps can be obtained at chrome://tracing "
772 "[category:memory-infra] and chrome://memory-internals. This setting "
773 "controls which processes are profiled. As long as this setting is not "
774 "disabled, users can start profiling any given process in "
775 "chrome://memory-internals.";
776const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
777const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
778const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
779const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
780const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10781const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19782 "None by default. Visit chrome://memory-internals to choose which "
783 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15784const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
785 "Profile a random sampling of renderer processes, ensuring only one is "
786 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19787
Erik Chen8bb76b52017-12-06 19:06:25788const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19789 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25790const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
791 "By default, small allocations are pruned from the heap dump. This reduces "
792 "the size of the compressed trace by 100x. If pruning is disabled, the "
793 "chrome://tracing UI may be unable to take or load the trace. Save the "
794 "trace directly using chrome://memory-internals, and use other mechanisms "
795 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
796 "automatically uploaded traces will always be pruned. This only affects "
797 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56798
erikchen8bc20d82018-02-14 03:21:51799const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
800const char kOutOfProcessHeapProfilingSamplingDescription[] =
801 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22802 "10000. This results in low noise for large and/or frequent allocations ["
803 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
804 "total size of malloc-ed objects] and large and/or frequent allocations "
805 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51806
Erik Chen3303fd0232018-01-11 20:29:05807const char kOOPHPStackModeName[] =
808 "The type of stack to record for memlog heap dumps";
809const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19810 "By default, memlog heap dumps record native stacks, which requires a "
811 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55812 "pointers to work on Android. Native with thread names will add the thread "
813 "name as the first frame of each native stack. It's also possible to "
814 "record a pseudo stack using trace events as identifiers. It's also "
815 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19816const char kOOPHPStackModeMixed[] = "Mixed";
817const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55818const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19819const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05820
François Beaufort2e75f492018-02-08 20:44:46821const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47822const char kEnablePictureInPictureDescription[] =
François Beaufort106802c2018-12-18 17:46:13823 "Show Picture-in-Picture in browser context menu and video native "
824 "controls. The #enable-surfaces-for-videos flag must be enabled as well "
825 "to use it.";
Brett Wilsonf27ff602017-07-07 22:28:47826
F#m59d036e2017-09-13 07:22:17827const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
828const char kEnablePixelCanvasRecordingDescription[] =
829 "Pixel canvas recording allows the compositor to raster contents aligned "
830 "with the pixel and improves text rendering. This should be enabled when a "
831 "device is using fractional scale factor.";
832
Ella Gebee81c92018-08-14 15:51:09833const char kEnableResamplingInputEventsName[] =
834 "Enable resampling input events";
835const char kEnableResamplingInputEventsDescription[] =
836 "Predicts mouse and touch inputs position at rAF time based on previous "
837 "input";
838const char kEnableResamplingScrollEventsName[] =
839 "Enable resampling scroll events";
840const char kEnableResamplingScrollEventsDescription[] =
841 "Predicts the scroll amount at vsync time based on previous input";
842
Doug Arnettaa0bf202018-08-27 19:42:11843const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
844const char kEnableResourceLoadingHintsDescription[] =
845 "Enable using server-provided resource loading hints to provide a preview "
846 "over slow network connections.";
847
Mikel Astizb4786aa2018-11-09 22:12:09848const char kEnableSyncPseudoUSSAppListName[] =
849 "Enable pseudo-USS for APP_LIST sync.";
850const char kEnableSyncPseudoUSSAppListDescription[] =
851 "Enable new USS-based codepath for sync datatype APP_LIST.";
852
853const char kEnableSyncPseudoUSSAppsName[] = "Enable pseudo-USS for APPS sync.";
854const char kEnableSyncPseudoUSSAppsDescription[] =
855 "Enable new USS-based codepath for sync datatype APPS.";
856
857const char kEnableSyncPseudoUSSDictionaryName[] =
858 "Enable pseudo-USS for DICTIONARY sync.";
859const char kEnableSyncPseudoUSSDictionaryDescription[] =
860 "Enable new USS-based codepath for sync datatype DICTIONARY.";
861
862const char kEnableSyncPseudoUSSExtensionSettingsName[] =
863 "Enable pseudo-USS for EXTENSION_SETTINGS and APP_SETTINGS sync.";
864const char kEnableSyncPseudoUSSExtensionSettingsDescription[] =
865 "Enable new USS-based codepath for sync datatypes EXTENSION_SETTINGS and "
866 "APP_SETTINGS.";
867
868const char kEnableSyncPseudoUSSExtensionsName[] =
869 "Enable pseudo-USS for EXTENSIONS sync.";
870const char kEnableSyncPseudoUSSExtensionsDescription[] =
871 "Enable new USS-based codepath for sync datatype EXTENSIONS.";
872
873const char kEnableSyncPseudoUSSFaviconsName[] =
874 "Enable pseudo-USS for favicon sync.";
875const char kEnableSyncPseudoUSSFaviconsDescription[] =
876 "Enable new USS-based codepath for sync datatypes FAVICON_IMAGES and "
877 "FAVICON_TRACKING.";
878
879const char kEnableSyncPseudoUSSHistoryDeleteDirectivesName[] =
880 "Enable pseudo-USS for HISTORY_DELETE_DIRECTIVES sync.";
881const char kEnableSyncPseudoUSSHistoryDeleteDirectivesDescription[] =
882 "Enable new USS-based codepath for sync datatype "
883 "HISTORY_DELETE_DIRECTIVES.";
884
885const char kEnableSyncPseudoUSSPasswordsName[] =
886 "Enable pseudo-USS for PASSWORDS sync.";
887const char kEnableSyncPseudoUSSPasswordsDescription[] =
888 "Enable new USS-based codepath for sync datatype PASSWORDS (pseudo-USS).";
889
890const char kEnableSyncPseudoUSSPreferencesName[] =
891 "Enable pseudo-USS for PREFERENCES sync.";
892const char kEnableSyncPseudoUSSPreferencesDescription[] =
893 "Enable new USS-based codepath for sync datatype PREFERENCES.";
894
895const char kEnableSyncPseudoUSSPriorityPreferencesName[] =
896 "Enable pseudo-USS for PRIORITY_PREFERENCES sync.";
897const char kEnableSyncPseudoUSSPriorityPreferencesDescription[] =
898 "Enable new USS-based codepath for sync datatype PRIORITY_PREFERENCES.";
899
900const char kEnableSyncPseudoUSSSearchEnginesName[] =
901 "Enable pseudo-USS for SEARCH_ENGINES sync.";
902const char kEnableSyncPseudoUSSSearchEnginesDescription[] =
903 "Enable new USS-based codepath for sync datatype SEARCH_ENGINES.";
904
905const char kEnableSyncPseudoUSSSupervisedUsersName[] =
906 "Enable pseudo-USS for supervised users sync.";
907const char kEnableSyncPseudoUSSSupervisedUsersDescription[] =
908 "Enable new USS-based codepath for sync datatypes SUPERVISED_USER_SETTINGS "
909 "and SUPERVISED_USER_WHITELISTS.";
910
911const char kEnableSyncPseudoUSSThemesName[] =
912 "Enable pseudo-USS for THEMES sync.";
913const char kEnableSyncPseudoUSSThemesDescription[] =
914 "Enable new USS-based codepath for sync datatype THEMES.";
915
Mohamed Amir Yosef0178fa892018-07-23 17:43:52916const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
917const char kEnableSyncUSSBookmarksDescription[] =
918 "Enables the new, experimental implementation of bookmark sync";
919
Mikel Astiz38837f82018-04-24 22:23:23920const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
921const char kEnableSyncUSSSessionsDescription[] =
922 "Enables the new, experimental implementation of session sync (aka tab "
923 "sync).";
924
Brett Wilsonf27ff602017-07-07 22:28:47925const char kEnableUseZoomForDsfName[] =
926 "Use Blink's zoom for device scale factor.";
927const char kEnableUseZoomForDsfDescription[] =
928 "If enabled, Blink uses its zooming mechanism to scale content for device "
929 "scale factor.";
930const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
931const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
932const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
933
Patrick Noland8ee016e2018-01-24 11:44:53934const char kEnableScrollAnchorSerializationName[] =
935 "Scroll Anchor Serialization";
936const char kEnableScrollAnchorSerializationDescription[] =
937 "Save the scroll anchor and use it to restore the scroll position when "
938 "navigating.";
939
Brad Nelson5cd500e2018-01-04 00:50:19940const char kEnableSharedArrayBufferName[] =
941 "Experimental enabled SharedArrayBuffer support in JavaScript.";
942const char kEnableSharedArrayBufferDescription[] =
943 "Enable SharedArrayBuffer support in JavaScript.";
944
Brett Wilsonf27ff602017-07-07 22:28:47945const char kEnableWasmName[] = "WebAssembly structured cloning support.";
946const char kEnableWasmDescription[] =
947 "Enable web pages to use WebAssembly structured cloning.";
948
Lei Zhang0ca70ea2018-09-07 17:51:01949const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47950 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01951const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47952 "Enable the cloud-assisted pairingless BLE protocol for use with "
953 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54954
Brett Wilsonf27ff602017-07-07 22:28:47955const char kEnableImageCaptureAPIName[] = "Image Capture API";
956const char kEnableImageCaptureAPIDescription[] =
957 "Enables the Web Platform Image Capture API: takePhoto(), "
958 "getPhotoCapabilities(), etc.";
959
Ramin Halavatic158b182018-10-18 14:04:54960const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
961const char kEnableIncognitoWindowCounterDescription[] =
962 "Shows the count of Incognito windows next to the Incognito icon on the "
963 "toolbar.";
964
Brett Wilsonf27ff602017-07-07 22:28:47965const char kEnableZeroSuggestRedirectToChromeName[] =
966 "Experimental contextual omnibox suggestion";
967const char kEnableZeroSuggestRedirectToChromeDescription[] =
968 "Change omnibox contextual suggestions to an experimental source. Note "
969 "that this is not an on/off switch for contextual omnibox and it only "
970 "applies to suggestions provided before the user starts typing a URL or a "
971 "search query (i.e. zero suggest).";
972
Clemens Hammacher0c8a15a2018-04-27 13:45:32973const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
974const char kEnableWasmBaselineDescription[] =
975 "Enables WebAssembly baseline compilation and tier up.";
976
Ben Smith24c1e5c2018-06-20 01:09:02977const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
978const char kEnableWasmThreadsDescription[] =
979 "Enables support for the WebAssembly Threads proposal. Implies "
980 "#shared-array-buffer and #enable-webassembly.";
981
Brett Wilsonf27ff602017-07-07 22:28:47982const char kExpensiveBackgroundTimerThrottlingName[] =
983 "Throttle expensive background timers";
984const char kExpensiveBackgroundTimerThrottlingDescription[] =
985 "Enables intervention to limit CPU usage of background timers to 1%.";
986
987const char kExperimentalAppBannersName[] = "Experimental app banners";
988const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38989 "Enables a new experimental app banner flow and UI. Implies "
990 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47991
992const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
993const char kExperimentalCanvasFeaturesDescription[] =
994 "Enables the use of experimental canvas features which are still in "
995 "development.";
996
997const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
998const char kExperimentalExtensionApisDescription[] =
999 "Enables experimental extension APIs. Note that the extension gallery "
1000 "doesn't allow you to upload extensions that use experimental APIs.";
1001
Ian Clelland37a985d2018-05-04 02:43:131002const char kExperimentalProductivityFeaturesName[] =
1003 "Experimental Productivity Features";
1004const char kExperimentalProductivityFeaturesDescription[] =
1005 "Enable support for experimental developer productivity features, such as "
1006 "Layered APIs and policies for avoiding slow rendering.";
1007
Brett Wilsonf27ff602017-07-07 22:28:471008const char kExperimentalSecurityFeaturesName[] =
1009 "Potentially annoying security features";
1010const char kExperimentalSecurityFeaturesDescription[] =
1011 "Enables several security features that will likely break one or more "
1012 "pages that you visit on a daily basis. Strict mixed content checking, for "
1013 "example. And locking powerful features to secure contexts. This flag will "
1014 "probably annoy you.";
1015
1016const char kExperimentalWebPlatformFeaturesName[] =
1017 "Experimental Web Platform features";
1018const char kExperimentalWebPlatformFeaturesDescription[] =
1019 "Enables experimental Web Platform features that are in development.";
1020
1021const char kExtensionContentVerificationName[] =
1022 "Extension Content Verification";
1023const char kExtensionContentVerificationDescription[] =
1024 "This flag can be used to turn on verification that the contents of the "
1025 "files on disk for extensions from the webstore match what they're "
1026 "expected to be. This can be used to turn on this feature if it would not "
1027 "otherwise have been turned on, but cannot be used to turn it off (because "
1028 "this setting can be tampered with by malware).";
1029const char kExtensionContentVerificationBootstrap[] =
1030 "Bootstrap (get expected hashes, but do not enforce them)";
1031const char kExtensionContentVerificationEnforce[] =
1032 "Enforce (try to get hashes, and enforce them if successful)";
1033const char kExtensionContentVerificationEnforceStrict[] =
1034 "Enforce strict (hard fail if we can't get hashes)";
1035
1036const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
1037const char kExtensionsOnChromeUrlsDescription[] =
1038 "Enables running extensions on chrome:// URLs, where extensions explicitly "
1039 "request this permission.";
galinapae72e152017-05-12 13:12:281040
Brett Wilsonecb80982017-07-12 20:34:511041const char kFeaturePolicyName[] = "Feature Policy";
1042const char kFeaturePolicyDescription[] =
1043 "Enables granting and removing access to features through the "
1044 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:341045
Brett Wilsonecb80982017-07-12 20:34:511046const char kFontCacheScalingName[] = "FontCache scaling";
1047const char kFontCacheScalingDescription[] =
1048 "Reuse a cached font in the renderer to serve different sizes of font for "
1049 "faster layout.";
1050
1051const char kForceEffectiveConnectionTypeName[] =
1052 "Override effective connection type";
1053const char kForceEffectiveConnectionTypeDescription[] =
1054 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:301055 "returned by the network quality estimator. Slow 2G on Cellular returns "
1056 "Slow 2G when connected to a cellular network, and the actual estimate "
1057 "effective connection type when not on a cellular network. Previews are "
1058 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:511059const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
1060const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
1061const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:301062const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
1063 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:511064const char kEffectiveConnectionType2GDescription[] = "2G";
1065const char kEffectiveConnectionType3GDescription[] = "3G";
1066const char kEffectiveConnectionType4GDescription[] = "4G";
1067
1068const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1069const char kFillOnAccountSelectDescription[] =
1070 "Filling of passwords when an account is explicitly selected by the user "
1071 "rather than autofilling credentials on page load.";
1072
Brett Wilsonecb80982017-07-12 20:34:511073const char kForceTextDirectionName[] = "Force text direction";
1074const char kForceTextDirectionDescription[] =
1075 "Explicitly force the per-character directionality of UI text to "
1076 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
1077 "direction of the character language.";
1078const char kForceDirectionLtr[] = "Left-to-right";
1079const char kForceDirectionRtl[] = "Right-to-left";
1080
1081const char kForceUiDirectionName[] = "Force UI direction";
1082const char kForceUiDirectionDescription[] =
1083 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1084 "mode, overriding the default direction of the UI language.";
1085
1086const char kFramebustingName[] =
1087 "Framebusting requires same-origin or a user gesture";
1088const char kFramebustingDescription[] =
1089 "Don't permit an iframe to navigate the top level browsing context unless "
1090 "they are same-origin or the iframe is processing a user gesture.";
1091
Matt Reynolds043469f2018-05-01 22:56:581092const char kGamepadVibrationName[] = "Gamepad Vibration";
1093const char kGamepadVibrationDescription[] =
1094 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511095
Brett Wilsonecb80982017-07-12 20:34:511096const char kGpuRasterizationName[] = "GPU rasterization";
1097const char kGpuRasterizationDescription[] =
1098 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281099const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511100
Ioana Pandele1ed7ef72018-11-21 15:22:031101const char kGooglePasswordManagerName[] = "Google Password Manager UI";
1102const char kGooglePasswordManagerDescription[] =
1103 "Enables access to the Google Password Manager UI from Chrome.";
1104
Brett Wilsonecb80982017-07-12 20:34:511105const char kGoogleProfileInfoName[] = "Google profile name and icon";
1106const char kGoogleProfileInfoDescription[] =
1107 "Enables using Google information to populate the profile name and icon in "
1108 "the avatar menu.";
1109
Takumi Fujimotofb71e332018-03-31 14:04:081110const char kViewsCastDialogName[] = "Views Cast dialog";
1111const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311112 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531113 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541114 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081115
Gabrielle Paladoaebf7ca2019-01-16 07:07:061116const char kHandwritingGestureName[] = "Handwriting Gestures";
1117const char kHandwritingGestureDescription[] =
1118 "Enables handwriting gestures within the virtual keyboard";
1119
Tommy Steimel1aadd7b2019-01-18 19:39:421120const char kHardwareMediaKeyHandling[] = "Hardware Media Key Handling";
1121const char kHardwareMediaKeyHandlingDescription[] =
1122 "Enables using media keys to control the active media session. This "
1123 "requires MediaSessionService to be enabled too";
1124
Manu Cornet4a908de2018-04-09 04:32:271125const char kHideActiveAppsFromShelfName[] =
1126 "Hide running apps (that are not pinned) from the shelf";
1127const char kHideActiveAppsFromShelfDescription[] =
1128 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251129
Brett Wilsonecb80982017-07-12 20:34:511130const char kHistoryRequiresUserGestureName[] =
1131 "New history entries require a user gesture.";
1132const char kHistoryRequiresUserGestureDescription[] =
1133 "Require a user gesture to add a history entry.";
1134const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1135const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1136
Ryan Landay4242dbc22018-04-04 01:47:331137const char kHorizontalTabSwitcherAndroidName[] =
1138 "Enable horizontal tab switcher";
1139const char kHorizontalTabSwitcherAndroidDescription[] =
1140 "Changes the layout of the Android tab switcher so tabs scroll "
1141 "horizontally instead of vertically.";
1142
Matt Simmons2048b2a2018-12-20 20:12:561143const char kTabSwitcherOnReturnName[] = "Enable tab switcher on return";
1144const char kTabSwitcherOnReturnDescription[] =
1145 "Enable tab switcher on return after specified time has elapsed";
1146
Brett Wilsonecb80982017-07-12 20:34:511147const char kHostedAppQuitNotificationName[] =
1148 "Quit notification for hosted apps";
1149const char kHostedAppQuitNotificationDescription[] =
1150 "Display a notification when quitting Chrome if hosted apps are currently "
1151 "running.";
1152
1153const char kHostedAppShimCreationName[] =
1154 "Creation of app shims for hosted apps on Mac";
1155const char kHostedAppShimCreationDescription[] =
1156 "Create app shims on Mac when creating a hosted app.";
1157
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481158const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1159const char kHtmlBasedUsernameDetectorDescription[] =
1160 "Use HTML-based username detector for the password manager.";
1161
Brett Wilsonecb80982017-07-12 20:34:511162const char kIconNtpName[] = "Large icons on the New Tab page";
1163const char kIconNtpDescription[] =
1164 "Enable the experimental New Tab page using large icons.";
1165
1166const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1167const char kIgnoreGpuBlacklistDescription[] =
1168 "Overrides the built-in software rendering list and enables "
1169 "GPU-acceleration on unsupported system configurations.";
1170
Ryan Sturm8c3dbc92018-06-26 19:22:371171const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441172const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371173 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441174
Alexandre Frechetted3e1b542018-12-13 14:40:501175const char kImprovedGeoLanguageDataName[] = "Improved Geo-language Data";
1176const char kImprovedGeoLanguageDataDescription[] =
1177 "Makes the GeoLanguageModel use higher quality, more refined ULP "
1178 "geo-language data.";
1179
Brett Wilsonecb80982017-07-12 20:34:511180const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1181const char kInProductHelpDemoModeChoiceDescription[] =
1182 "Selects the In-Product Help demo mode.";
1183
1184const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1185const char kJavascriptHarmonyDescription[] =
1186 "Enable web pages to use experimental JavaScript features.";
1187
1188const char kJavascriptHarmonyShippingName[] =
1189 "Latest stable JavaScript features";
1190const char kJavascriptHarmonyShippingDescription[] =
1191 "Some web pages use legacy or non-standard JavaScript extensions that may "
1192 "conflict with the latest JavaScript features. This flag allows disabling "
1193 "support of those features for compatibility with such pages.";
1194
gogeraldfd7675d2018-06-19 22:57:351195const char kJustInTimeServiceWorkerPaymentAppName[] =
1196 "Just-in-time service worker payment app";
1197const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1198 "Allow crawling just-in-time service worker payment app when there is no "
1199 "installed service worker payment app for a payment request.";
1200
Yutaka Hiranof7f2f632017-09-06 10:40:081201const char kKeepAliveRendererForKeepaliveRequestsName[] =
1202 "Keep a renderer alive for keepalive fetch requests";
1203const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1204 "Keep a render process alive when the process has a pending fetch request "
1205 "with `keepalive' specified.";
1206
Joe Downing095fd6d2018-02-01 18:40:361207const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1208const char kKeyboardLockApiDescription[] =
1209 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1210 "specific key events and have them routed directly to the webpage when in "
1211 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1212
Brett Wilsonecb80982017-07-12 20:34:511213const char kLcdTextName[] = "LCD text antialiasing";
1214const char kLcdTextDescription[] =
1215 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1216 "(subpixel) when doing accelerated compositing.";
1217
Matt Giucac399982f2017-10-06 07:51:291218const char kLeftToRightUrlsName[] =
1219 "Render bidirectional URLs from left to right";
1220const char kLeftToRightUrlsDescription[] =
1221 "An experimental Bidi URL rendering algorithm where the URL components are "
1222 "always shown in order from left to right, regardless of any RTL "
1223 "characters. (The contents of each component are still rendered with the "
1224 "normal Bidi algorithm.)";
1225
Brett Wilsonecb80982017-07-12 20:34:511226const char kLoadMediaRouterComponentExtensionName[] =
1227 "Load Media Router Component Extension";
1228const char kLoadMediaRouterComponentExtensionDescription[] =
1229 "Loads the Media Router component extension at startup.";
1230
Mustafa Emre Acer137dc8b2018-08-29 20:38:131231const char kLookalikeUrlNavigationSuggestionsName[] =
1232 "Navigation suggestions for lookalike URLs";
1233const char kLookalikeUrlNavigationSuggestionsDescription[] =
1234 "Enable navigation suggestions for URLs that are visually similar to "
1235 "popular domains or to domains with a site engagement score.";
1236
Brett Wilsonecb80982017-07-12 20:34:511237const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1238const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511239
Lei Zhang2eca9082017-10-17 20:42:501240const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1241const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511242 "If enabled, the Incognito New Tab page uses the new material design with "
1243 "a better readable text.";
1244
spqchanb87755692018-04-05 00:46:091245const char kMediaRouterCastAllowAllIPsName[] =
1246 "Connect to Cast devices on all IP addresses";
1247const char kMediaRouterCastAllowAllIPsDescription[] =
1248 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311249 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091250
Brett Wilsonecb80982017-07-12 20:34:511251const char kMemoryCoordinatorName[] = "Memory coordinator";
1252const char kMemoryCoordinatorDescription[] =
1253 "Enable memory coordinator instead of memory pressure listeners.";
1254
1255const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1256const char kMessageCenterNewStyleNotificationDescription[] =
1257 "Enables the experiment style of material-design notification";
1258
Brett Wilsonecb80982017-07-12 20:34:511259const char kNewAudioRenderingMixingStrategyName[] =
1260 "New audio rendering mixing strategy";
1261const char kNewAudioRenderingMixingStrategyDescription[] =
1262 "Use the new audio rendering mixing strategy.";
1263
1264const char kNewBookmarkAppsName[] = "The new bookmark app system";
1265const char kNewBookmarkAppsDescription[] =
1266 "Enables the new system for creating bookmark apps.";
1267
Vadym Doroshenkocd4ff782018-07-24 13:41:021268const char kNewPasswordFormParsingName[] =
1269 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241270const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021271 "Replaces existing form parsing for filling in password manager with a new "
1272 "version, currently under development. WARNING: when enabled, Password "
1273 "Manager might stop working";
1274
1275const char kNewPasswordFormParsingForSavingName[] =
1276 "New password form parsing for saving passwords";
1277const char kNewPasswordFormParsingForSavingDescription[] =
1278 "Replaces existing form parsing for saving in password manager with a new "
1279 "version, currently under development. WARNING: when enabled, Password "
1280 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241281
CJ DiMeglio7b4a199f2017-11-30 01:26:501282const char kUseSurfaceLayerForVideoName[] =
1283 "Enable the use of SurfaceLayer objects for videos.";
1284const char kUseSurfaceLayerForVideoDescription[] =
1285 "Enable compositing onto a Surface instead of a VideoLayer "
1286 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511287
1288const char kNewUsbBackendName[] = "Enable new USB backend";
1289const char kNewUsbBackendDescription[] =
1290 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341291
Sonny Sasaka2d200432018-03-22 17:43:161292const char kNewblueName[] = "Newblue";
1293const char kNewblueDescription[] =
1294 "Enables the use of newblue Bluetooth daemon.";
1295
Peter Boström7df25c72018-12-12 06:40:191296const char kNewTabLoadingAnimation[] = "New tab-loading animation";
1297const char kNewTabLoadingAnimationDescription[] =
1298 "Enables a new look for the tab-loading animation.";
1299
Peter Kasting63097912018-06-30 02:09:031300const char kNewTabButtonPosition[] = "New tab button position";
1301const char kNewTabButtonPositionDescription[] =
1302 "Controls placement of the new tab button within the tabstrip.";
1303const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1304const char kNewTabButtonPositionLeading[] = "Leading";
1305const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1306const char kNewTabButtonPositionTrailing[] = "Trailing";
1307
Egor Pasko6fed3822018-05-30 10:33:141308const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341309const char kNostatePrefetchDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:061310 "If enabled, pre-downloads resources to improve page load speed.";
vabr0215a8e2017-03-28 12:47:341311
Alex Newcomerd7b0cc42018-05-25 22:58:481312const char kNotificationIndicatorName[] = "Notification Indicators";
1313const char kNotificationIndicatorDescription[] =
1314 "Enable notification indicators, which appear on app icons when a "
1315 "notification is active. This will also enable notifications in context "
1316 "menus.";
1317
Brett Wilsonecb80982017-07-12 20:34:511318const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1319const char kNotificationsNativeFlagDescription[] =
1320 "Enable support for using the native notification toasts and notification "
1321 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341322
Valeriya Sinevich972ac122018-09-05 07:33:191323const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1324const char kUseMultiloginEndpointDescription[] =
1325 "Use Gaia OAuth multilogin for identity consistency.";
1326
Zentaro Kavanaghbad511c2017-10-18 22:29:001327#if defined(OS_POSIX)
1328const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1329const char kNtlmV2EnabledDescription[] =
1330 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1331#endif
1332
Brett Wilsonecb80982017-07-12 20:34:511333const char kOfferStoreUnmaskedWalletCardsName[] =
1334 "Google Payments card saving checkbox";
1335const char kOfferStoreUnmaskedWalletCardsDescription[] =
1336 "Show the checkbox to offer local saving of a credit card downloaded from "
1337 "the server.";
1338
1339const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1340const char kOfflineAutoReloadDescription[] =
1341 "Pages that fail to load while the browser is offline will be "
1342 "auto-reloaded when the browser is online again.";
1343
1344const char kOfflineAutoReloadVisibleOnlyName[] =
1345 "Only Auto-Reload Visible Tabs";
1346const char kOfflineAutoReloadVisibleOnlyDescription[] =
1347 "Pages that fail to load while the browser is offline will only be "
1348 "auto-reloaded if their tab is visible.";
1349
Brett Wilsonecb80982017-07-12 20:34:511350const char kOmniboxDisplayTitleForCurrentUrlName[] =
1351 "Include title for the current URL in the omnibox";
1352const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1353 "In the event that the omnibox provides suggestions on-focus, the URL of "
1354 "the current page is provided as the first suggestion without a title. "
1355 "Enabling this flag causes the title to be displayed.";
1356
Tomasz Wiszkowskic87dff12019-01-15 02:57:511357const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
1358const char kOmniboxNewAnswerLayoutDescription[] =
1359 "Modernize omnibox answers using an enhanced layout with larger icons.";
1360
Benoit Lizeab08362c2017-07-19 14:50:541361const char kOmniboxSpareRendererName[] =
1362 "Start spare renderer on omnibox focus";
1363const char kOmniboxSpareRendererDescription[] =
1364 "When the omnibox is focused, start an empty spare renderer. This can "
1365 "speed up the load of the navigation from the omnibox.";
1366
Tommy C. Lie4194b732018-09-28 22:21:511367const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1368 "Omnibox UI Hide Steady-State URL Scheme";
1369const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1370 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361371 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511372
Tommy C. Lib20aec72018-11-19 21:38:231373const char kOmniboxUIOneClickUnelideName[] = "Omnibox UI One Click Unelide";
1374const char kOmniboxUIOneClickUnelideDescription[] =
1375 "In the omnibox, undo all unelisions with a single click or focus action.";
1376
Tommy C. Lie4194b732018-09-28 22:21:511377const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1378 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1379const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1380 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361381 "Hidden portions are restored during editing.";
1382
1383const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1384 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1385const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1386 "In the omnibox, hide the path, query and ref from steady state displayed "
1387 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121388
Brett Wilsonecb80982017-07-12 20:34:511389const char kOmniboxUIMaxAutocompleteMatchesName[] =
1390 "Omnibox UI Max Autocomplete Matches";
1391
1392const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1393 "Changes the maximum number of autocomplete matches displayed in the "
1394 "Omnibox UI.";
1395
Justin Donnelly65c9e8b2017-10-01 05:15:011396const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1397const char kOmniboxUISwapTitleAndUrlDescription[] =
1398 "In the omnibox dropdown, shows titles before URLs when both are "
1399 "available.";
1400
Troy Hildebrandtb32637ca2018-02-21 23:25:091401const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1402 "Omnibox Voice Search Always Visible";
1403const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1404 "Always displays voice search icon in focused omnibox as long as voice "
1405 "search is possible";
1406
Vadym Doroshenko6b8f64d2018-11-26 15:35:391407const char kOnlyNewPasswordFormParsingName[] =
1408 "Use only new password form parsing";
1409const char kOnlyNewPasswordFormParsingDescription[] =
1410 "The old password form parsing is disabled";
1411
Mark Lieufaa1b762019-01-08 19:37:281412const char kOnTheFlyMhtmlHashComputationName[] =
1413 "On-The-Fly MHTML Hash Computation";
1414const char kOnTheFlyMhtmlHashComputationDescription[] =
1415 "Save MHTML files to the target location and calculate their content "
1416 "digests in one step.";
1417
Adrienne Walkerc87477e2018-06-06 22:28:211418const char kOopRasterizationName[] = "Out of process rasterization";
1419const char kOopRasterizationDescription[] =
1420 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1421 "Must also enable GPU rasterization";
1422
Brett Wilsonecb80982017-07-12 20:34:511423const char kOriginTrialsName[] = "Origin Trials";
1424const char kOriginTrialsDescription[] =
1425 "Enables origin trials for controlling access to feature/API experiments.";
1426
Becca Hughes930d8cd2017-10-02 11:09:121427const char kOverflowIconsForMediaControlsName[] =
1428 "Icons on Media Controls Overflow Menu";
1429const char kOverflowIconsForMediaControlsDescription[] =
1430 "Displays icons on the overflow menu of the native media controls";
1431
Brett Wilsonecb80982017-07-12 20:34:511432const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1433const char kOverlayScrollbarsDescription[] =
1434 "Enable the experimental overlay scrollbars implementation. You must also "
1435 "enable threaded compositing to have the scrollbars animate.";
1436
chaopenge8aa016b2017-08-24 15:20:191437const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1438 "Flash Overlay Scrollbars After Any Scroll Update";
1439const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1440 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1441 " must also enable Overlay Scrollbars.";
1442
chaopeng343678022017-08-24 18:45:001443const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1444 "Flash Overlay Scrollbars When Mouse Enter";
1445const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1446 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1447 " enable Overlay Scrollbars.";
1448
Daniele Castagna74ddb9c2018-06-21 22:59:021449const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1450const char kOverlayStrategiesDescription[] =
1451 "Select strategies used to promote quads to HW overlays.";
1452const char kOverlayStrategiesDefault[] = "Default";
1453const char kOverlayStrategiesNone[] = "None";
1454const char kOverlayStrategiesUnoccludedFullscreen[] =
1455 "Unoccluded fullscreen buffers (single-fullscreen)";
1456const char kOverlayStrategiesUnoccluded[] =
1457 "Unoccluded buffers (single-fullscreen,single-on-top)";
1458const char kOverlayStrategiesOccludedAndUnoccluded[] =
1459 "Occluded and unoccluded buffers "
1460 "(single-fullscreen,single-on-top,underlay)";
1461
Claudio Magni81326f92017-09-01 05:21:181462const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1463const char kUseNewAcceptLanguageHeaderDescription[] =
1464 "Adds the base language code after other corresponding language+region "
1465 "codes. This ensures that users receive content in their preferred "
1466 "language.";
1467
Brett Wilsonecb80982017-07-12 20:34:511468const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1469const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481470 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511471
1472const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1473const char kOverscrollStartThresholdDescription[] =
1474 "Changes overscroll start threshold relative to the default value.";
1475const char kOverscrollStartThreshold133Percent[] = "133%";
1476const char kOverscrollStartThreshold166Percent[] = "166%";
1477const char kOverscrollStartThreshold200Percent[] = "200%";
1478
chaopenge2b6e5f2018-05-08 16:40:451479const char kTouchpadOverscrollHistoryNavigationName[] =
1480 "Overscroll history navigation on Touchpad";
1481const char kTouchpadOverscrollHistoryNavigationDescription[] =
1482 "Allows swipe left/right from touchpad change browser navigation.";
1483
Xing Liu5400a002017-09-15 21:48:291484const char kParallelDownloadingName[] = "Parallel downloading";
1485const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061486 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291487
Brett Wilsonecb80982017-07-12 20:34:511488const char kPassiveEventListenerDefaultName[] =
1489 "Passive Event Listener Override";
1490const char kPassiveEventListenerDefaultDescription[] =
1491 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1492 "haven't requested otherwise) to be treated as passive. This will break "
1493 "touch/wheel behavior on some websites but is useful for demonstrating the "
1494 "potential performance benefits of adopting passive event listeners.";
1495const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1496const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1497
1498const char kPassiveEventListenersDueToFlingName[] =
1499 "Touch Event Listeners Passive Default During Fling";
1500const char kPassiveEventListenersDueToFlingDescription[] =
1501 "Forces touchstart, and first touchmove per scroll event listeners during "
1502 "fling to be treated as passive.";
1503
1504const char kPassiveDocumentEventListenersName[] =
1505 "Document Level Event Listeners Passive Default";
1506const char kPassiveDocumentEventListenersDescription[] =
1507 "Forces touchstart, and touchmove event listeners on document level "
1508 "targets (which haven't requested otherwise) to be treated as passive.";
1509
Sahel Sharify7400e882018-08-13 17:13:211510const char kPassiveDocumentWheelEventListenersName[] =
1511 "Document Level Wheel Event Listeners Passive Default";
1512const char kPassiveDocumentWheelEventListenersDescription[] =
1513 "Forces wheel, and mousewheel event listeners on document level targets "
1514 "(which haven't requested otherwise) to be treated as passive.";
1515
Vaclav Brozekd8a3f542017-11-16 14:21:131516const char kPasswordImportName[] = "Password import";
1517const char kPasswordImportDescription[] =
1518 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511519
Friedrich Horschige6c27742018-04-23 17:13:411520const char kPasswordsKeyboardAccessoryName[] =
1521 "Add password-related functions to keyboard accessory";
1522const char kPasswordsKeyboardAccessoryDescription[] =
1523 "Adds password generation button and toggle for the passwords bottom sheet "
1524 "to the keyboard accessory. Replaces password generation popups.";
1525
Christos Froussios6e060c42018-07-31 16:17:191526const char kPasswordsMigrateLinuxToLoginDBName[] =
1527 "Migrate passwords to \"Login Data\"";
1528const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591529 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191530 "gnome-keyring or kwallet into the profile directory.";
1531
Rouslan Solomakhinded840112018-11-02 13:27:101532const char kPerMethodCanMakePaymentQuotaName[] =
1533 "Per-method canMakePayment() quota.";
1534const char kPerMethodCanMakePaymentQuotaDescription[] =
1535 "Allow calling canMakePayment() for different payment methods, as long as "
1536 "method-specific parameters remain unchanged.";
1537
Brett Wilsonecb80982017-07-12 20:34:511538const char kPinchScaleName[] = "Pinch scale";
1539const char kPinchScaleDescription[] =
1540 "Enables experimental support for scale using pinch.";
1541
Doug Arnett620ff542018-02-06 17:54:221542const char kPreviewsAllowedName[] = "Previews Allowed";
1543const char kPreviewsAllowedDescription[] =
1544 "Allows previews to be shown subject to specific preview types being "
1545 "enabled and the client experiencing specific triggering conditions. "
1546 "May be used as a kill-switch to turn off all potential preview types.";
1547
Brett Wilsonecb80982017-07-12 20:34:511548const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1549const char kPrintPdfAsImageDescription[] =
1550 "If enabled, an option to print PDF files as images will be available in "
1551 "print preview.";
1552
1553const char kPrintPreviewRegisterPromosName[] =
1554 "Print Preview Registration Promos";
1555const char kPrintPreviewRegisterPromosDescription[] =
1556 "Enable registering unregistered cloud printers from print preview.";
1557
1558const char kProtectSyncCredentialName[] = "Autofill sync credential";
1559const char kProtectSyncCredentialDescription[] =
1560 "How the password manager handles autofill for the sync credential.";
1561
1562const char kProtectSyncCredentialOnReauthName[] =
1563 "Autofill sync credential only for transactional reauth pages";
1564const char kProtectSyncCredentialOnReauthDescription[] =
1565 "How the password manager handles autofill for the sync credential only "
1566 "for transactional reauth pages.";
1567
Mohsen Izadi93faac12017-07-29 04:45:151568const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1569const char kPullToRefreshDescription[] =
1570 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011571const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151572
Troy Hildebrandt7228ad12018-02-23 21:18:241573const char kQueryInOmniboxName[] = "Query in Omnibox";
1574const char kQueryInOmniboxDescription[] =
1575 "Only display query terms in the omnibox when viewing a search results "
1576 "page.";
1577
Brett Wilsonecb80982017-07-12 20:34:511578const char kQuicName[] = "Experimental QUIC protocol";
1579const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1580
Emily Starke8878d52018-05-11 21:27:261581const char kRecurrentInterstitialName[] =
1582 "Show a message when the same SSL error recurs";
1583const char kRecurrentInterstitialDescription[] =
1584 "Enable a special message on the SSL certificate error page when the same "
1585 "SSL error occurs repeatedly.";
1586
Brett Wilsonecb80982017-07-12 20:34:511587const char kReducedReferrerGranularityName[] =
1588 "Reduce default 'referer' header granularity.";
1589const char kReducedReferrerGranularityDescription[] =
1590 "If a page hasn't set an explicit referrer policy, setting this flag will "
1591 "reduce the amount of information in the 'referer' header for cross-origin "
1592 "requests.";
1593
Lei Zhang0ca70ea2018-09-07 17:51:011594const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581595 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011596const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581597 "This flag allows regional locales to be selected as display UI by the "
1598 "user in Language Settings. The actual locale of the system is derived "
1599 "from the user selection based on some simple fallback logic.";
1600
Christian Dullweber3cc579a22018-09-11 10:54:441601const char kRewriteLevelDBOnDeletionName[] =
1602 "Rewrite LevelDB instances after full deletions";
1603const char kRewriteLevelDBOnDeletionDescription[] =
1604 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1605
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351606const char kRendererSideResourceSchedulerName[] =
1607 "Renderer side ResourceScheduler";
1608const char kRendererSideResourceSchedulerDescription[] =
1609 "Migrate some ResourceScheduler functionalities to renderer";
1610
Brett Wilsonecb80982017-07-12 20:34:511611const char kRequestTabletSiteName[] =
1612 "Request tablet site option in the settings menu";
1613const char kRequestTabletSiteDescription[] =
1614 "Allows the user to request tablet site. Web content is often optimized "
1615 "for tablet devices. When this option is selected the user agent string is "
1616 "changed to indicate a tablet device. Web content optimized for tablets is "
1617 "received there after for the current tab.";
1618
1619const char kResetAppListInstallStateName[] =
1620 "Reset the App Launcher install state on every restart.";
1621const char kResetAppListInstallStateDescription[] =
1622 "Reset the App Launcher install state on every restart. While this flag is "
1623 "set, Chrome will forget the launcher has been installed each time it "
1624 "starts. This is used for testing the App Launcher install flow.";
1625
Kinuko Yasuda33955082018-06-19 10:14:591626const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511627const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591628 "Uses the resource load scheduler in blink to throttle resource load "
1629 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511630
Daniel Rubery91874e32019-01-10 22:12:341631const char kSafeBrowsingUseAPDownloadVerdictsName[] =
1632 "Request Advanced Protection verdicts when inspecting downloads";
1633const char kSafeBrowsingUseAPDownloadVerdictsDescription[] =
1634 "If enabled, download protection will request Advanced Protection "
1635 "verdicts from Safe Browsing. These will provide stronger protections "
1636 "from files Safe Browsing is unsure about.";
1637
Brett Wilsonecb80982017-07-12 20:34:511638const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1639const char kSafeSearchUrlReportingDescription[] =
1640 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1641
Alexei Filippov98772752018-01-27 08:26:521642const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1643const char kSamplingHeapProfilerDescription[] =
1644 "Enables native memory sampling profiler with specified rate in KiB. "
1645 "If sampling rate is not provided the default value of 128 KiB is used.";
1646
Brett Wilsonecb80982017-07-12 20:34:511647const char kSaveasMenuLabelExperimentName[] =
1648 "Switch 'Save as' menu labels to 'Download'";
1649const char kSaveasMenuLabelExperimentDescription[] =
1650 "Enables an experiment to switch menu labels that use 'Save as...' to "
1651 "'Download'.";
1652
1653const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1654const char kSavePageAsMhtmlDescription[] =
1655 "Enables saving pages as MHTML: a single text file containing HTML and all "
1656 "sub-resources.";
1657
Jeffrey Cohene49cc59c2018-10-23 16:27:281658const char kSendTabToSelfName[] = "Send tab to self";
1659const char kSendTabToSelfDescription[] =
1660 "Allows users to push tabs from Android devices to other synced "
1661 "devices, in order to easily transition those tabs to the new device ";
1662
gogeraldd5061b592017-09-06 23:39:551663const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1664const char kServiceWorkerPaymentAppsDescription[] =
1665 "Enable Service Worker applications to integrate as payment apps";
1666
momohattfc352292018-08-29 05:12:361667const char kServiceWorkerImportedScriptUpdateCheckName[] =
1668 "Enable update check for service worker importScripts() resources";
1669const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1670 "Extend byte-for-byte update check for scripts that are imported by the "
1671 "service worker script via importScripts().";
1672
Lei Zhang0ca70ea2018-09-07 17:51:011673const char kServiceWorkerServicificationName[] = "Servicified service workers";
1674const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441675 "Enable the servicified service workers. A servicified service worker can "
1676 "have direct connection from its clients, so that fetch events can be "
1677 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171678
Azeem Arshad3b1ef73122018-08-30 02:04:151679const char kServiceWorkerLongRunningMessageName[] =
1680 "Service worker long running message dispatch.";
1681const char kServiceWorkerLongRunningMessageDescription[] =
1682 "Enables long running message dispatch method for service workers. "
1683 "Messages sent with this method do not timeout, allowing the service "
1684 "worker to run indefinitely.";
1685
Brett Wilsonecb80982017-07-12 20:34:511686const char kSettingsWindowName[] = "Show settings in a window";
1687const char kSettingsWindowDescription[] =
1688 "Settings will be shown in a dedicated window instead of as a browser tab.";
1689
Manu Cornetd7ef7c52018-05-01 22:08:231690const char kShelfHoverPreviewsName[] =
1691 "Show previews of running apps when hovering over the shelf.";
1692const char kShelfHoverPreviewsDescription[] =
1693 "Shows previews of the open windows for a given running app when hovering "
1694 "over the shelf.";
1695
Naoki Fukino008a0022018-05-23 18:33:001696const char kShowAndroidFilesInFilesAppName[] =
1697 "Show Android files in Files app";
1698const char kShowAndroidFilesInFilesAppDescription[] =
1699 "Show Android files in Files app if Android is enabled on the device.";
1700
Brett Wilsonecb80982017-07-12 20:34:511701const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1702const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381703 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1704 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511705
1706const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1707const char kShowAutofillTypePredictionsDescription[] =
1708 "Annotates web forms with Autofill field type predictions as placeholder "
1709 "text.";
1710
1711const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1712const char kShowOverdrawFeedbackDescription[] =
1713 "Visualize overdraw by color-coding elements based on if they have other "
1714 "elements drawn underneath.";
1715
Shivani Sharma2d5b4b6b2019-01-08 16:07:161716const char kHistoryManipulationIntervention[] =
1717 "History Manipulation Intervention";
1718const char kHistoryManipulationInterventionDescription[] =
1719 "If a page does a client side redirect or adds to the history without a "
1720 "user gesture, then skip it on back/forward UI.";
1721
Carlos IL89128732018-04-03 17:00:251722const char kSupervisedUserCommittedInterstitialsName[] =
1723 "Enable Supervised User Committed Interstitials";
1724const char kSupervisedUserCommittedInterstitialsDescription[] =
1725 "Use committed error pages instead of transient navigation entries for "
1726 "supervised user interstitials";
1727
Brett Wilsonecb80982017-07-12 20:34:511728const char kShowSavedCopyName[] = "Show Saved Copy Button";
1729const char kShowSavedCopyDescription[] =
1730 "When a page fails to load, if a stale copy of the page exists in the "
1731 "browser cache, a button will be presented to allow the user to load that "
1732 "stale copy. The primary enabling choice puts the button in the most "
1733 "salient position on the error page; the secondary enabling choice puts it "
1734 "secondary to the reload button.";
1735const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1736const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1737const char kDisableShowSavedCopy[] = "Disable";
1738
Brett Wilsonecb80982017-07-12 20:34:511739const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1740const char kSilentDebuggerExtensionApiDescription[] =
1741 "Do not show the infobar when an extension attaches to a page via "
1742 "chrome.debugger API. This is required to debug extension background "
1743 "pages.";
1744
Tsuyoshi Horo53895ba92018-03-14 04:06:481745const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1746const char kSignedHTTPExchangeDescription[] =
1747 "Enables Origin-Signed HTTP Exchanges support which is still in "
1748 "development. Warning: Enabling this may pose a security risk.";
1749
Christopher Thompson75ff845d2018-02-01 20:12:461750const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1751const char kSimplifyHttpsIndicatorDescription[] =
1752 "Change the UI treatment for HTTPS pages.";
1753
Bret Sepulveda4f891da2018-07-16 19:10:301754const char kSingleTabMode[] = "Single-tab mode";
1755const char kSingleTabModeDescription[] =
1756 "Windows with a single tab receive a special, minimal visual treatment.";
1757
Lukasz Anforowicz738a88d2018-11-05 19:19:341758const char kSiteIsolationOptOutName[] = "Disable site isolation";
1759const char kSiteIsolationOptOutDescription[] =
1760 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571761 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1762 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221763 "isolation is force-enabled using a command line switch or using an "
1764 "enterprise policy. "
1765 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571766 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341767const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1768const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511769
Pattideade7972018-04-27 02:59:401770const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511771const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401772 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511773
Brett Wilsonecb80982017-07-12 20:34:511774const char kSmoothScrollingName[] = "Smooth Scrolling";
1775const char kSmoothScrollingDescription[] =
1776 "Animate smoothly when scrolling page content.";
1777
1778const char kSoftwareRasterizerName[] = "3D software rasterizer";
1779const char kSoftwareRasterizerDescription[] =
1780 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1781
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201782const char kSoleIntegrationName[] = "Sole integration";
1783const char kSoleIntegrationDescription[] =
1784 "Enable Sole integration for browser customization. You must restart "
1785 "the browser twice for changes to take effect.";
1786
Tommy Steimel77704be2017-08-28 22:14:401787const char kSoundContentSettingName[] = "Sound content setting";
1788const char kSoundContentSettingDescription[] =
1789 "Enable site-wide muting in content settings and tab strip context menu.";
1790
Justin Donnelly4e448cb2017-07-07 21:32:131791const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1792 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131793const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1794 "If enabled, when the user enters text in the omnibox that looks like a "
1795 "a query, any service worker associated with the search engine the query "
1796 "will be sent to is started early.";
1797
Brett Wilsonecb80982017-07-12 20:34:511798const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1799const char kSpellingFeedbackFieldTrialDescription[] =
1800 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401801
Carlos ILe5fa0a12018-08-03 16:08:321802const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1803const char kSSLCommittedInterstitialsDescription[] =
1804 "Use committed error pages instead of transient navigation entries "
1805 "for SSL interstitial error pages (i.e. certificate errors).";
1806
Shubhie Panickerfaf082ed2018-01-03 04:49:151807const char kStopInBackgroundName[] = "Stop in background";
1808const char kStopInBackgroundDescription[] =
1809 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281810 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151811
Shubhie Panicker56c99a22018-03-21 00:22:281812const char kStopNonTimersInBackgroundName[] =
1813 "Stop non-timer task queues background";
1814const char kStopNonTimersInBackgroundDescription[] =
1815 "Stop non-timer task queues, in the background, "
1816 "after a grace period.";
1817
Brett Wilsonecb80982017-07-12 20:34:511818const char kSuggestionsWithSubStringMatchName[] =
1819 "Substring matching for Autofill suggestions";
1820const char kSuggestionsWithSubStringMatchDescription[] =
1821 "Match Autofill suggestions based on substrings (token prefixes) rather "
1822 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341823
Marc Treibf65fb002018-08-03 11:17:161824const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1825const char kSyncStandaloneTransportDescription[] =
1826 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1827 "this mode, the Sync machinery can start without user opt-in, but only a "
1828 "subset of data types are supported.";
1829
Marc Treib4bd95e72018-08-30 06:30:581830const char kSyncSupportSecondaryAccountName[] =
1831 "Support secondary accounts for Sync standalone transport";
1832const char kSyncSupportSecondaryAccountDescription[] =
1833 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1834 "a signed-in account that has not been chosen as Chrome's primary account. "
1835 "This only has an effect if sync-standalone-transport is also enabled.";
1836
Jan Krcal2ff23f7c2018-09-04 16:16:131837const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1838const char kSyncUSSAutofillProfileDescription[] =
1839 "Enables the new implementation of autofill profile sync";
1840
Jan Krcale3641b92018-08-10 17:53:311841const char kSyncUSSAutofillWalletDataName[] =
1842 "Enable USS for autofill wallet data";
1843const char kSyncUSSAutofillWalletDataDescription[] =
1844 "Enables the new implementation of autofill walet data sync";
1845
Brett Wilsonecb80982017-07-12 20:34:511846const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1847const char kSyncSandboxDescription[] =
1848 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341849
Joe Downing8cbbc192018-05-14 17:37:071850const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1851const char kSystemKeyboardLockDescription[] =
1852 "Enables websites to use the keyboard.lock() API to intercept system "
1853 "keyboard shortcuts and have the events routed directly to the website "
1854 "when in fullscreen mode.";
1855
Taylor Bergquistbcc15462018-12-05 00:36:561856const char kTabGroupsName[] = "Tab Groups";
1857const char kTabGroupsDescription[] =
1858 "Allows users to organize tabs into visually distinct groups, e.g. to "
1859 "separate tabs associated with different tasks.";
1860
Caroline Risinge121c2b2018-12-03 20:19:291861const char kTabHoverCardsName[] = "Tab Hover Cards";
1862const char kTabHoverCardsDescription[] =
1863 "Enables a popup containing tab information to be visible when hovering "
1864 "over a tab. This will replace tooltips for tabs.";
1865
Christian Dullweberd0d96f02017-09-13 09:22:511866const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1867const char kTabsInCbdDescription[] =
1868 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1869
Daniele Castagna0fead93e2018-01-10 20:40:291870const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1871const char kTintGlCompositedContentDescription[] =
1872 "Tint contents composited using GL with a shade of red to help debug and "
1873 "study overlay support.";
1874
Peter Kastingd77428352018-10-26 15:20:251875const char kTopChromeTouchUiName[] = "Touch UI Layout";
1876const char kTopChromeTouchUiDescription[] =
1877 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341878
Brett Wilsonecb80982017-07-12 20:34:511879const char kThreadedScrollingName[] = "Threaded scrolling";
1880const char kThreadedScrollingDescription[] =
1881 "Threaded handling of scroll-related input events. Disabling this will "
1882 "force all such scroll events to be handled on the main thread. Note that "
1883 "this can dramatically hurt scrolling performance of most websites and is "
1884 "intended for testing purposes only.";
1885
Dominick Ng8896b1cd2017-10-17 23:24:361886const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1887const char kTopSitesFromSiteEngagementDescription[] =
1888 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1889 "engagement.";
1890
Brett Wilsonecb80982017-07-12 20:34:511891const char kTouchAdjustmentName[] = "Touch adjustment";
1892const char kTouchAdjustmentDescription[] =
1893 "Refine the position of a touch gesture in order to compensate for touches "
1894 "having poor resolution compared to a mouse.";
1895
1896const char kTouchDragDropName[] = "Touch initiated drag and drop";
1897const char kTouchDragDropDescription[] =
1898 "Touch drag and drop can be initiated through long press on a draggable "
1899 "element.";
1900
1901const char kTouchEventsName[] = "Touch Events API";
1902const char kTouchEventsDescription[] =
1903 "Force Touch Events API feature detection to always be enabled or "
1904 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291905 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511906
1907const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1908const char kTouchSelectionStrategyDescription[] =
1909 "Controls how text selection granularity changes when touch text selection "
1910 "handles are dragged. Non-default behavior is experimental.";
1911const char kTouchSelectionStrategyCharacter[] = "Character";
1912const char kTouchSelectionStrategyDirection[] = "Direction";
1913
1914const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1915const char kTraceUploadUrlDescription[] =
1916 "This is to be used in conjunction with the enable-navigation-tracing "
1917 "flag. Please select the label that best describes the recorded traces. "
1918 "This will choose the destination the traces are uploaded to. If you are "
1919 "not sure, select other. If left empty, no traces will be uploaded.";
1920const char kTraceUploadUrlChoiceOther[] = "Other";
1921const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1922const char kTraceUploadUrlChoiceQa[] = "QA";
1923const char kTraceUploadUrlChoiceTesting[] = "Testing";
1924
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561925const char kTranslateExplicitLanguageAskName[] =
1926 "Explicitly ask for language preferences";
1927const char kTranslateExplicitLanguageAskDescription[] =
1928 "Explicitly ask the user which languages they can read on Chrome startup, "
1929 "on the first run that doesn't already have a promo.";
1930
Anthony Vallee-Dubois265c5692018-06-01 15:57:141931const char kTranslateForceTriggerOnEnglishName[] =
1932 "Select which language model to use to trigger translate on English "
1933 "content";
1934const char kTranslateForceTriggerOnEnglishDescription[] =
1935 "Force the Translate Triggering on English pages experiment to be enabled "
1936 "with the selected language model active.";
1937
Philippe Hamel7fdaa452017-09-29 17:22:491938const char kTranslateRankerEnforcementName[] =
1939 "Enforce TranslateRanker decisions";
1940const char kTranslateRankerEnforcementDescription[] =
1941 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1942 "or not Translate UI should be triggered in a given context.";
1943
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161944const char kTranslateUIName[] = "Enable Translate";
1945const char kTranslateUIDescription[] =
1946 "Enable the Translate popup when visiting webpages in other languages.";
1947
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051948const char kTreatInsecureOriginAsSecureName[] =
1949 "Insecure origins treated as secure";
1950const char kTreatInsecureOriginAsSecureDescription[] =
1951 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1952 "supplied as a comma-separated list. For the definition of secure "
1953 "contexts, "
1954 "see https://w3c.github.io/webappsec-secure-contexts/";
1955
Brett Wilsonecb80982017-07-12 20:34:511956const char kTrySupportedChannelLayoutsName[] =
1957 "Causes audio output streams to check if channel layouts other than the "
1958 "default hardware layout are available.";
1959const char kTrySupportedChannelLayoutsDescription[] =
1960 "Causes audio output streams to check if channel layouts other than the "
1961 "default hardware layout are available. Turning this on will allow the OS "
1962 "to do stereo to surround expansion if supported. May expose third party "
1963 "driver bugs, use with caution.";
1964
David Roger6762a092018-01-31 15:55:071965const char kUnifiedConsentName[] = "Unified Consent";
1966const char kUnifiedConsentDescription[] =
1967 "Enables a unified management of user consent for privacy-related "
1968 "features. This includes new confirmation screens and improved settings "
1969 "pages.";
1970
Brett Wilsonecb80982017-07-12 20:34:511971const char kUiPartialSwapName[] = "Partial swap";
1972const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1973
Chris Pickel3a227ae62017-08-24 10:47:261974const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1975const char kUseDdljsonApiDescription[] =
1976 "Enables the new ddljson API to fetch Doodles for the NTP.";
1977
Becca Hughes59c05b42017-11-03 13:11:581978const char kUseModernMediaControlsName[] = "New Media Controls";
1979const char kUseModernMediaControlsDescription[] =
1980 "Enables the new style native media controls.";
1981
Wei Li790e7a8572018-03-23 01:31:551982const char kUsePdfCompositorServiceName[] =
1983 "Use PDF compositor service for printing";
1984const char kUsePdfCompositorServiceDescription[] =
1985 "When enabled, use PDF compositor service to composite and generate PDF "
1986 "files for printing. When site isolation is enabled, disabling this will "
1987 "not stop using PDF compositor service since the service is required for "
1988 "printing out-of-process iframes correctly.";
1989
Mustaq Ahmedc646c0a2017-10-20 20:08:301990const char kUserActivationV2Name[] = "User Activation v2";
1991const char kUserActivationV2Description[] =
1992 "Enable simple user activation for APIs that are otherwise controlled by "
1993 "user gesture tokens.";
1994
Brett Wilsonecb80982017-07-12 20:34:511995const char kUserConsentForExtensionScriptsName[] =
1996 "User consent for extension scripts";
1997const char kUserConsentForExtensionScriptsDescription[] =
1998 "Require user consent for an extension running a script on the page, if "
1999 "the extension requested permission to run on all urls.";
2000
2001const char kUseSuggestionsEvenIfFewFeatureName[] =
2002 "Disable minimum for server-side tile suggestions on NTP.";
2003const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2004 "Request server-side suggestions even if there are only very few of them "
2005 "and use them for tiles on the New Tab Page.";
2006
2007const char kV8CacheOptionsName[] = "V8 caching mode.";
2008const char kV8CacheOptionsDescription[] =
2009 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512010const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2011
Michael Hablich896d52662017-10-23 15:59:572012const char kV8VmFutureName[] = "Future V8 VM features";
2013const char kV8VmFutureDescription[] =
2014 "This enables upcoming and experimental V8 VM features. "
2015 "This flag does not enable experimental JavaScript features.";
2016
Hannes Payer1130d5672018-06-05 07:37:312017const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2018const char kV8OrinocoDescription[] =
2019 "This enables the V8 Orinoco garbage collection features.";
2020
Brett Wilsonecb80982017-07-12 20:34:512021const char kVideoFullscreenOrientationLockName[] =
2022 "Lock screen orientation when playing a video fullscreen.";
2023const char kVideoFullscreenOrientationLockDescription[] =
2024 "Lock the screen orientation of the device to match video orientation when "
2025 "a video goes fullscreen. Only on phones.";
2026
2027const char kVideoRotateToFullscreenName[] =
2028 "Rotate-to-fullscreen gesture for videos.";
2029const char kVideoRotateToFullscreenDescription[] =
2030 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2031 "the video. Only on phones.";
2032
2033const char kWalletServiceUseSandboxName[] =
2034 "Use Google Payments sandbox servers";
2035const char kWalletServiceUseSandboxDescription[] =
2036 "For developers: use the sandbox service for Google Payments API calls.";
2037
Brett Wilsonecb80982017-07-12 20:34:512038const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2039const char kWebglDraftExtensionsDescription[] =
2040 "Enabling this option allows web applications to access the WebGL "
2041 "Extensions that are still in draft status.";
2042
2043const char kWebMidiName[] = "Web MIDI API";
2044const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2045
2046const char kWebPaymentsName[] = "Web Payments";
2047const char kWebPaymentsDescription[] =
2048 "Enable Web Payments API integration, a JavaScript API for merchants.";
2049
Mathieu Perreault51339b82017-07-20 17:06:052050const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2051const char kWebPaymentsModifiersDescription[] =
2052 "If the website provides modifiers in the payment request, show the custom "
2053 "total for each payment instrument, update the shopping cart when "
2054 "instruments are switched, and send modified payment method specific data "
2055 "to the payment app.";
2056
Brett Wilsonecb80982017-07-12 20:34:512057const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2058const char kWebrtcEchoCanceller3Description[] =
2059 "Experimental WebRTC echo canceller (AEC3).";
2060
Lei Zhang0a318af2018-11-14 02:19:462061const char kWebrtcH264WithOpenh264FfmpegName[] =
2062 "WebRTC H.264 software video encoder/decoder";
2063const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2064 "When enabled, an H.264 software video encoder/decoder pair is included. "
2065 "If a hardware encoder/decoder is also available it may be used instead of "
2066 "this encoder/decoder.";
2067
Qingsi Wangec2dbf942018-11-03 05:33:042068const char kWebrtcHideLocalIpsWithMdnsName[] =
2069 "Anonymize local IPs exposed by WebRTC.";
2070const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2071 "Conceal local IP addresses with mDNS hostnames.";
2072
Alex Loikob5fb1282018-08-14 10:04:402073const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2074const char kWebrtcHybridAgcDescription[] =
2075 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2076
Brett Wilsonecb80982017-07-12 20:34:512077const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2078const char kWebrtcHwDecodingDescription[] =
2079 "Support in WebRTC for decoding video streams using platform hardware.";
2080
2081const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2082const char kWebrtcHwEncodingDescription[] =
2083 "Support in WebRTC for encoding video streams using platform hardware.";
2084
2085const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2086const char kWebrtcHwH264EncodingDescription[] =
2087 "Support in WebRTC for encoding h264 video streams using platform "
2088 "hardware.";
2089
2090const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2091const char kWebrtcHwVP8EncodingDescription[] =
2092 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2093
Niels Möller090866a2018-02-13 10:55:032094const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2095 "WebRTC new encode cpu load estimator";
2096const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2097 "Enable new estimator for the encoder cpu load, for evaluation and "
2098 "testing. Intended to improve accuracy when screen casting.";
2099
Elad Alon85e0d0be2018-06-26 10:38:372100const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2101const char kWebRtcRemoteEventLogDescription[] =
2102 "Allow collecting WebRTC event logs and uploading them to Crash. "
2103 "Please note that, even if enabled, this will still require "
2104 "a policy to be set, for it to have an effect.";
2105
Brett Wilsonecb80982017-07-12 20:34:512106const char kWebrtcSrtpAesGcmName[] =
2107 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2108const char kWebrtcSrtpAesGcmDescription[] =
2109 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2110
Joachim Bauch4a41d7512017-08-23 14:24:232111const char kWebrtcSrtpEncryptedHeadersName[] =
2112 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2113const char kWebrtcSrtpEncryptedHeadersDescription[] =
2114 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2115 "for SRTP.";
2116
Brett Wilsonecb80982017-07-12 20:34:512117const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2118const char kWebrtcStunOriginDescription[] =
2119 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2120 "header.";
2121
Lei Zhang0a318af2018-11-14 02:19:462122const char kWebrtcUnifiedPlanByDefaultName[] =
2123 "WebRTC: Use Unified Plan SDP Semantics by default";
2124const char kWebrtcUnifiedPlanByDefaultDescription[] =
2125 "RTCPeerConnections generate and expect the standards compliant SDP format "
2126 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
2127 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
2128 "RTCRtpTransceiver support is also enabled in Unified Plan.";
2129
Brett Wilsonecb80982017-07-12 20:34:512130const char kWebvrName[] = "WebVR";
2131const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012132 "Enables access to experimental Virtual Reality functionality via the "
2133 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2134 "Device API. Warning: Enabling this will also allow WebVR content on "
2135 "insecure origins to access these powerful APIs, and may pose a security "
David Dorwin09448942019-01-11 23:37:302136 "risk. Controllers are exposed as Gamepads, and WebVR-specific attributes "
2137 "are exposed.";
Brett Wilsonecb80982017-07-12 20:34:512138
Brandon Jonese9d9b2b2017-12-11 22:20:112139const char kWebXrName[] = "WebXR Device API";
2140const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012141 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2142 "and Augmented Reality (AR) devices.";
2143
2144const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2145const char kWebXrGamepadSupportDescription[] =
2146 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222147 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2148 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432149
2150const char kWebXrHitTestName[] = "WebXR Hit Test";
2151const char kWebXrHitTestDescription[] =
2152 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112153
Anna Maria57ecf7592018-01-12 03:10:402154const char kWebXrOrientationSensorDeviceName[] =
2155 "WebXR orientation sensor device";
2156const char kWebXrOrientationSensorDeviceDescription[] =
2157 "When no VR platform device is available, expose a non-presenting device "
2158 "based on the device's orientation sensors, if available.";
2159
Brett Wilsonecb80982017-07-12 20:34:512160const char kZeroCopyName[] = "Zero-copy rasterizer";
2161const char kZeroCopyDescription[] =
2162 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342163
Brett Wilsonff596952017-07-14 01:06:552164// Android ---------------------------------------------------------------------
2165
2166#if defined(OS_ANDROID)
2167
2168const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2169const char kAiaFetchingDescription[] =
2170 "Enable intermediate certificate fetching when a server does not provide "
2171 "sufficient certificates to build a chain to a trusted root.";
2172
2173const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2174const char kAccessibilityTabSwitcherDescription[] =
2175 "Enable the accessibility tab switcher for Android.";
2176
Pavel Shmakov798f4742018-11-15 21:27:382177const char kAllowRemoteContextForNotificationsName[] =
2178 "Allow using remote app context for notifications";
2179const char kAllowRemoteContextForNotificationsDescription[] =
2180 "Allow using Context#createPackageContext to work around issues with status"
2181 "bar icons on certain Android M devices.";
2182
Brett Wilsonff596952017-07-14 01:06:552183const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2184const char kAndroidAutofillAccessibilityDescription[] =
2185 "Enable accessibility for autofill popup.";
2186
Khushalbb1963a2018-10-02 21:02:352187const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2188const char kAndroidSurfaceControlDescription[] =
2189 "Use the SurfaceControl API for supporting overlays on Android";
2190
Anita Woodruffbfcd1e52018-07-16 12:00:512191const char kAppNotificationStatusMessagingName[] =
2192 "App notification status messaging";
2193const char kAppNotificationStatusMessagingDescription[] =
2194 "Enables messaging in site permissions UI informing user when "
2195 "notifications are disabled for the entire app.";
2196
Brett Wilsonff596952017-07-14 01:06:552197const char kAndroidPaymentAppsName[] = "Android payment apps";
2198const char kAndroidPaymentAppsDescription[] =
2199 "Enable third party Android apps to integrate as payment apps";
2200
Miriam Gershenson8cf1397222018-01-23 22:48:292201const char kAsyncDnsName[] = "Async DNS resolver";
2202const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2203
Dan Harrington01229f82018-09-12 21:01:212204const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2205const char kAutoFetchOnNetErrorPageDescription[] =
2206 "When enabled, and navigation fails with an offline error, schedule a "
2207 "fetch of the page when online again.";
2208
Brett Wilsonff596952017-07-14 01:06:552209const char kAutofillAccessoryViewName[] =
2210 "Autofill suggestions as keyboard accessory view";
2211const char kAutofillAccessoryViewDescription[] =
2212 "Shows Autofill suggestions on top of the keyboard rather than in a "
2213 "dropdown.";
2214
2215const char kBackgroundLoaderForDownloadsName[] =
2216 "Enables background downloading of pages.";
2217const char kBackgroundLoaderForDownloadsDescription[] =
2218 "Enables downloading pages in the background in case page is not yet "
2219 "loaded in current tab.";
2220
Tibor Goldschwendt11b3cf22018-07-04 15:32:442221const char kBackgroundTaskComponentUpdateName[] =
2222 "Background Task Component Updates";
2223const char kBackgroundTaskComponentUpdateDescription[] =
2224 "Schedule component updates with BackgroundTaskScheduler";
2225
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002226const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2227const char kCCTModuleDescription[] =
2228 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2229
Michael van Ouwerkerk29a7a292018-10-09 09:20:142230const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2231const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402232 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2233 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142234
John Lin170c00b2018-11-21 15:44:252235const char kCCTModuleCustomHeaderName[] =
2236 "Chrome Custom Tabs Module Custom Header";
2237const char kCCTModuleCustomHeaderDescription[] =
2238 "Enables header customization by dynamically loaded modules in "
2239 "Chrome Custom Tabs.";
2240
alihanlivdumlu12ac4772019-01-17 17:37:182241const char kCCTModuleDexLoadingName[] = "Chrome Custom Tabs Module Dex Loading";
2242const char kCCTModuleDexLoadingDescription[] =
2243 "Enables loading Chrome Custom Tabs module code from a dex file "
2244 "provided by the module.";
2245
barkerd84051482018-11-13 14:46:562246const char kCCTModulePostMessageName[] =
2247 "Chrome Custom Tabs Module postMessage API";
2248const char kCCTModulePostMessageDescription[] =
2249 "Enables the postMessage API exposed to dynamically loaded modules in "
2250 "Chrome Custom Tabs.";
2251
Anna Malova9bb4ead2019-01-18 18:01:262252const char kCCTModuleUseIntentExtrasName[] =
2253 "Chrome Custom Tabs Module Intent Extras Usage";
2254const char kCCTModuleUseIntentExtrasDescription[] =
2255 "Enables usage of Intent's extras in Chrome Custom Tabs Module";
2256
Matthew Jones1abcb132018-07-09 17:59:462257const char kChromeDuetName[] = "Chrome Duet";
2258const char kChromeDuetDescription[] =
2259 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052260
Sarath Singapati83aef1c2017-11-16 15:54:522261const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2262const char kClearOldBrowsingDataDescription[] =
2263 "Enables clearing of browsing data which is older than a given time "
2264 "period.";
2265
Brett Wilsonff596952017-07-14 01:06:552266const char kContentSuggestionsCategoryOrderName[] =
2267 "Default content suggestions category order (e.g. on NTP)";
2268const char kContentSuggestionsCategoryOrderDescription[] =
2269 "Set default order of content suggestion categories (e.g. on the NTP).";
2270
2271const char kContentSuggestionsCategoryRankerName[] =
2272 "Content suggestions category ranker (e.g. on NTP)";
2273const char kContentSuggestionsCategoryRankerDescription[] =
2274 "Set category ranker to order categories of content suggestions (e.g. on "
2275 "the NTP).";
2276
Vitalii Iarkof52ff802017-09-14 12:34:242277const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2278const char kContentSuggestionsDebugLogDescription[] =
2279 "Enable content suggestions debug log accessible through "
2280 "snippets-internals.";
2281
Donn Denman8e58ead2017-11-04 01:44:012282const char kContextualSearchMlTapSuppressionName[] =
2283 "Contextual Search ML tap suppression";
2284const char kContextualSearchMlTapSuppressionDescription[] =
2285 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022286 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2287 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552288
2289const char kContextualSearchName[] = "Contextual Search";
2290const char kContextualSearchDescription[] =
2291 "Whether or not Contextual Search is enabled.";
2292
Donn Denman59729812018-01-09 01:27:022293const char kContextualSearchRankerQueryName[] =
2294 "Contextual Search Ranker prediction";
2295const char kContextualSearchRankerQueryDescription[] =
2296 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2297
2298const char kContextualSearchSecondTapName[] =
2299 "Contextual Search second tap triggering";
2300const char kContextualSearchSecondTapDescription[] =
2301 "Enables triggering on a second tap gesture even when Ranker would "
2302 "normally suppress that tap.";
2303
Donn Denmane9b5b7fb2018-07-24 22:19:492304const char kContextualSearchUnityIntegrationName[] =
2305 "Contextual Search integration with Unified Consent";
2306const char kContextualSearchUnityIntegrationDescription[] =
2307 "Enables integration of Tap to Search with Unified Consent.";
2308
Lei Zhang0a318af2018-11-14 02:19:462309const char kDisplayCutoutAPIName[] =
2310 "Enable support for the Display Cutout API";
2311const char kDisplayCutoutAPIDescription[] =
2312 "Enables developers to support devices that have a display cutout.";
Cathy Li2fb32bf82018-06-06 18:55:402313
Dmitry Skiba9c3efa72017-07-20 22:01:142314const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2315const char kDontPrefetchLibrariesDescription[] =
2316 "Don't prefetch libraries after loading.";
2317
Joy Ming189b0cc2017-12-08 19:42:432318const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2319const char kDownloadsLocationChangeDescription[] =
2320 "Enable changing default downloads storage location on Android.";
2321
Shakti Sahu32b2ee102018-05-17 00:04:462322const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2323const char kDownloadProgressInfoBarDescription[] =
2324 "Enables an infobar notifying users about status of current downloads.";
2325
Shakti Sahu9ec8cfd2018-07-17 13:29:292326const char kDownloadHomeV2Name[] = "Enable download home v2";
2327const char kDownloadHomeV2Description[] =
2328 "Enables the new UI for download home";
2329
Brett Wilsonff596952017-07-14 01:06:552330const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2331const char kEnableAndroidPayIntegrationV1Description[] =
2332 "Enable integration with Android Pay using the first version of the API";
2333
2334const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2335const char kEnableAndroidPayIntegrationV2Description[] =
2336 "Enable integration with Android Pay using the second version of the API";
2337
Fabio Tirelo918089a2018-10-22 21:24:082338const char kAutofillManualFallbackAndroidName[] =
2339 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2340const char kAutofillManualFallbackAndroidDescription[] =
2341 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2342 "keyboard accessory.";
2343
Fabio Tirelo315e65922018-09-05 03:35:492344const char kEnableAutofillRefreshStyleName[] =
2345 "Enable Autofill refresh style (Android)";
2346const char kEnableAutofillRefreshStyleDescription[] =
2347 "Enable modernized style for Autofill on Android";
2348
Vitalii Iarkof4ed32d2017-09-26 13:15:532349const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552350const char kEnableAndroidSpellcheckerDescription[] =
2351 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552352
Lei Tianbd5a3bf2018-02-28 19:01:162353const char kEnableCommandLineOnNonRootedName[] =
2354 "Enable command line on non-rooted devices";
2355const char kEnableCommandLineOnNoRootedDescription[] =
2356 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2357
Vitalii Iarkof4ed32d2017-09-26 13:15:532358const char kEnableContentSuggestionsNewFaviconServerName[] =
2359 "Get favicons for content suggestions from a new server.";
2360const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2361 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2362 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552363
Vitalii Iarkof4ed32d2017-09-26 13:15:532364const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2365 "Use content suggestions thumbnail dominant color.";
2366const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2367 "Use content suggestions thumbnail dominant color as a placeholder before "
2368 "the real thumbnail is fetched (requires Chrome Home).";
2369
Brett Wilsonff596952017-07-14 01:06:552370const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2371const char kEnableCustomContextMenuDescription[] =
2372 "Enables a new context menu when a link, image, or video is pressed within "
2373 "Chrome.";
2374
Becca Hughes6d73bac542018-06-18 20:38:502375const char kEnableMediaControlsExpandGestureName[] =
2376 "Enable Media Controls Expand Gesture";
2377const char kEnableMediaControlsExpandGestureDescription[] =
2378 "Enables a gesture to be used on the media controls to extend the video "
2379 "into the Display Cutout area.";
2380
Brett Wilsonff596952017-07-14 01:06:552381const char kEnableOmniboxClipboardProviderName[] =
2382 "Omnibox clipboard URL suggestions";
2383const char kEnableOmniboxClipboardProviderDescription[] =
2384 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2385 "focus in the omnibox.";
2386
Brett Wilsonff596952017-07-14 01:06:552387const char kEnableNtpAssetDownloadSuggestionsName[] =
2388 "Show asset downloads on the New Tab page";
2389const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2390 "If enabled, the list of content suggestions on the New Tab page will "
2391 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2392 "later use.";
2393
2394const char kEnableNtpBookmarkSuggestionsName[] =
2395 "Show recently visited bookmarks on the New Tab page";
2396const char kEnableNtpBookmarkSuggestionsDescription[] =
2397 "If enabled, the list of content suggestions on the New Tab page will "
2398 "contain recently visited bookmarks.";
2399
Brett Wilsonff596952017-07-14 01:06:552400const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2401 "Show offline page downloads on the New Tab page";
2402const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2403 "If enabled, the list of content suggestions on the New Tab page will "
2404 "contain pages that the user downloaded for later use.";
2405
2406const char kEnableNtpRemoteSuggestionsName[] =
2407 "Show server-side suggestions on the New Tab page";
2408const char kEnableNtpRemoteSuggestionsDescription[] =
2409 "If enabled, the list of content suggestions on the New Tab page will "
2410 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2411 "allows to override the source used to retrieve these server-side "
2412 "suggestions.";
2413
2414const char kEnableNtpSnippetsVisibilityName[] =
2415 "Make New Tab Page Snippets more visible.";
2416const char kEnableNtpSnippetsVisibilityDescription[] =
2417 "If enabled, the NTP snippets will become more discoverable with a larger "
2418 "portion of the first card above the fold.";
2419
2420const char kEnableNtpSuggestionsNotificationsName[] =
2421 "Notify about new content suggestions available at the New Tab page";
2422const char kEnableNtpSuggestionsNotificationsDescription[] =
2423 "If enabled, notifications will inform about new content suggestions on "
2424 "the New Tab page.";
2425
Brett Wilsonff596952017-07-14 01:06:552426const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2427const char kEnableOfflinePreviewsDescription[] =
2428 "Enable showing offline page previews on slow networks.";
2429
2430const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2431const char kEnableOskOverscrollDescription[] =
2432 "Enable OSK overscroll support. With this flag on, the OSK will only "
2433 "resize the visual viewport.";
2434
Brett Wilsonff596952017-07-14 01:06:552435const char kEnableWebNfcName[] = "WebNFC";
2436const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2437
gogeraldf3cbb422017-07-26 14:37:122438const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2439 "Enable Web Payments method section order V2.";
2440const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2441 "Enable this option to display payment method section above address "
2442 "section instead of below it.";
2443
Donn Denmanffaeaa32018-10-12 17:37:532444const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2445const char kEphemeralTabDescription[] =
2446 "Enable a 'sneak peek' at a linked page in an overlay.";
2447
Lei Zhang0a318af2018-11-14 02:19:462448const char kExploreSitesName[] = "Explore websites";
2449const char kExploreSitesDescription[] =
2450 "Enables portal from new tab page to explore websites.";
2451
Xing Liu7d57dd32019-01-20 02:34:182452const char kForegroundNotificationManagerName[] =
2453 "Foreground notification manager";
2454const char kForegroundNotificationManagerDescription[] =
2455 "Enable foreground notification manager to handle foreground service and "
2456 "notification.";
2457
Jinsuk Kim459ee142018-11-28 06:27:312458const char kGestureNavigationName[] = "History navigation with gesture";
2459const char kGestureNavigationDescription[] =
2460 "Enable history navigation with horizontal gesture.";
2461
Raymes Khoury582b43132017-12-12 23:54:302462const char kGrantNotificationsToDSEName[] =
2463 "Grant notifications to the Default Search Engine";
2464const char kGrantNotificationsToDSENameDescription[] =
2465 "Automatically grant the notifications permission to the Default Search "
2466 "Engine";
2467
Daniel Parke74fcf862018-03-27 18:05:452468const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512469const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452470
Yafei Duanbb7663f32018-07-17 01:33:152471const char kHomepageTileName[] =
2472 "Enable Homepage tile shown in Suggested Tiles";
2473const char kHomepageTileDescription[] =
2474 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2475 "used for homepage. It will not have an effect when NTPButton is disabled.";
2476
Jian Li4b252642018-07-23 19:49:072477const char kIncognitoStringsName[] = "Alternate incognito strings";
2478const char kIncognitoStringsDescription[] =
2479 "Show alternate incognito strings if enabled.";
2480
Theresa920e0ed2018-03-07 18:12:442481const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152482 "Use the interest feed to render content suggestions. Currently "
2483 "content "
Theresa920e0ed2018-03-07 18:12:442484 "suggestions are shown on the New Tab Page.";
2485const char kInterestFeedContentSuggestionsName[] =
2486 "Interest Feed Content Suggestions";
2487
Brett Wilsonff596952017-07-14 01:06:552488const char kKeepPrefetchedContentSuggestionsName[] =
2489 "Keep prefetched content suggestions";
2490const char kKeepPrefetchedContentSuggestionsDescription[] =
2491 "If enabled, some of prefetched content suggestions are not replaced by "
2492 "the new fetched suggestions.";
2493
Leo Zhang051b75482017-12-20 03:28:302494const char kLanguagesPreferenceName[] = "Language Settings";
2495const char kLanguagesPreferenceDescription[] =
2496 "Enable this option for Language Settings feature on Android.";
2497
Brett Wilsonff596952017-07-14 01:06:552498const char kLsdPermissionPromptName[] =
2499 "Location Settings Dialog Permission Prompt";
2500const char kLsdPermissionPromptDescription[] =
2501 "Whether to use the Google Play Services Location Settings Dialog "
2502 "permission dialog.";
2503
Amirhossein Simjour97b4154f2018-02-20 03:49:592504const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2505const char kModalPermissionDialogViewDescription[] =
2506 "Enable this option to use ModalDialogManager for permission Dialogs.";
2507
Brett Wilsonff596952017-07-14 01:06:552508const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2509const char kMediaScreenCaptureDescription[] =
2510 "Enable this option for experimental ScreenCapture feature on Android.";
2511
2512const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2513const char kModalPermissionPromptsDescription[] =
2514 "Whether to use permission dialogs in place of permission infobars.";
2515
Finnur Thorarinssonc1488fc62018-07-09 19:21:572516const char kNewContactsPickerName[] = "Enable new contacts picker";
2517const char kNewContactsPickerDescription[] =
2518 "Activates the new picker for selecting contacts.";
2519
Dan Harrington541db9e2018-07-30 18:36:302520const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2521const char kNewNetErrorPageUIDescription[] =
2522 "Selects which new UI experience to show on the net-error (Dino) page";
2523
Brett Wilsonff596952017-07-14 01:06:552524const char kNewPhotoPickerName[] = "Enable new Photopicker";
2525const char kNewPhotoPickerDescription[] =
2526 "Activates the new picker for selecting photos.";
2527
2528const char kNoCreditCardAbort[] = "No Credit Card Abort";
2529const char kNoCreditCardAbortDescription[] =
2530 "Whether or not the No Credit Card Abort is enabled.";
2531
Daniel Park990d0992018-05-18 22:12:512532const char kNtpButtonName[] = "Enable NTP Button";
2533const char kNtpButtonDescription[] =
2534 "Displays a New Tab Page button in the toolbar if enabled.";
2535
Brett Wilsonff596952017-07-14 01:06:552536const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2537const char kOfflineBookmarksDescription[] =
2538 "Enable saving bookmarked pages for offline viewing.";
2539
Jian Liade82832018-09-06 22:31:412540const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2541const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2542 "Always do http probe to detect network connectivity for offline indicator "
2543 "as opposed to just taking the connection state from the system."
2544 "Used for testing.";
2545
2546const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2547const char kOfflineIndicatorChoiceDescription[] =
2548 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322549
Brett Wilsonff596952017-07-14 01:06:552550const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2551const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2552
2553const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2554const char kOfflinePagesCtV2Description[] =
2555 "V2 features include attributing pages to the app that initiated the "
2556 "custom tabs, and being able to query for pages by page attribution.";
2557
Cathy Li7311d792018-04-05 00:34:162558const char kOfflinePagesCTSuppressNotificationsName[] =
2559 "Disable download complete notification for whitelisted CCT apps.";
2560const char kOfflinePagesCTSuppressNotificationsDescription[] =
2561 "Disable download complete notification for page downloads originating "
2562 "from a CCT app whitelisted to show their own download complete "
2563 "notification.";
2564
Candice Sy74fa7a352018-03-30 23:46:492565const char kOfflinePagesDescriptiveFailStatusName[] =
2566 "Enables descriptive failed download status text.";
2567const char kOfflinePagesDescriptiveFailStatusDescription[] =
2568 "Enables failed download status text in notifications and Downloads Home "
2569 "to state the reason the request failed if the failure is actionable.";
2570
2571const char kOfflinePagesDescriptivePendingStatusName[] =
2572 "Enables descriptive pending download status text.";
2573const char kOfflinePagesDescriptivePendingStatusDescription[] =
2574 "Enables pending download status text in notifications and Downloads Home "
2575 "to state the reason the request is pending.";
2576
2577const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2578 "Enables offline pages in the downloads home to be opened in CCT.";
2579const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2580 "When enabled offline pages launched from the Downloads Home will be "
2581 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2582
Carlos Knippschild09272ecd2017-12-09 03:29:362583const char kOfflinePagesLimitlessPrefetchingName[] =
2584 "Removes resource usage limits for the prefetching of offline pages.";
2585const char kOfflinePagesLimitlessPrefetchingDescription[] =
2586 "Allows the prefetching of suggested offline pages to ignore resource "
2587 "usage limits. This allows it to completely ignore data usage limitations "
2588 "and allows downloads to happen with any kind of connection.";
2589
Brett Wilsonff596952017-07-14 01:06:552590const char kOfflinePagesLoadSignalCollectingName[] =
2591 "Enables collecting load timing data for offline page snapshots.";
2592const char kOfflinePagesLoadSignalCollectingDescription[] =
2593 "Enables loading completeness data collection while writing an offline "
2594 "page. This data is collected in the snapshotted offline page to allow "
2595 "data analysis to improve deciding when to make the offline snapshot.";
2596
2597const char kOfflinePagesPrefetchingName[] =
2598 "Enables suggested offline pages to be prefetched.";
2599const char kOfflinePagesPrefetchingDescription[] =
2600 "Enables suggested offline pages to be prefetched, so useful content is "
2601 "available while offline.";
2602
Pete Williamson7845dff2017-09-20 11:06:192603const char kOfflinePagesResourceBasedSnapshotName[] =
2604 "Enables offline page snapshots to be based on percentage of page loaded.";
2605const char kOfflinePagesResourceBasedSnapshotDescription[] =
2606 "Enables offline page snapshots to use a resource percentage based "
2607 "approach for determining when the page is loaded as opposed to a time "
2608 "based approach";
2609
Collin Baker17f92a52017-07-19 21:41:252610const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2611const char kOfflinePagesRenovationsDescription[] =
2612 "Enables offline page renovations which correct issues with dynamic "
2613 "content that occur when offlining pages that use JavaScript.";
2614
Brett Wilsonff596952017-07-14 01:06:552615const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2616const char kOfflinePagesSharingDescription[] =
2617 "Enables the saved offline pages to be shared via other applications.";
2618
Yafei Duan36b4b5b2018-08-07 00:40:032619const char kOfflinePagesLivePageSharingName[] =
2620 "Enables live page sharing of offline pages";
2621const char kOfflinePagesLivePageSharingDescription[] =
2622 "Enables to share current loaded page as offline page by saving as MHTML "
2623 "first.";
2624
Cathy Lie0d88762018-04-12 08:03:012625const char kOfflinePagesShowAlternateDinoPageName[] =
2626 "Enable alternate dino page with more user capabilities.";
2627const char kOfflinePagesShowAlternateDinoPageDescription[] =
2628 "Enables the dino page to show more buttons and offer existing offline "
2629 "content.";
2630
Brett Wilsonff596952017-07-14 01:06:552631const char kOfflinePagesSvelteConcurrentLoadingName[] =
2632 "Enables concurrent background loading on svelte.";
2633const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2634 "Enables concurrent background loading (or downloading) of pages on "
2635 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2636 "happen when the svelte device is idle.";
2637
2638const char kOffliningRecentPagesName[] =
2639 "Enable offlining of recently visited pages";
2640const char kOffliningRecentPagesDescription[] =
2641 "Enable storing recently visited pages locally for offline use. Requires "
2642 "Offline Pages to be enabled.";
2643
Lei Zhang2eca9082017-10-17 20:42:502644const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2645const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552646 "Enable Pay with Google integration into Web Payments with API version "
2647 "'1'.";
2648
Matthew Jonesa88b95852017-11-08 23:13:502649const char kProgressBarThrottleName[] = "Android progress update throttling.";
2650const char kProgressBarThrottleDescription[] =
2651 "Limit the maximum progress update to make progress appear smoother.";
2652
Brett Wilsonff596952017-07-14 01:06:552653const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2654const char kPullToRefreshEffectDescription[] =
2655 "Page reloads triggered by vertically overscrolling content.";
2656
Piotr Swigon7c296ef2017-08-29 04:32:002657const char kPwaImprovedSplashScreenName[] =
2658 "Improved Splash Screen for standalone PWAs";
2659const char kPwaImprovedSplashScreenDescription[] =
2660 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2661 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492662const char kPwaPersistentNotificationName[] =
2663 "Persistent notification in standalone PWA";
2664const char kPwaPersistentNotificationDescription[] =
2665 "Enables a persistent Android notification for standalone PWAs";
2666
Brett Wilsonff596952017-07-14 01:06:552667const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2668const char kReaderModeHeuristicsDescription[] =
2669 "Determines what pages the Reader Mode infobar is shown on.";
2670const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2671const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2672const char kReaderModeHeuristicsAllArticles[] = "All articles";
2673const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2674const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2675
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182676const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2677const char kReaderModeInCCTDescription[] =
2678 "Open Reader Mode in Chrome Custom Tabs.";
2679
Varun Khaneja2a8229f2019-01-12 00:57:262680const char kSafeBrowsingTelemetryForApkDownloadsName[] =
2681 "Send some telemetry for APK downloads for extended reporting users";
2682const char kSafeBrowsingTelemetryForApkDownloadsDescription[] =
2683 "If enabled, sends some information about the source and hash of the "
2684 "contents of any APK files downloaded by a user who has opted into Safe "
2685 "Browsing Extended Reporting already.";
2686
Varun Khaneja80712a82018-10-12 23:34:592687const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2688 "Use local Safe Browsing blacklists";
2689const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2690 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2691 "process to check the Safe Browsing reputation of URLs without calling "
2692 "into GmsCore for every URL.";
2693
Matthew Jones53114262018-12-12 16:36:472694const char kSearchReadyOmniboxName[] = "Search Ready Omnibox";
2695const char kSearchReadyOmniboxDescription[] =
2696 "Clears the omnibox and adds a suggestion item to share, copy, or edit the "
2697 "URL.";
2698
Brett Wilsonff596952017-07-14 01:06:552699const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2700const char kSetMarketUrlForTestingDescription[] =
2701 "When enabled, sets the market URL for use in testing the update menu "
2702 "item.";
2703
2704const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2705const char kSpannableInlineAutocompleteDescription[] =
2706 "A new type of inline autocomplete for the omnibox that works with "
2707 "keyboards that compose text.";
2708
Theresaeea05a12018-05-09 21:01:592709const char kSiteExplorationUiName[] = "Site Exploration UI";
2710const char kSiteExplorationUiDescription[] =
2711 "Show site suggestions in the Exploration UI";
2712
Lei Zhang0a318af2018-11-14 02:19:462713const char kStrictSiteIsolationName[] = "Strict site isolation";
2714const char kStrictSiteIsolationDescription[] =
2715 "Security mode that enables site isolation for all sites (SitePerProcess). "
2716 "In this mode, each renderer process will contain pages from at most one "
2717 "site, using out-of-process iframes when needed. "
2718 "Check chrome://process-internals to see the current isolation mode. "
2719 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
2720 "default. Here, 'Disabled' is a legacy value that actually means "
2721 "'Default,' in which case site isolation may be already enabled based on "
2722 "platform, enterprise policy, or field trial. See also "
2723 "#site-isolation-trial-opt-out for how to disable site isolation for "
2724 "testing.";
2725
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182726const char kTranslateAndroidManualTriggerName[] =
2727 "Enable manual translate trigger";
2728const char kTranslateAndroidManualTriggerDescription[] =
2729 "Show a menu item in the main menu that triggers page translation.";
2730
Brett Wilsonff596952017-07-14 01:06:552731const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2732const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442733 "When enabled, a badge will be shown on the app menu button if the update "
2734 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552735
2736const char kUpdateMenuItemCustomSummaryDescription[] =
2737 "When this flag and the force show update menu item flag are enabled, a "
2738 "custom summary string will be displayed below the update menu item.";
2739const char kUpdateMenuItemCustomSummaryName[] =
2740 "Update menu item custom summary";
2741
Tommy Nyquist3c02e592018-10-18 23:36:442742const char kUpdateMenuTypeName[] =
2743 "Forces the update menu type to a specific type";
2744const char kUpdateMenuTypeDescription[] =
2745 "When set, forces the update type to be a specific one, which impacts "
2746 "the app menu badge and menu item for updates.";
2747const char kUpdateMenuTypeNone[] = "None";
2748const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2749const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
David Trainor4d86fd4e2019-01-24 21:40:282750const char kUpdateMenuTypeInlineUpdateAvailable[] = "Inline Update Available";
2751const char kUpdateMenuTypeInlineUpdateDownloading[] =
2752 "Inline Update Downloading";
2753const char kUpdateMenuTypeInlineUpdateReady[] = "Inline Update Ready";
2754const char kUpdateMenuTypeInlineUpdateFailed[] = "Inline Update Failed";
Brett Wilsonff596952017-07-14 01:06:552755
Marc Treib93af46a2017-08-23 13:30:002756const char kThirdPartyDoodlesName[] =
2757 "Enable Doodles for third-party search engines";
2758const char kThirdPartyDoodlesDescription[] =
2759 "Enables fetching and displaying Doodles on the NTP for third-party search "
2760 "engines.";
2761
Klaus Weidneraaf697f2018-01-18 20:07:362762const char kWebXrRenderPathName[] = "WebXR presentation render path";
2763const char kWebXrRenderPathDescription[] =
2764 "Render path to use for WebXR presentation (including WebVR)";
2765const char kWebXrRenderPathChoiceClientWaitDescription[] =
2766 "ClientWait (Baseline)";
2767const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2768 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072769const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2770 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362771
Becky Zhou65584142019-01-10 18:22:292772#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2773
2774const char kAndroidNightModeName[] = "Enable night mode based on user settings";
2775const char kAndroidNightModeDescription[] =
2776 "If enabled, user can enable night mode through settings.";
2777
2778#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2779
Brett Wilson7b44537e2017-08-18 01:38:282780// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552781
Brett Wilson7b44537e2017-08-18 01:38:282782#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482783
Brett Wilson7b44537e2017-08-18 01:38:282784const char kAccountConsistencyName[] =
2785 "Identity consistency between browser and cookie jar";
2786const char kAccountConsistencyDescription[] =
2787 "When enabled, the browser manages signing in and out of Google accounts.";
2788const char kAccountConsistencyChoiceMirror[] = "Mirror";
2789const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342790
Reka Normana11e57fc2019-01-29 21:56:582791const char kAppManagementName[] = "Enable App Management page";
2792const char kAppManagementDescription[] =
2793 "Shows the new app management page at chrome://apps.";
2794
Tommy Martino3fa3df52018-08-20 21:45:442795const char kAutofillDropdownLayoutName[] =
2796 "Autofill Dropdown Layout Experiment";
2797const char kAutofillDropdownLayoutDescription[] =
2798 "Alternate visual designs for the Autofill dropdown.";
2799
Chris Pickel3a227ae62017-08-24 10:47:262800const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2801const char kDoodlesOnLocalNtpDescription[] =
2802 "Show doodles on the local New Tab page if Google is the default search "
2803 "engine.";
2804
Kyle Milkaedb39f52018-11-21 19:53:072805const char kSearchSuggestionsOnLocalNtpName[] =
2806 "Enable search suggestions on the local NTP";
2807const char kSearchSuggestionsOnLocalNtpDescription[] =
2808 "Show search suggestions on the local New Tab page if Google is the "
2809 "default search engine.";
2810
2811const char kPromosOnLocalNtpName[] = "Enable promos on the local NTP";
2812const char kPromosOnLocalNtpDescription[] =
2813 "Show promos on the local New Tab page if Google is the "
2814 "default search engine.";
2815
Lei Zhang0a318af2018-11-14 02:19:462816const char kEnableWebAuthenticationBleSupportName[] =
2817 "Web Authentication API BLE support";
2818const char kEnableWebAuthenticationBleSupportDescription[] =
2819 "Enable support for using Web Authentication API via Bluetooth security "
2820 "keys";
Sebastien Marchandd33f7dc2018-06-22 22:07:062821
Sebastien Marchandd33f7dc2018-06-22 22:07:062822const char kEnableWebAuthenticationTestingAPIName[] =
2823 "Web Authentication Testing API";
2824const char kEnableWebAuthenticationTestingAPIDescription[] =
2825 "Enable Web Authentication Testing API support, which disconnects the API "
2826 "implementation from the real world, and allows configuring virtual "
2827 "authenticator devices for testing";
2828
Jeffrey Cohenf04130a42018-08-29 00:22:272829const char kHappinessTrackingSurveysForDesktopName[] =
2830 "Happiness Tracking Surveys";
2831const char kHappinessTrackingSurveysForDesktopDescription[] =
2832 "Enable showing Happiness Tracking Surveys to users on Desktop";
2833
Lei Zhang0a318af2018-11-14 02:19:462834const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2835const char kInfiniteSessionRestoreDescription[] =
2836 "Reduces the number of tabs being loaded simultaneously during session "
2837 "restore, to improve responsiveness of the foreground tab. This requires "
2838 "#enable-page-almost-idle.";
Dave Schuyler598a4a42018-01-04 02:15:102839
Travis Skarebcdb5ed32018-08-17 01:49:402840const char kOmniboxDriveSuggestionsName[] =
2841 "Omnibox Google Drive Document suggestions";
2842const char kOmniboxDriveSuggestionsDescriptions[] =
2843 "Display suggestions for Google Drive documents in the omnibox when Google "
2844 "is the default search engine.";
2845
Kevin Bailey9ec05532019-01-31 23:01:332846const char kOmniboxExperimentalKeywordModeName[] =
2847 "Omnibox Experimental Keyword Mode";
2848const char kOmniboxExperimentalKeywordModeDescription[] =
2849 "Enables various experimental features related to keyword mode, its "
2850 "suggestions and layout";
2851
Lei Zhang0a318af2018-11-14 02:19:462852const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2853const char kOmniboxPedalSuggestionsDescription[] =
2854 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2855 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2856 "Pedals accelerate actions within Chrome by detecting user intent and "
2857 "offering direct access to the end goal.";
2858
Orin Jaworski04c08b42018-07-11 02:39:562859const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2860const char kOmniboxReverseAnswersDescription[] =
2861 "Display answers with rows reversed (swapped); except definitions. Has no "
2862 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2863 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2864
Lei Zhang0a318af2018-11-14 02:19:462865const char kOmniboxRichEntitySuggestionsName[] =
2866 "Omnibox rich entity suggestions";
2867const char kOmniboxRichEntitySuggestionsDescription[] =
2868 "Display entity suggestions using images and an enhanced layout; showing "
2869 "more context and descriptive text about the entity. Has no effect unless "
2870 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2871 "flag is set to Refresh or Touchable Refresh.";
2872
Kevin Bailey898669972017-11-06 15:34:492873const char kOmniboxTabSwitchSuggestionsName[] =
2874 "Omnibox tab switch suggestions";
2875const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212876 "Enable suggestions for switching to open tabs within the Omnibox. "
2877 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2878 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492879
krbcc621412017-06-01 19:40:282880const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2881const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192882 "Enable receiving tail suggestions, a type of search suggestion based on "
2883 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342884
Sebastien Marchandd33f7dc2018-06-22 22:07:062885const char kPageAlmostIdleName[] = "Page Almost Idle";
2886const char kPageAlmostIdleDescription[] =
2887 "Make session restore use a definition of loading that waits for CPU and "
2888 "network quiescence.";
2889
2890const char kProactiveTabFreezeAndDiscardName[] =
2891 "Proactive Tab Freeze and Discard";
2892const char kProactiveTabFreezeAndDiscardDescription[] =
2893 "Enables proactive tab freezing and discarding. This requires "
2894 "#enable-page-almost-idle.";
2895
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272896const char kShowManagedUiName[] = "Show managed UI for managed users";
2897const char kShowManagedUiDescription[] =
2898 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2899 "message in the app menu and on some chrome:// pages.";
2900
Sebastien Marchandd33f7dc2018-06-22 22:07:062901const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2902const char kSiteCharacteristicsDatabaseDescription[] =
2903 "Records usage of some features in a database while a tab is in background "
2904 "(title/favicon update, audio playback or usage of non-persistent "
2905 "notifications).";
2906
Brett Wilson7b44537e2017-08-18 01:38:282907const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2908const char kUseGoogleLocalNtpDescription[] =
2909 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322910
Brett Wilson7b44537e2017-08-18 01:38:282911#if defined(GOOGLE_CHROME_BUILD)
2912
2913const char kGoogleBrandedContextMenuName[] =
2914 "Google branding in the context menu";
2915const char kGoogleBrandedContextMenuDescription[] =
2916 "Shows a Google icon next to context menu items powered by Google "
2917 "services.";
2918
2919#endif // !defined(GOOGLE_CHROME_BUILD)
2920
2921#endif // !defined(OS_ANDROID)
2922
2923// Windows ---------------------------------------------------------------------
2924
2925#if defined(OS_WIN)
2926
David Bienvenud0ddda32018-11-01 16:59:162927const char kCalculateNativeWinOcclusionName[] =
2928 "Calculate window occlusion on Windows";
2929const char kCalculateNativeWinOcclusionDescription[] =
2930 "Calculate window occlusion on Windows will be used in the future "
2931 "to throttle and potentially unload foreground tabs in occluded windows";
2932
Brett Wilson7b44537e2017-08-18 01:38:282933const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2934const char kCloudPrintXpsDescription[] =
2935 "XPS enables advanced options for classic printers connected to the Cloud "
2936 "Print with Chrome. Printers must be re-connected after changing this "
2937 "flag.";
2938
Frank Liberato754d14f2019-01-30 23:31:172939const char kD3D11VideoDecoderName[] = "D3D11 Video Decoder";
2940const char kD3D11VideoDecoderDescription[] =
2941 "Enables D3D11VideoDecoder for hardware accelerated video decoding.";
2942
Brett Wilson7b44537e2017-08-18 01:38:282943const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2944const char kDisablePostscriptPrintingDescription[] =
2945 "Disables PostScript generation when printing to PostScript capable "
2946 "printers, and uses EMF generation in its place.";
2947
2948const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2949const char kEnableAppcontainerDescription[] =
2950 "Enables the use of an AppContainer on sandboxed processes to improve "
2951 "security.";
2952
James Forshawfd0ce342018-02-14 09:55:392953const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2954const char kEnableGpuAppcontainerDescription[] =
2955 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2956 "improve security.";
2957
Brett Wilson7b44537e2017-08-18 01:38:282958const char kGdiTextPrinting[] = "GDI Text Printing";
2959const char kGdiTextPrintingDescription[] =
2960 "Use GDI to print text as simply text";
2961
Olli Etuaho122321192018-09-07 10:15:292962const char kUseAngleName[] = "Choose ANGLE graphics backend";
2963const char kUseAngleDescription[] =
2964 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2965 "computers by default. Using the OpenGL driver as the graphics backend may "
2966 "result in higher performance in some graphics-heavy applications, "
2967 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2968 "video playback.";
2969
2970const char kUseAngleDefault[] = "Default";
2971const char kUseAngleGL[] = "OpenGL";
2972const char kUseAngleD3D11[] = "D3D11";
2973const char kUseAngleD3D9[] = "D3D9";
2974
Brett Wilson7b44537e2017-08-18 01:38:282975const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2976const char kUseWinrtMidiApiDescription[] =
2977 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2978 "later).";
2979
2980const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2981const char kWindows10CustomTitlebarDescription[] =
2982 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2983 "deferring to Windows.";
2984
2985#endif // defined(OS_WIN)
2986
2987// Mac -------------------------------------------------------------------------
2988
2989#if defined(OS_MACOSX)
2990
Brett Wilson7b44537e2017-08-18 01:38:282991const char kContentFullscreenName[] = "Improved Content Fullscreen";
2992const char kContentFullscreenDescription[] =
2993 "Fullscreen content window detaches from main browser window and goes to "
2994 "a new space without moving or changing the original browser window.";
2995
Brett Wilson7b44537e2017-08-18 01:38:282996const char kHostedAppsInWindowsName[] =
2997 "Allow hosted apps to be opened in windows";
2998const char kHostedAppsInWindowsDescription[] =
2999 "Allows hosted apps to be opened in windows instead of being limited to "
3000 "tabs.";
3001
Christopher Cameron57dee5a42018-09-25 01:20:083002const char kCreateAppWindowsInAppShimProcessName[] =
3003 "Create native windows in the app process";
3004const char kCreateAppWindowsInAppShimProcessDescription[] =
3005 "Create native windows the app shim process, instead of of the browser "
3006 "process.";
3007
Lei Zhange065b572018-12-11 08:00:413008const char kEnableCustomMacPaperSizesName[] = "Enable custom paper sizes";
3009const char kEnableCustomMacPaperSizesDescription[] =
3010 "Allow use of custom paper sizes in Print Preview.";
3011
Lei Zhang2eca9082017-10-17 20:42:503012const char kMacTouchBarName[] = "Hardware Touch Bar";
3013const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283014
Greg Kerr32483d1c2018-12-18 02:29:143015const char kMacV2GPUSandboxName[] = "Mac V2 GPU Sandbox";
3016const char kMacV2GPUSandboxDescription[] =
3017 "Controls whether the GPU process on macOS uses the V1 or V2 sandbox.";
3018
Brett Wilson7b44537e2017-08-18 01:38:283019const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3020const char kMacViewsNativeAppWindowsDescription[] =
3021 "Controls whether to use Toolkit-Views based Chrome App windows.";
3022
3023const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3024const char kMacViewsTaskManagerDescription[] =
3025 "Controls whether to use the Toolkit-Views based Task Manager.";
3026
Brett Wilson7b44537e2017-08-18 01:38:283027#endif
3028
3029// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343030
3031#if defined(OS_CHROMEOS)
3032
Brett Wilson7b44537e2017-08-18 01:38:283033const char kAcceleratedMjpegDecodeName[] =
3034 "Hardware-accelerated mjpeg decode for captured frame";
3035const char kAcceleratedMjpegDecodeDescription[] =
3036 "Enable hardware-accelerated mjpeg decode for captured frame where "
3037 "available.";
vabr0215a8e2017-03-28 12:47:343038
Brett Wilson7b44537e2017-08-18 01:38:283039const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3040const char kAllowTouchpadThreeFingerClickDescription[] =
3041 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343042
Reka Normana11e57fc2019-01-29 21:56:583043const char kAppServiceAshName[] = "App Service Ash";
3044const char kAppServiceAshDescription[] =
3045 "Use the App Service to provide data to the Ash UI, such as the shelf and "
3046 "app list.";
3047
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523048const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3049const char kArcAvailableForChildDescription[] =
3050 "Allow child accounts to start Android apps.";
3051
Brett Wilson7b44537e2017-08-18 01:38:283052const char kArcBootCompleted[] = "Load Android apps automatically";
3053const char kArcBootCompletedDescription[] =
3054 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343055
Luum Habtemariamdaa8fd22018-06-25 22:39:433056const char kArcCupsApiName[] = "ARC CUPS API";
3057const char kArcCupsApiDescription[] =
3058 "Enables support of libcups APIs from ARC";
3059
Naoki Fukino153de8a2019-01-22 08:37:543060const char kArcDocumentsProviderName[] = "ARC DocumentsProvider integration";
3061const char kArcDocumentsProviderDescription[] =
3062 "Enables DocumentsProvider integration in Chrome OS Files app.";
3063
Satoshi Niwa8b1d5282018-10-24 04:53:033064const char kArcFilePickerExperimentName[] =
3065 "Enable file picker experiment for ARC";
3066const char kArcFilePickerExperimentDescription[] =
3067 "Enables using Chrome OS file picker in ARC.";
3068
[email protected]939ceae2019-01-29 17:00:153069const char kArcGraphicBuffersVisualizationToolName[] =
3070 "Enable ARC graphic buffers visualization tool";
3071const char kArcGraphicBuffersVisualizationToolDescription[] =
3072 "Enable ARC graphic buffers visualization tool "
3073 "(chrome://arc-graphics-tracing).";
3074
Lev Rumyantsev7a8544312017-08-18 19:26:513075const char kArcNativeBridgeExperimentName[] =
3076 "Enable native bridge experiment for ARC";
3077const char kArcNativeBridgeExperimentDescription[] =
3078 "Enables experimental native bridge feature.";
3079
lgchengecd1c1a62018-01-09 02:59:463080const char kArcUsbHostName[] = "Enable ARC USB host integration";
3081const char kArcUsbHostDescription[] =
3082 "Allow Android apps to use USB host feature on ChromeOS devices.";
3083
Kevin Cernekeeb7f96a52017-10-25 17:40:183084const char kArcVpnName[] = "Enable ARC VPN integration";
3085const char kArcVpnDescription[] =
3086 "Allow Android VPN clients to tunnel Chrome traffic.";
3087
Qiang Xu045aff222018-05-21 23:21:013088const char kAshEnableDisplayMoveWindowAccelsName[] =
3089 "Enable shortcuts for moving window between displays.";
3090const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3091 "Enable shortcuts for moving window between displays.";
3092
Sammie Quonfe640ca2019-01-30 17:54:183093const char kAshEnableOverviewRoundedCornersName[] =
3094 "Enable rounded corners in overview mode.";
3095const char kAshEnableOverviewRoundedCornersDescription[] =
3096 "Enables rounded corners on overview windows.";
3097
Qiang Xu045aff222018-05-21 23:21:013098const char kAshEnablePersistentWindowBoundsName[] =
3099 "Enable persistent window bounds in multi-displays scenario.";
3100const char kAshEnablePersistentWindowBoundsDescription[] =
3101 "Enable persistent window bounds in multi-displays scenario.";
3102
Eliot Courtneye87a9c32018-11-20 03:33:023103const char kAshEnablePipRoundedCornersName[] =
3104 "Enable Picture-in-Picture rounded corners.";
3105const char kAshEnablePipRoundedCornersDescription[] =
3106 "Enable rounded corners on the Picture-in-Picture window.";
3107
Brett Wilson7b44537e2017-08-18 01:38:283108const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3109const char kAshEnableUnifiedDesktopDescription[] =
3110 "Enable unified desktop mode which allows a window to span multiple "
3111 "displays.";
vabr0215a8e2017-03-28 12:47:343112
Qiang Xu045aff222018-05-21 23:21:013113const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3114const char kAshShelfColorDescription[] =
3115 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3116 "--ash-shelf-color-scheme flag defines how that color is derived.";
3117
3118const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3119const char kAshShelfColorSchemeDescription[] =
3120 "Specify how the color is derived from the wallpaper. This flag is only "
3121 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3122const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3123const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3124const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3125const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3126const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3127const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3128
Sean Kau5e956192017-10-06 22:25:173129const char kBulkPrintersName[] = "Bulk Printers Policy";
3130const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3131
Brett Wilson7b44537e2017-08-18 01:38:283132const char kCaptivePortalBypassProxyName[] =
3133 "Bypass proxy for Captive Portal Authorization";
3134const char kCaptivePortalBypassProxyDescription[] =
3135 "If proxy is configured, it usually prevents from authorization on "
3136 "different captive portals. This enables opening captive portal "
3137 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343138
Brett Wilson7b44537e2017-08-18 01:38:283139const char kCrOSComponentName[] = "Chrome OS Component";
3140const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083141 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343142
Xiaochu Liu51d03fd2017-09-08 23:51:023143const char kCrOSContainerName[] = "Chrome OS Container";
3144const char kCrOSContainerDescription[] =
3145 "Enable the use of Chrome OS Container utility.";
3146
Brett Wilson7b44537e2017-08-18 01:38:283147const char kCrosRegionsModeName[] = "Cros-regions load mode";
3148const char kCrosRegionsModeDescription[] =
3149 "This flag controls cros-regions load mode";
3150const char kCrosRegionsModeDefault[] = "Default";
3151const char kCrosRegionsModeOverride[] = "Override VPD values.";
3152const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343153
Daniel Ng96ab0c82019-01-16 01:21:553154const char kCrostiniAppSearchName[] = "Crostini App Search";
3155const char kCrostiniAppSearchDescription[] =
3156 "Enable search and installation of Crostini apps in the launcher.";
3157
Joel Hockey42387102019-01-10 01:19:323158const char kCrostiniBackupName[] = "Crostini Backup";
3159const char kCrostiniBackupDescription[] = "Enable Crostini export and import.";
3160
Joel Hockeyad5b9762018-09-01 12:06:083161const char kCrostiniFilesName[] = "Crostini Files";
3162const char kCrostiniFilesDescription[] =
3163 "Enable Crostini file sharing in Files app.";
3164
Josh Pratt57cea392018-10-30 02:59:063165const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3166const char kCrostiniUsbSupportDescription[] =
3167 "Enable mounting Usb devices in Crostini.";
3168
Josh Nohle2f82dcc2018-12-17 23:11:233169const char kCryptAuthV2EnrollmentName[] = "CryptAuth v2 Enrollment";
3170const char kCryptAuthV2EnrollmentDescription[] =
3171 "Use the CryptAuth v2 Enrollment protocol.";
3172
Daniele Castagnac4aeb572018-10-23 16:23:573173const char kDisableExplicitDmaFencesName[] = "Disable explicit dma-fences";
3174const char kDisableExplicitDmaFencesDescription[] =
3175 "Always rely on implicit syncrhonization between GPU and display "
3176 "controller instead of using dma-fences explcitily when available.";
3177
Qiang Xu045aff222018-05-21 23:21:013178const char kDisableSystemTimezoneAutomaticDetectionName[] =
3179 "SystemTimezoneAutomaticDetection policy support";
3180const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3181 "Disable system timezone automatic detection device policy.";
3182
Sammie Quonef6b4882017-09-14 16:50:053183const char kDisableTabletAutohideTitlebarsName[] =
3184 "Disable autohide titlebars in tablet mode";
3185const char kDisableTabletAutohideTitlebarsDescription[] =
3186 "Disable tablet mode autohide titlebars functionality. The user will be "
3187 "able to see the titlebar in tablet mode.";
3188
Xiaoqian Dai24b33eb2018-04-10 21:01:573189const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3190const char kDisableTabletSplitViewDescription[] =
3191 "Disable split view for Chrome OS tablet mode.";
3192
Ahmed Fakhry4f567e692018-10-16 15:51:083193const char kDoubleTapToZoomInTabletModeName[] =
3194 "Double-tap to zoom in tablet mode";
3195const char kDoubleTapToZoomInTabletModeDescription[] =
3196 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3197 "page.";
3198
Daniel Zhang01399072018-08-16 22:28:203199const char kEnableAppListSearchAutocompleteName[] =
3200 "App List Search Autocomplete";
3201const char kEnableAppListSearchAutocompleteDescription[] =
3202 "Allow App List search box to autocomplete queries for Google searches and "
3203 "apps.";
3204
Qiang Xu53d1a5832018-05-24 18:44:193205const char kEnableAppShortcutSearchName[] =
3206 "Enable app shortcut search in launcher";
3207const char kEnableAppShortcutSearchDescription[] =
3208 "Enables app shortcut search in launcher";
3209
Vladislav Kaznacheevaa213a02018-10-29 17:54:283210const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3211const char kEnableAppDataSearchDescription[] =
3212 "Allow launcher search to access data available through Firebase App "
3213 "Indexing";
3214
Lei Zhang0a318af2018-11-14 02:19:463215const char kEnableArcUnifiedAudioFocusName[] =
Becca Hughes34415e82018-10-05 18:47:373216 "Enable unified audio focus on ARC";
Lei Zhang0a318af2018-11-14 02:19:463217const char kEnableArcUnifiedAudioFocusDescription[] =
Becca Hughes34415e82018-10-05 18:47:373218 "If audio focus is enabled in Chrome then this will delegate audio focus "
3219 "control in Android apps to Chrome.";
3220
Yue Li958f9dd2018-11-15 00:56:593221const char kEnableAssistantVoiceMatchName[] = "Enable Assistant Voice Match";
3222const char kEnableAssistantVoiceMatchDescription[] =
3223 "Enable the Assistant Voice Match feature";
3224
Yue Liebaa9952018-12-07 21:41:263225const char kEnableAssistantAppSupportName[] = "Enable Assistant App Support";
3226const char kEnableAssistantAppSupportDescription[] =
3227 "Enable the Assistant App Support feature";
3228
Lei Zhang2eca9082017-10-17 20:42:503229const char kEnableBackgroundBlurName[] = "Enable background blur.";
3230const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423231 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393232
Lei Zhang0ca70ea2018-09-07 17:51:013233const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3234const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493235 "Enables the Chrome OS Account Manager";
3236
Alexander Alekseev38e1e0a2018-11-08 22:48:483237const char kEnableDiscoverAppName[] = "Enable Discover App";
3238const char kEnableDiscoverAppDescription[] =
3239 "Enable Discover App icon in launcher.";
3240
Xiaoqian Dai82d99192018-05-25 18:51:353241const char kEnableDragTabsInTabletModeName[] =
3242 "Enable dragging tabs in tablet mode";
3243const char kEnableDragTabsInTabletModeDescription[] =
3244 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3245
Sam McNally201fbf94e2018-07-04 03:15:203246const char kEnableDriveFsName[] = "Enable DriveFS";
3247const char kEnableDriveFsDescription[] =
3248 "Enables use of the new DriveFS-based Drive sync client.";
3249
Luciano Pacheco20c48bd42018-11-07 00:57:083250const char kEnableMyFilesVolumeName[] = "Enable MyFiles as Volume";
3251const char kEnableMyFilesVolumeDescription[] =
Luciano Pacheco7fe772fe2018-11-07 02:31:453252 "Enables use of MyFiles as a read/write volume. This should be only "
3253 "used for testing or for trying to restore the previous Downloads content.";
Luciano Pacheco20c48bd42018-11-07 00:57:083254
Brett Wilson7b44537e2017-08-18 01:38:283255const char kEnableEhvInputName[] =
3256 "Emoji, handwriting and voice input on opt-in IME menu";
3257const char kEnableEhvInputDescription[] =
3258 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343259
Brett Wilson7b44537e2017-08-18 01:38:283260const char kEnableEncryptionMigrationName[] =
3261 "Enable encryption migration of user data";
3262const char kEnableEncryptionMigrationDescription[] =
3263 "If enabled and the device supports ARC, the user will be asked to update "
3264 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343265
Qiang Xu045aff222018-05-21 23:21:013266const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3267 "Enable full screen handwriting virtual keyboard";
3268const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3269 "If enabled, the handwriting virtual keyboard will allow user to write "
3270 "anywhere on the screen";
3271
Xiaohui Chenfb0943e2018-10-16 22:44:373272const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3273const char kEnableGoogleAssistantDescription[] =
3274 "Enable an experimental Assistant implementation that will work on all "
3275 "Chromebooks.";
3276
Xiaohui Chenf4283f32018-11-26 20:02:503277const char kEnableGoogleAssistantDspName[] =
3278 "Enable Google Assistant with hardware-based hotword";
3279const char kEnableGoogleAssistantDspDescription[] =
3280 "Enable an experimental feature that uses hardware-based hotword detection "
3281 "for Assistant. Only a limited number of devices have this type of "
3282 "hardware support.";
3283
Xiaohui Chenc3baca42018-11-30 19:29:373284const char kEnableGoogleAssistantStereoInputName[] =
3285 "Enable Google Assistant with stereo audio input";
3286const char kEnableGoogleAssistantStereoInputDescription[] =
3287 "Enable an experimental feature that uses stereo audio input for hotword "
3288 "and voice to text detection in Google Assistant.";
3289
Qiang Xu045aff222018-05-21 23:21:013290const char kEnableHomeLauncherName[] = "Enable home launcher";
3291const char kEnableHomeLauncherDescription[] =
3292 "Enable home launcher in tablet mode.";
3293
Lei Zhang0ca70ea2018-09-07 17:51:013294const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3295const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013296 "Enables using gestures to hide or show the home launcher.";
3297
Brett Wilson7b44537e2017-08-18 01:38:283298const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3299const char kEnableImeMenuDescription[] =
3300 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343301
Sammie Quon248ccef2018-08-28 23:00:013302const char kEnableOobeRecommendAppsScreenName[] =
3303 "Enable OOBE Recommend Apps Screen";
3304const char kEnableOobeRecommendAppsScreenDescription[] =
3305 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3306 "from other devices";
3307
Qiang Xu045aff222018-05-21 23:21:013308const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3309const char kEnablePerUserTimezoneDescription[] =
3310 "Chrome OS system timezone preference is stored and handled for each user "
3311 "individually.";
3312
Vladislav Kaznacheevaa213a02018-10-29 17:54:283313const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3314const char kEnablePlayStoreSearchDescription[] =
3315 "Enable Play Store search in launcher.";
3316
Qiang Xu045aff222018-05-21 23:21:013317const char kEnableSettingsShortcutSearchName[] =
3318 "Enable Settings shortcut search";
3319const char kEnableSettingsShortcutSearchDescription[] =
3320 "Enable Settings shortcut search in launcher.";
3321
Darren Shen3e49c63d2018-03-28 04:45:503322const char kEnableStylusVirtualKeyboardName[] =
3323 "Enable stylus virtual keyboard";
3324const char kEnableStylusVirtualKeyboardDescription[] =
3325 "If enabled, tapping with a stylus will show the handwriting virtual "
3326 "keyboard.";
3327
Jazz Xu2e5886662018-12-14 00:38:483328const char kEnableVideoPlayerNativeControlsName[] =
3329 "Enable native controls in video player app";
3330const char kEnableVideoPlayerNativeControlsDescription[] =
3331 "Enable native controls in video player app";
3332
Darren Shen0b4e5802018-07-10 03:12:263333const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3334const char kEnableVirtualKeyboardUkmDescription[] =
3335 "Enables UKM for virtual keyboard";
3336
Lei Zhang0ca70ea2018-09-07 17:51:013337const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3338const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013339 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283340 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013341
Brett Wilson7b44537e2017-08-18 01:38:283342const char kEolNotificationName[] = "Disable Device End of Life notification.";
3343const char kEolNotificationDescription[] =
3344 "Disable Notifcation when Device is End of Life.";
3345
Akihiro Ota3ff6f8a2019-01-18 17:43:043346const char kExperimentalAccessibilityChromeVoxLanguageSwitchingName[] =
3347 "Enable experimental ChromeVox language switching.";
3348const char kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription[] =
3349 "Enable ChromeVox language switching, which changes ChromeVox's "
3350 "output language upon detection of new language.";
3351
Brett Wilson7b44537e2017-08-18 01:38:283352const char kFileManagerTouchModeName[] = "Files App. touch mode";
3353const char kFileManagerTouchModeDescription[] =
3354 "Touchscreen-specific interactions of the Files app.";
3355
3356const char kFirstRunUiTransitionsName[] =
3357 "Animated transitions in the first-run tutorial";
3358const char kFirstRunUiTransitionsDescription[] =
3359 "Transitions during first-run tutorial are animated.";
3360
Brett Wilson7b44537e2017-08-18 01:38:283361const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3362const char kForceEnableStylusToolsDescription[] =
3363 "Forces display of the stylus tools menu in the shelf and the stylus "
3364 "section in settings, even if there is no attached stylus device.";
3365
3366const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3367const char kGestureEditingDescription[] =
3368 "Enable/Disable gesture editing option in the settings page for the "
3369 "virtual keyboard.";
3370
3371const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3372const char kGestureTypingDescription[] =
3373 "Enable/Disable gesture typing option in the settings page for the virtual "
3374 "keyboard.";
3375
3376const char kInputViewName[] = "Input views";
3377const char kInputViewDescription[] =
3378 "Enable IME extensions to supply custom views for user input such as "
3379 "virtual keyboards.";
3380
Leo Zhang3cc77542018-11-07 00:58:083381const char kImeServiceName[] = "Enable IME service";
3382const char kImeServiceDescription[] =
3383 "Enable IME service to provide the IME functionality instead of NaCl";
3384
Megumi Hattori5a0d4182018-03-06 11:09:503385const char kLockScreenNotificationName[] = "Lock screen notification";
3386const char kLockScreenNotificationDescription[] =
3387 "Enable notifications on the lock screen.";
3388
Mohsen Izadi06a16f72018-11-29 02:29:223389const char kMashOopVizName[] = "Out-of-process viz for mash";
3390const char kMashOopVizDescription[] =
3391 "Runs viz in a separate process when mash is enabled (otherwise viz would "
3392 "run in ash process)";
3393
Qiang Xu045aff222018-05-21 23:21:013394const char kMaterialDesignInkDropAnimationSpeedName[] =
3395 "Material design ink drop animation speed";
3396const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3397 "Sets the speed of the experimental visual feedback animations for "
3398 "material design.";
3399const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3400const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3401
Brett Wilson7b44537e2017-08-18 01:38:283402const char kMemoryPressureThresholdName[] =
3403 "Memory discard strategy for advanced pressure handling";
3404const char kMemoryPressureThresholdDescription[] =
3405 "Memory discarding strategy to use";
3406const char kConservativeThresholds[] =
3407 "Conservative memory pressure release strategy";
3408const char kAggressiveCacheDiscardThresholds[] =
3409 "Aggressive cache release strategy";
3410const char kAggressiveTabDiscardThresholds[] =
3411 "Aggressive tab release strategy";
3412const char kAggressiveThresholds[] =
3413 "Aggressive tab and cache release strategy";
3414
3415const char kMtpWriteSupportName[] = "MTP write support";
3416const char kMtpWriteSupportDescription[] =
3417 "MTP write support in File System API (and file manager). In-place editing "
3418 "operations are not supported.";
3419
vabr0215a8e2017-03-28 12:47:343420const char kNetworkPortalNotificationName[] =
3421 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343422const char kNetworkPortalNotificationDescription[] =
3423 "If enabled, notification is displayed when device is connected to a "
3424 "network behind captive portal.";
3425
Brett Wilson7b44537e2017-08-18 01:38:283426const char kNewKoreanImeName[] = "New Korean IME";
3427const char kNewKoreanImeDescription[] =
3428 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343429
Anand K. Mistrydb5e0102018-10-04 04:24:003430const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283431const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003432 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343433
Qiang Xu045aff222018-05-21 23:21:013434const char kOfficeEditingComponentAppName[] =
3435 "Office Editing for Docs, Sheets & Slides";
3436const char kOfficeEditingComponentAppDescription[] =
3437 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3438
Brett Wilson7b44537e2017-08-18 01:38:283439const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3440const char kPhysicalKeyboardAutocorrectDescription[] =
3441 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3442 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343443
3444const char kPrinterProviderSearchAppName[] =
3445 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343446const char kPrinterProviderSearchAppDescription[] =
3447 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193448 "searches Chrome Web Store for extensions that support printing to a USB "
3449 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343450
Brett Wilson7b44537e2017-08-18 01:38:283451const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3452const char kQuickUnlockPinDescription[] =
3453 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3454 "device on the lock screen after you have signed into your device.";
3455const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3456const char kQuickUnlockPinSigninDescription[] =
3457 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3458 "device. After changing this flag PIN needs to be set up again.";
3459const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3460const char kQuickUnlockFingerprintDescription[] =
3461 "Enabling fingerprint quick unlock allows you to setup and use a "
3462 "fingerprint to unlock your Chromebook on the lock screen after you have "
3463 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343464
James Cook0ba192bf2017-12-01 20:53:113465const char kShowTapsName[] = "Show taps";
3466const char kShowTapsDescription[] =
3467 "Draws a circle at each touch point, which makes touch points more obvious "
3468 "when projecting or mirroring the display. Similar to the Android OS "
3469 "developer option.";
3470
3471const char kShowTouchHudName[] = "Show HUD for touch points";
3472const char kShowTouchHudDescription[] =
3473 "Shows a trail of colored dots for the last few touch points. Pressing "
3474 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3475 "debug hardware issues that generate spurious touch events.";
3476
James Cook28d7c482018-09-07 21:00:543477const char kSingleProcessMashName[] =
3478 "In-process window service (SingleProcessMash)";
3479const char kSingleProcessMashDescription[] =
3480 "Runs the system UI (ash) as a mojo service, but inside the browser "
3481 "process. The browser uses the mojo window service (ws) APIs.";
3482
Ahmed Fakhry58e6ef542018-09-04 18:05:383483const char kSlideTopChromeWithPageScrollsName[] =
3484 "Slide top-chrome with page scrolls";
3485const char kSlideTopChromeWithPageScrollsDescription[] =
3486 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3487 " UI.";
3488
Jorge Gil5a8ccde2018-07-10 01:46:213489const char kSmartTextSelectionName[] = "Smart Text Selection";
3490const char kSmartTextSelectionDescription[] =
3491 "Shows quick actions for text "
3492 "selections in the context menu.";
3493
Brett Wilson7b44537e2017-08-18 01:38:283494const char kTetherName[] = "Instant Tethering";
3495const char kTetherDescription[] =
3496 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3497 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373498
Brett Wilson7b44537e2017-08-18 01:38:283499const char kTouchscreenCalibrationName[] =
3500 "Enable/disable touchscreen calibration option in material design settings";
3501const char kTouchscreenCalibrationDescription[] =
3502 "If enabled, the user can calibrate the touch screen displays in "
3503 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093504
Qiang Xu045aff222018-05-21 23:21:013505const char kUiDevToolsName[] = "Enable native UI inspection";
3506const char kUiDevToolsDescription[] =
3507 "Enables inspection of native UI elements. For local inspection use "
3508 "chrome://inspect#other";
3509
3510const char kUiShowCompositedLayerBordersName[] =
3511 "Show UI composited layer borders";
3512const char kUiShowCompositedLayerBordersDescription[] =
3513 "Show border around composited layers created by UI.";
3514const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3515const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3516const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3517const char kUiShowCompositedLayerBordersAll[] = "All";
3518
3519const char kUiSlowAnimationsName[] = "Slow UI animations";
3520const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3521
Mitsuru Oshima63d3f2a2017-08-23 00:12:113522// Force UI Mode
3523const char kUiModeName[] = "Force Ui Mode";
3524const char kUiModeDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:063525 "This flag can be used to force a certain mode on to a chromebook, "
3526 "despite its current orientation. \"Tablet\" means that the "
3527 "chromebook will act as if it were in tablet mode. \"Clamshell\" "
3528 "means that the chromebook will act as if it were in clamshell "
3529 "mode. \"Auto\" means that the chromebook will alternate between "
3530 "the two, based on its orientation.";
Min Chenfd25cd22018-11-06 01:50:513531const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113532const char kUiModeClamshell[] = "Clamshell";
3533const char kUiModeAuto[] = "Auto (default)";
3534
Sonny Sasaka7fecfeda2018-07-11 23:47:553535const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3536const char kUnfilteredBluetoothDevicesDescription[] =
3537 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3538
Allen Webbcdc8e69d2018-09-12 20:36:003539const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3540const char kUsbguardDescription[] =
3541 "Prevents newly connected USB devices from operating at the lock screen"
3542 " until Chrome OS is unlocked to protect against malicious USB devices."
3543 " Already connected USB devices will continue to function.";
3544
Micah Morton79a7b522018-09-27 15:15:303545const char kShillSandboxingName[] =
3546 "Run shill, the ChromeOS network manager, in a sandbox.";
3547const char kShillSandboxingDescription[] =
3548 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3549
Micah Morton02d3aba2018-11-20 01:51:453550const char kFsNosymfollowName[] =
3551 "Prevent symlink traversal on user-supplied filesystems.";
3552const char kFsNosymfollowDescription[] =
3553 "Causes user-supplied filesystems to be mounted with the 'nosymfollow'"
3554 " option, so the chromuimos LSM denies symlink traversal on the"
3555 " filesystem.";
3556
James Cooka1bcfa9a2018-01-30 00:18:403557const char kUseMashName[] = "Out-of-process system UI (mash)";
3558const char kUseMashDescription[] =
3559 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3560 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283561
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343562// TODO(mcasas): remove after https://crbug.com/771345.
3563const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3564const char kUseMonitorColorSpaceDescription[] =
3565 "Enables Chrome to use the color space information provided by the monitor"
3566 " instead of the default sRGB color space.";
3567
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233568const char kVaapiJpegImageDecodeAccelerationName[] =
3569 "VA-API JPEG decode acceleration for images";
3570const char kVaapiJpegImageDecodeAccelerationDescription[] =
3571 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3572 " captures) using the VA-API.";
3573
Brett Wilson7b44537e2017-08-18 01:38:283574const char kVideoPlayerChromecastSupportName[] =
3575 "Experimental Chromecast support for Video Player";
3576const char kVideoPlayerChromecastSupportDescription[] =
3577 "This option enables experimental Chromecast support for Video Player app "
3578 "on ChromeOS.";
3579
3580const char kVirtualKeyboardName[] = "Virtual Keyboard";
3581const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3582
3583const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3584const char kVirtualKeyboardOverscrollDescription[] =
3585 "Enables virtual keyboard overscroll support.";
3586
3587const char kVoiceInputName[] = "Voice input on virtual keyboard";
3588const char kVoiceInputDescription[] =
3589 "Enables voice input on virtual keyboard.";
3590
3591const char kWakeOnPacketsName[] = "Wake On Packets";
3592const char kWakeOnPacketsDescription[] =
3593 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203594
yhanadac5bff5b2017-05-18 06:37:093595#endif // defined(OS_CHROMEOS)
3596
Brett Wilson7b44537e2017-08-18 01:38:283597// Random platform combinations -----------------------------------------------
3598
3599#if defined(OS_WIN) || defined(OS_LINUX)
3600
3601const char kEnableInputImeApiName[] = "Enable Input IME API";
3602const char kEnableInputImeApiDescription[] =
3603 "Enable the use of chrome.input.ime API.";
3604
3605#endif // defined(OS_WIN) || defined(OS_LINUX)
3606
Jiajia Qindb252e92019-01-28 11:47:483607#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3608
3609const char kWebGL2ComputeContextName[] = "WebGL 2.0 Compute";
3610const char kWebGL2ComputeContextDescription[] =
3611 "Enable the use of WebGL 2.0 Compute API.";
3612
3613#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3614
Brett Wilson7b44537e2017-08-18 01:38:283615#if defined(OS_WIN) || defined(OS_MACOSX)
3616
3617const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3618const char kAutomaticTabDiscardingDescription[] =
3619 "If enabled, tabs get automatically discarded from memory when the system "
3620 "memory is low. Discarded tabs are still visible on the tab strip and get "
3621 "reloaded when clicked on. Info about discarded tabs can be found at "
3622 "chrome://discards.";
3623
3624#endif // defined(OS_WIN) || defined(OS_MACOSX)
3625
lanwei83f54452018-06-21 23:51:043626#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3627
3628const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3629const char kDirectManipulationStylusDescription[] =
3630 "If enabled, Chrome will scroll web pages on stylus drag.";
3631
3632#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3633
Henrik Grunell63f2d772018-12-06 17:25:203634#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3635
3636const char kForceEnableSystemAecName[] = "Force enable system AEC";
3637const char kForceEnableSystemAecDescription[] =
3638 "Use system echo canceller instead of WebRTC echo canceller. If there is "
3639 "no system echo canceller available, getUserMedia with echo cancellation "
3640 "enabled will fail.";
3641
3642#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
3643
Justin Donnelly110e40c2018-06-01 21:48:433644const char kExperimentalUiName[] = "Use all upcoming UI features";
3645const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483646
Brett Wilson7b44537e2017-08-18 01:38:283647// Feature flags --------------------------------------------------------------
3648
Lei Zhang0a318af2018-11-14 02:19:463649#if defined(DCHECK_IS_CONFIGURABLE)
3650const char kDcheckIsFatalName[] = "DCHECKs are fatal";
3651const char kDcheckIsFatalDescription[] =
3652 "By default Chrome will evaluate in this build, but only log failures, "
3653 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
3654#endif // defined(DCHECK_IS_CONFIGURABLE)
3655
Brett Wilson7b44537e2017-08-18 01:38:283656#if BUILDFLAG(ENABLE_VR)
3657
David Dorwin5a496c32017-11-17 01:45:053658const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3659const char kWebVrVsyncAlignDescription[] =
3660 "Align WebVR application rendering with VSync for smoother animations.";
3661
Bill Orr103ed272018-02-14 21:23:053662#if BUILDFLAG(ENABLE_OCULUS_VR)
3663const char kOculusVRName[] = "Oculus hardware support";
3664const char kOculusVRDescription[] =
3665 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3666 "Windows 10 or later).";
3667#endif // ENABLE_OCULUS_VR
3668
Bill Orr49527562017-11-22 16:58:483669#if BUILDFLAG(ENABLE_OPENVR)
3670const char kOpenVRName[] = "OpenVR hardware support";
3671const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073672 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3673 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483674#endif // ENABLE_OPENVR
3675
Bill Orrd2af6bd52019-01-23 02:50:243676#if BUILDFLAG(ENABLE_WINDOWS_MR)
3677const char kWindowsMixedRealityName[] = "Windows Mixed Reality support";
3678const char kWindowsMixedRealityDescription[] =
3679 "If enabled, Chrome will use Windows Mixed Reality devices for VR"
3680 " (supported only on Windows 10 or later).";
3681#endif // ENABLE_WINDOWS_MR
3682
Bill Orrecfb9fe2018-10-02 00:11:103683#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3684const char kXRSandboxName[] = "XR device sandboxing";
3685const char kXRSandboxDescription[] =
3686 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3687#endif // ENABLE_ISOLATED_XR_SERVICE
3688
Brett Wilson7b44537e2017-08-18 01:38:283689#endif // ENABLE_VR
3690
Nico Weberaf3b00b2017-09-11 17:58:173691#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283692
3693const char kNaclDebugMaskName[] =
3694 "Restrict Native Client GDB-based debugging by pattern";
3695const char kNaclDebugMaskDescription[] =
3696 "Restricts Native Client application GDB-based debugging by URL of "
3697 "manifest file. Native Client GDB-based debugging must be enabled for this "
3698 "option to work.";
3699const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3700const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3701 "Debug everything except secure shell and the PNaCl translator.";
3702const char kNaclDebugMaskChoiceIncludeDebug[] =
3703 "Debug only if manifest URL ends with debug.nmf.";
3704
3705const char kNaclDebugName[] = "Native Client GDB-based debugging";
3706const char kNaclDebugDescription[] =
3707 "Enable GDB debug stub. This will stop a Native Client application on "
3708 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3709
3710const char kNaclName[] = "Native Client";
3711const char kNaclDescription[] =
3712 "Support Native Client for all web applications, even those that were not "
3713 "installed from the Chrome Web Store.";
3714
3715const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3716const char kPnaclSubzeroDescription[] =
3717 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3718
Nico Weberaf3b00b2017-09-11 17:58:173719#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283720
Lei Zhang802201c2018-11-14 18:16:283721#if BUILDFLAG(ENABLE_PLUGINS)
3722
dstockwellcc759202019-01-11 00:42:123723#if defined(OS_CHROMEOS)
3724const char kPdfAnnotations[] = "PDF Annotations";
Weidong Guo577fe9ac2019-01-28 19:58:103725const char kPdfAnnotationsDescription[] = "Enable annotating PDF documents.";
dstockwellcc759202019-01-11 00:42:123726#endif // defined(OS_CHROMEOS)
3727
Lei Zhang802201c2018-11-14 18:16:283728const char kPdfFormSaveName[] = "Save PDF Forms";
3729const char kPdfFormSaveDescription[] =
3730 "Enable saving PDFs with filled form data.";
3731
3732const char kPdfIsolationName[] = "PDF Isolation";
3733const char kPdfIsolationDescription[] =
3734 "Render PDF files from different origins in different plugin processes.";
3735
3736#endif // BUILDFLAG(ENABLE_PLUGINS)
3737
Brett Wilson7b44537e2017-08-18 01:38:283738#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3739
3740const char kAutofillCreditCardUploadName[] =
3741 "Enable offering upload of Autofilled credit cards";
3742const char kAutofillCreditCardUploadDescription[] =
3743 "Enables a new option to upload credit cards to Google Payments for sync "
3744 "to all Chrome devices.";
3745
3746#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3747
Collin Baker0a45d6a2018-12-20 19:21:503748#if BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3749
3750const char kReopenTabInProductHelpName[] = "Reopen tab in-product help";
3751const char kReopenTabInProductHelpDescription[] =
3752 "Enable in-product help that guides a user to reopen a tab if it looks "
3753 "like they accidentally closed it.";
3754
3755#endif // BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3756
Tomas Popela253a5832019-01-14 17:22:103757#if defined(WEBRTC_USE_PIPEWIRE)
3758
3759extern const char kWebrtcPipeWireCapturerName[] = "WebRTC PipeWire support";
3760extern const char kWebrtcPipeWireCapturerDescription[] =
3761 "When enabled the WebRTC will use the PipeWire multimedia server for "
3762 "capturing the desktop content on the Wayland display server.";
3763
3764#endif // #if defined(WEBRTC_USE_PIPEWIRE)
3765
Stephen Chenneyde6e5c82019-01-21 01:56:043766const char kAvoidFlashBetweenNavigationName[] =
3767 "Enable flash avoidance between same-origin navigations";
3768const char kAvoidFlahsBetweenNavigationDescription[] =
3769 "Enables experimental flash avoidance when navigating between pages "
3770 "in the same origin. This feature is in the implementation stages and "
3771 "currently has no effect.";
3772
Brett Wilson7b44537e2017-08-18 01:38:283773// ============================================================================
3774// Don't just add flags to the end, put them in the right section in
3775// alphabetical order just like the header file.
3776// ============================================================================
3777
vabr0215a8e2017-03-28 12:47:343778} // namespace flag_descriptions