blob: c1fba06a2f522ecec7b503abb4798a1700457379 [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
Robert Ogdenc3703942019-02-06 21:05:49512const char kEnableDataSaverLiteModeRebrandName[] =
513 "Data Saver Lite Mode Rebranding";
514const char kEnableDataSaverLiteModeRebrandDescription[] =
515 "Enable the Data Saver rebranding to Lite Mode.";
516
sclittle50e4bb92017-07-08 02:23:03517const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
518
519const char kEnableClientLoFiDescription[] =
520 "Enable showing low fidelity images on some pages on slow networks.";
521
Patrick Noland8bc57472018-06-19 21:09:54522const char kEnableCSSFragmentIdentifiersName[] =
523 "Enable CSS Fragment Identifiers";
524const char kEnableCSSFragmentIdentifiersDescription[] =
525 "Enable support for specifying a target element using a css selector in "
526 "the fragment identifier.";
527
Doug Arnett08b4067b2017-10-12 20:14:44528const char kEnableNoScriptPreviewsName[] = "NoScript previews";
529
530const char kEnableNoScriptPreviewsDescription[] =
531 "Enable disabling JavaScript on some pages on slow networks.";
532
Thanh Le2c279fbc2017-11-21 01:25:40533const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
534const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
535const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
536const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
537const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
538const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
539const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
540const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
541const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
542const char kDataReductionProxyServerAlternative10[] =
543 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54544const char kEnableDataReductionProxyNetworkServiceName[] =
545 "Data reduction proxy with network service";
546const char kEnableDataReductionProxyNetworkServiceDescription[] =
547 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47548const char kEnableDataReductionProxyServerExperimentName[] =
549 "Use an alternative Data Saver back end configuration.";
550const char kEnableDataReductionProxyServerExperimentDescription[] =
551 "Enable a different approach to saving data by configuring the back end "
552 "server";
553
554const char kEnableDataReductionProxySavingsPromoName[] =
555 "Data Saver 1 MB Savings Promo";
556const char kEnableDataReductionProxySavingsPromoDescription[] =
557 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
558 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
559 "enabled for the promo to be shown.";
560
Matt Giucad4870432017-11-24 01:04:38561const char kEnableDesktopPWAsName[] = "Desktop PWAs";
562const char kEnableDesktopPWAsDescription[] =
563 "Experimental windowing and install banner treatment for Progressive Web "
564 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17565
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59566const char kEnableDesktopPWAsLinkCapturingName[] =
567 "Desktop PWAs Link Capturing";
568const char kEnableDesktopPWAsLinkCapturingDescription[] =
569 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
570 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
571 "#enable-desktop-pwas.";
572
Jay Harris52511a02018-11-02 01:00:28573const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
574const char kDesktopPWAsCustomTabUIDescription[] =
575 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
576 "for displaying the page title and origin instead of the location bar.";
577
Jay Harrisee7a7bc62018-10-09 01:47:49578const char kDesktopPWAsStayInWindowName[] =
579 "Desktop PWAs out-of-scope links open in the app window";
580const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28581 "Links to sites in a different scope will open inside the PWA window as "
582 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49583
Christopher Lame66b7812018-09-26 01:49:24584const char kEnableSystemWebAppsName[] = "System Web Apps";
585const char kEnableSystemWebAppsDescription[] =
586 "Experimental system for using the Desktop PWA framework for running System"
587 "Apps (e.g Settings, Discover).";
588
David Benjamin570460e2018-10-16 06:01:29589const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
590const char kEnforceTLS13DowngradeDescription[] =
591 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
592 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
593 "through 1.2 connections. Firewalls and proxies that do not function when "
594 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
595 "securely. They must be fixed by vendors.";
596
Brett Wilsonf27ff602017-07-07 22:28:47597const char kEnableEnumeratingAudioDevicesName[] =
598 "Experimentally enable enumerating audio devices.";
599const char kEnableEnumeratingAudioDevicesDescription[] =
600 "Experimentally enable the use of enumerating audio devices.";
601
602const char kEnableGenericSensorName[] = "Generic Sensor";
603const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25604 "Enables motion sensor classes based on Generic Sensor API, i.e. "
605 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
606 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
607
608const char kEnableGenericSensorExtraClassesName[] =
609 "Generic Sensor Extra Classes";
610const char kEnableGenericSensorExtraClassesDescription[] =
611 "Enables an extra set of sensor classes based on Generic Sensor API, which "
612 "expose previously unavailable platform features, i.e. AmbientLightSensor "
613 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47614
Vikas Soni78daa632019-01-12 01:32:52615const char kEnableGpuServiceLoggingName[] = "Enable gpu service logging";
616const char kEnableGpuServiceLoggingDescription[] =
617 "Enable printing the actual GL driver calls.";
618
Brett Wilsonf27ff602017-07-07 22:28:47619const char kEnableHDRName[] = "HDR mode";
620const char kEnableHDRDescription[] =
621 "Enables HDR support on compatible displays.";
622
Ryan Sturm6a850902018-06-09 02:27:34623const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
624const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09625 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25626 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01627 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
628 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34629
David Bokan911bded2018-11-27 23:23:32630const char kEnableImplicitRootScrollerName[] = "Implicit Root Scroller";
631const char kEnableImplicitRootScrollerDescription[] =
632 "Enables implicitly choosing which scroller on a page is the 'root "
633 "scroller'. i.e. The one that gets special features like URL bar movement, "
634 "overscroll glow, rotation anchoring, etc.";
635
Robert Ogden5a63b242018-09-17 21:38:57636const char kEnablePreviewsAndroidOmniboxUIName[] =
637 "Previews Android Omnibox UI";
638const char kEnablePreviewsAndroidOmniboxUIDescription[] =
639 "Enable showing the Previews UI in the Omnibox on Android instead of an "
640 "InfoBar. This has no effect on other platforms.";
641
Robert Ogdence8c9572018-10-08 23:08:48642const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
643const char kEnableLitePageServerPreviewsDescription[] =
Doug Arnett9c1f87562018-12-14 00:56:39644 "Enable showing Lite Page Previews served from a Previews Server."
645 "This feature will cause Chrome to redirect eligible navigations "
Robert Ogdence8c9572018-10-08 23:08:48646 "to a Google-owned domain that serves a pre-rendered version of the "
Doug Arnett9c1f87562018-12-14 00:56:39647 "original page. Also known as Lite Page Redirect Previews.";
Robert Ogdence8c9572018-10-08 23:08:48648
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41649const char kLayeredAPIName[] = "Experimental layered APIs";
650const char kLayeredAPIDescription[] =
651 "Enable layered API infrastructure, as well as several experimental "
652 "layered APIs. The syntax and the APIs exposed are experimental and will "
653 "change over time.";
654
Philip Rogers63481332018-12-01 22:16:51655const char kEnableBlinkGenPropertyTreesName[] = "Enable BlinkGenPropertyTrees";
656const char kEnableBlinkGenPropertyTreesDescription[] =
657 "Enable a new compositing mode where Blink generates the compositor "
658 "property trees.";
659
Ian Kilpatricke68ef11a2018-07-04 03:52:10660const char kEnableLayoutNGName[] = "Enable LayoutNG";
661const char kEnableLayoutNGDescription[] =
662 "Enable Blink's next generation layout engine.";
663
Scott Littled0fd2d002018-04-13 03:37:26664const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
665const char kEnableLazyFrameLoadingDescription[] =
666 "Defers the loading of certain cross-origin frames until the page is "
667 "scrolled down near them.";
668
rajendrant793ff512018-08-10 17:07:59669const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
670const char kEnableLazyImageLoadingDescription[] =
671 "Defers the loading of images until the page is scrolled down near them.";
672
Sidney San Martín9375b892017-09-09 00:29:54673const char kEnableMacMaterialDesignDownloadShelfName[] =
674 "Enable Material Design download shelf";
675
676const char kEnableMacMaterialDesignDownloadShelfDescription[] =
677 "If enabled, the download shelf uses Material Design.";
678
Becca Hughesac86cd442019-01-09 23:49:54679const char kEnableMediaSessionServiceName[] = "Media Session Service";
680const char kEnableMediaSessionServiceDescription[] =
681 "Enables the media session mojo service and internal media session "
682 "support.";
683
Anton Urusov47cd4932017-09-19 14:41:41684const char kEnablePolicyToolName[] = "Enable policy management page";
685const char kEnablePolicyToolDescription[] =
686 "If enabled, the chrome://policy-tool URL loads a page for managing "
687 "policies.";
688
Brett Wilsonf27ff602017-07-07 22:28:47689const char kEnableNavigationTracingName[] = "Enable navigation tracing";
690const char kEnableNavigationTracingDescription[] =
691 "This is to be used in conjunction with the trace-upload-url flag. "
692 "WARNING: When enabled, Chrome will record performance data for every "
693 "navigation and upload it to the URL specified by the trace-upload-url "
694 "flag. The trace may include personally identifiable information (PII) "
695 "such as the titles and URLs of websites you visit.";
696
Bernhard Bauer5533f9912017-11-06 17:56:02697const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
698const char kEnableNetworkLoggingToFileDescription[] =
699 "Enables network logging to a file named netlog.json in the user data "
700 "directory. The file can be imported into chrome://net-internals.";
701
Brett Wilsonf27ff602017-07-07 22:28:47702const char kEnableNetworkServiceName[] = "Enable network service";
703const char kEnableNetworkServiceDescription[] =
704 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40705 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47706
John Abd-El-Malek8067cc02017-12-04 23:23:20707const char kEnableNetworkServiceInProcessName[] =
708 "Runs network service in-process";
709const char kEnableNetworkServiceInProcessDescription[] =
710 "Runs the network service in the browser process.";
711
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28712const char kEnableNotificationScrollBarName[] =
713 "Enable notification list scroll bar";
714const char kEnableNotificationScrollBarDescription[] =
715 "Enable the scroll bar of the notification list in Unified System Tray.";
716
Mitsuru Otsukae8304de2018-10-29 02:14:36717const char kEnableNotificationExpansionAnimationName[] =
718 "Enable notification expansion animations";
719const char kEnableNotificationExpansionAnimationDescription[] =
720 "Enable notification animations whenever the expansion state is toggled.";
721
xlou8b56f672018-02-09 23:34:30722const char kEnableNupPrintingName[] = "Enable N-up printing";
723const char kEnableNupPrintingDescription[] =
724 "Enable N-up printing in the print preview panel.";
725
Sophie Chang117a3b22017-10-24 22:25:36726const char kEnableOptimizationHintsName[] = "Optimization Hints";
727const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50728 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36729 "into decisions for what optimizations to perform on some pages on slow "
730 "networks.";
731
Takashi Toyoshima2e01e692018-11-16 03:23:27732const char kEnableOutOfBlinkCorsName[] = "Out of blink CORS";
733const char kEnableOutOfBlinkCorsDescription[] =
Yutaka Hirano98be3272017-08-07 17:55:39734 "CORS handling logic is moved out of blink.";
735
Chris Halle952239e2018-11-06 06:49:52736const char kExperimentalAccessibilityFeaturesName[] =
737 "Experimental accessibility features";
738const char kExperimentalAccessibilityFeaturesDescription[] =
739 "Enable additional accessibility features in the Settings page.";
740
Katie D652135c2018-11-27 18:30:13741const char kExperimentalAccessibilityAutoclickName[] =
742 "Experimental automatic click features";
743const char kExperimentalAccessibilityAutoclickDescription[] =
744 "Enable additional features for automatic clicks.";
745
Katie D0c31c5062019-01-02 18:12:35746const char kExperimentalAccessibilityLabelsName[] =
747 "Experimental accessibility image label features";
748const char kExperimentalAccessibilityLabelsDescription[] =
749 "Enable additional features for image labels for accessibility.";
750
Chris Hall4a4225f62019-01-18 03:07:16751const char kExperimentalAccessibilityLanguageDetectionName[] =
752 "Experimental accessibility language detection";
753const char kExperimentalAccessibilityLanguageDetectionDescription[] =
754 "Enable language detection for in-page content which is then exposed to "
755 "accessiblity technologies such as screen readers.";
756
Anastasia Helfinsteinafecc68c2018-11-26 19:20:17757const char kExperimentalAccessibilitySwitchAccessName[] =
758 "Experimental feature Switch Access";
759const char kExperimentalAccessibilitySwitchAccessDescription[] =
760 "Add a setting to enable the prototype of Switch Access";
761
kylechar7051c092018-02-05 20:31:39762const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
763const char kVizDisplayCompositorDescription[] =
764 "If enabled, the display compositor runs as part of the viz service in the"
765 "GPU process.";
766
Ria Jiang6a129b982018-03-01 18:30:40767const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
768const char kVizHitTestDrawQuadDescription[] =
769 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
770 "with hit-test data computed from the CompositorFrame.";
771
Erik Chen49bbfa22017-08-18 08:49:56772const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23773 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56774const char kEnableOutOfProcessHeapProfilingDescription[] =
775 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19776 "malloced objects. Heap dumps can be obtained at chrome://tracing "
777 "[category:memory-infra] and chrome://memory-internals. This setting "
778 "controls which processes are profiled. As long as this setting is not "
779 "disabled, users can start profiling any given process in "
780 "chrome://memory-internals.";
781const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
782const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
783const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
784const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
785const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10786const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19787 "None by default. Visit chrome://memory-internals to choose which "
788 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15789const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
790 "Profile a random sampling of renderer processes, ensuring only one is "
791 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19792
Erik Chen8bb76b52017-12-06 19:06:25793const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19794 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25795const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
796 "By default, small allocations are pruned from the heap dump. This reduces "
797 "the size of the compressed trace by 100x. If pruning is disabled, the "
798 "chrome://tracing UI may be unable to take or load the trace. Save the "
799 "trace directly using chrome://memory-internals, and use other mechanisms "
800 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
801 "automatically uploaded traces will always be pruned. This only affects "
802 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56803
erikchen8bc20d82018-02-14 03:21:51804const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
805const char kOutOfProcessHeapProfilingSamplingDescription[] =
806 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22807 "10000. This results in low noise for large and/or frequent allocations ["
808 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
809 "total size of malloc-ed objects] and large and/or frequent allocations "
810 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51811
Erik Chen3303fd0232018-01-11 20:29:05812const char kOOPHPStackModeName[] =
813 "The type of stack to record for memlog heap dumps";
814const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19815 "By default, memlog heap dumps record native stacks, which requires a "
816 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55817 "pointers to work on Android. Native with thread names will add the thread "
818 "name as the first frame of each native stack. It's also possible to "
819 "record a pseudo stack using trace events as identifiers. It's also "
820 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19821const char kOOPHPStackModeMixed[] = "Mixed";
822const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55823const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19824const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05825
François Beaufort2e75f492018-02-08 20:44:46826const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47827const char kEnablePictureInPictureDescription[] =
François Beaufort106802c2018-12-18 17:46:13828 "Show Picture-in-Picture in browser context menu and video native "
829 "controls. The #enable-surfaces-for-videos flag must be enabled as well "
830 "to use it.";
Brett Wilsonf27ff602017-07-07 22:28:47831
F#m59d036e2017-09-13 07:22:17832const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
833const char kEnablePixelCanvasRecordingDescription[] =
834 "Pixel canvas recording allows the compositor to raster contents aligned "
835 "with the pixel and improves text rendering. This should be enabled when a "
836 "device is using fractional scale factor.";
837
Ella Gebee81c92018-08-14 15:51:09838const char kEnableResamplingInputEventsName[] =
839 "Enable resampling input events";
840const char kEnableResamplingInputEventsDescription[] =
841 "Predicts mouse and touch inputs position at rAF time based on previous "
842 "input";
843const char kEnableResamplingScrollEventsName[] =
844 "Enable resampling scroll events";
845const char kEnableResamplingScrollEventsDescription[] =
846 "Predicts the scroll amount at vsync time based on previous input";
847
Doug Arnettaa0bf202018-08-27 19:42:11848const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
849const char kEnableResourceLoadingHintsDescription[] =
850 "Enable using server-provided resource loading hints to provide a preview "
851 "over slow network connections.";
852
Mikel Astizb4786aa2018-11-09 22:12:09853const char kEnableSyncPseudoUSSAppListName[] =
854 "Enable pseudo-USS for APP_LIST sync.";
855const char kEnableSyncPseudoUSSAppListDescription[] =
856 "Enable new USS-based codepath for sync datatype APP_LIST.";
857
858const char kEnableSyncPseudoUSSAppsName[] = "Enable pseudo-USS for APPS sync.";
859const char kEnableSyncPseudoUSSAppsDescription[] =
860 "Enable new USS-based codepath for sync datatype APPS.";
861
862const char kEnableSyncPseudoUSSDictionaryName[] =
863 "Enable pseudo-USS for DICTIONARY sync.";
864const char kEnableSyncPseudoUSSDictionaryDescription[] =
865 "Enable new USS-based codepath for sync datatype DICTIONARY.";
866
867const char kEnableSyncPseudoUSSExtensionSettingsName[] =
868 "Enable pseudo-USS for EXTENSION_SETTINGS and APP_SETTINGS sync.";
869const char kEnableSyncPseudoUSSExtensionSettingsDescription[] =
870 "Enable new USS-based codepath for sync datatypes EXTENSION_SETTINGS and "
871 "APP_SETTINGS.";
872
873const char kEnableSyncPseudoUSSExtensionsName[] =
874 "Enable pseudo-USS for EXTENSIONS sync.";
875const char kEnableSyncPseudoUSSExtensionsDescription[] =
876 "Enable new USS-based codepath for sync datatype EXTENSIONS.";
877
878const char kEnableSyncPseudoUSSFaviconsName[] =
879 "Enable pseudo-USS for favicon sync.";
880const char kEnableSyncPseudoUSSFaviconsDescription[] =
881 "Enable new USS-based codepath for sync datatypes FAVICON_IMAGES and "
882 "FAVICON_TRACKING.";
883
884const char kEnableSyncPseudoUSSHistoryDeleteDirectivesName[] =
885 "Enable pseudo-USS for HISTORY_DELETE_DIRECTIVES sync.";
886const char kEnableSyncPseudoUSSHistoryDeleteDirectivesDescription[] =
887 "Enable new USS-based codepath for sync datatype "
888 "HISTORY_DELETE_DIRECTIVES.";
889
890const char kEnableSyncPseudoUSSPasswordsName[] =
891 "Enable pseudo-USS for PASSWORDS sync.";
892const char kEnableSyncPseudoUSSPasswordsDescription[] =
893 "Enable new USS-based codepath for sync datatype PASSWORDS (pseudo-USS).";
894
895const char kEnableSyncPseudoUSSPreferencesName[] =
896 "Enable pseudo-USS for PREFERENCES sync.";
897const char kEnableSyncPseudoUSSPreferencesDescription[] =
898 "Enable new USS-based codepath for sync datatype PREFERENCES.";
899
900const char kEnableSyncPseudoUSSPriorityPreferencesName[] =
901 "Enable pseudo-USS for PRIORITY_PREFERENCES sync.";
902const char kEnableSyncPseudoUSSPriorityPreferencesDescription[] =
903 "Enable new USS-based codepath for sync datatype PRIORITY_PREFERENCES.";
904
905const char kEnableSyncPseudoUSSSearchEnginesName[] =
906 "Enable pseudo-USS for SEARCH_ENGINES sync.";
907const char kEnableSyncPseudoUSSSearchEnginesDescription[] =
908 "Enable new USS-based codepath for sync datatype SEARCH_ENGINES.";
909
910const char kEnableSyncPseudoUSSSupervisedUsersName[] =
911 "Enable pseudo-USS for supervised users sync.";
912const char kEnableSyncPseudoUSSSupervisedUsersDescription[] =
913 "Enable new USS-based codepath for sync datatypes SUPERVISED_USER_SETTINGS "
914 "and SUPERVISED_USER_WHITELISTS.";
915
916const char kEnableSyncPseudoUSSThemesName[] =
917 "Enable pseudo-USS for THEMES sync.";
918const char kEnableSyncPseudoUSSThemesDescription[] =
919 "Enable new USS-based codepath for sync datatype THEMES.";
920
Mohamed Amir Yosef0178fa892018-07-23 17:43:52921const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
922const char kEnableSyncUSSBookmarksDescription[] =
923 "Enables the new, experimental implementation of bookmark sync";
924
Mohamed Amir Yosef3074dfc2019-02-06 18:34:43925const char kEnableSyncUSSPasswordsName[] = "Enable USS for passwords sync";
926const char kEnableSyncUSSPasswordsDescription[] =
927 "Enables the new, experimental implementation of passwords sync";
928
Mikel Astiz38837f82018-04-24 22:23:23929const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
930const char kEnableSyncUSSSessionsDescription[] =
931 "Enables the new, experimental implementation of session sync (aka tab "
932 "sync).";
933
Brett Wilsonf27ff602017-07-07 22:28:47934const char kEnableUseZoomForDsfName[] =
935 "Use Blink's zoom for device scale factor.";
936const char kEnableUseZoomForDsfDescription[] =
937 "If enabled, Blink uses its zooming mechanism to scale content for device "
938 "scale factor.";
939const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
940const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
941const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
942
Patrick Noland8ee016e2018-01-24 11:44:53943const char kEnableScrollAnchorSerializationName[] =
944 "Scroll Anchor Serialization";
945const char kEnableScrollAnchorSerializationDescription[] =
946 "Save the scroll anchor and use it to restore the scroll position when "
947 "navigating.";
948
Brad Nelson5cd500e2018-01-04 00:50:19949const char kEnableSharedArrayBufferName[] =
950 "Experimental enabled SharedArrayBuffer support in JavaScript.";
951const char kEnableSharedArrayBufferDescription[] =
952 "Enable SharedArrayBuffer support in JavaScript.";
953
Brett Wilsonf27ff602017-07-07 22:28:47954const char kEnableWasmName[] = "WebAssembly structured cloning support.";
955const char kEnableWasmDescription[] =
956 "Enable web pages to use WebAssembly structured cloning.";
957
Lei Zhang0ca70ea2018-09-07 17:51:01958const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47959 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01960const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47961 "Enable the cloud-assisted pairingless BLE protocol for use with "
962 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54963
Brett Wilsonf27ff602017-07-07 22:28:47964const char kEnableImageCaptureAPIName[] = "Image Capture API";
965const char kEnableImageCaptureAPIDescription[] =
966 "Enables the Web Platform Image Capture API: takePhoto(), "
967 "getPhotoCapabilities(), etc.";
968
Ramin Halavatic158b182018-10-18 14:04:54969const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
970const char kEnableIncognitoWindowCounterDescription[] =
971 "Shows the count of Incognito windows next to the Incognito icon on the "
972 "toolbar.";
973
Brett Wilsonf27ff602017-07-07 22:28:47974const char kEnableZeroSuggestRedirectToChromeName[] =
975 "Experimental contextual omnibox suggestion";
976const char kEnableZeroSuggestRedirectToChromeDescription[] =
977 "Change omnibox contextual suggestions to an experimental source. Note "
978 "that this is not an on/off switch for contextual omnibox and it only "
979 "applies to suggestions provided before the user starts typing a URL or a "
980 "search query (i.e. zero suggest).";
981
Clemens Hammacher0c8a15a2018-04-27 13:45:32982const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
983const char kEnableWasmBaselineDescription[] =
984 "Enables WebAssembly baseline compilation and tier up.";
985
Ben Smith24c1e5c2018-06-20 01:09:02986const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
987const char kEnableWasmThreadsDescription[] =
988 "Enables support for the WebAssembly Threads proposal. Implies "
989 "#shared-array-buffer and #enable-webassembly.";
990
Brett Wilsonf27ff602017-07-07 22:28:47991const char kExpensiveBackgroundTimerThrottlingName[] =
992 "Throttle expensive background timers";
993const char kExpensiveBackgroundTimerThrottlingDescription[] =
994 "Enables intervention to limit CPU usage of background timers to 1%.";
995
996const char kExperimentalAppBannersName[] = "Experimental app banners";
997const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38998 "Enables a new experimental app banner flow and UI. Implies "
999 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:471000
1001const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
1002const char kExperimentalCanvasFeaturesDescription[] =
1003 "Enables the use of experimental canvas features which are still in "
1004 "development.";
1005
1006const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
1007const char kExperimentalExtensionApisDescription[] =
1008 "Enables experimental extension APIs. Note that the extension gallery "
1009 "doesn't allow you to upload extensions that use experimental APIs.";
1010
Ian Clelland37a985d2018-05-04 02:43:131011const char kExperimentalProductivityFeaturesName[] =
1012 "Experimental Productivity Features";
1013const char kExperimentalProductivityFeaturesDescription[] =
1014 "Enable support for experimental developer productivity features, such as "
1015 "Layered APIs and policies for avoiding slow rendering.";
1016
Brett Wilsonf27ff602017-07-07 22:28:471017const char kExperimentalSecurityFeaturesName[] =
1018 "Potentially annoying security features";
1019const char kExperimentalSecurityFeaturesDescription[] =
1020 "Enables several security features that will likely break one or more "
1021 "pages that you visit on a daily basis. Strict mixed content checking, for "
1022 "example. And locking powerful features to secure contexts. This flag will "
1023 "probably annoy you.";
1024
1025const char kExperimentalWebPlatformFeaturesName[] =
1026 "Experimental Web Platform features";
1027const char kExperimentalWebPlatformFeaturesDescription[] =
1028 "Enables experimental Web Platform features that are in development.";
1029
1030const char kExtensionContentVerificationName[] =
1031 "Extension Content Verification";
1032const char kExtensionContentVerificationDescription[] =
1033 "This flag can be used to turn on verification that the contents of the "
1034 "files on disk for extensions from the webstore match what they're "
1035 "expected to be. This can be used to turn on this feature if it would not "
1036 "otherwise have been turned on, but cannot be used to turn it off (because "
1037 "this setting can be tampered with by malware).";
1038const char kExtensionContentVerificationBootstrap[] =
1039 "Bootstrap (get expected hashes, but do not enforce them)";
1040const char kExtensionContentVerificationEnforce[] =
1041 "Enforce (try to get hashes, and enforce them if successful)";
1042const char kExtensionContentVerificationEnforceStrict[] =
1043 "Enforce strict (hard fail if we can't get hashes)";
1044
1045const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
1046const char kExtensionsOnChromeUrlsDescription[] =
1047 "Enables running extensions on chrome:// URLs, where extensions explicitly "
1048 "request this permission.";
galinapae72e152017-05-12 13:12:281049
Brett Wilsonecb80982017-07-12 20:34:511050const char kFeaturePolicyName[] = "Feature Policy";
1051const char kFeaturePolicyDescription[] =
1052 "Enables granting and removing access to features through the "
1053 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:341054
Brett Wilsonecb80982017-07-12 20:34:511055const char kFontCacheScalingName[] = "FontCache scaling";
1056const char kFontCacheScalingDescription[] =
1057 "Reuse a cached font in the renderer to serve different sizes of font for "
1058 "faster layout.";
1059
1060const char kForceEffectiveConnectionTypeName[] =
1061 "Override effective connection type";
1062const char kForceEffectiveConnectionTypeDescription[] =
1063 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:301064 "returned by the network quality estimator. Slow 2G on Cellular returns "
1065 "Slow 2G when connected to a cellular network, and the actual estimate "
1066 "effective connection type when not on a cellular network. Previews are "
1067 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:511068const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
1069const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
1070const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:301071const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
1072 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:511073const char kEffectiveConnectionType2GDescription[] = "2G";
1074const char kEffectiveConnectionType3GDescription[] = "3G";
1075const char kEffectiveConnectionType4GDescription[] = "4G";
1076
1077const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1078const char kFillOnAccountSelectDescription[] =
1079 "Filling of passwords when an account is explicitly selected by the user "
1080 "rather than autofilling credentials on page load.";
1081
jdoerrie11c5f4f2019-02-04 18:29:181082const char kFillOnAccountSelectHttpName[] =
1083 "Fill passwords on account selection on HTTP origins";
1084const char kFillOnAccountSelectHttpDescription[] =
1085 "Filling of passwords when an account is explicitly selected by the user "
1086 "rather than autofilling credentials on page load on HTTP origins.";
1087
Brett Wilsonecb80982017-07-12 20:34:511088const char kForceTextDirectionName[] = "Force text direction";
1089const char kForceTextDirectionDescription[] =
1090 "Explicitly force the per-character directionality of UI text to "
1091 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
1092 "direction of the character language.";
1093const char kForceDirectionLtr[] = "Left-to-right";
1094const char kForceDirectionRtl[] = "Right-to-left";
1095
1096const char kForceUiDirectionName[] = "Force UI direction";
1097const char kForceUiDirectionDescription[] =
1098 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1099 "mode, overriding the default direction of the UI language.";
1100
1101const char kFramebustingName[] =
1102 "Framebusting requires same-origin or a user gesture";
1103const char kFramebustingDescription[] =
1104 "Don't permit an iframe to navigate the top level browsing context unless "
1105 "they are same-origin or the iframe is processing a user gesture.";
1106
Matt Reynolds043469f2018-05-01 22:56:581107const char kGamepadVibrationName[] = "Gamepad Vibration";
1108const char kGamepadVibrationDescription[] =
1109 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511110
Brett Wilsonecb80982017-07-12 20:34:511111const char kGpuRasterizationName[] = "GPU rasterization";
1112const char kGpuRasterizationDescription[] =
1113 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281114const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511115
Ioana Pandele1ed7ef72018-11-21 15:22:031116const char kGooglePasswordManagerName[] = "Google Password Manager UI";
1117const char kGooglePasswordManagerDescription[] =
1118 "Enables access to the Google Password Manager UI from Chrome.";
1119
Brett Wilsonecb80982017-07-12 20:34:511120const char kGoogleProfileInfoName[] = "Google profile name and icon";
1121const char kGoogleProfileInfoDescription[] =
1122 "Enables using Google information to populate the profile name and icon in "
1123 "the avatar menu.";
1124
Takumi Fujimotofb71e332018-03-31 14:04:081125const char kViewsCastDialogName[] = "Views Cast dialog";
1126const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311127 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531128 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541129 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081130
Gabrielle Paladoaebf7ca2019-01-16 07:07:061131const char kHandwritingGestureName[] = "Handwriting Gestures";
1132const char kHandwritingGestureDescription[] =
1133 "Enables handwriting gestures within the virtual keyboard";
1134
Tommy Steimel1aadd7b2019-01-18 19:39:421135const char kHardwareMediaKeyHandling[] = "Hardware Media Key Handling";
1136const char kHardwareMediaKeyHandlingDescription[] =
1137 "Enables using media keys to control the active media session. This "
1138 "requires MediaSessionService to be enabled too";
1139
Manu Cornet4a908de2018-04-09 04:32:271140const char kHideActiveAppsFromShelfName[] =
1141 "Hide running apps (that are not pinned) from the shelf";
1142const char kHideActiveAppsFromShelfDescription[] =
1143 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251144
Brett Wilsonecb80982017-07-12 20:34:511145const char kHistoryRequiresUserGestureName[] =
1146 "New history entries require a user gesture.";
1147const char kHistoryRequiresUserGestureDescription[] =
1148 "Require a user gesture to add a history entry.";
1149const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1150const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1151
Ryan Landay4242dbc22018-04-04 01:47:331152const char kHorizontalTabSwitcherAndroidName[] =
1153 "Enable horizontal tab switcher";
1154const char kHorizontalTabSwitcherAndroidDescription[] =
1155 "Changes the layout of the Android tab switcher so tabs scroll "
1156 "horizontally instead of vertically.";
1157
Matt Simmons2048b2a2018-12-20 20:12:561158const char kTabSwitcherOnReturnName[] = "Enable tab switcher on return";
1159const char kTabSwitcherOnReturnDescription[] =
1160 "Enable tab switcher on return after specified time has elapsed";
1161
Brett Wilsonecb80982017-07-12 20:34:511162const char kHostedAppQuitNotificationName[] =
1163 "Quit notification for hosted apps";
1164const char kHostedAppQuitNotificationDescription[] =
1165 "Display a notification when quitting Chrome if hosted apps are currently "
1166 "running.";
1167
1168const char kHostedAppShimCreationName[] =
1169 "Creation of app shims for hosted apps on Mac";
1170const char kHostedAppShimCreationDescription[] =
1171 "Create app shims on Mac when creating a hosted app.";
1172
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481173const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1174const char kHtmlBasedUsernameDetectorDescription[] =
1175 "Use HTML-based username detector for the password manager.";
1176
Brett Wilsonecb80982017-07-12 20:34:511177const char kIconNtpName[] = "Large icons on the New Tab page";
1178const char kIconNtpDescription[] =
1179 "Enable the experimental New Tab page using large icons.";
1180
1181const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1182const char kIgnoreGpuBlacklistDescription[] =
1183 "Overrides the built-in software rendering list and enables "
1184 "GPU-acceleration on unsupported system configurations.";
1185
Ryan Sturm8c3dbc92018-06-26 19:22:371186const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441187const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371188 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441189
Alexandre Frechetted3e1b542018-12-13 14:40:501190const char kImprovedGeoLanguageDataName[] = "Improved Geo-language Data";
1191const char kImprovedGeoLanguageDataDescription[] =
1192 "Makes the GeoLanguageModel use higher quality, more refined ULP "
1193 "geo-language data.";
1194
Brett Wilsonecb80982017-07-12 20:34:511195const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1196const char kInProductHelpDemoModeChoiceDescription[] =
1197 "Selects the In-Product Help demo mode.";
1198
1199const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1200const char kJavascriptHarmonyDescription[] =
1201 "Enable web pages to use experimental JavaScript features.";
1202
1203const char kJavascriptHarmonyShippingName[] =
1204 "Latest stable JavaScript features";
1205const char kJavascriptHarmonyShippingDescription[] =
1206 "Some web pages use legacy or non-standard JavaScript extensions that may "
1207 "conflict with the latest JavaScript features. This flag allows disabling "
1208 "support of those features for compatibility with such pages.";
1209
gogeraldfd7675d2018-06-19 22:57:351210const char kJustInTimeServiceWorkerPaymentAppName[] =
1211 "Just-in-time service worker payment app";
1212const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1213 "Allow crawling just-in-time service worker payment app when there is no "
1214 "installed service worker payment app for a payment request.";
1215
Yutaka Hiranof7f2f632017-09-06 10:40:081216const char kKeepAliveRendererForKeepaliveRequestsName[] =
1217 "Keep a renderer alive for keepalive fetch requests";
1218const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1219 "Keep a render process alive when the process has a pending fetch request "
1220 "with `keepalive' specified.";
1221
Joe Downing095fd6d2018-02-01 18:40:361222const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1223const char kKeyboardLockApiDescription[] =
1224 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1225 "specific key events and have them routed directly to the webpage when in "
1226 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1227
Brett Wilsonecb80982017-07-12 20:34:511228const char kLcdTextName[] = "LCD text antialiasing";
1229const char kLcdTextDescription[] =
1230 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1231 "(subpixel) when doing accelerated compositing.";
1232
Matt Giucac399982f2017-10-06 07:51:291233const char kLeftToRightUrlsName[] =
1234 "Render bidirectional URLs from left to right";
1235const char kLeftToRightUrlsDescription[] =
1236 "An experimental Bidi URL rendering algorithm where the URL components are "
1237 "always shown in order from left to right, regardless of any RTL "
1238 "characters. (The contents of each component are still rendered with the "
1239 "normal Bidi algorithm.)";
1240
Brett Wilsonecb80982017-07-12 20:34:511241const char kLoadMediaRouterComponentExtensionName[] =
1242 "Load Media Router Component Extension";
1243const char kLoadMediaRouterComponentExtensionDescription[] =
1244 "Loads the Media Router component extension at startup.";
1245
Mustafa Emre Acer137dc8b2018-08-29 20:38:131246const char kLookalikeUrlNavigationSuggestionsName[] =
1247 "Navigation suggestions for lookalike URLs";
1248const char kLookalikeUrlNavigationSuggestionsDescription[] =
1249 "Enable navigation suggestions for URLs that are visually similar to "
1250 "popular domains or to domains with a site engagement score.";
1251
Brett Wilsonecb80982017-07-12 20:34:511252const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1253const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511254
Lei Zhang2eca9082017-10-17 20:42:501255const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1256const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511257 "If enabled, the Incognito New Tab page uses the new material design with "
1258 "a better readable text.";
1259
spqchanb87755692018-04-05 00:46:091260const char kMediaRouterCastAllowAllIPsName[] =
1261 "Connect to Cast devices on all IP addresses";
1262const char kMediaRouterCastAllowAllIPsDescription[] =
1263 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311264 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091265
Brett Wilsonecb80982017-07-12 20:34:511266const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1267const char kMessageCenterNewStyleNotificationDescription[] =
1268 "Enables the experiment style of material-design notification";
1269
Brett Wilsonecb80982017-07-12 20:34:511270const char kNewAudioRenderingMixingStrategyName[] =
1271 "New audio rendering mixing strategy";
1272const char kNewAudioRenderingMixingStrategyDescription[] =
1273 "Use the new audio rendering mixing strategy.";
1274
1275const char kNewBookmarkAppsName[] = "The new bookmark app system";
1276const char kNewBookmarkAppsDescription[] =
1277 "Enables the new system for creating bookmark apps.";
1278
Vadym Doroshenkocd4ff782018-07-24 13:41:021279const char kNewPasswordFormParsingName[] =
1280 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241281const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021282 "Replaces existing form parsing for filling in password manager with a new "
1283 "version, currently under development. WARNING: when enabled, Password "
1284 "Manager might stop working";
1285
1286const char kNewPasswordFormParsingForSavingName[] =
1287 "New password form parsing for saving passwords";
1288const char kNewPasswordFormParsingForSavingDescription[] =
1289 "Replaces existing form parsing for saving in password manager with a new "
1290 "version, currently under development. WARNING: when enabled, Password "
1291 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241292
CJ DiMeglio7b4a199f2017-11-30 01:26:501293const char kUseSurfaceLayerForVideoName[] =
1294 "Enable the use of SurfaceLayer objects for videos.";
1295const char kUseSurfaceLayerForVideoDescription[] =
1296 "Enable compositing onto a Surface instead of a VideoLayer "
1297 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511298
1299const char kNewUsbBackendName[] = "Enable new USB backend";
1300const char kNewUsbBackendDescription[] =
1301 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341302
Sonny Sasaka2d200432018-03-22 17:43:161303const char kNewblueName[] = "Newblue";
1304const char kNewblueDescription[] =
1305 "Enables the use of newblue Bluetooth daemon.";
1306
Peter Boström7df25c72018-12-12 06:40:191307const char kNewTabLoadingAnimation[] = "New tab-loading animation";
1308const char kNewTabLoadingAnimationDescription[] =
1309 "Enables a new look for the tab-loading animation.";
1310
Peter Kasting63097912018-06-30 02:09:031311const char kNewTabButtonPosition[] = "New tab button position";
1312const char kNewTabButtonPositionDescription[] =
1313 "Controls placement of the new tab button within the tabstrip.";
1314const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1315const char kNewTabButtonPositionLeading[] = "Leading";
1316const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1317const char kNewTabButtonPositionTrailing[] = "Trailing";
1318
Egor Pasko6fed3822018-05-30 10:33:141319const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341320const char kNostatePrefetchDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:061321 "If enabled, pre-downloads resources to improve page load speed.";
vabr0215a8e2017-03-28 12:47:341322
Alex Newcomerd7b0cc42018-05-25 22:58:481323const char kNotificationIndicatorName[] = "Notification Indicators";
1324const char kNotificationIndicatorDescription[] =
1325 "Enable notification indicators, which appear on app icons when a "
1326 "notification is active. This will also enable notifications in context "
1327 "menus.";
1328
Brett Wilsonecb80982017-07-12 20:34:511329const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1330const char kNotificationsNativeFlagDescription[] =
1331 "Enable support for using the native notification toasts and notification "
1332 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341333
Valeriya Sinevich972ac122018-09-05 07:33:191334const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1335const char kUseMultiloginEndpointDescription[] =
1336 "Use Gaia OAuth multilogin for identity consistency.";
1337
Zentaro Kavanaghbad511c2017-10-18 22:29:001338#if defined(OS_POSIX)
1339const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1340const char kNtlmV2EnabledDescription[] =
1341 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1342#endif
1343
Brett Wilsonecb80982017-07-12 20:34:511344const char kOfferStoreUnmaskedWalletCardsName[] =
1345 "Google Payments card saving checkbox";
1346const char kOfferStoreUnmaskedWalletCardsDescription[] =
1347 "Show the checkbox to offer local saving of a credit card downloaded from "
1348 "the server.";
1349
1350const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1351const char kOfflineAutoReloadDescription[] =
1352 "Pages that fail to load while the browser is offline will be "
1353 "auto-reloaded when the browser is online again.";
1354
1355const char kOfflineAutoReloadVisibleOnlyName[] =
1356 "Only Auto-Reload Visible Tabs";
1357const char kOfflineAutoReloadVisibleOnlyDescription[] =
1358 "Pages that fail to load while the browser is offline will only be "
1359 "auto-reloaded if their tab is visible.";
1360
Brett Wilsonecb80982017-07-12 20:34:511361const char kOmniboxDisplayTitleForCurrentUrlName[] =
1362 "Include title for the current URL in the omnibox";
1363const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1364 "In the event that the omnibox provides suggestions on-focus, the URL of "
1365 "the current page is provided as the first suggestion without a title. "
1366 "Enabling this flag causes the title to be displayed.";
1367
Tomasz Wiszkowskic87dff12019-01-15 02:57:511368const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
1369const char kOmniboxNewAnswerLayoutDescription[] =
1370 "Modernize omnibox answers using an enhanced layout with larger icons.";
1371
Benoit Lizeab08362c2017-07-19 14:50:541372const char kOmniboxSpareRendererName[] =
1373 "Start spare renderer on omnibox focus";
1374const char kOmniboxSpareRendererDescription[] =
1375 "When the omnibox is focused, start an empty spare renderer. This can "
1376 "speed up the load of the navigation from the omnibox.";
1377
Tommy C. Lie4194b732018-09-28 22:21:511378const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1379 "Omnibox UI Hide Steady-State URL Scheme";
1380const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1381 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361382 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511383
Tommy C. Lib20aec72018-11-19 21:38:231384const char kOmniboxUIOneClickUnelideName[] = "Omnibox UI One Click Unelide";
1385const char kOmniboxUIOneClickUnelideDescription[] =
1386 "In the omnibox, undo all unelisions with a single click or focus action.";
1387
Tommy C. Lie4194b732018-09-28 22:21:511388const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1389 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1390const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1391 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361392 "Hidden portions are restored during editing.";
1393
1394const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1395 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1396const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1397 "In the omnibox, hide the path, query and ref from steady state displayed "
1398 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121399
Brett Wilsonecb80982017-07-12 20:34:511400const char kOmniboxUIMaxAutocompleteMatchesName[] =
1401 "Omnibox UI Max Autocomplete Matches";
1402
1403const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1404 "Changes the maximum number of autocomplete matches displayed in the "
1405 "Omnibox UI.";
1406
Justin Donnelly65c9e8b2017-10-01 05:15:011407const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1408const char kOmniboxUISwapTitleAndUrlDescription[] =
1409 "In the omnibox dropdown, shows titles before URLs when both are "
1410 "available.";
1411
Troy Hildebrandtb32637ca2018-02-21 23:25:091412const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1413 "Omnibox Voice Search Always Visible";
1414const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1415 "Always displays voice search icon in focused omnibox as long as voice "
1416 "search is possible";
1417
Vadym Doroshenko6b8f64d2018-11-26 15:35:391418const char kOnlyNewPasswordFormParsingName[] =
1419 "Use only new password form parsing";
1420const char kOnlyNewPasswordFormParsingDescription[] =
1421 "The old password form parsing is disabled";
1422
Mark Lieufaa1b762019-01-08 19:37:281423const char kOnTheFlyMhtmlHashComputationName[] =
1424 "On-The-Fly MHTML Hash Computation";
1425const char kOnTheFlyMhtmlHashComputationDescription[] =
1426 "Save MHTML files to the target location and calculate their content "
1427 "digests in one step.";
1428
Adrienne Walkerc87477e2018-06-06 22:28:211429const char kOopRasterizationName[] = "Out of process rasterization";
1430const char kOopRasterizationDescription[] =
1431 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1432 "Must also enable GPU rasterization";
1433
Brett Wilsonecb80982017-07-12 20:34:511434const char kOriginTrialsName[] = "Origin Trials";
1435const char kOriginTrialsDescription[] =
1436 "Enables origin trials for controlling access to feature/API experiments.";
1437
Becca Hughes930d8cd2017-10-02 11:09:121438const char kOverflowIconsForMediaControlsName[] =
1439 "Icons on Media Controls Overflow Menu";
1440const char kOverflowIconsForMediaControlsDescription[] =
1441 "Displays icons on the overflow menu of the native media controls";
1442
Brett Wilsonecb80982017-07-12 20:34:511443const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1444const char kOverlayScrollbarsDescription[] =
1445 "Enable the experimental overlay scrollbars implementation. You must also "
1446 "enable threaded compositing to have the scrollbars animate.";
1447
chaopenge8aa016b2017-08-24 15:20:191448const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1449 "Flash Overlay Scrollbars After Any Scroll Update";
1450const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1451 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1452 " must also enable Overlay Scrollbars.";
1453
chaopeng343678022017-08-24 18:45:001454const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1455 "Flash Overlay Scrollbars When Mouse Enter";
1456const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1457 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1458 " enable Overlay Scrollbars.";
1459
Daniele Castagna74ddb9c2018-06-21 22:59:021460const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1461const char kOverlayStrategiesDescription[] =
1462 "Select strategies used to promote quads to HW overlays.";
1463const char kOverlayStrategiesDefault[] = "Default";
1464const char kOverlayStrategiesNone[] = "None";
1465const char kOverlayStrategiesUnoccludedFullscreen[] =
1466 "Unoccluded fullscreen buffers (single-fullscreen)";
1467const char kOverlayStrategiesUnoccluded[] =
1468 "Unoccluded buffers (single-fullscreen,single-on-top)";
1469const char kOverlayStrategiesOccludedAndUnoccluded[] =
1470 "Occluded and unoccluded buffers "
1471 "(single-fullscreen,single-on-top,underlay)";
1472
Claudio Magni81326f92017-09-01 05:21:181473const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1474const char kUseNewAcceptLanguageHeaderDescription[] =
1475 "Adds the base language code after other corresponding language+region "
1476 "codes. This ensures that users receive content in their preferred "
1477 "language.";
1478
Brett Wilsonecb80982017-07-12 20:34:511479const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1480const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481481 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511482
1483const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1484const char kOverscrollStartThresholdDescription[] =
1485 "Changes overscroll start threshold relative to the default value.";
1486const char kOverscrollStartThreshold133Percent[] = "133%";
1487const char kOverscrollStartThreshold166Percent[] = "166%";
1488const char kOverscrollStartThreshold200Percent[] = "200%";
1489
chaopenge2b6e5f2018-05-08 16:40:451490const char kTouchpadOverscrollHistoryNavigationName[] =
1491 "Overscroll history navigation on Touchpad";
1492const char kTouchpadOverscrollHistoryNavigationDescription[] =
1493 "Allows swipe left/right from touchpad change browser navigation.";
1494
Xing Liu5400a002017-09-15 21:48:291495const char kParallelDownloadingName[] = "Parallel downloading";
1496const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061497 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291498
Brett Wilsonecb80982017-07-12 20:34:511499const char kPassiveEventListenerDefaultName[] =
1500 "Passive Event Listener Override";
1501const char kPassiveEventListenerDefaultDescription[] =
1502 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1503 "haven't requested otherwise) to be treated as passive. This will break "
1504 "touch/wheel behavior on some websites but is useful for demonstrating the "
1505 "potential performance benefits of adopting passive event listeners.";
1506const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1507const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1508
1509const char kPassiveEventListenersDueToFlingName[] =
1510 "Touch Event Listeners Passive Default During Fling";
1511const char kPassiveEventListenersDueToFlingDescription[] =
1512 "Forces touchstart, and first touchmove per scroll event listeners during "
1513 "fling to be treated as passive.";
1514
1515const char kPassiveDocumentEventListenersName[] =
1516 "Document Level Event Listeners Passive Default";
1517const char kPassiveDocumentEventListenersDescription[] =
1518 "Forces touchstart, and touchmove event listeners on document level "
1519 "targets (which haven't requested otherwise) to be treated as passive.";
1520
Sahel Sharify7400e882018-08-13 17:13:211521const char kPassiveDocumentWheelEventListenersName[] =
1522 "Document Level Wheel Event Listeners Passive Default";
1523const char kPassiveDocumentWheelEventListenersDescription[] =
1524 "Forces wheel, and mousewheel event listeners on document level targets "
1525 "(which haven't requested otherwise) to be treated as passive.";
1526
Vaclav Brozekd8a3f542017-11-16 14:21:131527const char kPasswordImportName[] = "Password import";
1528const char kPasswordImportDescription[] =
1529 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511530
Friedrich Horschige6c27742018-04-23 17:13:411531const char kPasswordsKeyboardAccessoryName[] =
1532 "Add password-related functions to keyboard accessory";
1533const char kPasswordsKeyboardAccessoryDescription[] =
1534 "Adds password generation button and toggle for the passwords bottom sheet "
1535 "to the keyboard accessory. Replaces password generation popups.";
1536
Christos Froussios6e060c42018-07-31 16:17:191537const char kPasswordsMigrateLinuxToLoginDBName[] =
1538 "Migrate passwords to \"Login Data\"";
1539const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591540 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191541 "gnome-keyring or kwallet into the profile directory.";
1542
Rouslan Solomakhinded840112018-11-02 13:27:101543const char kPerMethodCanMakePaymentQuotaName[] =
1544 "Per-method canMakePayment() quota.";
1545const char kPerMethodCanMakePaymentQuotaDescription[] =
1546 "Allow calling canMakePayment() for different payment methods, as long as "
1547 "method-specific parameters remain unchanged.";
1548
Brett Wilsonecb80982017-07-12 20:34:511549const char kPinchScaleName[] = "Pinch scale";
1550const char kPinchScaleDescription[] =
1551 "Enables experimental support for scale using pinch.";
1552
Doug Arnett620ff542018-02-06 17:54:221553const char kPreviewsAllowedName[] = "Previews Allowed";
1554const char kPreviewsAllowedDescription[] =
1555 "Allows previews to be shown subject to specific preview types being "
1556 "enabled and the client experiencing specific triggering conditions. "
1557 "May be used as a kill-switch to turn off all potential preview types.";
1558
Brett Wilsonecb80982017-07-12 20:34:511559const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1560const char kPrintPdfAsImageDescription[] =
1561 "If enabled, an option to print PDF files as images will be available in "
1562 "print preview.";
1563
1564const char kPrintPreviewRegisterPromosName[] =
1565 "Print Preview Registration Promos";
1566const char kPrintPreviewRegisterPromosDescription[] =
1567 "Enable registering unregistered cloud printers from print preview.";
1568
1569const char kProtectSyncCredentialName[] = "Autofill sync credential";
1570const char kProtectSyncCredentialDescription[] =
1571 "How the password manager handles autofill for the sync credential.";
1572
1573const char kProtectSyncCredentialOnReauthName[] =
1574 "Autofill sync credential only for transactional reauth pages";
1575const char kProtectSyncCredentialOnReauthDescription[] =
1576 "How the password manager handles autofill for the sync credential only "
1577 "for transactional reauth pages.";
1578
Mohsen Izadi93faac12017-07-29 04:45:151579const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1580const char kPullToRefreshDescription[] =
1581 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011582const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151583
Troy Hildebrandt7228ad12018-02-23 21:18:241584const char kQueryInOmniboxName[] = "Query in Omnibox";
1585const char kQueryInOmniboxDescription[] =
1586 "Only display query terms in the omnibox when viewing a search results "
1587 "page.";
1588
Brett Wilsonecb80982017-07-12 20:34:511589const char kQuicName[] = "Experimental QUIC protocol";
1590const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1591
Emily Starke8878d52018-05-11 21:27:261592const char kRecurrentInterstitialName[] =
1593 "Show a message when the same SSL error recurs";
1594const char kRecurrentInterstitialDescription[] =
1595 "Enable a special message on the SSL certificate error page when the same "
1596 "SSL error occurs repeatedly.";
1597
Brett Wilsonecb80982017-07-12 20:34:511598const char kReducedReferrerGranularityName[] =
1599 "Reduce default 'referer' header granularity.";
1600const char kReducedReferrerGranularityDescription[] =
1601 "If a page hasn't set an explicit referrer policy, setting this flag will "
1602 "reduce the amount of information in the 'referer' header for cross-origin "
1603 "requests.";
1604
Lei Zhang0ca70ea2018-09-07 17:51:011605const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581606 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011607const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581608 "This flag allows regional locales to be selected as display UI by the "
1609 "user in Language Settings. The actual locale of the system is derived "
1610 "from the user selection based on some simple fallback logic.";
1611
Christian Dullweber3cc579a22018-09-11 10:54:441612const char kRewriteLevelDBOnDeletionName[] =
1613 "Rewrite LevelDB instances after full deletions";
1614const char kRewriteLevelDBOnDeletionDescription[] =
1615 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1616
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351617const char kRendererSideResourceSchedulerName[] =
1618 "Renderer side ResourceScheduler";
1619const char kRendererSideResourceSchedulerDescription[] =
1620 "Migrate some ResourceScheduler functionalities to renderer";
1621
Brett Wilsonecb80982017-07-12 20:34:511622const char kRequestTabletSiteName[] =
1623 "Request tablet site option in the settings menu";
1624const char kRequestTabletSiteDescription[] =
1625 "Allows the user to request tablet site. Web content is often optimized "
1626 "for tablet devices. When this option is selected the user agent string is "
1627 "changed to indicate a tablet device. Web content optimized for tablets is "
1628 "received there after for the current tab.";
1629
1630const char kResetAppListInstallStateName[] =
1631 "Reset the App Launcher install state on every restart.";
1632const char kResetAppListInstallStateDescription[] =
1633 "Reset the App Launcher install state on every restart. While this flag is "
1634 "set, Chrome will forget the launcher has been installed each time it "
1635 "starts. This is used for testing the App Launcher install flow.";
1636
Kinuko Yasuda33955082018-06-19 10:14:591637const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511638const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591639 "Uses the resource load scheduler in blink to throttle resource load "
1640 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511641
Daniel Rubery91874e32019-01-10 22:12:341642const char kSafeBrowsingUseAPDownloadVerdictsName[] =
1643 "Request Advanced Protection verdicts when inspecting downloads";
1644const char kSafeBrowsingUseAPDownloadVerdictsDescription[] =
1645 "If enabled, download protection will request Advanced Protection "
1646 "verdicts from Safe Browsing. These will provide stronger protections "
1647 "from files Safe Browsing is unsure about.";
1648
Brett Wilsonecb80982017-07-12 20:34:511649const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1650const char kSafeSearchUrlReportingDescription[] =
1651 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1652
Alexei Filippov98772752018-01-27 08:26:521653const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1654const char kSamplingHeapProfilerDescription[] =
1655 "Enables native memory sampling profiler with specified rate in KiB. "
1656 "If sampling rate is not provided the default value of 128 KiB is used.";
1657
Brett Wilsonecb80982017-07-12 20:34:511658const char kSaveasMenuLabelExperimentName[] =
1659 "Switch 'Save as' menu labels to 'Download'";
1660const char kSaveasMenuLabelExperimentDescription[] =
1661 "Enables an experiment to switch menu labels that use 'Save as...' to "
1662 "'Download'.";
1663
1664const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1665const char kSavePageAsMhtmlDescription[] =
1666 "Enables saving pages as MHTML: a single text file containing HTML and all "
1667 "sub-resources.";
1668
Jeffrey Cohene49cc59c2018-10-23 16:27:281669const char kSendTabToSelfName[] = "Send tab to self";
1670const char kSendTabToSelfDescription[] =
1671 "Allows users to push tabs from Android devices to other synced "
1672 "devices, in order to easily transition those tabs to the new device ";
1673
gogeraldd5061b592017-09-06 23:39:551674const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1675const char kServiceWorkerPaymentAppsDescription[] =
1676 "Enable Service Worker applications to integrate as payment apps";
1677
momohattfc352292018-08-29 05:12:361678const char kServiceWorkerImportedScriptUpdateCheckName[] =
1679 "Enable update check for service worker importScripts() resources";
1680const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1681 "Extend byte-for-byte update check for scripts that are imported by the "
1682 "service worker script via importScripts().";
1683
Lei Zhang0ca70ea2018-09-07 17:51:011684const char kServiceWorkerServicificationName[] = "Servicified service workers";
1685const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441686 "Enable the servicified service workers. A servicified service worker can "
1687 "have direct connection from its clients, so that fetch events can be "
1688 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171689
Azeem Arshad3b1ef73122018-08-30 02:04:151690const char kServiceWorkerLongRunningMessageName[] =
1691 "Service worker long running message dispatch.";
1692const char kServiceWorkerLongRunningMessageDescription[] =
1693 "Enables long running message dispatch method for service workers. "
1694 "Messages sent with this method do not timeout, allowing the service "
1695 "worker to run indefinitely.";
1696
Brett Wilsonecb80982017-07-12 20:34:511697const char kSettingsWindowName[] = "Show settings in a window";
1698const char kSettingsWindowDescription[] =
1699 "Settings will be shown in a dedicated window instead of as a browser tab.";
1700
Manu Cornetd7ef7c52018-05-01 22:08:231701const char kShelfHoverPreviewsName[] =
1702 "Show previews of running apps when hovering over the shelf.";
1703const char kShelfHoverPreviewsDescription[] =
1704 "Shows previews of the open windows for a given running app when hovering "
1705 "over the shelf.";
1706
Naoki Fukino008a0022018-05-23 18:33:001707const char kShowAndroidFilesInFilesAppName[] =
1708 "Show Android files in Files app";
1709const char kShowAndroidFilesInFilesAppDescription[] =
1710 "Show Android files in Files app if Android is enabled on the device.";
1711
Brett Wilsonecb80982017-07-12 20:34:511712const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1713const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381714 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1715 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511716
1717const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1718const char kShowAutofillTypePredictionsDescription[] =
1719 "Annotates web forms with Autofill field type predictions as placeholder "
1720 "text.";
1721
1722const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1723const char kShowOverdrawFeedbackDescription[] =
1724 "Visualize overdraw by color-coding elements based on if they have other "
1725 "elements drawn underneath.";
1726
Shivani Sharma2d5b4b6b2019-01-08 16:07:161727const char kHistoryManipulationIntervention[] =
1728 "History Manipulation Intervention";
1729const char kHistoryManipulationInterventionDescription[] =
1730 "If a page does a client side redirect or adds to the history without a "
1731 "user gesture, then skip it on back/forward UI.";
1732
Carlos IL89128732018-04-03 17:00:251733const char kSupervisedUserCommittedInterstitialsName[] =
1734 "Enable Supervised User Committed Interstitials";
1735const char kSupervisedUserCommittedInterstitialsDescription[] =
1736 "Use committed error pages instead of transient navigation entries for "
1737 "supervised user interstitials";
1738
Brett Wilsonecb80982017-07-12 20:34:511739const char kShowSavedCopyName[] = "Show Saved Copy Button";
1740const char kShowSavedCopyDescription[] =
1741 "When a page fails to load, if a stale copy of the page exists in the "
1742 "browser cache, a button will be presented to allow the user to load that "
1743 "stale copy. The primary enabling choice puts the button in the most "
1744 "salient position on the error page; the secondary enabling choice puts it "
1745 "secondary to the reload button.";
1746const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1747const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1748const char kDisableShowSavedCopy[] = "Disable";
1749
Brett Wilsonecb80982017-07-12 20:34:511750const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1751const char kSilentDebuggerExtensionApiDescription[] =
1752 "Do not show the infobar when an extension attaches to a page via "
1753 "chrome.debugger API. This is required to debug extension background "
1754 "pages.";
1755
Tsuyoshi Horo53895ba92018-03-14 04:06:481756const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1757const char kSignedHTTPExchangeDescription[] =
1758 "Enables Origin-Signed HTTP Exchanges support which is still in "
1759 "development. Warning: Enabling this may pose a security risk.";
1760
Christopher Thompson75ff845d2018-02-01 20:12:461761const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1762const char kSimplifyHttpsIndicatorDescription[] =
1763 "Change the UI treatment for HTTPS pages.";
1764
Bret Sepulveda4f891da2018-07-16 19:10:301765const char kSingleTabMode[] = "Single-tab mode";
1766const char kSingleTabModeDescription[] =
1767 "Windows with a single tab receive a special, minimal visual treatment.";
1768
Lukasz Anforowicz738a88d2018-11-05 19:19:341769const char kSiteIsolationOptOutName[] = "Disable site isolation";
1770const char kSiteIsolationOptOutDescription[] =
1771 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571772 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1773 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221774 "isolation is force-enabled using a command line switch or using an "
1775 "enterprise policy. "
1776 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571777 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341778const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1779const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511780
Pattideade7972018-04-27 02:59:401781const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511782const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401783 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511784
Brett Wilsonecb80982017-07-12 20:34:511785const char kSmoothScrollingName[] = "Smooth Scrolling";
1786const char kSmoothScrollingDescription[] =
1787 "Animate smoothly when scrolling page content.";
1788
1789const char kSoftwareRasterizerName[] = "3D software rasterizer";
1790const char kSoftwareRasterizerDescription[] =
1791 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1792
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201793const char kSoleIntegrationName[] = "Sole integration";
1794const char kSoleIntegrationDescription[] =
1795 "Enable Sole integration for browser customization. You must restart "
1796 "the browser twice for changes to take effect.";
1797
Tommy Steimel77704be2017-08-28 22:14:401798const char kSoundContentSettingName[] = "Sound content setting";
1799const char kSoundContentSettingDescription[] =
1800 "Enable site-wide muting in content settings and tab strip context menu.";
1801
Justin Donnelly4e448cb2017-07-07 21:32:131802const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1803 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131804const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1805 "If enabled, when the user enters text in the omnibox that looks like a "
1806 "a query, any service worker associated with the search engine the query "
1807 "will be sent to is started early.";
1808
Brett Wilsonecb80982017-07-12 20:34:511809const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1810const char kSpellingFeedbackFieldTrialDescription[] =
1811 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401812
Carlos ILe5fa0a12018-08-03 16:08:321813const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1814const char kSSLCommittedInterstitialsDescription[] =
1815 "Use committed error pages instead of transient navigation entries "
1816 "for SSL interstitial error pages (i.e. certificate errors).";
1817
Shubhie Panickerfaf082ed2018-01-03 04:49:151818const char kStopInBackgroundName[] = "Stop in background";
1819const char kStopInBackgroundDescription[] =
1820 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281821 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151822
Shubhie Panicker56c99a22018-03-21 00:22:281823const char kStopNonTimersInBackgroundName[] =
1824 "Stop non-timer task queues background";
1825const char kStopNonTimersInBackgroundDescription[] =
1826 "Stop non-timer task queues, in the background, "
1827 "after a grace period.";
1828
Brett Wilsonecb80982017-07-12 20:34:511829const char kSuggestionsWithSubStringMatchName[] =
1830 "Substring matching for Autofill suggestions";
1831const char kSuggestionsWithSubStringMatchDescription[] =
1832 "Match Autofill suggestions based on substrings (token prefixes) rather "
1833 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341834
Marc Treibf65fb002018-08-03 11:17:161835const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1836const char kSyncStandaloneTransportDescription[] =
1837 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1838 "this mode, the Sync machinery can start without user opt-in, but only a "
1839 "subset of data types are supported.";
1840
Marc Treib4bd95e72018-08-30 06:30:581841const char kSyncSupportSecondaryAccountName[] =
1842 "Support secondary accounts for Sync standalone transport";
1843const char kSyncSupportSecondaryAccountDescription[] =
1844 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1845 "a signed-in account that has not been chosen as Chrome's primary account. "
1846 "This only has an effect if sync-standalone-transport is also enabled.";
1847
Jan Krcal2ff23f7c2018-09-04 16:16:131848const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1849const char kSyncUSSAutofillProfileDescription[] =
1850 "Enables the new implementation of autofill profile sync";
1851
Jan Krcale3641b92018-08-10 17:53:311852const char kSyncUSSAutofillWalletDataName[] =
1853 "Enable USS for autofill wallet data";
1854const char kSyncUSSAutofillWalletDataDescription[] =
1855 "Enables the new implementation of autofill walet data sync";
1856
Brett Wilsonecb80982017-07-12 20:34:511857const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1858const char kSyncSandboxDescription[] =
1859 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341860
Joe Downing8cbbc192018-05-14 17:37:071861const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1862const char kSystemKeyboardLockDescription[] =
1863 "Enables websites to use the keyboard.lock() API to intercept system "
1864 "keyboard shortcuts and have the events routed directly to the website "
1865 "when in fullscreen mode.";
1866
Taylor Bergquistbcc15462018-12-05 00:36:561867const char kTabGroupsName[] = "Tab Groups";
1868const char kTabGroupsDescription[] =
1869 "Allows users to organize tabs into visually distinct groups, e.g. to "
1870 "separate tabs associated with different tasks.";
1871
Caroline Risinge121c2b2018-12-03 20:19:291872const char kTabHoverCardsName[] = "Tab Hover Cards";
1873const char kTabHoverCardsDescription[] =
1874 "Enables a popup containing tab information to be visible when hovering "
1875 "over a tab. This will replace tooltips for tabs.";
1876
Dana Friedacaa8ef52019-02-08 02:20:351877const char kTabHoverCardImagesName[] = "Tab Hover Card Images";
1878const char kTabHoverCardImagesDescription[] =
1879 "Shows a preview image in tab hover cards, if tab hover cards are enabled.";
1880
Christian Dullweberd0d96f02017-09-13 09:22:511881const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1882const char kTabsInCbdDescription[] =
1883 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1884
Daniele Castagna0fead93e2018-01-10 20:40:291885const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1886const char kTintGlCompositedContentDescription[] =
1887 "Tint contents composited using GL with a shade of red to help debug and "
1888 "study overlay support.";
1889
Peter Kastingd77428352018-10-26 15:20:251890const char kTopChromeTouchUiName[] = "Touch UI Layout";
1891const char kTopChromeTouchUiDescription[] =
1892 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341893
Brett Wilsonecb80982017-07-12 20:34:511894const char kThreadedScrollingName[] = "Threaded scrolling";
1895const char kThreadedScrollingDescription[] =
1896 "Threaded handling of scroll-related input events. Disabling this will "
1897 "force all such scroll events to be handled on the main thread. Note that "
1898 "this can dramatically hurt scrolling performance of most websites and is "
1899 "intended for testing purposes only.";
1900
Dominick Ng8896b1cd2017-10-17 23:24:361901const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1902const char kTopSitesFromSiteEngagementDescription[] =
1903 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1904 "engagement.";
1905
Brett Wilsonecb80982017-07-12 20:34:511906const char kTouchAdjustmentName[] = "Touch adjustment";
1907const char kTouchAdjustmentDescription[] =
1908 "Refine the position of a touch gesture in order to compensate for touches "
1909 "having poor resolution compared to a mouse.";
1910
1911const char kTouchDragDropName[] = "Touch initiated drag and drop";
1912const char kTouchDragDropDescription[] =
1913 "Touch drag and drop can be initiated through long press on a draggable "
1914 "element.";
1915
1916const char kTouchEventsName[] = "Touch Events API";
1917const char kTouchEventsDescription[] =
1918 "Force Touch Events API feature detection to always be enabled or "
1919 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291920 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511921
1922const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1923const char kTouchSelectionStrategyDescription[] =
1924 "Controls how text selection granularity changes when touch text selection "
1925 "handles are dragged. Non-default behavior is experimental.";
1926const char kTouchSelectionStrategyCharacter[] = "Character";
1927const char kTouchSelectionStrategyDirection[] = "Direction";
1928
1929const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1930const char kTraceUploadUrlDescription[] =
1931 "This is to be used in conjunction with the enable-navigation-tracing "
1932 "flag. Please select the label that best describes the recorded traces. "
1933 "This will choose the destination the traces are uploaded to. If you are "
1934 "not sure, select other. If left empty, no traces will be uploaded.";
1935const char kTraceUploadUrlChoiceOther[] = "Other";
1936const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1937const char kTraceUploadUrlChoiceQa[] = "QA";
1938const char kTraceUploadUrlChoiceTesting[] = "Testing";
1939
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561940const char kTranslateExplicitLanguageAskName[] =
1941 "Explicitly ask for language preferences";
1942const char kTranslateExplicitLanguageAskDescription[] =
1943 "Explicitly ask the user which languages they can read on Chrome startup, "
1944 "on the first run that doesn't already have a promo.";
1945
Anthony Vallee-Dubois265c5692018-06-01 15:57:141946const char kTranslateForceTriggerOnEnglishName[] =
1947 "Select which language model to use to trigger translate on English "
1948 "content";
1949const char kTranslateForceTriggerOnEnglishDescription[] =
1950 "Force the Translate Triggering on English pages experiment to be enabled "
1951 "with the selected language model active.";
1952
Philippe Hamel7fdaa452017-09-29 17:22:491953const char kTranslateRankerEnforcementName[] =
1954 "Enforce TranslateRanker decisions";
1955const char kTranslateRankerEnforcementDescription[] =
1956 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1957 "or not Translate UI should be triggered in a given context.";
1958
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161959const char kTranslateUIName[] = "Enable Translate";
1960const char kTranslateUIDescription[] =
1961 "Enable the Translate popup when visiting webpages in other languages.";
1962
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051963const char kTreatInsecureOriginAsSecureName[] =
1964 "Insecure origins treated as secure";
1965const char kTreatInsecureOriginAsSecureDescription[] =
1966 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1967 "supplied as a comma-separated list. For the definition of secure "
1968 "contexts, "
1969 "see https://w3c.github.io/webappsec-secure-contexts/";
1970
Brett Wilsonecb80982017-07-12 20:34:511971const char kTrySupportedChannelLayoutsName[] =
1972 "Causes audio output streams to check if channel layouts other than the "
1973 "default hardware layout are available.";
1974const char kTrySupportedChannelLayoutsDescription[] =
1975 "Causes audio output streams to check if channel layouts other than the "
1976 "default hardware layout are available. Turning this on will allow the OS "
1977 "to do stereo to surround expansion if supported. May expose third party "
1978 "driver bugs, use with caution.";
1979
David Roger6762a092018-01-31 15:55:071980const char kUnifiedConsentName[] = "Unified Consent";
1981const char kUnifiedConsentDescription[] =
1982 "Enables a unified management of user consent for privacy-related "
1983 "features. This includes new confirmation screens and improved settings "
1984 "pages.";
1985
Brett Wilsonecb80982017-07-12 20:34:511986const char kUiPartialSwapName[] = "Partial swap";
1987const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1988
Chris Pickel3a227ae62017-08-24 10:47:261989const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1990const char kUseDdljsonApiDescription[] =
1991 "Enables the new ddljson API to fetch Doodles for the NTP.";
1992
Becca Hughes59c05b42017-11-03 13:11:581993const char kUseModernMediaControlsName[] = "New Media Controls";
1994const char kUseModernMediaControlsDescription[] =
1995 "Enables the new style native media controls.";
1996
Wei Li790e7a8572018-03-23 01:31:551997const char kUsePdfCompositorServiceName[] =
1998 "Use PDF compositor service for printing";
1999const char kUsePdfCompositorServiceDescription[] =
2000 "When enabled, use PDF compositor service to composite and generate PDF "
2001 "files for printing. When site isolation is enabled, disabling this will "
2002 "not stop using PDF compositor service since the service is required for "
2003 "printing out-of-process iframes correctly.";
2004
Mustaq Ahmedc646c0a2017-10-20 20:08:302005const char kUserActivationV2Name[] = "User Activation v2";
2006const char kUserActivationV2Description[] =
2007 "Enable simple user activation for APIs that are otherwise controlled by "
2008 "user gesture tokens.";
2009
Brett Wilsonecb80982017-07-12 20:34:512010const char kUserConsentForExtensionScriptsName[] =
2011 "User consent for extension scripts";
2012const char kUserConsentForExtensionScriptsDescription[] =
2013 "Require user consent for an extension running a script on the page, if "
2014 "the extension requested permission to run on all urls.";
2015
2016const char kUseSuggestionsEvenIfFewFeatureName[] =
2017 "Disable minimum for server-side tile suggestions on NTP.";
2018const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2019 "Request server-side suggestions even if there are only very few of them "
2020 "and use them for tiles on the New Tab Page.";
2021
2022const char kV8CacheOptionsName[] = "V8 caching mode.";
2023const char kV8CacheOptionsDescription[] =
2024 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512025const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2026
Michael Hablich896d52662017-10-23 15:59:572027const char kV8VmFutureName[] = "Future V8 VM features";
2028const char kV8VmFutureDescription[] =
2029 "This enables upcoming and experimental V8 VM features. "
2030 "This flag does not enable experimental JavaScript features.";
2031
Hannes Payer1130d5672018-06-05 07:37:312032const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2033const char kV8OrinocoDescription[] =
2034 "This enables the V8 Orinoco garbage collection features.";
2035
Brett Wilsonecb80982017-07-12 20:34:512036const char kVideoFullscreenOrientationLockName[] =
2037 "Lock screen orientation when playing a video fullscreen.";
2038const char kVideoFullscreenOrientationLockDescription[] =
2039 "Lock the screen orientation of the device to match video orientation when "
2040 "a video goes fullscreen. Only on phones.";
2041
2042const char kVideoRotateToFullscreenName[] =
2043 "Rotate-to-fullscreen gesture for videos.";
2044const char kVideoRotateToFullscreenDescription[] =
2045 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2046 "the video. Only on phones.";
2047
2048const char kWalletServiceUseSandboxName[] =
2049 "Use Google Payments sandbox servers";
2050const char kWalletServiceUseSandboxDescription[] =
2051 "For developers: use the sandbox service for Google Payments API calls.";
2052
Brett Wilsonecb80982017-07-12 20:34:512053const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2054const char kWebglDraftExtensionsDescription[] =
2055 "Enabling this option allows web applications to access the WebGL "
2056 "Extensions that are still in draft status.";
2057
2058const char kWebMidiName[] = "Web MIDI API";
2059const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2060
2061const char kWebPaymentsName[] = "Web Payments";
2062const char kWebPaymentsDescription[] =
2063 "Enable Web Payments API integration, a JavaScript API for merchants.";
2064
Mathieu Perreault51339b82017-07-20 17:06:052065const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2066const char kWebPaymentsModifiersDescription[] =
2067 "If the website provides modifiers in the payment request, show the custom "
2068 "total for each payment instrument, update the shopping cart when "
2069 "instruments are switched, and send modified payment method specific data "
2070 "to the payment app.";
2071
Brett Wilsonecb80982017-07-12 20:34:512072const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2073const char kWebrtcEchoCanceller3Description[] =
2074 "Experimental WebRTC echo canceller (AEC3).";
2075
Lei Zhang0a318af2018-11-14 02:19:462076const char kWebrtcH264WithOpenh264FfmpegName[] =
2077 "WebRTC H.264 software video encoder/decoder";
2078const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2079 "When enabled, an H.264 software video encoder/decoder pair is included. "
2080 "If a hardware encoder/decoder is also available it may be used instead of "
2081 "this encoder/decoder.";
2082
Qingsi Wangec2dbf942018-11-03 05:33:042083const char kWebrtcHideLocalIpsWithMdnsName[] =
2084 "Anonymize local IPs exposed by WebRTC.";
2085const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2086 "Conceal local IP addresses with mDNS hostnames.";
2087
Alex Loikob5fb1282018-08-14 10:04:402088const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2089const char kWebrtcHybridAgcDescription[] =
2090 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2091
Brett Wilsonecb80982017-07-12 20:34:512092const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2093const char kWebrtcHwDecodingDescription[] =
2094 "Support in WebRTC for decoding video streams using platform hardware.";
2095
2096const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2097const char kWebrtcHwEncodingDescription[] =
2098 "Support in WebRTC for encoding video streams using platform hardware.";
2099
2100const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2101const char kWebrtcHwH264EncodingDescription[] =
2102 "Support in WebRTC for encoding h264 video streams using platform "
2103 "hardware.";
2104
2105const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2106const char kWebrtcHwVP8EncodingDescription[] =
2107 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2108
Niels Möller090866a2018-02-13 10:55:032109const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2110 "WebRTC new encode cpu load estimator";
2111const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2112 "Enable new estimator for the encoder cpu load, for evaluation and "
2113 "testing. Intended to improve accuracy when screen casting.";
2114
Elad Alon85e0d0be2018-06-26 10:38:372115const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2116const char kWebRtcRemoteEventLogDescription[] =
2117 "Allow collecting WebRTC event logs and uploading them to Crash. "
2118 "Please note that, even if enabled, this will still require "
2119 "a policy to be set, for it to have an effect.";
2120
Brett Wilsonecb80982017-07-12 20:34:512121const char kWebrtcSrtpAesGcmName[] =
2122 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2123const char kWebrtcSrtpAesGcmDescription[] =
2124 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2125
Joachim Bauch4a41d7512017-08-23 14:24:232126const char kWebrtcSrtpEncryptedHeadersName[] =
2127 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2128const char kWebrtcSrtpEncryptedHeadersDescription[] =
2129 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2130 "for SRTP.";
2131
Brett Wilsonecb80982017-07-12 20:34:512132const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2133const char kWebrtcStunOriginDescription[] =
2134 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2135 "header.";
2136
Lei Zhang0a318af2018-11-14 02:19:462137const char kWebrtcUnifiedPlanByDefaultName[] =
2138 "WebRTC: Use Unified Plan SDP Semantics by default";
2139const char kWebrtcUnifiedPlanByDefaultDescription[] =
2140 "RTCPeerConnections generate and expect the standards compliant SDP format "
2141 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
2142 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
2143 "RTCRtpTransceiver support is also enabled in Unified Plan.";
2144
Brett Wilsonecb80982017-07-12 20:34:512145const char kWebvrName[] = "WebVR";
2146const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012147 "Enables access to experimental Virtual Reality functionality via the "
2148 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2149 "Device API. Warning: Enabling this will also allow WebVR content on "
2150 "insecure origins to access these powerful APIs, and may pose a security "
David Dorwin09448942019-01-11 23:37:302151 "risk. Controllers are exposed as Gamepads, and WebVR-specific attributes "
2152 "are exposed.";
Brett Wilsonecb80982017-07-12 20:34:512153
Brandon Jonese9d9b2b2017-12-11 22:20:112154const char kWebXrName[] = "WebXR Device API";
2155const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012156 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2157 "and Augmented Reality (AR) devices.";
2158
2159const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2160const char kWebXrGamepadSupportDescription[] =
2161 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222162 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2163 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432164
2165const char kWebXrHitTestName[] = "WebXR Hit Test";
2166const char kWebXrHitTestDescription[] =
2167 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112168
Anna Maria57ecf7592018-01-12 03:10:402169const char kWebXrOrientationSensorDeviceName[] =
2170 "WebXR orientation sensor device";
2171const char kWebXrOrientationSensorDeviceDescription[] =
2172 "When no VR platform device is available, expose a non-presenting device "
2173 "based on the device's orientation sensors, if available.";
2174
Brett Wilsonecb80982017-07-12 20:34:512175const char kZeroCopyName[] = "Zero-copy rasterizer";
2176const char kZeroCopyDescription[] =
2177 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342178
Brett Wilsonff596952017-07-14 01:06:552179// Android ---------------------------------------------------------------------
2180
2181#if defined(OS_ANDROID)
2182
2183const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2184const char kAiaFetchingDescription[] =
2185 "Enable intermediate certificate fetching when a server does not provide "
2186 "sufficient certificates to build a chain to a trusted root.";
2187
2188const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2189const char kAccessibilityTabSwitcherDescription[] =
2190 "Enable the accessibility tab switcher for Android.";
2191
Pavel Shmakov798f4742018-11-15 21:27:382192const char kAllowRemoteContextForNotificationsName[] =
2193 "Allow using remote app context for notifications";
2194const char kAllowRemoteContextForNotificationsDescription[] =
2195 "Allow using Context#createPackageContext to work around issues with status"
2196 "bar icons on certain Android M devices.";
2197
Brett Wilsonff596952017-07-14 01:06:552198const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2199const char kAndroidAutofillAccessibilityDescription[] =
2200 "Enable accessibility for autofill popup.";
2201
Khushalbb1963a2018-10-02 21:02:352202const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2203const char kAndroidSurfaceControlDescription[] =
2204 "Use the SurfaceControl API for supporting overlays on Android";
2205
Anita Woodruffbfcd1e52018-07-16 12:00:512206const char kAppNotificationStatusMessagingName[] =
2207 "App notification status messaging";
2208const char kAppNotificationStatusMessagingDescription[] =
2209 "Enables messaging in site permissions UI informing user when "
2210 "notifications are disabled for the entire app.";
2211
Brett Wilsonff596952017-07-14 01:06:552212const char kAndroidPaymentAppsName[] = "Android payment apps";
2213const char kAndroidPaymentAppsDescription[] =
2214 "Enable third party Android apps to integrate as payment apps";
2215
Miriam Gershenson8cf1397222018-01-23 22:48:292216const char kAsyncDnsName[] = "Async DNS resolver";
2217const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2218
Dan Harrington01229f82018-09-12 21:01:212219const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2220const char kAutoFetchOnNetErrorPageDescription[] =
2221 "When enabled, and navigation fails with an offline error, schedule a "
2222 "fetch of the page when online again.";
2223
Brett Wilsonff596952017-07-14 01:06:552224const char kAutofillAccessoryViewName[] =
2225 "Autofill suggestions as keyboard accessory view";
2226const char kAutofillAccessoryViewDescription[] =
2227 "Shows Autofill suggestions on top of the keyboard rather than in a "
2228 "dropdown.";
2229
2230const char kBackgroundLoaderForDownloadsName[] =
2231 "Enables background downloading of pages.";
2232const char kBackgroundLoaderForDownloadsDescription[] =
2233 "Enables downloading pages in the background in case page is not yet "
2234 "loaded in current tab.";
2235
Tibor Goldschwendt11b3cf22018-07-04 15:32:442236const char kBackgroundTaskComponentUpdateName[] =
2237 "Background Task Component Updates";
2238const char kBackgroundTaskComponentUpdateDescription[] =
2239 "Schedule component updates with BackgroundTaskScheduler";
2240
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002241const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2242const char kCCTModuleDescription[] =
2243 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2244
Michael van Ouwerkerk29a7a292018-10-09 09:20:142245const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2246const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402247 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2248 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142249
John Lin170c00b2018-11-21 15:44:252250const char kCCTModuleCustomHeaderName[] =
2251 "Chrome Custom Tabs Module Custom Header";
2252const char kCCTModuleCustomHeaderDescription[] =
2253 "Enables header customization by dynamically loaded modules in "
2254 "Chrome Custom Tabs.";
2255
alihanlivdumlu12ac4772019-01-17 17:37:182256const char kCCTModuleDexLoadingName[] = "Chrome Custom Tabs Module Dex Loading";
2257const char kCCTModuleDexLoadingDescription[] =
2258 "Enables loading Chrome Custom Tabs module code from a dex file "
2259 "provided by the module.";
2260
barkerd84051482018-11-13 14:46:562261const char kCCTModulePostMessageName[] =
2262 "Chrome Custom Tabs Module postMessage API";
2263const char kCCTModulePostMessageDescription[] =
2264 "Enables the postMessage API exposed to dynamically loaded modules in "
2265 "Chrome Custom Tabs.";
2266
Anna Malova9bb4ead2019-01-18 18:01:262267const char kCCTModuleUseIntentExtrasName[] =
2268 "Chrome Custom Tabs Module Intent Extras Usage";
2269const char kCCTModuleUseIntentExtrasDescription[] =
2270 "Enables usage of Intent's extras in Chrome Custom Tabs Module";
2271
Matthew Jones1abcb132018-07-09 17:59:462272const char kChromeDuetName[] = "Chrome Duet";
2273const char kChromeDuetDescription[] =
2274 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052275
Sarath Singapati83aef1c2017-11-16 15:54:522276const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2277const char kClearOldBrowsingDataDescription[] =
2278 "Enables clearing of browsing data which is older than a given time "
2279 "period.";
2280
Brett Wilsonff596952017-07-14 01:06:552281const char kContentSuggestionsCategoryOrderName[] =
2282 "Default content suggestions category order (e.g. on NTP)";
2283const char kContentSuggestionsCategoryOrderDescription[] =
2284 "Set default order of content suggestion categories (e.g. on the NTP).";
2285
2286const char kContentSuggestionsCategoryRankerName[] =
2287 "Content suggestions category ranker (e.g. on NTP)";
2288const char kContentSuggestionsCategoryRankerDescription[] =
2289 "Set category ranker to order categories of content suggestions (e.g. on "
2290 "the NTP).";
2291
Vitalii Iarkof52ff802017-09-14 12:34:242292const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2293const char kContentSuggestionsDebugLogDescription[] =
2294 "Enable content suggestions debug log accessible through "
2295 "snippets-internals.";
2296
Donn Denman8e58ead2017-11-04 01:44:012297const char kContextualSearchMlTapSuppressionName[] =
2298 "Contextual Search ML tap suppression";
2299const char kContextualSearchMlTapSuppressionDescription[] =
2300 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022301 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2302 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552303
2304const char kContextualSearchName[] = "Contextual Search";
2305const char kContextualSearchDescription[] =
2306 "Whether or not Contextual Search is enabled.";
2307
Donn Denman59729812018-01-09 01:27:022308const char kContextualSearchRankerQueryName[] =
2309 "Contextual Search Ranker prediction";
2310const char kContextualSearchRankerQueryDescription[] =
2311 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2312
2313const char kContextualSearchSecondTapName[] =
2314 "Contextual Search second tap triggering";
2315const char kContextualSearchSecondTapDescription[] =
2316 "Enables triggering on a second tap gesture even when Ranker would "
2317 "normally suppress that tap.";
2318
Donn Denmane9b5b7fb2018-07-24 22:19:492319const char kContextualSearchUnityIntegrationName[] =
2320 "Contextual Search integration with Unified Consent";
2321const char kContextualSearchUnityIntegrationDescription[] =
2322 "Enables integration of Tap to Search with Unified Consent.";
2323
Lei Zhang0a318af2018-11-14 02:19:462324const char kDisplayCutoutAPIName[] =
2325 "Enable support for the Display Cutout API";
2326const char kDisplayCutoutAPIDescription[] =
2327 "Enables developers to support devices that have a display cutout.";
Cathy Li2fb32bf82018-06-06 18:55:402328
Dmitry Skiba9c3efa72017-07-20 22:01:142329const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2330const char kDontPrefetchLibrariesDescription[] =
2331 "Don't prefetch libraries after loading.";
2332
Joy Ming189b0cc2017-12-08 19:42:432333const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2334const char kDownloadsLocationChangeDescription[] =
2335 "Enable changing default downloads storage location on Android.";
2336
Shakti Sahu32b2ee102018-05-17 00:04:462337const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2338const char kDownloadProgressInfoBarDescription[] =
2339 "Enables an infobar notifying users about status of current downloads.";
2340
Shakti Sahu9ec8cfd2018-07-17 13:29:292341const char kDownloadHomeV2Name[] = "Enable download home v2";
2342const char kDownloadHomeV2Description[] =
2343 "Enables the new UI for download home";
2344
Brett Wilsonff596952017-07-14 01:06:552345const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2346const char kEnableAndroidPayIntegrationV1Description[] =
2347 "Enable integration with Android Pay using the first version of the API";
2348
2349const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2350const char kEnableAndroidPayIntegrationV2Description[] =
2351 "Enable integration with Android Pay using the second version of the API";
2352
Fabio Tirelo918089a2018-10-22 21:24:082353const char kAutofillManualFallbackAndroidName[] =
2354 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2355const char kAutofillManualFallbackAndroidDescription[] =
2356 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2357 "keyboard accessory.";
2358
Fabio Tirelo315e65922018-09-05 03:35:492359const char kEnableAutofillRefreshStyleName[] =
2360 "Enable Autofill refresh style (Android)";
2361const char kEnableAutofillRefreshStyleDescription[] =
2362 "Enable modernized style for Autofill on Android";
2363
Vitalii Iarkof4ed32d2017-09-26 13:15:532364const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552365const char kEnableAndroidSpellcheckerDescription[] =
2366 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552367
Lei Tianbd5a3bf2018-02-28 19:01:162368const char kEnableCommandLineOnNonRootedName[] =
2369 "Enable command line on non-rooted devices";
2370const char kEnableCommandLineOnNoRootedDescription[] =
2371 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2372
Vitalii Iarkof4ed32d2017-09-26 13:15:532373const char kEnableContentSuggestionsNewFaviconServerName[] =
2374 "Get favicons for content suggestions from a new server.";
2375const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2376 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2377 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552378
Vitalii Iarkof4ed32d2017-09-26 13:15:532379const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2380 "Use content suggestions thumbnail dominant color.";
2381const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2382 "Use content suggestions thumbnail dominant color as a placeholder before "
2383 "the real thumbnail is fetched (requires Chrome Home).";
2384
Brett Wilsonff596952017-07-14 01:06:552385const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2386const char kEnableCustomContextMenuDescription[] =
2387 "Enables a new context menu when a link, image, or video is pressed within "
2388 "Chrome.";
2389
Becca Hughes6d73bac542018-06-18 20:38:502390const char kEnableMediaControlsExpandGestureName[] =
2391 "Enable Media Controls Expand Gesture";
2392const char kEnableMediaControlsExpandGestureDescription[] =
2393 "Enables a gesture to be used on the media controls to extend the video "
2394 "into the Display Cutout area.";
2395
Brett Wilsonff596952017-07-14 01:06:552396const char kEnableOmniboxClipboardProviderName[] =
2397 "Omnibox clipboard URL suggestions";
2398const char kEnableOmniboxClipboardProviderDescription[] =
2399 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2400 "focus in the omnibox.";
2401
Brett Wilsonff596952017-07-14 01:06:552402const char kEnableNtpAssetDownloadSuggestionsName[] =
2403 "Show asset downloads on the New Tab page";
2404const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2405 "If enabled, the list of content suggestions on the New Tab page will "
2406 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2407 "later use.";
2408
2409const char kEnableNtpBookmarkSuggestionsName[] =
2410 "Show recently visited bookmarks on the New Tab page";
2411const char kEnableNtpBookmarkSuggestionsDescription[] =
2412 "If enabled, the list of content suggestions on the New Tab page will "
2413 "contain recently visited bookmarks.";
2414
Brett Wilsonff596952017-07-14 01:06:552415const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2416 "Show offline page downloads on the New Tab page";
2417const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2418 "If enabled, the list of content suggestions on the New Tab page will "
2419 "contain pages that the user downloaded for later use.";
2420
2421const char kEnableNtpRemoteSuggestionsName[] =
2422 "Show server-side suggestions on the New Tab page";
2423const char kEnableNtpRemoteSuggestionsDescription[] =
2424 "If enabled, the list of content suggestions on the New Tab page will "
2425 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2426 "allows to override the source used to retrieve these server-side "
2427 "suggestions.";
2428
2429const char kEnableNtpSnippetsVisibilityName[] =
2430 "Make New Tab Page Snippets more visible.";
2431const char kEnableNtpSnippetsVisibilityDescription[] =
2432 "If enabled, the NTP snippets will become more discoverable with a larger "
2433 "portion of the first card above the fold.";
2434
2435const char kEnableNtpSuggestionsNotificationsName[] =
2436 "Notify about new content suggestions available at the New Tab page";
2437const char kEnableNtpSuggestionsNotificationsDescription[] =
2438 "If enabled, notifications will inform about new content suggestions on "
2439 "the New Tab page.";
2440
Brett Wilsonff596952017-07-14 01:06:552441const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2442const char kEnableOfflinePreviewsDescription[] =
2443 "Enable showing offline page previews on slow networks.";
2444
2445const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2446const char kEnableOskOverscrollDescription[] =
2447 "Enable OSK overscroll support. With this flag on, the OSK will only "
2448 "resize the visual viewport.";
2449
Brett Wilsonff596952017-07-14 01:06:552450const char kEnableWebNfcName[] = "WebNFC";
2451const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2452
gogeraldf3cbb422017-07-26 14:37:122453const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2454 "Enable Web Payments method section order V2.";
2455const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2456 "Enable this option to display payment method section above address "
2457 "section instead of below it.";
2458
Donn Denmanffaeaa32018-10-12 17:37:532459const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2460const char kEphemeralTabDescription[] =
2461 "Enable a 'sneak peek' at a linked page in an overlay.";
2462
Lei Zhang0a318af2018-11-14 02:19:462463const char kExploreSitesName[] = "Explore websites";
2464const char kExploreSitesDescription[] =
2465 "Enables portal from new tab page to explore websites.";
2466
Xing Liu7d57dd32019-01-20 02:34:182467const char kForegroundNotificationManagerName[] =
2468 "Foreground notification manager";
2469const char kForegroundNotificationManagerDescription[] =
2470 "Enable foreground notification manager to handle foreground service and "
2471 "notification.";
2472
Jinsuk Kim459ee142018-11-28 06:27:312473const char kGestureNavigationName[] = "History navigation with gesture";
2474const char kGestureNavigationDescription[] =
2475 "Enable history navigation with horizontal gesture.";
2476
Raymes Khoury582b43132017-12-12 23:54:302477const char kGrantNotificationsToDSEName[] =
2478 "Grant notifications to the Default Search Engine";
2479const char kGrantNotificationsToDSENameDescription[] =
2480 "Automatically grant the notifications permission to the Default Search "
2481 "Engine";
2482
Daniel Parke74fcf862018-03-27 18:05:452483const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512484const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452485
Yafei Duanbb7663f32018-07-17 01:33:152486const char kHomepageTileName[] =
2487 "Enable Homepage tile shown in Suggested Tiles";
2488const char kHomepageTileDescription[] =
2489 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2490 "used for homepage. It will not have an effect when NTPButton is disabled.";
2491
Jian Li4b252642018-07-23 19:49:072492const char kIncognitoStringsName[] = "Alternate incognito strings";
2493const char kIncognitoStringsDescription[] =
2494 "Show alternate incognito strings if enabled.";
2495
Theresa920e0ed2018-03-07 18:12:442496const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152497 "Use the interest feed to render content suggestions. Currently "
2498 "content "
Theresa920e0ed2018-03-07 18:12:442499 "suggestions are shown on the New Tab Page.";
2500const char kInterestFeedContentSuggestionsName[] =
2501 "Interest Feed Content Suggestions";
2502
Brett Wilsonff596952017-07-14 01:06:552503const char kKeepPrefetchedContentSuggestionsName[] =
2504 "Keep prefetched content suggestions";
2505const char kKeepPrefetchedContentSuggestionsDescription[] =
2506 "If enabled, some of prefetched content suggestions are not replaced by "
2507 "the new fetched suggestions.";
2508
Leo Zhang051b75482017-12-20 03:28:302509const char kLanguagesPreferenceName[] = "Language Settings";
2510const char kLanguagesPreferenceDescription[] =
2511 "Enable this option for Language Settings feature on Android.";
2512
Brett Wilsonff596952017-07-14 01:06:552513const char kLsdPermissionPromptName[] =
2514 "Location Settings Dialog Permission Prompt";
2515const char kLsdPermissionPromptDescription[] =
2516 "Whether to use the Google Play Services Location Settings Dialog "
2517 "permission dialog.";
2518
Amirhossein Simjour97b4154f2018-02-20 03:49:592519const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2520const char kModalPermissionDialogViewDescription[] =
2521 "Enable this option to use ModalDialogManager for permission Dialogs.";
2522
Brett Wilsonff596952017-07-14 01:06:552523const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2524const char kMediaScreenCaptureDescription[] =
2525 "Enable this option for experimental ScreenCapture feature on Android.";
2526
2527const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2528const char kModalPermissionPromptsDescription[] =
2529 "Whether to use permission dialogs in place of permission infobars.";
2530
Finnur Thorarinssonc1488fc62018-07-09 19:21:572531const char kNewContactsPickerName[] = "Enable new contacts picker";
2532const char kNewContactsPickerDescription[] =
2533 "Activates the new picker for selecting contacts.";
2534
Dan Harrington541db9e2018-07-30 18:36:302535const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2536const char kNewNetErrorPageUIDescription[] =
2537 "Selects which new UI experience to show on the net-error (Dino) page";
2538
Brett Wilsonff596952017-07-14 01:06:552539const char kNewPhotoPickerName[] = "Enable new Photopicker";
2540const char kNewPhotoPickerDescription[] =
2541 "Activates the new picker for selecting photos.";
2542
2543const char kNoCreditCardAbort[] = "No Credit Card Abort";
2544const char kNoCreditCardAbortDescription[] =
2545 "Whether or not the No Credit Card Abort is enabled.";
2546
Daniel Park990d0992018-05-18 22:12:512547const char kNtpButtonName[] = "Enable NTP Button";
2548const char kNtpButtonDescription[] =
2549 "Displays a New Tab Page button in the toolbar if enabled.";
2550
Brett Wilsonff596952017-07-14 01:06:552551const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2552const char kOfflineBookmarksDescription[] =
2553 "Enable saving bookmarked pages for offline viewing.";
2554
Jian Liade82832018-09-06 22:31:412555const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2556const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2557 "Always do http probe to detect network connectivity for offline indicator "
2558 "as opposed to just taking the connection state from the system."
2559 "Used for testing.";
2560
2561const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2562const char kOfflineIndicatorChoiceDescription[] =
2563 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322564
Brett Wilsonff596952017-07-14 01:06:552565const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2566const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2567
2568const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2569const char kOfflinePagesCtV2Description[] =
2570 "V2 features include attributing pages to the app that initiated the "
2571 "custom tabs, and being able to query for pages by page attribution.";
2572
Cathy Li7311d792018-04-05 00:34:162573const char kOfflinePagesCTSuppressNotificationsName[] =
2574 "Disable download complete notification for whitelisted CCT apps.";
2575const char kOfflinePagesCTSuppressNotificationsDescription[] =
2576 "Disable download complete notification for page downloads originating "
2577 "from a CCT app whitelisted to show their own download complete "
2578 "notification.";
2579
Candice Sy74fa7a352018-03-30 23:46:492580const char kOfflinePagesDescriptiveFailStatusName[] =
2581 "Enables descriptive failed download status text.";
2582const char kOfflinePagesDescriptiveFailStatusDescription[] =
2583 "Enables failed download status text in notifications and Downloads Home "
2584 "to state the reason the request failed if the failure is actionable.";
2585
2586const char kOfflinePagesDescriptivePendingStatusName[] =
2587 "Enables descriptive pending download status text.";
2588const char kOfflinePagesDescriptivePendingStatusDescription[] =
2589 "Enables pending download status text in notifications and Downloads Home "
2590 "to state the reason the request is pending.";
2591
2592const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2593 "Enables offline pages in the downloads home to be opened in CCT.";
2594const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2595 "When enabled offline pages launched from the Downloads Home will be "
2596 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2597
Carlos Knippschild09272ecd2017-12-09 03:29:362598const char kOfflinePagesLimitlessPrefetchingName[] =
2599 "Removes resource usage limits for the prefetching of offline pages.";
2600const char kOfflinePagesLimitlessPrefetchingDescription[] =
2601 "Allows the prefetching of suggested offline pages to ignore resource "
2602 "usage limits. This allows it to completely ignore data usage limitations "
2603 "and allows downloads to happen with any kind of connection.";
2604
Brett Wilsonff596952017-07-14 01:06:552605const char kOfflinePagesLoadSignalCollectingName[] =
2606 "Enables collecting load timing data for offline page snapshots.";
2607const char kOfflinePagesLoadSignalCollectingDescription[] =
2608 "Enables loading completeness data collection while writing an offline "
2609 "page. This data is collected in the snapshotted offline page to allow "
2610 "data analysis to improve deciding when to make the offline snapshot.";
2611
2612const char kOfflinePagesPrefetchingName[] =
2613 "Enables suggested offline pages to be prefetched.";
2614const char kOfflinePagesPrefetchingDescription[] =
2615 "Enables suggested offline pages to be prefetched, so useful content is "
2616 "available while offline.";
2617
Pete Williamson7845dff2017-09-20 11:06:192618const char kOfflinePagesResourceBasedSnapshotName[] =
2619 "Enables offline page snapshots to be based on percentage of page loaded.";
2620const char kOfflinePagesResourceBasedSnapshotDescription[] =
2621 "Enables offline page snapshots to use a resource percentage based "
2622 "approach for determining when the page is loaded as opposed to a time "
2623 "based approach";
2624
Collin Baker17f92a52017-07-19 21:41:252625const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2626const char kOfflinePagesRenovationsDescription[] =
2627 "Enables offline page renovations which correct issues with dynamic "
2628 "content that occur when offlining pages that use JavaScript.";
2629
Brett Wilsonff596952017-07-14 01:06:552630const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2631const char kOfflinePagesSharingDescription[] =
2632 "Enables the saved offline pages to be shared via other applications.";
2633
Yafei Duan36b4b5b2018-08-07 00:40:032634const char kOfflinePagesLivePageSharingName[] =
2635 "Enables live page sharing of offline pages";
2636const char kOfflinePagesLivePageSharingDescription[] =
2637 "Enables to share current loaded page as offline page by saving as MHTML "
2638 "first.";
2639
Cathy Lie0d88762018-04-12 08:03:012640const char kOfflinePagesShowAlternateDinoPageName[] =
2641 "Enable alternate dino page with more user capabilities.";
2642const char kOfflinePagesShowAlternateDinoPageDescription[] =
2643 "Enables the dino page to show more buttons and offer existing offline "
2644 "content.";
2645
Brett Wilsonff596952017-07-14 01:06:552646const char kOfflinePagesSvelteConcurrentLoadingName[] =
2647 "Enables concurrent background loading on svelte.";
2648const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2649 "Enables concurrent background loading (or downloading) of pages on "
2650 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2651 "happen when the svelte device is idle.";
2652
2653const char kOffliningRecentPagesName[] =
2654 "Enable offlining of recently visited pages";
2655const char kOffliningRecentPagesDescription[] =
2656 "Enable storing recently visited pages locally for offline use. Requires "
2657 "Offline Pages to be enabled.";
2658
Lei Zhang2eca9082017-10-17 20:42:502659const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2660const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552661 "Enable Pay with Google integration into Web Payments with API version "
2662 "'1'.";
2663
Matthew Jonesa88b95852017-11-08 23:13:502664const char kProgressBarThrottleName[] = "Android progress update throttling.";
2665const char kProgressBarThrottleDescription[] =
2666 "Limit the maximum progress update to make progress appear smoother.";
2667
Brett Wilsonff596952017-07-14 01:06:552668const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2669const char kPullToRefreshEffectDescription[] =
2670 "Page reloads triggered by vertically overscrolling content.";
2671
Piotr Swigon7c296ef2017-08-29 04:32:002672const char kPwaImprovedSplashScreenName[] =
2673 "Improved Splash Screen for standalone PWAs";
2674const char kPwaImprovedSplashScreenDescription[] =
2675 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2676 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492677const char kPwaPersistentNotificationName[] =
2678 "Persistent notification in standalone PWA";
2679const char kPwaPersistentNotificationDescription[] =
2680 "Enables a persistent Android notification for standalone PWAs";
2681
Brett Wilsonff596952017-07-14 01:06:552682const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2683const char kReaderModeHeuristicsDescription[] =
2684 "Determines what pages the Reader Mode infobar is shown on.";
2685const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2686const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2687const char kReaderModeHeuristicsAllArticles[] = "All articles";
2688const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2689const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2690
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182691const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2692const char kReaderModeInCCTDescription[] =
2693 "Open Reader Mode in Chrome Custom Tabs.";
2694
Varun Khaneja2a8229f2019-01-12 00:57:262695const char kSafeBrowsingTelemetryForApkDownloadsName[] =
2696 "Send some telemetry for APK downloads for extended reporting users";
2697const char kSafeBrowsingTelemetryForApkDownloadsDescription[] =
2698 "If enabled, sends some information about the source and hash of the "
2699 "contents of any APK files downloaded by a user who has opted into Safe "
2700 "Browsing Extended Reporting already.";
2701
Varun Khaneja80712a82018-10-12 23:34:592702const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2703 "Use local Safe Browsing blacklists";
2704const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2705 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2706 "process to check the Safe Browsing reputation of URLs without calling "
2707 "into GmsCore for every URL.";
2708
Matthew Jones53114262018-12-12 16:36:472709const char kSearchReadyOmniboxName[] = "Search Ready Omnibox";
2710const char kSearchReadyOmniboxDescription[] =
2711 "Clears the omnibox and adds a suggestion item to share, copy, or edit the "
2712 "URL.";
2713
Brett Wilsonff596952017-07-14 01:06:552714const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2715const char kSetMarketUrlForTestingDescription[] =
2716 "When enabled, sets the market URL for use in testing the update menu "
2717 "item.";
2718
2719const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2720const char kSpannableInlineAutocompleteDescription[] =
2721 "A new type of inline autocomplete for the omnibox that works with "
2722 "keyboards that compose text.";
2723
Theresaeea05a12018-05-09 21:01:592724const char kSiteExplorationUiName[] = "Site Exploration UI";
2725const char kSiteExplorationUiDescription[] =
2726 "Show site suggestions in the Exploration UI";
2727
Lei Zhang0a318af2018-11-14 02:19:462728const char kStrictSiteIsolationName[] = "Strict site isolation";
2729const char kStrictSiteIsolationDescription[] =
2730 "Security mode that enables site isolation for all sites (SitePerProcess). "
2731 "In this mode, each renderer process will contain pages from at most one "
2732 "site, using out-of-process iframes when needed. "
2733 "Check chrome://process-internals to see the current isolation mode. "
2734 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
2735 "default. Here, 'Disabled' is a legacy value that actually means "
2736 "'Default,' in which case site isolation may be already enabled based on "
2737 "platform, enterprise policy, or field trial. See also "
2738 "#site-isolation-trial-opt-out for how to disable site isolation for "
2739 "testing.";
2740
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182741const char kTranslateAndroidManualTriggerName[] =
2742 "Enable manual translate trigger";
2743const char kTranslateAndroidManualTriggerDescription[] =
2744 "Show a menu item in the main menu that triggers page translation.";
2745
Brett Wilsonff596952017-07-14 01:06:552746const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2747const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442748 "When enabled, a badge will be shown on the app menu button if the update "
2749 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552750
2751const char kUpdateMenuItemCustomSummaryDescription[] =
2752 "When this flag and the force show update menu item flag are enabled, a "
2753 "custom summary string will be displayed below the update menu item.";
2754const char kUpdateMenuItemCustomSummaryName[] =
2755 "Update menu item custom summary";
2756
Tommy Nyquist3c02e592018-10-18 23:36:442757const char kUpdateMenuTypeName[] =
2758 "Forces the update menu type to a specific type";
2759const char kUpdateMenuTypeDescription[] =
2760 "When set, forces the update type to be a specific one, which impacts "
2761 "the app menu badge and menu item for updates.";
2762const char kUpdateMenuTypeNone[] = "None";
2763const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2764const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
David Trainor4d86fd4e2019-01-24 21:40:282765const char kUpdateMenuTypeInlineUpdateAvailable[] = "Inline Update Available";
2766const char kUpdateMenuTypeInlineUpdateDownloading[] =
2767 "Inline Update Downloading";
2768const char kUpdateMenuTypeInlineUpdateReady[] = "Inline Update Ready";
2769const char kUpdateMenuTypeInlineUpdateFailed[] = "Inline Update Failed";
Brett Wilsonff596952017-07-14 01:06:552770
Marc Treib93af46a2017-08-23 13:30:002771const char kThirdPartyDoodlesName[] =
2772 "Enable Doodles for third-party search engines";
2773const char kThirdPartyDoodlesDescription[] =
2774 "Enables fetching and displaying Doodles on the NTP for third-party search "
2775 "engines.";
2776
Klaus Weidneraaf697f2018-01-18 20:07:362777const char kWebXrRenderPathName[] = "WebXR presentation render path";
2778const char kWebXrRenderPathDescription[] =
2779 "Render path to use for WebXR presentation (including WebVR)";
2780const char kWebXrRenderPathChoiceClientWaitDescription[] =
2781 "ClientWait (Baseline)";
2782const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2783 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072784const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2785 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362786
Becky Zhou65584142019-01-10 18:22:292787#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2788
2789const char kAndroidNightModeName[] = "Enable night mode based on user settings";
2790const char kAndroidNightModeDescription[] =
2791 "If enabled, user can enable night mode through settings.";
2792
2793#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2794
Brett Wilson7b44537e2017-08-18 01:38:282795// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552796
Brett Wilson7b44537e2017-08-18 01:38:282797#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482798
Brett Wilson7b44537e2017-08-18 01:38:282799const char kAccountConsistencyName[] =
2800 "Identity consistency between browser and cookie jar";
2801const char kAccountConsistencyDescription[] =
2802 "When enabled, the browser manages signing in and out of Google accounts.";
2803const char kAccountConsistencyChoiceMirror[] = "Mirror";
2804const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342805
Reka Normana11e57fc2019-01-29 21:56:582806const char kAppManagementName[] = "Enable App Management page";
2807const char kAppManagementDescription[] =
2808 "Shows the new app management page at chrome://apps.";
2809
Tommy Martino3fa3df52018-08-20 21:45:442810const char kAutofillDropdownLayoutName[] =
2811 "Autofill Dropdown Layout Experiment";
2812const char kAutofillDropdownLayoutDescription[] =
2813 "Alternate visual designs for the Autofill dropdown.";
2814
Chris Pickel3a227ae62017-08-24 10:47:262815const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2816const char kDoodlesOnLocalNtpDescription[] =
2817 "Show doodles on the local New Tab page if Google is the default search "
2818 "engine.";
2819
Kyle Milkaedb39f52018-11-21 19:53:072820const char kSearchSuggestionsOnLocalNtpName[] =
2821 "Enable search suggestions on the local NTP";
2822const char kSearchSuggestionsOnLocalNtpDescription[] =
2823 "Show search suggestions on the local New Tab page if Google is the "
2824 "default search engine.";
2825
2826const char kPromosOnLocalNtpName[] = "Enable promos on the local NTP";
2827const char kPromosOnLocalNtpDescription[] =
2828 "Show promos on the local New Tab page if Google is the "
2829 "default search engine.";
2830
Lei Zhang0a318af2018-11-14 02:19:462831const char kEnableWebAuthenticationBleSupportName[] =
2832 "Web Authentication API BLE support";
2833const char kEnableWebAuthenticationBleSupportDescription[] =
2834 "Enable support for using Web Authentication API via Bluetooth security "
2835 "keys";
Sebastien Marchandd33f7dc2018-06-22 22:07:062836
Sebastien Marchandd33f7dc2018-06-22 22:07:062837const char kEnableWebAuthenticationTestingAPIName[] =
2838 "Web Authentication Testing API";
2839const char kEnableWebAuthenticationTestingAPIDescription[] =
2840 "Enable Web Authentication Testing API support, which disconnects the API "
2841 "implementation from the real world, and allows configuring virtual "
2842 "authenticator devices for testing";
2843
Jeffrey Cohenf04130a42018-08-29 00:22:272844const char kHappinessTrackingSurveysForDesktopName[] =
2845 "Happiness Tracking Surveys";
2846const char kHappinessTrackingSurveysForDesktopDescription[] =
2847 "Enable showing Happiness Tracking Surveys to users on Desktop";
2848
Travis Skarebcdb5ed32018-08-17 01:49:402849const char kOmniboxDriveSuggestionsName[] =
2850 "Omnibox Google Drive Document suggestions";
2851const char kOmniboxDriveSuggestionsDescriptions[] =
2852 "Display suggestions for Google Drive documents in the omnibox when Google "
2853 "is the default search engine.";
2854
Kevin Bailey9ec05532019-01-31 23:01:332855const char kOmniboxExperimentalKeywordModeName[] =
2856 "Omnibox Experimental Keyword Mode";
2857const char kOmniboxExperimentalKeywordModeDescription[] =
2858 "Enables various experimental features related to keyword mode, its "
2859 "suggestions and layout";
2860
Lei Zhang0a318af2018-11-14 02:19:462861const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2862const char kOmniboxPedalSuggestionsDescription[] =
2863 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2864 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2865 "Pedals accelerate actions within Chrome by detecting user intent and "
2866 "offering direct access to the end goal.";
2867
Orin Jaworski04c08b42018-07-11 02:39:562868const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2869const char kOmniboxReverseAnswersDescription[] =
2870 "Display answers with rows reversed (swapped); except definitions. Has no "
2871 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2872 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2873
Lei Zhang0a318af2018-11-14 02:19:462874const char kOmniboxRichEntitySuggestionsName[] =
2875 "Omnibox rich entity suggestions";
2876const char kOmniboxRichEntitySuggestionsDescription[] =
2877 "Display entity suggestions using images and an enhanced layout; showing "
2878 "more context and descriptive text about the entity. Has no effect unless "
2879 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2880 "flag is set to Refresh or Touchable Refresh.";
2881
Kevin Bailey898669972017-11-06 15:34:492882const char kOmniboxTabSwitchSuggestionsName[] =
2883 "Omnibox tab switch suggestions";
2884const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212885 "Enable suggestions for switching to open tabs within the Omnibox. "
2886 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2887 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492888
krbcc621412017-06-01 19:40:282889const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2890const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192891 "Enable receiving tail suggestions, a type of search suggestion based on "
2892 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342893
Sebastien Marchandd33f7dc2018-06-22 22:07:062894const char kPageAlmostIdleName[] = "Page Almost Idle";
2895const char kPageAlmostIdleDescription[] =
2896 "Make session restore use a definition of loading that waits for CPU and "
2897 "network quiescence.";
2898
2899const char kProactiveTabFreezeAndDiscardName[] =
2900 "Proactive Tab Freeze and Discard";
2901const char kProactiveTabFreezeAndDiscardDescription[] =
2902 "Enables proactive tab freezing and discarding. This requires "
2903 "#enable-page-almost-idle.";
2904
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272905const char kShowManagedUiName[] = "Show managed UI for managed users";
2906const char kShowManagedUiDescription[] =
2907 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2908 "message in the app menu and on some chrome:// pages.";
2909
Sebastien Marchandd33f7dc2018-06-22 22:07:062910const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2911const char kSiteCharacteristicsDatabaseDescription[] =
2912 "Records usage of some features in a database while a tab is in background "
2913 "(title/favicon update, audio playback or usage of non-persistent "
2914 "notifications).";
2915
Brett Wilson7b44537e2017-08-18 01:38:282916const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2917const char kUseGoogleLocalNtpDescription[] =
2918 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322919
Brett Wilson7b44537e2017-08-18 01:38:282920#if defined(GOOGLE_CHROME_BUILD)
2921
2922const char kGoogleBrandedContextMenuName[] =
2923 "Google branding in the context menu";
2924const char kGoogleBrandedContextMenuDescription[] =
2925 "Shows a Google icon next to context menu items powered by Google "
2926 "services.";
2927
2928#endif // !defined(GOOGLE_CHROME_BUILD)
2929
2930#endif // !defined(OS_ANDROID)
2931
2932// Windows ---------------------------------------------------------------------
2933
2934#if defined(OS_WIN)
2935
David Bienvenud0ddda32018-11-01 16:59:162936const char kCalculateNativeWinOcclusionName[] =
2937 "Calculate window occlusion on Windows";
2938const char kCalculateNativeWinOcclusionDescription[] =
2939 "Calculate window occlusion on Windows will be used in the future "
2940 "to throttle and potentially unload foreground tabs in occluded windows";
2941
Brett Wilson7b44537e2017-08-18 01:38:282942const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2943const char kCloudPrintXpsDescription[] =
2944 "XPS enables advanced options for classic printers connected to the Cloud "
2945 "Print with Chrome. Printers must be re-connected after changing this "
2946 "flag.";
2947
Frank Liberato754d14f2019-01-30 23:31:172948const char kD3D11VideoDecoderName[] = "D3D11 Video Decoder";
2949const char kD3D11VideoDecoderDescription[] =
2950 "Enables D3D11VideoDecoder for hardware accelerated video decoding.";
2951
Brett Wilson7b44537e2017-08-18 01:38:282952const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2953const char kDisablePostscriptPrintingDescription[] =
2954 "Disables PostScript generation when printing to PostScript capable "
2955 "printers, and uses EMF generation in its place.";
2956
2957const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2958const char kEnableAppcontainerDescription[] =
2959 "Enables the use of an AppContainer on sandboxed processes to improve "
2960 "security.";
2961
James Forshawfd0ce342018-02-14 09:55:392962const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2963const char kEnableGpuAppcontainerDescription[] =
2964 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2965 "improve security.";
2966
Brett Wilson7b44537e2017-08-18 01:38:282967const char kGdiTextPrinting[] = "GDI Text Printing";
2968const char kGdiTextPrintingDescription[] =
2969 "Use GDI to print text as simply text";
2970
Olli Etuaho122321192018-09-07 10:15:292971const char kUseAngleName[] = "Choose ANGLE graphics backend";
2972const char kUseAngleDescription[] =
2973 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2974 "computers by default. Using the OpenGL driver as the graphics backend may "
2975 "result in higher performance in some graphics-heavy applications, "
2976 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2977 "video playback.";
2978
2979const char kUseAngleDefault[] = "Default";
2980const char kUseAngleGL[] = "OpenGL";
2981const char kUseAngleD3D11[] = "D3D11";
2982const char kUseAngleD3D9[] = "D3D9";
2983
Brett Wilson7b44537e2017-08-18 01:38:282984const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2985const char kUseWinrtMidiApiDescription[] =
2986 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2987 "later).";
2988
2989const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2990const char kWindows10CustomTitlebarDescription[] =
2991 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2992 "deferring to Windows.";
2993
2994#endif // defined(OS_WIN)
2995
2996// Mac -------------------------------------------------------------------------
2997
2998#if defined(OS_MACOSX)
2999
Brett Wilson7b44537e2017-08-18 01:38:283000const char kContentFullscreenName[] = "Improved Content Fullscreen";
3001const char kContentFullscreenDescription[] =
3002 "Fullscreen content window detaches from main browser window and goes to "
3003 "a new space without moving or changing the original browser window.";
3004
Brett Wilson7b44537e2017-08-18 01:38:283005const char kHostedAppsInWindowsName[] =
3006 "Allow hosted apps to be opened in windows";
3007const char kHostedAppsInWindowsDescription[] =
3008 "Allows hosted apps to be opened in windows instead of being limited to "
3009 "tabs.";
3010
Christopher Cameron57dee5a42018-09-25 01:20:083011const char kCreateAppWindowsInAppShimProcessName[] =
3012 "Create native windows in the app process";
3013const char kCreateAppWindowsInAppShimProcessDescription[] =
3014 "Create native windows the app shim process, instead of of the browser "
3015 "process.";
3016
Lei Zhange065b572018-12-11 08:00:413017const char kEnableCustomMacPaperSizesName[] = "Enable custom paper sizes";
3018const char kEnableCustomMacPaperSizesDescription[] =
3019 "Allow use of custom paper sizes in Print Preview.";
3020
Lei Zhang2eca9082017-10-17 20:42:503021const char kMacTouchBarName[] = "Hardware Touch Bar";
3022const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283023
Greg Kerr32483d1c2018-12-18 02:29:143024const char kMacV2GPUSandboxName[] = "Mac V2 GPU Sandbox";
3025const char kMacV2GPUSandboxDescription[] =
3026 "Controls whether the GPU process on macOS uses the V1 or V2 sandbox.";
3027
Brett Wilson7b44537e2017-08-18 01:38:283028const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3029const char kMacViewsNativeAppWindowsDescription[] =
3030 "Controls whether to use Toolkit-Views based Chrome App windows.";
3031
3032const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3033const char kMacViewsTaskManagerDescription[] =
3034 "Controls whether to use the Toolkit-Views based Task Manager.";
3035
Brett Wilson7b44537e2017-08-18 01:38:283036#endif
3037
3038// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343039
3040#if defined(OS_CHROMEOS)
3041
Brett Wilson7b44537e2017-08-18 01:38:283042const char kAcceleratedMjpegDecodeName[] =
3043 "Hardware-accelerated mjpeg decode for captured frame";
3044const char kAcceleratedMjpegDecodeDescription[] =
3045 "Enable hardware-accelerated mjpeg decode for captured frame where "
3046 "available.";
vabr0215a8e2017-03-28 12:47:343047
Brett Wilson7b44537e2017-08-18 01:38:283048const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3049const char kAllowTouchpadThreeFingerClickDescription[] =
3050 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343051
Reka Normana11e57fc2019-01-29 21:56:583052const char kAppServiceAshName[] = "App Service Ash";
3053const char kAppServiceAshDescription[] =
3054 "Use the App Service to provide data to the Ash UI, such as the shelf and "
3055 "app list.";
3056
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523057const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3058const char kArcAvailableForChildDescription[] =
3059 "Allow child accounts to start Android apps.";
3060
Brett Wilson7b44537e2017-08-18 01:38:283061const char kArcBootCompleted[] = "Load Android apps automatically";
3062const char kArcBootCompletedDescription[] =
3063 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343064
Luum Habtemariamdaa8fd22018-06-25 22:39:433065const char kArcCupsApiName[] = "ARC CUPS API";
3066const char kArcCupsApiDescription[] =
3067 "Enables support of libcups APIs from ARC";
3068
Naoki Fukino153de8a2019-01-22 08:37:543069const char kArcDocumentsProviderName[] = "ARC DocumentsProvider integration";
3070const char kArcDocumentsProviderDescription[] =
3071 "Enables DocumentsProvider integration in Chrome OS Files app.";
3072
Satoshi Niwa8b1d5282018-10-24 04:53:033073const char kArcFilePickerExperimentName[] =
3074 "Enable file picker experiment for ARC";
3075const char kArcFilePickerExperimentDescription[] =
3076 "Enables using Chrome OS file picker in ARC.";
3077
[email protected]939ceae2019-01-29 17:00:153078const char kArcGraphicBuffersVisualizationToolName[] =
3079 "Enable ARC graphic buffers visualization tool";
3080const char kArcGraphicBuffersVisualizationToolDescription[] =
3081 "Enable ARC graphic buffers visualization tool "
3082 "(chrome://arc-graphics-tracing).";
3083
Lev Rumyantsev7a8544312017-08-18 19:26:513084const char kArcNativeBridgeExperimentName[] =
3085 "Enable native bridge experiment for ARC";
3086const char kArcNativeBridgeExperimentDescription[] =
3087 "Enables experimental native bridge feature.";
3088
lgchengecd1c1a62018-01-09 02:59:463089const char kArcUsbHostName[] = "Enable ARC USB host integration";
3090const char kArcUsbHostDescription[] =
3091 "Allow Android apps to use USB host feature on ChromeOS devices.";
3092
Kevin Cernekeeb7f96a52017-10-25 17:40:183093const char kArcVpnName[] = "Enable ARC VPN integration";
3094const char kArcVpnDescription[] =
3095 "Allow Android VPN clients to tunnel Chrome traffic.";
3096
Qiang Xu045aff222018-05-21 23:21:013097const char kAshEnableDisplayMoveWindowAccelsName[] =
3098 "Enable shortcuts for moving window between displays.";
3099const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3100 "Enable shortcuts for moving window between displays.";
3101
Sammie Quonfe640ca2019-01-30 17:54:183102const char kAshEnableOverviewRoundedCornersName[] =
3103 "Enable rounded corners in overview mode.";
3104const char kAshEnableOverviewRoundedCornersDescription[] =
3105 "Enables rounded corners on overview windows.";
3106
Qiang Xu045aff222018-05-21 23:21:013107const char kAshEnablePersistentWindowBoundsName[] =
3108 "Enable persistent window bounds in multi-displays scenario.";
3109const char kAshEnablePersistentWindowBoundsDescription[] =
3110 "Enable persistent window bounds in multi-displays scenario.";
3111
Eliot Courtneye87a9c32018-11-20 03:33:023112const char kAshEnablePipRoundedCornersName[] =
3113 "Enable Picture-in-Picture rounded corners.";
3114const char kAshEnablePipRoundedCornersDescription[] =
3115 "Enable rounded corners on the Picture-in-Picture window.";
3116
Brett Wilson7b44537e2017-08-18 01:38:283117const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3118const char kAshEnableUnifiedDesktopDescription[] =
3119 "Enable unified desktop mode which allows a window to span multiple "
3120 "displays.";
vabr0215a8e2017-03-28 12:47:343121
Qiang Xu045aff222018-05-21 23:21:013122const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3123const char kAshShelfColorDescription[] =
3124 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3125 "--ash-shelf-color-scheme flag defines how that color is derived.";
3126
3127const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3128const char kAshShelfColorSchemeDescription[] =
3129 "Specify how the color is derived from the wallpaper. This flag is only "
3130 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3131const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3132const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3133const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3134const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3135const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3136const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3137
Sean Kau5e956192017-10-06 22:25:173138const char kBulkPrintersName[] = "Bulk Printers Policy";
3139const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3140
Brett Wilson7b44537e2017-08-18 01:38:283141const char kCaptivePortalBypassProxyName[] =
3142 "Bypass proxy for Captive Portal Authorization";
3143const char kCaptivePortalBypassProxyDescription[] =
3144 "If proxy is configured, it usually prevents from authorization on "
3145 "different captive portals. This enables opening captive portal "
3146 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343147
Brett Wilson7b44537e2017-08-18 01:38:283148const char kCrOSComponentName[] = "Chrome OS Component";
3149const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083150 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343151
Xiaochu Liu51d03fd2017-09-08 23:51:023152const char kCrOSContainerName[] = "Chrome OS Container";
3153const char kCrOSContainerDescription[] =
3154 "Enable the use of Chrome OS Container utility.";
3155
Brett Wilson7b44537e2017-08-18 01:38:283156const char kCrosRegionsModeName[] = "Cros-regions load mode";
3157const char kCrosRegionsModeDescription[] =
3158 "This flag controls cros-regions load mode";
3159const char kCrosRegionsModeDefault[] = "Default";
3160const char kCrosRegionsModeOverride[] = "Override VPD values.";
3161const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343162
Daniel Ng96ab0c82019-01-16 01:21:553163const char kCrostiniAppSearchName[] = "Crostini App Search";
3164const char kCrostiniAppSearchDescription[] =
3165 "Enable search and installation of Crostini apps in the launcher.";
3166
Joel Hockey42387102019-01-10 01:19:323167const char kCrostiniBackupName[] = "Crostini Backup";
3168const char kCrostiniBackupDescription[] = "Enable Crostini export and import.";
3169
Joel Hockeyad5b9762018-09-01 12:06:083170const char kCrostiniFilesName[] = "Crostini Files";
3171const char kCrostiniFilesDescription[] =
3172 "Enable Crostini file sharing in Files app.";
3173
Josh Pratt57cea392018-10-30 02:59:063174const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3175const char kCrostiniUsbSupportDescription[] =
3176 "Enable mounting Usb devices in Crostini.";
3177
Josh Nohle2f82dcc2018-12-17 23:11:233178const char kCryptAuthV2EnrollmentName[] = "CryptAuth v2 Enrollment";
3179const char kCryptAuthV2EnrollmentDescription[] =
3180 "Use the CryptAuth v2 Enrollment protocol.";
3181
Daniele Castagnac4aeb572018-10-23 16:23:573182const char kDisableExplicitDmaFencesName[] = "Disable explicit dma-fences";
3183const char kDisableExplicitDmaFencesDescription[] =
3184 "Always rely on implicit syncrhonization between GPU and display "
3185 "controller instead of using dma-fences explcitily when available.";
3186
Qiang Xu045aff222018-05-21 23:21:013187const char kDisableSystemTimezoneAutomaticDetectionName[] =
3188 "SystemTimezoneAutomaticDetection policy support";
3189const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3190 "Disable system timezone automatic detection device policy.";
3191
Sammie Quonef6b4882017-09-14 16:50:053192const char kDisableTabletAutohideTitlebarsName[] =
3193 "Disable autohide titlebars in tablet mode";
3194const char kDisableTabletAutohideTitlebarsDescription[] =
3195 "Disable tablet mode autohide titlebars functionality. The user will be "
3196 "able to see the titlebar in tablet mode.";
3197
Xiaoqian Dai24b33eb2018-04-10 21:01:573198const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3199const char kDisableTabletSplitViewDescription[] =
3200 "Disable split view for Chrome OS tablet mode.";
3201
Ahmed Fakhry4f567e692018-10-16 15:51:083202const char kDoubleTapToZoomInTabletModeName[] =
3203 "Double-tap to zoom in tablet mode";
3204const char kDoubleTapToZoomInTabletModeDescription[] =
3205 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3206 "page.";
3207
Daniel Zhang01399072018-08-16 22:28:203208const char kEnableAppListSearchAutocompleteName[] =
3209 "App List Search Autocomplete";
3210const char kEnableAppListSearchAutocompleteDescription[] =
3211 "Allow App List search box to autocomplete queries for Google searches and "
3212 "apps.";
3213
Qiang Xu53d1a5832018-05-24 18:44:193214const char kEnableAppShortcutSearchName[] =
3215 "Enable app shortcut search in launcher";
3216const char kEnableAppShortcutSearchDescription[] =
3217 "Enables app shortcut search in launcher";
3218
Vladislav Kaznacheevaa213a02018-10-29 17:54:283219const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3220const char kEnableAppDataSearchDescription[] =
3221 "Allow launcher search to access data available through Firebase App "
3222 "Indexing";
3223
Lei Zhang0a318af2018-11-14 02:19:463224const char kEnableArcUnifiedAudioFocusName[] =
Becca Hughes34415e82018-10-05 18:47:373225 "Enable unified audio focus on ARC";
Lei Zhang0a318af2018-11-14 02:19:463226const char kEnableArcUnifiedAudioFocusDescription[] =
Becca Hughes34415e82018-10-05 18:47:373227 "If audio focus is enabled in Chrome then this will delegate audio focus "
3228 "control in Android apps to Chrome.";
3229
Yue Li958f9dd2018-11-15 00:56:593230const char kEnableAssistantVoiceMatchName[] = "Enable Assistant Voice Match";
3231const char kEnableAssistantVoiceMatchDescription[] =
3232 "Enable the Assistant Voice Match feature";
3233
Yue Liebaa9952018-12-07 21:41:263234const char kEnableAssistantAppSupportName[] = "Enable Assistant App Support";
3235const char kEnableAssistantAppSupportDescription[] =
3236 "Enable the Assistant App Support feature";
3237
Lei Zhang2eca9082017-10-17 20:42:503238const char kEnableBackgroundBlurName[] = "Enable background blur.";
3239const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423240 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393241
Lei Zhang0ca70ea2018-09-07 17:51:013242const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3243const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493244 "Enables the Chrome OS Account Manager";
3245
Alexander Alekseev38e1e0a2018-11-08 22:48:483246const char kEnableDiscoverAppName[] = "Enable Discover App";
3247const char kEnableDiscoverAppDescription[] =
3248 "Enable Discover App icon in launcher.";
3249
Xiaoqian Dai82d99192018-05-25 18:51:353250const char kEnableDragTabsInTabletModeName[] =
3251 "Enable dragging tabs in tablet mode";
3252const char kEnableDragTabsInTabletModeDescription[] =
3253 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3254
Sam McNally201fbf94e2018-07-04 03:15:203255const char kEnableDriveFsName[] = "Enable DriveFS";
3256const char kEnableDriveFsDescription[] =
3257 "Enables use of the new DriveFS-based Drive sync client.";
3258
Luciano Pacheco20c48bd42018-11-07 00:57:083259const char kEnableMyFilesVolumeName[] = "Enable MyFiles as Volume";
3260const char kEnableMyFilesVolumeDescription[] =
Luciano Pacheco7fe772fe2018-11-07 02:31:453261 "Enables use of MyFiles as a read/write volume. This should be only "
3262 "used for testing or for trying to restore the previous Downloads content.";
Luciano Pacheco20c48bd42018-11-07 00:57:083263
Brett Wilson7b44537e2017-08-18 01:38:283264const char kEnableEhvInputName[] =
3265 "Emoji, handwriting and voice input on opt-in IME menu";
3266const char kEnableEhvInputDescription[] =
3267 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343268
Brett Wilson7b44537e2017-08-18 01:38:283269const char kEnableEncryptionMigrationName[] =
3270 "Enable encryption migration of user data";
3271const char kEnableEncryptionMigrationDescription[] =
3272 "If enabled and the device supports ARC, the user will be asked to update "
3273 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343274
Qiang Xu045aff222018-05-21 23:21:013275const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3276 "Enable full screen handwriting virtual keyboard";
3277const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3278 "If enabled, the handwriting virtual keyboard will allow user to write "
3279 "anywhere on the screen";
3280
Xiaohui Chenfb0943e2018-10-16 22:44:373281const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3282const char kEnableGoogleAssistantDescription[] =
3283 "Enable an experimental Assistant implementation that will work on all "
3284 "Chromebooks.";
3285
Xiaohui Chenf4283f32018-11-26 20:02:503286const char kEnableGoogleAssistantDspName[] =
3287 "Enable Google Assistant with hardware-based hotword";
3288const char kEnableGoogleAssistantDspDescription[] =
3289 "Enable an experimental feature that uses hardware-based hotword detection "
3290 "for Assistant. Only a limited number of devices have this type of "
3291 "hardware support.";
3292
Xiaohui Chenc3baca42018-11-30 19:29:373293const char kEnableGoogleAssistantStereoInputName[] =
3294 "Enable Google Assistant with stereo audio input";
3295const char kEnableGoogleAssistantStereoInputDescription[] =
3296 "Enable an experimental feature that uses stereo audio input for hotword "
3297 "and voice to text detection in Google Assistant.";
3298
Qiang Xu045aff222018-05-21 23:21:013299const char kEnableHomeLauncherName[] = "Enable home launcher";
3300const char kEnableHomeLauncherDescription[] =
3301 "Enable home launcher in tablet mode.";
3302
Lei Zhang0ca70ea2018-09-07 17:51:013303const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3304const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013305 "Enables using gestures to hide or show the home launcher.";
3306
Brett Wilson7b44537e2017-08-18 01:38:283307const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3308const char kEnableImeMenuDescription[] =
3309 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343310
Sammie Quon248ccef2018-08-28 23:00:013311const char kEnableOobeRecommendAppsScreenName[] =
3312 "Enable OOBE Recommend Apps Screen";
3313const char kEnableOobeRecommendAppsScreenDescription[] =
3314 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3315 "from other devices";
3316
Qiang Xu045aff222018-05-21 23:21:013317const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3318const char kEnablePerUserTimezoneDescription[] =
3319 "Chrome OS system timezone preference is stored and handled for each user "
3320 "individually.";
3321
Vladislav Kaznacheevaa213a02018-10-29 17:54:283322const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3323const char kEnablePlayStoreSearchDescription[] =
3324 "Enable Play Store search in launcher.";
3325
Qiang Xu045aff222018-05-21 23:21:013326const char kEnableSettingsShortcutSearchName[] =
3327 "Enable Settings shortcut search";
3328const char kEnableSettingsShortcutSearchDescription[] =
3329 "Enable Settings shortcut search in launcher.";
3330
Darren Shen3e49c63d2018-03-28 04:45:503331const char kEnableStylusVirtualKeyboardName[] =
3332 "Enable stylus virtual keyboard";
3333const char kEnableStylusVirtualKeyboardDescription[] =
3334 "If enabled, tapping with a stylus will show the handwriting virtual "
3335 "keyboard.";
3336
Jazz Xu2e5886662018-12-14 00:38:483337const char kEnableVideoPlayerNativeControlsName[] =
3338 "Enable native controls in video player app";
3339const char kEnableVideoPlayerNativeControlsDescription[] =
3340 "Enable native controls in video player app";
3341
Darren Shen0b4e5802018-07-10 03:12:263342const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3343const char kEnableVirtualKeyboardUkmDescription[] =
3344 "Enables UKM for virtual keyboard";
3345
Lei Zhang0ca70ea2018-09-07 17:51:013346const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3347const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013348 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283349 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013350
Brett Wilson7b44537e2017-08-18 01:38:283351const char kEolNotificationName[] = "Disable Device End of Life notification.";
3352const char kEolNotificationDescription[] =
3353 "Disable Notifcation when Device is End of Life.";
3354
Akihiro Ota3ff6f8a2019-01-18 17:43:043355const char kExperimentalAccessibilityChromeVoxLanguageSwitchingName[] =
3356 "Enable experimental ChromeVox language switching.";
3357const char kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription[] =
3358 "Enable ChromeVox language switching, which changes ChromeVox's "
3359 "output language upon detection of new language.";
3360
Brett Wilson7b44537e2017-08-18 01:38:283361const char kFileManagerTouchModeName[] = "Files App. touch mode";
3362const char kFileManagerTouchModeDescription[] =
3363 "Touchscreen-specific interactions of the Files app.";
3364
3365const char kFirstRunUiTransitionsName[] =
3366 "Animated transitions in the first-run tutorial";
3367const char kFirstRunUiTransitionsDescription[] =
3368 "Transitions during first-run tutorial are animated.";
3369
Brett Wilson7b44537e2017-08-18 01:38:283370const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3371const char kForceEnableStylusToolsDescription[] =
3372 "Forces display of the stylus tools menu in the shelf and the stylus "
3373 "section in settings, even if there is no attached stylus device.";
3374
3375const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3376const char kGestureEditingDescription[] =
3377 "Enable/Disable gesture editing option in the settings page for the "
3378 "virtual keyboard.";
3379
3380const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3381const char kGestureTypingDescription[] =
3382 "Enable/Disable gesture typing option in the settings page for the virtual "
3383 "keyboard.";
3384
3385const char kInputViewName[] = "Input views";
3386const char kInputViewDescription[] =
3387 "Enable IME extensions to supply custom views for user input such as "
3388 "virtual keyboards.";
3389
Leo Zhang3cc77542018-11-07 00:58:083390const char kImeServiceName[] = "Enable IME service";
3391const char kImeServiceDescription[] =
3392 "Enable IME service to provide the IME functionality instead of NaCl";
3393
Megumi Hattori5a0d4182018-03-06 11:09:503394const char kLockScreenNotificationName[] = "Lock screen notification";
3395const char kLockScreenNotificationDescription[] =
3396 "Enable notifications on the lock screen.";
3397
Mohsen Izadi06a16f72018-11-29 02:29:223398const char kMashOopVizName[] = "Out-of-process viz for mash";
3399const char kMashOopVizDescription[] =
3400 "Runs viz in a separate process when mash is enabled (otherwise viz would "
3401 "run in ash process)";
3402
Qiang Xu045aff222018-05-21 23:21:013403const char kMaterialDesignInkDropAnimationSpeedName[] =
3404 "Material design ink drop animation speed";
3405const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3406 "Sets the speed of the experimental visual feedback animations for "
3407 "material design.";
3408const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3409const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3410
Brett Wilson7b44537e2017-08-18 01:38:283411const char kMemoryPressureThresholdName[] =
3412 "Memory discard strategy for advanced pressure handling";
3413const char kMemoryPressureThresholdDescription[] =
3414 "Memory discarding strategy to use";
3415const char kConservativeThresholds[] =
3416 "Conservative memory pressure release strategy";
3417const char kAggressiveCacheDiscardThresholds[] =
3418 "Aggressive cache release strategy";
3419const char kAggressiveTabDiscardThresholds[] =
3420 "Aggressive tab release strategy";
3421const char kAggressiveThresholds[] =
3422 "Aggressive tab and cache release strategy";
3423
3424const char kMtpWriteSupportName[] = "MTP write support";
3425const char kMtpWriteSupportDescription[] =
3426 "MTP write support in File System API (and file manager). In-place editing "
3427 "operations are not supported.";
3428
vabr0215a8e2017-03-28 12:47:343429const char kNetworkPortalNotificationName[] =
3430 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343431const char kNetworkPortalNotificationDescription[] =
3432 "If enabled, notification is displayed when device is connected to a "
3433 "network behind captive portal.";
3434
Brett Wilson7b44537e2017-08-18 01:38:283435const char kNewKoreanImeName[] = "New Korean IME";
3436const char kNewKoreanImeDescription[] =
3437 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343438
Anand K. Mistrydb5e0102018-10-04 04:24:003439const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283440const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003441 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343442
Qiang Xu045aff222018-05-21 23:21:013443const char kOfficeEditingComponentAppName[] =
3444 "Office Editing for Docs, Sheets & Slides";
3445const char kOfficeEditingComponentAppDescription[] =
3446 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3447
Brett Wilson7b44537e2017-08-18 01:38:283448const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3449const char kPhysicalKeyboardAutocorrectDescription[] =
3450 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3451 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343452
3453const char kPrinterProviderSearchAppName[] =
3454 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343455const char kPrinterProviderSearchAppDescription[] =
3456 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193457 "searches Chrome Web Store for extensions that support printing to a USB "
3458 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343459
Brett Wilson7b44537e2017-08-18 01:38:283460const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3461const char kQuickUnlockPinDescription[] =
3462 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3463 "device on the lock screen after you have signed into your device.";
3464const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3465const char kQuickUnlockPinSigninDescription[] =
3466 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3467 "device. After changing this flag PIN needs to be set up again.";
3468const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3469const char kQuickUnlockFingerprintDescription[] =
3470 "Enabling fingerprint quick unlock allows you to setup and use a "
3471 "fingerprint to unlock your Chromebook on the lock screen after you have "
3472 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343473
James Cook0ba192bf2017-12-01 20:53:113474const char kShowTapsName[] = "Show taps";
3475const char kShowTapsDescription[] =
3476 "Draws a circle at each touch point, which makes touch points more obvious "
3477 "when projecting or mirroring the display. Similar to the Android OS "
3478 "developer option.";
3479
3480const char kShowTouchHudName[] = "Show HUD for touch points";
3481const char kShowTouchHudDescription[] =
3482 "Shows a trail of colored dots for the last few touch points. Pressing "
3483 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3484 "debug hardware issues that generate spurious touch events.";
3485
James Cook28d7c482018-09-07 21:00:543486const char kSingleProcessMashName[] =
3487 "In-process window service (SingleProcessMash)";
3488const char kSingleProcessMashDescription[] =
3489 "Runs the system UI (ash) as a mojo service, but inside the browser "
3490 "process. The browser uses the mojo window service (ws) APIs.";
3491
Ahmed Fakhry58e6ef542018-09-04 18:05:383492const char kSlideTopChromeWithPageScrollsName[] =
3493 "Slide top-chrome with page scrolls";
3494const char kSlideTopChromeWithPageScrollsDescription[] =
3495 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3496 " UI.";
3497
Jorge Gil5a8ccde2018-07-10 01:46:213498const char kSmartTextSelectionName[] = "Smart Text Selection";
3499const char kSmartTextSelectionDescription[] =
3500 "Shows quick actions for text "
3501 "selections in the context menu.";
3502
Brett Wilson7b44537e2017-08-18 01:38:283503const char kTetherName[] = "Instant Tethering";
3504const char kTetherDescription[] =
3505 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3506 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373507
Brett Wilson7b44537e2017-08-18 01:38:283508const char kTouchscreenCalibrationName[] =
3509 "Enable/disable touchscreen calibration option in material design settings";
3510const char kTouchscreenCalibrationDescription[] =
3511 "If enabled, the user can calibrate the touch screen displays in "
3512 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093513
Qiang Xu045aff222018-05-21 23:21:013514const char kUiDevToolsName[] = "Enable native UI inspection";
3515const char kUiDevToolsDescription[] =
3516 "Enables inspection of native UI elements. For local inspection use "
3517 "chrome://inspect#other";
3518
3519const char kUiShowCompositedLayerBordersName[] =
3520 "Show UI composited layer borders";
3521const char kUiShowCompositedLayerBordersDescription[] =
3522 "Show border around composited layers created by UI.";
3523const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3524const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3525const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3526const char kUiShowCompositedLayerBordersAll[] = "All";
3527
3528const char kUiSlowAnimationsName[] = "Slow UI animations";
3529const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3530
Mitsuru Oshima63d3f2a2017-08-23 00:12:113531// Force UI Mode
3532const char kUiModeName[] = "Force Ui Mode";
3533const char kUiModeDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:063534 "This flag can be used to force a certain mode on to a chromebook, "
3535 "despite its current orientation. \"Tablet\" means that the "
3536 "chromebook will act as if it were in tablet mode. \"Clamshell\" "
3537 "means that the chromebook will act as if it were in clamshell "
3538 "mode. \"Auto\" means that the chromebook will alternate between "
3539 "the two, based on its orientation.";
Min Chenfd25cd22018-11-06 01:50:513540const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113541const char kUiModeClamshell[] = "Clamshell";
3542const char kUiModeAuto[] = "Auto (default)";
3543
Sonny Sasaka7fecfeda2018-07-11 23:47:553544const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3545const char kUnfilteredBluetoothDevicesDescription[] =
3546 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3547
Allen Webbcdc8e69d2018-09-12 20:36:003548const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3549const char kUsbguardDescription[] =
3550 "Prevents newly connected USB devices from operating at the lock screen"
3551 " until Chrome OS is unlocked to protect against malicious USB devices."
3552 " Already connected USB devices will continue to function.";
3553
Micah Morton79a7b522018-09-27 15:15:303554const char kShillSandboxingName[] =
3555 "Run shill, the ChromeOS network manager, in a sandbox.";
3556const char kShillSandboxingDescription[] =
3557 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3558
Micah Morton02d3aba2018-11-20 01:51:453559const char kFsNosymfollowName[] =
3560 "Prevent symlink traversal on user-supplied filesystems.";
3561const char kFsNosymfollowDescription[] =
3562 "Causes user-supplied filesystems to be mounted with the 'nosymfollow'"
3563 " option, so the chromuimos LSM denies symlink traversal on the"
3564 " filesystem.";
3565
James Cooka1bcfa9a2018-01-30 00:18:403566const char kUseMashName[] = "Out-of-process system UI (mash)";
3567const char kUseMashDescription[] =
3568 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3569 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283570
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343571// TODO(mcasas): remove after https://crbug.com/771345.
3572const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3573const char kUseMonitorColorSpaceDescription[] =
3574 "Enables Chrome to use the color space information provided by the monitor"
3575 " instead of the default sRGB color space.";
3576
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233577const char kVaapiJpegImageDecodeAccelerationName[] =
3578 "VA-API JPEG decode acceleration for images";
3579const char kVaapiJpegImageDecodeAccelerationDescription[] =
3580 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3581 " captures) using the VA-API.";
3582
Brett Wilson7b44537e2017-08-18 01:38:283583const char kVideoPlayerChromecastSupportName[] =
3584 "Experimental Chromecast support for Video Player";
3585const char kVideoPlayerChromecastSupportDescription[] =
3586 "This option enables experimental Chromecast support for Video Player app "
3587 "on ChromeOS.";
3588
3589const char kVirtualKeyboardName[] = "Virtual Keyboard";
3590const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3591
3592const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3593const char kVirtualKeyboardOverscrollDescription[] =
3594 "Enables virtual keyboard overscroll support.";
3595
3596const char kVoiceInputName[] = "Voice input on virtual keyboard";
3597const char kVoiceInputDescription[] =
3598 "Enables voice input on virtual keyboard.";
3599
3600const char kWakeOnPacketsName[] = "Wake On Packets";
3601const char kWakeOnPacketsDescription[] =
3602 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203603
yhanadac5bff5b2017-05-18 06:37:093604#endif // defined(OS_CHROMEOS)
3605
Brett Wilson7b44537e2017-08-18 01:38:283606// Random platform combinations -----------------------------------------------
3607
3608#if defined(OS_WIN) || defined(OS_LINUX)
3609
3610const char kEnableInputImeApiName[] = "Enable Input IME API";
3611const char kEnableInputImeApiDescription[] =
3612 "Enable the use of chrome.input.ime API.";
3613
3614#endif // defined(OS_WIN) || defined(OS_LINUX)
3615
Jiajia Qindb252e92019-01-28 11:47:483616#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3617
3618const char kWebGL2ComputeContextName[] = "WebGL 2.0 Compute";
3619const char kWebGL2ComputeContextDescription[] =
3620 "Enable the use of WebGL 2.0 Compute API.";
3621
3622#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3623
Brett Wilson7b44537e2017-08-18 01:38:283624#if defined(OS_WIN) || defined(OS_MACOSX)
3625
3626const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3627const char kAutomaticTabDiscardingDescription[] =
3628 "If enabled, tabs get automatically discarded from memory when the system "
3629 "memory is low. Discarded tabs are still visible on the tab strip and get "
3630 "reloaded when clicked on. Info about discarded tabs can be found at "
3631 "chrome://discards.";
3632
3633#endif // defined(OS_WIN) || defined(OS_MACOSX)
3634
lanwei83f54452018-06-21 23:51:043635#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3636
3637const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3638const char kDirectManipulationStylusDescription[] =
3639 "If enabled, Chrome will scroll web pages on stylus drag.";
3640
3641#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3642
Henrik Grunell63f2d772018-12-06 17:25:203643#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3644
3645const char kForceEnableSystemAecName[] = "Force enable system AEC";
3646const char kForceEnableSystemAecDescription[] =
3647 "Use system echo canceller instead of WebRTC echo canceller. If there is "
3648 "no system echo canceller available, getUserMedia with echo cancellation "
3649 "enabled will fail.";
3650
3651#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
3652
David Bienvenuc713d502019-02-07 23:46:323653#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3654
3655const char kWebContentsOcclusionName[] = "Enable occlusion of web contents";
3656const char kWebContentsOcclusionDescription[] =
3657 "If enabled, web contents will behave as hidden when it is occluded by "
3658 "other windows.";
3659
3660#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3661
Justin Donnelly110e40c2018-06-01 21:48:433662const char kExperimentalUiName[] = "Use all upcoming UI features";
3663const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483664
Brett Wilson7b44537e2017-08-18 01:38:283665// Feature flags --------------------------------------------------------------
3666
Lei Zhang0a318af2018-11-14 02:19:463667#if defined(DCHECK_IS_CONFIGURABLE)
3668const char kDcheckIsFatalName[] = "DCHECKs are fatal";
3669const char kDcheckIsFatalDescription[] =
3670 "By default Chrome will evaluate in this build, but only log failures, "
3671 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
3672#endif // defined(DCHECK_IS_CONFIGURABLE)
3673
Brett Wilson7b44537e2017-08-18 01:38:283674#if BUILDFLAG(ENABLE_VR)
3675
David Dorwin5a496c32017-11-17 01:45:053676const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3677const char kWebVrVsyncAlignDescription[] =
3678 "Align WebVR application rendering with VSync for smoother animations.";
3679
Bill Orr103ed272018-02-14 21:23:053680#if BUILDFLAG(ENABLE_OCULUS_VR)
3681const char kOculusVRName[] = "Oculus hardware support";
3682const char kOculusVRDescription[] =
3683 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3684 "Windows 10 or later).";
3685#endif // ENABLE_OCULUS_VR
3686
Bill Orr49527562017-11-22 16:58:483687#if BUILDFLAG(ENABLE_OPENVR)
3688const char kOpenVRName[] = "OpenVR hardware support";
3689const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073690 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3691 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483692#endif // ENABLE_OPENVR
3693
Bill Orrd2af6bd52019-01-23 02:50:243694#if BUILDFLAG(ENABLE_WINDOWS_MR)
3695const char kWindowsMixedRealityName[] = "Windows Mixed Reality support";
3696const char kWindowsMixedRealityDescription[] =
3697 "If enabled, Chrome will use Windows Mixed Reality devices for VR"
3698 " (supported only on Windows 10 or later).";
3699#endif // ENABLE_WINDOWS_MR
3700
Bill Orrecfb9fe2018-10-02 00:11:103701#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3702const char kXRSandboxName[] = "XR device sandboxing";
3703const char kXRSandboxDescription[] =
3704 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3705#endif // ENABLE_ISOLATED_XR_SERVICE
3706
Brett Wilson7b44537e2017-08-18 01:38:283707#endif // ENABLE_VR
3708
Nico Weberaf3b00b2017-09-11 17:58:173709#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283710
3711const char kNaclDebugMaskName[] =
3712 "Restrict Native Client GDB-based debugging by pattern";
3713const char kNaclDebugMaskDescription[] =
3714 "Restricts Native Client application GDB-based debugging by URL of "
3715 "manifest file. Native Client GDB-based debugging must be enabled for this "
3716 "option to work.";
3717const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3718const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3719 "Debug everything except secure shell and the PNaCl translator.";
3720const char kNaclDebugMaskChoiceIncludeDebug[] =
3721 "Debug only if manifest URL ends with debug.nmf.";
3722
3723const char kNaclDebugName[] = "Native Client GDB-based debugging";
3724const char kNaclDebugDescription[] =
3725 "Enable GDB debug stub. This will stop a Native Client application on "
3726 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3727
3728const char kNaclName[] = "Native Client";
3729const char kNaclDescription[] =
3730 "Support Native Client for all web applications, even those that were not "
3731 "installed from the Chrome Web Store.";
3732
3733const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3734const char kPnaclSubzeroDescription[] =
3735 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3736
Nico Weberaf3b00b2017-09-11 17:58:173737#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283738
Lei Zhang802201c2018-11-14 18:16:283739#if BUILDFLAG(ENABLE_PLUGINS)
3740
dstockwellcc759202019-01-11 00:42:123741#if defined(OS_CHROMEOS)
3742const char kPdfAnnotations[] = "PDF Annotations";
Weidong Guo577fe9ac2019-01-28 19:58:103743const char kPdfAnnotationsDescription[] = "Enable annotating PDF documents.";
dstockwellcc759202019-01-11 00:42:123744#endif // defined(OS_CHROMEOS)
3745
Lei Zhang802201c2018-11-14 18:16:283746const char kPdfFormSaveName[] = "Save PDF Forms";
3747const char kPdfFormSaveDescription[] =
3748 "Enable saving PDFs with filled form data.";
3749
3750const char kPdfIsolationName[] = "PDF Isolation";
3751const char kPdfIsolationDescription[] =
3752 "Render PDF files from different origins in different plugin processes.";
3753
3754#endif // BUILDFLAG(ENABLE_PLUGINS)
3755
Brett Wilson7b44537e2017-08-18 01:38:283756#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3757
3758const char kAutofillCreditCardUploadName[] =
3759 "Enable offering upload of Autofilled credit cards";
3760const char kAutofillCreditCardUploadDescription[] =
3761 "Enables a new option to upload credit cards to Google Payments for sync "
3762 "to all Chrome devices.";
3763
3764#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3765
Collin Baker0a45d6a2018-12-20 19:21:503766#if BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3767
3768const char kReopenTabInProductHelpName[] = "Reopen tab in-product help";
3769const char kReopenTabInProductHelpDescription[] =
3770 "Enable in-product help that guides a user to reopen a tab if it looks "
3771 "like they accidentally closed it.";
3772
3773#endif // BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3774
Tomas Popela253a5832019-01-14 17:22:103775#if defined(WEBRTC_USE_PIPEWIRE)
3776
3777extern const char kWebrtcPipeWireCapturerName[] = "WebRTC PipeWire support";
3778extern const char kWebrtcPipeWireCapturerDescription[] =
3779 "When enabled the WebRTC will use the PipeWire multimedia server for "
3780 "capturing the desktop content on the Wayland display server.";
3781
3782#endif // #if defined(WEBRTC_USE_PIPEWIRE)
3783
Stephen Chenneyde6e5c82019-01-21 01:56:043784const char kAvoidFlashBetweenNavigationName[] =
3785 "Enable flash avoidance between same-origin navigations";
3786const char kAvoidFlahsBetweenNavigationDescription[] =
3787 "Enables experimental flash avoidance when navigating between pages "
3788 "in the same origin. This feature is in the implementation stages and "
3789 "currently has no effect.";
3790
Brett Wilson7b44537e2017-08-18 01:38:283791// ============================================================================
3792// Don't just add flags to the end, put them in the right section in
3793// alphabetical order just like the header file.
3794// ============================================================================
3795
vabr0215a8e2017-03-28 12:47:343796} // namespace flag_descriptions