blob: ad71f422842d88a6311bc29a3d715bd5fe9dccef [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
Yue Ru Suna50a80f2019-02-08 05:02:58328const char kDisableBestEffortTasksName[] = "Skip best effort tasks";
329const char kDisableBestEffortTasksDescription[] =
330 "With this flag on, tasks of the lowest priority will not be executed "
331 "until shutdown. The queue of low priority tasks can increase memory usage."
332 "Also, while it should be possible to use Chrome almost normally with this "
333 "flag, it is expected that some non-visible operations such as writing "
334 "user data to disk, cleaning caches, reporting metrics or updating "
335 "components won't be performed until shutdown.";
336
Arthur Sonzogni721f48e2018-10-31 17:10:02337const char kDisableIpcFloodingProtectionName[] =
338 "Disable IPC flooding protection";
339const char kDisableIpcFloodingProtectionDescription[] =
340 "Some javascript code can flood the inter process communication system. "
341 "This protection limits the rate (calls/seconds) at which theses function "
arthursonzogni443bd0ef2018-11-27 16:12:53342 "can be used. This flag disables the protection. This flag is deprecated "
343 "and will be removed in Chrome 76. Use the switch "
344 "--disable-ipc-flooding-protection instead.";
Arthur Sonzogni721f48e2018-10-31 17:10:02345
Chris Palmer917bc052018-03-14 19:28:31346const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
347const char kDisablePushStateThrottleDescription[] =
348 "Disables throttling of history.pushState and history.replaceState method "
arthursonzogni443bd0ef2018-11-27 16:12:53349 "calls. This flag is deprecated and will be removed in Chrome 76. Use the "
350 "switch --disable-ipc-flooding-protection instead.";
Chris Palmer917bc052018-03-14 19:28:31351
Brett Wilsonf27ff602017-07-07 22:28:47352const char kDisableTabForDesktopShareName[] =
353 "Disable Desktop Share with tab source";
354const char kDisableTabForDesktopShareDescription[] =
355 "This flag controls whether users can choose a tab for desktop share.";
356
357const char kDisallowDocWrittenScriptsUiName[] =
358 "Block scripts loaded via document.write";
359const char kDisallowDocWrittenScriptsUiDescription[] =
360 "Disallows fetches for third-party parser-blocking scripts inserted into "
361 "the main frame via document.write.";
362
Christopher Thompson2ffffa2c2018-05-18 23:06:37363const char kDisallowUnsafeHttpDownloadsName[] =
364 "Block unsafe downloads over insecure connections";
365const char kDisallowUnsafeHttpDownloadsNameDescription[] =
366 "Disallows downloads of unsafe files (files that can potentially execute "
367 "code), where the final download origin or any origin in the redirect "
368 "chain is insecure.";
369
Brett Wilsonf27ff602017-07-07 22:28:47370const char kDriveSearchInChromeLauncherName[] =
371 "Drive Search in Chrome App Launcher";
372const char kDriveSearchInChromeLauncherDescription[] =
373 "Files from Drive will show up when searching the Chrome App Launcher.";
374
Brett Wilsonf27ff602017-07-07 22:28:47375const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
376const char kEmbeddedExtensionOptionsDescription[] =
377 "Display extension options as an embedded element in chrome://extensions "
378 "rather than opening a new tab.";
379
Dominic Mazzoni8ac98962018-05-25 05:44:55380const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
381const char kEnableAccessibilityObjectModelDescription[] =
382 "Enables experimental support for Accessibility Object Model APIs "
383 "that are in development.";
384
Becca Hughesac86cd442019-01-09 23:49:54385const char kEnableAudioFocusEnforcementName[] = "Audio Focus Enforcement";
386const char kEnableAudioFocusEnforcementDescription[] =
387 "Enables enforcement of a single media session having audio focus at "
388 "any one time. Requires #enable-media-session-service to be enabled too.";
389
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36390const char kEnableWebPaymentsSingleAppUiSkipName[] =
391 "Enable Web Payments single app UI skip";
392const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
393 "Enable Web Payments to skip showing its UI if the developer specifies a "
394 "single app.";
395
Sebastien Lalancette5daaf4a2019-01-11 22:09:25396const char kEnableAutocompleteDataRetentionPolicyName[] =
397 "Enable automatic cleanup of expired Autocomplete entries.";
398const char kEnableAutocompleteDataRetentionPolicyDescription[] =
399 "If enabled, will clean-up Autocomplete entries whose last use date is "
400 "older than the current retention policy. These entries will be "
401 "permanently deleted from the client on startup, and will be unlinked "
402 "from sync.";
403
Florian Uunk8c428ea2018-07-18 11:12:52404const char kEnableAutofillAccountWalletStorageName[] =
405 "Enable the account data storage for autofill";
406const char kEnableAutofillAccountWalletStorageDescription[] =
407 "Enable the ephemeral storage for account data for autofill.";
408
Shanfeng Zhang19c16562017-10-17 02:30:40409const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
410 "Credit card autofill ablation experiment.";
411const char kEnableAutofillCreditCardAblationExperimentDescription[] =
412 "If enabled, credit card autofill suggestions will not display.";
413
Brett Wilsonf27ff602017-07-07 22:28:47414const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
415 "Display the last used date of a credit card in autofill.";
416const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
417 "If enabled, display the last used date of a credit card in autofill.";
418
Sujie Zhu2cf0e5c2018-07-17 18:00:27419const char kEnableAutofillCreditCardLocalCardMigrationName[] =
420 "Enable migrating local cards to Google Pay";
421const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
422 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
423
Jared Saulbc672a072018-06-16 05:22:12424const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
425 "Make cardholder name editable in dialog during credit card upload";
426const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
427 "If enabled, in certain situations when offering credit card upload to "
428 "Google Payments, the cardholder name can be edited within the "
429 "offer-to-save dialog, which is prefilled with the name from the signed-in "
430 "Google Account.";
431
Hao Zhang1be9c262018-11-03 00:23:51432const char kEnableAutofillCreditCardUploadEditableExpirationDateName[] =
433 "Make expiration date editable in dialog during credit card upload";
434const char kEnableAutofillCreditCardUploadEditableExpirationDateDescription[] =
435 "If enabled, if a credit card's expiration date was not detected when "
436 "offering card upload to Google Payments, the offer-to-save dialog "
437 "displays an expiration date selector.";
438
Hao Zhangd3017112019-02-01 20:13:30439const char kEnableAutofillImportNonFocusableCreditCardFormsName[] =
440 "Allow credit card import from forms that disappear after entry";
441const char kEnableAutofillImportNonFocusableCreditCardFormsDescription[] =
442 "If enabled, offers credit card save for forms that are hidden from the "
443 "page after information has been entered into them, including "
444 "accordion-style checkout flows.";
445
siyua9a4a8872018-10-05 03:46:56446const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
447 "Show the upload results dialog after local card migration";
448const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
449 "If enabled, the local card migration offer dialog will remain pending "
450 "after the user clicks the save button. Once migration is finished, "
451 "the dialog will be updated with the results of each card.";
452
tmartinocd414732018-02-12 19:01:01453const char kEnableAutofillNativeDropdownViewsName[] =
454 "Display Autofill Dropdown Using Views";
455const char kEnableAutofillNativeDropdownViewsDescription[] =
456 "If enabled, the Autofill Dropdown will be built natively using Views, "
457 "rather than painted directly to a canvas.";
458
Fabio Tirelo87552e02018-07-06 15:43:21459const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
460 "Show unlabeled expiration dates on the save card dialog";
461const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
462 "If enabled, expiration dates on the save card dialog (both local and "
463 "upstream) are shown without an 'Exp:' label.";
464
siyua172973d2018-11-21 22:23:20465const char kEnableAutofillSaveCardImprovedUserConsentName[] =
466 "Use updated UI for credit card save bubbles";
467const char kEnableAutofillSaveCardImprovedUserConsentDescription[] =
468 "If enabled, adds a [No thanks] button to credit card save bubbles and "
469 "updates their title headers.";
470
Manas Verma99541e52018-08-03 20:37:23471const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
472 "Show Sign-In/Sync promo after saving a card locally";
473const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
474 "If enabled, shows a sign in prompt to the user after the user "
475 "saves a card locally. This also introduces a Manage Cards bubble "
476 "which you can access from the card icon after saving a card.";
477
Jared Saul8a0c1e92018-10-10 18:22:47478const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
479 "Enable limit on offering to save the same credit card repeatedly";
480const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
481 "If enabled, prevents popping up the credit card offer-to-save prompt if "
482 "it has repeatedly been ignored, declined, or failed.";
483
Anne Lim9d8f66a2019-01-07 23:49:21484const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Name[] =
485 "Enable limit on offering to save the same credit card repeatedly using the"
486 "updated strike system implementation";
487const char kEnableAutofillSaveCreditCardUsesStrikeSystemV2Description[] =
488 "If enabled, uses the updated strike system implementation to prevent"
489 "popping up the credit card offer-to-save prompt if it has repeatedly been"
490 "ignored, declined, or failed.";
491
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23492const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
493 "Send experiment flag IDs in calls to Google Payments";
494const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
495 "If enabled, adds the status of certain experiment variations when making "
496 "calls to Google Payments.";
497
Becca Hughes4d896c42018-05-29 16:58:51498const char kEnableAutoplayIgnoreWebAudioName[] =
499 "Autoplay ignores WebAudio playbacks";
500const char kEnableAutoplayIgnoreWebAudioDescription[] =
501 "If enabled, autoplay restrictions will be ignored for WebAudio.";
502
Becca Hughesc62f6a1d2018-08-16 15:59:47503const char kEnableAutoplayUnifiedSoundSettingsName[] =
504 "Autoplay unified sound settings UI";
505const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
506 "If enabled, shows the new unified autoplay sound settings UI.";
507
Brett Wilsonf27ff602017-07-07 22:28:47508const char kEnableBrotliName[] = "Brotli Content-Encoding.";
509const char kEnableBrotliDescription[] =
510 "Enable Brotli Content-Encoding support.";
511
Qiang Xu0f602fe62017-12-22 01:31:20512const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
513const char kEnableCaptivePortalRandomUrlDescription[] =
514 "Enable Captive Portal URL randomization.";
515
Yuki Awano06c7ddf2019-01-23 04:17:59516const char kEnableChromevoxDeveloperOptionName[] =
517 "Enable Chromevox developer option";
518const char kEnableChromevoxDeveloperOptionDescription[] =
519 "This option provides tools for developing in chromevox.";
520
Robert Ogdenc3703942019-02-06 21:05:49521const char kEnableDataSaverLiteModeRebrandName[] =
522 "Data Saver Lite Mode Rebranding";
523const char kEnableDataSaverLiteModeRebrandDescription[] =
524 "Enable the Data Saver rebranding to Lite Mode.";
525
sclittle50e4bb92017-07-08 02:23:03526const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
527
528const char kEnableClientLoFiDescription[] =
529 "Enable showing low fidelity images on some pages on slow networks.";
530
Patrick Noland8bc57472018-06-19 21:09:54531const char kEnableCSSFragmentIdentifiersName[] =
532 "Enable CSS Fragment Identifiers";
533const char kEnableCSSFragmentIdentifiersDescription[] =
534 "Enable support for specifying a target element using a css selector in "
535 "the fragment identifier.";
536
Doug Arnett08b4067b2017-10-12 20:14:44537const char kEnableNoScriptPreviewsName[] = "NoScript previews";
538
539const char kEnableNoScriptPreviewsDescription[] =
540 "Enable disabling JavaScript on some pages on slow networks.";
541
Thanh Le2c279fbc2017-11-21 01:25:40542const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
543const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
544const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
545const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
546const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
547const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
548const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
549const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
550const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
551const char kDataReductionProxyServerAlternative10[] =
552 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54553const char kEnableDataReductionProxyNetworkServiceName[] =
554 "Data reduction proxy with network service";
555const char kEnableDataReductionProxyNetworkServiceDescription[] =
556 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47557const char kEnableDataReductionProxyServerExperimentName[] =
558 "Use an alternative Data Saver back end configuration.";
559const char kEnableDataReductionProxyServerExperimentDescription[] =
560 "Enable a different approach to saving data by configuring the back end "
561 "server";
562
563const char kEnableDataReductionProxySavingsPromoName[] =
564 "Data Saver 1 MB Savings Promo";
565const char kEnableDataReductionProxySavingsPromoDescription[] =
566 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
567 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
568 "enabled for the promo to be shown.";
569
Matt Giucad4870432017-11-24 01:04:38570const char kEnableDesktopPWAsName[] = "Desktop PWAs";
571const char kEnableDesktopPWAsDescription[] =
572 "Experimental windowing and install banner treatment for Progressive Web "
573 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17574
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59575const char kEnableDesktopPWAsLinkCapturingName[] =
576 "Desktop PWAs Link Capturing";
577const char kEnableDesktopPWAsLinkCapturingDescription[] =
578 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
579 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
580 "#enable-desktop-pwas.";
581
Jay Harris52511a02018-11-02 01:00:28582const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
583const char kDesktopPWAsCustomTabUIDescription[] =
584 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
585 "for displaying the page title and origin instead of the location bar.";
586
Jay Harrisee7a7bc62018-10-09 01:47:49587const char kDesktopPWAsStayInWindowName[] =
588 "Desktop PWAs out-of-scope links open in the app window";
589const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28590 "Links to sites in a different scope will open inside the PWA window as "
591 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49592
Christopher Lame66b7812018-09-26 01:49:24593const char kEnableSystemWebAppsName[] = "System Web Apps";
594const char kEnableSystemWebAppsDescription[] =
595 "Experimental system for using the Desktop PWA framework for running System"
596 "Apps (e.g Settings, Discover).";
597
David Benjamin570460e2018-10-16 06:01:29598const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
599const char kEnforceTLS13DowngradeDescription[] =
600 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
601 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
602 "through 1.2 connections. Firewalls and proxies that do not function when "
603 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
604 "securely. They must be fixed by vendors.";
605
Brett Wilsonf27ff602017-07-07 22:28:47606const char kEnableEnumeratingAudioDevicesName[] =
607 "Experimentally enable enumerating audio devices.";
608const char kEnableEnumeratingAudioDevicesDescription[] =
609 "Experimentally enable the use of enumerating audio devices.";
610
611const char kEnableGenericSensorName[] = "Generic Sensor";
612const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25613 "Enables motion sensor classes based on Generic Sensor API, i.e. "
614 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
615 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
616
617const char kEnableGenericSensorExtraClassesName[] =
618 "Generic Sensor Extra Classes";
619const char kEnableGenericSensorExtraClassesDescription[] =
620 "Enables an extra set of sensor classes based on Generic Sensor API, which "
621 "expose previously unavailable platform features, i.e. AmbientLightSensor "
622 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47623
Vikas Soni78daa632019-01-12 01:32:52624const char kEnableGpuServiceLoggingName[] = "Enable gpu service logging";
625const char kEnableGpuServiceLoggingDescription[] =
626 "Enable printing the actual GL driver calls.";
627
Brett Wilsonf27ff602017-07-07 22:28:47628const char kEnableHDRName[] = "HDR mode";
629const char kEnableHDRDescription[] =
630 "Enables HDR support on compatible displays.";
631
Ryan Sturm6a850902018-06-09 02:27:34632const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
633const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09634 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25635 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01636 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
637 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34638
David Bokan911bded2018-11-27 23:23:32639const char kEnableImplicitRootScrollerName[] = "Implicit Root Scroller";
640const char kEnableImplicitRootScrollerDescription[] =
641 "Enables implicitly choosing which scroller on a page is the 'root "
642 "scroller'. i.e. The one that gets special features like URL bar movement, "
643 "overscroll glow, rotation anchoring, etc.";
644
Robert Ogden5a63b242018-09-17 21:38:57645const char kEnablePreviewsAndroidOmniboxUIName[] =
646 "Previews Android Omnibox UI";
647const char kEnablePreviewsAndroidOmniboxUIDescription[] =
648 "Enable showing the Previews UI in the Omnibox on Android instead of an "
649 "InfoBar. This has no effect on other platforms.";
650
Robert Ogdence8c9572018-10-08 23:08:48651const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
652const char kEnableLitePageServerPreviewsDescription[] =
Doug Arnett9c1f87562018-12-14 00:56:39653 "Enable showing Lite Page Previews served from a Previews Server."
654 "This feature will cause Chrome to redirect eligible navigations "
Robert Ogdence8c9572018-10-08 23:08:48655 "to a Google-owned domain that serves a pre-rendered version of the "
Doug Arnett9c1f87562018-12-14 00:56:39656 "original page. Also known as Lite Page Redirect Previews.";
Robert Ogdence8c9572018-10-08 23:08:48657
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41658const char kLayeredAPIName[] = "Experimental layered APIs";
659const char kLayeredAPIDescription[] =
660 "Enable layered API infrastructure, as well as several experimental "
661 "layered APIs. The syntax and the APIs exposed are experimental and will "
662 "change over time.";
663
Philip Rogers63481332018-12-01 22:16:51664const char kEnableBlinkGenPropertyTreesName[] = "Enable BlinkGenPropertyTrees";
665const char kEnableBlinkGenPropertyTreesDescription[] =
666 "Enable a new compositing mode where Blink generates the compositor "
667 "property trees.";
668
Ian Kilpatricke68ef11a2018-07-04 03:52:10669const char kEnableLayoutNGName[] = "Enable LayoutNG";
670const char kEnableLayoutNGDescription[] =
671 "Enable Blink's next generation layout engine.";
672
Scott Littled0fd2d002018-04-13 03:37:26673const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
674const char kEnableLazyFrameLoadingDescription[] =
675 "Defers the loading of certain cross-origin frames until the page is "
676 "scrolled down near them.";
677
rajendrant793ff512018-08-10 17:07:59678const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
679const char kEnableLazyImageLoadingDescription[] =
680 "Defers the loading of images until the page is scrolled down near them.";
681
Sidney San Martín9375b892017-09-09 00:29:54682const char kEnableMacMaterialDesignDownloadShelfName[] =
683 "Enable Material Design download shelf";
684
685const char kEnableMacMaterialDesignDownloadShelfDescription[] =
686 "If enabled, the download shelf uses Material Design.";
687
Becca Hughesac86cd442019-01-09 23:49:54688const char kEnableMediaSessionServiceName[] = "Media Session Service";
689const char kEnableMediaSessionServiceDescription[] =
690 "Enables the media session mojo service and internal media session "
691 "support.";
692
Anton Urusov47cd4932017-09-19 14:41:41693const char kEnablePolicyToolName[] = "Enable policy management page";
694const char kEnablePolicyToolDescription[] =
695 "If enabled, the chrome://policy-tool URL loads a page for managing "
696 "policies.";
697
Brett Wilsonf27ff602017-07-07 22:28:47698const char kEnableNavigationTracingName[] = "Enable navigation tracing";
699const char kEnableNavigationTracingDescription[] =
700 "This is to be used in conjunction with the trace-upload-url flag. "
701 "WARNING: When enabled, Chrome will record performance data for every "
702 "navigation and upload it to the URL specified by the trace-upload-url "
703 "flag. The trace may include personally identifiable information (PII) "
704 "such as the titles and URLs of websites you visit.";
705
Bernhard Bauer5533f9912017-11-06 17:56:02706const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
707const char kEnableNetworkLoggingToFileDescription[] =
708 "Enables network logging to a file named netlog.json in the user data "
709 "directory. The file can be imported into chrome://net-internals.";
710
Brett Wilsonf27ff602017-07-07 22:28:47711const char kEnableNetworkServiceName[] = "Enable network service";
712const char kEnableNetworkServiceDescription[] =
713 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40714 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47715
John Abd-El-Malek8067cc02017-12-04 23:23:20716const char kEnableNetworkServiceInProcessName[] =
717 "Runs network service in-process";
718const char kEnableNetworkServiceInProcessDescription[] =
719 "Runs the network service in the browser process.";
720
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28721const char kEnableNotificationScrollBarName[] =
722 "Enable notification list scroll bar";
723const char kEnableNotificationScrollBarDescription[] =
724 "Enable the scroll bar of the notification list in Unified System Tray.";
725
Mitsuru Otsukae8304de2018-10-29 02:14:36726const char kEnableNotificationExpansionAnimationName[] =
727 "Enable notification expansion animations";
728const char kEnableNotificationExpansionAnimationDescription[] =
729 "Enable notification animations whenever the expansion state is toggled.";
730
xlou8b56f672018-02-09 23:34:30731const char kEnableNupPrintingName[] = "Enable N-up printing";
732const char kEnableNupPrintingDescription[] =
733 "Enable N-up printing in the print preview panel.";
734
Sophie Chang117a3b22017-10-24 22:25:36735const char kEnableOptimizationHintsName[] = "Optimization Hints";
736const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50737 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36738 "into decisions for what optimizations to perform on some pages on slow "
739 "networks.";
740
Takashi Toyoshima2e01e692018-11-16 03:23:27741const char kEnableOutOfBlinkCorsName[] = "Out of blink CORS";
742const char kEnableOutOfBlinkCorsDescription[] =
Yutaka Hirano98be3272017-08-07 17:55:39743 "CORS handling logic is moved out of blink.";
744
Chris Halle952239e2018-11-06 06:49:52745const char kExperimentalAccessibilityFeaturesName[] =
746 "Experimental accessibility features";
747const char kExperimentalAccessibilityFeaturesDescription[] =
748 "Enable additional accessibility features in the Settings page.";
749
Katie D652135c2018-11-27 18:30:13750const char kExperimentalAccessibilityAutoclickName[] =
751 "Experimental automatic click features";
752const char kExperimentalAccessibilityAutoclickDescription[] =
753 "Enable additional features for automatic clicks.";
754
Katie D0c31c5062019-01-02 18:12:35755const char kExperimentalAccessibilityLabelsName[] =
756 "Experimental accessibility image label features";
757const char kExperimentalAccessibilityLabelsDescription[] =
758 "Enable additional features for image labels for accessibility.";
759
Chris Hall4a4225f62019-01-18 03:07:16760const char kExperimentalAccessibilityLanguageDetectionName[] =
761 "Experimental accessibility language detection";
762const char kExperimentalAccessibilityLanguageDetectionDescription[] =
763 "Enable language detection for in-page content which is then exposed to "
764 "accessiblity technologies such as screen readers.";
765
Anastasia Helfinsteinafecc68c2018-11-26 19:20:17766const char kExperimentalAccessibilitySwitchAccessName[] =
767 "Experimental feature Switch Access";
768const char kExperimentalAccessibilitySwitchAccessDescription[] =
769 "Add a setting to enable the prototype of Switch Access";
770
kylechar7051c092018-02-05 20:31:39771const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
772const char kVizDisplayCompositorDescription[] =
773 "If enabled, the display compositor runs as part of the viz service in the"
774 "GPU process.";
775
Ria Jiang6a129b982018-03-01 18:30:40776const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
777const char kVizHitTestDrawQuadDescription[] =
778 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
779 "with hit-test data computed from the CompositorFrame.";
780
Erik Chen49bbfa22017-08-18 08:49:56781const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23782 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56783const char kEnableOutOfProcessHeapProfilingDescription[] =
784 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19785 "malloced objects. Heap dumps can be obtained at chrome://tracing "
786 "[category:memory-infra] and chrome://memory-internals. This setting "
787 "controls which processes are profiled. As long as this setting is not "
788 "disabled, users can start profiling any given process in "
789 "chrome://memory-internals.";
790const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
791const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
792const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
793const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
794const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10795const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19796 "None by default. Visit chrome://memory-internals to choose which "
797 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15798const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
799 "Profile a random sampling of renderer processes, ensuring only one is "
800 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19801
Erik Chen8bb76b52017-12-06 19:06:25802const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19803 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25804const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
805 "By default, small allocations are pruned from the heap dump. This reduces "
806 "the size of the compressed trace by 100x. If pruning is disabled, the "
807 "chrome://tracing UI may be unable to take or load the trace. Save the "
808 "trace directly using chrome://memory-internals, and use other mechanisms "
809 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
810 "automatically uploaded traces will always be pruned. This only affects "
811 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56812
erikchen8bc20d82018-02-14 03:21:51813const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
814const char kOutOfProcessHeapProfilingSamplingDescription[] =
815 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22816 "10000. This results in low noise for large and/or frequent allocations ["
817 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
818 "total size of malloc-ed objects] and large and/or frequent allocations "
819 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51820
Erik Chen3303fd0232018-01-11 20:29:05821const char kOOPHPStackModeName[] =
822 "The type of stack to record for memlog heap dumps";
823const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19824 "By default, memlog heap dumps record native stacks, which requires a "
825 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55826 "pointers to work on Android. Native with thread names will add the thread "
827 "name as the first frame of each native stack. It's also possible to "
828 "record a pseudo stack using trace events as identifiers. It's also "
829 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19830const char kOOPHPStackModeMixed[] = "Mixed";
831const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55832const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19833const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05834
François Beaufort2e75f492018-02-08 20:44:46835const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47836const char kEnablePictureInPictureDescription[] =
François Beaufort106802c2018-12-18 17:46:13837 "Show Picture-in-Picture in browser context menu and video native "
838 "controls. The #enable-surfaces-for-videos flag must be enabled as well "
839 "to use it.";
Brett Wilsonf27ff602017-07-07 22:28:47840
F#m59d036e2017-09-13 07:22:17841const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
842const char kEnablePixelCanvasRecordingDescription[] =
843 "Pixel canvas recording allows the compositor to raster contents aligned "
844 "with the pixel and improves text rendering. This should be enabled when a "
845 "device is using fractional scale factor.";
846
Ella Gebee81c92018-08-14 15:51:09847const char kEnableResamplingInputEventsName[] =
848 "Enable resampling input events";
849const char kEnableResamplingInputEventsDescription[] =
850 "Predicts mouse and touch inputs position at rAF time based on previous "
851 "input";
852const char kEnableResamplingScrollEventsName[] =
853 "Enable resampling scroll events";
854const char kEnableResamplingScrollEventsDescription[] =
855 "Predicts the scroll amount at vsync time based on previous input";
856
Doug Arnettaa0bf202018-08-27 19:42:11857const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
858const char kEnableResourceLoadingHintsDescription[] =
859 "Enable using server-provided resource loading hints to provide a preview "
860 "over slow network connections.";
861
Mikel Astizb4786aa2018-11-09 22:12:09862const char kEnableSyncPseudoUSSAppListName[] =
863 "Enable pseudo-USS for APP_LIST sync.";
864const char kEnableSyncPseudoUSSAppListDescription[] =
865 "Enable new USS-based codepath for sync datatype APP_LIST.";
866
867const char kEnableSyncPseudoUSSAppsName[] = "Enable pseudo-USS for APPS sync.";
868const char kEnableSyncPseudoUSSAppsDescription[] =
869 "Enable new USS-based codepath for sync datatype APPS.";
870
871const char kEnableSyncPseudoUSSDictionaryName[] =
872 "Enable pseudo-USS for DICTIONARY sync.";
873const char kEnableSyncPseudoUSSDictionaryDescription[] =
874 "Enable new USS-based codepath for sync datatype DICTIONARY.";
875
876const char kEnableSyncPseudoUSSExtensionSettingsName[] =
877 "Enable pseudo-USS for EXTENSION_SETTINGS and APP_SETTINGS sync.";
878const char kEnableSyncPseudoUSSExtensionSettingsDescription[] =
879 "Enable new USS-based codepath for sync datatypes EXTENSION_SETTINGS and "
880 "APP_SETTINGS.";
881
882const char kEnableSyncPseudoUSSExtensionsName[] =
883 "Enable pseudo-USS for EXTENSIONS sync.";
884const char kEnableSyncPseudoUSSExtensionsDescription[] =
885 "Enable new USS-based codepath for sync datatype EXTENSIONS.";
886
887const char kEnableSyncPseudoUSSFaviconsName[] =
888 "Enable pseudo-USS for favicon sync.";
889const char kEnableSyncPseudoUSSFaviconsDescription[] =
890 "Enable new USS-based codepath for sync datatypes FAVICON_IMAGES and "
891 "FAVICON_TRACKING.";
892
893const char kEnableSyncPseudoUSSHistoryDeleteDirectivesName[] =
894 "Enable pseudo-USS for HISTORY_DELETE_DIRECTIVES sync.";
895const char kEnableSyncPseudoUSSHistoryDeleteDirectivesDescription[] =
896 "Enable new USS-based codepath for sync datatype "
897 "HISTORY_DELETE_DIRECTIVES.";
898
899const char kEnableSyncPseudoUSSPasswordsName[] =
900 "Enable pseudo-USS for PASSWORDS sync.";
901const char kEnableSyncPseudoUSSPasswordsDescription[] =
902 "Enable new USS-based codepath for sync datatype PASSWORDS (pseudo-USS).";
903
904const char kEnableSyncPseudoUSSPreferencesName[] =
905 "Enable pseudo-USS for PREFERENCES sync.";
906const char kEnableSyncPseudoUSSPreferencesDescription[] =
907 "Enable new USS-based codepath for sync datatype PREFERENCES.";
908
909const char kEnableSyncPseudoUSSPriorityPreferencesName[] =
910 "Enable pseudo-USS for PRIORITY_PREFERENCES sync.";
911const char kEnableSyncPseudoUSSPriorityPreferencesDescription[] =
912 "Enable new USS-based codepath for sync datatype PRIORITY_PREFERENCES.";
913
914const char kEnableSyncPseudoUSSSearchEnginesName[] =
915 "Enable pseudo-USS for SEARCH_ENGINES sync.";
916const char kEnableSyncPseudoUSSSearchEnginesDescription[] =
917 "Enable new USS-based codepath for sync datatype SEARCH_ENGINES.";
918
919const char kEnableSyncPseudoUSSSupervisedUsersName[] =
920 "Enable pseudo-USS for supervised users sync.";
921const char kEnableSyncPseudoUSSSupervisedUsersDescription[] =
922 "Enable new USS-based codepath for sync datatypes SUPERVISED_USER_SETTINGS "
923 "and SUPERVISED_USER_WHITELISTS.";
924
925const char kEnableSyncPseudoUSSThemesName[] =
926 "Enable pseudo-USS for THEMES sync.";
927const char kEnableSyncPseudoUSSThemesDescription[] =
928 "Enable new USS-based codepath for sync datatype THEMES.";
929
Mohamed Amir Yosef0178fa892018-07-23 17:43:52930const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
931const char kEnableSyncUSSBookmarksDescription[] =
932 "Enables the new, experimental implementation of bookmark sync";
933
Mohamed Amir Yosef3074dfc2019-02-06 18:34:43934const char kEnableSyncUSSPasswordsName[] = "Enable USS for passwords sync";
935const char kEnableSyncUSSPasswordsDescription[] =
936 "Enables the new, experimental implementation of passwords sync";
937
Mikel Astiz38837f82018-04-24 22:23:23938const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
939const char kEnableSyncUSSSessionsDescription[] =
940 "Enables the new, experimental implementation of session sync (aka tab "
941 "sync).";
942
Brett Wilsonf27ff602017-07-07 22:28:47943const char kEnableUseZoomForDsfName[] =
944 "Use Blink's zoom for device scale factor.";
945const char kEnableUseZoomForDsfDescription[] =
946 "If enabled, Blink uses its zooming mechanism to scale content for device "
947 "scale factor.";
948const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
949const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
950const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
951
Patrick Noland8ee016e2018-01-24 11:44:53952const char kEnableScrollAnchorSerializationName[] =
953 "Scroll Anchor Serialization";
954const char kEnableScrollAnchorSerializationDescription[] =
955 "Save the scroll anchor and use it to restore the scroll position when "
956 "navigating.";
957
Brad Nelson5cd500e2018-01-04 00:50:19958const char kEnableSharedArrayBufferName[] =
959 "Experimental enabled SharedArrayBuffer support in JavaScript.";
960const char kEnableSharedArrayBufferDescription[] =
961 "Enable SharedArrayBuffer support in JavaScript.";
962
Brett Wilsonf27ff602017-07-07 22:28:47963const char kEnableWasmName[] = "WebAssembly structured cloning support.";
964const char kEnableWasmDescription[] =
965 "Enable web pages to use WebAssembly structured cloning.";
966
Lei Zhang0ca70ea2018-09-07 17:51:01967const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47968 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01969const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47970 "Enable the cloud-assisted pairingless BLE protocol for use with "
971 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54972
Brett Wilsonf27ff602017-07-07 22:28:47973const char kEnableImageCaptureAPIName[] = "Image Capture API";
974const char kEnableImageCaptureAPIDescription[] =
975 "Enables the Web Platform Image Capture API: takePhoto(), "
976 "getPhotoCapabilities(), etc.";
977
Ramin Halavatic158b182018-10-18 14:04:54978const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
979const char kEnableIncognitoWindowCounterDescription[] =
980 "Shows the count of Incognito windows next to the Incognito icon on the "
981 "toolbar.";
982
Brett Wilsonf27ff602017-07-07 22:28:47983const char kEnableZeroSuggestRedirectToChromeName[] =
984 "Experimental contextual omnibox suggestion";
985const char kEnableZeroSuggestRedirectToChromeDescription[] =
986 "Change omnibox contextual suggestions to an experimental source. Note "
987 "that this is not an on/off switch for contextual omnibox and it only "
988 "applies to suggestions provided before the user starts typing a URL or a "
989 "search query (i.e. zero suggest).";
990
Clemens Hammacher0c8a15a2018-04-27 13:45:32991const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
992const char kEnableWasmBaselineDescription[] =
993 "Enables WebAssembly baseline compilation and tier up.";
994
Ben Smith24c1e5c2018-06-20 01:09:02995const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
996const char kEnableWasmThreadsDescription[] =
997 "Enables support for the WebAssembly Threads proposal. Implies "
998 "#shared-array-buffer and #enable-webassembly.";
999
Brett Wilsonf27ff602017-07-07 22:28:471000const char kExpensiveBackgroundTimerThrottlingName[] =
1001 "Throttle expensive background timers";
1002const char kExpensiveBackgroundTimerThrottlingDescription[] =
1003 "Enables intervention to limit CPU usage of background timers to 1%.";
1004
1005const char kExperimentalAppBannersName[] = "Experimental app banners";
1006const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:381007 "Enables a new experimental app banner flow and UI. Implies "
1008 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:471009
1010const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
1011const char kExperimentalCanvasFeaturesDescription[] =
1012 "Enables the use of experimental canvas features which are still in "
1013 "development.";
1014
1015const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
1016const char kExperimentalExtensionApisDescription[] =
1017 "Enables experimental extension APIs. Note that the extension gallery "
1018 "doesn't allow you to upload extensions that use experimental APIs.";
1019
Ian Clelland37a985d2018-05-04 02:43:131020const char kExperimentalProductivityFeaturesName[] =
1021 "Experimental Productivity Features";
1022const char kExperimentalProductivityFeaturesDescription[] =
1023 "Enable support for experimental developer productivity features, such as "
1024 "Layered APIs and policies for avoiding slow rendering.";
1025
Brett Wilsonf27ff602017-07-07 22:28:471026const char kExperimentalSecurityFeaturesName[] =
1027 "Potentially annoying security features";
1028const char kExperimentalSecurityFeaturesDescription[] =
1029 "Enables several security features that will likely break one or more "
1030 "pages that you visit on a daily basis. Strict mixed content checking, for "
1031 "example. And locking powerful features to secure contexts. This flag will "
1032 "probably annoy you.";
1033
1034const char kExperimentalWebPlatformFeaturesName[] =
1035 "Experimental Web Platform features";
1036const char kExperimentalWebPlatformFeaturesDescription[] =
1037 "Enables experimental Web Platform features that are in development.";
1038
1039const char kExtensionContentVerificationName[] =
1040 "Extension Content Verification";
1041const char kExtensionContentVerificationDescription[] =
1042 "This flag can be used to turn on verification that the contents of the "
1043 "files on disk for extensions from the webstore match what they're "
1044 "expected to be. This can be used to turn on this feature if it would not "
1045 "otherwise have been turned on, but cannot be used to turn it off (because "
1046 "this setting can be tampered with by malware).";
1047const char kExtensionContentVerificationBootstrap[] =
1048 "Bootstrap (get expected hashes, but do not enforce them)";
1049const char kExtensionContentVerificationEnforce[] =
1050 "Enforce (try to get hashes, and enforce them if successful)";
1051const char kExtensionContentVerificationEnforceStrict[] =
1052 "Enforce strict (hard fail if we can't get hashes)";
1053
1054const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
1055const char kExtensionsOnChromeUrlsDescription[] =
1056 "Enables running extensions on chrome:// URLs, where extensions explicitly "
1057 "request this permission.";
galinapae72e152017-05-12 13:12:281058
Brett Wilsonecb80982017-07-12 20:34:511059const char kFeaturePolicyName[] = "Feature Policy";
1060const char kFeaturePolicyDescription[] =
1061 "Enables granting and removing access to features through the "
1062 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:341063
Brett Wilsonecb80982017-07-12 20:34:511064const char kFontCacheScalingName[] = "FontCache scaling";
1065const char kFontCacheScalingDescription[] =
1066 "Reuse a cached font in the renderer to serve different sizes of font for "
1067 "faster layout.";
1068
1069const char kForceEffectiveConnectionTypeName[] =
1070 "Override effective connection type";
1071const char kForceEffectiveConnectionTypeDescription[] =
1072 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:301073 "returned by the network quality estimator. Slow 2G on Cellular returns "
1074 "Slow 2G when connected to a cellular network, and the actual estimate "
1075 "effective connection type when not on a cellular network. Previews are "
1076 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:511077const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
1078const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
1079const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:301080const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
1081 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:511082const char kEffectiveConnectionType2GDescription[] = "2G";
1083const char kEffectiveConnectionType3GDescription[] = "3G";
1084const char kEffectiveConnectionType4GDescription[] = "4G";
1085
1086const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1087const char kFillOnAccountSelectDescription[] =
1088 "Filling of passwords when an account is explicitly selected by the user "
1089 "rather than autofilling credentials on page load.";
1090
jdoerrie11c5f4f2019-02-04 18:29:181091const char kFillOnAccountSelectHttpName[] =
1092 "Fill passwords on account selection on HTTP origins";
1093const char kFillOnAccountSelectHttpDescription[] =
1094 "Filling of passwords when an account is explicitly selected by the user "
1095 "rather than autofilling credentials on page load on HTTP origins.";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kForceTextDirectionName[] = "Force text direction";
1098const char kForceTextDirectionDescription[] =
1099 "Explicitly force the per-character directionality of UI text to "
1100 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
1101 "direction of the character language.";
1102const char kForceDirectionLtr[] = "Left-to-right";
1103const char kForceDirectionRtl[] = "Right-to-left";
1104
1105const char kForceUiDirectionName[] = "Force UI direction";
1106const char kForceUiDirectionDescription[] =
1107 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1108 "mode, overriding the default direction of the UI language.";
1109
1110const char kFramebustingName[] =
1111 "Framebusting requires same-origin or a user gesture";
1112const char kFramebustingDescription[] =
1113 "Don't permit an iframe to navigate the top level browsing context unless "
1114 "they are same-origin or the iframe is processing a user gesture.";
1115
Matt Reynolds043469f2018-05-01 22:56:581116const char kGamepadVibrationName[] = "Gamepad Vibration";
1117const char kGamepadVibrationDescription[] =
1118 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511119
Brett Wilsonecb80982017-07-12 20:34:511120const char kGpuRasterizationName[] = "GPU rasterization";
1121const char kGpuRasterizationDescription[] =
1122 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281123const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511124
Ioana Pandele1ed7ef72018-11-21 15:22:031125const char kGooglePasswordManagerName[] = "Google Password Manager UI";
1126const char kGooglePasswordManagerDescription[] =
1127 "Enables access to the Google Password Manager UI from Chrome.";
1128
Brett Wilsonecb80982017-07-12 20:34:511129const char kGoogleProfileInfoName[] = "Google profile name and icon";
1130const char kGoogleProfileInfoDescription[] =
1131 "Enables using Google information to populate the profile name and icon in "
1132 "the avatar menu.";
1133
Takumi Fujimotofb71e332018-03-31 14:04:081134const char kViewsCastDialogName[] = "Views Cast dialog";
1135const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311136 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531137 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541138 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081139
Gabrielle Paladoaebf7ca2019-01-16 07:07:061140const char kHandwritingGestureName[] = "Handwriting Gestures";
1141const char kHandwritingGestureDescription[] =
1142 "Enables handwriting gestures within the virtual keyboard";
1143
Tommy Steimel1aadd7b2019-01-18 19:39:421144const char kHardwareMediaKeyHandling[] = "Hardware Media Key Handling";
1145const char kHardwareMediaKeyHandlingDescription[] =
1146 "Enables using media keys to control the active media session. This "
1147 "requires MediaSessionService to be enabled too";
1148
Manu Cornet4a908de2018-04-09 04:32:271149const char kHideActiveAppsFromShelfName[] =
1150 "Hide running apps (that are not pinned) from the shelf";
1151const char kHideActiveAppsFromShelfDescription[] =
1152 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251153
Brett Wilsonecb80982017-07-12 20:34:511154const char kHistoryRequiresUserGestureName[] =
1155 "New history entries require a user gesture.";
1156const char kHistoryRequiresUserGestureDescription[] =
1157 "Require a user gesture to add a history entry.";
1158const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1159const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1160
Ryan Landay4242dbc22018-04-04 01:47:331161const char kHorizontalTabSwitcherAndroidName[] =
1162 "Enable horizontal tab switcher";
1163const char kHorizontalTabSwitcherAndroidDescription[] =
1164 "Changes the layout of the Android tab switcher so tabs scroll "
1165 "horizontally instead of vertically.";
1166
Matt Simmons2048b2a2018-12-20 20:12:561167const char kTabSwitcherOnReturnName[] = "Enable tab switcher on return";
1168const char kTabSwitcherOnReturnDescription[] =
1169 "Enable tab switcher on return after specified time has elapsed";
1170
Brett Wilsonecb80982017-07-12 20:34:511171const char kHostedAppQuitNotificationName[] =
1172 "Quit notification for hosted apps";
1173const char kHostedAppQuitNotificationDescription[] =
1174 "Display a notification when quitting Chrome if hosted apps are currently "
1175 "running.";
1176
1177const char kHostedAppShimCreationName[] =
1178 "Creation of app shims for hosted apps on Mac";
1179const char kHostedAppShimCreationDescription[] =
1180 "Create app shims on Mac when creating a hosted app.";
1181
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481182const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1183const char kHtmlBasedUsernameDetectorDescription[] =
1184 "Use HTML-based username detector for the password manager.";
1185
Brett Wilsonecb80982017-07-12 20:34:511186const char kIconNtpName[] = "Large icons on the New Tab page";
1187const char kIconNtpDescription[] =
1188 "Enable the experimental New Tab page using large icons.";
1189
1190const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1191const char kIgnoreGpuBlacklistDescription[] =
1192 "Overrides the built-in software rendering list and enables "
1193 "GPU-acceleration on unsupported system configurations.";
1194
Ryan Sturm8c3dbc92018-06-26 19:22:371195const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441196const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371197 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441198
Alexandre Frechetted3e1b542018-12-13 14:40:501199const char kImprovedGeoLanguageDataName[] = "Improved Geo-language Data";
1200const char kImprovedGeoLanguageDataDescription[] =
1201 "Makes the GeoLanguageModel use higher quality, more refined ULP "
1202 "geo-language data.";
1203
Brett Wilsonecb80982017-07-12 20:34:511204const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1205const char kInProductHelpDemoModeChoiceDescription[] =
1206 "Selects the In-Product Help demo mode.";
1207
1208const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1209const char kJavascriptHarmonyDescription[] =
1210 "Enable web pages to use experimental JavaScript features.";
1211
1212const char kJavascriptHarmonyShippingName[] =
1213 "Latest stable JavaScript features";
1214const char kJavascriptHarmonyShippingDescription[] =
1215 "Some web pages use legacy or non-standard JavaScript extensions that may "
1216 "conflict with the latest JavaScript features. This flag allows disabling "
1217 "support of those features for compatibility with such pages.";
1218
gogeraldfd7675d2018-06-19 22:57:351219const char kJustInTimeServiceWorkerPaymentAppName[] =
1220 "Just-in-time service worker payment app";
1221const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1222 "Allow crawling just-in-time service worker payment app when there is no "
1223 "installed service worker payment app for a payment request.";
1224
Yutaka Hiranof7f2f632017-09-06 10:40:081225const char kKeepAliveRendererForKeepaliveRequestsName[] =
1226 "Keep a renderer alive for keepalive fetch requests";
1227const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1228 "Keep a render process alive when the process has a pending fetch request "
1229 "with `keepalive' specified.";
1230
Joe Downing095fd6d2018-02-01 18:40:361231const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1232const char kKeyboardLockApiDescription[] =
1233 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1234 "specific key events and have them routed directly to the webpage when in "
1235 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1236
Brett Wilsonecb80982017-07-12 20:34:511237const char kLcdTextName[] = "LCD text antialiasing";
1238const char kLcdTextDescription[] =
1239 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1240 "(subpixel) when doing accelerated compositing.";
1241
Matt Giucac399982f2017-10-06 07:51:291242const char kLeftToRightUrlsName[] =
1243 "Render bidirectional URLs from left to right";
1244const char kLeftToRightUrlsDescription[] =
1245 "An experimental Bidi URL rendering algorithm where the URL components are "
1246 "always shown in order from left to right, regardless of any RTL "
1247 "characters. (The contents of each component are still rendered with the "
1248 "normal Bidi algorithm.)";
1249
Brett Wilsonecb80982017-07-12 20:34:511250const char kLoadMediaRouterComponentExtensionName[] =
1251 "Load Media Router Component Extension";
1252const char kLoadMediaRouterComponentExtensionDescription[] =
1253 "Loads the Media Router component extension at startup.";
1254
Mustafa Emre Acer137dc8b2018-08-29 20:38:131255const char kLookalikeUrlNavigationSuggestionsName[] =
1256 "Navigation suggestions for lookalike URLs";
1257const char kLookalikeUrlNavigationSuggestionsDescription[] =
1258 "Enable navigation suggestions for URLs that are visually similar to "
1259 "popular domains or to domains with a site engagement score.";
1260
Brett Wilsonecb80982017-07-12 20:34:511261const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1262const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511263
Lei Zhang2eca9082017-10-17 20:42:501264const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1265const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511266 "If enabled, the Incognito New Tab page uses the new material design with "
1267 "a better readable text.";
1268
spqchanb87755692018-04-05 00:46:091269const char kMediaRouterCastAllowAllIPsName[] =
1270 "Connect to Cast devices on all IP addresses";
1271const char kMediaRouterCastAllowAllIPsDescription[] =
1272 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311273 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091274
Brett Wilsonecb80982017-07-12 20:34:511275const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1276const char kMessageCenterNewStyleNotificationDescription[] =
1277 "Enables the experiment style of material-design notification";
1278
Brett Wilsonecb80982017-07-12 20:34:511279const char kNewAudioRenderingMixingStrategyName[] =
1280 "New audio rendering mixing strategy";
1281const char kNewAudioRenderingMixingStrategyDescription[] =
1282 "Use the new audio rendering mixing strategy.";
1283
1284const char kNewBookmarkAppsName[] = "The new bookmark app system";
1285const char kNewBookmarkAppsDescription[] =
1286 "Enables the new system for creating bookmark apps.";
1287
Vadym Doroshenkocd4ff782018-07-24 13:41:021288const char kNewPasswordFormParsingName[] =
1289 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241290const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021291 "Replaces existing form parsing for filling in password manager with a new "
1292 "version, currently under development. WARNING: when enabled, Password "
1293 "Manager might stop working";
1294
1295const char kNewPasswordFormParsingForSavingName[] =
1296 "New password form parsing for saving passwords";
1297const char kNewPasswordFormParsingForSavingDescription[] =
1298 "Replaces existing form parsing for saving in password manager with a new "
1299 "version, currently under development. WARNING: when enabled, Password "
1300 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241301
CJ DiMeglio7b4a199f2017-11-30 01:26:501302const char kUseSurfaceLayerForVideoName[] =
1303 "Enable the use of SurfaceLayer objects for videos.";
1304const char kUseSurfaceLayerForVideoDescription[] =
1305 "Enable compositing onto a Surface instead of a VideoLayer "
1306 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511307
1308const char kNewUsbBackendName[] = "Enable new USB backend";
1309const char kNewUsbBackendDescription[] =
1310 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341311
Sonny Sasaka2d200432018-03-22 17:43:161312const char kNewblueName[] = "Newblue";
1313const char kNewblueDescription[] =
1314 "Enables the use of newblue Bluetooth daemon.";
1315
Peter Boström7df25c72018-12-12 06:40:191316const char kNewTabLoadingAnimation[] = "New tab-loading animation";
1317const char kNewTabLoadingAnimationDescription[] =
1318 "Enables a new look for the tab-loading animation.";
1319
Peter Kasting63097912018-06-30 02:09:031320const char kNewTabButtonPosition[] = "New tab button position";
1321const char kNewTabButtonPositionDescription[] =
1322 "Controls placement of the new tab button within the tabstrip.";
1323const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1324const char kNewTabButtonPositionLeading[] = "Leading";
1325const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1326const char kNewTabButtonPositionTrailing[] = "Trailing";
1327
Egor Pasko6fed3822018-05-30 10:33:141328const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341329const char kNostatePrefetchDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:061330 "If enabled, pre-downloads resources to improve page load speed.";
vabr0215a8e2017-03-28 12:47:341331
Alex Newcomerd7b0cc42018-05-25 22:58:481332const char kNotificationIndicatorName[] = "Notification Indicators";
1333const char kNotificationIndicatorDescription[] =
1334 "Enable notification indicators, which appear on app icons when a "
1335 "notification is active. This will also enable notifications in context "
1336 "menus.";
1337
Brett Wilsonecb80982017-07-12 20:34:511338const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1339const char kNotificationsNativeFlagDescription[] =
1340 "Enable support for using the native notification toasts and notification "
1341 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341342
Valeriya Sinevich972ac122018-09-05 07:33:191343const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1344const char kUseMultiloginEndpointDescription[] =
1345 "Use Gaia OAuth multilogin for identity consistency.";
1346
Zentaro Kavanaghbad511c2017-10-18 22:29:001347#if defined(OS_POSIX)
1348const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1349const char kNtlmV2EnabledDescription[] =
1350 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1351#endif
1352
Brett Wilsonecb80982017-07-12 20:34:511353const char kOfferStoreUnmaskedWalletCardsName[] =
1354 "Google Payments card saving checkbox";
1355const char kOfferStoreUnmaskedWalletCardsDescription[] =
1356 "Show the checkbox to offer local saving of a credit card downloaded from "
1357 "the server.";
1358
1359const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1360const char kOfflineAutoReloadDescription[] =
1361 "Pages that fail to load while the browser is offline will be "
1362 "auto-reloaded when the browser is online again.";
1363
1364const char kOfflineAutoReloadVisibleOnlyName[] =
1365 "Only Auto-Reload Visible Tabs";
1366const char kOfflineAutoReloadVisibleOnlyDescription[] =
1367 "Pages that fail to load while the browser is offline will only be "
1368 "auto-reloaded if their tab is visible.";
1369
Brett Wilsonecb80982017-07-12 20:34:511370const char kOmniboxDisplayTitleForCurrentUrlName[] =
1371 "Include title for the current URL in the omnibox";
1372const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1373 "In the event that the omnibox provides suggestions on-focus, the URL of "
1374 "the current page is provided as the first suggestion without a title. "
1375 "Enabling this flag causes the title to be displayed.";
1376
Tomasz Wiszkowskic87dff12019-01-15 02:57:511377const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
1378const char kOmniboxNewAnswerLayoutDescription[] =
1379 "Modernize omnibox answers using an enhanced layout with larger icons.";
1380
Benoit Lizeab08362c2017-07-19 14:50:541381const char kOmniboxSpareRendererName[] =
1382 "Start spare renderer on omnibox focus";
1383const char kOmniboxSpareRendererDescription[] =
1384 "When the omnibox is focused, start an empty spare renderer. This can "
1385 "speed up the load of the navigation from the omnibox.";
1386
Tommy C. Lie4194b732018-09-28 22:21:511387const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1388 "Omnibox UI Hide Steady-State URL Scheme";
1389const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1390 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361391 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511392
Tommy C. Lib20aec72018-11-19 21:38:231393const char kOmniboxUIOneClickUnelideName[] = "Omnibox UI One Click Unelide";
1394const char kOmniboxUIOneClickUnelideDescription[] =
1395 "In the omnibox, undo all unelisions with a single click or focus action.";
1396
Tommy C. Lie4194b732018-09-28 22:21:511397const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1398 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1399const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1400 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361401 "Hidden portions are restored during editing.";
1402
1403const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1404 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1405const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1406 "In the omnibox, hide the path, query and ref from steady state displayed "
1407 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121408
Brett Wilsonecb80982017-07-12 20:34:511409const char kOmniboxUIMaxAutocompleteMatchesName[] =
1410 "Omnibox UI Max Autocomplete Matches";
1411
1412const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1413 "Changes the maximum number of autocomplete matches displayed in the "
1414 "Omnibox UI.";
1415
Justin Donnelly65c9e8b2017-10-01 05:15:011416const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1417const char kOmniboxUISwapTitleAndUrlDescription[] =
1418 "In the omnibox dropdown, shows titles before URLs when both are "
1419 "available.";
1420
Troy Hildebrandtb32637ca2018-02-21 23:25:091421const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1422 "Omnibox Voice Search Always Visible";
1423const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1424 "Always displays voice search icon in focused omnibox as long as voice "
1425 "search is possible";
1426
Vadym Doroshenko6b8f64d2018-11-26 15:35:391427const char kOnlyNewPasswordFormParsingName[] =
1428 "Use only new password form parsing";
1429const char kOnlyNewPasswordFormParsingDescription[] =
1430 "The old password form parsing is disabled";
1431
Mark Lieufaa1b762019-01-08 19:37:281432const char kOnTheFlyMhtmlHashComputationName[] =
1433 "On-The-Fly MHTML Hash Computation";
1434const char kOnTheFlyMhtmlHashComputationDescription[] =
1435 "Save MHTML files to the target location and calculate their content "
1436 "digests in one step.";
1437
Adrienne Walkerc87477e2018-06-06 22:28:211438const char kOopRasterizationName[] = "Out of process rasterization";
1439const char kOopRasterizationDescription[] =
1440 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1441 "Must also enable GPU rasterization";
1442
Brett Wilsonecb80982017-07-12 20:34:511443const char kOriginTrialsName[] = "Origin Trials";
1444const char kOriginTrialsDescription[] =
1445 "Enables origin trials for controlling access to feature/API experiments.";
1446
Becca Hughes930d8cd2017-10-02 11:09:121447const char kOverflowIconsForMediaControlsName[] =
1448 "Icons on Media Controls Overflow Menu";
1449const char kOverflowIconsForMediaControlsDescription[] =
1450 "Displays icons on the overflow menu of the native media controls";
1451
Brett Wilsonecb80982017-07-12 20:34:511452const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1453const char kOverlayScrollbarsDescription[] =
1454 "Enable the experimental overlay scrollbars implementation. You must also "
1455 "enable threaded compositing to have the scrollbars animate.";
1456
chaopenge8aa016b2017-08-24 15:20:191457const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1458 "Flash Overlay Scrollbars After Any Scroll Update";
1459const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1460 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1461 " must also enable Overlay Scrollbars.";
1462
chaopeng343678022017-08-24 18:45:001463const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1464 "Flash Overlay Scrollbars When Mouse Enter";
1465const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1466 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1467 " enable Overlay Scrollbars.";
1468
Daniele Castagna74ddb9c2018-06-21 22:59:021469const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1470const char kOverlayStrategiesDescription[] =
1471 "Select strategies used to promote quads to HW overlays.";
1472const char kOverlayStrategiesDefault[] = "Default";
1473const char kOverlayStrategiesNone[] = "None";
1474const char kOverlayStrategiesUnoccludedFullscreen[] =
1475 "Unoccluded fullscreen buffers (single-fullscreen)";
1476const char kOverlayStrategiesUnoccluded[] =
1477 "Unoccluded buffers (single-fullscreen,single-on-top)";
1478const char kOverlayStrategiesOccludedAndUnoccluded[] =
1479 "Occluded and unoccluded buffers "
1480 "(single-fullscreen,single-on-top,underlay)";
1481
Claudio Magni81326f92017-09-01 05:21:181482const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1483const char kUseNewAcceptLanguageHeaderDescription[] =
1484 "Adds the base language code after other corresponding language+region "
1485 "codes. This ensures that users receive content in their preferred "
1486 "language.";
1487
Brett Wilsonecb80982017-07-12 20:34:511488const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1489const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481490 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511491
1492const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1493const char kOverscrollStartThresholdDescription[] =
1494 "Changes overscroll start threshold relative to the default value.";
1495const char kOverscrollStartThreshold133Percent[] = "133%";
1496const char kOverscrollStartThreshold166Percent[] = "166%";
1497const char kOverscrollStartThreshold200Percent[] = "200%";
1498
chaopenge2b6e5f2018-05-08 16:40:451499const char kTouchpadOverscrollHistoryNavigationName[] =
1500 "Overscroll history navigation on Touchpad";
1501const char kTouchpadOverscrollHistoryNavigationDescription[] =
1502 "Allows swipe left/right from touchpad change browser navigation.";
1503
Xing Liu5400a002017-09-15 21:48:291504const char kParallelDownloadingName[] = "Parallel downloading";
1505const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061506 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291507
Brett Wilsonecb80982017-07-12 20:34:511508const char kPassiveEventListenerDefaultName[] =
1509 "Passive Event Listener Override";
1510const char kPassiveEventListenerDefaultDescription[] =
1511 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1512 "haven't requested otherwise) to be treated as passive. This will break "
1513 "touch/wheel behavior on some websites but is useful for demonstrating the "
1514 "potential performance benefits of adopting passive event listeners.";
1515const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1516const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1517
1518const char kPassiveEventListenersDueToFlingName[] =
1519 "Touch Event Listeners Passive Default During Fling";
1520const char kPassiveEventListenersDueToFlingDescription[] =
1521 "Forces touchstart, and first touchmove per scroll event listeners during "
1522 "fling to be treated as passive.";
1523
1524const char kPassiveDocumentEventListenersName[] =
1525 "Document Level Event Listeners Passive Default";
1526const char kPassiveDocumentEventListenersDescription[] =
1527 "Forces touchstart, and touchmove event listeners on document level "
1528 "targets (which haven't requested otherwise) to be treated as passive.";
1529
Sahel Sharify7400e882018-08-13 17:13:211530const char kPassiveDocumentWheelEventListenersName[] =
1531 "Document Level Wheel Event Listeners Passive Default";
1532const char kPassiveDocumentWheelEventListenersDescription[] =
1533 "Forces wheel, and mousewheel event listeners on document level targets "
1534 "(which haven't requested otherwise) to be treated as passive.";
1535
Vaclav Brozekd8a3f542017-11-16 14:21:131536const char kPasswordImportName[] = "Password import";
1537const char kPasswordImportDescription[] =
1538 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511539
Friedrich Horschige6c27742018-04-23 17:13:411540const char kPasswordsKeyboardAccessoryName[] =
1541 "Add password-related functions to keyboard accessory";
1542const char kPasswordsKeyboardAccessoryDescription[] =
1543 "Adds password generation button and toggle for the passwords bottom sheet "
1544 "to the keyboard accessory. Replaces password generation popups.";
1545
Christos Froussios6e060c42018-07-31 16:17:191546const char kPasswordsMigrateLinuxToLoginDBName[] =
1547 "Migrate passwords to \"Login Data\"";
1548const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591549 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191550 "gnome-keyring or kwallet into the profile directory.";
1551
Rouslan Solomakhinded840112018-11-02 13:27:101552const char kPerMethodCanMakePaymentQuotaName[] =
1553 "Per-method canMakePayment() quota.";
1554const char kPerMethodCanMakePaymentQuotaDescription[] =
1555 "Allow calling canMakePayment() for different payment methods, as long as "
1556 "method-specific parameters remain unchanged.";
1557
Brett Wilsonecb80982017-07-12 20:34:511558const char kPinchScaleName[] = "Pinch scale";
1559const char kPinchScaleDescription[] =
1560 "Enables experimental support for scale using pinch.";
1561
Doug Arnett620ff542018-02-06 17:54:221562const char kPreviewsAllowedName[] = "Previews Allowed";
1563const char kPreviewsAllowedDescription[] =
1564 "Allows previews to be shown subject to specific preview types being "
1565 "enabled and the client experiencing specific triggering conditions. "
1566 "May be used as a kill-switch to turn off all potential preview types.";
1567
Brett Wilsonecb80982017-07-12 20:34:511568const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1569const char kPrintPdfAsImageDescription[] =
1570 "If enabled, an option to print PDF files as images will be available in "
1571 "print preview.";
1572
1573const char kPrintPreviewRegisterPromosName[] =
1574 "Print Preview Registration Promos";
1575const char kPrintPreviewRegisterPromosDescription[] =
1576 "Enable registering unregistered cloud printers from print preview.";
1577
1578const char kProtectSyncCredentialName[] = "Autofill sync credential";
1579const char kProtectSyncCredentialDescription[] =
1580 "How the password manager handles autofill for the sync credential.";
1581
1582const char kProtectSyncCredentialOnReauthName[] =
1583 "Autofill sync credential only for transactional reauth pages";
1584const char kProtectSyncCredentialOnReauthDescription[] =
1585 "How the password manager handles autofill for the sync credential only "
1586 "for transactional reauth pages.";
1587
Mohsen Izadi93faac12017-07-29 04:45:151588const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1589const char kPullToRefreshDescription[] =
1590 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011591const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151592
Troy Hildebrandt7228ad12018-02-23 21:18:241593const char kQueryInOmniboxName[] = "Query in Omnibox";
1594const char kQueryInOmniboxDescription[] =
1595 "Only display query terms in the omnibox when viewing a search results "
1596 "page.";
1597
Brett Wilsonecb80982017-07-12 20:34:511598const char kQuicName[] = "Experimental QUIC protocol";
1599const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1600
Emily Starke8878d52018-05-11 21:27:261601const char kRecurrentInterstitialName[] =
1602 "Show a message when the same SSL error recurs";
1603const char kRecurrentInterstitialDescription[] =
1604 "Enable a special message on the SSL certificate error page when the same "
1605 "SSL error occurs repeatedly.";
1606
Brett Wilsonecb80982017-07-12 20:34:511607const char kReducedReferrerGranularityName[] =
1608 "Reduce default 'referer' header granularity.";
1609const char kReducedReferrerGranularityDescription[] =
1610 "If a page hasn't set an explicit referrer policy, setting this flag will "
1611 "reduce the amount of information in the 'referer' header for cross-origin "
1612 "requests.";
1613
Lei Zhang0ca70ea2018-09-07 17:51:011614const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581615 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011616const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581617 "This flag allows regional locales to be selected as display UI by the "
1618 "user in Language Settings. The actual locale of the system is derived "
1619 "from the user selection based on some simple fallback logic.";
1620
Christian Dullweber3cc579a22018-09-11 10:54:441621const char kRewriteLevelDBOnDeletionName[] =
1622 "Rewrite LevelDB instances after full deletions";
1623const char kRewriteLevelDBOnDeletionDescription[] =
1624 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1625
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351626const char kRendererSideResourceSchedulerName[] =
1627 "Renderer side ResourceScheduler";
1628const char kRendererSideResourceSchedulerDescription[] =
1629 "Migrate some ResourceScheduler functionalities to renderer";
1630
Brett Wilsonecb80982017-07-12 20:34:511631const char kRequestTabletSiteName[] =
1632 "Request tablet site option in the settings menu";
1633const char kRequestTabletSiteDescription[] =
1634 "Allows the user to request tablet site. Web content is often optimized "
1635 "for tablet devices. When this option is selected the user agent string is "
1636 "changed to indicate a tablet device. Web content optimized for tablets is "
1637 "received there after for the current tab.";
1638
1639const char kResetAppListInstallStateName[] =
1640 "Reset the App Launcher install state on every restart.";
1641const char kResetAppListInstallStateDescription[] =
1642 "Reset the App Launcher install state on every restart. While this flag is "
1643 "set, Chrome will forget the launcher has been installed each time it "
1644 "starts. This is used for testing the App Launcher install flow.";
1645
Kinuko Yasuda33955082018-06-19 10:14:591646const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511647const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591648 "Uses the resource load scheduler in blink to throttle resource load "
1649 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511650
Daniel Rubery91874e32019-01-10 22:12:341651const char kSafeBrowsingUseAPDownloadVerdictsName[] =
1652 "Request Advanced Protection verdicts when inspecting downloads";
1653const char kSafeBrowsingUseAPDownloadVerdictsDescription[] =
1654 "If enabled, download protection will request Advanced Protection "
1655 "verdicts from Safe Browsing. These will provide stronger protections "
1656 "from files Safe Browsing is unsure about.";
1657
Brett Wilsonecb80982017-07-12 20:34:511658const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1659const char kSafeSearchUrlReportingDescription[] =
1660 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1661
Alexei Filippov98772752018-01-27 08:26:521662const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1663const char kSamplingHeapProfilerDescription[] =
1664 "Enables native memory sampling profiler with specified rate in KiB. "
1665 "If sampling rate is not provided the default value of 128 KiB is used.";
1666
Brett Wilsonecb80982017-07-12 20:34:511667const char kSaveasMenuLabelExperimentName[] =
1668 "Switch 'Save as' menu labels to 'Download'";
1669const char kSaveasMenuLabelExperimentDescription[] =
1670 "Enables an experiment to switch menu labels that use 'Save as...' to "
1671 "'Download'.";
1672
1673const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1674const char kSavePageAsMhtmlDescription[] =
1675 "Enables saving pages as MHTML: a single text file containing HTML and all "
1676 "sub-resources.";
1677
Jeffrey Cohene49cc59c2018-10-23 16:27:281678const char kSendTabToSelfName[] = "Send tab to self";
1679const char kSendTabToSelfDescription[] =
1680 "Allows users to push tabs from Android devices to other synced "
1681 "devices, in order to easily transition those tabs to the new device ";
1682
gogeraldd5061b592017-09-06 23:39:551683const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1684const char kServiceWorkerPaymentAppsDescription[] =
1685 "Enable Service Worker applications to integrate as payment apps";
1686
momohattfc352292018-08-29 05:12:361687const char kServiceWorkerImportedScriptUpdateCheckName[] =
1688 "Enable update check for service worker importScripts() resources";
1689const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1690 "Extend byte-for-byte update check for scripts that are imported by the "
1691 "service worker script via importScripts().";
1692
Lei Zhang0ca70ea2018-09-07 17:51:011693const char kServiceWorkerServicificationName[] = "Servicified service workers";
1694const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441695 "Enable the servicified service workers. A servicified service worker can "
1696 "have direct connection from its clients, so that fetch events can be "
1697 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171698
Azeem Arshad3b1ef73122018-08-30 02:04:151699const char kServiceWorkerLongRunningMessageName[] =
1700 "Service worker long running message dispatch.";
1701const char kServiceWorkerLongRunningMessageDescription[] =
1702 "Enables long running message dispatch method for service workers. "
1703 "Messages sent with this method do not timeout, allowing the service "
1704 "worker to run indefinitely.";
1705
Brett Wilsonecb80982017-07-12 20:34:511706const char kSettingsWindowName[] = "Show settings in a window";
1707const char kSettingsWindowDescription[] =
1708 "Settings will be shown in a dedicated window instead of as a browser tab.";
1709
Manu Cornetd7ef7c52018-05-01 22:08:231710const char kShelfHoverPreviewsName[] =
1711 "Show previews of running apps when hovering over the shelf.";
1712const char kShelfHoverPreviewsDescription[] =
1713 "Shows previews of the open windows for a given running app when hovering "
1714 "over the shelf.";
1715
Naoki Fukino008a0022018-05-23 18:33:001716const char kShowAndroidFilesInFilesAppName[] =
1717 "Show Android files in Files app";
1718const char kShowAndroidFilesInFilesAppDescription[] =
1719 "Show Android files in Files app if Android is enabled on the device.";
1720
Brett Wilsonecb80982017-07-12 20:34:511721const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1722const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381723 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1724 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511725
1726const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1727const char kShowAutofillTypePredictionsDescription[] =
1728 "Annotates web forms with Autofill field type predictions as placeholder "
1729 "text.";
1730
1731const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1732const char kShowOverdrawFeedbackDescription[] =
1733 "Visualize overdraw by color-coding elements based on if they have other "
1734 "elements drawn underneath.";
1735
Shivani Sharma2d5b4b6b2019-01-08 16:07:161736const char kHistoryManipulationIntervention[] =
1737 "History Manipulation Intervention";
1738const char kHistoryManipulationInterventionDescription[] =
1739 "If a page does a client side redirect or adds to the history without a "
1740 "user gesture, then skip it on back/forward UI.";
1741
Carlos IL89128732018-04-03 17:00:251742const char kSupervisedUserCommittedInterstitialsName[] =
1743 "Enable Supervised User Committed Interstitials";
1744const char kSupervisedUserCommittedInterstitialsDescription[] =
1745 "Use committed error pages instead of transient navigation entries for "
1746 "supervised user interstitials";
1747
Brett Wilsonecb80982017-07-12 20:34:511748const char kShowSavedCopyName[] = "Show Saved Copy Button";
1749const char kShowSavedCopyDescription[] =
1750 "When a page fails to load, if a stale copy of the page exists in the "
1751 "browser cache, a button will be presented to allow the user to load that "
1752 "stale copy. The primary enabling choice puts the button in the most "
1753 "salient position on the error page; the secondary enabling choice puts it "
1754 "secondary to the reload button.";
1755const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1756const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1757const char kDisableShowSavedCopy[] = "Disable";
1758
Brett Wilsonecb80982017-07-12 20:34:511759const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1760const char kSilentDebuggerExtensionApiDescription[] =
1761 "Do not show the infobar when an extension attaches to a page via "
1762 "chrome.debugger API. This is required to debug extension background "
1763 "pages.";
1764
Tsuyoshi Horo53895ba92018-03-14 04:06:481765const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1766const char kSignedHTTPExchangeDescription[] =
1767 "Enables Origin-Signed HTTP Exchanges support which is still in "
1768 "development. Warning: Enabling this may pose a security risk.";
1769
Christopher Thompson75ff845d2018-02-01 20:12:461770const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1771const char kSimplifyHttpsIndicatorDescription[] =
1772 "Change the UI treatment for HTTPS pages.";
1773
Bret Sepulveda4f891da2018-07-16 19:10:301774const char kSingleTabMode[] = "Single-tab mode";
1775const char kSingleTabModeDescription[] =
1776 "Windows with a single tab receive a special, minimal visual treatment.";
1777
Lukasz Anforowicz738a88d2018-11-05 19:19:341778const char kSiteIsolationOptOutName[] = "Disable site isolation";
1779const char kSiteIsolationOptOutDescription[] =
1780 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571781 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1782 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221783 "isolation is force-enabled using a command line switch or using an "
1784 "enterprise policy. "
1785 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571786 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341787const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1788const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511789
Pattideade7972018-04-27 02:59:401790const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511791const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401792 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511793
Brett Wilsonecb80982017-07-12 20:34:511794const char kSmoothScrollingName[] = "Smooth Scrolling";
1795const char kSmoothScrollingDescription[] =
1796 "Animate smoothly when scrolling page content.";
1797
1798const char kSoftwareRasterizerName[] = "3D software rasterizer";
1799const char kSoftwareRasterizerDescription[] =
1800 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1801
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201802const char kSoleIntegrationName[] = "Sole integration";
1803const char kSoleIntegrationDescription[] =
1804 "Enable Sole integration for browser customization. You must restart "
1805 "the browser twice for changes to take effect.";
1806
Tommy Steimel77704be2017-08-28 22:14:401807const char kSoundContentSettingName[] = "Sound content setting";
1808const char kSoundContentSettingDescription[] =
1809 "Enable site-wide muting in content settings and tab strip context menu.";
1810
Justin Donnelly4e448cb2017-07-07 21:32:131811const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1812 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131813const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1814 "If enabled, when the user enters text in the omnibox that looks like a "
1815 "a query, any service worker associated with the search engine the query "
1816 "will be sent to is started early.";
1817
Brett Wilsonecb80982017-07-12 20:34:511818const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1819const char kSpellingFeedbackFieldTrialDescription[] =
1820 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401821
Carlos ILe5fa0a12018-08-03 16:08:321822const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1823const char kSSLCommittedInterstitialsDescription[] =
1824 "Use committed error pages instead of transient navigation entries "
1825 "for SSL interstitial error pages (i.e. certificate errors).";
1826
Shubhie Panickerfaf082ed2018-01-03 04:49:151827const char kStopInBackgroundName[] = "Stop in background";
1828const char kStopInBackgroundDescription[] =
1829 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281830 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151831
Shubhie Panicker56c99a22018-03-21 00:22:281832const char kStopNonTimersInBackgroundName[] =
1833 "Stop non-timer task queues background";
1834const char kStopNonTimersInBackgroundDescription[] =
1835 "Stop non-timer task queues, in the background, "
1836 "after a grace period.";
1837
Brett Wilsonecb80982017-07-12 20:34:511838const char kSuggestionsWithSubStringMatchName[] =
1839 "Substring matching for Autofill suggestions";
1840const char kSuggestionsWithSubStringMatchDescription[] =
1841 "Match Autofill suggestions based on substrings (token prefixes) rather "
1842 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341843
Marc Treibf65fb002018-08-03 11:17:161844const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1845const char kSyncStandaloneTransportDescription[] =
1846 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1847 "this mode, the Sync machinery can start without user opt-in, but only a "
1848 "subset of data types are supported.";
1849
Marc Treib4bd95e72018-08-30 06:30:581850const char kSyncSupportSecondaryAccountName[] =
1851 "Support secondary accounts for Sync standalone transport";
1852const char kSyncSupportSecondaryAccountDescription[] =
1853 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1854 "a signed-in account that has not been chosen as Chrome's primary account. "
1855 "This only has an effect if sync-standalone-transport is also enabled.";
1856
Jan Krcal2ff23f7c2018-09-04 16:16:131857const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1858const char kSyncUSSAutofillProfileDescription[] =
1859 "Enables the new implementation of autofill profile sync";
1860
Jan Krcale3641b92018-08-10 17:53:311861const char kSyncUSSAutofillWalletDataName[] =
1862 "Enable USS for autofill wallet data";
1863const char kSyncUSSAutofillWalletDataDescription[] =
1864 "Enables the new implementation of autofill walet data sync";
1865
Brett Wilsonecb80982017-07-12 20:34:511866const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1867const char kSyncSandboxDescription[] =
1868 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341869
Joe Downing8cbbc192018-05-14 17:37:071870const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1871const char kSystemKeyboardLockDescription[] =
1872 "Enables websites to use the keyboard.lock() API to intercept system "
1873 "keyboard shortcuts and have the events routed directly to the website "
1874 "when in fullscreen mode.";
1875
Taylor Bergquistbcc15462018-12-05 00:36:561876const char kTabGroupsName[] = "Tab Groups";
1877const char kTabGroupsDescription[] =
1878 "Allows users to organize tabs into visually distinct groups, e.g. to "
1879 "separate tabs associated with different tasks.";
1880
Caroline Risinge121c2b2018-12-03 20:19:291881const char kTabHoverCardsName[] = "Tab Hover Cards";
1882const char kTabHoverCardsDescription[] =
1883 "Enables a popup containing tab information to be visible when hovering "
1884 "over a tab. This will replace tooltips for tabs.";
1885
Dana Friedacaa8ef52019-02-08 02:20:351886const char kTabHoverCardImagesName[] = "Tab Hover Card Images";
1887const char kTabHoverCardImagesDescription[] =
1888 "Shows a preview image in tab hover cards, if tab hover cards are enabled.";
1889
Christian Dullweberd0d96f02017-09-13 09:22:511890const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1891const char kTabsInCbdDescription[] =
1892 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1893
Daniele Castagna0fead93e2018-01-10 20:40:291894const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1895const char kTintGlCompositedContentDescription[] =
1896 "Tint contents composited using GL with a shade of red to help debug and "
1897 "study overlay support.";
1898
Peter Kastingd77428352018-10-26 15:20:251899const char kTopChromeTouchUiName[] = "Touch UI Layout";
1900const char kTopChromeTouchUiDescription[] =
1901 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341902
Brett Wilsonecb80982017-07-12 20:34:511903const char kThreadedScrollingName[] = "Threaded scrolling";
1904const char kThreadedScrollingDescription[] =
1905 "Threaded handling of scroll-related input events. Disabling this will "
1906 "force all such scroll events to be handled on the main thread. Note that "
1907 "this can dramatically hurt scrolling performance of most websites and is "
1908 "intended for testing purposes only.";
1909
Dominick Ng8896b1cd2017-10-17 23:24:361910const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1911const char kTopSitesFromSiteEngagementDescription[] =
1912 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1913 "engagement.";
1914
Brett Wilsonecb80982017-07-12 20:34:511915const char kTouchAdjustmentName[] = "Touch adjustment";
1916const char kTouchAdjustmentDescription[] =
1917 "Refine the position of a touch gesture in order to compensate for touches "
1918 "having poor resolution compared to a mouse.";
1919
1920const char kTouchDragDropName[] = "Touch initiated drag and drop";
1921const char kTouchDragDropDescription[] =
1922 "Touch drag and drop can be initiated through long press on a draggable "
1923 "element.";
1924
1925const char kTouchEventsName[] = "Touch Events API";
1926const char kTouchEventsDescription[] =
1927 "Force Touch Events API feature detection to always be enabled or "
1928 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291929 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511930
1931const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1932const char kTouchSelectionStrategyDescription[] =
1933 "Controls how text selection granularity changes when touch text selection "
1934 "handles are dragged. Non-default behavior is experimental.";
1935const char kTouchSelectionStrategyCharacter[] = "Character";
1936const char kTouchSelectionStrategyDirection[] = "Direction";
1937
1938const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1939const char kTraceUploadUrlDescription[] =
1940 "This is to be used in conjunction with the enable-navigation-tracing "
1941 "flag. Please select the label that best describes the recorded traces. "
1942 "This will choose the destination the traces are uploaded to. If you are "
1943 "not sure, select other. If left empty, no traces will be uploaded.";
1944const char kTraceUploadUrlChoiceOther[] = "Other";
1945const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1946const char kTraceUploadUrlChoiceQa[] = "QA";
1947const char kTraceUploadUrlChoiceTesting[] = "Testing";
1948
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561949const char kTranslateExplicitLanguageAskName[] =
1950 "Explicitly ask for language preferences";
1951const char kTranslateExplicitLanguageAskDescription[] =
1952 "Explicitly ask the user which languages they can read on Chrome startup, "
1953 "on the first run that doesn't already have a promo.";
1954
Anthony Vallee-Dubois265c5692018-06-01 15:57:141955const char kTranslateForceTriggerOnEnglishName[] =
1956 "Select which language model to use to trigger translate on English "
1957 "content";
1958const char kTranslateForceTriggerOnEnglishDescription[] =
1959 "Force the Translate Triggering on English pages experiment to be enabled "
1960 "with the selected language model active.";
1961
Philippe Hamel7fdaa452017-09-29 17:22:491962const char kTranslateRankerEnforcementName[] =
1963 "Enforce TranslateRanker decisions";
1964const char kTranslateRankerEnforcementDescription[] =
1965 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1966 "or not Translate UI should be triggered in a given context.";
1967
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161968const char kTranslateUIName[] = "Enable Translate";
1969const char kTranslateUIDescription[] =
1970 "Enable the Translate popup when visiting webpages in other languages.";
1971
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051972const char kTreatInsecureOriginAsSecureName[] =
1973 "Insecure origins treated as secure";
1974const char kTreatInsecureOriginAsSecureDescription[] =
1975 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1976 "supplied as a comma-separated list. For the definition of secure "
1977 "contexts, "
1978 "see https://w3c.github.io/webappsec-secure-contexts/";
1979
Brett Wilsonecb80982017-07-12 20:34:511980const char kTrySupportedChannelLayoutsName[] =
1981 "Causes audio output streams to check if channel layouts other than the "
1982 "default hardware layout are available.";
1983const char kTrySupportedChannelLayoutsDescription[] =
1984 "Causes audio output streams to check if channel layouts other than the "
1985 "default hardware layout are available. Turning this on will allow the OS "
1986 "to do stereo to surround expansion if supported. May expose third party "
1987 "driver bugs, use with caution.";
1988
David Roger6762a092018-01-31 15:55:071989const char kUnifiedConsentName[] = "Unified Consent";
1990const char kUnifiedConsentDescription[] =
1991 "Enables a unified management of user consent for privacy-related "
1992 "features. This includes new confirmation screens and improved settings "
1993 "pages.";
1994
Brett Wilsonecb80982017-07-12 20:34:511995const char kUiPartialSwapName[] = "Partial swap";
1996const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1997
Chris Pickel3a227ae62017-08-24 10:47:261998const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1999const char kUseDdljsonApiDescription[] =
2000 "Enables the new ddljson API to fetch Doodles for the NTP.";
2001
Becca Hughes59c05b42017-11-03 13:11:582002const char kUseModernMediaControlsName[] = "New Media Controls";
2003const char kUseModernMediaControlsDescription[] =
2004 "Enables the new style native media controls.";
2005
Wei Li790e7a8572018-03-23 01:31:552006const char kUsePdfCompositorServiceName[] =
2007 "Use PDF compositor service for printing";
2008const char kUsePdfCompositorServiceDescription[] =
2009 "When enabled, use PDF compositor service to composite and generate PDF "
2010 "files for printing. When site isolation is enabled, disabling this will "
2011 "not stop using PDF compositor service since the service is required for "
2012 "printing out-of-process iframes correctly.";
2013
Mustaq Ahmedc646c0a2017-10-20 20:08:302014const char kUserActivationV2Name[] = "User Activation v2";
2015const char kUserActivationV2Description[] =
2016 "Enable simple user activation for APIs that are otherwise controlled by "
2017 "user gesture tokens.";
2018
Brett Wilsonecb80982017-07-12 20:34:512019const char kUserConsentForExtensionScriptsName[] =
2020 "User consent for extension scripts";
2021const char kUserConsentForExtensionScriptsDescription[] =
2022 "Require user consent for an extension running a script on the page, if "
2023 "the extension requested permission to run on all urls.";
2024
2025const char kUseSuggestionsEvenIfFewFeatureName[] =
2026 "Disable minimum for server-side tile suggestions on NTP.";
2027const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2028 "Request server-side suggestions even if there are only very few of them "
2029 "and use them for tiles on the New Tab Page.";
2030
2031const char kV8CacheOptionsName[] = "V8 caching mode.";
2032const char kV8CacheOptionsDescription[] =
2033 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512034const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2035
Michael Hablich896d52662017-10-23 15:59:572036const char kV8VmFutureName[] = "Future V8 VM features";
2037const char kV8VmFutureDescription[] =
2038 "This enables upcoming and experimental V8 VM features. "
2039 "This flag does not enable experimental JavaScript features.";
2040
Hannes Payer1130d5672018-06-05 07:37:312041const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2042const char kV8OrinocoDescription[] =
2043 "This enables the V8 Orinoco garbage collection features.";
2044
Brett Wilsonecb80982017-07-12 20:34:512045const char kVideoFullscreenOrientationLockName[] =
2046 "Lock screen orientation when playing a video fullscreen.";
2047const char kVideoFullscreenOrientationLockDescription[] =
2048 "Lock the screen orientation of the device to match video orientation when "
2049 "a video goes fullscreen. Only on phones.";
2050
2051const char kVideoRotateToFullscreenName[] =
2052 "Rotate-to-fullscreen gesture for videos.";
2053const char kVideoRotateToFullscreenDescription[] =
2054 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2055 "the video. Only on phones.";
2056
2057const char kWalletServiceUseSandboxName[] =
2058 "Use Google Payments sandbox servers";
2059const char kWalletServiceUseSandboxDescription[] =
2060 "For developers: use the sandbox service for Google Payments API calls.";
2061
Brett Wilsonecb80982017-07-12 20:34:512062const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2063const char kWebglDraftExtensionsDescription[] =
2064 "Enabling this option allows web applications to access the WebGL "
2065 "Extensions that are still in draft status.";
2066
2067const char kWebMidiName[] = "Web MIDI API";
2068const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2069
2070const char kWebPaymentsName[] = "Web Payments";
2071const char kWebPaymentsDescription[] =
2072 "Enable Web Payments API integration, a JavaScript API for merchants.";
2073
Mathieu Perreault51339b82017-07-20 17:06:052074const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2075const char kWebPaymentsModifiersDescription[] =
2076 "If the website provides modifiers in the payment request, show the custom "
2077 "total for each payment instrument, update the shopping cart when "
2078 "instruments are switched, and send modified payment method specific data "
2079 "to the payment app.";
2080
Brett Wilsonecb80982017-07-12 20:34:512081const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2082const char kWebrtcEchoCanceller3Description[] =
2083 "Experimental WebRTC echo canceller (AEC3).";
2084
Lei Zhang0a318af2018-11-14 02:19:462085const char kWebrtcH264WithOpenh264FfmpegName[] =
2086 "WebRTC H.264 software video encoder/decoder";
2087const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2088 "When enabled, an H.264 software video encoder/decoder pair is included. "
2089 "If a hardware encoder/decoder is also available it may be used instead of "
2090 "this encoder/decoder.";
2091
Qingsi Wangec2dbf942018-11-03 05:33:042092const char kWebrtcHideLocalIpsWithMdnsName[] =
2093 "Anonymize local IPs exposed by WebRTC.";
2094const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2095 "Conceal local IP addresses with mDNS hostnames.";
2096
Alex Loikob5fb1282018-08-14 10:04:402097const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2098const char kWebrtcHybridAgcDescription[] =
2099 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2100
Brett Wilsonecb80982017-07-12 20:34:512101const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2102const char kWebrtcHwDecodingDescription[] =
2103 "Support in WebRTC for decoding video streams using platform hardware.";
2104
2105const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2106const char kWebrtcHwEncodingDescription[] =
2107 "Support in WebRTC for encoding video streams using platform hardware.";
2108
2109const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2110const char kWebrtcHwH264EncodingDescription[] =
2111 "Support in WebRTC for encoding h264 video streams using platform "
2112 "hardware.";
2113
2114const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2115const char kWebrtcHwVP8EncodingDescription[] =
2116 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2117
Sreerenj Balachandran2a5fd0972019-02-08 22:15:202118const char kWebrtcHwVP9EncodingName[] = "WebRTC hardware vp9 video encoding";
2119const char kWebrtcHwVP9EncodingDescription[] =
2120 "Support in WebRTC for encoding vp9 video streams using platform hardware.";
2121
Niels Möller090866a2018-02-13 10:55:032122const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2123 "WebRTC new encode cpu load estimator";
2124const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2125 "Enable new estimator for the encoder cpu load, for evaluation and "
2126 "testing. Intended to improve accuracy when screen casting.";
2127
Elad Alon85e0d0be2018-06-26 10:38:372128const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2129const char kWebRtcRemoteEventLogDescription[] =
2130 "Allow collecting WebRTC event logs and uploading them to Crash. "
2131 "Please note that, even if enabled, this will still require "
2132 "a policy to be set, for it to have an effect.";
2133
Brett Wilsonecb80982017-07-12 20:34:512134const char kWebrtcSrtpAesGcmName[] =
2135 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2136const char kWebrtcSrtpAesGcmDescription[] =
2137 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2138
Joachim Bauch4a41d7512017-08-23 14:24:232139const char kWebrtcSrtpEncryptedHeadersName[] =
2140 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2141const char kWebrtcSrtpEncryptedHeadersDescription[] =
2142 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2143 "for SRTP.";
2144
Brett Wilsonecb80982017-07-12 20:34:512145const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2146const char kWebrtcStunOriginDescription[] =
2147 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2148 "header.";
2149
Lei Zhang0a318af2018-11-14 02:19:462150const char kWebrtcUnifiedPlanByDefaultName[] =
2151 "WebRTC: Use Unified Plan SDP Semantics by default";
2152const char kWebrtcUnifiedPlanByDefaultDescription[] =
2153 "RTCPeerConnections generate and expect the standards compliant SDP format "
2154 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
2155 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
2156 "RTCRtpTransceiver support is also enabled in Unified Plan.";
2157
Brett Wilsonecb80982017-07-12 20:34:512158const char kWebvrName[] = "WebVR";
2159const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012160 "Enables access to experimental Virtual Reality functionality via the "
2161 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2162 "Device API. Warning: Enabling this will also allow WebVR content on "
2163 "insecure origins to access these powerful APIs, and may pose a security "
David Dorwin09448942019-01-11 23:37:302164 "risk. Controllers are exposed as Gamepads, and WebVR-specific attributes "
2165 "are exposed.";
Brett Wilsonecb80982017-07-12 20:34:512166
Brandon Jonese9d9b2b2017-12-11 22:20:112167const char kWebXrName[] = "WebXR Device API";
2168const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012169 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2170 "and Augmented Reality (AR) devices.";
2171
2172const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2173const char kWebXrGamepadSupportDescription[] =
2174 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222175 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2176 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432177
2178const char kWebXrHitTestName[] = "WebXR Hit Test";
2179const char kWebXrHitTestDescription[] =
2180 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112181
Anna Maria57ecf7592018-01-12 03:10:402182const char kWebXrOrientationSensorDeviceName[] =
2183 "WebXR orientation sensor device";
2184const char kWebXrOrientationSensorDeviceDescription[] =
2185 "When no VR platform device is available, expose a non-presenting device "
2186 "based on the device's orientation sensors, if available.";
2187
Brett Wilsonecb80982017-07-12 20:34:512188const char kZeroCopyName[] = "Zero-copy rasterizer";
2189const char kZeroCopyDescription[] =
2190 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342191
Brett Wilsonff596952017-07-14 01:06:552192// Android ---------------------------------------------------------------------
2193
2194#if defined(OS_ANDROID)
2195
2196const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2197const char kAiaFetchingDescription[] =
2198 "Enable intermediate certificate fetching when a server does not provide "
2199 "sufficient certificates to build a chain to a trusted root.";
2200
2201const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2202const char kAccessibilityTabSwitcherDescription[] =
2203 "Enable the accessibility tab switcher for Android.";
2204
Pavel Shmakov798f4742018-11-15 21:27:382205const char kAllowRemoteContextForNotificationsName[] =
2206 "Allow using remote app context for notifications";
2207const char kAllowRemoteContextForNotificationsDescription[] =
2208 "Allow using Context#createPackageContext to work around issues with status"
2209 "bar icons on certain Android M devices.";
2210
Brett Wilsonff596952017-07-14 01:06:552211const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2212const char kAndroidAutofillAccessibilityDescription[] =
2213 "Enable accessibility for autofill popup.";
2214
Khushalbb1963a2018-10-02 21:02:352215const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2216const char kAndroidSurfaceControlDescription[] =
2217 "Use the SurfaceControl API for supporting overlays on Android";
2218
Anita Woodruffbfcd1e52018-07-16 12:00:512219const char kAppNotificationStatusMessagingName[] =
2220 "App notification status messaging";
2221const char kAppNotificationStatusMessagingDescription[] =
2222 "Enables messaging in site permissions UI informing user when "
2223 "notifications are disabled for the entire app.";
2224
Brett Wilsonff596952017-07-14 01:06:552225const char kAndroidPaymentAppsName[] = "Android payment apps";
2226const char kAndroidPaymentAppsDescription[] =
2227 "Enable third party Android apps to integrate as payment apps";
2228
Miriam Gershenson8cf1397222018-01-23 22:48:292229const char kAsyncDnsName[] = "Async DNS resolver";
2230const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2231
Dan Harrington01229f82018-09-12 21:01:212232const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2233const char kAutoFetchOnNetErrorPageDescription[] =
2234 "When enabled, and navigation fails with an offline error, schedule a "
2235 "fetch of the page when online again.";
2236
Brett Wilsonff596952017-07-14 01:06:552237const char kAutofillAccessoryViewName[] =
2238 "Autofill suggestions as keyboard accessory view";
2239const char kAutofillAccessoryViewDescription[] =
2240 "Shows Autofill suggestions on top of the keyboard rather than in a "
2241 "dropdown.";
2242
2243const char kBackgroundLoaderForDownloadsName[] =
2244 "Enables background downloading of pages.";
2245const char kBackgroundLoaderForDownloadsDescription[] =
2246 "Enables downloading pages in the background in case page is not yet "
2247 "loaded in current tab.";
2248
Tibor Goldschwendt11b3cf22018-07-04 15:32:442249const char kBackgroundTaskComponentUpdateName[] =
2250 "Background Task Component Updates";
2251const char kBackgroundTaskComponentUpdateDescription[] =
2252 "Schedule component updates with BackgroundTaskScheduler";
2253
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002254const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2255const char kCCTModuleDescription[] =
2256 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2257
Michael van Ouwerkerk29a7a292018-10-09 09:20:142258const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2259const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402260 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2261 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142262
John Lin170c00b2018-11-21 15:44:252263const char kCCTModuleCustomHeaderName[] =
2264 "Chrome Custom Tabs Module Custom Header";
2265const char kCCTModuleCustomHeaderDescription[] =
2266 "Enables header customization by dynamically loaded modules in "
2267 "Chrome Custom Tabs.";
2268
alihanlivdumlu12ac4772019-01-17 17:37:182269const char kCCTModuleDexLoadingName[] = "Chrome Custom Tabs Module Dex Loading";
2270const char kCCTModuleDexLoadingDescription[] =
2271 "Enables loading Chrome Custom Tabs module code from a dex file "
2272 "provided by the module.";
2273
barkerd84051482018-11-13 14:46:562274const char kCCTModulePostMessageName[] =
2275 "Chrome Custom Tabs Module postMessage API";
2276const char kCCTModulePostMessageDescription[] =
2277 "Enables the postMessage API exposed to dynamically loaded modules in "
2278 "Chrome Custom Tabs.";
2279
Anna Malova9bb4ead2019-01-18 18:01:262280const char kCCTModuleUseIntentExtrasName[] =
2281 "Chrome Custom Tabs Module Intent Extras Usage";
2282const char kCCTModuleUseIntentExtrasDescription[] =
2283 "Enables usage of Intent's extras in Chrome Custom Tabs Module";
2284
Matthew Jones1abcb132018-07-09 17:59:462285const char kChromeDuetName[] = "Chrome Duet";
2286const char kChromeDuetDescription[] =
2287 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052288
Sarath Singapati83aef1c2017-11-16 15:54:522289const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2290const char kClearOldBrowsingDataDescription[] =
2291 "Enables clearing of browsing data which is older than a given time "
2292 "period.";
2293
Brett Wilsonff596952017-07-14 01:06:552294const char kContentSuggestionsCategoryOrderName[] =
2295 "Default content suggestions category order (e.g. on NTP)";
2296const char kContentSuggestionsCategoryOrderDescription[] =
2297 "Set default order of content suggestion categories (e.g. on the NTP).";
2298
2299const char kContentSuggestionsCategoryRankerName[] =
2300 "Content suggestions category ranker (e.g. on NTP)";
2301const char kContentSuggestionsCategoryRankerDescription[] =
2302 "Set category ranker to order categories of content suggestions (e.g. on "
2303 "the NTP).";
2304
Vitalii Iarkof52ff802017-09-14 12:34:242305const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2306const char kContentSuggestionsDebugLogDescription[] =
2307 "Enable content suggestions debug log accessible through "
2308 "snippets-internals.";
2309
Donn Denman8e58ead2017-11-04 01:44:012310const char kContextualSearchMlTapSuppressionName[] =
2311 "Contextual Search ML tap suppression";
2312const char kContextualSearchMlTapSuppressionDescription[] =
2313 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022314 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2315 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552316
2317const char kContextualSearchName[] = "Contextual Search";
2318const char kContextualSearchDescription[] =
2319 "Whether or not Contextual Search is enabled.";
2320
Donn Denman59729812018-01-09 01:27:022321const char kContextualSearchRankerQueryName[] =
2322 "Contextual Search Ranker prediction";
2323const char kContextualSearchRankerQueryDescription[] =
2324 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2325
2326const char kContextualSearchSecondTapName[] =
2327 "Contextual Search second tap triggering";
2328const char kContextualSearchSecondTapDescription[] =
2329 "Enables triggering on a second tap gesture even when Ranker would "
2330 "normally suppress that tap.";
2331
Donn Denmane9b5b7fb2018-07-24 22:19:492332const char kContextualSearchUnityIntegrationName[] =
2333 "Contextual Search integration with Unified Consent";
2334const char kContextualSearchUnityIntegrationDescription[] =
2335 "Enables integration of Tap to Search with Unified Consent.";
2336
Lei Zhang0a318af2018-11-14 02:19:462337const char kDisplayCutoutAPIName[] =
2338 "Enable support for the Display Cutout API";
2339const char kDisplayCutoutAPIDescription[] =
2340 "Enables developers to support devices that have a display cutout.";
Cathy Li2fb32bf82018-06-06 18:55:402341
Dmitry Skiba9c3efa72017-07-20 22:01:142342const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2343const char kDontPrefetchLibrariesDescription[] =
2344 "Don't prefetch libraries after loading.";
2345
Joy Ming189b0cc2017-12-08 19:42:432346const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2347const char kDownloadsLocationChangeDescription[] =
2348 "Enable changing default downloads storage location on Android.";
2349
Shakti Sahu32b2ee102018-05-17 00:04:462350const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2351const char kDownloadProgressInfoBarDescription[] =
2352 "Enables an infobar notifying users about status of current downloads.";
2353
Shakti Sahu9ec8cfd2018-07-17 13:29:292354const char kDownloadHomeV2Name[] = "Enable download home v2";
2355const char kDownloadHomeV2Description[] =
2356 "Enables the new UI for download home";
2357
Brett Wilsonff596952017-07-14 01:06:552358const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2359const char kEnableAndroidPayIntegrationV1Description[] =
2360 "Enable integration with Android Pay using the first version of the API";
2361
2362const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2363const char kEnableAndroidPayIntegrationV2Description[] =
2364 "Enable integration with Android Pay using the second version of the API";
2365
Fabio Tirelo918089a2018-10-22 21:24:082366const char kAutofillManualFallbackAndroidName[] =
2367 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2368const char kAutofillManualFallbackAndroidDescription[] =
2369 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2370 "keyboard accessory.";
2371
Fabio Tirelo315e65922018-09-05 03:35:492372const char kEnableAutofillRefreshStyleName[] =
2373 "Enable Autofill refresh style (Android)";
2374const char kEnableAutofillRefreshStyleDescription[] =
2375 "Enable modernized style for Autofill on Android";
2376
Vitalii Iarkof4ed32d2017-09-26 13:15:532377const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552378const char kEnableAndroidSpellcheckerDescription[] =
2379 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552380
Lei Tianbd5a3bf2018-02-28 19:01:162381const char kEnableCommandLineOnNonRootedName[] =
2382 "Enable command line on non-rooted devices";
2383const char kEnableCommandLineOnNoRootedDescription[] =
2384 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2385
Vitalii Iarkof4ed32d2017-09-26 13:15:532386const char kEnableContentSuggestionsNewFaviconServerName[] =
2387 "Get favicons for content suggestions from a new server.";
2388const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2389 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2390 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552391
Vitalii Iarkof4ed32d2017-09-26 13:15:532392const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2393 "Use content suggestions thumbnail dominant color.";
2394const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2395 "Use content suggestions thumbnail dominant color as a placeholder before "
2396 "the real thumbnail is fetched (requires Chrome Home).";
2397
Brett Wilsonff596952017-07-14 01:06:552398const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2399const char kEnableCustomContextMenuDescription[] =
2400 "Enables a new context menu when a link, image, or video is pressed within "
2401 "Chrome.";
2402
Becca Hughes6d73bac542018-06-18 20:38:502403const char kEnableMediaControlsExpandGestureName[] =
2404 "Enable Media Controls Expand Gesture";
2405const char kEnableMediaControlsExpandGestureDescription[] =
2406 "Enables a gesture to be used on the media controls to extend the video "
2407 "into the Display Cutout area.";
2408
Brett Wilsonff596952017-07-14 01:06:552409const char kEnableOmniboxClipboardProviderName[] =
2410 "Omnibox clipboard URL suggestions";
2411const char kEnableOmniboxClipboardProviderDescription[] =
2412 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2413 "focus in the omnibox.";
2414
Brett Wilsonff596952017-07-14 01:06:552415const char kEnableNtpAssetDownloadSuggestionsName[] =
2416 "Show asset downloads on the New Tab page";
2417const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2418 "If enabled, the list of content suggestions on the New Tab page will "
2419 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2420 "later use.";
2421
2422const char kEnableNtpBookmarkSuggestionsName[] =
2423 "Show recently visited bookmarks on the New Tab page";
2424const char kEnableNtpBookmarkSuggestionsDescription[] =
2425 "If enabled, the list of content suggestions on the New Tab page will "
2426 "contain recently visited bookmarks.";
2427
Brett Wilsonff596952017-07-14 01:06:552428const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2429 "Show offline page downloads on the New Tab page";
2430const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2431 "If enabled, the list of content suggestions on the New Tab page will "
2432 "contain pages that the user downloaded for later use.";
2433
2434const char kEnableNtpRemoteSuggestionsName[] =
2435 "Show server-side suggestions on the New Tab page";
2436const char kEnableNtpRemoteSuggestionsDescription[] =
2437 "If enabled, the list of content suggestions on the New Tab page will "
2438 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2439 "allows to override the source used to retrieve these server-side "
2440 "suggestions.";
2441
2442const char kEnableNtpSnippetsVisibilityName[] =
2443 "Make New Tab Page Snippets more visible.";
2444const char kEnableNtpSnippetsVisibilityDescription[] =
2445 "If enabled, the NTP snippets will become more discoverable with a larger "
2446 "portion of the first card above the fold.";
2447
2448const char kEnableNtpSuggestionsNotificationsName[] =
2449 "Notify about new content suggestions available at the New Tab page";
2450const char kEnableNtpSuggestionsNotificationsDescription[] =
2451 "If enabled, notifications will inform about new content suggestions on "
2452 "the New Tab page.";
2453
Brett Wilsonff596952017-07-14 01:06:552454const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2455const char kEnableOfflinePreviewsDescription[] =
2456 "Enable showing offline page previews on slow networks.";
2457
2458const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2459const char kEnableOskOverscrollDescription[] =
2460 "Enable OSK overscroll support. With this flag on, the OSK will only "
2461 "resize the visual viewport.";
2462
Brett Wilsonff596952017-07-14 01:06:552463const char kEnableWebNfcName[] = "WebNFC";
2464const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2465
gogeraldf3cbb422017-07-26 14:37:122466const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2467 "Enable Web Payments method section order V2.";
2468const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2469 "Enable this option to display payment method section above address "
2470 "section instead of below it.";
2471
Donn Denmanffaeaa32018-10-12 17:37:532472const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2473const char kEphemeralTabDescription[] =
2474 "Enable a 'sneak peek' at a linked page in an overlay.";
2475
Lei Zhang0a318af2018-11-14 02:19:462476const char kExploreSitesName[] = "Explore websites";
2477const char kExploreSitesDescription[] =
2478 "Enables portal from new tab page to explore websites.";
2479
Xing Liu7d57dd32019-01-20 02:34:182480const char kForegroundNotificationManagerName[] =
2481 "Foreground notification manager";
2482const char kForegroundNotificationManagerDescription[] =
2483 "Enable foreground notification manager to handle foreground service and "
2484 "notification.";
2485
Jinsuk Kim459ee142018-11-28 06:27:312486const char kGestureNavigationName[] = "History navigation with gesture";
2487const char kGestureNavigationDescription[] =
2488 "Enable history navigation with horizontal gesture.";
2489
Raymes Khoury582b43132017-12-12 23:54:302490const char kGrantNotificationsToDSEName[] =
2491 "Grant notifications to the Default Search Engine";
2492const char kGrantNotificationsToDSENameDescription[] =
2493 "Automatically grant the notifications permission to the Default Search "
2494 "Engine";
2495
Daniel Parke74fcf862018-03-27 18:05:452496const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512497const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452498
Yafei Duanbb7663f32018-07-17 01:33:152499const char kHomepageTileName[] =
2500 "Enable Homepage tile shown in Suggested Tiles";
2501const char kHomepageTileDescription[] =
2502 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2503 "used for homepage. It will not have an effect when NTPButton is disabled.";
2504
Jian Li4b252642018-07-23 19:49:072505const char kIncognitoStringsName[] = "Alternate incognito strings";
2506const char kIncognitoStringsDescription[] =
2507 "Show alternate incognito strings if enabled.";
2508
Theresa920e0ed2018-03-07 18:12:442509const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152510 "Use the interest feed to render content suggestions. Currently "
2511 "content "
Theresa920e0ed2018-03-07 18:12:442512 "suggestions are shown on the New Tab Page.";
2513const char kInterestFeedContentSuggestionsName[] =
2514 "Interest Feed Content Suggestions";
2515
Brett Wilsonff596952017-07-14 01:06:552516const char kKeepPrefetchedContentSuggestionsName[] =
2517 "Keep prefetched content suggestions";
2518const char kKeepPrefetchedContentSuggestionsDescription[] =
2519 "If enabled, some of prefetched content suggestions are not replaced by "
2520 "the new fetched suggestions.";
2521
Leo Zhang051b75482017-12-20 03:28:302522const char kLanguagesPreferenceName[] = "Language Settings";
2523const char kLanguagesPreferenceDescription[] =
2524 "Enable this option for Language Settings feature on Android.";
2525
Brett Wilsonff596952017-07-14 01:06:552526const char kLsdPermissionPromptName[] =
2527 "Location Settings Dialog Permission Prompt";
2528const char kLsdPermissionPromptDescription[] =
2529 "Whether to use the Google Play Services Location Settings Dialog "
2530 "permission dialog.";
2531
Amirhossein Simjour97b4154f2018-02-20 03:49:592532const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2533const char kModalPermissionDialogViewDescription[] =
2534 "Enable this option to use ModalDialogManager for permission Dialogs.";
2535
Brett Wilsonff596952017-07-14 01:06:552536const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2537const char kMediaScreenCaptureDescription[] =
2538 "Enable this option for experimental ScreenCapture feature on Android.";
2539
2540const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2541const char kModalPermissionPromptsDescription[] =
2542 "Whether to use permission dialogs in place of permission infobars.";
2543
Finnur Thorarinssonc1488fc62018-07-09 19:21:572544const char kNewContactsPickerName[] = "Enable new contacts picker";
2545const char kNewContactsPickerDescription[] =
2546 "Activates the new picker for selecting contacts.";
2547
Dan Harrington541db9e2018-07-30 18:36:302548const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2549const char kNewNetErrorPageUIDescription[] =
2550 "Selects which new UI experience to show on the net-error (Dino) page";
2551
Brett Wilsonff596952017-07-14 01:06:552552const char kNewPhotoPickerName[] = "Enable new Photopicker";
2553const char kNewPhotoPickerDescription[] =
2554 "Activates the new picker for selecting photos.";
2555
2556const char kNoCreditCardAbort[] = "No Credit Card Abort";
2557const char kNoCreditCardAbortDescription[] =
2558 "Whether or not the No Credit Card Abort is enabled.";
2559
Daniel Park990d0992018-05-18 22:12:512560const char kNtpButtonName[] = "Enable NTP Button";
2561const char kNtpButtonDescription[] =
2562 "Displays a New Tab Page button in the toolbar if enabled.";
2563
Jian Liade82832018-09-06 22:31:412564const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2565const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2566 "Always do http probe to detect network connectivity for offline indicator "
2567 "as opposed to just taking the connection state from the system."
2568 "Used for testing.";
2569
2570const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2571const char kOfflineIndicatorChoiceDescription[] =
2572 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322573
Brett Wilsonff596952017-07-14 01:06:552574const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2575const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2576
2577const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2578const char kOfflinePagesCtV2Description[] =
2579 "V2 features include attributing pages to the app that initiated the "
2580 "custom tabs, and being able to query for pages by page attribution.";
2581
Cathy Li7311d792018-04-05 00:34:162582const char kOfflinePagesCTSuppressNotificationsName[] =
2583 "Disable download complete notification for whitelisted CCT apps.";
2584const char kOfflinePagesCTSuppressNotificationsDescription[] =
2585 "Disable download complete notification for page downloads originating "
2586 "from a CCT app whitelisted to show their own download complete "
2587 "notification.";
2588
Candice Sy74fa7a352018-03-30 23:46:492589const char kOfflinePagesDescriptiveFailStatusName[] =
2590 "Enables descriptive failed download status text.";
2591const char kOfflinePagesDescriptiveFailStatusDescription[] =
2592 "Enables failed download status text in notifications and Downloads Home "
2593 "to state the reason the request failed if the failure is actionable.";
2594
2595const char kOfflinePagesDescriptivePendingStatusName[] =
2596 "Enables descriptive pending download status text.";
2597const char kOfflinePagesDescriptivePendingStatusDescription[] =
2598 "Enables pending download status text in notifications and Downloads Home "
2599 "to state the reason the request is pending.";
2600
2601const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2602 "Enables offline pages in the downloads home to be opened in CCT.";
2603const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2604 "When enabled offline pages launched from the Downloads Home will be "
2605 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2606
Carlos Knippschild09272ecd2017-12-09 03:29:362607const char kOfflinePagesLimitlessPrefetchingName[] =
2608 "Removes resource usage limits for the prefetching of offline pages.";
2609const char kOfflinePagesLimitlessPrefetchingDescription[] =
2610 "Allows the prefetching of suggested offline pages to ignore resource "
2611 "usage limits. This allows it to completely ignore data usage limitations "
2612 "and allows downloads to happen with any kind of connection.";
2613
Brett Wilsonff596952017-07-14 01:06:552614const char kOfflinePagesLoadSignalCollectingName[] =
2615 "Enables collecting load timing data for offline page snapshots.";
2616const char kOfflinePagesLoadSignalCollectingDescription[] =
2617 "Enables loading completeness data collection while writing an offline "
2618 "page. This data is collected in the snapshotted offline page to allow "
2619 "data analysis to improve deciding when to make the offline snapshot.";
2620
2621const char kOfflinePagesPrefetchingName[] =
2622 "Enables suggested offline pages to be prefetched.";
2623const char kOfflinePagesPrefetchingDescription[] =
2624 "Enables suggested offline pages to be prefetched, so useful content is "
2625 "available while offline.";
2626
Pete Williamson7845dff2017-09-20 11:06:192627const char kOfflinePagesResourceBasedSnapshotName[] =
2628 "Enables offline page snapshots to be based on percentage of page loaded.";
2629const char kOfflinePagesResourceBasedSnapshotDescription[] =
2630 "Enables offline page snapshots to use a resource percentage based "
2631 "approach for determining when the page is loaded as opposed to a time "
2632 "based approach";
2633
Collin Baker17f92a52017-07-19 21:41:252634const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2635const char kOfflinePagesRenovationsDescription[] =
2636 "Enables offline page renovations which correct issues with dynamic "
2637 "content that occur when offlining pages that use JavaScript.";
2638
Brett Wilsonff596952017-07-14 01:06:552639const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2640const char kOfflinePagesSharingDescription[] =
2641 "Enables the saved offline pages to be shared via other applications.";
2642
Yafei Duan36b4b5b2018-08-07 00:40:032643const char kOfflinePagesLivePageSharingName[] =
2644 "Enables live page sharing of offline pages";
2645const char kOfflinePagesLivePageSharingDescription[] =
2646 "Enables to share current loaded page as offline page by saving as MHTML "
2647 "first.";
2648
Cathy Lie0d88762018-04-12 08:03:012649const char kOfflinePagesShowAlternateDinoPageName[] =
2650 "Enable alternate dino page with more user capabilities.";
2651const char kOfflinePagesShowAlternateDinoPageDescription[] =
2652 "Enables the dino page to show more buttons and offer existing offline "
2653 "content.";
2654
Brett Wilsonff596952017-07-14 01:06:552655const char kOfflinePagesSvelteConcurrentLoadingName[] =
2656 "Enables concurrent background loading on svelte.";
2657const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2658 "Enables concurrent background loading (or downloading) of pages on "
2659 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2660 "happen when the svelte device is idle.";
2661
2662const char kOffliningRecentPagesName[] =
2663 "Enable offlining of recently visited pages";
2664const char kOffliningRecentPagesDescription[] =
2665 "Enable storing recently visited pages locally for offline use. Requires "
2666 "Offline Pages to be enabled.";
2667
Lei Zhang2eca9082017-10-17 20:42:502668const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2669const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552670 "Enable Pay with Google integration into Web Payments with API version "
2671 "'1'.";
2672
Matthew Jonesa88b95852017-11-08 23:13:502673const char kProgressBarThrottleName[] = "Android progress update throttling.";
2674const char kProgressBarThrottleDescription[] =
2675 "Limit the maximum progress update to make progress appear smoother.";
2676
Brett Wilsonff596952017-07-14 01:06:552677const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2678const char kPullToRefreshEffectDescription[] =
2679 "Page reloads triggered by vertically overscrolling content.";
2680
Piotr Swigon7c296ef2017-08-29 04:32:002681const char kPwaImprovedSplashScreenName[] =
2682 "Improved Splash Screen for standalone PWAs";
2683const char kPwaImprovedSplashScreenDescription[] =
2684 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2685 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492686const char kPwaPersistentNotificationName[] =
2687 "Persistent notification in standalone PWA";
2688const char kPwaPersistentNotificationDescription[] =
2689 "Enables a persistent Android notification for standalone PWAs";
2690
Brett Wilsonff596952017-07-14 01:06:552691const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2692const char kReaderModeHeuristicsDescription[] =
2693 "Determines what pages the Reader Mode infobar is shown on.";
2694const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2695const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2696const char kReaderModeHeuristicsAllArticles[] = "All articles";
2697const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2698const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2699
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182700const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2701const char kReaderModeInCCTDescription[] =
2702 "Open Reader Mode in Chrome Custom Tabs.";
2703
Varun Khaneja2a8229f2019-01-12 00:57:262704const char kSafeBrowsingTelemetryForApkDownloadsName[] =
2705 "Send some telemetry for APK downloads for extended reporting users";
2706const char kSafeBrowsingTelemetryForApkDownloadsDescription[] =
2707 "If enabled, sends some information about the source and hash of the "
2708 "contents of any APK files downloaded by a user who has opted into Safe "
2709 "Browsing Extended Reporting already.";
2710
Varun Khaneja80712a82018-10-12 23:34:592711const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2712 "Use local Safe Browsing blacklists";
2713const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2714 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2715 "process to check the Safe Browsing reputation of URLs without calling "
2716 "into GmsCore for every URL.";
2717
Matthew Jones53114262018-12-12 16:36:472718const char kSearchReadyOmniboxName[] = "Search Ready Omnibox";
2719const char kSearchReadyOmniboxDescription[] =
2720 "Clears the omnibox and adds a suggestion item to share, copy, or edit the "
2721 "URL.";
2722
Brett Wilsonff596952017-07-14 01:06:552723const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2724const char kSetMarketUrlForTestingDescription[] =
2725 "When enabled, sets the market URL for use in testing the update menu "
2726 "item.";
2727
2728const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2729const char kSpannableInlineAutocompleteDescription[] =
2730 "A new type of inline autocomplete for the omnibox that works with "
2731 "keyboards that compose text.";
2732
Theresaeea05a12018-05-09 21:01:592733const char kSiteExplorationUiName[] = "Site Exploration UI";
2734const char kSiteExplorationUiDescription[] =
2735 "Show site suggestions in the Exploration UI";
2736
Lei Zhang0a318af2018-11-14 02:19:462737const char kStrictSiteIsolationName[] = "Strict site isolation";
2738const char kStrictSiteIsolationDescription[] =
2739 "Security mode that enables site isolation for all sites (SitePerProcess). "
2740 "In this mode, each renderer process will contain pages from at most one "
2741 "site, using out-of-process iframes when needed. "
2742 "Check chrome://process-internals to see the current isolation mode. "
2743 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
2744 "default. Here, 'Disabled' is a legacy value that actually means "
2745 "'Default,' in which case site isolation may be already enabled based on "
2746 "platform, enterprise policy, or field trial. See also "
2747 "#site-isolation-trial-opt-out for how to disable site isolation for "
2748 "testing.";
2749
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182750const char kTranslateAndroidManualTriggerName[] =
2751 "Enable manual translate trigger";
2752const char kTranslateAndroidManualTriggerDescription[] =
2753 "Show a menu item in the main menu that triggers page translation.";
2754
Brett Wilsonff596952017-07-14 01:06:552755const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2756const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442757 "When enabled, a badge will be shown on the app menu button if the update "
2758 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552759
2760const char kUpdateMenuItemCustomSummaryDescription[] =
2761 "When this flag and the force show update menu item flag are enabled, a "
2762 "custom summary string will be displayed below the update menu item.";
2763const char kUpdateMenuItemCustomSummaryName[] =
2764 "Update menu item custom summary";
2765
Tommy Nyquist3c02e592018-10-18 23:36:442766const char kUpdateMenuTypeName[] =
2767 "Forces the update menu type to a specific type";
2768const char kUpdateMenuTypeDescription[] =
2769 "When set, forces the update type to be a specific one, which impacts "
2770 "the app menu badge and menu item for updates.";
2771const char kUpdateMenuTypeNone[] = "None";
2772const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2773const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
David Trainor4d86fd4e2019-01-24 21:40:282774const char kUpdateMenuTypeInlineUpdateAvailable[] = "Inline Update Available";
2775const char kUpdateMenuTypeInlineUpdateDownloading[] =
2776 "Inline Update Downloading";
2777const char kUpdateMenuTypeInlineUpdateReady[] = "Inline Update Ready";
2778const char kUpdateMenuTypeInlineUpdateFailed[] = "Inline Update Failed";
Brett Wilsonff596952017-07-14 01:06:552779
Marc Treib93af46a2017-08-23 13:30:002780const char kThirdPartyDoodlesName[] =
2781 "Enable Doodles for third-party search engines";
2782const char kThirdPartyDoodlesDescription[] =
2783 "Enables fetching and displaying Doodles on the NTP for third-party search "
2784 "engines.";
2785
Klaus Weidneraaf697f2018-01-18 20:07:362786const char kWebXrRenderPathName[] = "WebXR presentation render path";
2787const char kWebXrRenderPathDescription[] =
2788 "Render path to use for WebXR presentation (including WebVR)";
2789const char kWebXrRenderPathChoiceClientWaitDescription[] =
2790 "ClientWait (Baseline)";
2791const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2792 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072793const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2794 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362795
Becky Zhou65584142019-01-10 18:22:292796#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2797
2798const char kAndroidNightModeName[] = "Enable night mode based on user settings";
2799const char kAndroidNightModeDescription[] =
2800 "If enabled, user can enable night mode through settings.";
2801
2802#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2803
Brett Wilson7b44537e2017-08-18 01:38:282804// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552805
Brett Wilson7b44537e2017-08-18 01:38:282806#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482807
Brett Wilson7b44537e2017-08-18 01:38:282808const char kAccountConsistencyName[] =
2809 "Identity consistency between browser and cookie jar";
2810const char kAccountConsistencyDescription[] =
2811 "When enabled, the browser manages signing in and out of Google accounts.";
2812const char kAccountConsistencyChoiceMirror[] = "Mirror";
2813const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342814
Reka Normana11e57fc2019-01-29 21:56:582815const char kAppManagementName[] = "Enable App Management page";
2816const char kAppManagementDescription[] =
2817 "Shows the new app management page at chrome://apps.";
2818
Tommy Martino3fa3df52018-08-20 21:45:442819const char kAutofillDropdownLayoutName[] =
2820 "Autofill Dropdown Layout Experiment";
2821const char kAutofillDropdownLayoutDescription[] =
2822 "Alternate visual designs for the Autofill dropdown.";
2823
Chris Pickel3a227ae62017-08-24 10:47:262824const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2825const char kDoodlesOnLocalNtpDescription[] =
2826 "Show doodles on the local New Tab page if Google is the default search "
2827 "engine.";
2828
Kyle Milkaedb39f52018-11-21 19:53:072829const char kSearchSuggestionsOnLocalNtpName[] =
2830 "Enable search suggestions on the local NTP";
2831const char kSearchSuggestionsOnLocalNtpDescription[] =
2832 "Show search suggestions on the local New Tab page if Google is the "
2833 "default search engine.";
2834
2835const char kPromosOnLocalNtpName[] = "Enable promos on the local NTP";
2836const char kPromosOnLocalNtpDescription[] =
2837 "Show promos on the local New Tab page if Google is the "
2838 "default search engine.";
2839
Lei Zhang0a318af2018-11-14 02:19:462840const char kEnableWebAuthenticationBleSupportName[] =
2841 "Web Authentication API BLE support";
2842const char kEnableWebAuthenticationBleSupportDescription[] =
2843 "Enable support for using Web Authentication API via Bluetooth security "
2844 "keys";
Sebastien Marchandd33f7dc2018-06-22 22:07:062845
Sebastien Marchandd33f7dc2018-06-22 22:07:062846const char kEnableWebAuthenticationTestingAPIName[] =
2847 "Web Authentication Testing API";
2848const char kEnableWebAuthenticationTestingAPIDescription[] =
2849 "Enable Web Authentication Testing API support, which disconnects the API "
2850 "implementation from the real world, and allows configuring virtual "
2851 "authenticator devices for testing";
2852
Jeffrey Cohenf04130a42018-08-29 00:22:272853const char kHappinessTrackingSurveysForDesktopName[] =
2854 "Happiness Tracking Surveys";
2855const char kHappinessTrackingSurveysForDesktopDescription[] =
2856 "Enable showing Happiness Tracking Surveys to users on Desktop";
2857
Travis Skarebcdb5ed32018-08-17 01:49:402858const char kOmniboxDriveSuggestionsName[] =
2859 "Omnibox Google Drive Document suggestions";
2860const char kOmniboxDriveSuggestionsDescriptions[] =
2861 "Display suggestions for Google Drive documents in the omnibox when Google "
2862 "is the default search engine.";
2863
Kevin Bailey9ec05532019-01-31 23:01:332864const char kOmniboxExperimentalKeywordModeName[] =
2865 "Omnibox Experimental Keyword Mode";
2866const char kOmniboxExperimentalKeywordModeDescription[] =
2867 "Enables various experimental features related to keyword mode, its "
2868 "suggestions and layout";
2869
Lei Zhang0a318af2018-11-14 02:19:462870const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2871const char kOmniboxPedalSuggestionsDescription[] =
2872 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2873 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2874 "Pedals accelerate actions within Chrome by detecting user intent and "
2875 "offering direct access to the end goal.";
2876
Orin Jaworski04c08b42018-07-11 02:39:562877const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2878const char kOmniboxReverseAnswersDescription[] =
2879 "Display answers with rows reversed (swapped); except definitions. Has no "
2880 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2881 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2882
Lei Zhang0a318af2018-11-14 02:19:462883const char kOmniboxRichEntitySuggestionsName[] =
2884 "Omnibox rich entity suggestions";
2885const char kOmniboxRichEntitySuggestionsDescription[] =
2886 "Display entity suggestions using images and an enhanced layout; showing "
2887 "more context and descriptive text about the entity. Has no effect unless "
2888 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2889 "flag is set to Refresh or Touchable Refresh.";
2890
Kevin Bailey898669972017-11-06 15:34:492891const char kOmniboxTabSwitchSuggestionsName[] =
2892 "Omnibox tab switch suggestions";
2893const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212894 "Enable suggestions for switching to open tabs within the Omnibox. "
2895 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2896 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492897
krbcc621412017-06-01 19:40:282898const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2899const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192900 "Enable receiving tail suggestions, a type of search suggestion based on "
2901 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342902
Sebastien Marchandd33f7dc2018-06-22 22:07:062903const char kPageAlmostIdleName[] = "Page Almost Idle";
2904const char kPageAlmostIdleDescription[] =
2905 "Make session restore use a definition of loading that waits for CPU and "
2906 "network quiescence.";
2907
2908const char kProactiveTabFreezeAndDiscardName[] =
2909 "Proactive Tab Freeze and Discard";
2910const char kProactiveTabFreezeAndDiscardDescription[] =
2911 "Enables proactive tab freezing and discarding. This requires "
2912 "#enable-page-almost-idle.";
2913
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272914const char kShowManagedUiName[] = "Show managed UI for managed users";
2915const char kShowManagedUiDescription[] =
2916 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2917 "message in the app menu and on some chrome:// pages.";
2918
Sebastien Marchandd33f7dc2018-06-22 22:07:062919const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2920const char kSiteCharacteristicsDatabaseDescription[] =
2921 "Records usage of some features in a database while a tab is in background "
2922 "(title/favicon update, audio playback or usage of non-persistent "
2923 "notifications).";
2924
Brett Wilson7b44537e2017-08-18 01:38:282925const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2926const char kUseGoogleLocalNtpDescription[] =
2927 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322928
Brett Wilson7b44537e2017-08-18 01:38:282929#if defined(GOOGLE_CHROME_BUILD)
2930
2931const char kGoogleBrandedContextMenuName[] =
2932 "Google branding in the context menu";
2933const char kGoogleBrandedContextMenuDescription[] =
2934 "Shows a Google icon next to context menu items powered by Google "
2935 "services.";
2936
2937#endif // !defined(GOOGLE_CHROME_BUILD)
2938
2939#endif // !defined(OS_ANDROID)
2940
2941// Windows ---------------------------------------------------------------------
2942
2943#if defined(OS_WIN)
2944
David Bienvenud0ddda32018-11-01 16:59:162945const char kCalculateNativeWinOcclusionName[] =
2946 "Calculate window occlusion on Windows";
2947const char kCalculateNativeWinOcclusionDescription[] =
2948 "Calculate window occlusion on Windows will be used in the future "
2949 "to throttle and potentially unload foreground tabs in occluded windows";
2950
Brett Wilson7b44537e2017-08-18 01:38:282951const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2952const char kCloudPrintXpsDescription[] =
2953 "XPS enables advanced options for classic printers connected to the Cloud "
2954 "Print with Chrome. Printers must be re-connected after changing this "
2955 "flag.";
2956
Frank Liberato754d14f2019-01-30 23:31:172957const char kD3D11VideoDecoderName[] = "D3D11 Video Decoder";
2958const char kD3D11VideoDecoderDescription[] =
2959 "Enables D3D11VideoDecoder for hardware accelerated video decoding.";
2960
Brett Wilson7b44537e2017-08-18 01:38:282961const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2962const char kDisablePostscriptPrintingDescription[] =
2963 "Disables PostScript generation when printing to PostScript capable "
2964 "printers, and uses EMF generation in its place.";
2965
2966const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2967const char kEnableAppcontainerDescription[] =
2968 "Enables the use of an AppContainer on sandboxed processes to improve "
2969 "security.";
2970
James Forshawfd0ce342018-02-14 09:55:392971const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2972const char kEnableGpuAppcontainerDescription[] =
2973 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2974 "improve security.";
2975
Brett Wilson7b44537e2017-08-18 01:38:282976const char kGdiTextPrinting[] = "GDI Text Printing";
2977const char kGdiTextPrintingDescription[] =
2978 "Use GDI to print text as simply text";
2979
Olli Etuaho122321192018-09-07 10:15:292980const char kUseAngleName[] = "Choose ANGLE graphics backend";
2981const char kUseAngleDescription[] =
2982 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2983 "computers by default. Using the OpenGL driver as the graphics backend may "
2984 "result in higher performance in some graphics-heavy applications, "
2985 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2986 "video playback.";
2987
2988const char kUseAngleDefault[] = "Default";
2989const char kUseAngleGL[] = "OpenGL";
2990const char kUseAngleD3D11[] = "D3D11";
2991const char kUseAngleD3D9[] = "D3D9";
2992
Brett Wilson7b44537e2017-08-18 01:38:282993const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2994const char kUseWinrtMidiApiDescription[] =
2995 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2996 "later).";
2997
2998const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2999const char kWindows10CustomTitlebarDescription[] =
3000 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
3001 "deferring to Windows.";
3002
3003#endif // defined(OS_WIN)
3004
3005// Mac -------------------------------------------------------------------------
3006
3007#if defined(OS_MACOSX)
3008
Brett Wilson7b44537e2017-08-18 01:38:283009const char kContentFullscreenName[] = "Improved Content Fullscreen";
3010const char kContentFullscreenDescription[] =
3011 "Fullscreen content window detaches from main browser window and goes to "
3012 "a new space without moving or changing the original browser window.";
3013
Brett Wilson7b44537e2017-08-18 01:38:283014const char kHostedAppsInWindowsName[] =
3015 "Allow hosted apps to be opened in windows";
3016const char kHostedAppsInWindowsDescription[] =
3017 "Allows hosted apps to be opened in windows instead of being limited to "
3018 "tabs.";
3019
Christopher Cameron57dee5a42018-09-25 01:20:083020const char kCreateAppWindowsInAppShimProcessName[] =
3021 "Create native windows in the app process";
3022const char kCreateAppWindowsInAppShimProcessDescription[] =
3023 "Create native windows the app shim process, instead of of the browser "
3024 "process.";
3025
Lei Zhange065b572018-12-11 08:00:413026const char kEnableCustomMacPaperSizesName[] = "Enable custom paper sizes";
3027const char kEnableCustomMacPaperSizesDescription[] =
3028 "Allow use of custom paper sizes in Print Preview.";
3029
Lei Zhang2eca9082017-10-17 20:42:503030const char kMacTouchBarName[] = "Hardware Touch Bar";
3031const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283032
Greg Kerr32483d1c2018-12-18 02:29:143033const char kMacV2GPUSandboxName[] = "Mac V2 GPU Sandbox";
3034const char kMacV2GPUSandboxDescription[] =
3035 "Controls whether the GPU process on macOS uses the V1 or V2 sandbox.";
3036
Brett Wilson7b44537e2017-08-18 01:38:283037const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3038const char kMacViewsNativeAppWindowsDescription[] =
3039 "Controls whether to use Toolkit-Views based Chrome App windows.";
3040
3041const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3042const char kMacViewsTaskManagerDescription[] =
3043 "Controls whether to use the Toolkit-Views based Task Manager.";
3044
Brett Wilson7b44537e2017-08-18 01:38:283045#endif
3046
3047// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343048
3049#if defined(OS_CHROMEOS)
3050
Brett Wilson7b44537e2017-08-18 01:38:283051const char kAcceleratedMjpegDecodeName[] =
3052 "Hardware-accelerated mjpeg decode for captured frame";
3053const char kAcceleratedMjpegDecodeDescription[] =
3054 "Enable hardware-accelerated mjpeg decode for captured frame where "
3055 "available.";
vabr0215a8e2017-03-28 12:47:343056
Brett Wilson7b44537e2017-08-18 01:38:283057const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3058const char kAllowTouchpadThreeFingerClickDescription[] =
3059 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343060
Reka Normana11e57fc2019-01-29 21:56:583061const char kAppServiceAshName[] = "App Service Ash";
3062const char kAppServiceAshDescription[] =
3063 "Use the App Service to provide data to the Ash UI, such as the shelf and "
3064 "app list.";
3065
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523066const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3067const char kArcAvailableForChildDescription[] =
3068 "Allow child accounts to start Android apps.";
3069
Brett Wilson7b44537e2017-08-18 01:38:283070const char kArcBootCompleted[] = "Load Android apps automatically";
3071const char kArcBootCompletedDescription[] =
3072 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343073
Luum Habtemariamdaa8fd22018-06-25 22:39:433074const char kArcCupsApiName[] = "ARC CUPS API";
3075const char kArcCupsApiDescription[] =
3076 "Enables support of libcups APIs from ARC";
3077
Naoki Fukino153de8a2019-01-22 08:37:543078const char kArcDocumentsProviderName[] = "ARC DocumentsProvider integration";
3079const char kArcDocumentsProviderDescription[] =
3080 "Enables DocumentsProvider integration in Chrome OS Files app.";
3081
Satoshi Niwa8b1d5282018-10-24 04:53:033082const char kArcFilePickerExperimentName[] =
3083 "Enable file picker experiment for ARC";
3084const char kArcFilePickerExperimentDescription[] =
3085 "Enables using Chrome OS file picker in ARC.";
3086
[email protected]939ceae2019-01-29 17:00:153087const char kArcGraphicBuffersVisualizationToolName[] =
3088 "Enable ARC graphic buffers visualization tool";
3089const char kArcGraphicBuffersVisualizationToolDescription[] =
3090 "Enable ARC graphic buffers visualization tool "
3091 "(chrome://arc-graphics-tracing).";
3092
Lev Rumyantsev7a8544312017-08-18 19:26:513093const char kArcNativeBridgeExperimentName[] =
3094 "Enable native bridge experiment for ARC";
3095const char kArcNativeBridgeExperimentDescription[] =
3096 "Enables experimental native bridge feature.";
3097
lgchengecd1c1a62018-01-09 02:59:463098const char kArcUsbHostName[] = "Enable ARC USB host integration";
3099const char kArcUsbHostDescription[] =
3100 "Allow Android apps to use USB host feature on ChromeOS devices.";
3101
Kevin Cernekeeb7f96a52017-10-25 17:40:183102const char kArcVpnName[] = "Enable ARC VPN integration";
3103const char kArcVpnDescription[] =
3104 "Allow Android VPN clients to tunnel Chrome traffic.";
3105
Qiang Xu045aff222018-05-21 23:21:013106const char kAshEnableDisplayMoveWindowAccelsName[] =
3107 "Enable shortcuts for moving window between displays.";
3108const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3109 "Enable shortcuts for moving window between displays.";
3110
Sammie Quonfe640ca2019-01-30 17:54:183111const char kAshEnableOverviewRoundedCornersName[] =
3112 "Enable rounded corners in overview mode.";
3113const char kAshEnableOverviewRoundedCornersDescription[] =
3114 "Enables rounded corners on overview windows.";
3115
Qiang Xu045aff222018-05-21 23:21:013116const char kAshEnablePersistentWindowBoundsName[] =
3117 "Enable persistent window bounds in multi-displays scenario.";
3118const char kAshEnablePersistentWindowBoundsDescription[] =
3119 "Enable persistent window bounds in multi-displays scenario.";
3120
Eliot Courtneye87a9c32018-11-20 03:33:023121const char kAshEnablePipRoundedCornersName[] =
3122 "Enable Picture-in-Picture rounded corners.";
3123const char kAshEnablePipRoundedCornersDescription[] =
3124 "Enable rounded corners on the Picture-in-Picture window.";
3125
Brett Wilson7b44537e2017-08-18 01:38:283126const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3127const char kAshEnableUnifiedDesktopDescription[] =
3128 "Enable unified desktop mode which allows a window to span multiple "
3129 "displays.";
vabr0215a8e2017-03-28 12:47:343130
Qiang Xu045aff222018-05-21 23:21:013131const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3132const char kAshShelfColorDescription[] =
3133 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3134 "--ash-shelf-color-scheme flag defines how that color is derived.";
3135
3136const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3137const char kAshShelfColorSchemeDescription[] =
3138 "Specify how the color is derived from the wallpaper. This flag is only "
3139 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3140const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3141const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3142const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3143const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3144const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3145const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3146
Sean Kau5e956192017-10-06 22:25:173147const char kBulkPrintersName[] = "Bulk Printers Policy";
3148const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3149
Brett Wilson7b44537e2017-08-18 01:38:283150const char kCaptivePortalBypassProxyName[] =
3151 "Bypass proxy for Captive Portal Authorization";
3152const char kCaptivePortalBypassProxyDescription[] =
3153 "If proxy is configured, it usually prevents from authorization on "
3154 "different captive portals. This enables opening captive portal "
3155 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343156
Brett Wilson7b44537e2017-08-18 01:38:283157const char kCrOSComponentName[] = "Chrome OS Component";
3158const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083159 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343160
Xiaochu Liu51d03fd2017-09-08 23:51:023161const char kCrOSContainerName[] = "Chrome OS Container";
3162const char kCrOSContainerDescription[] =
3163 "Enable the use of Chrome OS Container utility.";
3164
Brett Wilson7b44537e2017-08-18 01:38:283165const char kCrosRegionsModeName[] = "Cros-regions load mode";
3166const char kCrosRegionsModeDescription[] =
3167 "This flag controls cros-regions load mode";
3168const char kCrosRegionsModeDefault[] = "Default";
3169const char kCrosRegionsModeOverride[] = "Override VPD values.";
3170const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343171
Daniel Ng96ab0c82019-01-16 01:21:553172const char kCrostiniAppSearchName[] = "Crostini App Search";
3173const char kCrostiniAppSearchDescription[] =
3174 "Enable search and installation of Crostini apps in the launcher.";
3175
Joel Hockey42387102019-01-10 01:19:323176const char kCrostiniBackupName[] = "Crostini Backup";
3177const char kCrostiniBackupDescription[] = "Enable Crostini export and import.";
3178
Joel Hockeyad5b9762018-09-01 12:06:083179const char kCrostiniFilesName[] = "Crostini Files";
3180const char kCrostiniFilesDescription[] =
3181 "Enable Crostini file sharing in Files app.";
3182
Josh Pratt57cea392018-10-30 02:59:063183const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3184const char kCrostiniUsbSupportDescription[] =
3185 "Enable mounting Usb devices in Crostini.";
3186
Josh Nohle2f82dcc2018-12-17 23:11:233187const char kCryptAuthV2EnrollmentName[] = "CryptAuth v2 Enrollment";
3188const char kCryptAuthV2EnrollmentDescription[] =
3189 "Use the CryptAuth v2 Enrollment protocol.";
3190
Daniele Castagnac4aeb572018-10-23 16:23:573191const char kDisableExplicitDmaFencesName[] = "Disable explicit dma-fences";
3192const char kDisableExplicitDmaFencesDescription[] =
3193 "Always rely on implicit syncrhonization between GPU and display "
3194 "controller instead of using dma-fences explcitily when available.";
3195
Qiang Xu045aff222018-05-21 23:21:013196const char kDisableSystemTimezoneAutomaticDetectionName[] =
3197 "SystemTimezoneAutomaticDetection policy support";
3198const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3199 "Disable system timezone automatic detection device policy.";
3200
Sammie Quonef6b4882017-09-14 16:50:053201const char kDisableTabletAutohideTitlebarsName[] =
3202 "Disable autohide titlebars in tablet mode";
3203const char kDisableTabletAutohideTitlebarsDescription[] =
3204 "Disable tablet mode autohide titlebars functionality. The user will be "
3205 "able to see the titlebar in tablet mode.";
3206
Xiaoqian Dai24b33eb2018-04-10 21:01:573207const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3208const char kDisableTabletSplitViewDescription[] =
3209 "Disable split view for Chrome OS tablet mode.";
3210
Ahmed Fakhry4f567e692018-10-16 15:51:083211const char kDoubleTapToZoomInTabletModeName[] =
3212 "Double-tap to zoom in tablet mode";
3213const char kDoubleTapToZoomInTabletModeDescription[] =
3214 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3215 "page.";
3216
Daniel Zhang01399072018-08-16 22:28:203217const char kEnableAppListSearchAutocompleteName[] =
3218 "App List Search Autocomplete";
3219const char kEnableAppListSearchAutocompleteDescription[] =
3220 "Allow App List search box to autocomplete queries for Google searches and "
3221 "apps.";
3222
Qiang Xu53d1a5832018-05-24 18:44:193223const char kEnableAppShortcutSearchName[] =
3224 "Enable app shortcut search in launcher";
3225const char kEnableAppShortcutSearchDescription[] =
3226 "Enables app shortcut search in launcher";
3227
Vladislav Kaznacheevaa213a02018-10-29 17:54:283228const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3229const char kEnableAppDataSearchDescription[] =
3230 "Allow launcher search to access data available through Firebase App "
3231 "Indexing";
3232
Lei Zhang0a318af2018-11-14 02:19:463233const char kEnableArcUnifiedAudioFocusName[] =
Becca Hughes34415e82018-10-05 18:47:373234 "Enable unified audio focus on ARC";
Lei Zhang0a318af2018-11-14 02:19:463235const char kEnableArcUnifiedAudioFocusDescription[] =
Becca Hughes34415e82018-10-05 18:47:373236 "If audio focus is enabled in Chrome then this will delegate audio focus "
3237 "control in Android apps to Chrome.";
3238
Yue Li958f9dd2018-11-15 00:56:593239const char kEnableAssistantVoiceMatchName[] = "Enable Assistant Voice Match";
3240const char kEnableAssistantVoiceMatchDescription[] =
3241 "Enable the Assistant Voice Match feature";
3242
Yue Liebaa9952018-12-07 21:41:263243const char kEnableAssistantAppSupportName[] = "Enable Assistant App Support";
3244const char kEnableAssistantAppSupportDescription[] =
3245 "Enable the Assistant App Support feature";
3246
Lei Zhang2eca9082017-10-17 20:42:503247const char kEnableBackgroundBlurName[] = "Enable background blur.";
3248const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423249 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393250
Lei Zhang0ca70ea2018-09-07 17:51:013251const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3252const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493253 "Enables the Chrome OS Account Manager";
3254
Alexander Alekseev38e1e0a2018-11-08 22:48:483255const char kEnableDiscoverAppName[] = "Enable Discover App";
3256const char kEnableDiscoverAppDescription[] =
3257 "Enable Discover App icon in launcher.";
3258
Xiaoqian Dai82d99192018-05-25 18:51:353259const char kEnableDragTabsInTabletModeName[] =
3260 "Enable dragging tabs in tablet mode";
3261const char kEnableDragTabsInTabletModeDescription[] =
3262 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3263
Sam McNally201fbf94e2018-07-04 03:15:203264const char kEnableDriveFsName[] = "Enable DriveFS";
3265const char kEnableDriveFsDescription[] =
3266 "Enables use of the new DriveFS-based Drive sync client.";
3267
Luciano Pacheco20c48bd42018-11-07 00:57:083268const char kEnableMyFilesVolumeName[] = "Enable MyFiles as Volume";
3269const char kEnableMyFilesVolumeDescription[] =
Luciano Pacheco7fe772fe2018-11-07 02:31:453270 "Enables use of MyFiles as a read/write volume. This should be only "
3271 "used for testing or for trying to restore the previous Downloads content.";
Luciano Pacheco20c48bd42018-11-07 00:57:083272
Brett Wilson7b44537e2017-08-18 01:38:283273const char kEnableEhvInputName[] =
3274 "Emoji, handwriting and voice input on opt-in IME menu";
3275const char kEnableEhvInputDescription[] =
3276 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343277
Brett Wilson7b44537e2017-08-18 01:38:283278const char kEnableEncryptionMigrationName[] =
3279 "Enable encryption migration of user data";
3280const char kEnableEncryptionMigrationDescription[] =
3281 "If enabled and the device supports ARC, the user will be asked to update "
3282 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343283
Qiang Xu045aff222018-05-21 23:21:013284const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3285 "Enable full screen handwriting virtual keyboard";
3286const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3287 "If enabled, the handwriting virtual keyboard will allow user to write "
3288 "anywhere on the screen";
3289
Xiaohui Chenfb0943e2018-10-16 22:44:373290const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3291const char kEnableGoogleAssistantDescription[] =
3292 "Enable an experimental Assistant implementation that will work on all "
3293 "Chromebooks.";
3294
Xiaohui Chenf4283f32018-11-26 20:02:503295const char kEnableGoogleAssistantDspName[] =
3296 "Enable Google Assistant with hardware-based hotword";
3297const char kEnableGoogleAssistantDspDescription[] =
3298 "Enable an experimental feature that uses hardware-based hotword detection "
3299 "for Assistant. Only a limited number of devices have this type of "
3300 "hardware support.";
3301
Xiaohui Chenc3baca42018-11-30 19:29:373302const char kEnableGoogleAssistantStereoInputName[] =
3303 "Enable Google Assistant with stereo audio input";
3304const char kEnableGoogleAssistantStereoInputDescription[] =
3305 "Enable an experimental feature that uses stereo audio input for hotword "
3306 "and voice to text detection in Google Assistant.";
3307
Qiang Xu045aff222018-05-21 23:21:013308const char kEnableHomeLauncherName[] = "Enable home launcher";
3309const char kEnableHomeLauncherDescription[] =
3310 "Enable home launcher in tablet mode.";
3311
Lei Zhang0ca70ea2018-09-07 17:51:013312const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3313const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013314 "Enables using gestures to hide or show the home launcher.";
3315
Brett Wilson7b44537e2017-08-18 01:38:283316const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3317const char kEnableImeMenuDescription[] =
3318 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343319
Sammie Quon248ccef2018-08-28 23:00:013320const char kEnableOobeRecommendAppsScreenName[] =
3321 "Enable OOBE Recommend Apps Screen";
3322const char kEnableOobeRecommendAppsScreenDescription[] =
3323 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3324 "from other devices";
3325
Qiang Xu045aff222018-05-21 23:21:013326const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3327const char kEnablePerUserTimezoneDescription[] =
3328 "Chrome OS system timezone preference is stored and handled for each user "
3329 "individually.";
3330
Vladislav Kaznacheevaa213a02018-10-29 17:54:283331const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3332const char kEnablePlayStoreSearchDescription[] =
3333 "Enable Play Store search in launcher.";
3334
Qiang Xu045aff222018-05-21 23:21:013335const char kEnableSettingsShortcutSearchName[] =
3336 "Enable Settings shortcut search";
3337const char kEnableSettingsShortcutSearchDescription[] =
3338 "Enable Settings shortcut search in launcher.";
3339
Darren Shen3e49c63d2018-03-28 04:45:503340const char kEnableStylusVirtualKeyboardName[] =
3341 "Enable stylus virtual keyboard";
3342const char kEnableStylusVirtualKeyboardDescription[] =
3343 "If enabled, tapping with a stylus will show the handwriting virtual "
3344 "keyboard.";
3345
Jazz Xu2e5886662018-12-14 00:38:483346const char kEnableVideoPlayerNativeControlsName[] =
3347 "Enable native controls in video player app";
3348const char kEnableVideoPlayerNativeControlsDescription[] =
3349 "Enable native controls in video player app";
3350
Darren Shen0b4e5802018-07-10 03:12:263351const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3352const char kEnableVirtualKeyboardUkmDescription[] =
3353 "Enables UKM for virtual keyboard";
3354
Lei Zhang0ca70ea2018-09-07 17:51:013355const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3356const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013357 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283358 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013359
Brett Wilson7b44537e2017-08-18 01:38:283360const char kEolNotificationName[] = "Disable Device End of Life notification.";
3361const char kEolNotificationDescription[] =
3362 "Disable Notifcation when Device is End of Life.";
3363
Akihiro Ota3ff6f8a2019-01-18 17:43:043364const char kExperimentalAccessibilityChromeVoxLanguageSwitchingName[] =
3365 "Enable experimental ChromeVox language switching.";
3366const char kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription[] =
3367 "Enable ChromeVox language switching, which changes ChromeVox's "
3368 "output language upon detection of new language.";
3369
Brett Wilson7b44537e2017-08-18 01:38:283370const char kFileManagerTouchModeName[] = "Files App. touch mode";
3371const char kFileManagerTouchModeDescription[] =
3372 "Touchscreen-specific interactions of the Files app.";
3373
3374const char kFirstRunUiTransitionsName[] =
3375 "Animated transitions in the first-run tutorial";
3376const char kFirstRunUiTransitionsDescription[] =
3377 "Transitions during first-run tutorial are animated.";
3378
Brett Wilson7b44537e2017-08-18 01:38:283379const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3380const char kForceEnableStylusToolsDescription[] =
3381 "Forces display of the stylus tools menu in the shelf and the stylus "
3382 "section in settings, even if there is no attached stylus device.";
3383
3384const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3385const char kGestureEditingDescription[] =
3386 "Enable/Disable gesture editing option in the settings page for the "
3387 "virtual keyboard.";
3388
3389const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3390const char kGestureTypingDescription[] =
3391 "Enable/Disable gesture typing option in the settings page for the virtual "
3392 "keyboard.";
3393
3394const char kInputViewName[] = "Input views";
3395const char kInputViewDescription[] =
3396 "Enable IME extensions to supply custom views for user input such as "
3397 "virtual keyboards.";
3398
Leo Zhang3cc77542018-11-07 00:58:083399const char kImeServiceName[] = "Enable IME service";
3400const char kImeServiceDescription[] =
3401 "Enable IME service to provide the IME functionality instead of NaCl";
3402
Megumi Hattori5a0d4182018-03-06 11:09:503403const char kLockScreenNotificationName[] = "Lock screen notification";
3404const char kLockScreenNotificationDescription[] =
3405 "Enable notifications on the lock screen.";
3406
Mohsen Izadi06a16f72018-11-29 02:29:223407const char kMashOopVizName[] = "Out-of-process viz for mash";
3408const char kMashOopVizDescription[] =
3409 "Runs viz in a separate process when mash is enabled (otherwise viz would "
3410 "run in ash process)";
3411
Qiang Xu045aff222018-05-21 23:21:013412const char kMaterialDesignInkDropAnimationSpeedName[] =
3413 "Material design ink drop animation speed";
3414const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3415 "Sets the speed of the experimental visual feedback animations for "
3416 "material design.";
3417const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3418const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3419
Brett Wilson7b44537e2017-08-18 01:38:283420const char kMemoryPressureThresholdName[] =
3421 "Memory discard strategy for advanced pressure handling";
3422const char kMemoryPressureThresholdDescription[] =
3423 "Memory discarding strategy to use";
3424const char kConservativeThresholds[] =
3425 "Conservative memory pressure release strategy";
3426const char kAggressiveCacheDiscardThresholds[] =
3427 "Aggressive cache release strategy";
3428const char kAggressiveTabDiscardThresholds[] =
3429 "Aggressive tab release strategy";
3430const char kAggressiveThresholds[] =
3431 "Aggressive tab and cache release strategy";
3432
3433const char kMtpWriteSupportName[] = "MTP write support";
3434const char kMtpWriteSupportDescription[] =
3435 "MTP write support in File System API (and file manager). In-place editing "
3436 "operations are not supported.";
3437
vabr0215a8e2017-03-28 12:47:343438const char kNetworkPortalNotificationName[] =
3439 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343440const char kNetworkPortalNotificationDescription[] =
3441 "If enabled, notification is displayed when device is connected to a "
3442 "network behind captive portal.";
3443
Brett Wilson7b44537e2017-08-18 01:38:283444const char kNewKoreanImeName[] = "New Korean IME";
3445const char kNewKoreanImeDescription[] =
3446 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343447
Anand K. Mistrydb5e0102018-10-04 04:24:003448const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283449const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003450 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343451
Qiang Xu045aff222018-05-21 23:21:013452const char kOfficeEditingComponentAppName[] =
3453 "Office Editing for Docs, Sheets & Slides";
3454const char kOfficeEditingComponentAppDescription[] =
3455 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3456
Brett Wilson7b44537e2017-08-18 01:38:283457const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3458const char kPhysicalKeyboardAutocorrectDescription[] =
3459 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3460 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343461
3462const char kPrinterProviderSearchAppName[] =
3463 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343464const char kPrinterProviderSearchAppDescription[] =
3465 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193466 "searches Chrome Web Store for extensions that support printing to a USB "
3467 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343468
Brett Wilson7b44537e2017-08-18 01:38:283469const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3470const char kQuickUnlockPinDescription[] =
3471 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3472 "device on the lock screen after you have signed into your device.";
3473const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3474const char kQuickUnlockPinSigninDescription[] =
3475 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3476 "device. After changing this flag PIN needs to be set up again.";
3477const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3478const char kQuickUnlockFingerprintDescription[] =
3479 "Enabling fingerprint quick unlock allows you to setup and use a "
3480 "fingerprint to unlock your Chromebook on the lock screen after you have "
3481 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343482
James Cook0ba192bf2017-12-01 20:53:113483const char kShowTapsName[] = "Show taps";
3484const char kShowTapsDescription[] =
3485 "Draws a circle at each touch point, which makes touch points more obvious "
3486 "when projecting or mirroring the display. Similar to the Android OS "
3487 "developer option.";
3488
3489const char kShowTouchHudName[] = "Show HUD for touch points";
3490const char kShowTouchHudDescription[] =
3491 "Shows a trail of colored dots for the last few touch points. Pressing "
3492 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3493 "debug hardware issues that generate spurious touch events.";
3494
James Cook28d7c482018-09-07 21:00:543495const char kSingleProcessMashName[] =
3496 "In-process window service (SingleProcessMash)";
3497const char kSingleProcessMashDescription[] =
3498 "Runs the system UI (ash) as a mojo service, but inside the browser "
3499 "process. The browser uses the mojo window service (ws) APIs.";
3500
Ahmed Fakhry58e6ef542018-09-04 18:05:383501const char kSlideTopChromeWithPageScrollsName[] =
3502 "Slide top-chrome with page scrolls";
3503const char kSlideTopChromeWithPageScrollsDescription[] =
3504 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3505 " UI.";
3506
Jorge Gil5a8ccde2018-07-10 01:46:213507const char kSmartTextSelectionName[] = "Smart Text Selection";
3508const char kSmartTextSelectionDescription[] =
3509 "Shows quick actions for text "
3510 "selections in the context menu.";
3511
Brett Wilson7b44537e2017-08-18 01:38:283512const char kTetherName[] = "Instant Tethering";
3513const char kTetherDescription[] =
3514 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3515 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373516
Brett Wilson7b44537e2017-08-18 01:38:283517const char kTouchscreenCalibrationName[] =
3518 "Enable/disable touchscreen calibration option in material design settings";
3519const char kTouchscreenCalibrationDescription[] =
3520 "If enabled, the user can calibrate the touch screen displays in "
3521 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093522
Qiang Xu045aff222018-05-21 23:21:013523const char kUiDevToolsName[] = "Enable native UI inspection";
3524const char kUiDevToolsDescription[] =
3525 "Enables inspection of native UI elements. For local inspection use "
3526 "chrome://inspect#other";
3527
3528const char kUiShowCompositedLayerBordersName[] =
3529 "Show UI composited layer borders";
3530const char kUiShowCompositedLayerBordersDescription[] =
3531 "Show border around composited layers created by UI.";
3532const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3533const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3534const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3535const char kUiShowCompositedLayerBordersAll[] = "All";
3536
3537const char kUiSlowAnimationsName[] = "Slow UI animations";
3538const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3539
Mitsuru Oshima63d3f2a2017-08-23 00:12:113540// Force UI Mode
3541const char kUiModeName[] = "Force Ui Mode";
3542const char kUiModeDescription[] =
Elly Fong-Jonesf4c15772019-01-31 17:40:063543 "This flag can be used to force a certain mode on to a chromebook, "
3544 "despite its current orientation. \"Tablet\" means that the "
3545 "chromebook will act as if it were in tablet mode. \"Clamshell\" "
3546 "means that the chromebook will act as if it were in clamshell "
3547 "mode. \"Auto\" means that the chromebook will alternate between "
3548 "the two, based on its orientation.";
Min Chenfd25cd22018-11-06 01:50:513549const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113550const char kUiModeClamshell[] = "Clamshell";
3551const char kUiModeAuto[] = "Auto (default)";
3552
Sonny Sasaka7fecfeda2018-07-11 23:47:553553const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3554const char kUnfilteredBluetoothDevicesDescription[] =
3555 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3556
Allen Webbcdc8e69d2018-09-12 20:36:003557const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3558const char kUsbguardDescription[] =
3559 "Prevents newly connected USB devices from operating at the lock screen"
3560 " until Chrome OS is unlocked to protect against malicious USB devices."
3561 " Already connected USB devices will continue to function.";
3562
Micah Morton79a7b522018-09-27 15:15:303563const char kShillSandboxingName[] =
3564 "Run shill, the ChromeOS network manager, in a sandbox.";
3565const char kShillSandboxingDescription[] =
3566 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3567
Micah Morton02d3aba2018-11-20 01:51:453568const char kFsNosymfollowName[] =
3569 "Prevent symlink traversal on user-supplied filesystems.";
3570const char kFsNosymfollowDescription[] =
3571 "Causes user-supplied filesystems to be mounted with the 'nosymfollow'"
3572 " option, so the chromuimos LSM denies symlink traversal on the"
3573 " filesystem.";
3574
James Cooka1bcfa9a2018-01-30 00:18:403575const char kUseMashName[] = "Out-of-process system UI (mash)";
3576const char kUseMashDescription[] =
3577 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3578 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283579
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343580// TODO(mcasas): remove after https://crbug.com/771345.
3581const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3582const char kUseMonitorColorSpaceDescription[] =
3583 "Enables Chrome to use the color space information provided by the monitor"
3584 " instead of the default sRGB color space.";
3585
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233586const char kVaapiJpegImageDecodeAccelerationName[] =
3587 "VA-API JPEG decode acceleration for images";
3588const char kVaapiJpegImageDecodeAccelerationDescription[] =
3589 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3590 " captures) using the VA-API.";
3591
Brett Wilson7b44537e2017-08-18 01:38:283592const char kVideoPlayerChromecastSupportName[] =
3593 "Experimental Chromecast support for Video Player";
3594const char kVideoPlayerChromecastSupportDescription[] =
3595 "This option enables experimental Chromecast support for Video Player app "
3596 "on ChromeOS.";
3597
3598const char kVirtualKeyboardName[] = "Virtual Keyboard";
3599const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3600
3601const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3602const char kVirtualKeyboardOverscrollDescription[] =
3603 "Enables virtual keyboard overscroll support.";
3604
3605const char kVoiceInputName[] = "Voice input on virtual keyboard";
3606const char kVoiceInputDescription[] =
3607 "Enables voice input on virtual keyboard.";
3608
3609const char kWakeOnPacketsName[] = "Wake On Packets";
3610const char kWakeOnPacketsDescription[] =
3611 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203612
yhanadac5bff5b2017-05-18 06:37:093613#endif // defined(OS_CHROMEOS)
3614
Brett Wilson7b44537e2017-08-18 01:38:283615// Random platform combinations -----------------------------------------------
3616
3617#if defined(OS_WIN) || defined(OS_LINUX)
3618
3619const char kEnableInputImeApiName[] = "Enable Input IME API";
3620const char kEnableInputImeApiDescription[] =
3621 "Enable the use of chrome.input.ime API.";
3622
3623#endif // defined(OS_WIN) || defined(OS_LINUX)
3624
Jiajia Qindb252e92019-01-28 11:47:483625#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3626
3627const char kWebGL2ComputeContextName[] = "WebGL 2.0 Compute";
3628const char kWebGL2ComputeContextDescription[] =
3629 "Enable the use of WebGL 2.0 Compute API.";
3630
3631#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
3632
Brett Wilson7b44537e2017-08-18 01:38:283633#if defined(OS_WIN) || defined(OS_MACOSX)
3634
3635const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3636const char kAutomaticTabDiscardingDescription[] =
3637 "If enabled, tabs get automatically discarded from memory when the system "
3638 "memory is low. Discarded tabs are still visible on the tab strip and get "
3639 "reloaded when clicked on. Info about discarded tabs can be found at "
3640 "chrome://discards.";
3641
3642#endif // defined(OS_WIN) || defined(OS_MACOSX)
3643
lanwei83f54452018-06-21 23:51:043644#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3645
3646const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3647const char kDirectManipulationStylusDescription[] =
3648 "If enabled, Chrome will scroll web pages on stylus drag.";
3649
3650#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3651
Henrik Grunell63f2d772018-12-06 17:25:203652#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3653
3654const char kForceEnableSystemAecName[] = "Force enable system AEC";
3655const char kForceEnableSystemAecDescription[] =
3656 "Use system echo canceller instead of WebRTC echo canceller. If there is "
3657 "no system echo canceller available, getUserMedia with echo cancellation "
3658 "enabled will fail.";
3659
3660#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
3661
David Bienvenuc713d502019-02-07 23:46:323662#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3663
3664const char kWebContentsOcclusionName[] = "Enable occlusion of web contents";
3665const char kWebContentsOcclusionDescription[] =
3666 "If enabled, web contents will behave as hidden when it is occluded by "
3667 "other windows.";
3668
3669#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3670
Justin Donnelly110e40c2018-06-01 21:48:433671const char kExperimentalUiName[] = "Use all upcoming UI features";
3672const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483673
Brett Wilson7b44537e2017-08-18 01:38:283674// Feature flags --------------------------------------------------------------
3675
Lei Zhang0a318af2018-11-14 02:19:463676#if defined(DCHECK_IS_CONFIGURABLE)
3677const char kDcheckIsFatalName[] = "DCHECKs are fatal";
3678const char kDcheckIsFatalDescription[] =
3679 "By default Chrome will evaluate in this build, but only log failures, "
3680 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
3681#endif // defined(DCHECK_IS_CONFIGURABLE)
3682
Brett Wilson7b44537e2017-08-18 01:38:283683#if BUILDFLAG(ENABLE_VR)
3684
David Dorwin5a496c32017-11-17 01:45:053685const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3686const char kWebVrVsyncAlignDescription[] =
3687 "Align WebVR application rendering with VSync for smoother animations.";
3688
Bill Orr103ed272018-02-14 21:23:053689#if BUILDFLAG(ENABLE_OCULUS_VR)
3690const char kOculusVRName[] = "Oculus hardware support";
3691const char kOculusVRDescription[] =
3692 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3693 "Windows 10 or later).";
3694#endif // ENABLE_OCULUS_VR
3695
Bill Orr49527562017-11-22 16:58:483696#if BUILDFLAG(ENABLE_OPENVR)
3697const char kOpenVRName[] = "OpenVR hardware support";
3698const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073699 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3700 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483701#endif // ENABLE_OPENVR
3702
Bill Orrd2af6bd52019-01-23 02:50:243703#if BUILDFLAG(ENABLE_WINDOWS_MR)
3704const char kWindowsMixedRealityName[] = "Windows Mixed Reality support";
3705const char kWindowsMixedRealityDescription[] =
3706 "If enabled, Chrome will use Windows Mixed Reality devices for VR"
3707 " (supported only on Windows 10 or later).";
3708#endif // ENABLE_WINDOWS_MR
3709
Bill Orrecfb9fe2018-10-02 00:11:103710#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3711const char kXRSandboxName[] = "XR device sandboxing";
3712const char kXRSandboxDescription[] =
3713 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3714#endif // ENABLE_ISOLATED_XR_SERVICE
3715
Brett Wilson7b44537e2017-08-18 01:38:283716#endif // ENABLE_VR
3717
Nico Weberaf3b00b2017-09-11 17:58:173718#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283719
3720const char kNaclDebugMaskName[] =
3721 "Restrict Native Client GDB-based debugging by pattern";
3722const char kNaclDebugMaskDescription[] =
3723 "Restricts Native Client application GDB-based debugging by URL of "
3724 "manifest file. Native Client GDB-based debugging must be enabled for this "
3725 "option to work.";
3726const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3727const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3728 "Debug everything except secure shell and the PNaCl translator.";
3729const char kNaclDebugMaskChoiceIncludeDebug[] =
3730 "Debug only if manifest URL ends with debug.nmf.";
3731
3732const char kNaclDebugName[] = "Native Client GDB-based debugging";
3733const char kNaclDebugDescription[] =
3734 "Enable GDB debug stub. This will stop a Native Client application on "
3735 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3736
3737const char kNaclName[] = "Native Client";
3738const char kNaclDescription[] =
3739 "Support Native Client for all web applications, even those that were not "
3740 "installed from the Chrome Web Store.";
3741
3742const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3743const char kPnaclSubzeroDescription[] =
3744 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3745
Nico Weberaf3b00b2017-09-11 17:58:173746#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283747
Lei Zhang802201c2018-11-14 18:16:283748#if BUILDFLAG(ENABLE_PLUGINS)
3749
dstockwellcc759202019-01-11 00:42:123750#if defined(OS_CHROMEOS)
3751const char kPdfAnnotations[] = "PDF Annotations";
Weidong Guo577fe9ac2019-01-28 19:58:103752const char kPdfAnnotationsDescription[] = "Enable annotating PDF documents.";
dstockwellcc759202019-01-11 00:42:123753#endif // defined(OS_CHROMEOS)
3754
Lei Zhang802201c2018-11-14 18:16:283755const char kPdfFormSaveName[] = "Save PDF Forms";
3756const char kPdfFormSaveDescription[] =
3757 "Enable saving PDFs with filled form data.";
3758
3759const char kPdfIsolationName[] = "PDF Isolation";
3760const char kPdfIsolationDescription[] =
3761 "Render PDF files from different origins in different plugin processes.";
3762
3763#endif // BUILDFLAG(ENABLE_PLUGINS)
3764
Brett Wilson7b44537e2017-08-18 01:38:283765#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3766
3767const char kAutofillCreditCardUploadName[] =
3768 "Enable offering upload of Autofilled credit cards";
3769const char kAutofillCreditCardUploadDescription[] =
3770 "Enables a new option to upload credit cards to Google Payments for sync "
3771 "to all Chrome devices.";
3772
3773#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3774
Collin Baker0a45d6a2018-12-20 19:21:503775#if BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3776
3777const char kReopenTabInProductHelpName[] = "Reopen tab in-product help";
3778const char kReopenTabInProductHelpDescription[] =
3779 "Enable in-product help that guides a user to reopen a tab if it looks "
3780 "like they accidentally closed it.";
3781
3782#endif // BUILDFLAG(ENABLE_DESKTOP_IN_PRODUCT_HELP)
3783
Tomas Popela253a5832019-01-14 17:22:103784#if defined(WEBRTC_USE_PIPEWIRE)
3785
3786extern const char kWebrtcPipeWireCapturerName[] = "WebRTC PipeWire support";
3787extern const char kWebrtcPipeWireCapturerDescription[] =
3788 "When enabled the WebRTC will use the PipeWire multimedia server for "
3789 "capturing the desktop content on the Wayland display server.";
3790
3791#endif // #if defined(WEBRTC_USE_PIPEWIRE)
3792
Stephen Chenneyde6e5c82019-01-21 01:56:043793const char kAvoidFlashBetweenNavigationName[] =
3794 "Enable flash avoidance between same-origin navigations";
3795const char kAvoidFlahsBetweenNavigationDescription[] =
3796 "Enables experimental flash avoidance when navigating between pages "
3797 "in the same origin. This feature is in the implementation stages and "
3798 "currently has no effect.";
3799
Brett Wilson7b44537e2017-08-18 01:38:283800// ============================================================================
3801// Don't just add flags to the end, put them in the right section in
3802// alphabetical order just like the header file.
3803// ============================================================================
3804
vabr0215a8e2017-03-28 12:47:343805} // namespace flag_descriptions