blob: 3044cea540faa3bbda2dc98d0037e406ea5b7a5f [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
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37406const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
407 "Enable Google Pay branding when offering credit card upload on Android";
408const char
409 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
410 "If enabled, shows the Google Pay logo and a shorter header message "
411 "when credit card upload to Google Payments is offered on Android.";
412
siyua9a4a8872018-10-05 03:46:56413const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
414 "Show the upload results dialog after local card migration";
415const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
416 "If enabled, the local card migration offer dialog will remain pending "
417 "after the user clicks the save button. Once migration is finished, "
418 "the dialog will be updated with the results of each card.";
419
tmartinocd414732018-02-12 19:01:01420const char kEnableAutofillNativeDropdownViewsName[] =
421 "Display Autofill Dropdown Using Views";
422const char kEnableAutofillNativeDropdownViewsDescription[] =
423 "If enabled, the Autofill Dropdown will be built natively using Views, "
424 "rather than painted directly to a canvas.";
425
Fabio Tirelo87552e02018-07-06 15:43:21426const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
427 "Show unlabeled expiration dates on the save card dialog";
428const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
429 "If enabled, expiration dates on the save card dialog (both local and "
430 "upstream) are shown without an 'Exp:' label.";
431
Manas Verma99541e52018-08-03 20:37:23432const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
433 "Show Sign-In/Sync promo after saving a card locally";
434const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
435 "If enabled, shows a sign in prompt to the user after the user "
436 "saves a card locally. This also introduces a Manage Cards bubble "
437 "which you can access from the card icon after saving a card.";
438
Jared Saul8a0c1e92018-10-10 18:22:47439const char kEnableAutofillSaveCreditCardUsesStrikeSystemName[] =
440 "Enable limit on offering to save the same credit card repeatedly";
441const char kEnableAutofillSaveCreditCardUsesStrikeSystemDescription[] =
442 "If enabled, prevents popping up the credit card offer-to-save prompt if "
443 "it has repeatedly been ignored, declined, or failed.";
444
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23445const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
446 "Send experiment flag IDs in calls to Google Payments";
447const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
448 "If enabled, adds the status of certain experiment variations when making "
449 "calls to Google Payments.";
450
Becca Hughes4d896c42018-05-29 16:58:51451const char kEnableAutoplayIgnoreWebAudioName[] =
452 "Autoplay ignores WebAudio playbacks";
453const char kEnableAutoplayIgnoreWebAudioDescription[] =
454 "If enabled, autoplay restrictions will be ignored for WebAudio.";
455
Becca Hughesc62f6a1d2018-08-16 15:59:47456const char kEnableAutoplayUnifiedSoundSettingsName[] =
457 "Autoplay unified sound settings UI";
458const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
459 "If enabled, shows the new unified autoplay sound settings UI.";
460
Brett Wilsonf27ff602017-07-07 22:28:47461const char kEnableBrotliName[] = "Brotli Content-Encoding.";
462const char kEnableBrotliDescription[] =
463 "Enable Brotli Content-Encoding support.";
464
Qiang Xu0f602fe62017-12-22 01:31:20465const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
466const char kEnableCaptivePortalRandomUrlDescription[] =
467 "Enable Captive Portal URL randomization.";
468
Eriko Kurimoto36975992018-08-09 07:15:13469const char kEnableChromevoxDeveloperOptionName[] =
470 "Enable Chromevox developer option";
471const char kEnableChromevoxDeveloperOptionDescription[] =
472 "This option provides tools for developing in chromevox.";
473
sclittle50e4bb92017-07-08 02:23:03474const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
475
476const char kEnableClientLoFiDescription[] =
477 "Enable showing low fidelity images on some pages on slow networks.";
478
Patrick Noland8bc57472018-06-19 21:09:54479const char kEnableCSSFragmentIdentifiersName[] =
480 "Enable CSS Fragment Identifiers";
481const char kEnableCSSFragmentIdentifiersDescription[] =
482 "Enable support for specifying a target element using a css selector in "
483 "the fragment identifier.";
484
David Reveman87b4b692018-03-09 21:22:22485const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
486const char kEnableCursorMotionBlurDescription[] =
487 "Enable motion blur effect for the cursor.";
488
Doug Arnett08b4067b2017-10-12 20:14:44489const char kEnableNoScriptPreviewsName[] = "NoScript previews";
490
491const char kEnableNoScriptPreviewsDescription[] =
492 "Enable disabling JavaScript on some pages on slow networks.";
493
Thanh Le2c279fbc2017-11-21 01:25:40494const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
495const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
496const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
497const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
498const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
499const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
500const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
501const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
502const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
503const char kDataReductionProxyServerAlternative10[] =
504 "Use alt. server config 10";
rajendrantcfa60ba2018-10-30 09:16:54505const char kEnableDataReductionProxyNetworkServiceName[] =
506 "Data reduction proxy with network service";
507const char kEnableDataReductionProxyNetworkServiceDescription[] =
508 "Enable data reduction proxy when network service is enabled";
Brett Wilsonf27ff602017-07-07 22:28:47509const char kEnableDataReductionProxyServerExperimentName[] =
510 "Use an alternative Data Saver back end configuration.";
511const char kEnableDataReductionProxyServerExperimentDescription[] =
512 "Enable a different approach to saving data by configuring the back end "
513 "server";
514
515const char kEnableDataReductionProxySavingsPromoName[] =
516 "Data Saver 1 MB Savings Promo";
517const char kEnableDataReductionProxySavingsPromoDescription[] =
518 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
519 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
520 "enabled for the promo to be shown.";
521
Matt Giucad4870432017-11-24 01:04:38522const char kEnableDesktopPWAsName[] = "Desktop PWAs";
523const char kEnableDesktopPWAsDescription[] =
524 "Experimental windowing and install banner treatment for Progressive Web "
525 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17526
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59527const char kEnableDesktopPWAsLinkCapturingName[] =
528 "Desktop PWAs Link Capturing";
529const char kEnableDesktopPWAsLinkCapturingDescription[] =
530 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
531 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
532 "#enable-desktop-pwas.";
533
Jay Harris52511a02018-11-02 01:00:28534const char kDesktopPWAsCustomTabUIName[] = "Desktop PWAs Custom Tab UI";
535const char kDesktopPWAsCustomTabUIDescription[] =
536 "Browsing out-of-scope links in a desktop PWA will use the custom tab UI "
537 "for displaying the page title and origin instead of the location bar.";
538
Jay Harrisee7a7bc62018-10-09 01:47:49539const char kDesktopPWAsStayInWindowName[] =
540 "Desktop PWAs out-of-scope links open in the app window";
541const char kDesktopPWAsStayInWindowDescription[] =
Jay Harris52511a02018-11-02 01:00:28542 "Links to sites in a different scope will open inside the PWA window as "
543 "opposed to in the browser.";
Jay Harrisee7a7bc62018-10-09 01:47:49544
Christopher Lame66b7812018-09-26 01:49:24545const char kEnableSystemWebAppsName[] = "System Web Apps";
546const char kEnableSystemWebAppsDescription[] =
547 "Experimental system for using the Desktop PWA framework for running System"
548 "Apps (e.g Settings, Discover).";
549
Ahmed Fakhry0037de02018-01-29 19:58:31550const char kEnableDockedMagnifierName[] = "Docked Magnifier";
551const char kEnableDockedMagnifierDescription[] =
552 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
553
Ramya Nagarajan5b41d8d2018-04-02 19:53:02554const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
555const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09556 "Enables the Emoji picker item in context menus for editable text areas, if"
557 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02558
David Benjamin570460e2018-10-16 06:01:29559const char kEnforceTLS13DowngradeName[] = "TLS 1.3 downgrade hardening";
560const char kEnforceTLS13DowngradeDescription[] =
561 "This option enables the TLS 1.3 downgrade hardening mechanism. This "
562 "hardens TLS 1.3 connections while remaining compatible with TLS 1.0 "
563 "through 1.2 connections. Firewalls and proxies that do not function when "
564 "this is enabled do not implement TLS 1.0 through 1.2 correctly or "
565 "securely. They must be fixed by vendors.";
566
Brett Wilsonf27ff602017-07-07 22:28:47567const char kEnableEnumeratingAudioDevicesName[] =
568 "Experimentally enable enumerating audio devices.";
569const char kEnableEnumeratingAudioDevicesDescription[] =
570 "Experimentally enable the use of enumerating audio devices.";
571
572const char kEnableGenericSensorName[] = "Generic Sensor";
573const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25574 "Enables motion sensor classes based on Generic Sensor API, i.e. "
575 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
576 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
577
578const char kEnableGenericSensorExtraClassesName[] =
579 "Generic Sensor Extra Classes";
580const char kEnableGenericSensorExtraClassesDescription[] =
581 "Enables an extra set of sensor classes based on Generic Sensor API, which "
582 "expose previously unavailable platform features, i.e. AmbientLightSensor "
583 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47584
Brett Wilsonf27ff602017-07-07 22:28:47585const char kEnableHDRName[] = "HDR mode";
586const char kEnableHDRDescription[] =
587 "Enables HDR support on compatible displays.";
588
Ryan Sturm6a850902018-06-09 02:27:34589const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
590const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09591 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25592 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01593 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
594 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34595
Robert Ogden5a63b242018-09-17 21:38:57596const char kEnablePreviewsAndroidOmniboxUIName[] =
597 "Previews Android Omnibox UI";
598const char kEnablePreviewsAndroidOmniboxUIDescription[] =
599 "Enable showing the Previews UI in the Omnibox on Android instead of an "
600 "InfoBar. This has no effect on other platforms.";
601
Robert Ogdence8c9572018-10-08 23:08:48602const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
603const char kEnableLitePageServerPreviewsDescription[] =
604 "Enable showing Lite Page Previews served from the Chrome Data Proxy "
605 "service. This feature will cause Chrome to redirect eligible navigations "
606 "to a Google-owned domain that serves a pre-rendered version of the "
607 "original page.";
608
Brett Wilsonf27ff602017-07-07 22:28:47609const char kEnableHttpFormWarningName[] =
610 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15611 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47612const char kEnableHttpFormWarningDescription[] =
613 "Attaches a warning UI to any password or credit card fields detected when "
614 "the top-level page is not HTTPS";
615
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41616const char kLayeredAPIName[] = "Experimental layered APIs";
617const char kLayeredAPIDescription[] =
618 "Enable layered API infrastructure, as well as several experimental "
619 "layered APIs. The syntax and the APIs exposed are experimental and will "
620 "change over time.";
621
Ian Kilpatricke68ef11a2018-07-04 03:52:10622const char kEnableLayoutNGName[] = "Enable LayoutNG";
623const char kEnableLayoutNGDescription[] =
624 "Enable Blink's next generation layout engine.";
625
Scott Littled0fd2d002018-04-13 03:37:26626const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
627const char kEnableLazyFrameLoadingDescription[] =
628 "Defers the loading of certain cross-origin frames until the page is "
629 "scrolled down near them.";
630
rajendrant793ff512018-08-10 17:07:59631const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
632const char kEnableLazyImageLoadingDescription[] =
633 "Defers the loading of images until the page is scrolled down near them.";
634
Sidney San Martín9375b892017-09-09 00:29:54635const char kEnableMacMaterialDesignDownloadShelfName[] =
636 "Enable Material Design download shelf";
637
638const char kEnableMacMaterialDesignDownloadShelfDescription[] =
639 "If enabled, the download shelf uses Material Design.";
640
Anton Urusov47cd4932017-09-19 14:41:41641const char kEnablePolicyToolName[] = "Enable policy management page";
642const char kEnablePolicyToolDescription[] =
643 "If enabled, the chrome://policy-tool URL loads a page for managing "
644 "policies.";
645
Weidong Guof1e5a892018-01-06 02:26:39646const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28647 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39648const char kDisableMultiMirroringDescription[] =
649 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28650
Brett Wilsonf27ff602017-07-07 22:28:47651const char kEnableNavigationTracingName[] = "Enable navigation tracing";
652const char kEnableNavigationTracingDescription[] =
653 "This is to be used in conjunction with the trace-upload-url flag. "
654 "WARNING: When enabled, Chrome will record performance data for every "
655 "navigation and upload it to the URL specified by the trace-upload-url "
656 "flag. The trace may include personally identifiable information (PII) "
657 "such as the titles and URLs of websites you visit.";
658
Bernhard Bauer5533f9912017-11-06 17:56:02659const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
660const char kEnableNetworkLoggingToFileDescription[] =
661 "Enables network logging to a file named netlog.json in the user data "
662 "directory. The file can be imported into chrome://net-internals.";
663
Brett Wilsonf27ff602017-07-07 22:28:47664const char kEnableNetworkServiceName[] = "Enable network service";
665const char kEnableNetworkServiceDescription[] =
666 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40667 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47668
John Abd-El-Malek8067cc02017-12-04 23:23:20669const char kEnableNetworkServiceInProcessName[] =
670 "Runs network service in-process";
671const char kEnableNetworkServiceInProcessDescription[] =
672 "Runs the network service in the browser process.";
673
dpapaded8349472017-10-25 03:21:27674const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
675const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37676 "If enabled, Print Preview will display a newer UI. This feature is "
677 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27678
Ahmed Fakhry2fd8fc82017-07-28 16:31:12679const char kEnableNightLightName[] = "Enable Night Light";
680const char kEnableNightLightDescription[] =
681 "Enable the Night Light feature which controls the color temperature of "
682 "the screen.";
683
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28684const char kEnableNotificationScrollBarName[] =
685 "Enable notification list scroll bar";
686const char kEnableNotificationScrollBarDescription[] =
687 "Enable the scroll bar of the notification list in Unified System Tray.";
688
Mitsuru Otsukae8304de2018-10-29 02:14:36689const char kEnableNotificationExpansionAnimationName[] =
690 "Enable notification expansion animations";
691const char kEnableNotificationExpansionAnimationDescription[] =
692 "Enable notification animations whenever the expansion state is toggled.";
693
xlou8b56f672018-02-09 23:34:30694const char kEnableNupPrintingName[] = "Enable N-up printing";
695const char kEnableNupPrintingDescription[] =
696 "Enable N-up printing in the print preview panel.";
697
Sophie Chang117a3b22017-10-24 22:25:36698const char kEnableOptimizationHintsName[] = "Optimization Hints";
699const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50700 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36701 "into decisions for what optimizations to perform on some pages on slow "
702 "networks.";
703
Yutaka Hirano98be3272017-08-07 17:55:39704const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
705const char kEnableOutOfBlinkCORSDescription[] =
706 "CORS handling logic is moved out of blink.";
707
Sammie Quon0fbf0782018-05-01 22:11:08708const char kEnableOverviewSwipeToCloseName[] =
709 "Enable overview swipe to close.";
710const char kEnableOverviewSwipeToCloseDescription[] =
711 "Enables closing of items in overview mode by dragging or flinging "
712 "vertically.";
713
kylechar7051c092018-02-05 20:31:39714const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
715const char kVizDisplayCompositorDescription[] =
716 "If enabled, the display compositor runs as part of the viz service in the"
717 "GPU process.";
718
Ria Jiang6a129b982018-03-01 18:30:40719const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
720const char kVizHitTestDrawQuadDescription[] =
721 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
722 "with hit-test data computed from the CompositorFrame.";
723
Erik Chen49bbfa22017-08-18 08:49:56724const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23725 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56726const char kEnableOutOfProcessHeapProfilingDescription[] =
727 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19728 "malloced objects. Heap dumps can be obtained at chrome://tracing "
729 "[category:memory-infra] and chrome://memory-internals. This setting "
730 "controls which processes are profiled. As long as this setting is not "
731 "disabled, users can start profiling any given process in "
732 "chrome://memory-internals.";
733const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
734const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
735const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
736const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
737const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10738const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19739 "None by default. Visit chrome://memory-internals to choose which "
740 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15741const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
742 "Profile a random sampling of renderer processes, ensuring only one is "
743 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19744
Erik Chen8bb76b52017-12-06 19:06:25745const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19746 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25747const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
748 "By default, small allocations are pruned from the heap dump. This reduces "
749 "the size of the compressed trace by 100x. If pruning is disabled, the "
750 "chrome://tracing UI may be unable to take or load the trace. Save the "
751 "trace directly using chrome://memory-internals, and use other mechanisms "
752 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
753 "automatically uploaded traces will always be pruned. This only affects "
754 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56755
erikchen8bc20d82018-02-14 03:21:51756const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
757const char kOutOfProcessHeapProfilingSamplingDescription[] =
758 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22759 "10000. This results in low noise for large and/or frequent allocations ["
760 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
761 "total size of malloc-ed objects] and large and/or frequent allocations "
762 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51763
Erik Chen3303fd0232018-01-11 20:29:05764const char kOOPHPStackModeName[] =
765 "The type of stack to record for memlog heap dumps";
766const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19767 "By default, memlog heap dumps record native stacks, which requires a "
768 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55769 "pointers to work on Android. Native with thread names will add the thread "
770 "name as the first frame of each native stack. It's also possible to "
771 "record a pseudo stack using trace events as identifiers. It's also "
772 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19773const char kOOPHPStackModeMixed[] = "Mixed";
774const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55775const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19776const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05777
François Beaufort2e75f492018-02-08 20:44:46778const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47779const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46780 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47781
F#m59d036e2017-09-13 07:22:17782const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
783const char kEnablePixelCanvasRecordingDescription[] =
784 "Pixel canvas recording allows the compositor to raster contents aligned "
785 "with the pixel and improves text rendering. This should be enabled when a "
786 "device is using fractional scale factor.";
787
Ella Gebee81c92018-08-14 15:51:09788const char kEnableResamplingInputEventsName[] =
789 "Enable resampling input events";
790const char kEnableResamplingInputEventsDescription[] =
791 "Predicts mouse and touch inputs position at rAF time based on previous "
792 "input";
793const char kEnableResamplingScrollEventsName[] =
794 "Enable resampling scroll events";
795const char kEnableResamplingScrollEventsDescription[] =
796 "Predicts the scroll amount at vsync time based on previous input";
797
Doug Arnettaa0bf202018-08-27 19:42:11798const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
799const char kEnableResourceLoadingHintsDescription[] =
800 "Enable using server-provided resource loading hints to provide a preview "
801 "over slow network connections.";
802
Lei Zhang0ca70ea2018-09-07 17:51:01803const char kEnableSyncUserConsentSeparateTypeName[] =
vitaliiid36191b2018-06-11 07:40:49804 "Enable separate sync type for consents";
Lei Zhang0ca70ea2018-09-07 17:51:01805const char kEnableSyncUserConsentSeparateTypeDescription[] =
vitaliiid36191b2018-06-11 07:40:49806 "Emit user consents as a separate sync type instead of user events.";
807
Mohamed Amir Yosef0178fa892018-07-23 17:43:52808const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
809const char kEnableSyncUSSBookmarksDescription[] =
810 "Enables the new, experimental implementation of bookmark sync";
811
Mikel Astiz38837f82018-04-24 22:23:23812const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
813const char kEnableSyncUSSSessionsDescription[] =
814 "Enables the new, experimental implementation of session sync (aka tab "
815 "sync).";
816
Brett Wilsonf27ff602017-07-07 22:28:47817const char kEnableUseZoomForDsfName[] =
818 "Use Blink's zoom for device scale factor.";
819const char kEnableUseZoomForDsfDescription[] =
820 "If enabled, Blink uses its zooming mechanism to scale content for device "
821 "scale factor.";
822const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
823const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
824const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
825
Patrick Noland8ee016e2018-01-24 11:44:53826const char kEnableScrollAnchorSerializationName[] =
827 "Scroll Anchor Serialization";
828const char kEnableScrollAnchorSerializationDescription[] =
829 "Save the scroll anchor and use it to restore the scroll position when "
830 "navigating.";
831
Brad Nelson5cd500e2018-01-04 00:50:19832const char kEnableSharedArrayBufferName[] =
833 "Experimental enabled SharedArrayBuffer support in JavaScript.";
834const char kEnableSharedArrayBufferDescription[] =
835 "Enable SharedArrayBuffer support in JavaScript.";
836
Brett Wilsonf27ff602017-07-07 22:28:47837const char kEnableWasmName[] = "WebAssembly structured cloning support.";
838const char kEnableWasmDescription[] =
839 "Enable web pages to use WebAssembly structured cloning.";
840
Kim Paulhamusae635a32018-06-27 07:30:54841const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
842const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47843 "Enable Web Authentication API support.";
844
Lei Zhang0ca70ea2018-09-07 17:51:01845const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47846 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01847const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47848 "Enable the cloud-assisted pairingless BLE protocol for use with "
849 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54850
Brett Wilsonf27ff602017-07-07 22:28:47851const char kEnableImageCaptureAPIName[] = "Image Capture API";
852const char kEnableImageCaptureAPIDescription[] =
853 "Enables the Web Platform Image Capture API: takePhoto(), "
854 "getPhotoCapabilities(), etc.";
855
Ramin Halavatic158b182018-10-18 14:04:54856const char kEnableIncognitoWindowCounterName[] = "Incognito Window Counter";
857const char kEnableIncognitoWindowCounterDescription[] =
858 "Shows the count of Incognito windows next to the Incognito icon on the "
859 "toolbar.";
860
Brett Wilsonf27ff602017-07-07 22:28:47861const char kEnableZeroSuggestRedirectToChromeName[] =
862 "Experimental contextual omnibox suggestion";
863const char kEnableZeroSuggestRedirectToChromeDescription[] =
864 "Change omnibox contextual suggestions to an experimental source. Note "
865 "that this is not an on/off switch for contextual omnibox and it only "
866 "applies to suggestions provided before the user starts typing a URL or a "
867 "search query (i.e. zero suggest).";
868
Clemens Hammacher0c8a15a2018-04-27 13:45:32869const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
870const char kEnableWasmBaselineDescription[] =
871 "Enables WebAssembly baseline compilation and tier up.";
872
Ben Smith24c1e5c2018-06-20 01:09:02873const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
874const char kEnableWasmThreadsDescription[] =
875 "Enables support for the WebAssembly Threads proposal. Implies "
876 "#shared-array-buffer and #enable-webassembly.";
877
Brett Wilsonf27ff602017-07-07 22:28:47878const char kExpensiveBackgroundTimerThrottlingName[] =
879 "Throttle expensive background timers";
880const char kExpensiveBackgroundTimerThrottlingDescription[] =
881 "Enables intervention to limit CPU usage of background timers to 1%.";
882
883const char kExperimentalAppBannersName[] = "Experimental app banners";
884const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38885 "Enables a new experimental app banner flow and UI. Implies "
886 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47887
888const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
889const char kExperimentalCanvasFeaturesDescription[] =
890 "Enables the use of experimental canvas features which are still in "
891 "development.";
892
Nicholas Verneccd8259802018-02-22 01:22:04893const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
894const char kExperimentalCrostiniUIDescription[] =
895 "Enables in-development Crostini features.";
896
Brett Wilsonf27ff602017-07-07 22:28:47897const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
898const char kExperimentalExtensionApisDescription[] =
899 "Enables experimental extension APIs. Note that the extension gallery "
900 "doesn't allow you to upload extensions that use experimental APIs.";
901
902const char kExperimentalFullscreenExitUIName[] =
903 "Experimental fullscreen exit UI";
904const char kExperimentalFullscreenExitUIDescription[] =
905 "Displays experimental UI to allow mouse and touch input methods to exit "
906 "fullscreen mode.";
907
Ian Clelland37a985d2018-05-04 02:43:13908const char kExperimentalProductivityFeaturesName[] =
909 "Experimental Productivity Features";
910const char kExperimentalProductivityFeaturesDescription[] =
911 "Enable support for experimental developer productivity features, such as "
912 "Layered APIs and policies for avoiding slow rendering.";
913
Brett Wilsonf27ff602017-07-07 22:28:47914const char kExperimentalSecurityFeaturesName[] =
915 "Potentially annoying security features";
916const char kExperimentalSecurityFeaturesDescription[] =
917 "Enables several security features that will likely break one or more "
918 "pages that you visit on a daily basis. Strict mixed content checking, for "
919 "example. And locking powerful features to secure contexts. This flag will "
920 "probably annoy you.";
921
922const char kExperimentalWebPlatformFeaturesName[] =
923 "Experimental Web Platform features";
924const char kExperimentalWebPlatformFeaturesDescription[] =
925 "Enables experimental Web Platform features that are in development.";
926
927const char kExtensionContentVerificationName[] =
928 "Extension Content Verification";
929const char kExtensionContentVerificationDescription[] =
930 "This flag can be used to turn on verification that the contents of the "
931 "files on disk for extensions from the webstore match what they're "
932 "expected to be. This can be used to turn on this feature if it would not "
933 "otherwise have been turned on, but cannot be used to turn it off (because "
934 "this setting can be tampered with by malware).";
935const char kExtensionContentVerificationBootstrap[] =
936 "Bootstrap (get expected hashes, but do not enforce them)";
937const char kExtensionContentVerificationEnforce[] =
938 "Enforce (try to get hashes, and enforce them if successful)";
939const char kExtensionContentVerificationEnforceStrict[] =
940 "Enforce strict (hard fail if we can't get hashes)";
941
942const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
943const char kExtensionsOnChromeUrlsDescription[] =
944 "Enables running extensions on chrome:// URLs, where extensions explicitly "
945 "request this permission.";
galinapae72e152017-05-12 13:12:28946
Brett Wilsonecb80982017-07-12 20:34:51947const char kFastUnloadName[] = "Fast tab/window close";
948const char kFastUnloadDescription[] =
949 "Enables fast tab/window closing - runs a tab's onunload js handler "
950 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34951
Brett Wilsonecb80982017-07-12 20:34:51952const char kFeaturePolicyName[] = "Feature Policy";
953const char kFeaturePolicyDescription[] =
954 "Enables granting and removing access to features through the "
955 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34956
Brett Wilsonecb80982017-07-12 20:34:51957const char kFontCacheScalingName[] = "FontCache scaling";
958const char kFontCacheScalingDescription[] =
959 "Reuse a cached font in the renderer to serve different sizes of font for "
960 "faster layout.";
961
962const char kForceEffectiveConnectionTypeName[] =
963 "Override effective connection type";
964const char kForceEffectiveConnectionTypeDescription[] =
965 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30966 "returned by the network quality estimator. Slow 2G on Cellular returns "
967 "Slow 2G when connected to a cellular network, and the actual estimate "
968 "effective connection type when not on a cellular network. Previews are "
969 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51970const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
971const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
972const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30973const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
974 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51975const char kEffectiveConnectionType2GDescription[] = "2G";
976const char kEffectiveConnectionType3GDescription[] = "3G";
977const char kEffectiveConnectionType4GDescription[] = "4G";
978
979const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
980const char kFillOnAccountSelectDescription[] =
981 "Filling of passwords when an account is explicitly selected by the user "
982 "rather than autofilling credentials on page load.";
983
Brett Wilsonecb80982017-07-12 20:34:51984const char kForceTextDirectionName[] = "Force text direction";
985const char kForceTextDirectionDescription[] =
986 "Explicitly force the per-character directionality of UI text to "
987 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
988 "direction of the character language.";
989const char kForceDirectionLtr[] = "Left-to-right";
990const char kForceDirectionRtl[] = "Right-to-left";
991
992const char kForceUiDirectionName[] = "Force UI direction";
993const char kForceUiDirectionDescription[] =
994 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
995 "mode, overriding the default direction of the UI language.";
996
997const char kFramebustingName[] =
998 "Framebusting requires same-origin or a user gesture";
999const char kFramebustingDescription[] =
1000 "Don't permit an iframe to navigate the top level browsing context unless "
1001 "they are same-origin or the iframe is processing a user gesture.";
1002
1003const char kGamepadExtensionsName[] = "Gamepad Extensions";
1004const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:221005 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:061006const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:481007const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:061008 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:481009 "the polling rate improves the average latency of button and axis inputs "
1010 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:581011const char kGamepadVibrationName[] = "Gamepad Vibration";
1012const char kGamepadVibrationDescription[] =
1013 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511014
Brett Wilsonecb80982017-07-12 20:34:511015const char kGpuRasterizationMsaaSampleCountName[] =
1016 "GPU rasterization MSAA sample count.";
1017const char kGpuRasterizationMsaaSampleCountDescription[] =
1018 "Specify the number of MSAA samples for GPU rasterization.";
1019const char kGpuRasterizationMsaaSampleCountZero[] = "0";
1020const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
1021const char kGpuRasterizationMsaaSampleCountFour[] = "4";
1022const char kGpuRasterizationMsaaSampleCountEight[] = "8";
1023const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
1024
1025const char kGpuRasterizationName[] = "GPU rasterization";
1026const char kGpuRasterizationDescription[] =
1027 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:281028const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:511029
1030const char kGoogleProfileInfoName[] = "Google profile name and icon";
1031const char kGoogleProfileInfoDescription[] =
1032 "Enables using Google information to populate the profile name and icon in "
1033 "the avatar menu.";
1034
Takumi Fujimotofb71e332018-03-31 14:04:081035const char kViewsCastDialogName[] = "Views Cast dialog";
1036const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311037 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531038 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541039 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081040
Manu Cornet4a908de2018-04-09 04:32:271041const char kHideActiveAppsFromShelfName[] =
1042 "Hide running apps (that are not pinned) from the shelf";
1043const char kHideActiveAppsFromShelfDescription[] =
1044 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251045
Brett Wilsonecb80982017-07-12 20:34:511046const char kHistoryRequiresUserGestureName[] =
1047 "New history entries require a user gesture.";
1048const char kHistoryRequiresUserGestureDescription[] =
1049 "Require a user gesture to add a history entry.";
1050const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1051const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1052
Ryan Landay4242dbc22018-04-04 01:47:331053const char kHorizontalTabSwitcherAndroidName[] =
1054 "Enable horizontal tab switcher";
1055const char kHorizontalTabSwitcherAndroidDescription[] =
1056 "Changes the layout of the Android tab switcher so tabs scroll "
1057 "horizontally instead of vertically.";
1058
Brett Wilsonecb80982017-07-12 20:34:511059const char kHostedAppQuitNotificationName[] =
1060 "Quit notification for hosted apps";
1061const char kHostedAppQuitNotificationDescription[] =
1062 "Display a notification when quitting Chrome if hosted apps are currently "
1063 "running.";
1064
1065const char kHostedAppShimCreationName[] =
1066 "Creation of app shims for hosted apps on Mac";
1067const char kHostedAppShimCreationDescription[] =
1068 "Create app shims on Mac when creating a hosted app.";
1069
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481070const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1071const char kHtmlBasedUsernameDetectorDescription[] =
1072 "Use HTML-based username detector for the password manager.";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kIconNtpName[] = "Large icons on the New Tab page";
1075const char kIconNtpDescription[] =
1076 "Enable the experimental New Tab page using large icons.";
1077
1078const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1079const char kIgnoreGpuBlacklistDescription[] =
1080 "Overrides the built-in software rendering list and enables "
1081 "GPU-acceleration on unsupported system configurations.";
1082
Ryan Sturm8c3dbc92018-06-26 19:22:371083const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441084const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371085 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441086
Claudio Magni61c210922017-12-28 00:29:511087const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1088const char kImprovedLanguageSettingsDescription[] =
1089 "Set of changes for Language Settings. These changes are intended to fix "
1090 "the major bugs related to Language Settings.";
1091
Brett Wilsonecb80982017-07-12 20:34:511092const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1093const char kInProductHelpDemoModeChoiceDescription[] =
1094 "Selects the In-Product Help demo mode.";
1095
1096const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1097const char kJavascriptHarmonyDescription[] =
1098 "Enable web pages to use experimental JavaScript features.";
1099
1100const char kJavascriptHarmonyShippingName[] =
1101 "Latest stable JavaScript features";
1102const char kJavascriptHarmonyShippingDescription[] =
1103 "Some web pages use legacy or non-standard JavaScript extensions that may "
1104 "conflict with the latest JavaScript features. This flag allows disabling "
1105 "support of those features for compatibility with such pages.";
1106
gogeraldfd7675d2018-06-19 22:57:351107const char kJustInTimeServiceWorkerPaymentAppName[] =
1108 "Just-in-time service worker payment app";
1109const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1110 "Allow crawling just-in-time service worker payment app when there is no "
1111 "installed service worker payment app for a payment request.";
1112
Yutaka Hiranof7f2f632017-09-06 10:40:081113const char kKeepAliveRendererForKeepaliveRequestsName[] =
1114 "Keep a renderer alive for keepalive fetch requests";
1115const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1116 "Keep a render process alive when the process has a pending fetch request "
1117 "with `keepalive' specified.";
1118
Joe Downing095fd6d2018-02-01 18:40:361119const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1120const char kKeyboardLockApiDescription[] =
1121 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1122 "specific key events and have them routed directly to the webpage when in "
1123 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1124
Brett Wilsonecb80982017-07-12 20:34:511125const char kLcdTextName[] = "LCD text antialiasing";
1126const char kLcdTextDescription[] =
1127 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1128 "(subpixel) when doing accelerated compositing.";
1129
Matt Giucac399982f2017-10-06 07:51:291130const char kLeftToRightUrlsName[] =
1131 "Render bidirectional URLs from left to right";
1132const char kLeftToRightUrlsDescription[] =
1133 "An experimental Bidi URL rendering algorithm where the URL components are "
1134 "always shown in order from left to right, regardless of any RTL "
1135 "characters. (The contents of each component are still rendered with the "
1136 "normal Bidi algorithm.)";
1137
Brett Wilsonecb80982017-07-12 20:34:511138const char kLoadMediaRouterComponentExtensionName[] =
1139 "Load Media Router Component Extension";
1140const char kLoadMediaRouterComponentExtensionDescription[] =
1141 "Loads the Media Router component extension at startup.";
1142
Mustafa Emre Acer137dc8b2018-08-29 20:38:131143const char kLookalikeUrlNavigationSuggestionsName[] =
1144 "Navigation suggestions for lookalike URLs";
1145const char kLookalikeUrlNavigationSuggestionsDescription[] =
1146 "Enable navigation suggestions for URLs that are visually similar to "
1147 "popular domains or to domains with a site engagement score.";
1148
Brett Wilsonecb80982017-07-12 20:34:511149const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1150const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511151
Lei Zhang2eca9082017-10-17 20:42:501152const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1153const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511154 "If enabled, the Incognito New Tab page uses the new material design with "
1155 "a better readable text.";
1156
spqchanb87755692018-04-05 00:46:091157const char kMediaRouterCastAllowAllIPsName[] =
1158 "Connect to Cast devices on all IP addresses";
1159const char kMediaRouterCastAllowAllIPsDescription[] =
1160 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311161 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091162
Brett Wilsonecb80982017-07-12 20:34:511163const char kMemoryCoordinatorName[] = "Memory coordinator";
1164const char kMemoryCoordinatorDescription[] =
1165 "Enable memory coordinator instead of memory pressure listeners.";
1166
1167const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1168const char kMessageCenterNewStyleNotificationDescription[] =
1169 "Enables the experiment style of material-design notification";
1170
Brett Wilsonecb80982017-07-12 20:34:511171const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1172const char kMhtmlGeneratorOptionDescription[] =
1173 "Provides experimental options for MHTML file generator.";
1174const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1175const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1176
Brett Wilsonecb80982017-07-12 20:34:511177const char kNewAudioRenderingMixingStrategyName[] =
1178 "New audio rendering mixing strategy";
1179const char kNewAudioRenderingMixingStrategyDescription[] =
1180 "Use the new audio rendering mixing strategy.";
1181
1182const char kNewBookmarkAppsName[] = "The new bookmark app system";
1183const char kNewBookmarkAppsDescription[] =
1184 "Enables the new system for creating bookmark apps.";
1185
Vadym Doroshenkocd4ff782018-07-24 13:41:021186const char kNewPasswordFormParsingName[] =
1187 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241188const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021189 "Replaces existing form parsing for filling in password manager with a new "
1190 "version, currently under development. WARNING: when enabled, Password "
1191 "Manager might stop working";
1192
1193const char kNewPasswordFormParsingForSavingName[] =
1194 "New password form parsing for saving passwords";
1195const char kNewPasswordFormParsingForSavingDescription[] =
1196 "Replaces existing form parsing for saving in password manager with a new "
1197 "version, currently under development. WARNING: when enabled, Password "
1198 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241199
Brett Wilsonecb80982017-07-12 20:34:511200const char kNewRemotePlaybackPipelineName[] =
1201 "Enable the new remote playback pipeline.";
1202const char kNewRemotePlaybackPipelineDescription[] =
1203 "Enable the new pipeline for playing media element remotely via "
1204 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501205const char kUseSurfaceLayerForVideoName[] =
1206 "Enable the use of SurfaceLayer objects for videos.";
1207const char kUseSurfaceLayerForVideoDescription[] =
1208 "Enable compositing onto a Surface instead of a VideoLayer "
1209 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511210
1211const char kNewUsbBackendName[] = "Enable new USB backend";
1212const char kNewUsbBackendDescription[] =
1213 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341214
Sonny Sasaka2d200432018-03-22 17:43:161215const char kNewblueName[] = "Newblue";
1216const char kNewblueDescription[] =
1217 "Enables the use of newblue Bluetooth daemon.";
1218
Peter Kasting63097912018-06-30 02:09:031219const char kNewTabButtonPosition[] = "New tab button position";
1220const char kNewTabButtonPositionDescription[] =
1221 "Controls placement of the new tab button within the tabstrip.";
1222const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1223const char kNewTabButtonPositionLeading[] = "Leading";
1224const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1225const char kNewTabButtonPositionTrailing[] = "Trailing";
1226
Egor Pasko6fed3822018-05-30 10:33:141227const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341228const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141229 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341230
Alex Newcomerd7b0cc42018-05-25 22:58:481231const char kNotificationIndicatorName[] = "Notification Indicators";
1232const char kNotificationIndicatorDescription[] =
1233 "Enable notification indicators, which appear on app icons when a "
1234 "notification is active. This will also enable notifications in context "
1235 "menus.";
1236
Brett Wilsonecb80982017-07-12 20:34:511237const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1238const char kNotificationsNativeFlagDescription[] =
1239 "Enable support for using the native notification toasts and notification "
1240 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341241
Valeriya Sinevich972ac122018-09-05 07:33:191242const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1243const char kUseMultiloginEndpointDescription[] =
1244 "Use Gaia OAuth multilogin for identity consistency.";
1245
Zentaro Kavanaghbad511c2017-10-18 22:29:001246#if defined(OS_POSIX)
1247const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1248const char kNtlmV2EnabledDescription[] =
1249 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1250#endif
1251
Ramya Nagarajane9f16b82018-05-03 01:05:341252const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1253const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301254 "Allow selection of a custom background image on the New Tab Page. "
1255 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341256
kristipark037abce12018-07-13 19:49:301257const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1258const char kNtpCustomLinksDescription[] =
1259 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1260 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1261
1262const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341263const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301264 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1265 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341266
Kyle Milkad1420ce2018-10-05 18:33:411267const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1268const char kNtpUIMdDescription[] =
1269 "Updates the New Tab Page with Material Design elements.";
1270
Brett Wilsonecb80982017-07-12 20:34:511271const char kNumRasterThreadsName[] = "Number of raster threads";
1272const char kNumRasterThreadsDescription[] =
1273 "Specify the number of raster threads.";
1274const char kNumRasterThreadsOne[] = "1";
1275const char kNumRasterThreadsTwo[] = "2";
1276const char kNumRasterThreadsThree[] = "3";
1277const char kNumRasterThreadsFour[] = "4";
1278
1279const char kOfferStoreUnmaskedWalletCardsName[] =
1280 "Google Payments card saving checkbox";
1281const char kOfferStoreUnmaskedWalletCardsDescription[] =
1282 "Show the checkbox to offer local saving of a credit card downloaded from "
1283 "the server.";
1284
1285const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1286const char kOfflineAutoReloadDescription[] =
1287 "Pages that fail to load while the browser is offline will be "
1288 "auto-reloaded when the browser is online again.";
1289
1290const char kOfflineAutoReloadVisibleOnlyName[] =
1291 "Only Auto-Reload Visible Tabs";
1292const char kOfflineAutoReloadVisibleOnlyDescription[] =
1293 "Pages that fail to load while the browser is offline will only be "
1294 "auto-reloaded if their tab is visible.";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kOmniboxDisplayTitleForCurrentUrlName[] =
1297 "Include title for the current URL in the omnibox";
1298const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1299 "In the event that the omnibox provides suggestions on-focus, the URL of "
1300 "the current page is provided as the first suggestion without a title. "
1301 "Enabling this flag causes the title to be displayed.";
1302
Benoit Lizeab08362c2017-07-19 14:50:541303const char kOmniboxSpareRendererName[] =
1304 "Start spare renderer on omnibox focus";
1305const char kOmniboxSpareRendererDescription[] =
1306 "When the omnibox is focused, start an empty spare renderer. This can "
1307 "speed up the load of the navigation from the omnibox.";
1308
Tommy C. Li8875a442017-08-23 00:10:591309const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1310 "Omnibox UI Elide Suggestion URL After Host";
1311const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1312 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1313 "dropdown.";
1314
Tommy C. Lie4194b732018-09-28 22:21:511315const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1316 "Omnibox UI Hide Steady-State URL Scheme";
1317const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1318 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
Tommy C. Libef94ee02018-10-17 19:56:361319 "restored during editing.";
Tommy C. Lie4194b732018-09-28 22:21:511320
1321const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1322 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1323const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1324 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
Tommy C. Libef94ee02018-10-17 19:56:361325 "Hidden portions are restored during editing.";
1326
1327const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefName[] =
1328 "Omnibox UI Hide Steady-State URL Path, Query, and Ref";
1329const char kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription[] =
1330 "In the omnibox, hide the path, query and ref from steady state displayed "
1331 "URLs. Hidden portions are restored during editing.";
Tommy C. Lid79d4402017-12-22 22:49:121332
Tommy C. Licc5e53022018-07-27 16:30:351333const char kOmniboxUIJogTextfieldOnPopupName[] =
1334 "Omnibox UI Jog Textfield on Popup";
1335const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1336 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1337 "text when the popup is opened. When this feature is disabled, the "
1338 "textfield is always aligned with the suggestions text, and a separator "
1339 "fills the gap. If Material Refresh is disabled, this has no effect.";
1340
Brett Wilsonecb80982017-07-12 20:34:511341const char kOmniboxUIMaxAutocompleteMatchesName[] =
1342 "Omnibox UI Max Autocomplete Matches";
1343
1344const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1345 "Changes the maximum number of autocomplete matches displayed in the "
1346 "Omnibox UI.";
1347
Justin Donnelly65c9e8b2017-10-01 05:15:011348const char kOmniboxUIShowSuggestionFaviconsName[] =
1349 "Omnibox UI Show Suggestion Favicons";
1350const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1351 "Shows favicons instead of generic vector icons for URL suggestions in the "
1352 "Omnibox dropdown.";
1353
1354const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1355const char kOmniboxUISwapTitleAndUrlDescription[] =
1356 "In the omnibox dropdown, shows titles before URLs when both are "
1357 "available.";
1358
Troy Hildebrandtb32637ca2018-02-21 23:25:091359const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1360 "Omnibox Voice Search Always Visible";
1361const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1362 "Always displays voice search icon in focused omnibox as long as voice "
1363 "search is possible";
1364
Adrienne Walkerc87477e2018-06-06 22:28:211365const char kOopRasterizationName[] = "Out of process rasterization";
1366const char kOopRasterizationDescription[] =
1367 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1368 "Must also enable GPU rasterization";
1369
Brett Wilsonecb80982017-07-12 20:34:511370const char kOriginTrialsName[] = "Origin Trials";
1371const char kOriginTrialsDescription[] =
1372 "Enables origin trials for controlling access to feature/API experiments.";
1373
Becca Hughes930d8cd2017-10-02 11:09:121374const char kOverflowIconsForMediaControlsName[] =
1375 "Icons on Media Controls Overflow Menu";
1376const char kOverflowIconsForMediaControlsDescription[] =
1377 "Displays icons on the overflow menu of the native media controls";
1378
Brett Wilsonecb80982017-07-12 20:34:511379const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1380const char kOverlayScrollbarsDescription[] =
1381 "Enable the experimental overlay scrollbars implementation. You must also "
1382 "enable threaded compositing to have the scrollbars animate.";
1383
chaopenge8aa016b2017-08-24 15:20:191384const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1385 "Flash Overlay Scrollbars After Any Scroll Update";
1386const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1387 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1388 " must also enable Overlay Scrollbars.";
1389
chaopeng343678022017-08-24 18:45:001390const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1391 "Flash Overlay Scrollbars When Mouse Enter";
1392const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1393 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1394 " enable Overlay Scrollbars.";
1395
Daniele Castagna74ddb9c2018-06-21 22:59:021396const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1397const char kOverlayStrategiesDescription[] =
1398 "Select strategies used to promote quads to HW overlays.";
1399const char kOverlayStrategiesDefault[] = "Default";
1400const char kOverlayStrategiesNone[] = "None";
1401const char kOverlayStrategiesUnoccludedFullscreen[] =
1402 "Unoccluded fullscreen buffers (single-fullscreen)";
1403const char kOverlayStrategiesUnoccluded[] =
1404 "Unoccluded buffers (single-fullscreen,single-on-top)";
1405const char kOverlayStrategiesOccludedAndUnoccluded[] =
1406 "Occluded and unoccluded buffers "
1407 "(single-fullscreen,single-on-top,underlay)";
1408
Claudio Magni81326f92017-09-01 05:21:181409const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1410const char kUseNewAcceptLanguageHeaderDescription[] =
1411 "Adds the base language code after other corresponding language+region "
1412 "codes. This ensures that users receive content in their preferred "
1413 "language.";
1414
Brett Wilsonecb80982017-07-12 20:34:511415const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1416const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481417 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511418
1419const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1420const char kOverscrollStartThresholdDescription[] =
1421 "Changes overscroll start threshold relative to the default value.";
1422const char kOverscrollStartThreshold133Percent[] = "133%";
1423const char kOverscrollStartThreshold166Percent[] = "166%";
1424const char kOverscrollStartThreshold200Percent[] = "200%";
1425
chaopenge2b6e5f2018-05-08 16:40:451426const char kTouchpadOverscrollHistoryNavigationName[] =
1427 "Overscroll history navigation on Touchpad";
1428const char kTouchpadOverscrollHistoryNavigationDescription[] =
1429 "Allows swipe left/right from touchpad change browser navigation.";
1430
Xing Liu5400a002017-09-15 21:48:291431const char kParallelDownloadingName[] = "Parallel downloading";
1432const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061433 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291434
Brett Wilsonecb80982017-07-12 20:34:511435const char kPassiveEventListenerDefaultName[] =
1436 "Passive Event Listener Override";
1437const char kPassiveEventListenerDefaultDescription[] =
1438 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1439 "haven't requested otherwise) to be treated as passive. This will break "
1440 "touch/wheel behavior on some websites but is useful for demonstrating the "
1441 "potential performance benefits of adopting passive event listeners.";
1442const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1443const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1444
1445const char kPassiveEventListenersDueToFlingName[] =
1446 "Touch Event Listeners Passive Default During Fling";
1447const char kPassiveEventListenersDueToFlingDescription[] =
1448 "Forces touchstart, and first touchmove per scroll event listeners during "
1449 "fling to be treated as passive.";
1450
1451const char kPassiveDocumentEventListenersName[] =
1452 "Document Level Event Listeners Passive Default";
1453const char kPassiveDocumentEventListenersDescription[] =
1454 "Forces touchstart, and touchmove event listeners on document level "
1455 "targets (which haven't requested otherwise) to be treated as passive.";
1456
Sahel Sharify7400e882018-08-13 17:13:211457const char kPassiveDocumentWheelEventListenersName[] =
1458 "Document Level Wheel Event Listeners Passive Default";
1459const char kPassiveDocumentWheelEventListenersDescription[] =
1460 "Forces wheel, and mousewheel event listeners on document level targets "
1461 "(which haven't requested otherwise) to be treated as passive.";
1462
Vaclav Brozekd8a3f542017-11-16 14:21:131463const char kPasswordImportName[] = "Password import";
1464const char kPasswordImportDescription[] =
1465 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511466
Friedrich Horschig03c91982018-01-25 14:21:281467const char kPasswordSearchMobileName[] = "Password search";
1468const char kPasswordSearchMobileDescription[] =
1469 "Search functionality in password settings.";
1470
Friedrich Horschige6c27742018-04-23 17:13:411471const char kPasswordsKeyboardAccessoryName[] =
1472 "Add password-related functions to keyboard accessory";
1473const char kPasswordsKeyboardAccessoryDescription[] =
1474 "Adds password generation button and toggle for the passwords bottom sheet "
1475 "to the keyboard accessory. Replaces password generation popups.";
1476
Christos Froussios6e060c42018-07-31 16:17:191477const char kPasswordsMigrateLinuxToLoginDBName[] =
1478 "Migrate passwords to \"Login Data\"";
1479const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591480 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191481 "gnome-keyring or kwallet into the profile directory.";
1482
Tom Sepez92a2cd242018-03-13 19:23:091483const char kPdfIsolationName[] = "PDF Isolation";
1484const char kPdfIsolationDescription[] =
1485 "Render PDF files from different origins in different plugin processes.";
1486
Rouslan Solomakhinded840112018-11-02 13:27:101487const char kPerMethodCanMakePaymentQuotaName[] =
1488 "Per-method canMakePayment() quota.";
1489const char kPerMethodCanMakePaymentQuotaDescription[] =
1490 "Allow calling canMakePayment() for different payment methods, as long as "
1491 "method-specific parameters remain unchanged.";
1492
Brett Wilsonecb80982017-07-12 20:34:511493const char kPinchScaleName[] = "Pinch scale";
1494const char kPinchScaleDescription[] =
1495 "Enables experimental support for scale using pinch.";
1496
Doug Arnett620ff542018-02-06 17:54:221497const char kPreviewsAllowedName[] = "Previews Allowed";
1498const char kPreviewsAllowedDescription[] =
1499 "Allows previews to be shown subject to specific preview types being "
1500 "enabled and the client experiencing specific triggering conditions. "
1501 "May be used as a kill-switch to turn off all potential preview types.";
1502
Brett Wilsonecb80982017-07-12 20:34:511503const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1504const char kPrintPdfAsImageDescription[] =
1505 "If enabled, an option to print PDF files as images will be available in "
1506 "print preview.";
1507
1508const char kPrintPreviewRegisterPromosName[] =
1509 "Print Preview Registration Promos";
1510const char kPrintPreviewRegisterPromosDescription[] =
1511 "Enable registering unregistered cloud printers from print preview.";
1512
1513const char kProtectSyncCredentialName[] = "Autofill sync credential";
1514const char kProtectSyncCredentialDescription[] =
1515 "How the password manager handles autofill for the sync credential.";
1516
1517const char kProtectSyncCredentialOnReauthName[] =
1518 "Autofill sync credential only for transactional reauth pages";
1519const char kProtectSyncCredentialOnReauthDescription[] =
1520 "How the password manager handles autofill for the sync credential only "
1521 "for transactional reauth pages.";
1522
Mohsen Izadi93faac12017-07-29 04:45:151523const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1524const char kPullToRefreshDescription[] =
1525 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011526const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151527
Troy Hildebrandt7228ad12018-02-23 21:18:241528const char kQueryInOmniboxName[] = "Query in Omnibox";
1529const char kQueryInOmniboxDescription[] =
1530 "Only display query terms in the omnibox when viewing a search results "
1531 "page.";
1532
Brett Wilsonecb80982017-07-12 20:34:511533const char kQuicName[] = "Experimental QUIC protocol";
1534const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1535
Emily Starke8878d52018-05-11 21:27:261536const char kRecurrentInterstitialName[] =
1537 "Show a message when the same SSL error recurs";
1538const char kRecurrentInterstitialDescription[] =
1539 "Enable a special message on the SSL certificate error page when the same "
1540 "SSL error occurs repeatedly.";
1541
Brett Wilsonecb80982017-07-12 20:34:511542const char kReducedReferrerGranularityName[] =
1543 "Reduce default 'referer' header granularity.";
1544const char kReducedReferrerGranularityDescription[] =
1545 "If a page hasn't set an explicit referrer policy, setting this flag will "
1546 "reduce the amount of information in the 'referer' header for cross-origin "
1547 "requests.";
1548
Lei Zhang0ca70ea2018-09-07 17:51:011549const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581550 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011551const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581552 "This flag allows regional locales to be selected as display UI by the "
1553 "user in Language Settings. The actual locale of the system is derived "
1554 "from the user selection based on some simple fallback logic.";
1555
Christian Dullweber1af31e62018-02-22 11:49:481556const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141557 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481558const char kRemoveNavigationHistoryDescription[] =
1559 "Remove a navigation entry when the corresponding history entry has been "
1560 "deleted.";
1561
Christian Dullweber3cc579a22018-09-11 10:54:441562const char kRewriteLevelDBOnDeletionName[] =
1563 "Rewrite LevelDB instances after full deletions";
1564const char kRewriteLevelDBOnDeletionDescription[] =
1565 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1566
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351567const char kRendererSideResourceSchedulerName[] =
1568 "Renderer side ResourceScheduler";
1569const char kRendererSideResourceSchedulerDescription[] =
1570 "Migrate some ResourceScheduler functionalities to renderer";
1571
Brett Wilsonecb80982017-07-12 20:34:511572const char kRequestTabletSiteName[] =
1573 "Request tablet site option in the settings menu";
1574const char kRequestTabletSiteDescription[] =
1575 "Allows the user to request tablet site. Web content is often optimized "
1576 "for tablet devices. When this option is selected the user agent string is "
1577 "changed to indicate a tablet device. Web content optimized for tablets is "
1578 "received there after for the current tab.";
1579
1580const char kResetAppListInstallStateName[] =
1581 "Reset the App Launcher install state on every restart.";
1582const char kResetAppListInstallStateDescription[] =
1583 "Reset the App Launcher install state on every restart. While this flag is "
1584 "set, Chrome will forget the launcher has been installed each time it "
1585 "starts. This is used for testing the App Launcher install flow.";
1586
Kinuko Yasuda33955082018-06-19 10:14:591587const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511588const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591589 "Uses the resource load scheduler in blink to throttle resource load "
1590 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511591
Brett Wilsonecb80982017-07-12 20:34:511592const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1593const char kSafeSearchUrlReportingDescription[] =
1594 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1595
Alexei Filippov98772752018-01-27 08:26:521596const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1597const char kSamplingHeapProfilerDescription[] =
1598 "Enables native memory sampling profiler with specified rate in KiB. "
1599 "If sampling rate is not provided the default value of 128 KiB is used.";
1600
Brett Wilsonecb80982017-07-12 20:34:511601const char kSaveasMenuLabelExperimentName[] =
1602 "Switch 'Save as' menu labels to 'Download'";
1603const char kSaveasMenuLabelExperimentDescription[] =
1604 "Enables an experiment to switch menu labels that use 'Save as...' to "
1605 "'Download'.";
1606
1607const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1608const char kSavePageAsMhtmlDescription[] =
1609 "Enables saving pages as MHTML: a single text file containing HTML and all "
1610 "sub-resources.";
1611
Nate Chapin9638e7102017-09-20 22:11:011612const char kSavePreviousDocumentResourcesName[] =
1613 "Save Previous Document Resources";
1614const char kSavePreviousDocumentResourcesDescription[] =
1615 "Saves an old document's cached resources until the specified point in the "
1616 "next document's lifecycle.";
1617const char kSavePreviousDocumentResourcesNever[] =
1618 "Don't explicitly save resources";
1619const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1620 "Save resources until onDOMContentLoaded completes";
1621const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1622 "Save resources until onload completes";
1623
Jeffrey Cohene49cc59c2018-10-23 16:27:281624const char kSendTabToSelfName[] = "Send tab to self";
1625const char kSendTabToSelfDescription[] =
1626 "Allows users to push tabs from Android devices to other synced "
1627 "devices, in order to easily transition those tabs to the new device ";
1628
gogeraldd5061b592017-09-06 23:39:551629const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1630const char kServiceWorkerPaymentAppsDescription[] =
1631 "Enable Service Worker applications to integrate as payment apps";
1632
momohattfc352292018-08-29 05:12:361633const char kServiceWorkerImportedScriptUpdateCheckName[] =
1634 "Enable update check for service worker importScripts() resources";
1635const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1636 "Extend byte-for-byte update check for scripts that are imported by the "
1637 "service worker script via importScripts().";
1638
Lei Zhang0ca70ea2018-09-07 17:51:011639const char kServiceWorkerServicificationName[] = "Servicified service workers";
1640const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441641 "Enable the servicified service workers. A servicified service worker can "
1642 "have direct connection from its clients, so that fetch events can be "
1643 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171644
Azeem Arshad3b1ef73122018-08-30 02:04:151645const char kServiceWorkerLongRunningMessageName[] =
1646 "Service worker long running message dispatch.";
1647const char kServiceWorkerLongRunningMessageDescription[] =
1648 "Enables long running message dispatch method for service workers. "
1649 "Messages sent with this method do not timeout, allowing the service "
1650 "worker to run indefinitely.";
1651
Brett Wilsonecb80982017-07-12 20:34:511652const char kSettingsWindowName[] = "Show settings in a window";
1653const char kSettingsWindowDescription[] =
1654 "Settings will be shown in a dedicated window instead of as a browser tab.";
1655
Manu Cornetd7ef7c52018-05-01 22:08:231656const char kShelfHoverPreviewsName[] =
1657 "Show previews of running apps when hovering over the shelf.";
1658const char kShelfHoverPreviewsDescription[] =
1659 "Shows previews of the open windows for a given running app when hovering "
1660 "over the shelf.";
1661
Naoki Fukino008a0022018-05-23 18:33:001662const char kShowAndroidFilesInFilesAppName[] =
1663 "Show Android files in Files app";
1664const char kShowAndroidFilesInFilesAppDescription[] =
1665 "Show Android files in Files app if Android is enabled on the device.";
1666
Brett Wilsonecb80982017-07-12 20:34:511667const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1668const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381669 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1670 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511671
1672const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1673const char kShowAutofillTypePredictionsDescription[] =
1674 "Annotates web forms with Autofill field type predictions as placeholder "
1675 "text.";
1676
1677const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1678const char kShowOverdrawFeedbackDescription[] =
1679 "Visualize overdraw by color-coding elements based on if they have other "
1680 "elements drawn underneath.";
1681
Carlos IL89128732018-04-03 17:00:251682const char kSupervisedUserCommittedInterstitialsName[] =
1683 "Enable Supervised User Committed Interstitials";
1684const char kSupervisedUserCommittedInterstitialsDescription[] =
1685 "Use committed error pages instead of transient navigation entries for "
1686 "supervised user interstitials";
1687
yiyixbdfa9a0b2017-10-23 22:21:471688const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1689const char kEnableDrawOcclusionDescription[] =
1690 "Enable the system to use draw occlusion to skip draw quads when they are "
1691 "not shown on the screen.";
1692
Brett Wilsonecb80982017-07-12 20:34:511693const char kShowSavedCopyName[] = "Show Saved Copy Button";
1694const char kShowSavedCopyDescription[] =
1695 "When a page fails to load, if a stale copy of the page exists in the "
1696 "browser cache, a button will be presented to allow the user to load that "
1697 "stale copy. The primary enabling choice puts the button in the most "
1698 "salient position on the error page; the secondary enabling choice puts it "
1699 "secondary to the reload button.";
1700const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1701const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1702const char kDisableShowSavedCopy[] = "Disable";
1703
Brett Wilsonecb80982017-07-12 20:34:511704const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1705const char kSilentDebuggerExtensionApiDescription[] =
1706 "Do not show the infobar when an extension attaches to a page via "
1707 "chrome.debugger API. This is required to debug extension background "
1708 "pages.";
1709
Tsuyoshi Horo53895ba92018-03-14 04:06:481710const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1711const char kSignedHTTPExchangeDescription[] =
1712 "Enables Origin-Signed HTTP Exchanges support which is still in "
1713 "development. Warning: Enabling this may pose a security risk.";
1714
Brett Wilsonecb80982017-07-12 20:34:511715const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1716const char kSimpleCacheBackendDescription[] =
1717 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1718 "disk space allocation.";
1719
Christopher Thompson75ff845d2018-02-01 20:12:461720const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1721const char kSimplifyHttpsIndicatorDescription[] =
1722 "Change the UI treatment for HTTPS pages.";
1723
Brett Wilsonecb80982017-07-12 20:34:511724const char kSingleClickAutofillName[] = "Single-click autofill";
1725const char kSingleClickAutofillDescription[] =
1726 "Make autofill suggestions on initial mouse click on a form element.";
1727
Bret Sepulveda4f891da2018-07-16 19:10:301728const char kSingleTabMode[] = "Single-tab mode";
1729const char kSingleTabModeDescription[] =
1730 "Windows with a single tab receive a special, minimal visual treatment.";
1731
Nick Carter855bc492018-03-10 00:44:571732const char kStrictSiteIsolationName[] = "Strict site isolation";
1733const char kStrictSiteIsolationDescription[] =
Charlie Reisf44fe292018-08-31 18:38:471734 "Security mode that enables site isolation for all sites (SitePerProcess). "
1735 "In this mode, each renderer process will contain pages from at most one "
1736 "site, using out-of-process iframes when needed. NOTE: Site isolation is "
1737 "enabled by default on desktop platforms regardless of how this flag is "
1738 "set; see chrome://process-internals for whether it is currently enabled. "
1739 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
1740 "default. Here, 'Disabled' is a legacy value that actually means "
1741 "'Default,' in which case site isolation may be already enabled based on "
1742 "platform, enterprise policy, or field trial. See also "
Charlie Reis30e39032018-09-04 18:58:181743 "#site-isolation-trial-opt-out for how to disable site isolation for "
Charlie Reisf44fe292018-08-31 18:38:471744 "testing.";
Nick Carter855bc492018-03-10 00:44:571745
1746const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1747const char kSiteIsolationTrialOptOutDescription[] =
Charlie Reisf44fe292018-08-31 18:38:471748 "Opts out of field trials and defaults that enable site isolation modes "
Nick Carter855bc492018-03-10 00:44:571749 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1750 "may be due to out-of-process iframes. Opt-out has no effect if site "
1751 "isolation is force-enabled via #enable-site-per-process or enterprise "
1752 "policy. Caution: this disables important mitigations for the Spectre CPU "
1753 "vulnerability affecting most computers.";
Lei Zhang0ca70ea2018-09-07 17:51:011754const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1755const char kSiteIsolationTrialOptOutChoiceOptOut[] =
Nick Carter855bc492018-03-10 00:44:571756 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511757
Pattideade7972018-04-27 02:59:401758const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511759const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401760 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511761
Brett Wilsonecb80982017-07-12 20:34:511762const char kSmoothScrollingName[] = "Smooth Scrolling";
1763const char kSmoothScrollingDescription[] =
1764 "Animate smoothly when scrolling page content.";
1765
1766const char kSoftwareRasterizerName[] = "3D software rasterizer";
1767const char kSoftwareRasterizerDescription[] =
1768 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1769
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201770const char kSoleIntegrationName[] = "Sole integration";
1771const char kSoleIntegrationDescription[] =
1772 "Enable Sole integration for browser customization. You must restart "
1773 "the browser twice for changes to take effect.";
1774
Tommy Steimel77704be2017-08-28 22:14:401775const char kSoundContentSettingName[] = "Sound content setting";
1776const char kSoundContentSettingDescription[] =
1777 "Enable site-wide muting in content settings and tab strip context menu.";
1778
Justin Donnelly4e448cb2017-07-07 21:32:131779const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1780 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131781const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1782 "If enabled, when the user enters text in the omnibox that looks like a "
1783 "a query, any service worker associated with the search engine the query "
1784 "will be sent to is started early.";
1785
Brett Wilsonecb80982017-07-12 20:34:511786const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1787const char kSpellingFeedbackFieldTrialDescription[] =
1788 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401789
Carlos ILe5fa0a12018-08-03 16:08:321790const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1791const char kSSLCommittedInterstitialsDescription[] =
1792 "Use committed error pages instead of transient navigation entries "
1793 "for SSL interstitial error pages (i.e. certificate errors).";
1794
Shubhie Panickerfaf082ed2018-01-03 04:49:151795const char kStopInBackgroundName[] = "Stop in background";
1796const char kStopInBackgroundDescription[] =
1797 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281798 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151799
Shubhie Panicker56c99a22018-03-21 00:22:281800const char kStopNonTimersInBackgroundName[] =
1801 "Stop non-timer task queues background";
1802const char kStopNonTimersInBackgroundDescription[] =
1803 "Stop non-timer task queues, in the background, "
1804 "after a grace period.";
1805
Brett Wilsonecb80982017-07-12 20:34:511806const char kSuggestionsWithSubStringMatchName[] =
1807 "Substring matching for Autofill suggestions";
1808const char kSuggestionsWithSubStringMatchDescription[] =
1809 "Match Autofill suggestions based on substrings (token prefixes) rather "
1810 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341811
Marc Treibf65fb002018-08-03 11:17:161812const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1813const char kSyncStandaloneTransportDescription[] =
1814 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1815 "this mode, the Sync machinery can start without user opt-in, but only a "
1816 "subset of data types are supported.";
1817
Marc Treib4bd95e72018-08-30 06:30:581818const char kSyncSupportSecondaryAccountName[] =
1819 "Support secondary accounts for Sync standalone transport";
1820const char kSyncSupportSecondaryAccountDescription[] =
1821 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1822 "a signed-in account that has not been chosen as Chrome's primary account. "
1823 "This only has an effect if sync-standalone-transport is also enabled.";
1824
Jan Krcal2ff23f7c2018-09-04 16:16:131825const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1826const char kSyncUSSAutofillProfileDescription[] =
1827 "Enables the new implementation of autofill profile sync";
1828
Jan Krcale3641b92018-08-10 17:53:311829const char kSyncUSSAutofillWalletDataName[] =
1830 "Enable USS for autofill wallet data";
1831const char kSyncUSSAutofillWalletDataDescription[] =
1832 "Enables the new implementation of autofill walet data sync";
1833
Brett Wilsonecb80982017-07-12 20:34:511834const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1835const char kSyncSandboxDescription[] =
1836 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341837
Joe Downing8cbbc192018-05-14 17:37:071838const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1839const char kSystemKeyboardLockDescription[] =
1840 "Enables websites to use the keyboard.lock() API to intercept system "
1841 "keyboard shortcuts and have the events routed directly to the website "
1842 "when in fullscreen mode.";
1843
Christian Dullweberd0d96f02017-09-13 09:22:511844const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1845const char kTabsInCbdDescription[] =
1846 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1847
Becky Zhou99c22802017-10-19 05:09:271848const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1849const char kTabModalJsDialogDescription[] =
1850 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1851 " tab.";
1852
Brett Wilsonecb80982017-07-12 20:34:511853const char kTcpFastOpenName[] = "TCP Fast Open";
1854const char kTcpFastOpenDescription[] =
1855 "Enable the option to send extra authentication information in the initial "
1856 "SYN packet for a previously connected client, allowing faster data send "
1857 "start.";
vabr0215a8e2017-03-28 12:47:341858
Daniele Castagna0fead93e2018-01-10 20:40:291859const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1860const char kTintGlCompositedContentDescription[] =
1861 "Tint contents composited using GL with a shade of red to help debug and "
1862 "study overlay support.";
1863
Peter Kastingd77428352018-10-26 15:20:251864const char kTopChromeTouchUiName[] = "Touch UI Layout";
1865const char kTopChromeTouchUiDescription[] =
1866 "Enables touch UI layout in the browser's top chrome.";
vabr0215a8e2017-03-28 12:47:341867
Brett Wilsonecb80982017-07-12 20:34:511868const char kThreadedScrollingName[] = "Threaded scrolling";
1869const char kThreadedScrollingDescription[] =
1870 "Threaded handling of scroll-related input events. Disabling this will "
1871 "force all such scroll events to be handled on the main thread. Note that "
1872 "this can dramatically hurt scrolling performance of most websites and is "
1873 "intended for testing purposes only.";
1874
Steven Valdez4584b2482017-07-14 01:11:571875const char kTLS13VariantName[] = "TLS 1.3";
1876const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1877const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111878const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041879const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdezf27cb7f2018-08-21 18:34:331880const char kTLS13VariantFinal[] = "Enabled (Final)";
Steven Valdez4584b2482017-07-14 01:11:571881
Dominick Ng8896b1cd2017-10-17 23:24:361882const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1883const char kTopSitesFromSiteEngagementDescription[] =
1884 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1885 "engagement.";
1886
Brett Wilsonecb80982017-07-12 20:34:511887const char kTouchAdjustmentName[] = "Touch adjustment";
1888const char kTouchAdjustmentDescription[] =
1889 "Refine the position of a touch gesture in order to compensate for touches "
1890 "having poor resolution compared to a mouse.";
1891
Alex Newcomerb3d3c972018-05-03 14:59:401892const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1893const char kTouchableAppContextMenuDescription[] =
1894 "Enable the touchable app context menu, which enlarges app context menus "
1895 "in the Launcher and Shelf to make room for new features.";
1896
Brett Wilsonecb80982017-07-12 20:34:511897const char kTouchDragDropName[] = "Touch initiated drag and drop";
1898const char kTouchDragDropDescription[] =
1899 "Touch drag and drop can be initiated through long press on a draggable "
1900 "element.";
1901
1902const char kTouchEventsName[] = "Touch Events API";
1903const char kTouchEventsDescription[] =
1904 "Force Touch Events API feature detection to always be enabled or "
1905 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291906 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511907
1908const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1909const char kTouchSelectionStrategyDescription[] =
1910 "Controls how text selection granularity changes when touch text selection "
1911 "handles are dragged. Non-default behavior is experimental.";
1912const char kTouchSelectionStrategyCharacter[] = "Character";
1913const char kTouchSelectionStrategyDirection[] = "Direction";
1914
1915const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1916const char kTraceUploadUrlDescription[] =
1917 "This is to be used in conjunction with the enable-navigation-tracing "
1918 "flag. Please select the label that best describes the recorded traces. "
1919 "This will choose the destination the traces are uploaded to. If you are "
1920 "not sure, select other. If left empty, no traces will be uploaded.";
1921const char kTraceUploadUrlChoiceOther[] = "Other";
1922const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1923const char kTraceUploadUrlChoiceQa[] = "QA";
1924const char kTraceUploadUrlChoiceTesting[] = "Testing";
1925
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561926const char kTranslateExplicitLanguageAskName[] =
1927 "Explicitly ask for language preferences";
1928const char kTranslateExplicitLanguageAskDescription[] =
1929 "Explicitly ask the user which languages they can read on Chrome startup, "
1930 "on the first run that doesn't already have a promo.";
1931
Anthony Vallee-Dubois265c5692018-06-01 15:57:141932const char kTranslateForceTriggerOnEnglishName[] =
1933 "Select which language model to use to trigger translate on English "
1934 "content";
1935const char kTranslateForceTriggerOnEnglishDescription[] =
1936 "Force the Translate Triggering on English pages experiment to be enabled "
1937 "with the selected language model active.";
1938
Philippe Hamel7fdaa452017-09-29 17:22:491939const char kTranslateRankerEnforcementName[] =
1940 "Enforce TranslateRanker decisions";
1941const char kTranslateRankerEnforcementDescription[] =
1942 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1943 "or not Translate UI should be triggered in a given context.";
1944
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161945const char kTranslateUIName[] = "Enable Translate";
1946const char kTranslateUIDescription[] =
1947 "Enable the Translate popup when visiting webpages in other languages.";
1948
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051949const char kTreatInsecureOriginAsSecureName[] =
1950 "Insecure origins treated as secure";
1951const char kTreatInsecureOriginAsSecureDescription[] =
1952 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1953 "supplied as a comma-separated list. For the definition of secure "
1954 "contexts, "
1955 "see https://w3c.github.io/webappsec-secure-contexts/";
1956
Brett Wilsonecb80982017-07-12 20:34:511957const char kTrySupportedChannelLayoutsName[] =
1958 "Causes audio output streams to check if channel layouts other than the "
1959 "default hardware layout are available.";
1960const char kTrySupportedChannelLayoutsDescription[] =
1961 "Causes audio output streams to check if channel layouts other than the "
1962 "default hardware layout are available. Turning this on will allow the OS "
1963 "to do stereo to surround expansion if supported. May expose third party "
1964 "driver bugs, use with caution.";
1965
David Roger6762a092018-01-31 15:55:071966const char kUnifiedConsentName[] = "Unified Consent";
1967const char kUnifiedConsentDescription[] =
1968 "Enables a unified management of user consent for privacy-related "
1969 "features. This includes new confirmation screens and improved settings "
1970 "pages.";
1971
Jérôme Lebelfe1b2e02018-08-03 12:26:201972const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1973const char kForceUnifiedConsentBumpDescription[] =
1974 "Force the unified consent bump UI to be shown on every start-up. This "
1975 "flag is for debug purpose, to test the UI.";
1976
Brett Wilsonecb80982017-07-12 20:34:511977const char kUiPartialSwapName[] = "Partial swap";
1978const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1979
Chris Pickel3a227ae62017-08-24 10:47:261980const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1981const char kUseDdljsonApiDescription[] =
1982 "Enables the new ddljson API to fetch Doodles for the NTP.";
1983
Becca Hughes59c05b42017-11-03 13:11:581984const char kUseModernMediaControlsName[] = "New Media Controls";
1985const char kUseModernMediaControlsDescription[] =
1986 "Enables the new style native media controls.";
1987
Wei Li790e7a8572018-03-23 01:31:551988const char kUsePdfCompositorServiceName[] =
1989 "Use PDF compositor service for printing";
1990const char kUsePdfCompositorServiceDescription[] =
1991 "When enabled, use PDF compositor service to composite and generate PDF "
1992 "files for printing. When site isolation is enabled, disabling this will "
1993 "not stop using PDF compositor service since the service is required for "
1994 "printing out-of-process iframes correctly.";
1995
Mustaq Ahmedc646c0a2017-10-20 20:08:301996const char kUserActivationV2Name[] = "User Activation v2";
1997const char kUserActivationV2Description[] =
1998 "Enable simple user activation for APIs that are otherwise controlled by "
1999 "user gesture tokens.";
2000
Brett Wilsonecb80982017-07-12 20:34:512001const char kUserConsentForExtensionScriptsName[] =
2002 "User consent for extension scripts";
2003const char kUserConsentForExtensionScriptsDescription[] =
2004 "Require user consent for an extension running a script on the page, if "
2005 "the extension requested permission to run on all urls.";
2006
2007const char kUseSuggestionsEvenIfFewFeatureName[] =
2008 "Disable minimum for server-side tile suggestions on NTP.";
2009const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2010 "Request server-side suggestions even if there are only very few of them "
2011 "and use them for tiles on the New Tab Page.";
2012
2013const char kV8CacheOptionsName[] = "V8 caching mode.";
2014const char kV8CacheOptionsDescription[] =
2015 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512016const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2017
Hitoshi Yoshida3e5db562017-09-11 02:31:082018const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2019const char kV8ContextSnapshotDescription[] =
2020 "Sets to use a snapshot to create V8 contexts in frame creation.";
2021
Michael Hablich896d52662017-10-23 15:59:572022const char kV8VmFutureName[] = "Future V8 VM features";
2023const char kV8VmFutureDescription[] =
2024 "This enables upcoming and experimental V8 VM features. "
2025 "This flag does not enable experimental JavaScript features.";
2026
Hannes Payer1130d5672018-06-05 07:37:312027const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2028const char kV8OrinocoDescription[] =
2029 "This enables the V8 Orinoco garbage collection features.";
2030
Brett Wilsonecb80982017-07-12 20:34:512031const char kVideoFullscreenOrientationLockName[] =
2032 "Lock screen orientation when playing a video fullscreen.";
2033const char kVideoFullscreenOrientationLockDescription[] =
2034 "Lock the screen orientation of the device to match video orientation when "
2035 "a video goes fullscreen. Only on phones.";
2036
2037const char kVideoRotateToFullscreenName[] =
2038 "Rotate-to-fullscreen gesture for videos.";
2039const char kVideoRotateToFullscreenDescription[] =
2040 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2041 "the video. Only on phones.";
2042
2043const char kWalletServiceUseSandboxName[] =
2044 "Use Google Payments sandbox servers";
2045const char kWalletServiceUseSandboxDescription[] =
2046 "For developers: use the sandbox service for Google Payments API calls.";
2047
Brett Wilsonecb80982017-07-12 20:34:512048const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2049const char kWebglDraftExtensionsDescription[] =
2050 "Enabling this option allows web applications to access the WebGL "
2051 "Extensions that are still in draft status.";
2052
2053const char kWebMidiName[] = "Web MIDI API";
2054const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2055
2056const char kWebPaymentsName[] = "Web Payments";
2057const char kWebPaymentsDescription[] =
2058 "Enable Web Payments API integration, a JavaScript API for merchants.";
2059
Mathieu Perreault51339b82017-07-20 17:06:052060const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2061const char kWebPaymentsModifiersDescription[] =
2062 "If the website provides modifiers in the payment request, show the custom "
2063 "total for each payment instrument, update the shopping cart when "
2064 "instruments are switched, and send modified payment method specific data "
2065 "to the payment app.";
2066
Brett Wilsonecb80982017-07-12 20:34:512067const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2068const char kWebrtcEchoCanceller3Description[] =
2069 "Experimental WebRTC echo canceller (AEC3).";
2070
Alex Loikob5fb1282018-08-14 10:04:402071const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2072const char kWebrtcHybridAgcDescription[] =
2073 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2074
Brett Wilsonecb80982017-07-12 20:34:512075const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2076const char kWebrtcHwDecodingDescription[] =
2077 "Support in WebRTC for decoding video streams using platform hardware.";
2078
2079const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2080const char kWebrtcHwEncodingDescription[] =
2081 "Support in WebRTC for encoding video streams using platform hardware.";
2082
2083const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2084const char kWebrtcHwH264EncodingDescription[] =
2085 "Support in WebRTC for encoding h264 video streams using platform "
2086 "hardware.";
2087
2088const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2089const char kWebrtcHwVP8EncodingDescription[] =
2090 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2091
Niels Möller090866a2018-02-13 10:55:032092const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2093 "WebRTC new encode cpu load estimator";
2094const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2095 "Enable new estimator for the encoder cpu load, for evaluation and "
2096 "testing. Intended to improve accuracy when screen casting.";
2097
Elad Alon85e0d0be2018-06-26 10:38:372098const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2099const char kWebRtcRemoteEventLogDescription[] =
2100 "Allow collecting WebRTC event logs and uploading them to Crash. "
2101 "Please note that, even if enabled, this will still require "
2102 "a policy to be set, for it to have an effect.";
2103
Brett Wilsonecb80982017-07-12 20:34:512104const char kWebrtcSrtpAesGcmName[] =
2105 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2106const char kWebrtcSrtpAesGcmDescription[] =
2107 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2108
Joachim Bauch4a41d7512017-08-23 14:24:232109const char kWebrtcSrtpEncryptedHeadersName[] =
2110 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2111const char kWebrtcSrtpEncryptedHeadersDescription[] =
2112 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2113 "for SRTP.";
2114
Brett Wilsonecb80982017-07-12 20:34:512115const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2116const char kWebrtcStunOriginDescription[] =
2117 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2118 "header.";
2119
Adam Riceed63fc02018-06-20 05:57:462120const char kWebSocketHandshakeReuseConnectionName[] =
2121 "Enable WebSocket connection reuse for authentication";
2122const char kWebSocketHandshakeReuseConnectionDescription[] =
2123 "Permits the WebSocket handshake to keep the connection open after an "
2124 "authentication failure. The connection may be used for further requests "
2125 "to send credentials. This is sometimes needed for Windows authentication.";
2126
Brett Wilsonecb80982017-07-12 20:34:512127const char kWebvrName[] = "WebVR";
2128const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012129 "Enables access to experimental Virtual Reality functionality via the "
2130 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2131 "Device API. Warning: Enabling this will also allow WebVR content on "
2132 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222133 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512134
Brandon Jonese9d9b2b2017-12-11 22:20:112135const char kWebXrName[] = "WebXR Device API";
2136const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012137 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2138 "and Augmented Reality (AR) devices.";
2139
2140const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2141const char kWebXrGamepadSupportDescription[] =
2142 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222143 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2144 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432145
2146const char kWebXrHitTestName[] = "WebXR Hit Test";
2147const char kWebXrHitTestDescription[] =
2148 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112149
Anna Maria57ecf7592018-01-12 03:10:402150const char kWebXrOrientationSensorDeviceName[] =
2151 "WebXR orientation sensor device";
2152const char kWebXrOrientationSensorDeviceDescription[] =
2153 "When no VR platform device is available, expose a non-presenting device "
2154 "based on the device's orientation sensors, if available.";
2155
Brett Wilsonecb80982017-07-12 20:34:512156const char kWifiCredentialSyncName[] = "WiFi credential sync";
2157const char kWifiCredentialSyncDescription[] =
2158 "Enables synchronizing WiFi network settings across devices. When enabled, "
2159 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2160 "credentials are synchronized subject to user preferences. (See also, "
2161 "chrome://settings/syncSetup.)";
2162
2163const char kZeroCopyName[] = "Zero-copy rasterizer";
2164const char kZeroCopyDescription[] =
2165 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342166
Brett Wilsonff596952017-07-14 01:06:552167// Android ---------------------------------------------------------------------
2168
2169#if defined(OS_ANDROID)
2170
2171const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2172const char kAiaFetchingDescription[] =
2173 "Enable intermediate certificate fetching when a server does not provide "
2174 "sufficient certificates to build a chain to a trusted root.";
2175
2176const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2177const char kAccessibilityTabSwitcherDescription[] =
2178 "Enable the accessibility tab switcher for Android.";
2179
2180const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2181const char kAndroidAutofillAccessibilityDescription[] =
2182 "Enable accessibility for autofill popup.";
2183
Khushalbb1963a2018-10-02 21:02:352184const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2185const char kAndroidSurfaceControlDescription[] =
2186 "Use the SurfaceControl API for supporting overlays on Android";
2187
Anita Woodruffbfcd1e52018-07-16 12:00:512188const char kAppNotificationStatusMessagingName[] =
2189 "App notification status messaging";
2190const char kAppNotificationStatusMessagingDescription[] =
2191 "Enables messaging in site permissions UI informing user when "
2192 "notifications are disabled for the entire app.";
2193
Brett Wilsonff596952017-07-14 01:06:552194const char kAndroidPaymentAppsName[] = "Android payment apps";
2195const char kAndroidPaymentAppsDescription[] =
2196 "Enable third party Android apps to integrate as payment apps";
2197
Miriam Gershenson8cf1397222018-01-23 22:48:292198const char kAsyncDnsName[] = "Async DNS resolver";
2199const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2200
Dan Harrington01229f82018-09-12 21:01:212201const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2202const char kAutoFetchOnNetErrorPageDescription[] =
2203 "When enabled, and navigation fails with an offline error, schedule a "
2204 "fetch of the page when online again.";
2205
Brett Wilsonff596952017-07-14 01:06:552206const char kAutofillAccessoryViewName[] =
2207 "Autofill suggestions as keyboard accessory view";
2208const char kAutofillAccessoryViewDescription[] =
2209 "Shows Autofill suggestions on top of the keyboard rather than in a "
2210 "dropdown.";
2211
2212const char kBackgroundLoaderForDownloadsName[] =
2213 "Enables background downloading of pages.";
2214const char kBackgroundLoaderForDownloadsDescription[] =
2215 "Enables downloading pages in the background in case page is not yet "
2216 "loaded in current tab.";
2217
Tibor Goldschwendt11b3cf22018-07-04 15:32:442218const char kBackgroundTaskComponentUpdateName[] =
2219 "Background Task Component Updates";
2220const char kBackgroundTaskComponentUpdateDescription[] =
2221 "Schedule component updates with BackgroundTaskScheduler";
2222
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002223const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2224const char kCCTModuleDescription[] =
2225 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2226
Michael van Ouwerkerk29a7a292018-10-09 09:20:142227const char kCCTModuleCacheName[] = "Chrome Custom Tabs Module Cache";
2228const char kCCTModuleCacheDescription[] =
Michael van Ouwerkerka5df1ec2018-10-11 11:57:402229 "Enables a cache for dynamically loaded modules in Chrome Custom Tabs. "
2230 "Under mild memory pressure the cache may be retained for some time";
Michael van Ouwerkerk29a7a292018-10-09 09:20:142231
Matthew Jones1abcb132018-07-09 17:59:462232const char kChromeDuetName[] = "Chrome Duet";
2233const char kChromeDuetDescription[] =
2234 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052235
Megan Jablonskic61eb1b82017-10-02 18:03:062236const char kChromeMemexName[] = "Chrome Memex";
2237const char kChromeMemexDescription[] =
2238 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2239 "Googlers.";
2240
Sarath Singapati83aef1c2017-11-16 15:54:522241const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2242const char kClearOldBrowsingDataDescription[] =
2243 "Enables clearing of browsing data which is older than a given time "
2244 "period.";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kContentSuggestionsCategoryOrderName[] =
2247 "Default content suggestions category order (e.g. on NTP)";
2248const char kContentSuggestionsCategoryOrderDescription[] =
2249 "Set default order of content suggestion categories (e.g. on the NTP).";
2250
2251const char kContentSuggestionsCategoryRankerName[] =
2252 "Content suggestions category ranker (e.g. on NTP)";
2253const char kContentSuggestionsCategoryRankerDescription[] =
2254 "Set category ranker to order categories of content suggestions (e.g. on "
2255 "the NTP).";
2256
Vitalii Iarkof52ff802017-09-14 12:34:242257const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2258const char kContentSuggestionsDebugLogDescription[] =
2259 "Enable content suggestions debug log accessible through "
2260 "snippets-internals.";
2261
Donn Denman8e58ead2017-11-04 01:44:012262const char kContextualSearchMlTapSuppressionName[] =
2263 "Contextual Search ML tap suppression";
2264const char kContextualSearchMlTapSuppressionDescription[] =
2265 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022266 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2267 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552268
2269const char kContextualSearchName[] = "Contextual Search";
2270const char kContextualSearchDescription[] =
2271 "Whether or not Contextual Search is enabled.";
2272
Donn Denman59729812018-01-09 01:27:022273const char kContextualSearchRankerQueryName[] =
2274 "Contextual Search Ranker prediction";
2275const char kContextualSearchRankerQueryDescription[] =
2276 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2277
2278const char kContextualSearchSecondTapName[] =
2279 "Contextual Search second tap triggering";
2280const char kContextualSearchSecondTapDescription[] =
2281 "Enables triggering on a second tap gesture even when Ranker would "
2282 "normally suppress that tap.";
2283
Donn Denmane9b5b7fb2018-07-24 22:19:492284const char kContextualSearchUnityIntegrationName[] =
2285 "Contextual Search integration with Unified Consent";
2286const char kContextualSearchUnityIntegrationDescription[] =
2287 "Enables integration of Tap to Search with Unified Consent.";
2288
Cathy Li2fb32bf82018-06-06 18:55:402289const char kExploreSitesName[] = "Explore websites";
2290const char kExploreSitesDescription[] =
2291 "Enables portal from new tab page to explore websites.";
2292
Dmitry Skiba9c3efa72017-07-20 22:01:142293const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2294const char kDontPrefetchLibrariesDescription[] =
2295 "Don't prefetch libraries after loading.";
2296
Joy Ming189b0cc2017-12-08 19:42:432297const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2298const char kDownloadsLocationChangeDescription[] =
2299 "Enable changing default downloads storage location on Android.";
2300
Shakti Sahu32b2ee102018-05-17 00:04:462301const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2302const char kDownloadProgressInfoBarDescription[] =
2303 "Enables an infobar notifying users about status of current downloads.";
2304
Shakti Sahu9ec8cfd2018-07-17 13:29:292305const char kDownloadHomeV2Name[] = "Enable download home v2";
2306const char kDownloadHomeV2Description[] =
2307 "Enables the new UI for download home";
2308
Brett Wilsonff596952017-07-14 01:06:552309const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2310const char kEnableAndroidPayIntegrationV1Description[] =
2311 "Enable integration with Android Pay using the first version of the API";
2312
2313const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2314const char kEnableAndroidPayIntegrationV2Description[] =
2315 "Enable integration with Android Pay using the second version of the API";
2316
Fabio Tirelo918089a2018-10-22 21:24:082317const char kAutofillManualFallbackAndroidName[] =
2318 "Enable Autofill manual fallback for Addresses and Payments (Android)";
2319const char kAutofillManualFallbackAndroidDescription[] =
2320 "If enabled, adds toggle for addresses and payments bottom sheet to the "
2321 "keyboard accessory.";
2322
Fabio Tirelo315e65922018-09-05 03:35:492323const char kEnableAutofillRefreshStyleName[] =
2324 "Enable Autofill refresh style (Android)";
2325const char kEnableAutofillRefreshStyleDescription[] =
2326 "Enable modernized style for Autofill on Android";
2327
Vitalii Iarkof4ed32d2017-09-26 13:15:532328const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552329const char kEnableAndroidSpellcheckerDescription[] =
2330 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552331
Lei Tianbd5a3bf2018-02-28 19:01:162332const char kEnableCommandLineOnNonRootedName[] =
2333 "Enable command line on non-rooted devices";
2334const char kEnableCommandLineOnNoRootedDescription[] =
2335 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2336
Vitalii Iarkof4ed32d2017-09-26 13:15:532337const char kEnableContentSuggestionsNewFaviconServerName[] =
2338 "Get favicons for content suggestions from a new server.";
2339const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2340 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2341 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552342
Vitalii Iarkof4ed32d2017-09-26 13:15:532343const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2344 "Use content suggestions thumbnail dominant color.";
2345const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2346 "Use content suggestions thumbnail dominant color as a placeholder before "
2347 "the real thumbnail is fetched (requires Chrome Home).";
2348
Brett Wilsonff596952017-07-14 01:06:552349const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2350const char kEnableCustomContextMenuDescription[] =
2351 "Enables a new context menu when a link, image, or video is pressed within "
2352 "Chrome.";
2353
2354const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2355const char kEnableCustomFeedbackUiDescription[] =
2356 "Enables a custom feedback UI when submitting feedback through Google "
2357 "Feedback. Works with Google Play Services v10.2+";
2358
2359const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472360 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552361const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472362 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552363
Becca Hughes6d73bac542018-06-18 20:38:502364const char kEnableMediaControlsExpandGestureName[] =
2365 "Enable Media Controls Expand Gesture";
2366const char kEnableMediaControlsExpandGestureDescription[] =
2367 "Enables a gesture to be used on the media controls to extend the video "
2368 "into the Display Cutout area.";
2369
Brett Wilsonff596952017-07-14 01:06:552370const char kEnableOmniboxClipboardProviderName[] =
2371 "Omnibox clipboard URL suggestions";
2372const char kEnableOmniboxClipboardProviderDescription[] =
2373 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2374 "focus in the omnibox.";
2375
Brett Wilsonff596952017-07-14 01:06:552376const char kEnableNtpAssetDownloadSuggestionsName[] =
2377 "Show asset downloads on the New Tab page";
2378const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2379 "If enabled, the list of content suggestions on the New Tab page will "
2380 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2381 "later use.";
2382
2383const char kEnableNtpBookmarkSuggestionsName[] =
2384 "Show recently visited bookmarks on the New Tab page";
2385const char kEnableNtpBookmarkSuggestionsDescription[] =
2386 "If enabled, the list of content suggestions on the New Tab page will "
2387 "contain recently visited bookmarks.";
2388
Brett Wilsonff596952017-07-14 01:06:552389const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2390 "Show offline page downloads on the New Tab page";
2391const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2392 "If enabled, the list of content suggestions on the New Tab page will "
2393 "contain pages that the user downloaded for later use.";
2394
2395const char kEnableNtpRemoteSuggestionsName[] =
2396 "Show server-side suggestions on the New Tab page";
2397const char kEnableNtpRemoteSuggestionsDescription[] =
2398 "If enabled, the list of content suggestions on the New Tab page will "
2399 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2400 "allows to override the source used to retrieve these server-side "
2401 "suggestions.";
2402
2403const char kEnableNtpSnippetsVisibilityName[] =
2404 "Make New Tab Page Snippets more visible.";
2405const char kEnableNtpSnippetsVisibilityDescription[] =
2406 "If enabled, the NTP snippets will become more discoverable with a larger "
2407 "portion of the first card above the fold.";
2408
2409const char kEnableNtpSuggestionsNotificationsName[] =
2410 "Notify about new content suggestions available at the New Tab page";
2411const char kEnableNtpSuggestionsNotificationsDescription[] =
2412 "If enabled, notifications will inform about new content suggestions on "
2413 "the New Tab page.";
2414
Brett Wilsonff596952017-07-14 01:06:552415const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2416const char kEnableOfflinePreviewsDescription[] =
2417 "Enable showing offline page previews on slow networks.";
2418
2419const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2420const char kEnableOskOverscrollDescription[] =
2421 "Enable OSK overscroll support. With this flag on, the OSK will only "
2422 "resize the visual viewport.";
2423
2424const char kEnableSpecialLocaleName[] =
2425 "Enable custom logic for special locales.";
2426const char kEnableSpecialLocaleDescription[] =
2427 "Enable custom logic for special locales. In this mode, Chrome might "
2428 "behave differently in some locales.";
2429
Brett Wilsonff596952017-07-14 01:06:552430const char kEnableWebNfcName[] = "WebNFC";
2431const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2432
gogeraldf3cbb422017-07-26 14:37:122433const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2434 "Enable Web Payments method section order V2.";
2435const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2436 "Enable this option to display payment method section above address "
2437 "section instead of below it.";
2438
Donn Denmanffaeaa32018-10-12 17:37:532439const char kEphemeralTabName[] = "An Ephemeral Tab in an Overlay Panel";
2440const char kEphemeralTabDescription[] =
2441 "Enable a 'sneak peek' at a linked page in an overlay.";
2442
Raymes Khoury582b43132017-12-12 23:54:302443const char kGrantNotificationsToDSEName[] =
2444 "Grant notifications to the Default Search Engine";
2445const char kGrantNotificationsToDSENameDescription[] =
2446 "Automatically grant the notifications permission to the Default Search "
2447 "Engine";
2448
Daniel Parke74fcf862018-03-27 18:05:452449const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512450const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452451
Yafei Duanbb7663f32018-07-17 01:33:152452const char kHomepageTileName[] =
2453 "Enable Homepage tile shown in Suggested Tiles";
2454const char kHomepageTileDescription[] =
2455 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2456 "used for homepage. It will not have an effect when NTPButton is disabled.";
2457
Jian Li4b252642018-07-23 19:49:072458const char kIncognitoStringsName[] = "Alternate incognito strings";
2459const char kIncognitoStringsDescription[] =
2460 "Show alternate incognito strings if enabled.";
2461
Theresa920e0ed2018-03-07 18:12:442462const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152463 "Use the interest feed to render content suggestions. Currently "
2464 "content "
Theresa920e0ed2018-03-07 18:12:442465 "suggestions are shown on the New Tab Page.";
2466const char kInterestFeedContentSuggestionsName[] =
2467 "Interest Feed Content Suggestions";
2468
Brett Wilsonff596952017-07-14 01:06:552469const char kKeepPrefetchedContentSuggestionsName[] =
2470 "Keep prefetched content suggestions";
2471const char kKeepPrefetchedContentSuggestionsDescription[] =
2472 "If enabled, some of prefetched content suggestions are not replaced by "
2473 "the new fetched suggestions.";
2474
Leo Zhang051b75482017-12-20 03:28:302475const char kLanguagesPreferenceName[] = "Language Settings";
2476const char kLanguagesPreferenceDescription[] =
2477 "Enable this option for Language Settings feature on Android.";
2478
Brett Wilsonff596952017-07-14 01:06:552479const char kLsdPermissionPromptName[] =
2480 "Location Settings Dialog Permission Prompt";
2481const char kLsdPermissionPromptDescription[] =
2482 "Whether to use the Google Play Services Location Settings Dialog "
2483 "permission dialog.";
2484
Amirhossein Simjour97b4154f2018-02-20 03:49:592485const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2486const char kModalPermissionDialogViewDescription[] =
2487 "Enable this option to use ModalDialogManager for permission Dialogs.";
2488
Brett Wilsonff596952017-07-14 01:06:552489const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2490const char kMediaScreenCaptureDescription[] =
2491 "Enable this option for experimental ScreenCapture feature on Android.";
2492
2493const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2494const char kModalPermissionPromptsDescription[] =
2495 "Whether to use permission dialogs in place of permission infobars.";
2496
Finnur Thorarinssonc1488fc62018-07-09 19:21:572497const char kNewContactsPickerName[] = "Enable new contacts picker";
2498const char kNewContactsPickerDescription[] =
2499 "Activates the new picker for selecting contacts.";
2500
Dan Harrington541db9e2018-07-30 18:36:302501const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2502const char kNewNetErrorPageUIDescription[] =
2503 "Selects which new UI experience to show on the net-error (Dino) page";
2504
Brett Wilsonff596952017-07-14 01:06:552505const char kNewPhotoPickerName[] = "Enable new Photopicker";
2506const char kNewPhotoPickerDescription[] =
2507 "Activates the new picker for selecting photos.";
2508
2509const char kNoCreditCardAbort[] = "No Credit Card Abort";
2510const char kNoCreditCardAbortDescription[] =
2511 "Whether or not the No Credit Card Abort is enabled.";
2512
Daniel Park990d0992018-05-18 22:12:512513const char kNtpButtonName[] = "Enable NTP Button";
2514const char kNtpButtonDescription[] =
2515 "Displays a New Tab Page button in the toolbar if enabled.";
2516
Brett Wilsonff596952017-07-14 01:06:552517const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2518const char kOfflineBookmarksDescription[] =
2519 "Enable saving bookmarked pages for offline viewing.";
2520
Jian Liade82832018-09-06 22:31:412521const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2522const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2523 "Always do http probe to detect network connectivity for offline indicator "
2524 "as opposed to just taking the connection state from the system."
2525 "Used for testing.";
2526
2527const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2528const char kOfflineIndicatorChoiceDescription[] =
2529 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322530
Brett Wilsonff596952017-07-14 01:06:552531const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2532const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2533
2534const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2535const char kOfflinePagesCtV2Description[] =
2536 "V2 features include attributing pages to the app that initiated the "
2537 "custom tabs, and being able to query for pages by page attribution.";
2538
Cathy Li7311d792018-04-05 00:34:162539const char kOfflinePagesCTSuppressNotificationsName[] =
2540 "Disable download complete notification for whitelisted CCT apps.";
2541const char kOfflinePagesCTSuppressNotificationsDescription[] =
2542 "Disable download complete notification for page downloads originating "
2543 "from a CCT app whitelisted to show their own download complete "
2544 "notification.";
2545
Candice Sy74fa7a352018-03-30 23:46:492546const char kOfflinePagesDescriptiveFailStatusName[] =
2547 "Enables descriptive failed download status text.";
2548const char kOfflinePagesDescriptiveFailStatusDescription[] =
2549 "Enables failed download status text in notifications and Downloads Home "
2550 "to state the reason the request failed if the failure is actionable.";
2551
2552const char kOfflinePagesDescriptivePendingStatusName[] =
2553 "Enables descriptive pending download status text.";
2554const char kOfflinePagesDescriptivePendingStatusDescription[] =
2555 "Enables pending download status text in notifications and Downloads Home "
2556 "to state the reason the request is pending.";
2557
2558const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2559 "Enables offline pages in the downloads home to be opened in CCT.";
2560const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2561 "When enabled offline pages launched from the Downloads Home will be "
2562 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2563
Carlos Knippschild09272ecd2017-12-09 03:29:362564const char kOfflinePagesLimitlessPrefetchingName[] =
2565 "Removes resource usage limits for the prefetching of offline pages.";
2566const char kOfflinePagesLimitlessPrefetchingDescription[] =
2567 "Allows the prefetching of suggested offline pages to ignore resource "
2568 "usage limits. This allows it to completely ignore data usage limitations "
2569 "and allows downloads to happen with any kind of connection.";
2570
Brett Wilsonff596952017-07-14 01:06:552571const char kOfflinePagesLoadSignalCollectingName[] =
2572 "Enables collecting load timing data for offline page snapshots.";
2573const char kOfflinePagesLoadSignalCollectingDescription[] =
2574 "Enables loading completeness data collection while writing an offline "
2575 "page. This data is collected in the snapshotted offline page to allow "
2576 "data analysis to improve deciding when to make the offline snapshot.";
2577
2578const char kOfflinePagesPrefetchingName[] =
2579 "Enables suggested offline pages to be prefetched.";
2580const char kOfflinePagesPrefetchingDescription[] =
2581 "Enables suggested offline pages to be prefetched, so useful content is "
2582 "available while offline.";
2583
Pete Williamson7845dff2017-09-20 11:06:192584const char kOfflinePagesResourceBasedSnapshotName[] =
2585 "Enables offline page snapshots to be based on percentage of page loaded.";
2586const char kOfflinePagesResourceBasedSnapshotDescription[] =
2587 "Enables offline page snapshots to use a resource percentage based "
2588 "approach for determining when the page is loaded as opposed to a time "
2589 "based approach";
2590
Collin Baker17f92a52017-07-19 21:41:252591const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2592const char kOfflinePagesRenovationsDescription[] =
2593 "Enables offline page renovations which correct issues with dynamic "
2594 "content that occur when offlining pages that use JavaScript.";
2595
Brett Wilsonff596952017-07-14 01:06:552596const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2597const char kOfflinePagesSharingDescription[] =
2598 "Enables the saved offline pages to be shared via other applications.";
2599
Yafei Duan36b4b5b2018-08-07 00:40:032600const char kOfflinePagesLivePageSharingName[] =
2601 "Enables live page sharing of offline pages";
2602const char kOfflinePagesLivePageSharingDescription[] =
2603 "Enables to share current loaded page as offline page by saving as MHTML "
2604 "first.";
2605
Cathy Lie0d88762018-04-12 08:03:012606const char kOfflinePagesShowAlternateDinoPageName[] =
2607 "Enable alternate dino page with more user capabilities.";
2608const char kOfflinePagesShowAlternateDinoPageDescription[] =
2609 "Enables the dino page to show more buttons and offer existing offline "
2610 "content.";
2611
Brett Wilsonff596952017-07-14 01:06:552612const char kOfflinePagesSvelteConcurrentLoadingName[] =
2613 "Enables concurrent background loading on svelte.";
2614const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2615 "Enables concurrent background loading (or downloading) of pages on "
2616 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2617 "happen when the svelte device is idle.";
2618
2619const char kOffliningRecentPagesName[] =
2620 "Enable offlining of recently visited pages";
2621const char kOffliningRecentPagesDescription[] =
2622 "Enable storing recently visited pages locally for offline use. Requires "
2623 "Offline Pages to be enabled.";
2624
Lei Zhang2eca9082017-10-17 20:42:502625const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2626const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552627 "Enable Pay with Google integration into Web Payments with API version "
2628 "'1'.";
2629
Matthew Jonesa88b95852017-11-08 23:13:502630const char kProgressBarThrottleName[] = "Android progress update throttling.";
2631const char kProgressBarThrottleDescription[] =
2632 "Limit the maximum progress update to make progress appear smoother.";
2633
Brett Wilsonff596952017-07-14 01:06:552634const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2635const char kPullToRefreshEffectDescription[] =
2636 "Page reloads triggered by vertically overscrolling content.";
2637
Piotr Swigon7c296ef2017-08-29 04:32:002638const char kPwaImprovedSplashScreenName[] =
2639 "Improved Splash Screen for standalone PWAs";
2640const char kPwaImprovedSplashScreenDescription[] =
2641 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2642 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492643const char kPwaPersistentNotificationName[] =
2644 "Persistent notification in standalone PWA";
2645const char kPwaPersistentNotificationDescription[] =
2646 "Enables a persistent Android notification for standalone PWAs";
2647
Brett Wilsonff596952017-07-14 01:06:552648const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2649const char kReaderModeHeuristicsDescription[] =
2650 "Determines what pages the Reader Mode infobar is shown on.";
2651const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2652const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2653const char kReaderModeHeuristicsAllArticles[] = "All articles";
2654const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2655const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2656
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182657const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2658const char kReaderModeInCCTDescription[] =
2659 "Open Reader Mode in Chrome Custom Tabs.";
2660
Varun Khaneja80712a82018-10-12 23:34:592661const char kSafeBrowsingUseLocalBlacklistsV2Name[] =
2662 "Use local Safe Browsing blacklists";
2663const char kSafeBrowsingUseLocalBlacklistsV2Description[] =
2664 "If enabled, maintain a copy of Safe Browsing blacklists in the browser "
2665 "process to check the Safe Browsing reputation of URLs without calling "
2666 "into GmsCore for every URL.";
2667
Brett Wilsonff596952017-07-14 01:06:552668const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2669const char kSetMarketUrlForTestingDescription[] =
2670 "When enabled, sets the market URL for use in testing the update menu "
2671 "item.";
2672
2673const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2674const char kSpannableInlineAutocompleteDescription[] =
2675 "A new type of inline autocomplete for the omnibox that works with "
2676 "keyboards that compose text.";
2677
Theresaeea05a12018-05-09 21:01:592678const char kSimplifiedNtpName[] = "Simplified NTP";
2679const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2680
2681const char kSiteExplorationUiName[] = "Site Exploration UI";
2682const char kSiteExplorationUiDescription[] =
2683 "Show site suggestions in the Exploration UI";
2684
Anthony Vallee-Dubois4623e1b2018-10-11 22:09:182685const char kTranslateAndroidManualTriggerName[] =
2686 "Enable manual translate trigger";
2687const char kTranslateAndroidManualTriggerDescription[] =
2688 "Show a menu item in the main menu that triggers page translation.";
2689
Brett Wilsonff596952017-07-14 01:06:552690const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2691const char kUpdateMenuBadgeDescription[] =
Tommy Nyquist3c02e592018-10-18 23:36:442692 "When enabled, a badge will be shown on the app menu button if the update "
2693 "type is Update Available or Unsupported OS Version.";
Brett Wilsonff596952017-07-14 01:06:552694
2695const char kUpdateMenuItemCustomSummaryDescription[] =
2696 "When this flag and the force show update menu item flag are enabled, a "
2697 "custom summary string will be displayed below the update menu item.";
2698const char kUpdateMenuItemCustomSummaryName[] =
2699 "Update menu item custom summary";
2700
Tommy Nyquist3c02e592018-10-18 23:36:442701const char kUpdateMenuTypeName[] =
2702 "Forces the update menu type to a specific type";
2703const char kUpdateMenuTypeDescription[] =
2704 "When set, forces the update type to be a specific one, which impacts "
2705 "the app menu badge and menu item for updates.";
2706const char kUpdateMenuTypeNone[] = "None";
2707const char kUpdateMenuTypeUpdateAvailable[] = "Update Available";
2708const char kUpdateMenuTypeUnsupportedOSVersion[] = "Unsupported OS Version";
Brett Wilsonff596952017-07-14 01:06:552709
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462710const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2711const char kVrBrowsingTabsViewDescription[] =
2712 "Enable tab overview (tab switcher) in VR.";
2713
Marc Treib93af46a2017-08-23 13:30:002714const char kThirdPartyDoodlesName[] =
2715 "Enable Doodles for third-party search engines";
2716const char kThirdPartyDoodlesDescription[] =
2717 "Enables fetching and displaying Doodles on the NTP for third-party search "
2718 "engines.";
2719
Klaus Weidneraaf697f2018-01-18 20:07:362720const char kWebXrRenderPathName[] = "WebXR presentation render path";
2721const char kWebXrRenderPathDescription[] =
2722 "Render path to use for WebXR presentation (including WebVR)";
2723const char kWebXrRenderPathChoiceClientWaitDescription[] =
2724 "ClientWait (Baseline)";
2725const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2726 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072727const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2728 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362729
Brett Wilson7b44537e2017-08-18 01:38:282730// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552731
Brett Wilson7b44537e2017-08-18 01:38:282732#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482733
Brett Wilson7b44537e2017-08-18 01:38:282734const char kAccountConsistencyName[] =
2735 "Identity consistency between browser and cookie jar";
2736const char kAccountConsistencyDescription[] =
2737 "When enabled, the browser manages signing in and out of Google accounts.";
2738const char kAccountConsistencyChoiceMirror[] = "Mirror";
2739const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342740
Tommy Martino3fa3df52018-08-20 21:45:442741const char kAutofillDropdownLayoutName[] =
2742 "Autofill Dropdown Layout Experiment";
2743const char kAutofillDropdownLayoutDescription[] =
2744 "Alternate visual designs for the Autofill dropdown.";
2745
Fabio Tirelo3773dea2018-09-11 15:21:522746const char kAutofillPrimaryInfoStyleExperimentName[] =
2747 "Autofill experiment with primary info style";
2748const char kAutofillPrimaryInfoStyleExperimentDescription[] =
2749 "Allow experimentation with different typefaces for primary info on the "
2750 "Autofill dropdown (addresses and payment methods)";
2751
Chris Pickel3a227ae62017-08-24 10:47:262752const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2753const char kDoodlesOnLocalNtpDescription[] =
2754 "Show doodles on the local New Tab page if Google is the default search "
2755 "engine.";
2756
mlamouriff56c092017-05-11 15:31:392757const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392758const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342759 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392760const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392761const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392762const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342763 "Enabled (Flash lowers volume when interrupted by other sound, "
2764 "experimental)";
Becca Hughes87b17ae2018-10-04 00:35:422765const char kEnableAudioFocusEnabledNoEnforce[] =
2766 "Enabled (without enforcement of a single active media session)";
vabr0215a8e2017-03-28 12:47:342767
Sebastien Marchandd33f7dc2018-06-22 22:07:062768const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2769const char kInfiniteSessionRestoreDescription[] =
2770 "Reduces the number of tabs being loaded simultaneously during session "
2771 "restore, to improve responsiveness of the foreground tab. This requires "
2772 "#enable-page-almost-idle.";
2773
Sebastien Marchandd33f7dc2018-06-22 22:07:062774const char kEnableWebAuthenticationCtap2SupportName[] =
2775 "Enable Web Authentication API support for CTAP2 security keys";
2776const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472777 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062778
2779const char kEnableWebAuthenticationTestingAPIName[] =
2780 "Web Authentication Testing API";
2781const char kEnableWebAuthenticationTestingAPIDescription[] =
2782 "Enable Web Authentication Testing API support, which disconnects the API "
2783 "implementation from the real world, and allows configuring virtual "
2784 "authenticator devices for testing";
2785
Jeffrey Cohenf04130a42018-08-29 00:22:272786const char kHappinessTrackingSurveysForDesktopName[] =
2787 "Happiness Tracking Surveys";
2788const char kHappinessTrackingSurveysForDesktopDescription[] =
2789 "Enable showing Happiness Tracking Surveys to users on Desktop";
2790
Dave Schuyler598a4a42018-01-04 02:15:102791const char kOmniboxRichEntitySuggestionsName[] =
2792 "Omnibox rich entity suggestions";
2793const char kOmniboxRichEntitySuggestionsDescription[] =
2794 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212795 "more context and descriptive text about the entity. Has no effect unless "
2796 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2797 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102798
Travis Skarebcdb5ed32018-08-17 01:49:402799const char kOmniboxDriveSuggestionsName[] =
2800 "Omnibox Google Drive Document suggestions";
2801const char kOmniboxDriveSuggestionsDescriptions[] =
2802 "Display suggestions for Google Drive documents in the omnibox when Google "
2803 "is the default search engine.";
2804
Dave Schuyler616273d2018-04-19 03:12:522805const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2806const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212807 "Display answers using an enhanced layout with larger images. Has no "
2808 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2809 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522810
Orin Jaworski04c08b42018-07-11 02:39:562811const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2812const char kOmniboxReverseAnswersDescription[] =
2813 "Display answers with rows reversed (swapped); except definitions. Has no "
2814 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2815 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2816
Kevin Bailey898669972017-11-06 15:34:492817const char kOmniboxTabSwitchSuggestionsName[] =
2818 "Omnibox tab switch suggestions";
2819const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212820 "Enable suggestions for switching to open tabs within the Omnibox. "
2821 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2822 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492823
Orin Jaworskiae2df652018-09-26 01:11:062824const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2825const char kOmniboxPedalSuggestionsDescription[] =
2826 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2827 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2828 "Pedals accelerate actions within Chrome by detecting user intent and "
2829 "offering direct access to the end goal.";
2830
krbcc621412017-06-01 19:40:282831const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2832const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192833 "Enable receiving tail suggestions, a type of search suggestion based on "
2834 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342835
Sebastien Marchandd33f7dc2018-06-22 22:07:062836const char kPageAlmostIdleName[] = "Page Almost Idle";
2837const char kPageAlmostIdleDescription[] =
2838 "Make session restore use a definition of loading that waits for CPU and "
2839 "network quiescence.";
2840
2841const char kProactiveTabFreezeAndDiscardName[] =
2842 "Proactive Tab Freeze and Discard";
2843const char kProactiveTabFreezeAndDiscardDescription[] =
2844 "Enables proactive tab freezing and discarding. This requires "
2845 "#enable-page-almost-idle.";
2846
2847const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2848const char kSiteCharacteristicsDatabaseDescription[] =
2849 "Records usage of some features in a database while a tab is in background "
2850 "(title/favicon update, audio playback or usage of non-persistent "
2851 "notifications).";
2852
Brett Wilson7b44537e2017-08-18 01:38:282853const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2854const char kUseGoogleLocalNtpDescription[] =
2855 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322856
Brett Wilson7b44537e2017-08-18 01:38:282857#if defined(GOOGLE_CHROME_BUILD)
2858
2859const char kGoogleBrandedContextMenuName[] =
2860 "Google branding in the context menu";
2861const char kGoogleBrandedContextMenuDescription[] =
2862 "Shows a Google icon next to context menu items powered by Google "
2863 "services.";
2864
2865#endif // !defined(GOOGLE_CHROME_BUILD)
2866
2867#endif // !defined(OS_ANDROID)
2868
2869// Windows ---------------------------------------------------------------------
2870
2871#if defined(OS_WIN)
2872
David Bienvenud0ddda32018-11-01 16:59:162873const char kCalculateNativeWinOcclusionName[] =
2874 "Calculate window occlusion on Windows";
2875const char kCalculateNativeWinOcclusionDescription[] =
2876 "Calculate window occlusion on Windows will be used in the future "
2877 "to throttle and potentially unload foreground tabs in occluded windows";
2878
Brett Wilson7b44537e2017-08-18 01:38:282879const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2880const char kCloudPrintXpsDescription[] =
2881 "XPS enables advanced options for classic printers connected to the Cloud "
2882 "Print with Chrome. Printers must be re-connected after changing this "
2883 "flag.";
2884
2885const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2886const char kDisablePostscriptPrintingDescription[] =
2887 "Disables PostScript generation when printing to PostScript capable "
2888 "printers, and uses EMF generation in its place.";
2889
2890const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2891const char kEnableAppcontainerDescription[] =
2892 "Enables the use of an AppContainer on sandboxed processes to improve "
2893 "security.";
2894
Brett Wilson7b44537e2017-08-18 01:38:282895const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2896const char kEnableDesktopIosPromotionsDescription[] =
2897 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2898 "eligible.";
2899
James Forshawfd0ce342018-02-14 09:55:392900const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2901const char kEnableGpuAppcontainerDescription[] =
2902 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2903 "improve security.";
2904
Brett Wilson7b44537e2017-08-18 01:38:282905const char kGdiTextPrinting[] = "GDI Text Printing";
2906const char kGdiTextPrintingDescription[] =
2907 "Use GDI to print text as simply text";
2908
Henrik Grunell67e56ef2018-04-10 14:04:092909const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2910const char kIncreaseInputAudioBufferSizeDescription[] =
2911 "Increases the input audio endpoint buffer to 100 ms.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kTraceExportEventsToEtwName[] =
2914 "Enable exporting of tracing events to ETW.";
2915const char kTraceExportEventsToEtwDesription[] =
2916 "If enabled, trace events will be exported to the Event Tracing for "
2917 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2918 "Xperf.";
2919
Olli Etuaho122321192018-09-07 10:15:292920const char kUseAngleName[] = "Choose ANGLE graphics backend";
2921const char kUseAngleDescription[] =
2922 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2923 "computers by default. Using the OpenGL driver as the graphics backend may "
2924 "result in higher performance in some graphics-heavy applications, "
2925 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2926 "video playback.";
2927
2928const char kUseAngleDefault[] = "Default";
2929const char kUseAngleGL[] = "OpenGL";
2930const char kUseAngleD3D11[] = "D3D11";
2931const char kUseAngleD3D9[] = "D3D9";
2932
Brett Wilson7b44537e2017-08-18 01:38:282933const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2934const char kUseWinrtMidiApiDescription[] =
2935 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2936 "later).";
2937
2938const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2939const char kWindows10CustomTitlebarDescription[] =
2940 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2941 "deferring to Windows.";
2942
2943#endif // defined(OS_WIN)
2944
2945// Mac -------------------------------------------------------------------------
2946
2947#if defined(OS_MACOSX)
2948
Brett Wilson7b44537e2017-08-18 01:38:282949const char kFullscreenToolbarRevealName[] =
2950 "Enables the toolbar in fullscreen to reveal itself.";
2951const char kFullscreenToolbarRevealDescription[] =
2952 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2953 "has changed.";
2954
2955const char kContentFullscreenName[] = "Improved Content Fullscreen";
2956const char kContentFullscreenDescription[] =
2957 "Fullscreen content window detaches from main browser window and goes to "
2958 "a new space without moving or changing the original browser window.";
2959
Martin Kreichgauer1ca416d2018-07-11 00:43:192960const char kEnableWebAuthenticationTouchIdName[] =
2961 "Web Authentication API Touch ID support";
2962const char kEnableWebAuthenticationTouchIdDescription[] =
2963 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2964
Brett Wilson7b44537e2017-08-18 01:38:282965const char kHostedAppsInWindowsName[] =
2966 "Allow hosted apps to be opened in windows";
2967const char kHostedAppsInWindowsDescription[] =
2968 "Allows hosted apps to be opened in windows instead of being limited to "
2969 "tabs.";
2970
Christopher Cameron57dee5a42018-09-25 01:20:082971const char kCreateAppWindowsInAppShimProcessName[] =
2972 "Create native windows in the app process";
2973const char kCreateAppWindowsInAppShimProcessDescription[] =
2974 "Create native windows the app shim process, instead of of the browser "
2975 "process.";
2976
Lei Zhang2eca9082017-10-17 20:42:502977const char kMacRTLName[] = "Enable RTL";
2978const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282979
Lei Zhang2eca9082017-10-17 20:42:502980const char kMacTouchBarName[] = "Hardware Touch Bar";
2981const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282982
Greg Kerraea59272018-10-12 16:44:312983const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2984const char kMacV2SandboxDescription[] =
2985 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2986 "entire life cycle.";
2987
Brett Wilson7b44537e2017-08-18 01:38:282988const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2989const char kMacViewsNativeAppWindowsDescription[] =
2990 "Controls whether to use Toolkit-Views based Chrome App windows.";
2991
2992const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2993const char kMacViewsTaskManagerDescription[] =
2994 "Controls whether to use the Toolkit-Views based Task Manager.";
2995
2996const char kTabDetachingInFullscreenName[] =
2997 "Allow tab detaching in fullscreen";
2998const char kTabDetachingInFullscreenDescription[] =
2999 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
3000
3001const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
3002const char kTabStripKeyboardFocusDescription[] =
3003 "Enable keyboard focus for the tabs in the tab strip.";
3004
Tessa Nijssen4db9799e2018-08-06 21:04:383005const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
3006const char kTextSuggestionsTouchBarDescription[] =
3007 "Enable text suggestions touch bar for textfields.";
3008
Brett Wilson7b44537e2017-08-18 01:38:283009#endif
3010
3011// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343012
3013#if defined(OS_CHROMEOS)
3014
Brett Wilson7b44537e2017-08-18 01:38:283015const char kAcceleratedMjpegDecodeName[] =
3016 "Hardware-accelerated mjpeg decode for captured frame";
3017const char kAcceleratedMjpegDecodeDescription[] =
3018 "Enable hardware-accelerated mjpeg decode for captured frame where "
3019 "available.";
vabr0215a8e2017-03-28 12:47:343020
Brett Wilson7b44537e2017-08-18 01:38:283021const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3022const char kAllowTouchpadThreeFingerClickDescription[] =
3023 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343024
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523025const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3026const char kArcAvailableForChildDescription[] =
3027 "Allow child accounts to start Android apps.";
3028
Brett Wilson7b44537e2017-08-18 01:38:283029const char kArcBootCompleted[] = "Load Android apps automatically";
3030const char kArcBootCompletedDescription[] =
3031 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343032
Luum Habtemariamdaa8fd22018-06-25 22:39:433033const char kArcCupsApiName[] = "ARC CUPS API";
3034const char kArcCupsApiDescription[] =
3035 "Enables support of libcups APIs from ARC";
3036
Satoshi Niwa8b1d5282018-10-24 04:53:033037const char kArcFilePickerExperimentName[] =
3038 "Enable file picker experiment for ARC";
3039const char kArcFilePickerExperimentDescription[] =
3040 "Enables using Chrome OS file picker in ARC.";
3041
Yuichiro Hanada0b63f062018-07-12 02:18:333042const char kArcInputMethodName[] = "Enable ARC input methods.";
3043const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3044
Lev Rumyantsev7a8544312017-08-18 19:26:513045const char kArcNativeBridgeExperimentName[] =
3046 "Enable native bridge experiment for ARC";
3047const char kArcNativeBridgeExperimentDescription[] =
3048 "Enables experimental native bridge feature.";
3049
lgchengecd1c1a62018-01-09 02:59:463050const char kArcUsbHostName[] = "Enable ARC USB host integration";
3051const char kArcUsbHostDescription[] =
3052 "Allow Android apps to use USB host feature on ChromeOS devices.";
3053
Kevin Cernekeeb7f96a52017-10-25 17:40:183054const char kArcVpnName[] = "Enable ARC VPN integration";
3055const char kArcVpnDescription[] =
3056 "Allow Android VPN clients to tunnel Chrome traffic.";
3057
Qiang Xu045aff222018-05-21 23:21:013058const char kAshDisableLoginDimAndBlurName[] =
3059 "Disable dimming and blur on login screen.";
3060const char kAshDisableLoginDimAndBlurDescription[] =
3061 "Disable dimming and blur on login screen.";
3062
3063const char kAshDisableSmoothScreenRotationName[] =
3064 "Disable smooth rotation animations.";
3065const char kAshDisableSmoothScreenRotationDescription[] =
3066 "Disable smooth rotation animations.";
3067
3068const char kAshEnableDisplayMoveWindowAccelsName[] =
3069 "Enable shortcuts for moving window between displays.";
3070const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3071 "Enable shortcuts for moving window between displays.";
3072
3073const char kAshEnableKeyboardShortcutViewerName[] =
3074 "Enable keyboard shortcut viewer.";
3075const char kAshEnableKeyboardShortcutViewerDescription[] =
3076 "Enable keyboard shortcut viewer.";
3077
3078const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3079const char kAshEnableMirroredScreenDescription[] =
3080 "Enable the mirrored screen mode. This mode flips the screen image "
3081 "horizontally.";
3082
Qiang Xu045aff222018-05-21 23:21:013083const char kAshEnablePersistentWindowBoundsName[] =
3084 "Enable persistent window bounds in multi-displays scenario.";
3085const char kAshEnablePersistentWindowBoundsDescription[] =
3086 "Enable persistent window bounds in multi-displays scenario.";
3087
3088const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3089const char kAshEnableTrilinearFilteringDescription[] =
3090 "Enable trilinear filtering.";
3091
Brett Wilson7b44537e2017-08-18 01:38:283092const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3093const char kAshEnableUnifiedDesktopDescription[] =
3094 "Enable unified desktop mode which allows a window to span multiple "
3095 "displays.";
vabr0215a8e2017-03-28 12:47:343096
Mike Wassermanfcc47e42018-06-14 21:24:423097const char kAshKeyboardShortcutViewerAppName[] =
3098 "Keyboard Shortcut Viewer mojo app";
3099const char kAshKeyboardShortcutViewerAppDescription[] =
3100 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3101
Qiang Xu045aff222018-05-21 23:21:013102const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3103const char kAshShelfColorDescription[] =
3104 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3105 "--ash-shelf-color-scheme flag defines how that color is derived.";
3106
3107const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3108const char kAshShelfColorSchemeDescription[] =
3109 "Specify how the color is derived from the wallpaper. This flag is only "
3110 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3111const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3112const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3113const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3114const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3115const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3116const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3117
Sean Kau5e956192017-10-06 22:25:173118const char kBulkPrintersName[] = "Bulk Printers Policy";
3119const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3120
Brett Wilson7b44537e2017-08-18 01:38:283121const char kCaptivePortalBypassProxyName[] =
3122 "Bypass proxy for Captive Portal Authorization";
3123const char kCaptivePortalBypassProxyDescription[] =
3124 "If proxy is configured, it usually prevents from authorization on "
3125 "different captive portals. This enables opening captive portal "
3126 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343127
Yuki Awanob51d3252018-07-11 23:45:553128const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3129const char kChromeVoxArcSupportDescription[] =
3130 "Use ChromeVox screen reader features in ARC";
3131
Brett Wilson7b44537e2017-08-18 01:38:283132const char kCrOSComponentName[] = "Chrome OS Component";
3133const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083134 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343135
Xiaochu Liu51d03fd2017-09-08 23:51:023136const char kCrOSContainerName[] = "Chrome OS Container";
3137const char kCrOSContainerDescription[] =
3138 "Enable the use of Chrome OS Container utility.";
3139
Brett Wilson7b44537e2017-08-18 01:38:283140const char kCrosRegionsModeName[] = "Cros-regions load mode";
3141const char kCrosRegionsModeDescription[] =
3142 "This flag controls cros-regions load mode";
3143const char kCrosRegionsModeDefault[] = "Default";
3144const char kCrosRegionsModeOverride[] = "Override VPD values.";
3145const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343146
Joel Hockeyad5b9762018-09-01 12:06:083147const char kCrostiniFilesName[] = "Crostini Files";
3148const char kCrostiniFilesDescription[] =
3149 "Enable Crostini file sharing in Files app.";
3150
Josh Pratt57cea392018-10-30 02:59:063151const char kCrostiniUsbSupportName[] = "Crostini Usb Support";
3152const char kCrostiniUsbSupportDescription[] =
3153 "Enable mounting Usb devices in Crostini.";
3154
Daniele Castagnac4aeb572018-10-23 16:23:573155const char kDisableExplicitDmaFencesName[] = "Disable explicit dma-fences";
3156const char kDisableExplicitDmaFencesDescription[] =
3157 "Always rely on implicit syncrhonization between GPU and display "
3158 "controller instead of using dma-fences explcitily when available.";
3159
Jacob Dufault2becbc482017-08-25 00:36:353160const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3161const char kDisableLockScreenAppsDescription[] =
3162 "Disable new-note action handler apps on the lock screen. The user will "
3163 "not be able to launch the preferred note-taking action from the lock "
3164 "screen, provided that the app supports lock screen note taking.";
3165
Qiang Xu045aff222018-05-21 23:21:013166const char kDisableSystemTimezoneAutomaticDetectionName[] =
3167 "SystemTimezoneAutomaticDetection policy support";
3168const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3169 "Disable system timezone automatic detection device policy.";
3170
Sammie Quonef6b4882017-09-14 16:50:053171const char kDisableTabletAutohideTitlebarsName[] =
3172 "Disable autohide titlebars in tablet mode";
3173const char kDisableTabletAutohideTitlebarsDescription[] =
3174 "Disable tablet mode autohide titlebars functionality. The user will be "
3175 "able to see the titlebar in tablet mode.";
3176
Xiaoqian Dai24b33eb2018-04-10 21:01:573177const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3178const char kDisableTabletSplitViewDescription[] =
3179 "Disable split view for Chrome OS tablet mode.";
3180
Ahmed Fakhry4f567e692018-10-16 15:51:083181const char kDoubleTapToZoomInTabletModeName[] =
3182 "Double-tap to zoom in tablet mode";
3183const char kDoubleTapToZoomInTabletModeDescription[] =
3184 "If Enabled, double tapping in webpages while in tablet mode will zoom the "
3185 "page.";
3186
Daniel Zhang01399072018-08-16 22:28:203187const char kEnableAppListSearchAutocompleteName[] =
3188 "App List Search Autocomplete";
3189const char kEnableAppListSearchAutocompleteDescription[] =
3190 "Allow App List search box to autocomplete queries for Google searches and "
3191 "apps.";
3192
Qiang Xu53d1a5832018-05-24 18:44:193193const char kEnableAppShortcutSearchName[] =
3194 "Enable app shortcut search in launcher";
3195const char kEnableAppShortcutSearchDescription[] =
3196 "Enables app shortcut search in launcher";
3197
Vladislav Kaznacheevaa213a02018-10-29 17:54:283198const char kEnableAppDataSearchName[] = "Enable app data search in launcher";
3199const char kEnableAppDataSearchDescription[] =
3200 "Allow launcher search to access data available through Firebase App "
3201 "Indexing";
3202
Weidong Guo00d0b2b2018-06-07 00:39:303203const char kEnableAppsGridGapFeatureName[] =
3204 "Enable apps grid gap feature in launcher.";
3205const char kEnableAppsGridGapFeatureDescription[] =
3206 "Enables gaps at the end of each page and enables dragging an item to an "
3207 "empty page in launcher.";
3208
Becca Hughes34415e82018-10-05 18:47:373209extern const char kEnableArcUnifiedAudioFocusName[] =
3210 "Enable unified audio focus on ARC";
3211extern const char kEnableArcUnifiedAudioFocusDescription[] =
3212 "If audio focus is enabled in Chrome then this will delegate audio focus "
3213 "control in Android apps to Chrome.";
3214
Lei Zhang2eca9082017-10-17 20:42:503215const char kEnableBackgroundBlurName[] = "Enable background blur.";
3216const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423217 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393218
Lei Zhang0ca70ea2018-09-07 17:51:013219const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3220const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493221 "Enables the Chrome OS Account Manager";
3222
Lei Zhang0ca70ea2018-09-07 17:51:013223const char kEnableContinueReadingName[] = "Enable continue reading";
3224const char kEnableContinueReadingDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013225 "Enable continue reading feature in Launcher, which allows users to "
3226 "seamlessly continue reading a web page when they switch devices from "
3227 "phones or tablets to Chromebooks.";
3228
Min Chenc2ec7282018-06-29 21:38:463229const char kEnableDragAppsInTabletModeName[] =
3230 "Enable dragging apps in tablet mode";
3231const char kEnableDragAppsInTabletModeDescription[] =
3232 "If enabled, swiping down from the top of the screen when an app is opened "
3233 "in tablet mode can drag the app.";
3234
Xiaoqian Dai82d99192018-05-25 18:51:353235const char kEnableDragTabsInTabletModeName[] =
3236 "Enable dragging tabs in tablet mode";
3237const char kEnableDragTabsInTabletModeDescription[] =
3238 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3239
Sam McNally201fbf94e2018-07-04 03:15:203240const char kEnableDriveFsName[] = "Enable DriveFS";
3241const char kEnableDriveFsDescription[] =
3242 "Enables use of the new DriveFS-based Drive sync client.";
3243
Brett Wilson7b44537e2017-08-18 01:38:283244const char kEnableEhvInputName[] =
3245 "Emoji, handwriting and voice input on opt-in IME menu";
3246const char kEnableEhvInputDescription[] =
3247 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343248
Brett Wilson7b44537e2017-08-18 01:38:283249const char kEnableEncryptionMigrationName[] =
3250 "Enable encryption migration of user data";
3251const char kEnableEncryptionMigrationDescription[] =
3252 "If enabled and the device supports ARC, the user will be asked to update "
3253 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343254
Blake O'Hare9e9317b22017-10-24 02:49:353255const char kEnableFloatingVirtualKeyboardName[] =
3256 "Enable floating virtual keyboard";
3257const char kEnableFloatingVirtualKeyboardDescription[] =
3258 "If enabled, the keyboard will use floating behavior by default.";
3259
Qiang Xu045aff222018-05-21 23:21:013260const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3261 "Enable full screen handwriting virtual keyboard";
3262const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3263 "If enabled, the handwriting virtual keyboard will allow user to write "
3264 "anywhere on the screen";
3265
Xiaohui Chenfb0943e2018-10-16 22:44:373266const char kEnableGoogleAssistantName[] = "Enable Google Assistant";
3267const char kEnableGoogleAssistantDescription[] =
3268 "Enable an experimental Assistant implementation that will work on all "
3269 "Chromebooks.";
3270
Qiang Xu045aff222018-05-21 23:21:013271const char kEnableHomeLauncherName[] = "Enable home launcher";
3272const char kEnableHomeLauncherDescription[] =
3273 "Enable home launcher in tablet mode.";
3274
Lei Zhang0ca70ea2018-09-07 17:51:013275const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3276const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013277 "Enables using gestures to hide or show the home launcher.";
3278
Brett Wilson7b44537e2017-08-18 01:38:283279const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3280const char kEnableImeMenuDescription[] =
3281 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343282
Becca Hughes3d63a91d2018-10-17 19:30:393283const char kEnableMediaSessionAshMediaKeysName[] =
3284 "Enable media session media key handling";
3285const char kEnableMediaSessionAshMediaKeysDescription[] =
3286 "Enable the media session service to handle media keys. This requires "
3287 "the audio focus flag to be enabled too.";
3288
Weidong Guo45836d1b2018-06-27 23:51:163289const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3290const char kEnableNewStyleLauncherDescription[] =
3291 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3292 "in app launcher.";
3293
Sammie Quon248ccef2018-08-28 23:00:013294const char kEnableOobeRecommendAppsScreenName[] =
3295 "Enable OOBE Recommend Apps Screen";
3296const char kEnableOobeRecommendAppsScreenDescription[] =
3297 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3298 "from other devices";
3299
Qiang Xu045aff222018-05-21 23:21:013300const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3301const char kEnablePerUserTimezoneDescription[] =
3302 "Chrome OS system timezone preference is stored and handled for each user "
3303 "individually.";
3304
Vladislav Kaznacheevaa213a02018-10-29 17:54:283305const char kEnablePlayStoreSearchName[] = "Enable Play Store search";
3306const char kEnablePlayStoreSearchDescription[] =
3307 "Enable Play Store search in launcher.";
3308
Qiang Xu045aff222018-05-21 23:21:013309const char kEnableSettingsShortcutSearchName[] =
3310 "Enable Settings shortcut search";
3311const char kEnableSettingsShortcutSearchDescription[] =
3312 "Enable Settings shortcut search in launcher.";
3313
Darren Shen3e49c63d2018-03-28 04:45:503314const char kEnableStylusVirtualKeyboardName[] =
3315 "Enable stylus virtual keyboard";
3316const char kEnableStylusVirtualKeyboardDescription[] =
3317 "If enabled, tapping with a stylus will show the handwriting virtual "
3318 "keyboard.";
3319
Jordy Greenblatt2f23df22018-02-22 19:49:193320const char kEnableUnifiedMultiDeviceSettingsName[] =
3321 "Enable unified MultiDevice settings";
3322const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3323 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3324 "MultiDevice settings.";
3325
3326const char kEnableUnifiedMultiDeviceSetupName[] =
3327 "Enable unified MultiDevice setup";
3328const char kEnableUnifiedMultiDeviceSetupDescription[] =
3329 "Enable the device to setup all MultiDevice services in a single workflow.";
3330
Darren Shen11c770f312018-06-13 07:36:393331const char kEnableVirtualKeyboardMdUiName[] =
3332 "Enable Material Design virtual keyboard";
3333const char kEnableVirtualKeyboardMdUiDescription[] =
3334 "If enabled, loads the Material Design UI for the virtual keyboard.";
3335
Darren Shen0b4e5802018-07-10 03:12:263336const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3337const char kEnableVirtualKeyboardUkmDescription[] =
3338 "Enables UKM for virtual keyboard";
3339
Lei Zhang0ca70ea2018-09-07 17:51:013340const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3341const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013342 "Enable Zero State Suggestions feature in Launcher, which will show "
Vladislav Kaznacheevaa213a02018-10-29 17:54:283343 "suggestions when launcher search box is active with an empty query";
Sammie Quon248ccef2018-08-28 23:00:013344
Brett Wilson7b44537e2017-08-18 01:38:283345const char kEolNotificationName[] = "Disable Device End of Life notification.";
3346const char kEolNotificationDescription[] =
3347 "Disable Notifcation when Device is End of Life.";
3348
3349const char kExperimentalAccessibilityFeaturesName[] =
3350 "Experimental accessibility features";
3351const char kExperimentalAccessibilityFeaturesDescription[] =
3352 "Enable additional accessibility features in the Settings page.";
3353
Brett Wilson7b44537e2017-08-18 01:38:283354const char kFileManagerTouchModeName[] = "Files App. touch mode";
3355const char kFileManagerTouchModeDescription[] =
3356 "Touchscreen-specific interactions of the Files app.";
3357
3358const char kFirstRunUiTransitionsName[] =
3359 "Animated transitions in the first-run tutorial";
3360const char kFirstRunUiTransitionsDescription[] =
3361 "Transitions during first-run tutorial are animated.";
3362
Brett Wilson7b44537e2017-08-18 01:38:283363const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3364const char kForceEnableStylusToolsDescription[] =
3365 "Forces display of the stylus tools menu in the shelf and the stylus "
3366 "section in settings, even if there is no attached stylus device.";
3367
3368const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3369const char kGestureEditingDescription[] =
3370 "Enable/Disable gesture editing option in the settings page for the "
3371 "virtual keyboard.";
3372
3373const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3374const char kGestureTypingDescription[] =
3375 "Enable/Disable gesture typing option in the settings page for the virtual "
3376 "keyboard.";
3377
3378const char kInputViewName[] = "Input views";
3379const char kInputViewDescription[] =
3380 "Enable IME extensions to supply custom views for user input such as "
3381 "virtual keyboards.";
3382
Megumi Hattori5a0d4182018-03-06 11:09:503383const char kLockScreenNotificationName[] = "Lock screen notification";
3384const char kLockScreenNotificationDescription[] =
3385 "Enable notifications on the lock screen.";
3386
Qiang Xu045aff222018-05-21 23:21:013387const char kMaterialDesignInkDropAnimationSpeedName[] =
3388 "Material design ink drop animation speed";
3389const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3390 "Sets the speed of the experimental visual feedback animations for "
3391 "material design.";
3392const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3393const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3394
Brett Wilson7b44537e2017-08-18 01:38:283395const char kMemoryPressureThresholdName[] =
3396 "Memory discard strategy for advanced pressure handling";
3397const char kMemoryPressureThresholdDescription[] =
3398 "Memory discarding strategy to use";
3399const char kConservativeThresholds[] =
3400 "Conservative memory pressure release strategy";
3401const char kAggressiveCacheDiscardThresholds[] =
3402 "Aggressive cache release strategy";
3403const char kAggressiveTabDiscardThresholds[] =
3404 "Aggressive tab release strategy";
3405const char kAggressiveThresholds[] =
3406 "Aggressive tab and cache release strategy";
3407
3408const char kMtpWriteSupportName[] = "MTP write support";
3409const char kMtpWriteSupportDescription[] =
3410 "MTP write support in File System API (and file manager). In-place editing "
3411 "operations are not supported.";
3412
Kyle Horimoto027590fb2018-02-13 22:19:483413const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3414const char kMultiDeviceApiDescription[] =
3415 "Enable Mojo-based API which provides synced device metadata and the "
3416 "ability to connect to other devices associated the logged-in Google "
3417 "account.";
3418
vabr0215a8e2017-03-28 12:47:343419const char kNetworkPortalNotificationName[] =
3420 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343421const char kNetworkPortalNotificationDescription[] =
3422 "If enabled, notification is displayed when device is connected to a "
3423 "network behind captive portal.";
3424
Brett Wilson7b44537e2017-08-18 01:38:283425const char kNewKoreanImeName[] = "New Korean IME";
3426const char kNewKoreanImeDescription[] =
3427 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343428
Anand K. Mistrydb5e0102018-10-04 04:24:003429const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283430const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003431 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343432
Qiang Xu045aff222018-05-21 23:21:013433const char kOfficeEditingComponentAppName[] =
3434 "Office Editing for Docs, Sheets & Slides";
3435const char kOfficeEditingComponentAppDescription[] =
3436 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3437
Brett Wilson7b44537e2017-08-18 01:38:283438const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3439const char kPhysicalKeyboardAutocorrectDescription[] =
3440 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3441 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343442
3443const char kPrinterProviderSearchAppName[] =
3444 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343445const char kPrinterProviderSearchAppDescription[] =
3446 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193447 "searches Chrome Web Store for extensions that support printing to a USB "
3448 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343449
Brett Wilson7b44537e2017-08-18 01:38:283450const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3451const char kQuickUnlockPinDescription[] =
3452 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3453 "device on the lock screen after you have signed into your device.";
3454const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3455const char kQuickUnlockPinSigninDescription[] =
3456 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3457 "device. After changing this flag PIN needs to be set up again.";
3458const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3459const char kQuickUnlockFingerprintDescription[] =
3460 "Enabling fingerprint quick unlock allows you to setup and use a "
3461 "fingerprint to unlock your Chromebook on the lock screen after you have "
3462 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343463
James Cook0ba192bf2017-12-01 20:53:113464const char kShowTapsName[] = "Show taps";
3465const char kShowTapsDescription[] =
3466 "Draws a circle at each touch point, which makes touch points more obvious "
3467 "when projecting or mirroring the display. Similar to the Android OS "
3468 "developer option.";
3469
3470const char kShowTouchHudName[] = "Show HUD for touch points";
3471const char kShowTouchHudDescription[] =
3472 "Shows a trail of colored dots for the last few touch points. Pressing "
3473 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3474 "debug hardware issues that generate spurious touch events.";
3475
James Cook28d7c482018-09-07 21:00:543476const char kSingleProcessMashName[] =
3477 "In-process window service (SingleProcessMash)";
3478const char kSingleProcessMashDescription[] =
3479 "Runs the system UI (ash) as a mojo service, but inside the browser "
3480 "process. The browser uses the mojo window service (ws) APIs.";
3481
Ahmed Fakhry58e6ef542018-09-04 18:05:383482const char kSlideTopChromeWithPageScrollsName[] =
3483 "Slide top-chrome with page scrolls";
3484const char kSlideTopChromeWithPageScrollsDescription[] =
3485 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3486 " UI.";
3487
Jorge Gil5a8ccde2018-07-10 01:46:213488const char kSmartTextSelectionName[] = "Smart Text Selection";
3489const char kSmartTextSelectionDescription[] =
3490 "Shows quick actions for text "
3491 "selections in the context menu.";
3492
Chung-Sheng Wu468b0b32017-09-01 14:41:573493const char kSysInternalsName[] = "Enable Sys-Internals";
3494const char kSysInternalsDescription[] =
3495 "If enabled, user can monitor system information at "
3496 "chrome://sys-internals.";
3497
Brett Wilson7b44537e2017-08-18 01:38:283498const char kTetherName[] = "Instant Tethering";
3499const char kTetherDescription[] =
3500 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3501 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373502
Brett Wilson7b44537e2017-08-18 01:38:283503const char kTouchscreenCalibrationName[] =
3504 "Enable/disable touchscreen calibration option in material design settings";
3505const char kTouchscreenCalibrationDescription[] =
3506 "If enabled, the user can calibrate the touch screen displays in "
3507 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093508
Qiang Xu045aff222018-05-21 23:21:013509const char kUiDevToolsName[] = "Enable native UI inspection";
3510const char kUiDevToolsDescription[] =
3511 "Enables inspection of native UI elements. For local inspection use "
3512 "chrome://inspect#other";
3513
3514const char kUiShowCompositedLayerBordersName[] =
3515 "Show UI composited layer borders";
3516const char kUiShowCompositedLayerBordersDescription[] =
3517 "Show border around composited layers created by UI.";
3518const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3519const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3520const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3521const char kUiShowCompositedLayerBordersAll[] = "All";
3522
3523const char kUiSlowAnimationsName[] = "Slow UI animations";
3524const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3525
Mitsuru Oshima63d3f2a2017-08-23 00:12:113526// Force UI Mode
3527const char kUiModeName[] = "Force Ui Mode";
3528const char kUiModeDescription[] =
3529 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3530 R"*(despite its current orientation. "Tablet" means that the )*"
3531 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3532 R"*(means that the chromebook will act as if it were in clamshell )*"
3533 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3534 R"*(the two, based on its orientation.)*";
3535const char kUiModeTablet[] = "TouchView";
3536const char kUiModeClamshell[] = "Clamshell";
3537const char kUiModeAuto[] = "Auto (default)";
3538
Sonny Sasaka7fecfeda2018-07-11 23:47:553539const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3540const char kUnfilteredBluetoothDevicesDescription[] =
3541 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3542
Allen Webbcdc8e69d2018-09-12 20:36:003543const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3544const char kUsbguardDescription[] =
3545 "Prevents newly connected USB devices from operating at the lock screen"
3546 " until Chrome OS is unlocked to protect against malicious USB devices."
3547 " Already connected USB devices will continue to function.";
3548
Micah Morton79a7b522018-09-27 15:15:303549const char kShillSandboxingName[] =
3550 "Run shill, the ChromeOS network manager, in a sandbox.";
3551const char kShillSandboxingDescription[] =
3552 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3553
James Cooka1bcfa9a2018-01-30 00:18:403554const char kUseMashName[] = "Out-of-process system UI (mash)";
3555const char kUseMashDescription[] =
3556 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3557 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283558
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343559// TODO(mcasas): remove after https://crbug.com/771345.
3560const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3561const char kUseMonitorColorSpaceDescription[] =
3562 "Enables Chrome to use the color space information provided by the monitor"
3563 " instead of the default sRGB color space.";
3564
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233565const char kVaapiJpegImageDecodeAccelerationName[] =
3566 "VA-API JPEG decode acceleration for images";
3567const char kVaapiJpegImageDecodeAccelerationDescription[] =
3568 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3569 " captures) using the VA-API.";
3570
Brett Wilson7b44537e2017-08-18 01:38:283571const char kVideoPlayerChromecastSupportName[] =
3572 "Experimental Chromecast support for Video Player";
3573const char kVideoPlayerChromecastSupportDescription[] =
3574 "This option enables experimental Chromecast support for Video Player app "
3575 "on ChromeOS.";
3576
3577const char kVirtualKeyboardName[] = "Virtual Keyboard";
3578const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3579
3580const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3581const char kVirtualKeyboardOverscrollDescription[] =
3582 "Enables virtual keyboard overscroll support.";
3583
3584const char kVoiceInputName[] = "Voice input on virtual keyboard";
3585const char kVoiceInputDescription[] =
3586 "Enables voice input on virtual keyboard.";
3587
3588const char kWakeOnPacketsName[] = "Wake On Packets";
3589const char kWakeOnPacketsDescription[] =
3590 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203591
yhanadac5bff5b2017-05-18 06:37:093592#endif // defined(OS_CHROMEOS)
3593
Brett Wilson7b44537e2017-08-18 01:38:283594// Random platform combinations -----------------------------------------------
3595
3596#if defined(OS_WIN) || defined(OS_LINUX)
3597
3598const char kEnableInputImeApiName[] = "Enable Input IME API";
3599const char kEnableInputImeApiDescription[] =
3600 "Enable the use of chrome.input.ime API.";
3601
3602#endif // defined(OS_WIN) || defined(OS_LINUX)
3603
3604#if defined(OS_WIN) || defined(OS_MACOSX)
3605
3606const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3607const char kAutomaticTabDiscardingDescription[] =
3608 "If enabled, tabs get automatically discarded from memory when the system "
3609 "memory is low. Discarded tabs are still visible on the tab strip and get "
3610 "reloaded when clicked on. Info about discarded tabs can be found at "
3611 "chrome://discards.";
3612
3613#endif // defined(OS_WIN) || defined(OS_MACOSX)
3614
lanwei83f54452018-06-21 23:51:043615#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3616
3617const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3618const char kDirectManipulationStylusDescription[] =
3619 "If enabled, Chrome will scroll web pages on stylus drag.";
3620
3621#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3622
Justin Donnelly110e40c2018-06-01 21:48:433623const char kExperimentalUiName[] = "Use all upcoming UI features";
3624const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483625
Brett Wilson7b44537e2017-08-18 01:38:283626// Feature flags --------------------------------------------------------------
3627
3628#if BUILDFLAG(ENABLE_VR)
3629
David Dorwin5a496c32017-11-17 01:45:053630const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3631const char kWebVrVsyncAlignDescription[] =
3632 "Align WebVR application rendering with VSync for smoother animations.";
3633
Bill Orr103ed272018-02-14 21:23:053634#if BUILDFLAG(ENABLE_OCULUS_VR)
3635const char kOculusVRName[] = "Oculus hardware support";
3636const char kOculusVRDescription[] =
3637 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3638 "Windows 10 or later).";
3639#endif // ENABLE_OCULUS_VR
3640
Bill Orr49527562017-11-22 16:58:483641#if BUILDFLAG(ENABLE_OPENVR)
3642const char kOpenVRName[] = "OpenVR hardware support";
3643const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073644 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3645 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483646#endif // ENABLE_OPENVR
3647
Bill Orrecfb9fe2018-10-02 00:11:103648#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3649const char kXRSandboxName[] = "XR device sandboxing";
3650const char kXRSandboxDescription[] =
3651 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3652#endif // ENABLE_ISOLATED_XR_SERVICE
3653
Brett Wilson7b44537e2017-08-18 01:38:283654#endif // ENABLE_VR
3655
Nico Weberaf3b00b2017-09-11 17:58:173656#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283657
3658const char kNaclDebugMaskName[] =
3659 "Restrict Native Client GDB-based debugging by pattern";
3660const char kNaclDebugMaskDescription[] =
3661 "Restricts Native Client application GDB-based debugging by URL of "
3662 "manifest file. Native Client GDB-based debugging must be enabled for this "
3663 "option to work.";
3664const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3665const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3666 "Debug everything except secure shell and the PNaCl translator.";
3667const char kNaclDebugMaskChoiceIncludeDebug[] =
3668 "Debug only if manifest URL ends with debug.nmf.";
3669
3670const char kNaclDebugName[] = "Native Client GDB-based debugging";
3671const char kNaclDebugDescription[] =
3672 "Enable GDB debug stub. This will stop a Native Client application on "
3673 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3674
3675const char kNaclName[] = "Native Client";
3676const char kNaclDescription[] =
3677 "Support Native Client for all web applications, even those that were not "
3678 "installed from the Chrome Web Store.";
3679
3680const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3681const char kPnaclSubzeroDescription[] =
3682 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3683
Nico Weberaf3b00b2017-09-11 17:58:173684#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283685
Brett Wilson7b44537e2017-08-18 01:38:283686const char kWebrtcH264WithOpenh264FfmpegName[] =
3687 "WebRTC H.264 software video encoder/decoder";
3688const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3689 "When enabled, an H.264 software video encoder/decoder pair is included. "
3690 "If a hardware encoder/decoder is also available it may be used instead of "
3691 "this encoder/decoder.";
3692
Henrik Boström386afc6d62018-10-08 07:47:153693const char kWebrtcUnifiedPlanByDefaultName[] =
3694 "WebRTC: Use Unified Plan SDP Semantics by default";
3695const char kWebrtcUnifiedPlanByDefaultDescription[] =
3696 "RTCPeerConnections generate and expect the standards compliant SDP format "
3697 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
3698 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
3699 "RTCRtpTransceiver support is also enabled in Unified Plan.";
3700
Brett Wilson7b44537e2017-08-18 01:38:283701#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3702
3703const char kAutofillCreditCardUploadName[] =
3704 "Enable offering upload of Autofilled credit cards";
3705const char kAutofillCreditCardUploadDescription[] =
3706 "Enables a new option to upload credit cards to Google Payments for sync "
3707 "to all Chrome devices.";
3708
3709#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3710
Becca Hughesdc96e842018-05-04 22:48:283711#if defined(OS_ANDROID)
3712
3713const char kDisplayCutoutAPIName[] =
3714 "Enable support for the Display Cutout API";
3715const char kDisplayCutoutAPIDescription[] =
3716 "Enables developers to support devices that have a display cutout.";
3717
3718#endif // defined(OS_ANDROID)
3719
Brett Wilson7b44537e2017-08-18 01:38:283720// ============================================================================
3721// Don't just add flags to the end, put them in the right section in
3722// alphabetical order just like the header file.
3723// ============================================================================
3724
vabr0215a8e2017-03-28 12:47:343725} // namespace flag_descriptions