blob: b3a68db8764c4e31c8d677e8eeeae845dffae898 [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
Jeremy Klein586b4ccc2018-06-09 21:05:4846const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
47const char kAndroidMessagesIntegrationDescription[] =
48 "Enables Chrome OS integration with Android messages.";
49
Jeremy Klein8d8f9b2e2018-09-13 21:48:5750const char kAndroidMessagesProdEndpointName[] =
51 "Use Android Messages prod endpoint";
52const char kAndroidMessagesProdEndpointDescription[] =
53 "For Android Messages integration, point to the prod endpoint instead of "
54 "sandbox.";
55
Kamila02f7e072018-10-08 09:50:2856const char kAndroidSiteSettingsUIName[] = "Android Site Settings UI changes.";
57const char kAndroidSiteSettingsUIDescription[] =
58 "Enable the new UI "
59 "changes in Site Settings in Android.";
60
Brett Wilsonf27ff602017-07-07 22:28:4761const char kAppBannersName[] = "App Banners";
62const char kAppBannersDescription[] =
63 "Enable the display of Progressive Web App banners, which prompt a user to "
64 "add a web app to their shelf, or other platform-specific equivalent.";
65
Ioana Pandelef9689a062018-06-22 15:35:5166const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
67const char kAutomaticPasswordGenerationDescription[] =
68 "Allow Chrome to offer to generate passwords when it detects account "
69 "creation pages.";
70
Michael Lippautz6081dfa2018-10-18 13:10:1471const char kEnableBlinkHeapUnifiedGarbageCollectionName[] =
72 "Blink Heap Unified Garbage Collection";
73const char kEnableBlinkHeapUnifiedGarbageCollectionDescription[] =
74 "Enable unified garbage collection in Blink";
75
Ulan Degenbaevb5466a92018-07-19 12:35:3476const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
77const char kEnableBloatedRendererDetectionDescription[] =
78 "Enable bloated renderer detection";
79
Khushalba202212017-07-12 19:53:4980const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
81const char kAsyncImageDecodingDescription[] =
82 "Enables asynchronous decoding of images from raster for web content";
83
Roger McFarlane2eceba982018-05-18 01:37:1184const char kAutofillCacheQueryResponsesName[] =
85 "Cache Autofill Query Responses";
86const char kAutofillCacheQueryResponsesDescription[] =
87 "When enabled, autofill will cache the responses it receives from the "
88 "crowd-sourced field type prediction server.";
89
Jeffrey Cohen05cdafa392018-08-15 20:49:1790const char kAutofillEnableCompanyNameName[] =
91 "Enable Autofill Company Name field";
92const char kAutofillEnableCompanyNameDescription[] =
93 "When enabled, Company Name fields will be auto filled";
94
sebsge35b762c2018-03-29 20:33:2795const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
96const char kAutofillDynamicFormsDescription[] =
97 "Allows autofill to fill dynamically changing forms";
98
Anne Lime625362e2018-08-29 03:13:2599const char kAutofillNoLocalSaveOnUploadSuccessName[] =
100 "Disable locally saving card when credit card upload succeeds";
101const char kAutofillNoLocalSaveOnUploadSuccessDescription[] =
102 "When enabled, no local copy of server card will be saved when credit card "
103 "upload succeeds.";
104
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:39105const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
106const char kAutofillPrefilledFieldsDescription[] =
107 "Allows autofill to fill fields previously filled by the website";
108
Lei Zhang0ca70ea2018-09-07 17:51:01109const char kAutofillPreviewStyleExperimentName[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18110 "Autofill Preview Style Experiment";
Lei Zhang0ca70ea2018-09-07 17:51:01111const char kAutofillPreviewStyleExperimentDescription[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18112 "Allows experimentation with the Autofill field preview's style.";
113
Parastoo Geranmayeh071d725c2018-06-26 17:35:22114const char kAutofillRationalizeRepeatedServerPredictionsName[] =
115 "Autofill Rationalization of Repeated Server Field Type Predictions";
116const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
117 "Allows autofill to rationalize repeated server field type predictions.";
118
Roger McFarlane1a37d7b2018-04-20 22:45:19119const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
120 "Autofill Enforce Min Required Fields For Heuristics";
121const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
122 "When enabled, autofill will generally require a form to have at least 3 "
123 "fields before allowing heuristic field-type prediction to occur.";
124
125const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
126 "Autofill Enforce Min Required Fields For Query";
127const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
128 "When enabled, autofill will generally require a form to have at least 3 "
129 "fields before querying the autofill server for field-type predictions.";
130
131const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
132 "Autofill Enforce Min Required Fields For Upload";
133const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
134 "When enabled, autofill will generally require a form to have at least 3 "
135 "fillable fields before uploading field-type votes for that form.";
136
Moe Ahmadid3ddfcb2018-04-20 19:51:08137const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
138 "Restrict formless form extraction";
139const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
140 "Restrict extraction of formless forms to checkout flows";
141
Brett Wilsonf27ff602017-07-07 22:28:47142const char kAutoplayPolicyName[] = "Autoplay policy";
143const char kAutoplayPolicyDescription[] =
144 "Policy used when deciding if audio or video is allowed to autoplay.";
145
146const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
147 "User gesture is required for cross-origin iframes.";
148const char kAutoplayPolicyNoUserGestureRequired[] =
149 "No user gesture is required.";
150const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
151const char kAutoplayPolicyDocumentUserActivation[] =
152 "Document user activation is required.";
153
Lei Zhang0ca70ea2018-09-07 17:51:01154const char kAv1DecoderName[] = "Enable AV1 video decoding.";
155const char kAv1DecoderDescription[] =
Johanne0cc6902017-11-16 00:23:50156 "Allow decoding of files with the AV1 video codec.";
157
Maya Lekova4bbfdb7f2018-10-16 08:15:03158const char kAwaitOptimizationName[] = "Await optimization";
159const char kAwaitOptimizationDescription[] =
160 "Enables await taking 1 tick on the microtask queue.";
161
Brett Wilsonf27ff602017-07-07 22:28:47162const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
163const char kBleAdvertisingInExtensionsDescription[] =
164 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
165 "with regular use of Bluetooth Low Energy features.";
166
Charles Harrisond629cc62017-10-05 01:39:54167const char kBlockTabUndersName[] = "Block tab-unders";
168const char kBlockTabUndersDescription[] =
169 "Blocks tab-unders in Chrome with some native UI to allow the user to "
170 "proceed.";
171
Brett Wilsonf27ff602017-07-07 22:28:47172const char kBrowserTaskSchedulerName[] = "Task Scheduler";
173const char kBrowserTaskSchedulerDescription[] =
174 "Enables redirection of some task posting APIs to the task scheduler.";
175
Carlos IL766fbc882018-02-16 02:34:52176const char kBundledConnectionHelpName[] = "Bundled Connection Help";
177const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37178 "Enables or disables redirection to local help content for users who get "
179 "an interstitial after clicking the 'Learn More' link on a previous "
180 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52181
Brett Wilsonf27ff602017-07-07 22:28:47182const char kBypassAppBannerEngagementChecksName[] =
183 "Bypass user engagement checks";
184const char kBypassAppBannerEngagementChecksDescription[] =
185 "Bypasses user engagement checks for displaying app banners, such as "
186 "requiring that users have visited the site before and that the banner "
187 "hasn't been shown recently. This allows developers to test that other "
188 "eligibility requirements for showing app banners, such as having a "
189 "manifest, are met.";
190
Miguel Casas454d9cf2018-06-28 16:25:00191const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
192const char kCanvas2DImageChromiumDescription[] =
193 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
194
Brett Wilsonf27ff602017-07-07 22:28:47195const char kCastStreamingHwEncodingName[] =
196 "Cast Streaming hardware video encoding";
197const char kCastStreamingHwEncodingDescription[] =
198 "This option enables support in Cast Streaming for encoding video streams "
199 "using platform hardware.";
200
Amber Won478561d2017-08-19 01:02:59201const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
202const char kClickToOpenPDFDescription[] =
203 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
204 "embedded PDFs.";
205
Gary Kacmarcikfb69b212017-11-14 03:41:08206const char kClipboardContentSettingName[] = "Clipboard content setting";
207const char kClipboardContentSettingDescription[] =
208 "Enables a site-wide permission in the UI which controls access to the "
209 "asynchronous clipboard web API";
210
Brett Wilsonf27ff602017-07-07 22:28:47211const char kCloudImportName[] = "Cloud Import";
212const char kCloudImportDescription[] = "Allows the cloud-import feature.";
213
rbpotter9990eb42018-07-12 05:34:59214const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
215const char kCloudPrinterHandlerDescription[] =
216 "Use the new cloud printer handler for communicating with the cloud "
217 "print server, instead of the cloud print interface in the Print "
218 "Preview WebUI.";
219
Tanja Gornakb0985dd2018-10-11 17:24:40220const char kFCMInvalidationsName[] =
221 "Enable invalidations delivery via new FCM based protocol";
222const char kFCMInvalidationsDescription[] =
223 "Use the new FCM-based protocol for deliveling invalidations";
224
Christopher Cameronceb8727d2017-09-07 23:53:16225const char kForceColorProfileSRGB[] = "sRGB";
226const char kForceColorProfileP3[] = "Display P3 D65";
227const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
228const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
229
230const char kForceColorProfileName[] = "Force color profile";
231const char kForceColorProfileDescription[] =
232 "Forces Chrome to use a specific color profile instead of the color "
233 "of the window's current monitor, as specified by the operating system.";
234
Brett Wilsonf27ff602017-07-07 22:28:47235const char kCompositedLayerBordersName[] = "Composited render layer borders";
236const char kCompositedLayerBordersDescription[] =
237 "Renders a border around composited Render Layers to help debug and study "
238 "layer compositing.";
239
Theresacd5aaec2018-08-27 20:32:13240const char kContextualSuggestionsAlternateCardLayoutName[] =
241 "Contextual Suggestions Alternate Card Layout";
242const char kContextualSuggestionsAlternateCardLayoutDescription[] =
243 "If enabled, use an alternate card layout for contextual suggestions.";
244
Theresac34db2d2018-06-28 00:03:11245const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
246const char kContextualSuggestionsButtonDescription[] =
247 "If enabled, shows a button to trigger contextual suggestions.";
248
Theresae308b9e2018-10-10 15:57:40249const char kContextualSuggestionsIPHReverseScrollName[] =
250 "Contextual Suggestions IPH Reverse Scroll";
251const char kContextualSuggestionsIPHReverseScrollDescription[] =
252 "Require a reverse scroll before showing in-product help for contextual "
253 "suggestions.";
254
Theresa0f2947b92018-07-02 21:27:58255const char kContextualSuggestionsOptOutName[] =
256 "Contextual Suggestions Opt-out";
257const char kContextualSuggestionsOptOutDescription[] =
258 "If enabled, allows the user to opt out of contextual suggestions.";
259
Brett Wilsonf27ff602017-07-07 22:28:47260const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
261const char kCreditCardAssistDescription[] =
262 "Enable assisted credit card filling on certain sites.";
263
264const char kCrossProcessGuestViewIsolationName[] =
265 "Cross process frames for guests";
266const char kCrossProcessGuestViewIsolationDescription[] =
267 "Highly experimental where guests such as <webview> are implemented on "
268 "the out-of-process iframe infrastructure.";
269
Thanh Le659cb102017-12-20 22:00:19270const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
271const char kDataSaverServerPreviewsDescription[] =
272 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47273
274const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
275const char kDatasaverPromptDescription[] =
276 "Enables a prompt, which appears when a cellular network connection is "
277 "detected, to take the user to the Data Saver extension page on Chrome Web "
278 "Store.";
279const char kDatasaverPromptDemoMode[] = "Demo mode";
280
Wez54dc71b2018-04-17 00:42:34281#if DCHECK_IS_CONFIGURABLE
282const char kDcheckIsFatalName[] = "DCHECKs are fatal";
283const char kDcheckIsFatalDescription[] =
284 "By default Chrome will evaluate in this build, but only log failures, "
285 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
286#endif // DCHECK_IS_CONFIGURABLE
287
Brett Wilsonf27ff602017-07-07 22:28:47288const char kDebugPackedAppName[] = "Debugging for packed apps";
289const char kDebugPackedAppDescription[] =
290 "Enables debugging context menu options such as Inspect Element for packed "
291 "applications.";
292
293const char kDefaultTileHeightName[] = "Default tile height";
294const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
295const char kDefaultTileHeightShort[] = "128";
296const char kDefaultTileHeightTall[] = "256";
297const char kDefaultTileHeightGrande[] = "512";
298const char kDefaultTileHeightVenti[] = "1024";
299
300const char kDefaultTileWidthName[] = "Default tile width";
301const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
302const char kDefaultTileWidthShort[] = "128";
303const char kDefaultTileWidthTall[] = "256";
304const char kDefaultTileWidthGrande[] = "512";
305const char kDefaultTileWidthVenti[] = "1024";
306
307const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
308const char kDebugShortcutsDescription[] =
309 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
310
311const char kDeviceDiscoveryNotificationsName[] =
312 "Device Discovery Notifications";
313const char kDeviceDiscoveryNotificationsDescription[] =
314 "Device discovery notifications on local network.";
315
316const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
317const char kDevtoolsExperimentsDescription[] =
318 "Enables Developer Tools experiments. Use Settings panel in Developer "
319 "Tools to toggle individual experiments.";
320
321const char kDisableAudioForDesktopShareName[] =
322 "Disable Audio For Desktop Share";
323const char kDisableAudioForDesktopShareDescription[] =
324 "With this flag on, desktop share picker window will not let the user "
325 "choose whether to share audio.";
326
Arthur Sonzogni721f48e2018-10-31 17:10:02327const char kDisableIpcFloodingProtectionName[] =
328 "Disable IPC flooding protection";
329const char kDisableIpcFloodingProtectionDescription[] =
330 "Some javascript code can flood the inter process communication system. "
331 "This protection limits the rate (calls/seconds) at which theses function "
332 "can be used. This flag disables the protection.";
333
Chris Palmer917bc052018-03-14 19:28:31334const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
335const char kDisablePushStateThrottleDescription[] =
336 "Disables throttling of history.pushState and history.replaceState method "
337 "calls.";
338
Brett Wilsonf27ff602017-07-07 22:28:47339const char kDisableTabForDesktopShareName[] =
340 "Disable Desktop Share with tab source";
341const char kDisableTabForDesktopShareDescription[] =
342 "This flag controls whether users can choose a tab for desktop share.";
343
344const char kDisallowDocWrittenScriptsUiName[] =
345 "Block scripts loaded via document.write";
346const char kDisallowDocWrittenScriptsUiDescription[] =
347 "Disallows fetches for third-party parser-blocking scripts inserted into "
348 "the main frame via document.write.";
349
Christopher Thompson2ffffa2c2018-05-18 23:06:37350const char kDisallowUnsafeHttpDownloadsName[] =
351 "Block unsafe downloads over insecure connections";
352const char kDisallowUnsafeHttpDownloadsNameDescription[] =
353 "Disallows downloads of unsafe files (files that can potentially execute "
354 "code), where the final download origin or any origin in the redirect "
355 "chain is insecure.";
356
Brett Wilsonf27ff602017-07-07 22:28:47357const char kDriveSearchInChromeLauncherName[] =
358 "Drive Search in Chrome App Launcher";
359const char kDriveSearchInChromeLauncherDescription[] =
360 "Files from Drive will show up when searching the Chrome App Launcher.";
361
Brett Wilsonf27ff602017-07-07 22:28:47362const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
363const char kEmbeddedExtensionOptionsDescription[] =
364 "Display extension options as an embedded element in chrome://extensions "
365 "rather than opening a new tab.";
366
Dominic Mazzoni8ac98962018-05-25 05:44:55367const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
368const char kEnableAccessibilityObjectModelDescription[] =
369 "Enables experimental support for Accessibility Object Model APIs "
370 "that are in development.";
371
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36372const char kEnableWebPaymentsSingleAppUiSkipName[] =
373 "Enable Web Payments single app UI skip";
374const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
375 "Enable Web Payments to skip showing its UI if the developer specifies a "
376 "single app.";
377
Florian Uunk8c428ea2018-07-18 11:12:52378const char kEnableAutofillAccountWalletStorageName[] =
379 "Enable the account data storage for autofill";
380const char kEnableAutofillAccountWalletStorageDescription[] =
381 "Enable the ephemeral storage for account data for autofill.";
382
Shanfeng Zhang19c16562017-10-17 02:30:40383const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
384 "Credit card autofill ablation experiment.";
385const char kEnableAutofillCreditCardAblationExperimentDescription[] =
386 "If enabled, credit card autofill suggestions will not display.";
387
Brett Wilsonf27ff602017-07-07 22:28:47388const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
389 "Display the last used date of a credit card in autofill.";
390const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
391 "If enabled, display the last used date of a credit card in autofill.";
392
Sujie Zhu2cf0e5c2018-07-17 18:00:27393const char kEnableAutofillCreditCardLocalCardMigrationName[] =
394 "Enable migrating local cards to Google Pay";
395const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
396 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
397
Jared Saulbc672a072018-06-16 05:22:12398const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
399 "Make cardholder name editable in dialog during credit card upload";
400const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
401 "If enabled, in certain situations when offering credit card upload to "
402 "Google Payments, the cardholder name can be edited within the "
403 "offer-to-save dialog, which is prefilled with the name from the signed-in "
404 "Google Account.";
405
Hao Zhang1be9c262018-11-03 00:23:51406const char kEnableAutofillCreditCardUploadEditableExpirationDateName[] =
407 "Make expiration date editable in dialog during credit card upload";
408const char kEnableAutofillCreditCardUploadEditableExpirationDateDescription[] =
409 "If enabled, if a credit card's expiration date was not detected when "
410 "offering card upload to Google Payments, the offer-to-save dialog "
411 "displays an expiration date selector.";
412
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37413const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
414 "Enable Google Pay branding when offering credit card upload on Android";
415const char
416 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
417 "If enabled, shows the Google Pay logo and a shorter header message "
418 "when credit card upload to Google Payments is offered on Android.";
419
siyua9a4a8872018-10-05 03:46:56420const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
421 "Show the upload results dialog after local card migration";
422const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
423 "If enabled, the local card migration offer dialog will remain pending "
424 "after the user clicks the save button. Once migration is finished, "
425 "the dialog will be updated with the results of each card.";
426
tmartinocd414732018-02-12 19:01:01427const char kEnableAutofillNativeDropdownViewsName[] =
428 "Display Autofill Dropdown Using Views";
429const char kEnableAutofillNativeDropdownViewsDescription[] =
430 "If enabled, the Autofill Dropdown will be built natively using Views, "
431 "rather than painted directly to a canvas.";
432
Fabio Tirelo87552e02018-07-06 15:43:21433const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
434 "Show unlabeled expiration dates on the save card dialog";
435const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
436 "If enabled, expiration dates on the save card dialog (both local and "
437 "upstream) are shown without an 'Exp:' label.";
438
Manas Verma99541e52018-08-03 20:37:23439const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
440 "Show Sign-In/Sync promo after saving a card locally";
441const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
442 "If enabled, shows a sign in prompt to the user after the user "
443 "saves a card locally. This also introduces a Manage Cards bubble "
444 "which you can access from the card icon after saving a card.";
445
Jared Saul8a0c1e92018-10-10 18:22:47446const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
447 "Enable limit on offering to save the same credit card repeatedly";
448const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
449 "If enabled, prevents popping up the credit card offer-to-save prompt if "
450 "it has repeatedly been ignored, declined, or failed.";
451
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23452const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
453 "Send experiment flag IDs in calls to Google Payments";
454const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
455 "If enabled, adds the status of certain experiment variations when making "
456 "calls to Google Payments.";
457
Becca Hughes4d896c42018-05-29 16:58:51458const char kEnableAutoplayIgnoreWebAudioName[] =
459 "Autoplay ignores WebAudio playbacks";
460const char kEnableAutoplayIgnoreWebAudioDescription[] =
461 "If enabled, autoplay restrictions will be ignored for WebAudio.";
462
Becca Hughesc62f6a1d2018-08-16 15:59:47463const char kEnableAutoplayUnifiedSoundSettingsName[] =
464 "Autoplay unified sound settings UI";
465const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
466 "If enabled, shows the new unified autoplay sound settings UI.";
467
Brett Wilsonf27ff602017-07-07 22:28:47468const char kEnableBrotliName[] = "Brotli Content-Encoding.";
469const char kEnableBrotliDescription[] =
470 "Enable Brotli Content-Encoding support.";
471
Qiang Xu0f602fe62017-12-22 01:31:20472const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
473const char kEnableCaptivePortalRandomUrlDescription[] =
474 "Enable Captive Portal URL randomization.";
475
Eriko Kurimoto36975992018-08-09 07:15:13476const char kEnableChromevoxDeveloperOptionName[] =
477 "Enable Chromevox developer option";
478const char kEnableChromevoxDeveloperOptionDescription[] =
479 "This option provides tools for developing in chromevox.";
480
sclittle50e4bb92017-07-08 02:23:03481const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
482
483const char kEnableClientLoFiDescription[] =
484 "Enable showing low fidelity images on some pages on slow networks.";
485
Patrick Noland8bc57472018-06-19 21:09:54486const char kEnableCSSFragmentIdentifiersName[] =
487 "Enable CSS Fragment Identifiers";
488const char kEnableCSSFragmentIdentifiersDescription[] =
489 "Enable support for specifying a target element using a css selector in "
490 "the fragment identifier.";
491
David Reveman87b4b692018-03-09 21:22:22492const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
493const char kEnableCursorMotionBlurDescription[] =
494 "Enable motion blur effect for the cursor.";
495
Doug Arnett08b4067b2017-10-12 20:14:44496const char kEnableNoScriptPreviewsName[] = "NoScript previews";
497
498const char kEnableNoScriptPreviewsDescription[] =
499 "Enable disabling JavaScript on some pages on slow networks.";
500
Thanh Le2c279fbc2017-11-21 01:25:40501const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
502const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
503const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
504const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
505const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
506const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
507const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
508const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
509const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
510const char kDataReductionProxyServerAlternative10[] =
511 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54512const char kEnableDataReductionProxyNetworkServiceName[] =
513 "Data reduction proxy with network service";
514const char kEnableDataReductionProxyNetworkServiceDescription[] =
515 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47516const char kEnableDataReductionProxyServerExperimentName[] =
517 "Use an alternative Data Saver back end configuration.";
518const char kEnableDataReductionProxyServerExperimentDescription[] =
519 "Enable a different approach to saving data by configuring the back end "
520 "server";
521
522const char kEnableDataReductionProxySavingsPromoName[] =
523 "Data Saver 1 MB Savings Promo";
524const char kEnableDataReductionProxySavingsPromoDescription[] =
525 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
526 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
527 "enabled for the promo to be shown.";
528
Matt Giucad4870432017-11-24 01:04:38529const char kEnableDesktopPWAsName[] = "Desktop PWAs";
530const char kEnableDesktopPWAsDescription[] =
531 "Experimental windowing and install banner treatment for Progressive Web "
532 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17533
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59534const char kEnableDesktopPWAsLinkCapturingName[] =
535 "Desktop PWAs Link Capturing";
536const char kEnableDesktopPWAsLinkCapturingDescription[] =
537 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
538 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
539 "#enable-desktop-pwas.";
540
Jay Harris52511a02018-11-02 01:00:28541const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
542const char kDesktopPWAsCustomTabUIDescription[] =
543 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
544 "for displaying the page title and origin instead of the location bar.";
545
Jay Harrisee7a7bc62018-10-09 01:47:49546const char kDesktopPWAsStayInWindowName[] =
547 "Desktop PWAs out-of-scope links open in the app window";
548const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28549 "Links to sites in a different scope will open inside the PWA window as "
550 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49551
Christopher Lame66b7812018-09-26 01:49:24552const char kEnableSystemWebAppsName[] = "System Web Apps";
553const char kEnableSystemWebAppsDescription[] =
554 "Experimental system for using the Desktop PWA framework for running System"
555 "Apps (e.g Settings, Discover).";
556
Ahmed Fakhry0037de02018-01-29 19:58:31557const char kEnableDockedMagnifierName[] = "Docked Magnifier";
558const char kEnableDockedMagnifierDescription[] =
559 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
560
Ramya Nagarajan5b41d8d2018-04-02 19:53:02561const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
562const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09563 "Enables the Emoji picker item in context menus for editable text areas, if"
564 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02565
David Benjamin570460e2018-10-16 06:01:29566const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
567const char kEnforceTLS13DowngradeDescription[] =
568 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
569 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
570 "through 1.2 connections. Firewalls and proxies that do not function when "
571 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
572 "securely. They must be fixed by vendors.";
573
Brett Wilsonf27ff602017-07-07 22:28:47574const char kEnableEnumeratingAudioDevicesName[] =
575 "Experimentally enable enumerating audio devices.";
576const char kEnableEnumeratingAudioDevicesDescription[] =
577 "Experimentally enable the use of enumerating audio devices.";
578
579const char kEnableGenericSensorName[] = "Generic Sensor";
580const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25581 "Enables motion sensor classes based on Generic Sensor API, i.e. "
582 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
583 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
584
585const char kEnableGenericSensorExtraClassesName[] =
586 "Generic Sensor Extra Classes";
587const char kEnableGenericSensorExtraClassesDescription[] =
588 "Enables an extra set of sensor classes based on Generic Sensor API, which "
589 "expose previously unavailable platform features, i.e. AmbientLightSensor "
590 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47591
Brett Wilsonf27ff602017-07-07 22:28:47592const char kEnableHDRName[] = "HDR mode";
593const char kEnableHDRDescription[] =
594 "Enables HDR support on compatible displays.";
595
Ryan Sturm6a850902018-06-09 02:27:34596const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
597const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09598 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25599 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01600 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
601 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34602
Robert Ogden5a63b242018-09-17 21:38:57603const char kEnablePreviewsAndroidOmniboxUIName[] =
604 "Previews Android Omnibox UI";
605const char kEnablePreviewsAndroidOmniboxUIDescription[] =
606 "Enable showing the Previews UI in the Omnibox on Android instead of an "
607 "InfoBar. This has no effect on other platforms.";
608
Robert Ogdence8c9572018-10-08 23:08:48609const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
610const char kEnableLitePageServerPreviewsDescription[] =
611 "Enable showing Lite Page Previews served from the Chrome Data Proxy "
612 "service. This feature will cause Chrome to redirect eligible navigations "
613 "to a Google-owned domain that serves a pre-rendered version of the "
614 "original page.";
615
Brett Wilsonf27ff602017-07-07 22:28:47616const char kEnableHttpFormWarningName[] =
617 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15618 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47619const char kEnableHttpFormWarningDescription[] =
620 "Attaches a warning UI to any password or credit card fields detected when "
621 "the top-level page is not HTTPS";
622
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41623const char kLayeredAPIName[] = "Experimental layered APIs";
624const char kLayeredAPIDescription[] =
625 "Enable layered API infrastructure, as well as several experimental "
626 "layered APIs. The syntax and the APIs exposed are experimental and will "
627 "change over time.";
628
Ian Kilpatricke68ef11a2018-07-04 03:52:10629const char kEnableLayoutNGName[] = "Enable LayoutNG";
630const char kEnableLayoutNGDescription[] =
631 "Enable Blink's next generation layout engine.";
632
Scott Littled0fd2d002018-04-13 03:37:26633const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
634const char kEnableLazyFrameLoadingDescription[] =
635 "Defers the loading of certain cross-origin frames until the page is "
636 "scrolled down near them.";
637
rajendrant793ff512018-08-10 17:07:59638const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
639const char kEnableLazyImageLoadingDescription[] =
640 "Defers the loading of images until the page is scrolled down near them.";
641
Sidney San Martín9375b892017-09-09 00:29:54642const char kEnableMacMaterialDesignDownloadShelfName[] =
643 "Enable Material Design download shelf";
644
645const char kEnableMacMaterialDesignDownloadShelfDescription[] =
646 "If enabled, the download shelf uses Material Design.";
647
Anton Urusov47cd4932017-09-19 14:41:41648const char kEnablePolicyToolName[] = "Enable policy management page";
649const char kEnablePolicyToolDescription[] =
650 "If enabled, the chrome://policy-tool URL loads a page for managing "
651 "policies.";
652
Weidong Guof1e5a892018-01-06 02:26:39653const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28654 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39655const char kDisableMultiMirroringDescription[] =
656 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28657
Brett Wilsonf27ff602017-07-07 22:28:47658const char kEnableNavigationTracingName[] = "Enable navigation tracing";
659const char kEnableNavigationTracingDescription[] =
660 "This is to be used in conjunction with the trace-upload-url flag. "
661 "WARNING: When enabled, Chrome will record performance data for every "
662 "navigation and upload it to the URL specified by the trace-upload-url "
663 "flag. The trace may include personally identifiable information (PII) "
664 "such as the titles and URLs of websites you visit.";
665
Bernhard Bauer5533f9912017-11-06 17:56:02666const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
667const char kEnableNetworkLoggingToFileDescription[] =
668 "Enables network logging to a file named netlog.json in the user data "
669 "directory. The file can be imported into chrome://net-internals.";
670
Brett Wilsonf27ff602017-07-07 22:28:47671const char kEnableNetworkServiceName[] = "Enable network service";
672const char kEnableNetworkServiceDescription[] =
673 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40674 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47675
John Abd-El-Malek8067cc02017-12-04 23:23:20676const char kEnableNetworkServiceInProcessName[] =
677 "Runs network service in-process";
678const char kEnableNetworkServiceInProcessDescription[] =
679 "Runs the network service in the browser process.";
680
dpapaded8349472017-10-25 03:21:27681const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
682const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37683 "If enabled, Print Preview will display a newer UI. This feature is "
684 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27685
Ahmed Fakhry2fd8fc82017-07-28 16:31:12686const char kEnableNightLightName[] = "Enable Night Light";
687const char kEnableNightLightDescription[] =
688 "Enable the Night Light feature which controls the color temperature of "
689 "the screen.";
690
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28691const char kEnableNotificationScrollBarName[] =
692 "Enable notification list scroll bar";
693const char kEnableNotificationScrollBarDescription[] =
694 "Enable the scroll bar of the notification list in Unified System Tray.";
695
Mitsuru Otsukae8304de2018-10-29 02:14:36696const char kEnableNotificationExpansionAnimationName[] =
697 "Enable notification expansion animations";
698const char kEnableNotificationExpansionAnimationDescription[] =
699 "Enable notification animations whenever the expansion state is toggled.";
700
xlou8b56f672018-02-09 23:34:30701const char kEnableNupPrintingName[] = "Enable N-up printing";
702const char kEnableNupPrintingDescription[] =
703 "Enable N-up printing in the print preview panel.";
704
Sophie Chang117a3b22017-10-24 22:25:36705const char kEnableOptimizationHintsName[] = "Optimization Hints";
706const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50707 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36708 "into decisions for what optimizations to perform on some pages on slow "
709 "networks.";
710
Yutaka Hirano98be3272017-08-07 17:55:39711const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
712const char kEnableOutOfBlinkCORSDescription[] =
713 "CORS handling logic is moved out of blink.";
714
Sammie Quon0fbf0782018-05-01 22:11:08715const char kEnableOverviewSwipeToCloseName[] =
716 "Enable overview swipe to close.";
717const char kEnableOverviewSwipeToCloseDescription[] =
718 "Enables closing of items in overview mode by dragging or flinging "
719 "vertically.";
720
kylechar7051c092018-02-05 20:31:39721const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
722const char kVizDisplayCompositorDescription[] =
723 "If enabled, the display compositor runs as part of the viz service in the"
724 "GPU process.";
725
Ria Jiang6a129b982018-03-01 18:30:40726const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
727const char kVizHitTestDrawQuadDescription[] =
728 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
729 "with hit-test data computed from the CompositorFrame.";
730
Erik Chen49bbfa22017-08-18 08:49:56731const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23732 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56733const char kEnableOutOfProcessHeapProfilingDescription[] =
734 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19735 "malloced objects. Heap dumps can be obtained at chrome://tracing "
736 "[category:memory-infra] and chrome://memory-internals. This setting "
737 "controls which processes are profiled. As long as this setting is not "
738 "disabled, users can start profiling any given process in "
739 "chrome://memory-internals.";
740const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
741const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
742const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
743const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
744const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10745const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19746 "None by default. Visit chrome://memory-internals to choose which "
747 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15748const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
749 "Profile a random sampling of renderer processes, ensuring only one is "
750 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19751
Erik Chen8bb76b52017-12-06 19:06:25752const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19753 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25754const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
755 "By default, small allocations are pruned from the heap dump. This reduces "
756 "the size of the compressed trace by 100x. If pruning is disabled, the "
757 "chrome://tracing UI may be unable to take or load the trace. Save the "
758 "trace directly using chrome://memory-internals, and use other mechanisms "
759 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
760 "automatically uploaded traces will always be pruned. This only affects "
761 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56762
erikchen8bc20d82018-02-14 03:21:51763const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
764const char kOutOfProcessHeapProfilingSamplingDescription[] =
765 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22766 "10000. This results in low noise for large and/or frequent allocations ["
767 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
768 "total size of malloc-ed objects] and large and/or frequent allocations "
769 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51770
Erik Chen3303fd0232018-01-11 20:29:05771const char kOOPHPStackModeName[] =
772 "The type of stack to record for memlog heap dumps";
773const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19774 "By default, memlog heap dumps record native stacks, which requires a "
775 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55776 "pointers to work on Android. Native with thread names will add the thread "
777 "name as the first frame of each native stack. It's also possible to "
778 "record a pseudo stack using trace events as identifiers. It's also "
779 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19780const char kOOPHPStackModeMixed[] = "Mixed";
781const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55782const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19783const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05784
François Beaufort2e75f492018-02-08 20:44:46785const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47786const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46787 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47788
F#m59d036e2017-09-13 07:22:17789const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
790const char kEnablePixelCanvasRecordingDescription[] =
791 "Pixel canvas recording allows the compositor to raster contents aligned "
792 "with the pixel and improves text rendering. This should be enabled when a "
793 "device is using fractional scale factor.";
794
Ella Gebee81c92018-08-14 15:51:09795const char kEnableResamplingInputEventsName[] =
796 "Enable resampling input events";
797const char kEnableResamplingInputEventsDescription[] =
798 "Predicts mouse and touch inputs position at rAF time based on previous "
799 "input";
800const char kEnableResamplingScrollEventsName[] =
801 "Enable resampling scroll events";
802const char kEnableResamplingScrollEventsDescription[] =
803 "Predicts the scroll amount at vsync time based on previous input";
804
Doug Arnettaa0bf202018-08-27 19:42:11805const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
806const char kEnableResourceLoadingHintsDescription[] =
807 "Enable using server-provided resource loading hints to provide a preview "
808 "over slow network connections.";
809
Lei Zhang0ca70ea2018-09-07 17:51:01810const char kEnableSyncUserConsentSeparateTypeName[] =
vitaliiid36191b2018-06-11 07:40:49811 "Enable separate sync type for consents";
Lei Zhang0ca70ea2018-09-07 17:51:01812const char kEnableSyncUserConsentSeparateTypeDescription[] =
vitaliiid36191b2018-06-11 07:40:49813 "Emit user consents as a separate sync type instead of user events.";
814
Mohamed Amir Yosef0178fa892018-07-23 17:43:52815const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
816const char kEnableSyncUSSBookmarksDescription[] =
817 "Enables the new, experimental implementation of bookmark sync";
818
Mikel Astiz38837f82018-04-24 22:23:23819const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
820const char kEnableSyncUSSSessionsDescription[] =
821 "Enables the new, experimental implementation of session sync (aka tab "
822 "sync).";
823
Brett Wilsonf27ff602017-07-07 22:28:47824const char kEnableUseZoomForDsfName[] =
825 "Use Blink's zoom for device scale factor.";
826const char kEnableUseZoomForDsfDescription[] =
827 "If enabled, Blink uses its zooming mechanism to scale content for device "
828 "scale factor.";
829const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
830const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
831const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
832
Patrick Noland8ee016e2018-01-24 11:44:53833const char kEnableScrollAnchorSerializationName[] =
834 "Scroll Anchor Serialization";
835const char kEnableScrollAnchorSerializationDescription[] =
836 "Save the scroll anchor and use it to restore the scroll position when "
837 "navigating.";
838
Brad Nelson5cd500e2018-01-04 00:50:19839const char kEnableSharedArrayBufferName[] =
840 "Experimental enabled SharedArrayBuffer support in JavaScript.";
841const char kEnableSharedArrayBufferDescription[] =
842 "Enable SharedArrayBuffer support in JavaScript.";
843
Brett Wilsonf27ff602017-07-07 22:28:47844const char kEnableWasmName[] = "WebAssembly structured cloning support.";
845const char kEnableWasmDescription[] =
846 "Enable web pages to use WebAssembly structured cloning.";
847
Kim Paulhamusae635a32018-06-27 07:30:54848const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
849const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47850 "Enable Web Authentication API support.";
851
Lei Zhang0ca70ea2018-09-07 17:51:01852const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47853 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01854const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47855 "Enable the cloud-assisted pairingless BLE protocol for use with "
856 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54857
Brett Wilsonf27ff602017-07-07 22:28:47858const char kEnableImageCaptureAPIName[] = "Image Capture API";
859const char kEnableImageCaptureAPIDescription[] =
860 "Enables the Web Platform Image Capture API: takePhoto(), "
861 "getPhotoCapabilities(), etc.";
862
Ramin Halavatic158b182018-10-18 14:04:54863const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
864const char kEnableIncognitoWindowCounterDescription[] =
865 "Shows the count of Incognito windows next to the Incognito icon on the "
866 "toolbar.";
867
Brett Wilsonf27ff602017-07-07 22:28:47868const char kEnableZeroSuggestRedirectToChromeName[] =
869 "Experimental contextual omnibox suggestion";
870const char kEnableZeroSuggestRedirectToChromeDescription[] =
871 "Change omnibox contextual suggestions to an experimental source. Note "
872 "that this is not an on/off switch for contextual omnibox and it only "
873 "applies to suggestions provided before the user starts typing a URL or a "
874 "search query (i.e. zero suggest).";
875
Clemens Hammacher0c8a15a2018-04-27 13:45:32876const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
877const char kEnableWasmBaselineDescription[] =
878 "Enables WebAssembly baseline compilation and tier up.";
879
Ben Smith24c1e5c2018-06-20 01:09:02880const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
881const char kEnableWasmThreadsDescription[] =
882 "Enables support for the WebAssembly Threads proposal. Implies "
883 "#shared-array-buffer and #enable-webassembly.";
884
Brett Wilsonf27ff602017-07-07 22:28:47885const char kExpensiveBackgroundTimerThrottlingName[] =
886 "Throttle expensive background timers";
887const char kExpensiveBackgroundTimerThrottlingDescription[] =
888 "Enables intervention to limit CPU usage of background timers to 1%.";
889
890const char kExperimentalAppBannersName[] = "Experimental app banners";
891const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38892 "Enables a new experimental app banner flow and UI. Implies "
893 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47894
895const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
896const char kExperimentalCanvasFeaturesDescription[] =
897 "Enables the use of experimental canvas features which are still in "
898 "development.";
899
Nicholas Verneccd8259802018-02-22 01:22:04900const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
901const char kExperimentalCrostiniUIDescription[] =
902 "Enables in-development Crostini features.";
903
Brett Wilsonf27ff602017-07-07 22:28:47904const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
905const char kExperimentalExtensionApisDescription[] =
906 "Enables experimental extension APIs. Note that the extension gallery "
907 "doesn't allow you to upload extensions that use experimental APIs.";
908
909const char kExperimentalFullscreenExitUIName[] =
910 "Experimental fullscreen exit UI";
911const char kExperimentalFullscreenExitUIDescription[] =
912 "Displays experimental UI to allow mouse and touch input methods to exit "
913 "fullscreen mode.";
914
Ian Clelland37a985d2018-05-04 02:43:13915const char kExperimentalProductivityFeaturesName[] =
916 "Experimental Productivity Features";
917const char kExperimentalProductivityFeaturesDescription[] =
918 "Enable support for experimental developer productivity features, such as "
919 "Layered APIs and policies for avoiding slow rendering.";
920
Brett Wilsonf27ff602017-07-07 22:28:47921const char kExperimentalSecurityFeaturesName[] =
922 "Potentially annoying security features";
923const char kExperimentalSecurityFeaturesDescription[] =
924 "Enables several security features that will likely break one or more "
925 "pages that you visit on a daily basis. Strict mixed content checking, for "
926 "example. And locking powerful features to secure contexts. This flag will "
927 "probably annoy you.";
928
929const char kExperimentalWebPlatformFeaturesName[] =
930 "Experimental Web Platform features";
931const char kExperimentalWebPlatformFeaturesDescription[] =
932 "Enables experimental Web Platform features that are in development.";
933
934const char kExtensionContentVerificationName[] =
935 "Extension Content Verification";
936const char kExtensionContentVerificationDescription[] =
937 "This flag can be used to turn on verification that the contents of the "
938 "files on disk for extensions from the webstore match what they're "
939 "expected to be. This can be used to turn on this feature if it would not "
940 "otherwise have been turned on, but cannot be used to turn it off (because "
941 "this setting can be tampered with by malware).";
942const char kExtensionContentVerificationBootstrap[] =
943 "Bootstrap (get expected hashes, but do not enforce them)";
944const char kExtensionContentVerificationEnforce[] =
945 "Enforce (try to get hashes, and enforce them if successful)";
946const char kExtensionContentVerificationEnforceStrict[] =
947 "Enforce strict (hard fail if we can't get hashes)";
948
949const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
950const char kExtensionsOnChromeUrlsDescription[] =
951 "Enables running extensions on chrome:// URLs, where extensions explicitly "
952 "request this permission.";
galinapae72e152017-05-12 13:12:28953
Brett Wilsonecb80982017-07-12 20:34:51954const char kFastUnloadName[] = "Fast tab/window close";
955const char kFastUnloadDescription[] =
956 "Enables fast tab/window closing - runs a tab's onunload js handler "
957 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34958
Brett Wilsonecb80982017-07-12 20:34:51959const char kFeaturePolicyName[] = "Feature Policy";
960const char kFeaturePolicyDescription[] =
961 "Enables granting and removing access to features through the "
962 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34963
Brett Wilsonecb80982017-07-12 20:34:51964const char kFontCacheScalingName[] = "FontCache scaling";
965const char kFontCacheScalingDescription[] =
966 "Reuse a cached font in the renderer to serve different sizes of font for "
967 "faster layout.";
968
969const char kForceEffectiveConnectionTypeName[] =
970 "Override effective connection type";
971const char kForceEffectiveConnectionTypeDescription[] =
972 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30973 "returned by the network quality estimator. Slow 2G on Cellular returns "
974 "Slow 2G when connected to a cellular network, and the actual estimate "
975 "effective connection type when not on a cellular network. Previews are "
976 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51977const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
978const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
979const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30980const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
981 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51982const char kEffectiveConnectionType2GDescription[] = "2G";
983const char kEffectiveConnectionType3GDescription[] = "3G";
984const char kEffectiveConnectionType4GDescription[] = "4G";
985
986const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
987const char kFillOnAccountSelectDescription[] =
988 "Filling of passwords when an account is explicitly selected by the user "
989 "rather than autofilling credentials on page load.";
990
Brett Wilsonecb80982017-07-12 20:34:51991const char kForceTextDirectionName[] = "Force text direction";
992const char kForceTextDirectionDescription[] =
993 "Explicitly force the per-character directionality of UI text to "
994 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
995 "direction of the character language.";
996const char kForceDirectionLtr[] = "Left-to-right";
997const char kForceDirectionRtl[] = "Right-to-left";
998
999const char kForceUiDirectionName[] = "Force UI direction";
1000const char kForceUiDirectionDescription[] =
1001 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1002 "mode, overriding the default direction of the UI language.";
1003
1004const char kFramebustingName[] =
1005 "Framebusting requires same-origin or a user gesture";
1006const char kFramebustingDescription[] =
1007 "Don't permit an iframe to navigate the top level browsing context unless "
1008 "they are same-origin or the iframe is processing a user gesture.";
1009
1010const char kGamepadExtensionsName[] = "Gamepad Extensions";
1011const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:221012 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:581013const char kGamepadVibrationName[] = "Gamepad Vibration";
1014const char kGamepadVibrationDescription[] =
1015 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511016
Brett Wilsonecb80982017-07-12 20:34:511017const char kGpuRasterizationMsaaSampleCountName[] =
1018 "GPU rasterization MSAA sample count.";
1019const char kGpuRasterizationMsaaSampleCountDescription[] =
1020 "Specify the number of MSAA samples for GPU rasterization.";
1021const char kGpuRasterizationMsaaSampleCountZero[] = "0";
1022const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
1023const char kGpuRasterizationMsaaSampleCountFour[] = "4";
1024const char kGpuRasterizationMsaaSampleCountEight[] = "8";
1025const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
1026
1027const char kGpuRasterizationName[] = "GPU rasterization";
1028const char kGpuRasterizationDescription[] =
1029 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281030const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511031
1032const char kGoogleProfileInfoName[] = "Google profile name and icon";
1033const char kGoogleProfileInfoDescription[] =
1034 "Enables using Google information to populate the profile name and icon in "
1035 "the avatar menu.";
1036
Takumi Fujimotofb71e332018-03-31 14:04:081037const char kViewsCastDialogName[] = "Views Cast dialog";
1038const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311039 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531040 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541041 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081042
Manu Cornet4a908de2018-04-09 04:32:271043const char kHideActiveAppsFromShelfName[] =
1044 "Hide running apps (that are not pinned) from the shelf";
1045const char kHideActiveAppsFromShelfDescription[] =
1046 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251047
Brett Wilsonecb80982017-07-12 20:34:511048const char kHistoryRequiresUserGestureName[] =
1049 "New history entries require a user gesture.";
1050const char kHistoryRequiresUserGestureDescription[] =
1051 "Require a user gesture to add a history entry.";
1052const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1053const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1054
Ryan Landay4242dbc22018-04-04 01:47:331055const char kHorizontalTabSwitcherAndroidName[] =
1056 "Enable horizontal tab switcher";
1057const char kHorizontalTabSwitcherAndroidDescription[] =
1058 "Changes the layout of the Android tab switcher so tabs scroll "
1059 "horizontally instead of vertically.";
1060
Brett Wilsonecb80982017-07-12 20:34:511061const char kHostedAppQuitNotificationName[] =
1062 "Quit notification for hosted apps";
1063const char kHostedAppQuitNotificationDescription[] =
1064 "Display a notification when quitting Chrome if hosted apps are currently "
1065 "running.";
1066
1067const char kHostedAppShimCreationName[] =
1068 "Creation of app shims for hosted apps on Mac";
1069const char kHostedAppShimCreationDescription[] =
1070 "Create app shims on Mac when creating a hosted app.";
1071
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481072const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1073const char kHtmlBasedUsernameDetectorDescription[] =
1074 "Use HTML-based username detector for the password manager.";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kIconNtpName[] = "Large icons on the New Tab page";
1077const char kIconNtpDescription[] =
1078 "Enable the experimental New Tab page using large icons.";
1079
1080const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1081const char kIgnoreGpuBlacklistDescription[] =
1082 "Overrides the built-in software rendering list and enables "
1083 "GPU-acceleration on unsupported system configurations.";
1084
Ryan Sturm8c3dbc92018-06-26 19:22:371085const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441086const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371087 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441088
Claudio Magni61c210922017-12-28 00:29:511089const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1090const char kImprovedLanguageSettingsDescription[] =
1091 "Set of changes for Language Settings. These changes are intended to fix "
1092 "the major bugs related to Language Settings.";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1095const char kInProductHelpDemoModeChoiceDescription[] =
1096 "Selects the In-Product Help demo mode.";
1097
1098const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1099const char kJavascriptHarmonyDescription[] =
1100 "Enable web pages to use experimental JavaScript features.";
1101
1102const char kJavascriptHarmonyShippingName[] =
1103 "Latest stable JavaScript features";
1104const char kJavascriptHarmonyShippingDescription[] =
1105 "Some web pages use legacy or non-standard JavaScript extensions that may "
1106 "conflict with the latest JavaScript features. This flag allows disabling "
1107 "support of those features for compatibility with such pages.";
1108
gogeraldfd7675d2018-06-19 22:57:351109const char kJustInTimeServiceWorkerPaymentAppName[] =
1110 "Just-in-time service worker payment app";
1111const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1112 "Allow crawling just-in-time service worker payment app when there is no "
1113 "installed service worker payment app for a payment request.";
1114
Yutaka Hiranof7f2f632017-09-06 10:40:081115const char kKeepAliveRendererForKeepaliveRequestsName[] =
1116 "Keep a renderer alive for keepalive fetch requests";
1117const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1118 "Keep a render process alive when the process has a pending fetch request "
1119 "with `keepalive' specified.";
1120
Joe Downing095fd6d2018-02-01 18:40:361121const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1122const char kKeyboardLockApiDescription[] =
1123 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1124 "specific key events and have them routed directly to the webpage when in "
1125 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kLcdTextName[] = "LCD text antialiasing";
1128const char kLcdTextDescription[] =
1129 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1130 "(subpixel) when doing accelerated compositing.";
1131
Matt Giucac399982f2017-10-06 07:51:291132const char kLeftToRightUrlsName[] =
1133 "Render bidirectional URLs from left to right";
1134const char kLeftToRightUrlsDescription[] =
1135 "An experimental Bidi URL rendering algorithm where the URL components are "
1136 "always shown in order from left to right, regardless of any RTL "
1137 "characters. (The contents of each component are still rendered with the "
1138 "normal Bidi algorithm.)";
1139
Brett Wilsonecb80982017-07-12 20:34:511140const char kLoadMediaRouterComponentExtensionName[] =
1141 "Load Media Router Component Extension";
1142const char kLoadMediaRouterComponentExtensionDescription[] =
1143 "Loads the Media Router component extension at startup.";
1144
Mustafa Emre Acer137dc8b2018-08-29 20:38:131145const char kLookalikeUrlNavigationSuggestionsName[] =
1146 "Navigation suggestions for lookalike URLs";
1147const char kLookalikeUrlNavigationSuggestionsDescription[] =
1148 "Enable navigation suggestions for URLs that are visually similar to "
1149 "popular domains or to domains with a site engagement score.";
1150
Brett Wilsonecb80982017-07-12 20:34:511151const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1152const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511153
Lei Zhang2eca9082017-10-17 20:42:501154const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1155const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511156 "If enabled, the Incognito New Tab page uses the new material design with "
1157 "a better readable text.";
1158
spqchanb87755692018-04-05 00:46:091159const char kMediaRouterCastAllowAllIPsName[] =
1160 "Connect to Cast devices on all IP addresses";
1161const char kMediaRouterCastAllowAllIPsDescription[] =
1162 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311163 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091164
Brett Wilsonecb80982017-07-12 20:34:511165const char kMemoryCoordinatorName[] = "Memory coordinator";
1166const char kMemoryCoordinatorDescription[] =
1167 "Enable memory coordinator instead of memory pressure listeners.";
1168
1169const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1170const char kMessageCenterNewStyleNotificationDescription[] =
1171 "Enables the experiment style of material-design notification";
1172
Brett Wilsonecb80982017-07-12 20:34:511173const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1174const char kMhtmlGeneratorOptionDescription[] =
1175 "Provides experimental options for MHTML file generator.";
1176const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1177const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1178
Brett Wilsonecb80982017-07-12 20:34:511179const char kNewAudioRenderingMixingStrategyName[] =
1180 "New audio rendering mixing strategy";
1181const char kNewAudioRenderingMixingStrategyDescription[] =
1182 "Use the new audio rendering mixing strategy.";
1183
1184const char kNewBookmarkAppsName[] = "The new bookmark app system";
1185const char kNewBookmarkAppsDescription[] =
1186 "Enables the new system for creating bookmark apps.";
1187
Vadym Doroshenkocd4ff782018-07-24 13:41:021188const char kNewPasswordFormParsingName[] =
1189 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241190const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021191 "Replaces existing form parsing for filling in password manager with a new "
1192 "version, currently under development. WARNING: when enabled, Password "
1193 "Manager might stop working";
1194
1195const char kNewPasswordFormParsingForSavingName[] =
1196 "New password form parsing for saving passwords";
1197const char kNewPasswordFormParsingForSavingDescription[] =
1198 "Replaces existing form parsing for saving in password manager with a new "
1199 "version, currently under development. WARNING: when enabled, Password "
1200 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241201
Brett Wilsonecb80982017-07-12 20:34:511202const char kNewRemotePlaybackPipelineName[] =
1203 "Enable the new remote playback pipeline.";
1204const char kNewRemotePlaybackPipelineDescription[] =
1205 "Enable the new pipeline for playing media element remotely via "
1206 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501207const char kUseSurfaceLayerForVideoName[] =
1208 "Enable the use of SurfaceLayer objects for videos.";
1209const char kUseSurfaceLayerForVideoDescription[] =
1210 "Enable compositing onto a Surface instead of a VideoLayer "
1211 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511212
1213const char kNewUsbBackendName[] = "Enable new USB backend";
1214const char kNewUsbBackendDescription[] =
1215 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341216
Sonny Sasaka2d200432018-03-22 17:43:161217const char kNewblueName[] = "Newblue";
1218const char kNewblueDescription[] =
1219 "Enables the use of newblue Bluetooth daemon.";
1220
Peter Kasting63097912018-06-30 02:09:031221const char kNewTabButtonPosition[] = "New tab button position";
1222const char kNewTabButtonPositionDescription[] =
1223 "Controls placement of the new tab button within the tabstrip.";
1224const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1225const char kNewTabButtonPositionLeading[] = "Leading";
1226const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1227const char kNewTabButtonPositionTrailing[] = "Trailing";
1228
Egor Pasko6fed3822018-05-30 10:33:141229const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341230const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141231 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341232
Alex Newcomerd7b0cc42018-05-25 22:58:481233const char kNotificationIndicatorName[] = "Notification Indicators";
1234const char kNotificationIndicatorDescription[] =
1235 "Enable notification indicators, which appear on app icons when a "
1236 "notification is active. This will also enable notifications in context "
1237 "menus.";
1238
Brett Wilsonecb80982017-07-12 20:34:511239const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1240const char kNotificationsNativeFlagDescription[] =
1241 "Enable support for using the native notification toasts and notification "
1242 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341243
Valeriya Sinevich972ac122018-09-05 07:33:191244const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1245const char kUseMultiloginEndpointDescription[] =
1246 "Use Gaia OAuth multilogin for identity consistency.";
1247
Zentaro Kavanaghbad511c2017-10-18 22:29:001248#if defined(OS_POSIX)
1249const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1250const char kNtlmV2EnabledDescription[] =
1251 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1252#endif
1253
Ramya Nagarajane9f16b82018-05-03 01:05:341254const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1255const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301256 "Allow selection of a custom background image on the New Tab Page. "
1257 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341258
kristipark037abce12018-07-13 19:49:301259const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1260const char kNtpCustomLinksDescription[] =
1261 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1262 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1263
1264const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341265const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301266 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1267 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341268
Kyle Milkad1420ce2018-10-05 18:33:411269const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1270const char kNtpUIMdDescription[] =
1271 "Updates the New Tab Page with Material Design elements.";
1272
Brett Wilsonecb80982017-07-12 20:34:511273const char kNumRasterThreadsName[] = "Number of raster threads";
1274const char kNumRasterThreadsDescription[] =
1275 "Specify the number of raster threads.";
1276const char kNumRasterThreadsOne[] = "1";
1277const char kNumRasterThreadsTwo[] = "2";
1278const char kNumRasterThreadsThree[] = "3";
1279const char kNumRasterThreadsFour[] = "4";
1280
1281const char kOfferStoreUnmaskedWalletCardsName[] =
1282 "Google Payments card saving checkbox";
1283const char kOfferStoreUnmaskedWalletCardsDescription[] =
1284 "Show the checkbox to offer local saving of a credit card downloaded from "
1285 "the server.";
1286
1287const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1288const char kOfflineAutoReloadDescription[] =
1289 "Pages that fail to load while the browser is offline will be "
1290 "auto-reloaded when the browser is online again.";
1291
1292const char kOfflineAutoReloadVisibleOnlyName[] =
1293 "Only Auto-Reload Visible Tabs";
1294const char kOfflineAutoReloadVisibleOnlyDescription[] =
1295 "Pages that fail to load while the browser is offline will only be "
1296 "auto-reloaded if their tab is visible.";
1297
Brett Wilsonecb80982017-07-12 20:34:511298const char kOmniboxDisplayTitleForCurrentUrlName[] =
1299 "Include title for the current URL in the omnibox";
1300const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1301 "In the event that the omnibox provides suggestions on-focus, the URL of "
1302 "the current page is provided as the first suggestion without a title. "
1303 "Enabling this flag causes the title to be displayed.";
1304
Benoit Lizeab08362c2017-07-19 14:50:541305const char kOmniboxSpareRendererName[] =
1306 "Start spare renderer on omnibox focus";
1307const char kOmniboxSpareRendererDescription[] =
1308 "When the omnibox is focused, start an empty spare renderer. This can "
1309 "speed up the load of the navigation from the omnibox.";
1310
Tommy C. Li8875a442017-08-23 00:10:591311const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1312 "Omnibox UI Elide Suggestion URL After Host";
1313const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1314 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1315 "dropdown.";
1316
Tommy C. Lie4194b732018-09-28 22:21:511317const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1318 "Omnibox UI Hide Steady-State URL Scheme";
1319const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1320 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361321 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511322
1323const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1324 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1325const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1326 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361327 "Hidden portions are restored during editing.";
1328
1329const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1330 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1331const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1332 "In the omnibox, hide the path, query and ref from steady state displayed "
1333 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121334
Tommy C. Licc5e53022018-07-27 16:30:351335const char kOmniboxUIJogTextfieldOnPopupName[] =
1336 "Omnibox UI Jog Textfield on Popup";
1337const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1338 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1339 "text when the popup is opened. When this feature is disabled, the "
1340 "textfield is always aligned with the suggestions text, and a separator "
1341 "fills the gap. If Material Refresh is disabled, this has no effect.";
1342
Brett Wilsonecb80982017-07-12 20:34:511343const char kOmniboxUIMaxAutocompleteMatchesName[] =
1344 "Omnibox UI Max Autocomplete Matches";
1345
1346const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1347 "Changes the maximum number of autocomplete matches displayed in the "
1348 "Omnibox UI.";
1349
Justin Donnelly65c9e8b2017-10-01 05:15:011350const char kOmniboxUIShowSuggestionFaviconsName[] =
1351 "Omnibox UI Show Suggestion Favicons";
1352const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1353 "Shows favicons instead of generic vector icons for URL suggestions in the "
1354 "Omnibox dropdown.";
1355
1356const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1357const char kOmniboxUISwapTitleAndUrlDescription[] =
1358 "In the omnibox dropdown, shows titles before URLs when both are "
1359 "available.";
1360
Troy Hildebrandtb32637ca2018-02-21 23:25:091361const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1362 "Omnibox Voice Search Always Visible";
1363const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1364 "Always displays voice search icon in focused omnibox as long as voice "
1365 "search is possible";
1366
Adrienne Walkerc87477e2018-06-06 22:28:211367const char kOopRasterizationName[] = "Out of process rasterization";
1368const char kOopRasterizationDescription[] =
1369 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1370 "Must also enable GPU rasterization";
1371
Brett Wilsonecb80982017-07-12 20:34:511372const char kOriginTrialsName[] = "Origin Trials";
1373const char kOriginTrialsDescription[] =
1374 "Enables origin trials for controlling access to feature/API experiments.";
1375
Becca Hughes930d8cd2017-10-02 11:09:121376const char kOverflowIconsForMediaControlsName[] =
1377 "Icons on Media Controls Overflow Menu";
1378const char kOverflowIconsForMediaControlsDescription[] =
1379 "Displays icons on the overflow menu of the native media controls";
1380
Brett Wilsonecb80982017-07-12 20:34:511381const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1382const char kOverlayScrollbarsDescription[] =
1383 "Enable the experimental overlay scrollbars implementation. You must also "
1384 "enable threaded compositing to have the scrollbars animate.";
1385
chaopenge8aa016b2017-08-24 15:20:191386const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1387 "Flash Overlay Scrollbars After Any Scroll Update";
1388const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1389 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1390 " must also enable Overlay Scrollbars.";
1391
chaopeng343678022017-08-24 18:45:001392const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1393 "Flash Overlay Scrollbars When Mouse Enter";
1394const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1395 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1396 " enable Overlay Scrollbars.";
1397
Daniele Castagna74ddb9c2018-06-21 22:59:021398const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1399const char kOverlayStrategiesDescription[] =
1400 "Select strategies used to promote quads to HW overlays.";
1401const char kOverlayStrategiesDefault[] = "Default";
1402const char kOverlayStrategiesNone[] = "None";
1403const char kOverlayStrategiesUnoccludedFullscreen[] =
1404 "Unoccluded fullscreen buffers (single-fullscreen)";
1405const char kOverlayStrategiesUnoccluded[] =
1406 "Unoccluded buffers (single-fullscreen,single-on-top)";
1407const char kOverlayStrategiesOccludedAndUnoccluded[] =
1408 "Occluded and unoccluded buffers "
1409 "(single-fullscreen,single-on-top,underlay)";
1410
Claudio Magni81326f92017-09-01 05:21:181411const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1412const char kUseNewAcceptLanguageHeaderDescription[] =
1413 "Adds the base language code after other corresponding language+region "
1414 "codes. This ensures that users receive content in their preferred "
1415 "language.";
1416
Brett Wilsonecb80982017-07-12 20:34:511417const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1418const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481419 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511420
1421const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1422const char kOverscrollStartThresholdDescription[] =
1423 "Changes overscroll start threshold relative to the default value.";
1424const char kOverscrollStartThreshold133Percent[] = "133%";
1425const char kOverscrollStartThreshold166Percent[] = "166%";
1426const char kOverscrollStartThreshold200Percent[] = "200%";
1427
chaopenge2b6e5f2018-05-08 16:40:451428const char kTouchpadOverscrollHistoryNavigationName[] =
1429 "Overscroll history navigation on Touchpad";
1430const char kTouchpadOverscrollHistoryNavigationDescription[] =
1431 "Allows swipe left/right from touchpad change browser navigation.";
1432
Xing Liu5400a002017-09-15 21:48:291433const char kParallelDownloadingName[] = "Parallel downloading";
1434const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061435 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291436
Brett Wilsonecb80982017-07-12 20:34:511437const char kPassiveEventListenerDefaultName[] =
1438 "Passive Event Listener Override";
1439const char kPassiveEventListenerDefaultDescription[] =
1440 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1441 "haven't requested otherwise) to be treated as passive. This will break "
1442 "touch/wheel behavior on some websites but is useful for demonstrating the "
1443 "potential performance benefits of adopting passive event listeners.";
1444const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1445const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1446
1447const char kPassiveEventListenersDueToFlingName[] =
1448 "Touch Event Listeners Passive Default During Fling";
1449const char kPassiveEventListenersDueToFlingDescription[] =
1450 "Forces touchstart, and first touchmove per scroll event listeners during "
1451 "fling to be treated as passive.";
1452
1453const char kPassiveDocumentEventListenersName[] =
1454 "Document Level Event Listeners Passive Default";
1455const char kPassiveDocumentEventListenersDescription[] =
1456 "Forces touchstart, and touchmove event listeners on document level "
1457 "targets (which haven't requested otherwise) to be treated as passive.";
1458
Sahel Sharify7400e882018-08-13 17:13:211459const char kPassiveDocumentWheelEventListenersName[] =
1460 "Document Level Wheel Event Listeners Passive Default";
1461const char kPassiveDocumentWheelEventListenersDescription[] =
1462 "Forces wheel, and mousewheel event listeners on document level targets "
1463 "(which haven't requested otherwise) to be treated as passive.";
1464
Vaclav Brozekd8a3f542017-11-16 14:21:131465const char kPasswordImportName[] = "Password import";
1466const char kPasswordImportDescription[] =
1467 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511468
Friedrich Horschig03c91982018-01-25 14:21:281469const char kPasswordSearchMobileName[] = "Password search";
1470const char kPasswordSearchMobileDescription[] =
1471 "Search functionality in password settings.";
1472
Friedrich Horschige6c27742018-04-23 17:13:411473const char kPasswordsKeyboardAccessoryName[] =
1474 "Add password-related functions to keyboard accessory";
1475const char kPasswordsKeyboardAccessoryDescription[] =
1476 "Adds password generation button and toggle for the passwords bottom sheet "
1477 "to the keyboard accessory. Replaces password generation popups.";
1478
Christos Froussios6e060c42018-07-31 16:17:191479const char kPasswordsMigrateLinuxToLoginDBName[] =
1480 "Migrate passwords to \"Login Data\"";
1481const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591482 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191483 "gnome-keyring or kwallet into the profile directory.";
1484
Tom Sepez92a2cd242018-03-13 19:23:091485const char kPdfIsolationName[] = "PDF Isolation";
1486const char kPdfIsolationDescription[] =
1487 "Render PDF files from different origins in different plugin processes.";
1488
Rouslan Solomakhinded840112018-11-02 13:27:101489const char kPerMethodCanMakePaymentQuotaName[] =
1490 "Per-method canMakePayment() quota.";
1491const char kPerMethodCanMakePaymentQuotaDescription[] =
1492 "Allow calling canMakePayment() for different payment methods, as long as "
1493 "method-specific parameters remain unchanged.";
1494
Brett Wilsonecb80982017-07-12 20:34:511495const char kPinchScaleName[] = "Pinch scale";
1496const char kPinchScaleDescription[] =
1497 "Enables experimental support for scale using pinch.";
1498
Doug Arnett620ff542018-02-06 17:54:221499const char kPreviewsAllowedName[] = "Previews Allowed";
1500const char kPreviewsAllowedDescription[] =
1501 "Allows previews to be shown subject to specific preview types being "
1502 "enabled and the client experiencing specific triggering conditions. "
1503 "May be used as a kill-switch to turn off all potential preview types.";
1504
Brett Wilsonecb80982017-07-12 20:34:511505const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1506const char kPrintPdfAsImageDescription[] =
1507 "If enabled, an option to print PDF files as images will be available in "
1508 "print preview.";
1509
1510const char kPrintPreviewRegisterPromosName[] =
1511 "Print Preview Registration Promos";
1512const char kPrintPreviewRegisterPromosDescription[] =
1513 "Enable registering unregistered cloud printers from print preview.";
1514
1515const char kProtectSyncCredentialName[] = "Autofill sync credential";
1516const char kProtectSyncCredentialDescription[] =
1517 "How the password manager handles autofill for the sync credential.";
1518
1519const char kProtectSyncCredentialOnReauthName[] =
1520 "Autofill sync credential only for transactional reauth pages";
1521const char kProtectSyncCredentialOnReauthDescription[] =
1522 "How the password manager handles autofill for the sync credential only "
1523 "for transactional reauth pages.";
1524
Mohsen Izadi93faac12017-07-29 04:45:151525const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1526const char kPullToRefreshDescription[] =
1527 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011528const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151529
Troy Hildebrandt7228ad12018-02-23 21:18:241530const char kQueryInOmniboxName[] = "Query in Omnibox";
1531const char kQueryInOmniboxDescription[] =
1532 "Only display query terms in the omnibox when viewing a search results "
1533 "page.";
1534
Brett Wilsonecb80982017-07-12 20:34:511535const char kQuicName[] = "Experimental QUIC protocol";
1536const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1537
Emily Starke8878d52018-05-11 21:27:261538const char kRecurrentInterstitialName[] =
1539 "Show a message when the same SSL error recurs";
1540const char kRecurrentInterstitialDescription[] =
1541 "Enable a special message on the SSL certificate error page when the same "
1542 "SSL error occurs repeatedly.";
1543
Brett Wilsonecb80982017-07-12 20:34:511544const char kReducedReferrerGranularityName[] =
1545 "Reduce default 'referer' header granularity.";
1546const char kReducedReferrerGranularityDescription[] =
1547 "If a page hasn't set an explicit referrer policy, setting this flag will "
1548 "reduce the amount of information in the 'referer' header for cross-origin "
1549 "requests.";
1550
Lei Zhang0ca70ea2018-09-07 17:51:011551const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581552 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011553const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581554 "This flag allows regional locales to be selected as display UI by the "
1555 "user in Language Settings. The actual locale of the system is derived "
1556 "from the user selection based on some simple fallback logic.";
1557
Christian Dullweber1af31e62018-02-22 11:49:481558const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141559 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481560const char kRemoveNavigationHistoryDescription[] =
1561 "Remove a navigation entry when the corresponding history entry has been "
1562 "deleted.";
1563
Christian Dullweber3cc579a22018-09-11 10:54:441564const char kRewriteLevelDBOnDeletionName[] =
1565 "Rewrite LevelDB instances after full deletions";
1566const char kRewriteLevelDBOnDeletionDescription[] =
1567 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1568
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351569const char kRendererSideResourceSchedulerName[] =
1570 "Renderer side ResourceScheduler";
1571const char kRendererSideResourceSchedulerDescription[] =
1572 "Migrate some ResourceScheduler functionalities to renderer";
1573
Brett Wilsonecb80982017-07-12 20:34:511574const char kRequestTabletSiteName[] =
1575 "Request tablet site option in the settings menu";
1576const char kRequestTabletSiteDescription[] =
1577 "Allows the user to request tablet site. Web content is often optimized "
1578 "for tablet devices. When this option is selected the user agent string is "
1579 "changed to indicate a tablet device. Web content optimized for tablets is "
1580 "received there after for the current tab.";
1581
1582const char kResetAppListInstallStateName[] =
1583 "Reset the App Launcher install state on every restart.";
1584const char kResetAppListInstallStateDescription[] =
1585 "Reset the App Launcher install state on every restart. While this flag is "
1586 "set, Chrome will forget the launcher has been installed each time it "
1587 "starts. This is used for testing the App Launcher install flow.";
1588
Kinuko Yasuda33955082018-06-19 10:14:591589const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511590const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591591 "Uses the resource load scheduler in blink to throttle resource load "
1592 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511593
Brett Wilsonecb80982017-07-12 20:34:511594const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1595const char kSafeSearchUrlReportingDescription[] =
1596 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1597
Alexei Filippov98772752018-01-27 08:26:521598const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1599const char kSamplingHeapProfilerDescription[] =
1600 "Enables native memory sampling profiler with specified rate in KiB. "
1601 "If sampling rate is not provided the default value of 128 KiB is used.";
1602
Brett Wilsonecb80982017-07-12 20:34:511603const char kSaveasMenuLabelExperimentName[] =
1604 "Switch 'Save as' menu labels to 'Download'";
1605const char kSaveasMenuLabelExperimentDescription[] =
1606 "Enables an experiment to switch menu labels that use 'Save as...' to "
1607 "'Download'.";
1608
1609const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1610const char kSavePageAsMhtmlDescription[] =
1611 "Enables saving pages as MHTML: a single text file containing HTML and all "
1612 "sub-resources.";
1613
Nate Chapin9638e7102017-09-20 22:11:011614const char kSavePreviousDocumentResourcesName[] =
1615 "Save Previous Document Resources";
1616const char kSavePreviousDocumentResourcesDescription[] =
1617 "Saves an old document's cached resources until the specified point in the "
1618 "next document's lifecycle.";
1619const char kSavePreviousDocumentResourcesNever[] =
1620 "Don't explicitly save resources";
1621const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1622 "Save resources until onDOMContentLoaded completes";
1623const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1624 "Save resources until onload completes";
1625
Jeffrey Cohene49cc59c2018-10-23 16:27:281626const char kSendTabToSelfName[] = "Send tab to self";
1627const char kSendTabToSelfDescription[] =
1628 "Allows users to push tabs from Android devices to other synced "
1629 "devices, in order to easily transition those tabs to the new device ";
1630
gogeraldd5061b592017-09-06 23:39:551631const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1632const char kServiceWorkerPaymentAppsDescription[] =
1633 "Enable Service Worker applications to integrate as payment apps";
1634
momohattfc352292018-08-29 05:12:361635const char kServiceWorkerImportedScriptUpdateCheckName[] =
1636 "Enable update check for service worker importScripts() resources";
1637const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1638 "Extend byte-for-byte update check for scripts that are imported by the "
1639 "service worker script via importScripts().";
1640
Lei Zhang0ca70ea2018-09-07 17:51:011641const char kServiceWorkerServicificationName[] = "Servicified service workers";
1642const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441643 "Enable the servicified service workers. A servicified service worker can "
1644 "have direct connection from its clients, so that fetch events can be "
1645 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171646
Azeem Arshad3b1ef73122018-08-30 02:04:151647const char kServiceWorkerLongRunningMessageName[] =
1648 "Service worker long running message dispatch.";
1649const char kServiceWorkerLongRunningMessageDescription[] =
1650 "Enables long running message dispatch method for service workers. "
1651 "Messages sent with this method do not timeout, allowing the service "
1652 "worker to run indefinitely.";
1653
Brett Wilsonecb80982017-07-12 20:34:511654const char kSettingsWindowName[] = "Show settings in a window";
1655const char kSettingsWindowDescription[] =
1656 "Settings will be shown in a dedicated window instead of as a browser tab.";
1657
Manu Cornetd7ef7c52018-05-01 22:08:231658const char kShelfHoverPreviewsName[] =
1659 "Show previews of running apps when hovering over the shelf.";
1660const char kShelfHoverPreviewsDescription[] =
1661 "Shows previews of the open windows for a given running app when hovering "
1662 "over the shelf.";
1663
Naoki Fukino008a0022018-05-23 18:33:001664const char kShowAndroidFilesInFilesAppName[] =
1665 "Show Android files in Files app";
1666const char kShowAndroidFilesInFilesAppDescription[] =
1667 "Show Android files in Files app if Android is enabled on the device.";
1668
Brett Wilsonecb80982017-07-12 20:34:511669const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1670const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381671 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1672 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511673
1674const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1675const char kShowAutofillTypePredictionsDescription[] =
1676 "Annotates web forms with Autofill field type predictions as placeholder "
1677 "text.";
1678
1679const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1680const char kShowOverdrawFeedbackDescription[] =
1681 "Visualize overdraw by color-coding elements based on if they have other "
1682 "elements drawn underneath.";
1683
Carlos IL89128732018-04-03 17:00:251684const char kSupervisedUserCommittedInterstitialsName[] =
1685 "Enable Supervised User Committed Interstitials";
1686const char kSupervisedUserCommittedInterstitialsDescription[] =
1687 "Use committed error pages instead of transient navigation entries for "
1688 "supervised user interstitials";
1689
yiyixbdfa9a0b2017-10-23 22:21:471690const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1691const char kEnableDrawOcclusionDescription[] =
1692 "Enable the system to use draw occlusion to skip draw quads when they are "
1693 "not shown on the screen.";
1694
Brett Wilsonecb80982017-07-12 20:34:511695const char kShowSavedCopyName[] = "Show Saved Copy Button";
1696const char kShowSavedCopyDescription[] =
1697 "When a page fails to load, if a stale copy of the page exists in the "
1698 "browser cache, a button will be presented to allow the user to load that "
1699 "stale copy. The primary enabling choice puts the button in the most "
1700 "salient position on the error page; the secondary enabling choice puts it "
1701 "secondary to the reload button.";
1702const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1703const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1704const char kDisableShowSavedCopy[] = "Disable";
1705
Brett Wilsonecb80982017-07-12 20:34:511706const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1707const char kSilentDebuggerExtensionApiDescription[] =
1708 "Do not show the infobar when an extension attaches to a page via "
1709 "chrome.debugger API. This is required to debug extension background "
1710 "pages.";
1711
Tsuyoshi Horo53895ba92018-03-14 04:06:481712const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1713const char kSignedHTTPExchangeDescription[] =
1714 "Enables Origin-Signed HTTP Exchanges support which is still in "
1715 "development. Warning: Enabling this may pose a security risk.";
1716
Brett Wilsonecb80982017-07-12 20:34:511717const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1718const char kSimpleCacheBackendDescription[] =
1719 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1720 "disk space allocation.";
1721
Christopher Thompson75ff845d2018-02-01 20:12:461722const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1723const char kSimplifyHttpsIndicatorDescription[] =
1724 "Change the UI treatment for HTTPS pages.";
1725
Brett Wilsonecb80982017-07-12 20:34:511726const char kSingleClickAutofillName[] = "Single-click autofill";
1727const char kSingleClickAutofillDescription[] =
1728 "Make autofill suggestions on initial mouse click on a form element.";
1729
Bret Sepulveda4f891da2018-07-16 19:10:301730const char kSingleTabMode[] = "Single-tab mode";
1731const char kSingleTabModeDescription[] =
1732 "Windows with a single tab receive a special, minimal visual treatment.";
1733
Lukasz Anforowicz42840422018-11-05 21:49:221734#if defined(OS_ANDROID)
Nick Carter855bc492018-03-10 00:44:571735const char kStrictSiteIsolationName[] = "Strict site isolation";
1736const char kStrictSiteIsolationDescription[] =
Charlie Reisf44fe292018-08-31 18:38:471737 "Security mode that enables site isolation for all sites (SitePerProcess). "
1738 "In this mode, each renderer process will contain pages from at most one "
Lukasz Anforowicz42840422018-11-05 21:49:221739 "site, using out-of-process iframes when needed. "
1740 "Check chrome://process-internals to see the current isolation mode. "
Charlie Reisf44fe292018-08-31 18:38:471741 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
1742 "default. Here, 'Disabled' is a legacy value that actually means "
1743 "'Default,' in which case site isolation may be already enabled based on "
1744 "platform, enterprise policy, or field trial. See also "
Charlie Reis30e39032018-09-04 18:58:181745 "#site-isolation-trial-opt-out for how to disable site isolation for "
Charlie Reisf44fe292018-08-31 18:38:471746 "testing.";
Lukasz Anforowicz42840422018-11-05 21:49:221747#endif
Nick Carter855bc492018-03-10 00:44:571748
Lukasz Anforowicz738a88d2018-11-05 19:19:341749const char kSiteIsolationOptOutName[] = "Disable site isolation";
1750const char kSiteIsolationOptOutDescription[] =
1751 "Disables site isolation "
Nick Carter855bc492018-03-10 00:44:571752 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1753 "may be due to out-of-process iframes. Opt-out has no effect if site "
Lukasz Anforowicz42840422018-11-05 21:49:221754 "isolation is force-enabled using a command line switch or using an "
1755 "enterprise policy. "
1756 "Caution: this disables important mitigations for the Spectre CPU "
Nick Carter855bc492018-03-10 00:44:571757 "vulnerability affecting most computers.";
Lukasz Anforowicz738a88d2018-11-05 19:19:341758const char kSiteIsolationOptOutChoiceDefault[] = "Default";
1759const char kSiteIsolationOptOutChoiceOptOut[] = "Disabled (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511760
Pattideade7972018-04-27 02:59:401761const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511762const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401763 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511764
Brett Wilsonecb80982017-07-12 20:34:511765const char kSmoothScrollingName[] = "Smooth Scrolling";
1766const char kSmoothScrollingDescription[] =
1767 "Animate smoothly when scrolling page content.";
1768
1769const char kSoftwareRasterizerName[] = "3D software rasterizer";
1770const char kSoftwareRasterizerDescription[] =
1771 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1772
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201773const char kSoleIntegrationName[] = "Sole integration";
1774const char kSoleIntegrationDescription[] =
1775 "Enable Sole integration for browser customization. You must restart "
1776 "the browser twice for changes to take effect.";
1777
Tommy Steimel77704be2017-08-28 22:14:401778const char kSoundContentSettingName[] = "Sound content setting";
1779const char kSoundContentSettingDescription[] =
1780 "Enable site-wide muting in content settings and tab strip context menu.";
1781
Justin Donnelly4e448cb2017-07-07 21:32:131782const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1783 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131784const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1785 "If enabled, when the user enters text in the omnibox that looks like a "
1786 "a query, any service worker associated with the search engine the query "
1787 "will be sent to is started early.";
1788
Brett Wilsonecb80982017-07-12 20:34:511789const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1790const char kSpellingFeedbackFieldTrialDescription[] =
1791 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401792
Carlos ILe5fa0a12018-08-03 16:08:321793const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1794const char kSSLCommittedInterstitialsDescription[] =
1795 "Use committed error pages instead of transient navigation entries "
1796 "for SSL interstitial error pages (i.e. certificate errors).";
1797
Shubhie Panickerfaf082ed2018-01-03 04:49:151798const char kStopInBackgroundName[] = "Stop in background";
1799const char kStopInBackgroundDescription[] =
1800 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281801 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151802
Shubhie Panicker56c99a22018-03-21 00:22:281803const char kStopNonTimersInBackgroundName[] =
1804 "Stop non-timer task queues background";
1805const char kStopNonTimersInBackgroundDescription[] =
1806 "Stop non-timer task queues, in the background, "
1807 "after a grace period.";
1808
Brett Wilsonecb80982017-07-12 20:34:511809const char kSuggestionsWithSubStringMatchName[] =
1810 "Substring matching for Autofill suggestions";
1811const char kSuggestionsWithSubStringMatchDescription[] =
1812 "Match Autofill suggestions based on substrings (token prefixes) rather "
1813 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341814
Marc Treibf65fb002018-08-03 11:17:161815const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1816const char kSyncStandaloneTransportDescription[] =
1817 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1818 "this mode, the Sync machinery can start without user opt-in, but only a "
1819 "subset of data types are supported.";
1820
Marc Treib4bd95e72018-08-30 06:30:581821const char kSyncSupportSecondaryAccountName[] =
1822 "Support secondary accounts for Sync standalone transport";
1823const char kSyncSupportSecondaryAccountDescription[] =
1824 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1825 "a signed-in account that has not been chosen as Chrome's primary account. "
1826 "This only has an effect if sync-standalone-transport is also enabled.";
1827
Jan Krcal2ff23f7c2018-09-04 16:16:131828const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1829const char kSyncUSSAutofillProfileDescription[] =
1830 "Enables the new implementation of autofill profile sync";
1831
Jan Krcale3641b92018-08-10 17:53:311832const char kSyncUSSAutofillWalletDataName[] =
1833 "Enable USS for autofill wallet data";
1834const char kSyncUSSAutofillWalletDataDescription[] =
1835 "Enables the new implementation of autofill walet data sync";
1836
Brett Wilsonecb80982017-07-12 20:34:511837const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1838const char kSyncSandboxDescription[] =
1839 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341840
Joe Downing8cbbc192018-05-14 17:37:071841const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1842const char kSystemKeyboardLockDescription[] =
1843 "Enables websites to use the keyboard.lock() API to intercept system "
1844 "keyboard shortcuts and have the events routed directly to the website "
1845 "when in fullscreen mode.";
1846
Christian Dullweberd0d96f02017-09-13 09:22:511847const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1848const char kTabsInCbdDescription[] =
1849 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1850
Becky Zhou99c22802017-10-19 05:09:271851const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1852const char kTabModalJsDialogDescription[] =
1853 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1854 " tab.";
1855
Brett Wilsonecb80982017-07-12 20:34:511856const char kTcpFastOpenName[] = "TCP Fast Open";
1857const char kTcpFastOpenDescription[] =
1858 "Enable the option to send extra authentication information in the initial "
1859 "SYN packet for a previously connected client, allowing faster data send "
1860 "start.";
vabr0215a8e2017-03-28 12:47:341861
Daniele Castagna0fead93e2018-01-10 20:40:291862const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1863const char kTintGlCompositedContentDescription[] =
1864 "Tint contents composited using GL with a shade of red to help debug and "
1865 "study overlay support.";
1866
Peter Kastingd77428352018-10-26 15:20:251867const char kTopChromeTouchUiName[] = "Touch UI Layout";
1868const char kTopChromeTouchUiDescription[] =
1869 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341870
Brett Wilsonecb80982017-07-12 20:34:511871const char kThreadedScrollingName[] = "Threaded scrolling";
1872const char kThreadedScrollingDescription[] =
1873 "Threaded handling of scroll-related input events. Disabling this will "
1874 "force all such scroll events to be handled on the main thread. Note that "
1875 "this can dramatically hurt scrolling performance of most websites and is "
1876 "intended for testing purposes only.";
1877
Steven Valdez4584b2482017-07-14 01:11:571878const char kTLS13VariantName[] = "TLS 1.3";
1879const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1880const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111881const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041882const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdezf27cb7f2018-08-21 18:34:331883const char kTLS13VariantFinal[] = "Enabled (Final)";
Steven Valdez4584b2482017-07-14 01:11:571884
Dominick Ng8896b1cd2017-10-17 23:24:361885const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1886const char kTopSitesFromSiteEngagementDescription[] =
1887 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1888 "engagement.";
1889
Brett Wilsonecb80982017-07-12 20:34:511890const char kTouchAdjustmentName[] = "Touch adjustment";
1891const char kTouchAdjustmentDescription[] =
1892 "Refine the position of a touch gesture in order to compensate for touches "
1893 "having poor resolution compared to a mouse.";
1894
Alex Newcomerb3d3c972018-05-03 14:59:401895const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1896const char kTouchableAppContextMenuDescription[] =
1897 "Enable the touchable app context menu, which enlarges app context menus "
1898 "in the Launcher and Shelf to make room for new features.";
1899
Brett Wilsonecb80982017-07-12 20:34:511900const char kTouchDragDropName[] = "Touch initiated drag and drop";
1901const char kTouchDragDropDescription[] =
1902 "Touch drag and drop can be initiated through long press on a draggable "
1903 "element.";
1904
1905const char kTouchEventsName[] = "Touch Events API";
1906const char kTouchEventsDescription[] =
1907 "Force Touch Events API feature detection to always be enabled or "
1908 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291909 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511910
1911const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1912const char kTouchSelectionStrategyDescription[] =
1913 "Controls how text selection granularity changes when touch text selection "
1914 "handles are dragged. Non-default behavior is experimental.";
1915const char kTouchSelectionStrategyCharacter[] = "Character";
1916const char kTouchSelectionStrategyDirection[] = "Direction";
1917
1918const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1919const char kTraceUploadUrlDescription[] =
1920 "This is to be used in conjunction with the enable-navigation-tracing "
1921 "flag. Please select the label that best describes the recorded traces. "
1922 "This will choose the destination the traces are uploaded to. If you are "
1923 "not sure, select other. If left empty, no traces will be uploaded.";
1924const char kTraceUploadUrlChoiceOther[] = "Other";
1925const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1926const char kTraceUploadUrlChoiceQa[] = "QA";
1927const char kTraceUploadUrlChoiceTesting[] = "Testing";
1928
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561929const char kTranslateExplicitLanguageAskName[] =
1930 "Explicitly ask for language preferences";
1931const char kTranslateExplicitLanguageAskDescription[] =
1932 "Explicitly ask the user which languages they can read on Chrome startup, "
1933 "on the first run that doesn't already have a promo.";
1934
Anthony Vallee-Dubois265c5692018-06-01 15:57:141935const char kTranslateForceTriggerOnEnglishName[] =
1936 "Select which language model to use to trigger translate on English "
1937 "content";
1938const char kTranslateForceTriggerOnEnglishDescription[] =
1939 "Force the Translate Triggering on English pages experiment to be enabled "
1940 "with the selected language model active.";
1941
Philippe Hamel7fdaa452017-09-29 17:22:491942const char kTranslateRankerEnforcementName[] =
1943 "Enforce TranslateRanker decisions";
1944const char kTranslateRankerEnforcementDescription[] =
1945 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1946 "or not Translate UI should be triggered in a given context.";
1947
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161948const char kTranslateUIName[] = "Enable Translate";
1949const char kTranslateUIDescription[] =
1950 "Enable the Translate popup when visiting webpages in other languages.";
1951
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051952const char kTreatInsecureOriginAsSecureName[] =
1953 "Insecure origins treated as secure";
1954const char kTreatInsecureOriginAsSecureDescription[] =
1955 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1956 "supplied as a comma-separated list. For the definition of secure "
1957 "contexts, "
1958 "see https://w3c.github.io/webappsec-secure-contexts/";
1959
Brett Wilsonecb80982017-07-12 20:34:511960const char kTrySupportedChannelLayoutsName[] =
1961 "Causes audio output streams to check if channel layouts other than the "
1962 "default hardware layout are available.";
1963const char kTrySupportedChannelLayoutsDescription[] =
1964 "Causes audio output streams to check if channel layouts other than the "
1965 "default hardware layout are available. Turning this on will allow the OS "
1966 "to do stereo to surround expansion if supported. May expose third party "
1967 "driver bugs, use with caution.";
1968
David Roger6762a092018-01-31 15:55:071969const char kUnifiedConsentName[] = "Unified Consent";
1970const char kUnifiedConsentDescription[] =
1971 "Enables a unified management of user consent for privacy-related "
1972 "features. This includes new confirmation screens and improved settings "
1973 "pages.";
1974
Jérôme Lebelfe1b2e02018-08-03 12:26:201975const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1976const char kForceUnifiedConsentBumpDescription[] =
1977 "Force the unified consent bump UI to be shown on every start-up. This "
1978 "flag is for debug purpose, to test the UI.";
1979
Brett Wilsonecb80982017-07-12 20:34:511980const char kUiPartialSwapName[] = "Partial swap";
1981const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1982
Chris Pickel3a227ae62017-08-24 10:47:261983const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1984const char kUseDdljsonApiDescription[] =
1985 "Enables the new ddljson API to fetch Doodles for the NTP.";
1986
Becca Hughes59c05b42017-11-03 13:11:581987const char kUseModernMediaControlsName[] = "New Media Controls";
1988const char kUseModernMediaControlsDescription[] =
1989 "Enables the new style native media controls.";
1990
Wei Li790e7a8572018-03-23 01:31:551991const char kUsePdfCompositorServiceName[] =
1992 "Use PDF compositor service for printing";
1993const char kUsePdfCompositorServiceDescription[] =
1994 "When enabled, use PDF compositor service to composite and generate PDF "
1995 "files for printing. When site isolation is enabled, disabling this will "
1996 "not stop using PDF compositor service since the service is required for "
1997 "printing out-of-process iframes correctly.";
1998
Mustaq Ahmedc646c0a2017-10-20 20:08:301999const char kUserActivationV2Name[] = "User Activation v2";
2000const char kUserActivationV2Description[] =
2001 "Enable simple user activation for APIs that are otherwise controlled by "
2002 "user gesture tokens.";
2003
Brett Wilsonecb80982017-07-12 20:34:512004const char kUserConsentForExtensionScriptsName[] =
2005 "User consent for extension scripts";
2006const char kUserConsentForExtensionScriptsDescription[] =
2007 "Require user consent for an extension running a script on the page, if "
2008 "the extension requested permission to run on all urls.";
2009
2010const char kUseSuggestionsEvenIfFewFeatureName[] =
2011 "Disable minimum for server-side tile suggestions on NTP.";
2012const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2013 "Request server-side suggestions even if there are only very few of them "
2014 "and use them for tiles on the New Tab Page.";
2015
2016const char kV8CacheOptionsName[] = "V8 caching mode.";
2017const char kV8CacheOptionsDescription[] =
2018 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512019const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2020
Hitoshi Yoshida3e5db562017-09-11 02:31:082021const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2022const char kV8ContextSnapshotDescription[] =
2023 "Sets to use a snapshot to create V8 contexts in frame creation.";
2024
Michael Hablich896d52662017-10-23 15:59:572025const char kV8VmFutureName[] = "Future V8 VM features";
2026const char kV8VmFutureDescription[] =
2027 "This enables upcoming and experimental V8 VM features. "
2028 "This flag does not enable experimental JavaScript features.";
2029
Hannes Payer1130d5672018-06-05 07:37:312030const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2031const char kV8OrinocoDescription[] =
2032 "This enables the V8 Orinoco garbage collection features.";
2033
Brett Wilsonecb80982017-07-12 20:34:512034const char kVideoFullscreenOrientationLockName[] =
2035 "Lock screen orientation when playing a video fullscreen.";
2036const char kVideoFullscreenOrientationLockDescription[] =
2037 "Lock the screen orientation of the device to match video orientation when "
2038 "a video goes fullscreen. Only on phones.";
2039
2040const char kVideoRotateToFullscreenName[] =
2041 "Rotate-to-fullscreen gesture for videos.";
2042const char kVideoRotateToFullscreenDescription[] =
2043 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2044 "the video. Only on phones.";
2045
2046const char kWalletServiceUseSandboxName[] =
2047 "Use Google Payments sandbox servers";
2048const char kWalletServiceUseSandboxDescription[] =
2049 "For developers: use the sandbox service for Google Payments API calls.";
2050
Brett Wilsonecb80982017-07-12 20:34:512051const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2052const char kWebglDraftExtensionsDescription[] =
2053 "Enabling this option allows web applications to access the WebGL "
2054 "Extensions that are still in draft status.";
2055
2056const char kWebMidiName[] = "Web MIDI API";
2057const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2058
2059const char kWebPaymentsName[] = "Web Payments";
2060const char kWebPaymentsDescription[] =
2061 "Enable Web Payments API integration, a JavaScript API for merchants.";
2062
Mathieu Perreault51339b82017-07-20 17:06:052063const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2064const char kWebPaymentsModifiersDescription[] =
2065 "If the website provides modifiers in the payment request, show the custom "
2066 "total for each payment instrument, update the shopping cart when "
2067 "instruments are switched, and send modified payment method specific data "
2068 "to the payment app.";
2069
Brett Wilsonecb80982017-07-12 20:34:512070const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2071const char kWebrtcEchoCanceller3Description[] =
2072 "Experimental WebRTC echo canceller (AEC3).";
2073
Qingsi Wangec2dbf942018-11-03 05:33:042074const char kWebrtcHideLocalIpsWithMdnsName[] =
2075 "Anonymize local IPs exposed by WebRTC.";
2076const char kWebrtcHideLocalIpsWithMdnsDecription[] =
2077 "Conceal local IP addresses with mDNS hostnames.";
2078
Alex Loikob5fb1282018-08-14 10:04:402079const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2080const char kWebrtcHybridAgcDescription[] =
2081 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2082
Brett Wilsonecb80982017-07-12 20:34:512083const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2084const char kWebrtcHwDecodingDescription[] =
2085 "Support in WebRTC for decoding video streams using platform hardware.";
2086
2087const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2088const char kWebrtcHwEncodingDescription[] =
2089 "Support in WebRTC for encoding video streams using platform hardware.";
2090
2091const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2092const char kWebrtcHwH264EncodingDescription[] =
2093 "Support in WebRTC for encoding h264 video streams using platform "
2094 "hardware.";
2095
2096const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2097const char kWebrtcHwVP8EncodingDescription[] =
2098 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2099
Niels Möller090866a2018-02-13 10:55:032100const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2101 "WebRTC new encode cpu load estimator";
2102const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2103 "Enable new estimator for the encoder cpu load, for evaluation and "
2104 "testing. Intended to improve accuracy when screen casting.";
2105
Elad Alon85e0d0be2018-06-26 10:38:372106const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2107const char kWebRtcRemoteEventLogDescription[] =
2108 "Allow collecting WebRTC event logs and uploading them to Crash. "
2109 "Please note that, even if enabled, this will still require "
2110 "a policy to be set, for it to have an effect.";
2111
Brett Wilsonecb80982017-07-12 20:34:512112const char kWebrtcSrtpAesGcmName[] =
2113 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2114const char kWebrtcSrtpAesGcmDescription[] =
2115 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2116
Joachim Bauch4a41d7512017-08-23 14:24:232117const char kWebrtcSrtpEncryptedHeadersName[] =
2118 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2119const char kWebrtcSrtpEncryptedHeadersDescription[] =
2120 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2121 "for SRTP.";
2122
Brett Wilsonecb80982017-07-12 20:34:512123const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2124const char kWebrtcStunOriginDescription[] =
2125 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2126 "header.";
2127
Adam Riceed63fc02018-06-20 05:57:462128const char kWebSocketHandshakeReuseConnectionName[] =
2129 "Enable WebSocket connection reuse for authentication";
2130const char kWebSocketHandshakeReuseConnectionDescription[] =
2131 "Permits the WebSocket handshake to keep the connection open after an "
2132 "authentication failure. The connection may be used for further requests "
2133 "to send credentials. This is sometimes needed for Windows authentication.";
2134
Brett Wilsonecb80982017-07-12 20:34:512135const char kWebvrName[] = "WebVR";
2136const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012137 "Enables access to experimental Virtual Reality functionality via the "
2138 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2139 "Device API. Warning: Enabling this will also allow WebVR content on "
2140 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222141 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512142
Brandon Jonese9d9b2b2017-12-11 22:20:112143const char kWebXrName[] = "WebXR Device API";
2144const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012145 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2146 "and Augmented Reality (AR) devices.";
2147
2148const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2149const char kWebXrGamepadSupportDescription[] =
2150 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222151 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2152 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432153
2154const char kWebXrHitTestName[] = "WebXR Hit Test";
2155const char kWebXrHitTestDescription[] =
2156 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112157
Anna Maria57ecf7592018-01-12 03:10:402158const char kWebXrOrientationSensorDeviceName[] =
2159 "WebXR orientation sensor device";
2160const char kWebXrOrientationSensorDeviceDescription[] =
2161 "When no VR platform device is available, expose a non-presenting device "
2162 "based on the device's orientation sensors, if available.";
2163
Brett Wilsonecb80982017-07-12 20:34:512164const char kWifiCredentialSyncName[] = "WiFi credential sync";
2165const char kWifiCredentialSyncDescription[] =
2166 "Enables synchronizing WiFi network settings across devices. When enabled, "
2167 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2168 "credentials are synchronized subject to user preferences. (See also, "
2169 "chrome://settings/syncSetup.)";
2170
2171const char kZeroCopyName[] = "Zero-copy rasterizer";
2172const char kZeroCopyDescription[] =
2173 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342174
Brett Wilsonff596952017-07-14 01:06:552175// Android ---------------------------------------------------------------------
2176
2177#if defined(OS_ANDROID)
2178
2179const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2180const char kAiaFetchingDescription[] =
2181 "Enable intermediate certificate fetching when a server does not provide "
2182 "sufficient certificates to build a chain to a trusted root.";
2183
2184const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2185const char kAccessibilityTabSwitcherDescription[] =
2186 "Enable the accessibility tab switcher for Android.";
2187
2188const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2189const char kAndroidAutofillAccessibilityDescription[] =
2190 "Enable accessibility for autofill popup.";
2191
Khushalbb1963a2018-10-02 21:02:352192const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2193const char kAndroidSurfaceControlDescription[] =
2194 "Use the SurfaceControl API for supporting overlays on Android";
2195
Anita Woodruffbfcd1e52018-07-16 12:00:512196const char kAppNotificationStatusMessagingName[] =
2197 "App notification status messaging";
2198const char kAppNotificationStatusMessagingDescription[] =
2199 "Enables messaging in site permissions UI informing user when "
2200 "notifications are disabled for the entire app.";
2201
Brett Wilsonff596952017-07-14 01:06:552202const char kAndroidPaymentAppsName[] = "Android payment apps";
2203const char kAndroidPaymentAppsDescription[] =
2204 "Enable third party Android apps to integrate as payment apps";
2205
Miriam Gershenson8cf1397222018-01-23 22:48:292206const char kAsyncDnsName[] = "Async DNS resolver";
2207const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2208
Dan Harrington01229f82018-09-12 21:01:212209const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2210const char kAutoFetchOnNetErrorPageDescription[] =
2211 "When enabled, and navigation fails with an offline error, schedule a "
2212 "fetch of the page when online again.";
2213
Brett Wilsonff596952017-07-14 01:06:552214const char kAutofillAccessoryViewName[] =
2215 "Autofill suggestions as keyboard accessory view";
2216const char kAutofillAccessoryViewDescription[] =
2217 "Shows Autofill suggestions on top of the keyboard rather than in a "
2218 "dropdown.";
2219
2220const char kBackgroundLoaderForDownloadsName[] =
2221 "Enables background downloading of pages.";
2222const char kBackgroundLoaderForDownloadsDescription[] =
2223 "Enables downloading pages in the background in case page is not yet "
2224 "loaded in current tab.";
2225
Tibor Goldschwendt11b3cf22018-07-04 15:32:442226const char kBackgroundTaskComponentUpdateName[] =
2227 "Background Task Component Updates";
2228const char kBackgroundTaskComponentUpdateDescription[] =
2229 "Schedule component updates with BackgroundTaskScheduler";
2230
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002231const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2232const char kCCTModuleDescription[] =
2233 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2234
Michael van Ouwerkerk29a7a292018-10-09 09:20:142235const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2236const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402237 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2238 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142239
Matthew Jones1abcb132018-07-09 17:59:462240const char kChromeDuetName[] = "Chrome Duet";
2241const char kChromeDuetDescription[] =
2242 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052243
Megan Jablonskic61eb1b82017-10-02 18:03:062244const char kChromeMemexName[] = "Chrome Memex";
2245const char kChromeMemexDescription[] =
2246 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2247 "Googlers.";
2248
Sarath Singapati83aef1c2017-11-16 15:54:522249const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2250const char kClearOldBrowsingDataDescription[] =
2251 "Enables clearing of browsing data which is older than a given time "
2252 "period.";
2253
Brett Wilsonff596952017-07-14 01:06:552254const char kContentSuggestionsCategoryOrderName[] =
2255 "Default content suggestions category order (e.g. on NTP)";
2256const char kContentSuggestionsCategoryOrderDescription[] =
2257 "Set default order of content suggestion categories (e.g. on the NTP).";
2258
2259const char kContentSuggestionsCategoryRankerName[] =
2260 "Content suggestions category ranker (e.g. on NTP)";
2261const char kContentSuggestionsCategoryRankerDescription[] =
2262 "Set category ranker to order categories of content suggestions (e.g. on "
2263 "the NTP).";
2264
Vitalii Iarkof52ff802017-09-14 12:34:242265const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2266const char kContentSuggestionsDebugLogDescription[] =
2267 "Enable content suggestions debug log accessible through "
2268 "snippets-internals.";
2269
Donn Denman8e58ead2017-11-04 01:44:012270const char kContextualSearchMlTapSuppressionName[] =
2271 "Contextual Search ML tap suppression";
2272const char kContextualSearchMlTapSuppressionDescription[] =
2273 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022274 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2275 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552276
2277const char kContextualSearchName[] = "Contextual Search";
2278const char kContextualSearchDescription[] =
2279 "Whether or not Contextual Search is enabled.";
2280
Donn Denman59729812018-01-09 01:27:022281const char kContextualSearchRankerQueryName[] =
2282 "Contextual Search Ranker prediction";
2283const char kContextualSearchRankerQueryDescription[] =
2284 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2285
2286const char kContextualSearchSecondTapName[] =
2287 "Contextual Search second tap triggering";
2288const char kContextualSearchSecondTapDescription[] =
2289 "Enables triggering on a second tap gesture even when Ranker would "
2290 "normally suppress that tap.";
2291
Donn Denmane9b5b7fb2018-07-24 22:19:492292const char kContextualSearchUnityIntegrationName[] =
2293 "Contextual Search integration with Unified Consent";
2294const char kContextualSearchUnityIntegrationDescription[] =
2295 "Enables integration of Tap to Search with Unified Consent.";
2296
Cathy Li2fb32bf82018-06-06 18:55:402297const char kExploreSitesName[] = "Explore websites";
2298const char kExploreSitesDescription[] =
2299 "Enables portal from new tab page to explore websites.";
2300
Dmitry Skiba9c3efa72017-07-20 22:01:142301const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2302const char kDontPrefetchLibrariesDescription[] =
2303 "Don't prefetch libraries after loading.";
2304
Joy Ming189b0cc2017-12-08 19:42:432305const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2306const char kDownloadsLocationChangeDescription[] =
2307 "Enable changing default downloads storage location on Android.";
2308
Shakti Sahu32b2ee102018-05-17 00:04:462309const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2310const char kDownloadProgressInfoBarDescription[] =
2311 "Enables an infobar notifying users about status of current downloads.";
2312
Shakti Sahu9ec8cfd2018-07-17 13:29:292313const char kDownloadHomeV2Name[] = "Enable download home v2";
2314const char kDownloadHomeV2Description[] =
2315 "Enables the new UI for download home";
2316
Brett Wilsonff596952017-07-14 01:06:552317const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2318const char kEnableAndroidPayIntegrationV1Description[] =
2319 "Enable integration with Android Pay using the first version of the API";
2320
2321const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2322const char kEnableAndroidPayIntegrationV2Description[] =
2323 "Enable integration with Android Pay using the second version of the API";
2324
Fabio Tirelo918089a2018-10-22 21:24:082325const char kAutofillManualFallbackAndroidName[] =
2326 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2327const char kAutofillManualFallbackAndroidDescription[] =
2328 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2329 "keyboard accessory.";
2330
Fabio Tirelo315e65922018-09-05 03:35:492331const char kEnableAutofillRefreshStyleName[] =
2332 "Enable Autofill refresh style (Android)";
2333const char kEnableAutofillRefreshStyleDescription[] =
2334 "Enable modernized style for Autofill on Android";
2335
Vitalii Iarkof4ed32d2017-09-26 13:15:532336const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552337const char kEnableAndroidSpellcheckerDescription[] =
2338 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552339
Lei Tianbd5a3bf2018-02-28 19:01:162340const char kEnableCommandLineOnNonRootedName[] =
2341 "Enable command line on non-rooted devices";
2342const char kEnableCommandLineOnNoRootedDescription[] =
2343 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2344
Vitalii Iarkof4ed32d2017-09-26 13:15:532345const char kEnableContentSuggestionsNewFaviconServerName[] =
2346 "Get favicons for content suggestions from a new server.";
2347const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2348 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2349 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552350
Vitalii Iarkof4ed32d2017-09-26 13:15:532351const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2352 "Use content suggestions thumbnail dominant color.";
2353const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2354 "Use content suggestions thumbnail dominant color as a placeholder before "
2355 "the real thumbnail is fetched (requires Chrome Home).";
2356
Brett Wilsonff596952017-07-14 01:06:552357const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2358const char kEnableCustomContextMenuDescription[] =
2359 "Enables a new context menu when a link, image, or video is pressed within "
2360 "Chrome.";
2361
2362const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2363const char kEnableCustomFeedbackUiDescription[] =
2364 "Enables a custom feedback UI when submitting feedback through Google "
2365 "Feedback. Works with Google Play Services v10.2+";
2366
2367const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472368 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552369const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472370 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552371
Becca Hughes6d73bac542018-06-18 20:38:502372const char kEnableMediaControlsExpandGestureName[] =
2373 "Enable Media Controls Expand Gesture";
2374const char kEnableMediaControlsExpandGestureDescription[] =
2375 "Enables a gesture to be used on the media controls to extend the video "
2376 "into the Display Cutout area.";
2377
Brett Wilsonff596952017-07-14 01:06:552378const char kEnableOmniboxClipboardProviderName[] =
2379 "Omnibox clipboard URL suggestions";
2380const char kEnableOmniboxClipboardProviderDescription[] =
2381 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2382 "focus in the omnibox.";
2383
Brett Wilsonff596952017-07-14 01:06:552384const char kEnableNtpAssetDownloadSuggestionsName[] =
2385 "Show asset downloads on the New Tab page";
2386const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2387 "If enabled, the list of content suggestions on the New Tab page will "
2388 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2389 "later use.";
2390
2391const char kEnableNtpBookmarkSuggestionsName[] =
2392 "Show recently visited bookmarks on the New Tab page";
2393const char kEnableNtpBookmarkSuggestionsDescription[] =
2394 "If enabled, the list of content suggestions on the New Tab page will "
2395 "contain recently visited bookmarks.";
2396
Brett Wilsonff596952017-07-14 01:06:552397const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2398 "Show offline page downloads on the New Tab page";
2399const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2400 "If enabled, the list of content suggestions on the New Tab page will "
2401 "contain pages that the user downloaded for later use.";
2402
2403const char kEnableNtpRemoteSuggestionsName[] =
2404 "Show server-side suggestions on the New Tab page";
2405const char kEnableNtpRemoteSuggestionsDescription[] =
2406 "If enabled, the list of content suggestions on the New Tab page will "
2407 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2408 "allows to override the source used to retrieve these server-side "
2409 "suggestions.";
2410
2411const char kEnableNtpSnippetsVisibilityName[] =
2412 "Make New Tab Page Snippets more visible.";
2413const char kEnableNtpSnippetsVisibilityDescription[] =
2414 "If enabled, the NTP snippets will become more discoverable with a larger "
2415 "portion of the first card above the fold.";
2416
2417const char kEnableNtpSuggestionsNotificationsName[] =
2418 "Notify about new content suggestions available at the New Tab page";
2419const char kEnableNtpSuggestionsNotificationsDescription[] =
2420 "If enabled, notifications will inform about new content suggestions on "
2421 "the New Tab page.";
2422
Brett Wilsonff596952017-07-14 01:06:552423const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2424const char kEnableOfflinePreviewsDescription[] =
2425 "Enable showing offline page previews on slow networks.";
2426
2427const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2428const char kEnableOskOverscrollDescription[] =
2429 "Enable OSK overscroll support. With this flag on, the OSK will only "
2430 "resize the visual viewport.";
2431
2432const char kEnableSpecialLocaleName[] =
2433 "Enable custom logic for special locales.";
2434const char kEnableSpecialLocaleDescription[] =
2435 "Enable custom logic for special locales. In this mode, Chrome might "
2436 "behave differently in some locales.";
2437
Brett Wilsonff596952017-07-14 01:06:552438const char kEnableWebNfcName[] = "WebNFC";
2439const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2440
gogeraldf3cbb422017-07-26 14:37:122441const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2442 "Enable Web Payments method section order V2.";
2443const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2444 "Enable this option to display payment method section above address "
2445 "section instead of below it.";
2446
Donn Denmanffaeaa32018-10-12 17:37:532447const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2448const char kEphemeralTabDescription[] =
2449 "Enable a 'sneak peek' at a linked page in an overlay.";
2450
Raymes Khoury582b43132017-12-12 23:54:302451const char kGrantNotificationsToDSEName[] =
2452 "Grant notifications to the Default Search Engine";
2453const char kGrantNotificationsToDSENameDescription[] =
2454 "Automatically grant the notifications permission to the Default Search "
2455 "Engine";
2456
Daniel Parke74fcf862018-03-27 18:05:452457const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512458const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452459
Yafei Duanbb7663f32018-07-17 01:33:152460const char kHomepageTileName[] =
2461 "Enable Homepage tile shown in Suggested Tiles";
2462const char kHomepageTileDescription[] =
2463 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2464 "used for homepage. It will not have an effect when NTPButton is disabled.";
2465
Jian Li4b252642018-07-23 19:49:072466const char kIncognitoStringsName[] = "Alternate incognito strings";
2467const char kIncognitoStringsDescription[] =
2468 "Show alternate incognito strings if enabled.";
2469
Theresa920e0ed2018-03-07 18:12:442470const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152471 "Use the interest feed to render content suggestions. Currently "
2472 "content "
Theresa920e0ed2018-03-07 18:12:442473 "suggestions are shown on the New Tab Page.";
2474const char kInterestFeedContentSuggestionsName[] =
2475 "Interest Feed Content Suggestions";
2476
Brett Wilsonff596952017-07-14 01:06:552477const char kKeepPrefetchedContentSuggestionsName[] =
2478 "Keep prefetched content suggestions";
2479const char kKeepPrefetchedContentSuggestionsDescription[] =
2480 "If enabled, some of prefetched content suggestions are not replaced by "
2481 "the new fetched suggestions.";
2482
Leo Zhang051b75482017-12-20 03:28:302483const char kLanguagesPreferenceName[] = "Language Settings";
2484const char kLanguagesPreferenceDescription[] =
2485 "Enable this option for Language Settings feature on Android.";
2486
Brett Wilsonff596952017-07-14 01:06:552487const char kLsdPermissionPromptName[] =
2488 "Location Settings Dialog Permission Prompt";
2489const char kLsdPermissionPromptDescription[] =
2490 "Whether to use the Google Play Services Location Settings Dialog "
2491 "permission dialog.";
2492
Amirhossein Simjour97b4154f2018-02-20 03:49:592493const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2494const char kModalPermissionDialogViewDescription[] =
2495 "Enable this option to use ModalDialogManager for permission Dialogs.";
2496
Brett Wilsonff596952017-07-14 01:06:552497const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2498const char kMediaScreenCaptureDescription[] =
2499 "Enable this option for experimental ScreenCapture feature on Android.";
2500
2501const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2502const char kModalPermissionPromptsDescription[] =
2503 "Whether to use permission dialogs in place of permission infobars.";
2504
Finnur Thorarinssonc1488fc62018-07-09 19:21:572505const char kNewContactsPickerName[] = "Enable new contacts picker";
2506const char kNewContactsPickerDescription[] =
2507 "Activates the new picker for selecting contacts.";
2508
Dan Harrington541db9e2018-07-30 18:36:302509const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2510const char kNewNetErrorPageUIDescription[] =
2511 "Selects which new UI experience to show on the net-error (Dino) page";
2512
Brett Wilsonff596952017-07-14 01:06:552513const char kNewPhotoPickerName[] = "Enable new Photopicker";
2514const char kNewPhotoPickerDescription[] =
2515 "Activates the new picker for selecting photos.";
2516
2517const char kNoCreditCardAbort[] = "No Credit Card Abort";
2518const char kNoCreditCardAbortDescription[] =
2519 "Whether or not the No Credit Card Abort is enabled.";
2520
Daniel Park990d0992018-05-18 22:12:512521const char kNtpButtonName[] = "Enable NTP Button";
2522const char kNtpButtonDescription[] =
2523 "Displays a New Tab Page button in the toolbar if enabled.";
2524
Brett Wilsonff596952017-07-14 01:06:552525const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2526const char kOfflineBookmarksDescription[] =
2527 "Enable saving bookmarked pages for offline viewing.";
2528
Jian Liade82832018-09-06 22:31:412529const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2530const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2531 "Always do http probe to detect network connectivity for offline indicator "
2532 "as opposed to just taking the connection state from the system."
2533 "Used for testing.";
2534
2535const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2536const char kOfflineIndicatorChoiceDescription[] =
2537 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322538
Brett Wilsonff596952017-07-14 01:06:552539const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2540const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2541
2542const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2543const char kOfflinePagesCtV2Description[] =
2544 "V2 features include attributing pages to the app that initiated the "
2545 "custom tabs, and being able to query for pages by page attribution.";
2546
Cathy Li7311d792018-04-05 00:34:162547const char kOfflinePagesCTSuppressNotificationsName[] =
2548 "Disable download complete notification for whitelisted CCT apps.";
2549const char kOfflinePagesCTSuppressNotificationsDescription[] =
2550 "Disable download complete notification for page downloads originating "
2551 "from a CCT app whitelisted to show their own download complete "
2552 "notification.";
2553
Candice Sy74fa7a352018-03-30 23:46:492554const char kOfflinePagesDescriptiveFailStatusName[] =
2555 "Enables descriptive failed download status text.";
2556const char kOfflinePagesDescriptiveFailStatusDescription[] =
2557 "Enables failed download status text in notifications and Downloads Home "
2558 "to state the reason the request failed if the failure is actionable.";
2559
2560const char kOfflinePagesDescriptivePendingStatusName[] =
2561 "Enables descriptive pending download status text.";
2562const char kOfflinePagesDescriptivePendingStatusDescription[] =
2563 "Enables pending download status text in notifications and Downloads Home "
2564 "to state the reason the request is pending.";
2565
2566const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2567 "Enables offline pages in the downloads home to be opened in CCT.";
2568const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2569 "When enabled offline pages launched from the Downloads Home will be "
2570 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2571
Carlos Knippschild09272ecd2017-12-09 03:29:362572const char kOfflinePagesLimitlessPrefetchingName[] =
2573 "Removes resource usage limits for the prefetching of offline pages.";
2574const char kOfflinePagesLimitlessPrefetchingDescription[] =
2575 "Allows the prefetching of suggested offline pages to ignore resource "
2576 "usage limits. This allows it to completely ignore data usage limitations "
2577 "and allows downloads to happen with any kind of connection.";
2578
Brett Wilsonff596952017-07-14 01:06:552579const char kOfflinePagesLoadSignalCollectingName[] =
2580 "Enables collecting load timing data for offline page snapshots.";
2581const char kOfflinePagesLoadSignalCollectingDescription[] =
2582 "Enables loading completeness data collection while writing an offline "
2583 "page. This data is collected in the snapshotted offline page to allow "
2584 "data analysis to improve deciding when to make the offline snapshot.";
2585
2586const char kOfflinePagesPrefetchingName[] =
2587 "Enables suggested offline pages to be prefetched.";
2588const char kOfflinePagesPrefetchingDescription[] =
2589 "Enables suggested offline pages to be prefetched, so useful content is "
2590 "available while offline.";
2591
Pete Williamson7845dff2017-09-20 11:06:192592const char kOfflinePagesResourceBasedSnapshotName[] =
2593 "Enables offline page snapshots to be based on percentage of page loaded.";
2594const char kOfflinePagesResourceBasedSnapshotDescription[] =
2595 "Enables offline page snapshots to use a resource percentage based "
2596 "approach for determining when the page is loaded as opposed to a time "
2597 "based approach";
2598
Collin Baker17f92a52017-07-19 21:41:252599const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2600const char kOfflinePagesRenovationsDescription[] =
2601 "Enables offline page renovations which correct issues with dynamic "
2602 "content that occur when offlining pages that use JavaScript.";
2603
Brett Wilsonff596952017-07-14 01:06:552604const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2605const char kOfflinePagesSharingDescription[] =
2606 "Enables the saved offline pages to be shared via other applications.";
2607
Yafei Duan36b4b5b2018-08-07 00:40:032608const char kOfflinePagesLivePageSharingName[] =
2609 "Enables live page sharing of offline pages";
2610const char kOfflinePagesLivePageSharingDescription[] =
2611 "Enables to share current loaded page as offline page by saving as MHTML "
2612 "first.";
2613
Cathy Lie0d88762018-04-12 08:03:012614const char kOfflinePagesShowAlternateDinoPageName[] =
2615 "Enable alternate dino page with more user capabilities.";
2616const char kOfflinePagesShowAlternateDinoPageDescription[] =
2617 "Enables the dino page to show more buttons and offer existing offline "
2618 "content.";
2619
Brett Wilsonff596952017-07-14 01:06:552620const char kOfflinePagesSvelteConcurrentLoadingName[] =
2621 "Enables concurrent background loading on svelte.";
2622const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2623 "Enables concurrent background loading (or downloading) of pages on "
2624 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2625 "happen when the svelte device is idle.";
2626
2627const char kOffliningRecentPagesName[] =
2628 "Enable offlining of recently visited pages";
2629const char kOffliningRecentPagesDescription[] =
2630 "Enable storing recently visited pages locally for offline use. Requires "
2631 "Offline Pages to be enabled.";
2632
Lei Zhang2eca9082017-10-17 20:42:502633const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2634const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552635 "Enable Pay with Google integration into Web Payments with API version "
2636 "'1'.";
2637
Matthew Jonesa88b95852017-11-08 23:13:502638const char kProgressBarThrottleName[] = "Android progress update throttling.";
2639const char kProgressBarThrottleDescription[] =
2640 "Limit the maximum progress update to make progress appear smoother.";
2641
Brett Wilsonff596952017-07-14 01:06:552642const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2643const char kPullToRefreshEffectDescription[] =
2644 "Page reloads triggered by vertically overscrolling content.";
2645
Piotr Swigon7c296ef2017-08-29 04:32:002646const char kPwaImprovedSplashScreenName[] =
2647 "Improved Splash Screen for standalone PWAs";
2648const char kPwaImprovedSplashScreenDescription[] =
2649 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2650 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492651const char kPwaPersistentNotificationName[] =
2652 "Persistent notification in standalone PWA";
2653const char kPwaPersistentNotificationDescription[] =
2654 "Enables a persistent Android notification for standalone PWAs";
2655
Brett Wilsonff596952017-07-14 01:06:552656const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2657const char kReaderModeHeuristicsDescription[] =
2658 "Determines what pages the Reader Mode infobar is shown on.";
2659const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2660const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2661const char kReaderModeHeuristicsAllArticles[] = "All articles";
2662const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2663const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2664
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182665const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2666const char kReaderModeInCCTDescription[] =
2667 "Open Reader Mode in Chrome Custom Tabs.";
2668
Varun Khaneja80712a82018-10-12 23:34:592669const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2670 "Use local Safe Browsing blacklists";
2671const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2672 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2673 "process to check the Safe Browsing reputation of URLs without calling "
2674 "into GmsCore for every URL.";
2675
Brett Wilsonff596952017-07-14 01:06:552676const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2677const char kSetMarketUrlForTestingDescription[] =
2678 "When enabled, sets the market URL for use in testing the update menu "
2679 "item.";
2680
2681const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2682const char kSpannableInlineAutocompleteDescription[] =
2683 "A new type of inline autocomplete for the omnibox that works with "
2684 "keyboards that compose text.";
2685
Theresaeea05a12018-05-09 21:01:592686const char kSimplifiedNtpName[] = "Simplified NTP";
2687const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2688
2689const char kSiteExplorationUiName[] = "Site Exploration UI";
2690const char kSiteExplorationUiDescription[] =
2691 "Show site suggestions in the Exploration UI";
2692
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182693const char kTranslateAndroidManualTriggerName[] =
2694 "Enable manual translate trigger";
2695const char kTranslateAndroidManualTriggerDescription[] =
2696 "Show a menu item in the main menu that triggers page translation.";
2697
Brett Wilsonff596952017-07-14 01:06:552698const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2699const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442700 "When enabled, a badge will be shown on the app menu button if the update "
2701 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552702
2703const char kUpdateMenuItemCustomSummaryDescription[] =
2704 "When this flag and the force show update menu item flag are enabled, a "
2705 "custom summary string will be displayed below the update menu item.";
2706const char kUpdateMenuItemCustomSummaryName[] =
2707 "Update menu item custom summary";
2708
Tommy Nyquist3c02e592018-10-18 23:36:442709const char kUpdateMenuTypeName[] =
2710 "Forces the update menu type to a specific type";
2711const char kUpdateMenuTypeDescription[] =
2712 "When set, forces the update type to be a specific one, which impacts "
2713 "the app menu badge and menu item for updates.";
2714const char kUpdateMenuTypeNone[] = "None";
2715const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2716const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
Brett Wilsonff596952017-07-14 01:06:552717
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462718const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2719const char kVrBrowsingTabsViewDescription[] =
2720 "Enable tab overview (tab switcher) in VR.";
2721
Marc Treib93af46a2017-08-23 13:30:002722const char kThirdPartyDoodlesName[] =
2723 "Enable Doodles for third-party search engines";
2724const char kThirdPartyDoodlesDescription[] =
2725 "Enables fetching and displaying Doodles on the NTP for third-party search "
2726 "engines.";
2727
Klaus Weidneraaf697f2018-01-18 20:07:362728const char kWebXrRenderPathName[] = "WebXR presentation render path";
2729const char kWebXrRenderPathDescription[] =
2730 "Render path to use for WebXR presentation (including WebVR)";
2731const char kWebXrRenderPathChoiceClientWaitDescription[] =
2732 "ClientWait (Baseline)";
2733const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2734 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072735const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2736 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362737
Brett Wilson7b44537e2017-08-18 01:38:282738// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552739
Brett Wilson7b44537e2017-08-18 01:38:282740#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482741
Brett Wilson7b44537e2017-08-18 01:38:282742const char kAccountConsistencyName[] =
2743 "Identity consistency between browser and cookie jar";
2744const char kAccountConsistencyDescription[] =
2745 "When enabled, the browser manages signing in and out of Google accounts.";
2746const char kAccountConsistencyChoiceMirror[] = "Mirror";
2747const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342748
Tommy Martino3fa3df52018-08-20 21:45:442749const char kAutofillDropdownLayoutName[] =
2750 "Autofill Dropdown Layout Experiment";
2751const char kAutofillDropdownLayoutDescription[] =
2752 "Alternate visual designs for the Autofill dropdown.";
2753
Fabio Tirelo3773dea2018-09-11 15:21:522754const char kAutofillPrimaryInfoStyleExperimentName[] =
2755 "Autofill experiment with primary info style";
2756const char kAutofillPrimaryInfoStyleExperimentDescription[] =
2757 "Allow experimentation with different typefaces for primary info on the "
2758 "Autofill dropdown (addresses and payment methods)";
2759
Chris Pickel3a227ae62017-08-24 10:47:262760const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2761const char kDoodlesOnLocalNtpDescription[] =
2762 "Show doodles on the local New Tab page if Google is the default search "
2763 "engine.";
2764
mlamouriff56c092017-05-11 15:31:392765const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392766const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342767 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392768const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392769const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392770const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342771 "Enabled (Flash lowers volume when interrupted by other sound, "
2772 "experimental)";
Becca Hughes87b17ae2018-10-04 00:35:422773const char kEnableAudioFocusEnabledNoEnforce[] =
2774 "Enabled (without enforcement of a single active media session)";
vabr0215a8e2017-03-28 12:47:342775
Sebastien Marchandd33f7dc2018-06-22 22:07:062776const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2777const char kInfiniteSessionRestoreDescription[] =
2778 "Reduces the number of tabs being loaded simultaneously during session "
2779 "restore, to improve responsiveness of the foreground tab. This requires "
2780 "#enable-page-almost-idle.";
2781
Sebastien Marchandd33f7dc2018-06-22 22:07:062782const char kEnableWebAuthenticationCtap2SupportName[] =
2783 "Enable Web Authentication API support for CTAP2 security keys";
2784const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472785 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062786
2787const char kEnableWebAuthenticationTestingAPIName[] =
2788 "Web Authentication Testing API";
2789const char kEnableWebAuthenticationTestingAPIDescription[] =
2790 "Enable Web Authentication Testing API support, which disconnects the API "
2791 "implementation from the real world, and allows configuring virtual "
2792 "authenticator devices for testing";
2793
Jeffrey Cohenf04130a42018-08-29 00:22:272794const char kHappinessTrackingSurveysForDesktopName[] =
2795 "Happiness Tracking Surveys";
2796const char kHappinessTrackingSurveysForDesktopDescription[] =
2797 "Enable showing Happiness Tracking Surveys to users on Desktop";
2798
Dave Schuyler598a4a42018-01-04 02:15:102799const char kOmniboxRichEntitySuggestionsName[] =
2800 "Omnibox rich entity suggestions";
2801const char kOmniboxRichEntitySuggestionsDescription[] =
2802 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212803 "more context and descriptive text about the entity. Has no effect unless "
2804 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2805 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102806
Travis Skarebcdb5ed32018-08-17 01:49:402807const char kOmniboxDriveSuggestionsName[] =
2808 "Omnibox Google Drive Document suggestions";
2809const char kOmniboxDriveSuggestionsDescriptions[] =
2810 "Display suggestions for Google Drive documents in the omnibox when Google "
2811 "is the default search engine.";
2812
Dave Schuyler616273d2018-04-19 03:12:522813const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2814const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212815 "Display answers using an enhanced layout with larger images. Has no "
2816 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2817 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522818
Orin Jaworski04c08b42018-07-11 02:39:562819const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2820const char kOmniboxReverseAnswersDescription[] =
2821 "Display answers with rows reversed (swapped); except definitions. Has no "
2822 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2823 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2824
Kevin Bailey898669972017-11-06 15:34:492825const char kOmniboxTabSwitchSuggestionsName[] =
2826 "Omnibox tab switch suggestions";
2827const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212828 "Enable suggestions for switching to open tabs within the Omnibox. "
2829 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2830 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492831
Orin Jaworskiae2df652018-09-26 01:11:062832const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2833const char kOmniboxPedalSuggestionsDescription[] =
2834 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2835 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2836 "Pedals accelerate actions within Chrome by detecting user intent and "
2837 "offering direct access to the end goal.";
2838
krbcc621412017-06-01 19:40:282839const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2840const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192841 "Enable receiving tail suggestions, a type of search suggestion based on "
2842 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342843
Sebastien Marchandd33f7dc2018-06-22 22:07:062844const char kPageAlmostIdleName[] = "Page Almost Idle";
2845const char kPageAlmostIdleDescription[] =
2846 "Make session restore use a definition of loading that waits for CPU and "
2847 "network quiescence.";
2848
2849const char kProactiveTabFreezeAndDiscardName[] =
2850 "Proactive Tab Freeze and Discard";
2851const char kProactiveTabFreezeAndDiscardDescription[] =
2852 "Enables proactive tab freezing and discarding. This requires "
2853 "#enable-page-almost-idle.";
2854
Nicolas Ouellet-payeur82eb65b2018-11-05 16:49:272855const char kShowManagedUiName[] = "Show managed UI for managed users";
2856const char kShowManagedUiDescription[] =
2857 "Enabled/disable showing enterprise users a 'Managed by your organization' "
2858 "message in the app menu and on some chrome:// pages.";
2859
Sebastien Marchandd33f7dc2018-06-22 22:07:062860const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2861const char kSiteCharacteristicsDatabaseDescription[] =
2862 "Records usage of some features in a database while a tab is in background "
2863 "(title/favicon update, audio playback or usage of non-persistent "
2864 "notifications).";
2865
Brett Wilson7b44537e2017-08-18 01:38:282866const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2867const char kUseGoogleLocalNtpDescription[] =
2868 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322869
Brett Wilson7b44537e2017-08-18 01:38:282870#if defined(GOOGLE_CHROME_BUILD)
2871
2872const char kGoogleBrandedContextMenuName[] =
2873 "Google branding in the context menu";
2874const char kGoogleBrandedContextMenuDescription[] =
2875 "Shows a Google icon next to context menu items powered by Google "
2876 "services.";
2877
2878#endif // !defined(GOOGLE_CHROME_BUILD)
2879
2880#endif // !defined(OS_ANDROID)
2881
2882// Windows ---------------------------------------------------------------------
2883
2884#if defined(OS_WIN)
2885
David Bienvenud0ddda32018-11-01 16:59:162886const char kCalculateNativeWinOcclusionName[] =
2887 "Calculate window occlusion on Windows";
2888const char kCalculateNativeWinOcclusionDescription[] =
2889 "Calculate window occlusion on Windows will be used in the future "
2890 "to throttle and potentially unload foreground tabs in occluded windows";
2891
Brett Wilson7b44537e2017-08-18 01:38:282892const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2893const char kCloudPrintXpsDescription[] =
2894 "XPS enables advanced options for classic printers connected to the Cloud "
2895 "Print with Chrome. Printers must be re-connected after changing this "
2896 "flag.";
2897
2898const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2899const char kDisablePostscriptPrintingDescription[] =
2900 "Disables PostScript generation when printing to PostScript capable "
2901 "printers, and uses EMF generation in its place.";
2902
2903const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2904const char kEnableAppcontainerDescription[] =
2905 "Enables the use of an AppContainer on sandboxed processes to improve "
2906 "security.";
2907
James Forshawfd0ce342018-02-14 09:55:392908const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2909const char kEnableGpuAppcontainerDescription[] =
2910 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2911 "improve security.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kGdiTextPrinting[] = "GDI Text Printing";
2914const char kGdiTextPrintingDescription[] =
2915 "Use GDI to print text as simply text";
2916
Henrik Grunell67e56ef2018-04-10 14:04:092917const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2918const char kIncreaseInputAudioBufferSizeDescription[] =
2919 "Increases the input audio endpoint buffer to 100 ms.";
2920
Brett Wilson7b44537e2017-08-18 01:38:282921const char kTraceExportEventsToEtwName[] =
2922 "Enable exporting of tracing events to ETW.";
2923const char kTraceExportEventsToEtwDesription[] =
2924 "If enabled, trace events will be exported to the Event Tracing for "
2925 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2926 "Xperf.";
2927
Olli Etuaho122321192018-09-07 10:15:292928const char kUseAngleName[] = "Choose ANGLE graphics backend";
2929const char kUseAngleDescription[] =
2930 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2931 "computers by default. Using the OpenGL driver as the graphics backend may "
2932 "result in higher performance in some graphics-heavy applications, "
2933 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2934 "video playback.";
2935
2936const char kUseAngleDefault[] = "Default";
2937const char kUseAngleGL[] = "OpenGL";
2938const char kUseAngleD3D11[] = "D3D11";
2939const char kUseAngleD3D9[] = "D3D9";
2940
Brett Wilson7b44537e2017-08-18 01:38:282941const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2942const char kUseWinrtMidiApiDescription[] =
2943 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2944 "later).";
2945
2946const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2947const char kWindows10CustomTitlebarDescription[] =
2948 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2949 "deferring to Windows.";
2950
2951#endif // defined(OS_WIN)
2952
2953// Mac -------------------------------------------------------------------------
2954
2955#if defined(OS_MACOSX)
2956
Brett Wilson7b44537e2017-08-18 01:38:282957const char kFullscreenToolbarRevealName[] =
2958 "Enables the toolbar in fullscreen to reveal itself.";
2959const char kFullscreenToolbarRevealDescription[] =
2960 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2961 "has changed.";
2962
2963const char kContentFullscreenName[] = "Improved Content Fullscreen";
2964const char kContentFullscreenDescription[] =
2965 "Fullscreen content window detaches from main browser window and goes to "
2966 "a new space without moving or changing the original browser window.";
2967
Martin Kreichgauer1ca416d2018-07-11 00:43:192968const char kEnableWebAuthenticationTouchIdName[] =
2969 "Web Authentication API Touch ID support";
2970const char kEnableWebAuthenticationTouchIdDescription[] =
2971 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2972
Brett Wilson7b44537e2017-08-18 01:38:282973const char kHostedAppsInWindowsName[] =
2974 "Allow hosted apps to be opened in windows";
2975const char kHostedAppsInWindowsDescription[] =
2976 "Allows hosted apps to be opened in windows instead of being limited to "
2977 "tabs.";
2978
Christopher Cameron57dee5a42018-09-25 01:20:082979const char kCreateAppWindowsInAppShimProcessName[] =
2980 "Create native windows in the app process";
2981const char kCreateAppWindowsInAppShimProcessDescription[] =
2982 "Create native windows the app shim process, instead of of the browser "
2983 "process.";
2984
Lei Zhang2eca9082017-10-17 20:42:502985const char kMacRTLName[] = "Enable RTL";
2986const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282987
Lei Zhang2eca9082017-10-17 20:42:502988const char kMacTouchBarName[] = "Hardware Touch Bar";
2989const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282990
Greg Kerraea59272018-10-12 16:44:312991const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2992const char kMacV2SandboxDescription[] =
2993 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2994 "entire life cycle.";
2995
Brett Wilson7b44537e2017-08-18 01:38:282996const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2997const char kMacViewsNativeAppWindowsDescription[] =
2998 "Controls whether to use Toolkit-Views based Chrome App windows.";
2999
3000const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3001const char kMacViewsTaskManagerDescription[] =
3002 "Controls whether to use the Toolkit-Views based Task Manager.";
3003
3004const char kTabDetachingInFullscreenName[] =
3005 "Allow tab detaching in fullscreen";
3006const char kTabDetachingInFullscreenDescription[] =
3007 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
3008
3009const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
3010const char kTabStripKeyboardFocusDescription[] =
3011 "Enable keyboard focus for the tabs in the tab strip.";
3012
Tessa Nijssen4db9799e2018-08-06 21:04:383013const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
3014const char kTextSuggestionsTouchBarDescription[] =
3015 "Enable text suggestions touch bar for textfields.";
3016
Brett Wilson7b44537e2017-08-18 01:38:283017#endif
3018
3019// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343020
3021#if defined(OS_CHROMEOS)
3022
Brett Wilson7b44537e2017-08-18 01:38:283023const char kAcceleratedMjpegDecodeName[] =
3024 "Hardware-accelerated mjpeg decode for captured frame";
3025const char kAcceleratedMjpegDecodeDescription[] =
3026 "Enable hardware-accelerated mjpeg decode for captured frame where "
3027 "available.";
vabr0215a8e2017-03-28 12:47:343028
Brett Wilson7b44537e2017-08-18 01:38:283029const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3030const char kAllowTouchpadThreeFingerClickDescription[] =
3031 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343032
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523033const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3034const char kArcAvailableForChildDescription[] =
3035 "Allow child accounts to start Android apps.";
3036
Brett Wilson7b44537e2017-08-18 01:38:283037const char kArcBootCompleted[] = "Load Android apps automatically";
3038const char kArcBootCompletedDescription[] =
3039 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343040
Luum Habtemariamdaa8fd22018-06-25 22:39:433041const char kArcCupsApiName[] = "ARC CUPS API";
3042const char kArcCupsApiDescription[] =
3043 "Enables support of libcups APIs from ARC";
3044
Satoshi Niwa8b1d5282018-10-24 04:53:033045const char kArcFilePickerExperimentName[] =
3046 "Enable file picker experiment for ARC";
3047const char kArcFilePickerExperimentDescription[] =
3048 "Enables using Chrome OS file picker in ARC.";
3049
Yuichiro Hanada0b63f062018-07-12 02:18:333050const char kArcInputMethodName[] = "Enable ARC input methods.";
3051const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3052
Lev Rumyantsev7a8544312017-08-18 19:26:513053const char kArcNativeBridgeExperimentName[] =
3054 "Enable native bridge experiment for ARC";
3055const char kArcNativeBridgeExperimentDescription[] =
3056 "Enables experimental native bridge feature.";
3057
lgchengecd1c1a62018-01-09 02:59:463058const char kArcUsbHostName[] = "Enable ARC USB host integration";
3059const char kArcUsbHostDescription[] =
3060 "Allow Android apps to use USB host feature on ChromeOS devices.";
3061
Kevin Cernekeeb7f96a52017-10-25 17:40:183062const char kArcVpnName[] = "Enable ARC VPN integration";
3063const char kArcVpnDescription[] =
3064 "Allow Android VPN clients to tunnel Chrome traffic.";
3065
Qiang Xu045aff222018-05-21 23:21:013066const char kAshDisableLoginDimAndBlurName[] =
3067 "Disable dimming and blur on login screen.";
3068const char kAshDisableLoginDimAndBlurDescription[] =
3069 "Disable dimming and blur on login screen.";
3070
3071const char kAshDisableSmoothScreenRotationName[] =
3072 "Disable smooth rotation animations.";
3073const char kAshDisableSmoothScreenRotationDescription[] =
3074 "Disable smooth rotation animations.";
3075
3076const char kAshEnableDisplayMoveWindowAccelsName[] =
3077 "Enable shortcuts for moving window between displays.";
3078const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3079 "Enable shortcuts for moving window between displays.";
3080
3081const char kAshEnableKeyboardShortcutViewerName[] =
3082 "Enable keyboard shortcut viewer.";
3083const char kAshEnableKeyboardShortcutViewerDescription[] =
3084 "Enable keyboard shortcut viewer.";
3085
3086const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3087const char kAshEnableMirroredScreenDescription[] =
3088 "Enable the mirrored screen mode. This mode flips the screen image "
3089 "horizontally.";
3090
Qiang Xu045aff222018-05-21 23:21:013091const char kAshEnablePersistentWindowBoundsName[] =
3092 "Enable persistent window bounds in multi-displays scenario.";
3093const char kAshEnablePersistentWindowBoundsDescription[] =
3094 "Enable persistent window bounds in multi-displays scenario.";
3095
3096const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3097const char kAshEnableTrilinearFilteringDescription[] =
3098 "Enable trilinear filtering.";
3099
Brett Wilson7b44537e2017-08-18 01:38:283100const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3101const char kAshEnableUnifiedDesktopDescription[] =
3102 "Enable unified desktop mode which allows a window to span multiple "
3103 "displays.";
vabr0215a8e2017-03-28 12:47:343104
Mike Wassermanfcc47e42018-06-14 21:24:423105const char kAshKeyboardShortcutViewerAppName[] =
3106 "Keyboard Shortcut Viewer mojo app";
3107const char kAshKeyboardShortcutViewerAppDescription[] =
3108 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3109
Qiang Xu045aff222018-05-21 23:21:013110const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3111const char kAshShelfColorDescription[] =
3112 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3113 "--ash-shelf-color-scheme flag defines how that color is derived.";
3114
3115const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3116const char kAshShelfColorSchemeDescription[] =
3117 "Specify how the color is derived from the wallpaper. This flag is only "
3118 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3119const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3120const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3121const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3122const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3123const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3124const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3125
Sean Kau5e956192017-10-06 22:25:173126const char kBulkPrintersName[] = "Bulk Printers Policy";
3127const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3128
Brett Wilson7b44537e2017-08-18 01:38:283129const char kCaptivePortalBypassProxyName[] =
3130 "Bypass proxy for Captive Portal Authorization";
3131const char kCaptivePortalBypassProxyDescription[] =
3132 "If proxy is configured, it usually prevents from authorization on "
3133 "different captive portals. This enables opening captive portal "
3134 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343135
Yuki Awanob51d3252018-07-11 23:45:553136const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3137const char kChromeVoxArcSupportDescription[] =
3138 "Use ChromeVox screen reader features in ARC";
3139
Brett Wilson7b44537e2017-08-18 01:38:283140const char kCrOSComponentName[] = "Chrome OS Component";
3141const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083142 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343143
Xiaochu Liu51d03fd2017-09-08 23:51:023144const char kCrOSContainerName[] = "Chrome OS Container";
3145const char kCrOSContainerDescription[] =
3146 "Enable the use of Chrome OS Container utility.";
3147
Brett Wilson7b44537e2017-08-18 01:38:283148const char kCrosRegionsModeName[] = "Cros-regions load mode";
3149const char kCrosRegionsModeDescription[] =
3150 "This flag controls cros-regions load mode";
3151const char kCrosRegionsModeDefault[] = "Default";
3152const char kCrosRegionsModeOverride[] = "Override VPD values.";
3153const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343154
Joel Hockeyad5b9762018-09-01 12:06:083155const char kCrostiniFilesName[] = "Crostini Files";
3156const char kCrostiniFilesDescription[] =
3157 "Enable Crostini file sharing in Files app.";
3158
Josh Pratt57cea392018-10-30 02:59:063159const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3160const char kCrostiniUsbSupportDescription[] =
3161 "Enable mounting Usb devices in Crostini.";
3162
Daniele Castagnac4aeb572018-10-23 16:23:573163const char kDisableExplicitDmaFencesName[] = "Disable explicit dma-fences";
3164const char kDisableExplicitDmaFencesDescription[] =
3165 "Always rely on implicit syncrhonization between GPU and display "
3166 "controller instead of using dma-fences explcitily when available.";
3167
Jacob Dufault2becbc482017-08-25 00:36:353168const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3169const char kDisableLockScreenAppsDescription[] =
3170 "Disable new-note action handler apps on the lock screen. The user will "
3171 "not be able to launch the preferred note-taking action from the lock "
3172 "screen, provided that the app supports lock screen note taking.";
3173
Qiang Xu045aff222018-05-21 23:21:013174const char kDisableSystemTimezoneAutomaticDetectionName[] =
3175 "SystemTimezoneAutomaticDetection policy support";
3176const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3177 "Disable system timezone automatic detection device policy.";
3178
Sammie Quonef6b4882017-09-14 16:50:053179const char kDisableTabletAutohideTitlebarsName[] =
3180 "Disable autohide titlebars in tablet mode";
3181const char kDisableTabletAutohideTitlebarsDescription[] =
3182 "Disable tablet mode autohide titlebars functionality. The user will be "
3183 "able to see the titlebar in tablet mode.";
3184
Xiaoqian Dai24b33eb2018-04-10 21:01:573185const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3186const char kDisableTabletSplitViewDescription[] =
3187 "Disable split view for Chrome OS tablet mode.";
3188
Ahmed Fakhry4f567e692018-10-16 15:51:083189const char kDoubleTapToZoomInTabletModeName[] =
3190 "Double-tap to zoom in tablet mode";
3191const char kDoubleTapToZoomInTabletModeDescription[] =
3192 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3193 "page.";
3194
Daniel Zhang01399072018-08-16 22:28:203195const char kEnableAppListSearchAutocompleteName[] =
3196 "App List Search Autocomplete";
3197const char kEnableAppListSearchAutocompleteDescription[] =
3198 "Allow App List search box to autocomplete queries for Google searches and "
3199 "apps.";
3200
Qiang Xu53d1a5832018-05-24 18:44:193201const char kEnableAppShortcutSearchName[] =
3202 "Enable app shortcut search in launcher";
3203const char kEnableAppShortcutSearchDescription[] =
3204 "Enables app shortcut search in launcher";
3205
Vladislav Kaznacheevaa213a02018-10-29 17:54:283206const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3207const char kEnableAppDataSearchDescription[] =
3208 "Allow launcher search to access data available through Firebase App "
3209 "Indexing";
3210
Weidong Guo00d0b2b2018-06-07 00:39:303211const char kEnableAppsGridGapFeatureName[] =
3212 "Enable apps grid gap feature in launcher.";
3213const char kEnableAppsGridGapFeatureDescription[] =
3214 "Enables gaps at the end of each page and enables dragging an item to an "
3215 "empty page in launcher.";
3216
Becca Hughes34415e82018-10-05 18:47:373217extern const char kEnableArcUnifiedAudioFocusName[] =
3218 "Enable unified audio focus on ARC";
3219extern const char kEnableArcUnifiedAudioFocusDescription[] =
3220 "If audio focus is enabled in Chrome then this will delegate audio focus "
3221 "control in Android apps to Chrome.";
3222
Lei Zhang2eca9082017-10-17 20:42:503223const char kEnableBackgroundBlurName[] = "Enable background blur.";
3224const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423225 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393226
Lei Zhang0ca70ea2018-09-07 17:51:013227const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3228const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493229 "Enables the Chrome OS Account Manager";
3230
Lei Zhang0ca70ea2018-09-07 17:51:013231const char kEnableContinueReadingName[] = "Enable continue reading";
3232const char kEnableContinueReadingDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013233 "Enable continue reading feature in Launcher, which allows users to "
3234 "seamlessly continue reading a web page when they switch devices from "
3235 "phones or tablets to Chromebooks.";
3236
Min Chenc2ec7282018-06-29 21:38:463237const char kEnableDragAppsInTabletModeName[] =
3238 "Enable dragging apps in tablet mode";
3239const char kEnableDragAppsInTabletModeDescription[] =
3240 "If enabled, swiping down from the top of the screen when an app is opened "
3241 "in tablet mode can drag the app.";
3242
Xiaoqian Dai82d99192018-05-25 18:51:353243const char kEnableDragTabsInTabletModeName[] =
3244 "Enable dragging tabs in tablet mode";
3245const char kEnableDragTabsInTabletModeDescription[] =
3246 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3247
Sam McNally201fbf94e2018-07-04 03:15:203248const char kEnableDriveFsName[] = "Enable DriveFS";
3249const char kEnableDriveFsDescription[] =
3250 "Enables use of the new DriveFS-based Drive sync client.";
3251
Brett Wilson7b44537e2017-08-18 01:38:283252const char kEnableEhvInputName[] =
3253 "Emoji, handwriting and voice input on opt-in IME menu";
3254const char kEnableEhvInputDescription[] =
3255 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343256
Brett Wilson7b44537e2017-08-18 01:38:283257const char kEnableEncryptionMigrationName[] =
3258 "Enable encryption migration of user data";
3259const char kEnableEncryptionMigrationDescription[] =
3260 "If enabled and the device supports ARC, the user will be asked to update "
3261 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343262
Blake O'Hare9e9317b22017-10-24 02:49:353263const char kEnableFloatingVirtualKeyboardName[] =
3264 "Enable floating virtual keyboard";
3265const char kEnableFloatingVirtualKeyboardDescription[] =
3266 "If enabled, the keyboard will use floating behavior by default.";
3267
Qiang Xu045aff222018-05-21 23:21:013268const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3269 "Enable full screen handwriting virtual keyboard";
3270const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3271 "If enabled, the handwriting virtual keyboard will allow user to write "
3272 "anywhere on the screen";
3273
Xiaohui Chenfb0943e2018-10-16 22:44:373274const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3275const char kEnableGoogleAssistantDescription[] =
3276 "Enable an experimental Assistant implementation that will work on all "
3277 "Chromebooks.";
3278
Qiang Xu045aff222018-05-21 23:21:013279const char kEnableHomeLauncherName[] = "Enable home launcher";
3280const char kEnableHomeLauncherDescription[] =
3281 "Enable home launcher in tablet mode.";
3282
Lei Zhang0ca70ea2018-09-07 17:51:013283const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3284const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013285 "Enables using gestures to hide or show the home launcher.";
3286
Brett Wilson7b44537e2017-08-18 01:38:283287const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3288const char kEnableImeMenuDescription[] =
3289 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343290
Becca Hughes3d63a91d2018-10-17 19:30:393291const char kEnableMediaSessionAshMediaKeysName[] =
3292 "Enable media session media key handling";
3293const char kEnableMediaSessionAshMediaKeysDescription[] =
3294 "Enable the media session service to handle media keys. This requires "
3295 "the audio focus flag to be enabled too.";
3296
Weidong Guo45836d1b2018-06-27 23:51:163297const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3298const char kEnableNewStyleLauncherDescription[] =
3299 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3300 "in app launcher.";
3301
Sammie Quon248ccef2018-08-28 23:00:013302const char kEnableOobeRecommendAppsScreenName[] =
3303 "Enable OOBE Recommend Apps Screen";
3304const char kEnableOobeRecommendAppsScreenDescription[] =
3305 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3306 "from other devices";
3307
Qiang Xu045aff222018-05-21 23:21:013308const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3309const char kEnablePerUserTimezoneDescription[] =
3310 "Chrome OS system timezone preference is stored and handled for each user "
3311 "individually.";
3312
Vladislav Kaznacheevaa213a02018-10-29 17:54:283313const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3314const char kEnablePlayStoreSearchDescription[] =
3315 "Enable Play Store search in launcher.";
3316
Qiang Xu045aff222018-05-21 23:21:013317const char kEnableSettingsShortcutSearchName[] =
3318 "Enable Settings shortcut search";
3319const char kEnableSettingsShortcutSearchDescription[] =
3320 "Enable Settings shortcut search in launcher.";
3321
Darren Shen3e49c63d2018-03-28 04:45:503322const char kEnableStylusVirtualKeyboardName[] =
3323 "Enable stylus virtual keyboard";
3324const char kEnableStylusVirtualKeyboardDescription[] =
3325 "If enabled, tapping with a stylus will show the handwriting virtual "
3326 "keyboard.";
3327
Jordy Greenblatt2f23df22018-02-22 19:49:193328const char kEnableUnifiedMultiDeviceSettingsName[] =
3329 "Enable unified MultiDevice settings";
3330const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3331 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3332 "MultiDevice settings.";
3333
3334const char kEnableUnifiedMultiDeviceSetupName[] =
3335 "Enable unified MultiDevice setup";
3336const char kEnableUnifiedMultiDeviceSetupDescription[] =
3337 "Enable the device to setup all MultiDevice services in a single workflow.";
3338
Darren Shen11c770f312018-06-13 07:36:393339const char kEnableVirtualKeyboardMdUiName[] =
3340 "Enable Material Design virtual keyboard";
3341const char kEnableVirtualKeyboardMdUiDescription[] =
3342 "If enabled, loads the Material Design UI for the virtual keyboard.";
3343
Darren Shen0b4e5802018-07-10 03:12:263344const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3345const char kEnableVirtualKeyboardUkmDescription[] =
3346 "Enables UKM for virtual keyboard";
3347
Lei Zhang0ca70ea2018-09-07 17:51:013348const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3349const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013350 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283351 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013352
Brett Wilson7b44537e2017-08-18 01:38:283353const char kEolNotificationName[] = "Disable Device End of Life notification.";
3354const char kEolNotificationDescription[] =
3355 "Disable Notifcation when Device is End of Life.";
3356
3357const char kExperimentalAccessibilityFeaturesName[] =
3358 "Experimental accessibility features";
3359const char kExperimentalAccessibilityFeaturesDescription[] =
3360 "Enable additional accessibility features in the Settings page.";
3361
Brett Wilson7b44537e2017-08-18 01:38:283362const char kFileManagerTouchModeName[] = "Files App. touch mode";
3363const char kFileManagerTouchModeDescription[] =
3364 "Touchscreen-specific interactions of the Files app.";
3365
3366const char kFirstRunUiTransitionsName[] =
3367 "Animated transitions in the first-run tutorial";
3368const char kFirstRunUiTransitionsDescription[] =
3369 "Transitions during first-run tutorial are animated.";
3370
Brett Wilson7b44537e2017-08-18 01:38:283371const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3372const char kForceEnableStylusToolsDescription[] =
3373 "Forces display of the stylus tools menu in the shelf and the stylus "
3374 "section in settings, even if there is no attached stylus device.";
3375
3376const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3377const char kGestureEditingDescription[] =
3378 "Enable/Disable gesture editing option in the settings page for the "
3379 "virtual keyboard.";
3380
3381const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3382const char kGestureTypingDescription[] =
3383 "Enable/Disable gesture typing option in the settings page for the virtual "
3384 "keyboard.";
3385
3386const char kInputViewName[] = "Input views";
3387const char kInputViewDescription[] =
3388 "Enable IME extensions to supply custom views for user input such as "
3389 "virtual keyboards.";
3390
Megumi Hattori5a0d4182018-03-06 11:09:503391const char kLockScreenNotificationName[] = "Lock screen notification";
3392const char kLockScreenNotificationDescription[] =
3393 "Enable notifications on the lock screen.";
3394
Qiang Xu045aff222018-05-21 23:21:013395const char kMaterialDesignInkDropAnimationSpeedName[] =
3396 "Material design ink drop animation speed";
3397const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3398 "Sets the speed of the experimental visual feedback animations for "
3399 "material design.";
3400const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3401const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3402
Brett Wilson7b44537e2017-08-18 01:38:283403const char kMemoryPressureThresholdName[] =
3404 "Memory discard strategy for advanced pressure handling";
3405const char kMemoryPressureThresholdDescription[] =
3406 "Memory discarding strategy to use";
3407const char kConservativeThresholds[] =
3408 "Conservative memory pressure release strategy";
3409const char kAggressiveCacheDiscardThresholds[] =
3410 "Aggressive cache release strategy";
3411const char kAggressiveTabDiscardThresholds[] =
3412 "Aggressive tab release strategy";
3413const char kAggressiveThresholds[] =
3414 "Aggressive tab and cache release strategy";
3415
3416const char kMtpWriteSupportName[] = "MTP write support";
3417const char kMtpWriteSupportDescription[] =
3418 "MTP write support in File System API (and file manager). In-place editing "
3419 "operations are not supported.";
3420
Kyle Horimoto027590fb2018-02-13 22:19:483421const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3422const char kMultiDeviceApiDescription[] =
3423 "Enable Mojo-based API which provides synced device metadata and the "
3424 "ability to connect to other devices associated the logged-in Google "
3425 "account.";
3426
vabr0215a8e2017-03-28 12:47:343427const char kNetworkPortalNotificationName[] =
3428 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343429const char kNetworkPortalNotificationDescription[] =
3430 "If enabled, notification is displayed when device is connected to a "
3431 "network behind captive portal.";
3432
Brett Wilson7b44537e2017-08-18 01:38:283433const char kNewKoreanImeName[] = "New Korean IME";
3434const char kNewKoreanImeDescription[] =
3435 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343436
Anand K. Mistrydb5e0102018-10-04 04:24:003437const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283438const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003439 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343440
Qiang Xu045aff222018-05-21 23:21:013441const char kOfficeEditingComponentAppName[] =
3442 "Office Editing for Docs, Sheets & Slides";
3443const char kOfficeEditingComponentAppDescription[] =
3444 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3445
Brett Wilson7b44537e2017-08-18 01:38:283446const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3447const char kPhysicalKeyboardAutocorrectDescription[] =
3448 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3449 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343450
3451const char kPrinterProviderSearchAppName[] =
3452 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343453const char kPrinterProviderSearchAppDescription[] =
3454 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193455 "searches Chrome Web Store for extensions that support printing to a USB "
3456 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343457
Brett Wilson7b44537e2017-08-18 01:38:283458const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3459const char kQuickUnlockPinDescription[] =
3460 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3461 "device on the lock screen after you have signed into your device.";
3462const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3463const char kQuickUnlockPinSigninDescription[] =
3464 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3465 "device. After changing this flag PIN needs to be set up again.";
3466const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3467const char kQuickUnlockFingerprintDescription[] =
3468 "Enabling fingerprint quick unlock allows you to setup and use a "
3469 "fingerprint to unlock your Chromebook on the lock screen after you have "
3470 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343471
James Cook0ba192bf2017-12-01 20:53:113472const char kShowTapsName[] = "Show taps";
3473const char kShowTapsDescription[] =
3474 "Draws a circle at each touch point, which makes touch points more obvious "
3475 "when projecting or mirroring the display. Similar to the Android OS "
3476 "developer option.";
3477
3478const char kShowTouchHudName[] = "Show HUD for touch points";
3479const char kShowTouchHudDescription[] =
3480 "Shows a trail of colored dots for the last few touch points. Pressing "
3481 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3482 "debug hardware issues that generate spurious touch events.";
3483
James Cook28d7c482018-09-07 21:00:543484const char kSingleProcessMashName[] =
3485 "In-process window service (SingleProcessMash)";
3486const char kSingleProcessMashDescription[] =
3487 "Runs the system UI (ash) as a mojo service, but inside the browser "
3488 "process. The browser uses the mojo window service (ws) APIs.";
3489
Ahmed Fakhry58e6ef542018-09-04 18:05:383490const char kSlideTopChromeWithPageScrollsName[] =
3491 "Slide top-chrome with page scrolls";
3492const char kSlideTopChromeWithPageScrollsDescription[] =
3493 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3494 " UI.";
3495
Jorge Gil5a8ccde2018-07-10 01:46:213496const char kSmartTextSelectionName[] = "Smart Text Selection";
3497const char kSmartTextSelectionDescription[] =
3498 "Shows quick actions for text "
3499 "selections in the context menu.";
3500
Chung-Sheng Wu468b0b32017-09-01 14:41:573501const char kSysInternalsName[] = "Enable Sys-Internals";
3502const char kSysInternalsDescription[] =
3503 "If enabled, user can monitor system information at "
3504 "chrome://sys-internals.";
3505
Brett Wilson7b44537e2017-08-18 01:38:283506const char kTetherName[] = "Instant Tethering";
3507const char kTetherDescription[] =
3508 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3509 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373510
Brett Wilson7b44537e2017-08-18 01:38:283511const char kTouchscreenCalibrationName[] =
3512 "Enable/disable touchscreen calibration option in material design settings";
3513const char kTouchscreenCalibrationDescription[] =
3514 "If enabled, the user can calibrate the touch screen displays in "
3515 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093516
Qiang Xu045aff222018-05-21 23:21:013517const char kUiDevToolsName[] = "Enable native UI inspection";
3518const char kUiDevToolsDescription[] =
3519 "Enables inspection of native UI elements. For local inspection use "
3520 "chrome://inspect#other";
3521
3522const char kUiShowCompositedLayerBordersName[] =
3523 "Show UI composited layer borders";
3524const char kUiShowCompositedLayerBordersDescription[] =
3525 "Show border around composited layers created by UI.";
3526const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3527const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3528const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3529const char kUiShowCompositedLayerBordersAll[] = "All";
3530
3531const char kUiSlowAnimationsName[] = "Slow UI animations";
3532const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3533
Mitsuru Oshima63d3f2a2017-08-23 00:12:113534// Force UI Mode
3535const char kUiModeName[] = "Force Ui Mode";
3536const char kUiModeDescription[] =
3537 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3538 R"*(despite its current orientation. "Tablet" means that the )*"
3539 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3540 R"*(means that the chromebook will act as if it were in clamshell )*"
3541 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3542 R"*(the two, based on its orientation.)*";
Min Chenfd25cd22018-11-06 01:50:513543const char kUiModeTablet[] = "Tablet";
Mitsuru Oshima63d3f2a2017-08-23 00:12:113544const char kUiModeClamshell[] = "Clamshell";
3545const char kUiModeAuto[] = "Auto (default)";
3546
Sonny Sasaka7fecfeda2018-07-11 23:47:553547const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3548const char kUnfilteredBluetoothDevicesDescription[] =
3549 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3550
Allen Webbcdc8e69d2018-09-12 20:36:003551const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3552const char kUsbguardDescription[] =
3553 "Prevents newly connected USB devices from operating at the lock screen"
3554 " until Chrome OS is unlocked to protect against malicious USB devices."
3555 " Already connected USB devices will continue to function.";
3556
Micah Morton79a7b522018-09-27 15:15:303557const char kShillSandboxingName[] =
3558 "Run shill, the ChromeOS network manager, in a sandbox.";
3559const char kShillSandboxingDescription[] =
3560 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3561
James Cooka1bcfa9a2018-01-30 00:18:403562const char kUseMashName[] = "Out-of-process system UI (mash)";
3563const char kUseMashDescription[] =
3564 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3565 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283566
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343567// TODO(mcasas): remove after https://crbug.com/771345.
3568const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3569const char kUseMonitorColorSpaceDescription[] =
3570 "Enables Chrome to use the color space information provided by the monitor"
3571 " instead of the default sRGB color space.";
3572
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233573const char kVaapiJpegImageDecodeAccelerationName[] =
3574 "VA-API JPEG decode acceleration for images";
3575const char kVaapiJpegImageDecodeAccelerationDescription[] =
3576 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3577 " captures) using the VA-API.";
3578
Brett Wilson7b44537e2017-08-18 01:38:283579const char kVideoPlayerChromecastSupportName[] =
3580 "Experimental Chromecast support for Video Player";
3581const char kVideoPlayerChromecastSupportDescription[] =
3582 "This option enables experimental Chromecast support for Video Player app "
3583 "on ChromeOS.";
3584
3585const char kVirtualKeyboardName[] = "Virtual Keyboard";
3586const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3587
3588const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3589const char kVirtualKeyboardOverscrollDescription[] =
3590 "Enables virtual keyboard overscroll support.";
3591
3592const char kVoiceInputName[] = "Voice input on virtual keyboard";
3593const char kVoiceInputDescription[] =
3594 "Enables voice input on virtual keyboard.";
3595
3596const char kWakeOnPacketsName[] = "Wake On Packets";
3597const char kWakeOnPacketsDescription[] =
3598 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203599
yhanadac5bff5b2017-05-18 06:37:093600#endif // defined(OS_CHROMEOS)
3601
Brett Wilson7b44537e2017-08-18 01:38:283602// Random platform combinations -----------------------------------------------
3603
3604#if defined(OS_WIN) || defined(OS_LINUX)
3605
3606const char kEnableInputImeApiName[] = "Enable Input IME API";
3607const char kEnableInputImeApiDescription[] =
3608 "Enable the use of chrome.input.ime API.";
3609
3610#endif // defined(OS_WIN) || defined(OS_LINUX)
3611
3612#if defined(OS_WIN) || defined(OS_MACOSX)
3613
3614const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3615const char kAutomaticTabDiscardingDescription[] =
3616 "If enabled, tabs get automatically discarded from memory when the system "
3617 "memory is low. Discarded tabs are still visible on the tab strip and get "
3618 "reloaded when clicked on. Info about discarded tabs can be found at "
3619 "chrome://discards.";
3620
3621#endif // defined(OS_WIN) || defined(OS_MACOSX)
3622
lanwei83f54452018-06-21 23:51:043623#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3624
3625const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3626const char kDirectManipulationStylusDescription[] =
3627 "If enabled, Chrome will scroll web pages on stylus drag.";
3628
3629#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3630
Justin Donnelly110e40c2018-06-01 21:48:433631const char kExperimentalUiName[] = "Use all upcoming UI features";
3632const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483633
Brett Wilson7b44537e2017-08-18 01:38:283634// Feature flags --------------------------------------------------------------
3635
3636#if BUILDFLAG(ENABLE_VR)
3637
David Dorwin5a496c32017-11-17 01:45:053638const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3639const char kWebVrVsyncAlignDescription[] =
3640 "Align WebVR application rendering with VSync for smoother animations.";
3641
Bill Orr103ed272018-02-14 21:23:053642#if BUILDFLAG(ENABLE_OCULUS_VR)
3643const char kOculusVRName[] = "Oculus hardware support";
3644const char kOculusVRDescription[] =
3645 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3646 "Windows 10 or later).";
3647#endif // ENABLE_OCULUS_VR
3648
Bill Orr49527562017-11-22 16:58:483649#if BUILDFLAG(ENABLE_OPENVR)
3650const char kOpenVRName[] = "OpenVR hardware support";
3651const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073652 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3653 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483654#endif // ENABLE_OPENVR
3655
Bill Orrecfb9fe2018-10-02 00:11:103656#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3657const char kXRSandboxName[] = "XR device sandboxing";
3658const char kXRSandboxDescription[] =
3659 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3660#endif // ENABLE_ISOLATED_XR_SERVICE
3661
Brett Wilson7b44537e2017-08-18 01:38:283662#endif // ENABLE_VR
3663
Nico Weberaf3b00b2017-09-11 17:58:173664#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283665
3666const char kNaclDebugMaskName[] =
3667 "Restrict Native Client GDB-based debugging by pattern";
3668const char kNaclDebugMaskDescription[] =
3669 "Restricts Native Client application GDB-based debugging by URL of "
3670 "manifest file. Native Client GDB-based debugging must be enabled for this "
3671 "option to work.";
3672const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3673const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3674 "Debug everything except secure shell and the PNaCl translator.";
3675const char kNaclDebugMaskChoiceIncludeDebug[] =
3676 "Debug only if manifest URL ends with debug.nmf.";
3677
3678const char kNaclDebugName[] = "Native Client GDB-based debugging";
3679const char kNaclDebugDescription[] =
3680 "Enable GDB debug stub. This will stop a Native Client application on "
3681 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3682
3683const char kNaclName[] = "Native Client";
3684const char kNaclDescription[] =
3685 "Support Native Client for all web applications, even those that were not "
3686 "installed from the Chrome Web Store.";
3687
3688const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3689const char kPnaclSubzeroDescription[] =
3690 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3691
Nico Weberaf3b00b2017-09-11 17:58:173692#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283693
Brett Wilson7b44537e2017-08-18 01:38:283694const char kWebrtcH264WithOpenh264FfmpegName[] =
3695 "WebRTC H.264 software video encoder/decoder";
3696const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3697 "When enabled, an H.264 software video encoder/decoder pair is included. "
3698 "If a hardware encoder/decoder is also available it may be used instead of "
3699 "this encoder/decoder.";
3700
Henrik Boström386afc6d62018-10-08 07:47:153701const char kWebrtcUnifiedPlanByDefaultName[] =
3702 "WebRTC: Use Unified Plan SDP Semantics by default";
3703const char kWebrtcUnifiedPlanByDefaultDescription[] =
3704 "RTCPeerConnections generate and expect the standards compliant SDP format "
3705 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
3706 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
3707 "RTCRtpTransceiver support is also enabled in Unified Plan.";
3708
Brett Wilson7b44537e2017-08-18 01:38:283709#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3710
3711const char kAutofillCreditCardUploadName[] =
3712 "Enable offering upload of Autofilled credit cards";
3713const char kAutofillCreditCardUploadDescription[] =
3714 "Enables a new option to upload credit cards to Google Payments for sync "
3715 "to all Chrome devices.";
3716
3717#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3718
Becca Hughesdc96e842018-05-04 22:48:283719#if defined(OS_ANDROID)
3720
3721const char kDisplayCutoutAPIName[] =
3722 "Enable support for the Display Cutout API";
3723const char kDisplayCutoutAPIDescription[] =
3724 "Enables developers to support devices that have a display cutout.";
3725
3726#endif // defined(OS_ANDROID)
3727
Brett Wilson7b44537e2017-08-18 01:38:283728// ============================================================================
3729// Don't just add flags to the end, put them in the right section in
3730// alphabetical order just like the header file.
3731// ============================================================================
3732
vabr0215a8e2017-03-28 12:47:343733} // namespace flag_descriptions