blob: 4f997fb8de9e1a124328f90882d9c21203706663 [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 Lippautzebbc5a82018-05-30 10:41:4271const char kEnableBlinkHeapIncrementalMarkingName[] =
72 "Blink Heap Incremental Marking";
73const char kEnableBlinkHeapIncrementalMarkingDescription[] =
74 "Enable incremental marking in Blink";
75
Ulan Degenbaevb5466a92018-07-19 12:35:3476const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
77const char kEnableBloatedRendererDetectionDescription[] =
78 "Enable bloated renderer detection";
79
Tetsui Ohkubo2852b952018-02-23 04:12:0180const char kSystemTrayUnifiedName[] = "New system menu";
81const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5582 "Enable the experimental system menu.";
83
Khushalba202212017-07-12 19:53:4984const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
85const char kAsyncImageDecodingDescription[] =
86 "Enables asynchronous decoding of images from raster for web content";
87
Roger McFarlane2eceba982018-05-18 01:37:1188const char kAutofillCacheQueryResponsesName[] =
89 "Cache Autofill Query Responses";
90const char kAutofillCacheQueryResponsesDescription[] =
91 "When enabled, autofill will cache the responses it receives from the "
92 "crowd-sourced field type prediction server.";
93
Jeffrey Cohen05cdafa392018-08-15 20:49:1794const char kAutofillEnableCompanyNameName[] =
95 "Enable Autofill Company Name field";
96const char kAutofillEnableCompanyNameDescription[] =
97 "When enabled, Company Name fields will be auto filled";
98
sebsge35b762c2018-03-29 20:33:2799const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
100const char kAutofillDynamicFormsDescription[] =
101 "Allows autofill to fill dynamically changing forms";
102
Anne Lime625362e2018-08-29 03:13:25103const char kAutofillNoLocalSaveOnUploadSuccessName[] =
104 "Disable locally saving card when credit card upload succeeds";
105const char kAutofillNoLocalSaveOnUploadSuccessDescription[] =
106 "When enabled, no local copy of server card will be saved when credit card "
107 "upload succeeds.";
108
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:39109const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
110const char kAutofillPrefilledFieldsDescription[] =
111 "Allows autofill to fill fields previously filled by the website";
112
Lei Zhang0ca70ea2018-09-07 17:51:01113const char kAutofillPreviewStyleExperimentName[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18114 "Autofill Preview Style Experiment";
Lei Zhang0ca70ea2018-09-07 17:51:01115const char kAutofillPreviewStyleExperimentDescription[] =
Fabio Tirelo9b423c7b2018-08-15 14:32:18116 "Allows experimentation with the Autofill field preview's style.";
117
Parastoo Geranmayeh071d725c2018-06-26 17:35:22118const char kAutofillRationalizeRepeatedServerPredictionsName[] =
119 "Autofill Rationalization of Repeated Server Field Type Predictions";
120const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
121 "Allows autofill to rationalize repeated server field type predictions.";
122
Roger McFarlane1a37d7b2018-04-20 22:45:19123const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
124 "Autofill Enforce Min Required Fields For Heuristics";
125const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
126 "When enabled, autofill will generally require a form to have at least 3 "
127 "fields before allowing heuristic field-type prediction to occur.";
128
129const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
130 "Autofill Enforce Min Required Fields For Query";
131const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
132 "When enabled, autofill will generally require a form to have at least 3 "
133 "fields before querying the autofill server for field-type predictions.";
134
135const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
136 "Autofill Enforce Min Required Fields For Upload";
137const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
138 "When enabled, autofill will generally require a form to have at least 3 "
139 "fillable fields before uploading field-type votes for that form.";
140
Moe Ahmadid3ddfcb2018-04-20 19:51:08141const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
142 "Restrict formless form extraction";
143const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
144 "Restrict extraction of formless forms to checkout flows";
145
Brett Wilsonf27ff602017-07-07 22:28:47146const char kAutoplayPolicyName[] = "Autoplay policy";
147const char kAutoplayPolicyDescription[] =
148 "Policy used when deciding if audio or video is allowed to autoplay.";
149
150const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
151 "User gesture is required for cross-origin iframes.";
152const char kAutoplayPolicyNoUserGestureRequired[] =
153 "No user gesture is required.";
154const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
155const char kAutoplayPolicyDocumentUserActivation[] =
156 "Document user activation is required.";
157
Lei Zhang0ca70ea2018-09-07 17:51:01158const char kAv1DecoderName[] = "Enable AV1 video decoding.";
159const char kAv1DecoderDescription[] =
Johanne0cc6902017-11-16 00:23:50160 "Allow decoding of files with the AV1 video codec.";
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
Christopher Cameronceb8727d2017-09-07 23:53:16220const char kForceColorProfileSRGB[] = "sRGB";
221const char kForceColorProfileP3[] = "Display P3 D65";
222const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
223const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
224
225const char kForceColorProfileName[] = "Force color profile";
226const char kForceColorProfileDescription[] =
227 "Forces Chrome to use a specific color profile instead of the color "
228 "of the window's current monitor, as specified by the operating system.";
229
Brett Wilsonf27ff602017-07-07 22:28:47230const char kCompositedLayerBordersName[] = "Composited render layer borders";
231const char kCompositedLayerBordersDescription[] =
232 "Renders a border around composited Render Layers to help debug and study "
233 "layer compositing.";
234
Theresacd5aaec2018-08-27 20:32:13235const char kContextualSuggestionsAlternateCardLayoutName[] =
236 "Contextual Suggestions Alternate Card Layout";
237const char kContextualSuggestionsAlternateCardLayoutDescription[] =
238 "If enabled, use an alternate card layout for contextual suggestions.";
239
Theresac34db2d2018-06-28 00:03:11240const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
241const char kContextualSuggestionsButtonDescription[] =
242 "If enabled, shows a button to trigger contextual suggestions.";
243
Theresa0f2947b92018-07-02 21:27:58244const char kContextualSuggestionsOptOutName[] =
245 "Contextual Suggestions Opt-out";
246const char kContextualSuggestionsOptOutDescription[] =
247 "If enabled, allows the user to opt out of contextual suggestions.";
248
Brett Wilsonf27ff602017-07-07 22:28:47249const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
250const char kCreditCardAssistDescription[] =
251 "Enable assisted credit card filling on certain sites.";
252
253const char kCrossProcessGuestViewIsolationName[] =
254 "Cross process frames for guests";
255const char kCrossProcessGuestViewIsolationDescription[] =
256 "Highly experimental where guests such as <webview> are implemented on "
257 "the out-of-process iframe infrastructure.";
258
Thanh Le659cb102017-12-20 22:00:19259const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
260const char kDataSaverServerPreviewsDescription[] =
261 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47262
263const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
264const char kDatasaverPromptDescription[] =
265 "Enables a prompt, which appears when a cellular network connection is "
266 "detected, to take the user to the Data Saver extension page on Chrome Web "
267 "Store.";
268const char kDatasaverPromptDemoMode[] = "Demo mode";
269
Wez54dc71b2018-04-17 00:42:34270#if DCHECK_IS_CONFIGURABLE
271const char kDcheckIsFatalName[] = "DCHECKs are fatal";
272const char kDcheckIsFatalDescription[] =
273 "By default Chrome will evaluate in this build, but only log failures, "
274 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
275#endif // DCHECK_IS_CONFIGURABLE
276
Brett Wilsonf27ff602017-07-07 22:28:47277const char kDebugPackedAppName[] = "Debugging for packed apps";
278const char kDebugPackedAppDescription[] =
279 "Enables debugging context menu options such as Inspect Element for packed "
280 "applications.";
281
282const char kDefaultTileHeightName[] = "Default tile height";
283const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
284const char kDefaultTileHeightShort[] = "128";
285const char kDefaultTileHeightTall[] = "256";
286const char kDefaultTileHeightGrande[] = "512";
287const char kDefaultTileHeightVenti[] = "1024";
288
289const char kDefaultTileWidthName[] = "Default tile width";
290const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
291const char kDefaultTileWidthShort[] = "128";
292const char kDefaultTileWidthTall[] = "256";
293const char kDefaultTileWidthGrande[] = "512";
294const char kDefaultTileWidthVenti[] = "1024";
295
296const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
297const char kDebugShortcutsDescription[] =
298 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
299
300const char kDeviceDiscoveryNotificationsName[] =
301 "Device Discovery Notifications";
302const char kDeviceDiscoveryNotificationsDescription[] =
303 "Device discovery notifications on local network.";
304
305const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
306const char kDevtoolsExperimentsDescription[] =
307 "Enables Developer Tools experiments. Use Settings panel in Developer "
308 "Tools to toggle individual experiments.";
309
310const char kDisableAudioForDesktopShareName[] =
311 "Disable Audio For Desktop Share";
312const char kDisableAudioForDesktopShareDescription[] =
313 "With this flag on, desktop share picker window will not let the user "
314 "choose whether to share audio.";
315
Chris Palmer917bc052018-03-14 19:28:31316const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
317const char kDisablePushStateThrottleDescription[] =
318 "Disables throttling of history.pushState and history.replaceState method "
319 "calls.";
320
Brett Wilsonf27ff602017-07-07 22:28:47321const char kDisableTabForDesktopShareName[] =
322 "Disable Desktop Share with tab source";
323const char kDisableTabForDesktopShareDescription[] =
324 "This flag controls whether users can choose a tab for desktop share.";
325
326const char kDisallowDocWrittenScriptsUiName[] =
327 "Block scripts loaded via document.write";
328const char kDisallowDocWrittenScriptsUiDescription[] =
329 "Disallows fetches for third-party parser-blocking scripts inserted into "
330 "the main frame via document.write.";
331
Christopher Thompson2ffffa2c2018-05-18 23:06:37332const char kDisallowUnsafeHttpDownloadsName[] =
333 "Block unsafe downloads over insecure connections";
334const char kDisallowUnsafeHttpDownloadsNameDescription[] =
335 "Disallows downloads of unsafe files (files that can potentially execute "
336 "code), where the final download origin or any origin in the redirect "
337 "chain is insecure.";
338
Brett Wilsonf27ff602017-07-07 22:28:47339const char kDriveSearchInChromeLauncherName[] =
340 "Drive Search in Chrome App Launcher";
341const char kDriveSearchInChromeLauncherDescription[] =
342 "Files from Drive will show up when searching the Chrome App Launcher.";
343
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
345const char kEmbeddedExtensionOptionsDescription[] =
346 "Display extension options as an embedded element in chrome://extensions "
347 "rather than opening a new tab.";
348
Dominic Mazzoni8ac98962018-05-25 05:44:55349const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
350const char kEnableAccessibilityObjectModelDescription[] =
351 "Enables experimental support for Accessibility Object Model APIs "
352 "that are in development.";
353
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36354const char kEnableWebPaymentsSingleAppUiSkipName[] =
355 "Enable Web Payments single app UI skip";
356const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
357 "Enable Web Payments to skip showing its UI if the developer specifies a "
358 "single app.";
359
Florian Uunk8c428ea2018-07-18 11:12:52360const char kEnableAutofillAccountWalletStorageName[] =
361 "Enable the account data storage for autofill";
362const char kEnableAutofillAccountWalletStorageDescription[] =
363 "Enable the ephemeral storage for account data for autofill.";
364
Shanfeng Zhang19c16562017-10-17 02:30:40365const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
366 "Credit card autofill ablation experiment.";
367const char kEnableAutofillCreditCardAblationExperimentDescription[] =
368 "If enabled, credit card autofill suggestions will not display.";
369
Brett Wilsonf27ff602017-07-07 22:28:47370const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
371 "Display the last used date of a credit card in autofill.";
372const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
373 "If enabled, display the last used date of a credit card in autofill.";
374
Sujie Zhu2cf0e5c2018-07-17 18:00:27375const char kEnableAutofillCreditCardLocalCardMigrationName[] =
376 "Enable migrating local cards to Google Pay";
377const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
378 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
379
Jared Saulbc672a072018-06-16 05:22:12380const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
381 "Make cardholder name editable in dialog during credit card upload";
382const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
383 "If enabled, in certain situations when offering credit card upload to "
384 "Google Payments, the cardholder name can be edited within the "
385 "offer-to-save dialog, which is prefilled with the name from the signed-in "
386 "Google Account.";
387
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37388const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
389 "Enable Google Pay branding when offering credit card upload on Android";
390const char
391 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
392 "If enabled, shows the Google Pay logo and a shorter header message "
393 "when credit card upload to Google Payments is offered on Android.";
394
siyua9a4a8872018-10-05 03:46:56395const char kEnableAutofillLocalCardMigrationShowFeedbackName[] =
396 "Show the upload results dialog after local card migration";
397const char kEnableAutofillLocalCardMigrationShowFeedbackDescription[] =
398 "If enabled, the local card migration offer dialog will remain pending "
399 "after the user clicks the save button. Once migration is finished, "
400 "the dialog will be updated with the results of each card.";
401
tmartinocd414732018-02-12 19:01:01402const char kEnableAutofillNativeDropdownViewsName[] =
403 "Display Autofill Dropdown Using Views";
404const char kEnableAutofillNativeDropdownViewsDescription[] =
405 "If enabled, the Autofill Dropdown will be built natively using Views, "
406 "rather than painted directly to a canvas.";
407
Fabio Tirelo87552e02018-07-06 15:43:21408const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
409 "Show unlabeled expiration dates on the save card dialog";
410const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
411 "If enabled, expiration dates on the save card dialog (both local and "
412 "upstream) are shown without an 'Exp:' label.";
413
Manas Verma99541e52018-08-03 20:37:23414const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
415 "Show Sign-In/Sync promo after saving a card locally";
416const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
417 "If enabled, shows a sign in prompt to the user after the user "
418 "saves a card locally. This also introduces a Manage Cards bubble "
419 "which you can access from the card icon after saving a card.";
420
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23421const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
422 "Send experiment flag IDs in calls to Google Payments";
423const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
424 "If enabled, adds the status of certain experiment variations when making "
425 "calls to Google Payments.";
426
Becca Hughes4d896c42018-05-29 16:58:51427const char kEnableAutoplayIgnoreWebAudioName[] =
428 "Autoplay ignores WebAudio playbacks";
429const char kEnableAutoplayIgnoreWebAudioDescription[] =
430 "If enabled, autoplay restrictions will be ignored for WebAudio.";
431
Becca Hughesc62f6a1d2018-08-16 15:59:47432const char kEnableAutoplayUnifiedSoundSettingsName[] =
433 "Autoplay unified sound settings UI";
434const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
435 "If enabled, shows the new unified autoplay sound settings UI.";
436
Brett Wilsonf27ff602017-07-07 22:28:47437const char kEnableBrotliName[] = "Brotli Content-Encoding.";
438const char kEnableBrotliDescription[] =
439 "Enable Brotli Content-Encoding support.";
440
Qiang Xu0f602fe62017-12-22 01:31:20441const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
442const char kEnableCaptivePortalRandomUrlDescription[] =
443 "Enable Captive Portal URL randomization.";
444
Eriko Kurimoto36975992018-08-09 07:15:13445const char kEnableChromevoxDeveloperOptionName[] =
446 "Enable Chromevox developer option";
447const char kEnableChromevoxDeveloperOptionDescription[] =
448 "This option provides tools for developing in chromevox.";
449
sclittle50e4bb92017-07-08 02:23:03450const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
451
452const char kEnableClientLoFiDescription[] =
453 "Enable showing low fidelity images on some pages on slow networks.";
454
Patrick Noland8bc57472018-06-19 21:09:54455const char kEnableCSSFragmentIdentifiersName[] =
456 "Enable CSS Fragment Identifiers";
457const char kEnableCSSFragmentIdentifiersDescription[] =
458 "Enable support for specifying a target element using a css selector in "
459 "the fragment identifier.";
460
David Reveman87b4b692018-03-09 21:22:22461const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
462const char kEnableCursorMotionBlurDescription[] =
463 "Enable motion blur effect for the cursor.";
464
Ramin Halavati6f5d9852018-06-20 09:37:05465const char kEnableEphemeralFlashPermissionName[] =
466 "Enable Ephemeral Flash Permissions";
467const char kEnableEphemeralFlashPermissionDescription[] =
468 "When enabled, Flash plugin permissions are reset at the end of the "
469 "browser session.";
470
Doug Arnett08b4067b2017-10-12 20:14:44471const char kEnableNoScriptPreviewsName[] = "NoScript previews";
472
473const char kEnableNoScriptPreviewsDescription[] =
474 "Enable disabling JavaScript on some pages on slow networks.";
475
Thanh Le2c279fbc2017-11-21 01:25:40476const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
477const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
478const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
479const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
480const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
481const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
482const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
483const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
484const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
485const char kDataReductionProxyServerAlternative10[] =
486 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47487const char kEnableDataReductionProxyServerExperimentName[] =
488 "Use an alternative Data Saver back end configuration.";
489const char kEnableDataReductionProxyServerExperimentDescription[] =
490 "Enable a different approach to saving data by configuring the back end "
491 "server";
492
493const char kEnableDataReductionProxySavingsPromoName[] =
494 "Data Saver 1 MB Savings Promo";
495const char kEnableDataReductionProxySavingsPromoDescription[] =
496 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
497 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
498 "enabled for the promo to be shown.";
499
Matt Giucad4870432017-11-24 01:04:38500const char kEnableDesktopPWAsName[] = "Desktop PWAs";
501const char kEnableDesktopPWAsDescription[] =
502 "Experimental windowing and install banner treatment for Progressive Web "
503 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17504
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59505const char kEnableDesktopPWAsLinkCapturingName[] =
506 "Desktop PWAs Link Capturing";
507const char kEnableDesktopPWAsLinkCapturingDescription[] =
508 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
509 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
510 "#enable-desktop-pwas.";
511
Christopher Lame66b7812018-09-26 01:49:24512const char kEnableSystemWebAppsName[] = "System Web Apps";
513const char kEnableSystemWebAppsDescription[] =
514 "Experimental system for using the Desktop PWA framework for running System"
515 "Apps (e.g Settings, Discover).";
516
Ahmed Fakhry0037de02018-01-29 19:58:31517const char kEnableDockedMagnifierName[] = "Docked Magnifier";
518const char kEnableDockedMagnifierDescription[] =
519 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
520
Ramya Nagarajan5b41d8d2018-04-02 19:53:02521const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
522const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09523 "Enables the Emoji picker item in context menus for editable text areas, if"
524 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02525
Brett Wilsonf27ff602017-07-07 22:28:47526const char kEnableEnumeratingAudioDevicesName[] =
527 "Experimentally enable enumerating audio devices.";
528const char kEnableEnumeratingAudioDevicesDescription[] =
529 "Experimentally enable the use of enumerating audio devices.";
530
531const char kEnableGenericSensorName[] = "Generic Sensor";
532const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25533 "Enables motion sensor classes based on Generic Sensor API, i.e. "
534 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
535 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
536
537const char kEnableGenericSensorExtraClassesName[] =
538 "Generic Sensor Extra Classes";
539const char kEnableGenericSensorExtraClassesDescription[] =
540 "Enables an extra set of sensor classes based on Generic Sensor API, which "
541 "expose previously unavailable platform features, i.e. AmbientLightSensor "
542 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47543
Brett Wilsonf27ff602017-07-07 22:28:47544const char kEnableHDRName[] = "HDR mode";
545const char kEnableHDRDescription[] =
546 "Enables HDR support on compatible displays.";
547
Ryan Sturm6a850902018-06-09 02:27:34548const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
549const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09550 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25551 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01552 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
553 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34554
Robert Ogden5a63b242018-09-17 21:38:57555const char kEnablePreviewsAndroidOmniboxUIName[] =
556 "Previews Android Omnibox UI";
557const char kEnablePreviewsAndroidOmniboxUIDescription[] =
558 "Enable showing the Previews UI in the Omnibox on Android instead of an "
559 "InfoBar. This has no effect on other platforms.";
560
Robert Ogdence8c9572018-10-08 23:08:48561const char kEnableLitePageServerPreviewsName[] = "Lite Page Server Previews";
562const char kEnableLitePageServerPreviewsDescription[] =
563 "Enable showing Lite Page Previews served from the Chrome Data Proxy "
564 "service. This feature will cause Chrome to redirect eligible navigations "
565 "to a Google-owned domain that serves a pre-rendered version of the "
566 "original page.";
567
Brett Wilsonf27ff602017-07-07 22:28:47568const char kEnableHttpFormWarningName[] =
569 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15570 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47571const char kEnableHttpFormWarningDescription[] =
572 "Attaches a warning UI to any password or credit card fields detected when "
573 "the top-level page is not HTTPS";
574
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41575const char kLayeredAPIName[] = "Experimental layered APIs";
576const char kLayeredAPIDescription[] =
577 "Enable layered API infrastructure, as well as several experimental "
578 "layered APIs. The syntax and the APIs exposed are experimental and will "
579 "change over time.";
580
Ian Kilpatricke68ef11a2018-07-04 03:52:10581const char kEnableLayoutNGName[] = "Enable LayoutNG";
582const char kEnableLayoutNGDescription[] =
583 "Enable Blink's next generation layout engine.";
584
Scott Littled0fd2d002018-04-13 03:37:26585const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
586const char kEnableLazyFrameLoadingDescription[] =
587 "Defers the loading of certain cross-origin frames until the page is "
588 "scrolled down near them.";
589
rajendrant793ff512018-08-10 17:07:59590const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
591const char kEnableLazyImageLoadingDescription[] =
592 "Defers the loading of images until the page is scrolled down near them.";
593
Sidney San Martín9375b892017-09-09 00:29:54594const char kEnableMacMaterialDesignDownloadShelfName[] =
595 "Enable Material Design download shelf";
596
597const char kEnableMacMaterialDesignDownloadShelfDescription[] =
598 "If enabled, the download shelf uses Material Design.";
599
Anton Urusov47cd4932017-09-19 14:41:41600const char kEnablePolicyToolName[] = "Enable policy management page";
601const char kEnablePolicyToolDescription[] =
602 "If enabled, the chrome://policy-tool URL loads a page for managing "
603 "policies.";
604
Tsuyoshi Horoea7edb72017-11-12 04:14:00605const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
606const char kEnablePWAFullCodeCacheDescription[] =
607 "Generate V8 code cache in Cache Storage while installing Service Worker "
608 "for PWAs.";
609
Weidong Guof1e5a892018-01-06 02:26:39610const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28611 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39612const char kDisableMultiMirroringDescription[] =
613 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28614
Brett Wilsonf27ff602017-07-07 22:28:47615const char kEnableNavigationTracingName[] = "Enable navigation tracing";
616const char kEnableNavigationTracingDescription[] =
617 "This is to be used in conjunction with the trace-upload-url flag. "
618 "WARNING: When enabled, Chrome will record performance data for every "
619 "navigation and upload it to the URL specified by the trace-upload-url "
620 "flag. The trace may include personally identifiable information (PII) "
621 "such as the titles and URLs of websites you visit.";
622
Bernhard Bauer5533f9912017-11-06 17:56:02623const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
624const char kEnableNetworkLoggingToFileDescription[] =
625 "Enables network logging to a file named netlog.json in the user data "
626 "directory. The file can be imported into chrome://net-internals.";
627
Brett Wilsonf27ff602017-07-07 22:28:47628const char kEnableNetworkServiceName[] = "Enable network service";
629const char kEnableNetworkServiceDescription[] =
630 "Enables the network service, which makes network requests through a "
John Abd-El-Malek225b04d2018-09-07 22:41:40631 "separate process.";
Brett Wilsonf27ff602017-07-07 22:28:47632
John Abd-El-Malek8067cc02017-12-04 23:23:20633const char kEnableNetworkServiceInProcessName[] =
634 "Runs network service in-process";
635const char kEnableNetworkServiceInProcessDescription[] =
636 "Runs the network service in the browser process.";
637
dpapaded8349472017-10-25 03:21:27638const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
639const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37640 "If enabled, Print Preview will display a newer UI. This feature is "
641 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27642
Ahmed Fakhry2fd8fc82017-07-28 16:31:12643const char kEnableNightLightName[] = "Enable Night Light";
644const char kEnableNightLightDescription[] =
645 "Enable the Night Light feature which controls the color temperature of "
646 "the screen.";
647
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28648const char kEnableNotificationScrollBarName[] =
649 "Enable notification list scroll bar";
650const char kEnableNotificationScrollBarDescription[] =
651 "Enable the scroll bar of the notification list in Unified System Tray.";
652
Tetsui Ohkubo2aa9d1e2018-10-03 03:43:07653const char kEnableNewMessageListViewName[] = "Enable new message list view";
654const char kEnableNewMessageListViewDescription[] =
655 "Enable new implementation of message list view.";
656
xlou8b56f672018-02-09 23:34:30657const char kEnableNupPrintingName[] = "Enable N-up printing";
658const char kEnableNupPrintingDescription[] =
659 "Enable N-up printing in the print preview panel.";
660
Sophie Chang117a3b22017-10-24 22:25:36661const char kEnableOptimizationHintsName[] = "Optimization Hints";
662const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50663 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36664 "into decisions for what optimizations to perform on some pages on slow "
665 "networks.";
666
Yutaka Hirano98be3272017-08-07 17:55:39667const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
668const char kEnableOutOfBlinkCORSDescription[] =
669 "CORS handling logic is moved out of blink.";
670
Sammie Quon0fbf0782018-05-01 22:11:08671const char kEnableOverviewSwipeToCloseName[] =
672 "Enable overview swipe to close.";
673const char kEnableOverviewSwipeToCloseDescription[] =
674 "Enables closing of items in overview mode by dragging or flinging "
675 "vertically.";
676
kylechar7051c092018-02-05 20:31:39677const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
678const char kVizDisplayCompositorDescription[] =
679 "If enabled, the display compositor runs as part of the viz service in the"
680 "GPU process.";
681
Ria Jiang6a129b982018-03-01 18:30:40682const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
683const char kVizHitTestDrawQuadDescription[] =
684 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
685 "with hit-test data computed from the CompositorFrame.";
686
Erik Chen49bbfa22017-08-18 08:49:56687const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23688 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56689const char kEnableOutOfProcessHeapProfilingDescription[] =
690 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19691 "malloced objects. Heap dumps can be obtained at chrome://tracing "
692 "[category:memory-infra] and chrome://memory-internals. This setting "
693 "controls which processes are profiled. As long as this setting is not "
694 "disabled, users can start profiling any given process in "
695 "chrome://memory-internals.";
696const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
697const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
698const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
699const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
700const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10701const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19702 "None by default. Visit chrome://memory-internals to choose which "
703 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15704const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
705 "Profile a random sampling of renderer processes, ensuring only one is "
706 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19707
Erik Chen8bb76b52017-12-06 19:06:25708const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19709 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25710const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
711 "By default, small allocations are pruned from the heap dump. This reduces "
712 "the size of the compressed trace by 100x. If pruning is disabled, the "
713 "chrome://tracing UI may be unable to take or load the trace. Save the "
714 "trace directly using chrome://memory-internals, and use other mechanisms "
715 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
716 "automatically uploaded traces will always be pruned. This only affects "
717 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56718
erikchen8bc20d82018-02-14 03:21:51719const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
720const char kOutOfProcessHeapProfilingSamplingDescription[] =
721 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22722 "10000. This results in low noise for large and/or frequent allocations ["
723 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
724 "total size of malloc-ed objects] and large and/or frequent allocations "
725 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51726
Erik Chen3303fd0232018-01-11 20:29:05727const char kOOPHPStackModeName[] =
728 "The type of stack to record for memlog heap dumps";
729const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19730 "By default, memlog heap dumps record native stacks, which requires a "
731 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55732 "pointers to work on Android. Native with thread names will add the thread "
733 "name as the first frame of each native stack. It's also possible to "
734 "record a pseudo stack using trace events as identifiers. It's also "
735 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19736const char kOOPHPStackModeMixed[] = "Mixed";
737const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55738const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19739const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05740
François Beaufort2e75f492018-02-08 20:44:46741const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47742const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46743 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47744
F#m59d036e2017-09-13 07:22:17745const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
746const char kEnablePixelCanvasRecordingDescription[] =
747 "Pixel canvas recording allows the compositor to raster contents aligned "
748 "with the pixel and improves text rendering. This should be enabled when a "
749 "device is using fractional scale factor.";
750
Ella Gebee81c92018-08-14 15:51:09751const char kEnableResamplingInputEventsName[] =
752 "Enable resampling input events";
753const char kEnableResamplingInputEventsDescription[] =
754 "Predicts mouse and touch inputs position at rAF time based on previous "
755 "input";
756const char kEnableResamplingScrollEventsName[] =
757 "Enable resampling scroll events";
758const char kEnableResamplingScrollEventsDescription[] =
759 "Predicts the scroll amount at vsync time based on previous input";
760
Doug Arnettaa0bf202018-08-27 19:42:11761const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
762const char kEnableResourceLoadingHintsDescription[] =
763 "Enable using server-provided resource loading hints to provide a preview "
764 "over slow network connections.";
765
Lei Zhang0ca70ea2018-09-07 17:51:01766const char kEnableSyncUserConsentSeparateTypeName[] =
vitaliiid36191b2018-06-11 07:40:49767 "Enable separate sync type for consents";
Lei Zhang0ca70ea2018-09-07 17:51:01768const char kEnableSyncUserConsentSeparateTypeDescription[] =
vitaliiid36191b2018-06-11 07:40:49769 "Emit user consents as a separate sync type instead of user events.";
770
Mohamed Amir Yosef0178fa892018-07-23 17:43:52771const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
772const char kEnableSyncUSSBookmarksDescription[] =
773 "Enables the new, experimental implementation of bookmark sync";
774
Mikel Astiz38837f82018-04-24 22:23:23775const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
776const char kEnableSyncUSSSessionsDescription[] =
777 "Enables the new, experimental implementation of session sync (aka tab "
778 "sync).";
779
Brett Wilsonf27ff602017-07-07 22:28:47780const char kEnableUseZoomForDsfName[] =
781 "Use Blink's zoom for device scale factor.";
782const char kEnableUseZoomForDsfDescription[] =
783 "If enabled, Blink uses its zooming mechanism to scale content for device "
784 "scale factor.";
785const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
786const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
787const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
788
Patrick Noland8ee016e2018-01-24 11:44:53789const char kEnableScrollAnchorSerializationName[] =
790 "Scroll Anchor Serialization";
791const char kEnableScrollAnchorSerializationDescription[] =
792 "Save the scroll anchor and use it to restore the scroll position when "
793 "navigating.";
794
Brad Nelson5cd500e2018-01-04 00:50:19795const char kEnableSharedArrayBufferName[] =
796 "Experimental enabled SharedArrayBuffer support in JavaScript.";
797const char kEnableSharedArrayBufferDescription[] =
798 "Enable SharedArrayBuffer support in JavaScript.";
799
Brett Wilsonf27ff602017-07-07 22:28:47800const char kEnableWasmName[] = "WebAssembly structured cloning support.";
801const char kEnableWasmDescription[] =
802 "Enable web pages to use WebAssembly structured cloning.";
803
Kim Paulhamusae635a32018-06-27 07:30:54804const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
805const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47806 "Enable Web Authentication API support.";
807
Lei Zhang0ca70ea2018-09-07 17:51:01808const char kEnableWebAuthenticationCableSupportName[] =
Kim Paulhamus92431372018-07-20 02:25:47809 "Web Authentication caBLE support";
Lei Zhang0ca70ea2018-09-07 17:51:01810const char kEnableWebAuthenticationCableSupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47811 "Enable the cloud-assisted pairingless BLE protocol for use with "
812 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54813
Brett Wilsonf27ff602017-07-07 22:28:47814const char kEnableImageCaptureAPIName[] = "Image Capture API";
815const char kEnableImageCaptureAPIDescription[] =
816 "Enables the Web Platform Image Capture API: takePhoto(), "
817 "getPhotoCapabilities(), etc.";
818
819const char kEnableZeroSuggestRedirectToChromeName[] =
820 "Experimental contextual omnibox suggestion";
821const char kEnableZeroSuggestRedirectToChromeDescription[] =
822 "Change omnibox contextual suggestions to an experimental source. Note "
823 "that this is not an on/off switch for contextual omnibox and it only "
824 "applies to suggestions provided before the user starts typing a URL or a "
825 "search query (i.e. zero suggest).";
826
Clemens Hammacher0c8a15a2018-04-27 13:45:32827const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
828const char kEnableWasmBaselineDescription[] =
829 "Enables WebAssembly baseline compilation and tier up.";
830
Ben Smith24c1e5c2018-06-20 01:09:02831const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
832const char kEnableWasmThreadsDescription[] =
833 "Enables support for the WebAssembly Threads proposal. Implies "
834 "#shared-array-buffer and #enable-webassembly.";
835
Brett Wilsonf27ff602017-07-07 22:28:47836const char kExpensiveBackgroundTimerThrottlingName[] =
837 "Throttle expensive background timers";
838const char kExpensiveBackgroundTimerThrottlingDescription[] =
839 "Enables intervention to limit CPU usage of background timers to 1%.";
840
841const char kExperimentalAppBannersName[] = "Experimental app banners";
842const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38843 "Enables a new experimental app banner flow and UI. Implies "
844 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47845
846const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
847const char kExperimentalCanvasFeaturesDescription[] =
848 "Enables the use of experimental canvas features which are still in "
849 "development.";
850
Nicholas Verneccd8259802018-02-22 01:22:04851const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
852const char kExperimentalCrostiniUIDescription[] =
853 "Enables in-development Crostini features.";
854
Brett Wilsonf27ff602017-07-07 22:28:47855const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
856const char kExperimentalExtensionApisDescription[] =
857 "Enables experimental extension APIs. Note that the extension gallery "
858 "doesn't allow you to upload extensions that use experimental APIs.";
859
860const char kExperimentalFullscreenExitUIName[] =
861 "Experimental fullscreen exit UI";
862const char kExperimentalFullscreenExitUIDescription[] =
863 "Displays experimental UI to allow mouse and touch input methods to exit "
864 "fullscreen mode.";
865
Ian Clelland37a985d2018-05-04 02:43:13866const char kExperimentalProductivityFeaturesName[] =
867 "Experimental Productivity Features";
868const char kExperimentalProductivityFeaturesDescription[] =
869 "Enable support for experimental developer productivity features, such as "
870 "Layered APIs and policies for avoiding slow rendering.";
871
Brett Wilsonf27ff602017-07-07 22:28:47872const char kExperimentalSecurityFeaturesName[] =
873 "Potentially annoying security features";
874const char kExperimentalSecurityFeaturesDescription[] =
875 "Enables several security features that will likely break one or more "
876 "pages that you visit on a daily basis. Strict mixed content checking, for "
877 "example. And locking powerful features to secure contexts. This flag will "
878 "probably annoy you.";
879
880const char kExperimentalWebPlatformFeaturesName[] =
881 "Experimental Web Platform features";
882const char kExperimentalWebPlatformFeaturesDescription[] =
883 "Enables experimental Web Platform features that are in development.";
884
885const char kExtensionContentVerificationName[] =
886 "Extension Content Verification";
887const char kExtensionContentVerificationDescription[] =
888 "This flag can be used to turn on verification that the contents of the "
889 "files on disk for extensions from the webstore match what they're "
890 "expected to be. This can be used to turn on this feature if it would not "
891 "otherwise have been turned on, but cannot be used to turn it off (because "
892 "this setting can be tampered with by malware).";
893const char kExtensionContentVerificationBootstrap[] =
894 "Bootstrap (get expected hashes, but do not enforce them)";
895const char kExtensionContentVerificationEnforce[] =
896 "Enforce (try to get hashes, and enforce them if successful)";
897const char kExtensionContentVerificationEnforceStrict[] =
898 "Enforce strict (hard fail if we can't get hashes)";
899
900const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
901const char kExtensionsOnChromeUrlsDescription[] =
902 "Enables running extensions on chrome:// URLs, where extensions explicitly "
903 "request this permission.";
galinapae72e152017-05-12 13:12:28904
Brett Wilsonecb80982017-07-12 20:34:51905const char kFastUnloadName[] = "Fast tab/window close";
906const char kFastUnloadDescription[] =
907 "Enables fast tab/window closing - runs a tab's onunload js handler "
908 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34909
Brett Wilsonecb80982017-07-12 20:34:51910const char kFeaturePolicyName[] = "Feature Policy";
911const char kFeaturePolicyDescription[] =
912 "Enables granting and removing access to features through the "
913 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34914
Brett Wilsonecb80982017-07-12 20:34:51915const char kFontCacheScalingName[] = "FontCache scaling";
916const char kFontCacheScalingDescription[] =
917 "Reuse a cached font in the renderer to serve different sizes of font for "
918 "faster layout.";
919
920const char kForceEffectiveConnectionTypeName[] =
921 "Override effective connection type";
922const char kForceEffectiveConnectionTypeDescription[] =
923 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30924 "returned by the network quality estimator. Slow 2G on Cellular returns "
925 "Slow 2G when connected to a cellular network, and the actual estimate "
926 "effective connection type when not on a cellular network. Previews are "
927 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51928const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
929const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
930const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30931const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
932 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51933const char kEffectiveConnectionType2GDescription[] = "2G";
934const char kEffectiveConnectionType3GDescription[] = "3G";
935const char kEffectiveConnectionType4GDescription[] = "4G";
936
937const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
938const char kFillOnAccountSelectDescription[] =
939 "Filling of passwords when an account is explicitly selected by the user "
940 "rather than autofilling credentials on page load.";
941
Brett Wilsonecb80982017-07-12 20:34:51942const char kForceTextDirectionName[] = "Force text direction";
943const char kForceTextDirectionDescription[] =
944 "Explicitly force the per-character directionality of UI text to "
945 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
946 "direction of the character language.";
947const char kForceDirectionLtr[] = "Left-to-right";
948const char kForceDirectionRtl[] = "Right-to-left";
949
950const char kForceUiDirectionName[] = "Force UI direction";
951const char kForceUiDirectionDescription[] =
952 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
953 "mode, overriding the default direction of the UI language.";
954
955const char kFramebustingName[] =
956 "Framebusting requires same-origin or a user gesture";
957const char kFramebustingDescription[] =
958 "Don't permit an iframe to navigate the top level browsing context unless "
959 "they are same-origin or the iframe is processing a user gesture.";
960
961const char kGamepadExtensionsName[] = "Gamepad Extensions";
962const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22963 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06964const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48965const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06966 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48967 "the polling rate improves the average latency of button and axis inputs "
968 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58969const char kGamepadVibrationName[] = "Gamepad Vibration";
970const char kGamepadVibrationDescription[] =
971 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51972
Brett Wilsonecb80982017-07-12 20:34:51973const char kGpuRasterizationMsaaSampleCountName[] =
974 "GPU rasterization MSAA sample count.";
975const char kGpuRasterizationMsaaSampleCountDescription[] =
976 "Specify the number of MSAA samples for GPU rasterization.";
977const char kGpuRasterizationMsaaSampleCountZero[] = "0";
978const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
979const char kGpuRasterizationMsaaSampleCountFour[] = "4";
980const char kGpuRasterizationMsaaSampleCountEight[] = "8";
981const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
982
983const char kGpuRasterizationName[] = "GPU rasterization";
984const char kGpuRasterizationDescription[] =
985 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28986const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51987
988const char kGoogleProfileInfoName[] = "Google profile name and icon";
989const char kGoogleProfileInfoDescription[] =
990 "Enables using Google information to populate the profile name and icon in "
991 "the avatar menu.";
992
Takumi Fujimotofb71e332018-03-31 14:04:08993const char kViewsCastDialogName[] = "Views Cast dialog";
994const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31995 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53996 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54997 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08998
Manu Cornet4a908de2018-04-09 04:32:27999const char kHideActiveAppsFromShelfName[] =
1000 "Hide running apps (that are not pinned) from the shelf";
1001const char kHideActiveAppsFromShelfDescription[] =
1002 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251003
Brett Wilsonecb80982017-07-12 20:34:511004const char kHistoryRequiresUserGestureName[] =
1005 "New history entries require a user gesture.";
1006const char kHistoryRequiresUserGestureDescription[] =
1007 "Require a user gesture to add a history entry.";
1008const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1009const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1010
Ryan Landay4242dbc22018-04-04 01:47:331011const char kHorizontalTabSwitcherAndroidName[] =
1012 "Enable horizontal tab switcher";
1013const char kHorizontalTabSwitcherAndroidDescription[] =
1014 "Changes the layout of the Android tab switcher so tabs scroll "
1015 "horizontally instead of vertically.";
1016
Brett Wilsonecb80982017-07-12 20:34:511017const char kHostedAppQuitNotificationName[] =
1018 "Quit notification for hosted apps";
1019const char kHostedAppQuitNotificationDescription[] =
1020 "Display a notification when quitting Chrome if hosted apps are currently "
1021 "running.";
1022
1023const char kHostedAppShimCreationName[] =
1024 "Creation of app shims for hosted apps on Mac";
1025const char kHostedAppShimCreationDescription[] =
1026 "Create app shims on Mac when creating a hosted app.";
1027
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481028const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1029const char kHtmlBasedUsernameDetectorDescription[] =
1030 "Use HTML-based username detector for the password manager.";
1031
Brett Wilsonecb80982017-07-12 20:34:511032const char kIconNtpName[] = "Large icons on the New Tab page";
1033const char kIconNtpDescription[] =
1034 "Enable the experimental New Tab page using large icons.";
1035
1036const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1037const char kIgnoreGpuBlacklistDescription[] =
1038 "Overrides the built-in software rendering list and enables "
1039 "GPU-acceleration on unsupported system configurations.";
1040
Ryan Sturm8c3dbc92018-06-26 19:22:371041const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441042const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371043 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441044
Claudio Magni61c210922017-12-28 00:29:511045const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1046const char kImprovedLanguageSettingsDescription[] =
1047 "Set of changes for Language Settings. These changes are intended to fix "
1048 "the major bugs related to Language Settings.";
1049
Brett Wilsonecb80982017-07-12 20:34:511050const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1051const char kInProductHelpDemoModeChoiceDescription[] =
1052 "Selects the In-Product Help demo mode.";
1053
1054const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1055const char kJavascriptHarmonyDescription[] =
1056 "Enable web pages to use experimental JavaScript features.";
1057
1058const char kJavascriptHarmonyShippingName[] =
1059 "Latest stable JavaScript features";
1060const char kJavascriptHarmonyShippingDescription[] =
1061 "Some web pages use legacy or non-standard JavaScript extensions that may "
1062 "conflict with the latest JavaScript features. This flag allows disabling "
1063 "support of those features for compatibility with such pages.";
1064
gogeraldfd7675d2018-06-19 22:57:351065const char kJustInTimeServiceWorkerPaymentAppName[] =
1066 "Just-in-time service worker payment app";
1067const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1068 "Allow crawling just-in-time service worker payment app when there is no "
1069 "installed service worker payment app for a payment request.";
1070
Yutaka Hiranof7f2f632017-09-06 10:40:081071const char kKeepAliveRendererForKeepaliveRequestsName[] =
1072 "Keep a renderer alive for keepalive fetch requests";
1073const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1074 "Keep a render process alive when the process has a pending fetch request "
1075 "with `keepalive' specified.";
1076
Joe Downing095fd6d2018-02-01 18:40:361077const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1078const char kKeyboardLockApiDescription[] =
1079 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1080 "specific key events and have them routed directly to the webpage when in "
1081 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1082
Brett Wilsonecb80982017-07-12 20:34:511083const char kLcdTextName[] = "LCD text antialiasing";
1084const char kLcdTextDescription[] =
1085 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1086 "(subpixel) when doing accelerated compositing.";
1087
Matt Giucac399982f2017-10-06 07:51:291088const char kLeftToRightUrlsName[] =
1089 "Render bidirectional URLs from left to right";
1090const char kLeftToRightUrlsDescription[] =
1091 "An experimental Bidi URL rendering algorithm where the URL components are "
1092 "always shown in order from left to right, regardless of any RTL "
1093 "characters. (The contents of each component are still rendered with the "
1094 "normal Bidi algorithm.)";
1095
Brett Wilsonecb80982017-07-12 20:34:511096const char kLoadMediaRouterComponentExtensionName[] =
1097 "Load Media Router Component Extension";
1098const char kLoadMediaRouterComponentExtensionDescription[] =
1099 "Loads the Media Router component extension at startup.";
1100
Mustafa Emre Acer137dc8b2018-08-29 20:38:131101const char kLookalikeUrlNavigationSuggestionsName[] =
1102 "Navigation suggestions for lookalike URLs";
1103const char kLookalikeUrlNavigationSuggestionsDescription[] =
1104 "Enable navigation suggestions for URLs that are visually similar to "
1105 "popular domains or to domains with a site engagement score.";
1106
Brett Wilsonecb80982017-07-12 20:34:511107const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1108const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511109
Lei Zhang2eca9082017-10-17 20:42:501110const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1111const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511112 "If enabled, the Incognito New Tab page uses the new material design with "
1113 "a better readable text.";
1114
spqchanb87755692018-04-05 00:46:091115const char kMediaRouterCastAllowAllIPsName[] =
1116 "Connect to Cast devices on all IP addresses";
1117const char kMediaRouterCastAllowAllIPsDescription[] =
1118 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311119 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091120
Brett Wilsonecb80982017-07-12 20:34:511121const char kMemoryCoordinatorName[] = "Memory coordinator";
1122const char kMemoryCoordinatorDescription[] =
1123 "Enable memory coordinator instead of memory pressure listeners.";
1124
1125const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1126const char kMessageCenterNewStyleNotificationDescription[] =
1127 "Enables the experiment style of material-design notification";
1128
Brett Wilsonecb80982017-07-12 20:34:511129const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1130const char kMhtmlGeneratorOptionDescription[] =
1131 "Provides experimental options for MHTML file generator.";
1132const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1133const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1134
Kouhei Ueno08445c22017-09-05 03:58:301135const char kModuleScriptsDynamicImportName[] =
1136 "Enable ECMAScript 6 modules dynamic import";
1137const char kModuleScriptsDynamicImportDescription[] =
1138 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1139 "Blink.";
1140
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051141const char kModuleScriptsImportMetaUrlName[] =
1142 "Enable ECMAScript 6 modules import.meta.url";
1143const char kModuleScriptsImportMetaUrlDescription[] =
1144 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1145 "Blink.";
1146
Brett Wilsonecb80982017-07-12 20:34:511147const char kNewAudioRenderingMixingStrategyName[] =
1148 "New audio rendering mixing strategy";
1149const char kNewAudioRenderingMixingStrategyDescription[] =
1150 "Use the new audio rendering mixing strategy.";
1151
1152const char kNewBookmarkAppsName[] = "The new bookmark app system";
1153const char kNewBookmarkAppsDescription[] =
1154 "Enables the new system for creating bookmark apps.";
1155
Vadym Doroshenkocd4ff782018-07-24 13:41:021156const char kNewPasswordFormParsingName[] =
1157 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241158const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021159 "Replaces existing form parsing for filling in password manager with a new "
1160 "version, currently under development. WARNING: when enabled, Password "
1161 "Manager might stop working";
1162
1163const char kNewPasswordFormParsingForSavingName[] =
1164 "New password form parsing for saving passwords";
1165const char kNewPasswordFormParsingForSavingDescription[] =
1166 "Replaces existing form parsing for saving in password manager with a new "
1167 "version, currently under development. WARNING: when enabled, Password "
1168 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241169
Brett Wilsonecb80982017-07-12 20:34:511170const char kNewRemotePlaybackPipelineName[] =
1171 "Enable the new remote playback pipeline.";
1172const char kNewRemotePlaybackPipelineDescription[] =
1173 "Enable the new pipeline for playing media element remotely via "
1174 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501175const char kUseSurfaceLayerForVideoName[] =
1176 "Enable the use of SurfaceLayer objects for videos.";
1177const char kUseSurfaceLayerForVideoDescription[] =
1178 "Enable compositing onto a Surface instead of a VideoLayer "
1179 "for videos.";
CJ DiMeglioe6e258a2018-08-10 21:41:571180const char kUseSurfaceLayerForVideoMSName[] =
1181 "Enable the use of SurfaceLayer objects for media stream videos.";
1182const char kUseSurfaceLayerForVideoMSDescription[] =
1183 "Enable compositing onto a Surface instead of a VideoLayer "
1184 "for media stream videos.";
Brett Wilsonecb80982017-07-12 20:34:511185
1186const char kNewUsbBackendName[] = "Enable new USB backend";
1187const char kNewUsbBackendDescription[] =
1188 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341189
Sonny Sasaka2d200432018-03-22 17:43:161190const char kNewblueName[] = "Newblue";
1191const char kNewblueDescription[] =
1192 "Enables the use of newblue Bluetooth daemon.";
1193
Peter Kasting63097912018-06-30 02:09:031194const char kNewTabButtonPosition[] = "New tab button position";
1195const char kNewTabButtonPositionDescription[] =
1196 "Controls placement of the new tab button within the tabstrip.";
1197const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1198const char kNewTabButtonPositionLeading[] = "Leading";
1199const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1200const char kNewTabButtonPositionTrailing[] = "Trailing";
1201
Egor Pasko6fed3822018-05-30 10:33:141202const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341203const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141204 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341205
Alex Newcomerd7b0cc42018-05-25 22:58:481206const char kNotificationIndicatorName[] = "Notification Indicators";
1207const char kNotificationIndicatorDescription[] =
1208 "Enable notification indicators, which appear on app icons when a "
1209 "notification is active. This will also enable notifications in context "
1210 "menus.";
1211
Brett Wilsonecb80982017-07-12 20:34:511212const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1213const char kNotificationsNativeFlagDescription[] =
1214 "Enable support for using the native notification toasts and notification "
1215 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341216
Valeriya Sinevich972ac122018-09-05 07:33:191217const char kUseMultiloginEndpointName[] = "Use Multilogin endpoint.";
1218const char kUseMultiloginEndpointDescription[] =
1219 "Use Gaia OAuth multilogin for identity consistency.";
1220
Zentaro Kavanaghbad511c2017-10-18 22:29:001221#if defined(OS_POSIX)
1222const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1223const char kNtlmV2EnabledDescription[] =
1224 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1225#endif
1226
Ramya Nagarajane9f16b82018-05-03 01:05:341227const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1228const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301229 "Allow selection of a custom background image on the New Tab Page. "
1230 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341231
kristipark037abce12018-07-13 19:49:301232const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1233const char kNtpCustomLinksDescription[] =
1234 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1235 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1236
1237const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341238const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301239 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1240 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341241
Kyle Milkad1420ce2018-10-05 18:33:411242const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1243const char kNtpUIMdDescription[] =
1244 "Updates the New Tab Page with Material Design elements.";
1245
Brett Wilsonecb80982017-07-12 20:34:511246const char kNumRasterThreadsName[] = "Number of raster threads";
1247const char kNumRasterThreadsDescription[] =
1248 "Specify the number of raster threads.";
1249const char kNumRasterThreadsOne[] = "1";
1250const char kNumRasterThreadsTwo[] = "2";
1251const char kNumRasterThreadsThree[] = "3";
1252const char kNumRasterThreadsFour[] = "4";
1253
1254const char kOfferStoreUnmaskedWalletCardsName[] =
1255 "Google Payments card saving checkbox";
1256const char kOfferStoreUnmaskedWalletCardsDescription[] =
1257 "Show the checkbox to offer local saving of a credit card downloaded from "
1258 "the server.";
1259
1260const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1261const char kOfflineAutoReloadDescription[] =
1262 "Pages that fail to load while the browser is offline will be "
1263 "auto-reloaded when the browser is online again.";
1264
1265const char kOfflineAutoReloadVisibleOnlyName[] =
1266 "Only Auto-Reload Visible Tabs";
1267const char kOfflineAutoReloadVisibleOnlyDescription[] =
1268 "Pages that fail to load while the browser is offline will only be "
1269 "auto-reloaded if their tab is visible.";
1270
Brett Wilsonecb80982017-07-12 20:34:511271const char kOmniboxDisplayTitleForCurrentUrlName[] =
1272 "Include title for the current URL in the omnibox";
1273const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1274 "In the event that the omnibox provides suggestions on-focus, the URL of "
1275 "the current page is provided as the first suggestion without a title. "
1276 "Enabling this flag causes the title to be displayed.";
1277
Benoit Lizeab08362c2017-07-19 14:50:541278const char kOmniboxSpareRendererName[] =
1279 "Start spare renderer on omnibox focus";
1280const char kOmniboxSpareRendererDescription[] =
1281 "When the omnibox is focused, start an empty spare renderer. This can "
1282 "speed up the load of the navigation from the omnibox.";
1283
Tommy C. Li8875a442017-08-23 00:10:591284const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1285 "Omnibox UI Elide Suggestion URL After Host";
1286const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1287 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1288 "dropdown.";
1289
Tommy C. Lie4194b732018-09-28 22:21:511290const char kOmniboxUIHideSteadyStateUrlSchemeName[] =
1291 "Omnibox UI Hide Steady-State URL Scheme";
1292const char kOmniboxUIHideSteadyStateUrlSchemeDescription[] =
1293 "In the omnibox, hide the scheme from steady state displayed URLs. It is "
1294 "restored during editing. For Mac, this flag will have no effect unless "
1295 "MacViews is enabled.";
1296
1297const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName[] =
1298 "Omnibox UI Hide Steady-State URL Trivial Subdomains";
1299const char kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription[] =
1300 "In the omnibox, hide trivial subdomains from steady state displayed URLs. "
1301 "Hidden portions are restored during editing. For Mac, this flag will have "
1302 "no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121303
Tommy C. Licc5e53022018-07-27 16:30:351304const char kOmniboxUIJogTextfieldOnPopupName[] =
1305 "Omnibox UI Jog Textfield on Popup";
1306const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1307 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1308 "text when the popup is opened. When this feature is disabled, the "
1309 "textfield is always aligned with the suggestions text, and a separator "
1310 "fills the gap. If Material Refresh is disabled, this has no effect.";
1311
Brett Wilsonecb80982017-07-12 20:34:511312const char kOmniboxUIMaxAutocompleteMatchesName[] =
1313 "Omnibox UI Max Autocomplete Matches";
1314
1315const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1316 "Changes the maximum number of autocomplete matches displayed in the "
1317 "Omnibox UI.";
1318
Justin Donnelly65c9e8b2017-10-01 05:15:011319const char kOmniboxUIShowSuggestionFaviconsName[] =
1320 "Omnibox UI Show Suggestion Favicons";
1321const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1322 "Shows favicons instead of generic vector icons for URL suggestions in the "
1323 "Omnibox dropdown.";
1324
1325const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1326const char kOmniboxUISwapTitleAndUrlDescription[] =
1327 "In the omnibox dropdown, shows titles before URLs when both are "
1328 "available.";
1329
Brett Wilsonecb80982017-07-12 20:34:511330const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1331const char kOmniboxUIVerticalMarginDescription[] =
1332 "Changes the vertical margin in the Omnibox UI.";
1333
Troy Hildebrandtb32637ca2018-02-21 23:25:091334const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1335 "Omnibox Voice Search Always Visible";
1336const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1337 "Always displays voice search icon in focused omnibox as long as voice "
1338 "search is possible";
1339
Adrienne Walkerc87477e2018-06-06 22:28:211340const char kOopRasterizationName[] = "Out of process rasterization";
1341const char kOopRasterizationDescription[] =
1342 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1343 "Must also enable GPU rasterization";
1344
Brett Wilsonecb80982017-07-12 20:34:511345const char kOriginTrialsName[] = "Origin Trials";
1346const char kOriginTrialsDescription[] =
1347 "Enables origin trials for controlling access to feature/API experiments.";
1348
Becca Hughes930d8cd2017-10-02 11:09:121349const char kOverflowIconsForMediaControlsName[] =
1350 "Icons on Media Controls Overflow Menu";
1351const char kOverflowIconsForMediaControlsDescription[] =
1352 "Displays icons on the overflow menu of the native media controls";
1353
Brett Wilsonecb80982017-07-12 20:34:511354const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1355const char kOverlayScrollbarsDescription[] =
1356 "Enable the experimental overlay scrollbars implementation. You must also "
1357 "enable threaded compositing to have the scrollbars animate.";
1358
chaopenge8aa016b2017-08-24 15:20:191359const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1360 "Flash Overlay Scrollbars After Any Scroll Update";
1361const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1362 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1363 " must also enable Overlay Scrollbars.";
1364
chaopeng343678022017-08-24 18:45:001365const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1366 "Flash Overlay Scrollbars When Mouse Enter";
1367const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1368 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1369 " enable Overlay Scrollbars.";
1370
Daniele Castagna74ddb9c2018-06-21 22:59:021371const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1372const char kOverlayStrategiesDescription[] =
1373 "Select strategies used to promote quads to HW overlays.";
1374const char kOverlayStrategiesDefault[] = "Default";
1375const char kOverlayStrategiesNone[] = "None";
1376const char kOverlayStrategiesUnoccludedFullscreen[] =
1377 "Unoccluded fullscreen buffers (single-fullscreen)";
1378const char kOverlayStrategiesUnoccluded[] =
1379 "Unoccluded buffers (single-fullscreen,single-on-top)";
1380const char kOverlayStrategiesOccludedAndUnoccluded[] =
1381 "Occluded and unoccluded buffers "
1382 "(single-fullscreen,single-on-top,underlay)";
1383
Claudio Magni81326f92017-09-01 05:21:181384const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1385const char kUseNewAcceptLanguageHeaderDescription[] =
1386 "Adds the base language code after other corresponding language+region "
1387 "codes. This ensures that users receive content in their preferred "
1388 "language.";
1389
Brett Wilsonecb80982017-07-12 20:34:511390const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1391const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481392 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511393const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481394const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511395
1396const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1397const char kOverscrollStartThresholdDescription[] =
1398 "Changes overscroll start threshold relative to the default value.";
1399const char kOverscrollStartThreshold133Percent[] = "133%";
1400const char kOverscrollStartThreshold166Percent[] = "166%";
1401const char kOverscrollStartThreshold200Percent[] = "200%";
1402
chaopenge2b6e5f2018-05-08 16:40:451403const char kTouchpadOverscrollHistoryNavigationName[] =
1404 "Overscroll history navigation on Touchpad";
1405const char kTouchpadOverscrollHistoryNavigationDescription[] =
1406 "Allows swipe left/right from touchpad change browser navigation.";
1407
Xing Liu5400a002017-09-15 21:48:291408const char kParallelDownloadingName[] = "Parallel downloading";
1409const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061410 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291411
Brett Wilsonecb80982017-07-12 20:34:511412const char kPassiveEventListenerDefaultName[] =
1413 "Passive Event Listener Override";
1414const char kPassiveEventListenerDefaultDescription[] =
1415 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1416 "haven't requested otherwise) to be treated as passive. This will break "
1417 "touch/wheel behavior on some websites but is useful for demonstrating the "
1418 "potential performance benefits of adopting passive event listeners.";
1419const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1420const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1421
1422const char kPassiveEventListenersDueToFlingName[] =
1423 "Touch Event Listeners Passive Default During Fling";
1424const char kPassiveEventListenersDueToFlingDescription[] =
1425 "Forces touchstart, and first touchmove per scroll event listeners during "
1426 "fling to be treated as passive.";
1427
1428const char kPassiveDocumentEventListenersName[] =
1429 "Document Level Event Listeners Passive Default";
1430const char kPassiveDocumentEventListenersDescription[] =
1431 "Forces touchstart, and touchmove event listeners on document level "
1432 "targets (which haven't requested otherwise) to be treated as passive.";
1433
Sahel Sharify7400e882018-08-13 17:13:211434const char kPassiveDocumentWheelEventListenersName[] =
1435 "Document Level Wheel Event Listeners Passive Default";
1436const char kPassiveDocumentWheelEventListenersDescription[] =
1437 "Forces wheel, and mousewheel event listeners on document level targets "
1438 "(which haven't requested otherwise) to be treated as passive.";
1439
Vaclav Brozekd8a3f542017-11-16 14:21:131440const char kPasswordImportName[] = "Password import";
1441const char kPasswordImportDescription[] =
1442 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511443
Friedrich Horschig03c91982018-01-25 14:21:281444const char kPasswordSearchMobileName[] = "Password search";
1445const char kPasswordSearchMobileDescription[] =
1446 "Search functionality in password settings.";
1447
Friedrich Horschige6c27742018-04-23 17:13:411448const char kPasswordsKeyboardAccessoryName[] =
1449 "Add password-related functions to keyboard accessory";
1450const char kPasswordsKeyboardAccessoryDescription[] =
1451 "Adds password generation button and toggle for the passwords bottom sheet "
1452 "to the keyboard accessory. Replaces password generation popups.";
1453
Christos Froussios6e060c42018-07-31 16:17:191454const char kPasswordsMigrateLinuxToLoginDBName[] =
1455 "Migrate passwords to \"Login Data\"";
1456const char kPasswordsMigrateLinuxToLoginDBDescription[] =
Christos Froussiose34c38a2018-09-04 14:27:591457 "Performs a one-off irreversible migration of passwords from the "
Christos Froussios6e060c42018-07-31 16:17:191458 "gnome-keyring or kwallet into the profile directory.";
1459
Tom Sepez92a2cd242018-03-13 19:23:091460const char kPdfIsolationName[] = "PDF Isolation";
1461const char kPdfIsolationDescription[] =
1462 "Render PDF files from different origins in different plugin processes.";
1463
Brett Wilsonecb80982017-07-12 20:34:511464const char kPinchScaleName[] = "Pinch scale";
1465const char kPinchScaleDescription[] =
1466 "Enables experimental support for scale using pinch.";
1467
Doug Arnett620ff542018-02-06 17:54:221468const char kPreviewsAllowedName[] = "Previews Allowed";
1469const char kPreviewsAllowedDescription[] =
1470 "Allows previews to be shown subject to specific preview types being "
1471 "enabled and the client experiencing specific triggering conditions. "
1472 "May be used as a kill-switch to turn off all potential preview types.";
1473
Brett Wilsonecb80982017-07-12 20:34:511474const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1475const char kPrintPdfAsImageDescription[] =
1476 "If enabled, an option to print PDF files as images will be available in "
1477 "print preview.";
1478
1479const char kPrintPreviewRegisterPromosName[] =
1480 "Print Preview Registration Promos";
1481const char kPrintPreviewRegisterPromosDescription[] =
1482 "Enable registering unregistered cloud printers from print preview.";
1483
1484const char kProtectSyncCredentialName[] = "Autofill sync credential";
1485const char kProtectSyncCredentialDescription[] =
1486 "How the password manager handles autofill for the sync credential.";
1487
1488const char kProtectSyncCredentialOnReauthName[] =
1489 "Autofill sync credential only for transactional reauth pages";
1490const char kProtectSyncCredentialOnReauthDescription[] =
1491 "How the password manager handles autofill for the sync credential only "
1492 "for transactional reauth pages.";
1493
Mohsen Izadi93faac12017-07-29 04:45:151494const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1495const char kPullToRefreshDescription[] =
1496 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011497const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151498
Troy Hildebrandt7228ad12018-02-23 21:18:241499const char kQueryInOmniboxName[] = "Query in Omnibox";
1500const char kQueryInOmniboxDescription[] =
1501 "Only display query terms in the omnibox when viewing a search results "
1502 "page.";
1503
Brett Wilsonecb80982017-07-12 20:34:511504const char kQuicName[] = "Experimental QUIC protocol";
1505const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1506
Emily Starke8878d52018-05-11 21:27:261507const char kRecurrentInterstitialName[] =
1508 "Show a message when the same SSL error recurs";
1509const char kRecurrentInterstitialDescription[] =
1510 "Enable a special message on the SSL certificate error page when the same "
1511 "SSL error occurs repeatedly.";
1512
Brett Wilsonecb80982017-07-12 20:34:511513const char kReducedReferrerGranularityName[] =
1514 "Reduce default 'referer' header granularity.";
1515const char kReducedReferrerGranularityDescription[] =
1516 "If a page hasn't set an explicit referrer policy, setting this flag will "
1517 "reduce the amount of information in the 'referer' header for cross-origin "
1518 "requests.";
1519
Lei Zhang0ca70ea2018-09-07 17:51:011520const char kRegionalLocalesAsDisplayUIName[] =
Claudio Magnie0a80bb2018-01-31 02:52:581521 "Allow regional locales as display UI";
Lei Zhang0ca70ea2018-09-07 17:51:011522const char kRegionalLocalesAsDisplayUIDescription[] =
Claudio Magnie0a80bb2018-01-31 02:52:581523 "This flag allows regional locales to be selected as display UI by the "
1524 "user in Language Settings. The actual locale of the system is derived "
1525 "from the user selection based on some simple fallback logic.";
1526
Christian Dullweber1af31e62018-02-22 11:49:481527const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141528 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481529const char kRemoveNavigationHistoryDescription[] =
1530 "Remove a navigation entry when the corresponding history entry has been "
1531 "deleted.";
1532
Christian Dullweber3cc579a22018-09-11 10:54:441533const char kRewriteLevelDBOnDeletionName[] =
1534 "Rewrite LevelDB instances after full deletions";
1535const char kRewriteLevelDBOnDeletionDescription[] =
1536 "Rewrite LevelDB instances to remove traces of deleted data from disk.";
1537
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351538const char kRendererSideResourceSchedulerName[] =
1539 "Renderer side ResourceScheduler";
1540const char kRendererSideResourceSchedulerDescription[] =
1541 "Migrate some ResourceScheduler functionalities to renderer";
1542
Brett Wilsonecb80982017-07-12 20:34:511543const char kRequestTabletSiteName[] =
1544 "Request tablet site option in the settings menu";
1545const char kRequestTabletSiteDescription[] =
1546 "Allows the user to request tablet site. Web content is often optimized "
1547 "for tablet devices. When this option is selected the user agent string is "
1548 "changed to indicate a tablet device. Web content optimized for tablets is "
1549 "received there after for the current tab.";
1550
1551const char kResetAppListInstallStateName[] =
1552 "Reset the App Launcher install state on every restart.";
1553const char kResetAppListInstallStateDescription[] =
1554 "Reset the App Launcher install state on every restart. While this flag is "
1555 "set, Chrome will forget the launcher has been installed each time it "
1556 "starts. This is used for testing the App Launcher install flow.";
1557
Kinuko Yasuda33955082018-06-19 10:14:591558const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511559const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591560 "Uses the resource load scheduler in blink to throttle resource load "
1561 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511562
Brett Wilsonecb80982017-07-12 20:34:511563const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1564const char kSafeSearchUrlReportingDescription[] =
1565 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1566
Alexei Filippov98772752018-01-27 08:26:521567const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1568const char kSamplingHeapProfilerDescription[] =
1569 "Enables native memory sampling profiler with specified rate in KiB. "
1570 "If sampling rate is not provided the default value of 128 KiB is used.";
1571
Brett Wilsonecb80982017-07-12 20:34:511572const char kSaveasMenuLabelExperimentName[] =
1573 "Switch 'Save as' menu labels to 'Download'";
1574const char kSaveasMenuLabelExperimentDescription[] =
1575 "Enables an experiment to switch menu labels that use 'Save as...' to "
1576 "'Download'.";
1577
1578const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1579const char kSavePageAsMhtmlDescription[] =
1580 "Enables saving pages as MHTML: a single text file containing HTML and all "
1581 "sub-resources.";
1582
Nate Chapin9638e7102017-09-20 22:11:011583const char kSavePreviousDocumentResourcesName[] =
1584 "Save Previous Document Resources";
1585const char kSavePreviousDocumentResourcesDescription[] =
1586 "Saves an old document's cached resources until the specified point in the "
1587 "next document's lifecycle.";
1588const char kSavePreviousDocumentResourcesNever[] =
1589 "Don't explicitly save resources";
1590const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1591 "Save resources until onDOMContentLoaded completes";
1592const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1593 "Save resources until onload completes";
1594
gogeraldd5061b592017-09-06 23:39:551595const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1596const char kServiceWorkerPaymentAppsDescription[] =
1597 "Enable Service Worker applications to integrate as payment apps";
1598
momohattfc352292018-08-29 05:12:361599const char kServiceWorkerImportedScriptUpdateCheckName[] =
1600 "Enable update check for service worker importScripts() resources";
1601const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1602 "Extend byte-for-byte update check for scripts that are imported by the "
1603 "service worker script via importScripts().";
1604
Lei Zhang0ca70ea2018-09-07 17:51:011605const char kServiceWorkerServicificationName[] = "Servicified service workers";
1606const char kServiceWorkerServicificationDescription[] =
Makoto Shimazu22078cc2018-02-21 03:01:441607 "Enable the servicified service workers. A servicified service worker can "
1608 "have direct connection from its clients, so that fetch events can be "
1609 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171610
Tsuyoshi Horobcb1c642017-11-24 16:32:141611const char kServiceWorkerScriptFullCodeCacheName[] =
1612 "Service worker script full code cache.";
1613const char kServiceWorkerScriptFullCodeCacheDescription[] =
1614 "Generate V8 full code cache of Service Worker scripts while installing.";
1615
Azeem Arshad3b1ef73122018-08-30 02:04:151616const char kServiceWorkerLongRunningMessageName[] =
1617 "Service worker long running message dispatch.";
1618const char kServiceWorkerLongRunningMessageDescription[] =
1619 "Enables long running message dispatch method for service workers. "
1620 "Messages sent with this method do not timeout, allowing the service "
1621 "worker to run indefinitely.";
1622
Brett Wilsonecb80982017-07-12 20:34:511623const char kSettingsWindowName[] = "Show settings in a window";
1624const char kSettingsWindowDescription[] =
1625 "Settings will be shown in a dedicated window instead of as a browser tab.";
1626
Manu Cornetd7ef7c52018-05-01 22:08:231627const char kShelfHoverPreviewsName[] =
1628 "Show previews of running apps when hovering over the shelf.";
1629const char kShelfHoverPreviewsDescription[] =
1630 "Shows previews of the open windows for a given running app when hovering "
1631 "over the shelf.";
1632
Manu Cornet683e14b2018-07-16 17:39:431633const char kShelfNewUiName[] = "Newest shelf redesign.";
1634const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1635
Naoki Fukino008a0022018-05-23 18:33:001636const char kShowAndroidFilesInFilesAppName[] =
1637 "Show Android files in Files app";
1638const char kShowAndroidFilesInFilesAppDescription[] =
1639 "Show Android files in Files app if Android is enabled on the device.";
1640
Luciano Pachecoa0e2753f2018-07-16 07:41:101641const char kFilesAppDisableMyFilesNavigationName[] =
1642 "Disable the My Files on the navigation in the Files app";
1643const char kFilesAppDisableMyFilesNavigationDescription[] =
1644 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511645 R"("My Files" root for Downloads, Linux and Play files)";
1646
Brett Wilsonecb80982017-07-12 20:34:511647const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1648const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381649 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1650 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511651
1652const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1653const char kShowAutofillTypePredictionsDescription[] =
1654 "Annotates web forms with Autofill field type predictions as placeholder "
1655 "text.";
1656
1657const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1658const char kShowOverdrawFeedbackDescription[] =
1659 "Visualize overdraw by color-coding elements based on if they have other "
1660 "elements drawn underneath.";
1661
Carlos IL89128732018-04-03 17:00:251662const char kSupervisedUserCommittedInterstitialsName[] =
1663 "Enable Supervised User Committed Interstitials";
1664const char kSupervisedUserCommittedInterstitialsDescription[] =
1665 "Use committed error pages instead of transient navigation entries for "
1666 "supervised user interstitials";
1667
yiyixbdfa9a0b2017-10-23 22:21:471668const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1669const char kEnableDrawOcclusionDescription[] =
1670 "Enable the system to use draw occlusion to skip draw quads when they are "
1671 "not shown on the screen.";
1672
Brett Wilsonecb80982017-07-12 20:34:511673const char kShowSavedCopyName[] = "Show Saved Copy Button";
1674const char kShowSavedCopyDescription[] =
1675 "When a page fails to load, if a stale copy of the page exists in the "
1676 "browser cache, a button will be presented to allow the user to load that "
1677 "stale copy. The primary enabling choice puts the button in the most "
1678 "salient position on the error page; the secondary enabling choice puts it "
1679 "secondary to the reload button.";
1680const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1681const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1682const char kDisableShowSavedCopy[] = "Disable";
1683
Brett Wilsonecb80982017-07-12 20:34:511684const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1685const char kSilentDebuggerExtensionApiDescription[] =
1686 "Do not show the infobar when an extension attaches to a page via "
1687 "chrome.debugger API. This is required to debug extension background "
1688 "pages.";
1689
Tsuyoshi Horo53895ba92018-03-14 04:06:481690const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1691const char kSignedHTTPExchangeDescription[] =
1692 "Enables Origin-Signed HTTP Exchanges support which is still in "
1693 "development. Warning: Enabling this may pose a security risk.";
1694
Brett Wilsonecb80982017-07-12 20:34:511695const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1696const char kSimpleCacheBackendDescription[] =
1697 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1698 "disk space allocation.";
1699
Christopher Thompson75ff845d2018-02-01 20:12:461700const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1701const char kSimplifyHttpsIndicatorDescription[] =
1702 "Change the UI treatment for HTTPS pages.";
1703
Brett Wilsonecb80982017-07-12 20:34:511704const char kSingleClickAutofillName[] = "Single-click autofill";
1705const char kSingleClickAutofillDescription[] =
1706 "Make autofill suggestions on initial mouse click on a form element.";
1707
Bret Sepulveda4f891da2018-07-16 19:10:301708const char kSingleTabMode[] = "Single-tab mode";
1709const char kSingleTabModeDescription[] =
1710 "Windows with a single tab receive a special, minimal visual treatment.";
1711
Nick Carter855bc492018-03-10 00:44:571712const char kStrictSiteIsolationName[] = "Strict site isolation";
1713const char kStrictSiteIsolationDescription[] =
Charlie Reisf44fe292018-08-31 18:38:471714 "Security mode that enables site isolation for all sites (SitePerProcess). "
1715 "In this mode, each renderer process will contain pages from at most one "
1716 "site, using out-of-process iframes when needed. NOTE: Site isolation is "
1717 "enabled by default on desktop platforms regardless of how this flag is "
1718 "set; see chrome://process-internals for whether it is currently enabled. "
1719 "Setting this flag to 'Enabled' turns on site isolation regardless of the "
1720 "default. Here, 'Disabled' is a legacy value that actually means "
1721 "'Default,' in which case site isolation may be already enabled based on "
1722 "platform, enterprise policy, or field trial. See also "
Charlie Reis30e39032018-09-04 18:58:181723 "#site-isolation-trial-opt-out for how to disable site isolation for "
Charlie Reisf44fe292018-08-31 18:38:471724 "testing.";
Nick Carter855bc492018-03-10 00:44:571725
1726const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1727const char kSiteIsolationTrialOptOutDescription[] =
Charlie Reisf44fe292018-08-31 18:38:471728 "Opts out of field trials and defaults that enable site isolation modes "
Nick Carter855bc492018-03-10 00:44:571729 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1730 "may be due to out-of-process iframes. Opt-out has no effect if site "
1731 "isolation is force-enabled via #enable-site-per-process or enterprise "
1732 "policy. Caution: this disables important mitigations for the Spectre CPU "
1733 "vulnerability affecting most computers.";
Lei Zhang0ca70ea2018-09-07 17:51:011734const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1735const char kSiteIsolationTrialOptOutChoiceOptOut[] =
Nick Carter855bc492018-03-10 00:44:571736 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511737
Pattideade7972018-04-27 02:59:401738const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511739const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401740 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511741
Brett Wilsonecb80982017-07-12 20:34:511742const char kSmoothScrollingName[] = "Smooth Scrolling";
1743const char kSmoothScrollingDescription[] =
1744 "Animate smoothly when scrolling page content.";
1745
1746const char kSoftwareRasterizerName[] = "3D software rasterizer";
1747const char kSoftwareRasterizerDescription[] =
1748 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1749
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201750const char kSoleIntegrationName[] = "Sole integration";
1751const char kSoleIntegrationDescription[] =
1752 "Enable Sole integration for browser customization. You must restart "
1753 "the browser twice for changes to take effect.";
1754
Tommy Steimel77704be2017-08-28 22:14:401755const char kSoundContentSettingName[] = "Sound content setting";
1756const char kSoundContentSettingDescription[] =
1757 "Enable site-wide muting in content settings and tab strip context menu.";
1758
Justin Donnelly4e448cb2017-07-07 21:32:131759const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1760 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131761const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1762 "If enabled, when the user enters text in the omnibox that looks like a "
1763 "a query, any service worker associated with the search engine the query "
1764 "will be sent to is started early.";
1765
Brett Wilsonecb80982017-07-12 20:34:511766const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1767const char kSpellingFeedbackFieldTrialDescription[] =
1768 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401769
Carlos ILe5fa0a12018-08-03 16:08:321770const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1771const char kSSLCommittedInterstitialsDescription[] =
1772 "Use committed error pages instead of transient navigation entries "
1773 "for SSL interstitial error pages (i.e. certificate errors).";
1774
Shubhie Panickerfaf082ed2018-01-03 04:49:151775const char kStopInBackgroundName[] = "Stop in background";
1776const char kStopInBackgroundDescription[] =
1777 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281778 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151779
Shubhie Panicker56c99a22018-03-21 00:22:281780const char kStopNonTimersInBackgroundName[] =
1781 "Stop non-timer task queues background";
1782const char kStopNonTimersInBackgroundDescription[] =
1783 "Stop non-timer task queues, in the background, "
1784 "after a grace period.";
1785
Brett Wilsonecb80982017-07-12 20:34:511786const char kSuggestionsWithSubStringMatchName[] =
1787 "Substring matching for Autofill suggestions";
1788const char kSuggestionsWithSubStringMatchDescription[] =
1789 "Match Autofill suggestions based on substrings (token prefixes) rather "
1790 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341791
Marc Treibf65fb002018-08-03 11:17:161792const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1793const char kSyncStandaloneTransportDescription[] =
1794 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1795 "this mode, the Sync machinery can start without user opt-in, but only a "
1796 "subset of data types are supported.";
1797
Marc Treib4bd95e72018-08-30 06:30:581798const char kSyncSupportSecondaryAccountName[] =
1799 "Support secondary accounts for Sync standalone transport";
1800const char kSyncSupportSecondaryAccountDescription[] =
1801 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1802 "a signed-in account that has not been chosen as Chrome's primary account. "
1803 "This only has an effect if sync-standalone-transport is also enabled.";
1804
Jan Krcal2ff23f7c2018-09-04 16:16:131805const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
1806const char kSyncUSSAutofillProfileDescription[] =
1807 "Enables the new implementation of autofill profile sync";
1808
Jan Krcale3641b92018-08-10 17:53:311809const char kSyncUSSAutofillWalletDataName[] =
1810 "Enable USS for autofill wallet data";
1811const char kSyncUSSAutofillWalletDataDescription[] =
1812 "Enables the new implementation of autofill walet data sync";
1813
Brett Wilsonecb80982017-07-12 20:34:511814const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1815const char kSyncSandboxDescription[] =
1816 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341817
Joe Downing8cbbc192018-05-14 17:37:071818const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1819const char kSystemKeyboardLockDescription[] =
1820 "Enables websites to use the keyboard.lock() API to intercept system "
1821 "keyboard shortcuts and have the events routed directly to the website "
1822 "when in fullscreen mode.";
1823
Christian Dullweberd0d96f02017-09-13 09:22:511824const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1825const char kTabsInCbdDescription[] =
1826 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1827
Becky Zhou99c22802017-10-19 05:09:271828const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1829const char kTabModalJsDialogDescription[] =
1830 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1831 " tab.";
1832
Brett Wilsonecb80982017-07-12 20:34:511833const char kTcpFastOpenName[] = "TCP Fast Open";
1834const char kTcpFastOpenDescription[] =
1835 "Enable the option to send extra authentication information in the initial "
1836 "SYN packet for a previously connected client, allowing faster data send "
1837 "start.";
vabr0215a8e2017-03-28 12:47:341838
Daniele Castagna0fead93e2018-01-10 20:40:291839const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1840const char kTintGlCompositedContentDescription[] =
1841 "Tint contents composited using GL with a shade of red to help debug and "
1842 "study overlay support.";
1843
Brett Wilsonecb80982017-07-12 20:34:511844const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1845const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581846 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401847 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431848 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341849 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541850 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511851const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531852const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461853const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581854const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401855const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431856const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
Tom Anderson083e6142018-09-25 01:12:061857const char kTopChromeMdMaterialRefreshDynamic[] = "Dynamic Refresh";
vabr0215a8e2017-03-28 12:47:341858
Brett Wilsonecb80982017-07-12 20:34:511859const char kThreadedScrollingName[] = "Threaded scrolling";
1860const char kThreadedScrollingDescription[] =
1861 "Threaded handling of scroll-related input events. Disabling this will "
1862 "force all such scroll events to be handled on the main thread. Note that "
1863 "this can dramatically hurt scrolling performance of most websites and is "
1864 "intended for testing purposes only.";
1865
Steven Valdez4584b2482017-07-14 01:11:571866const char kTLS13VariantName[] = "TLS 1.3";
1867const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1868const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111869const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041870const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdezf27cb7f2018-08-21 18:34:331871const char kTLS13VariantFinal[] = "Enabled (Final)";
Steven Valdez4584b2482017-07-14 01:11:571872
Dominick Ng8896b1cd2017-10-17 23:24:361873const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1874const char kTopSitesFromSiteEngagementDescription[] =
1875 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1876 "engagement.";
1877
Brett Wilsonecb80982017-07-12 20:34:511878const char kTouchAdjustmentName[] = "Touch adjustment";
1879const char kTouchAdjustmentDescription[] =
1880 "Refine the position of a touch gesture in order to compensate for touches "
1881 "having poor resolution compared to a mouse.";
1882
Alex Newcomerb3d3c972018-05-03 14:59:401883const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1884const char kTouchableAppContextMenuDescription[] =
1885 "Enable the touchable app context menu, which enlarges app context menus "
1886 "in the Launcher and Shelf to make room for new features.";
1887
Brett Wilsonecb80982017-07-12 20:34:511888const char kTouchDragDropName[] = "Touch initiated drag and drop";
1889const char kTouchDragDropDescription[] =
1890 "Touch drag and drop can be initiated through long press on a draggable "
1891 "element.";
1892
1893const char kTouchEventsName[] = "Touch Events API";
1894const char kTouchEventsDescription[] =
1895 "Force Touch Events API feature detection to always be enabled or "
1896 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291897 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511898
1899const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1900const char kTouchSelectionStrategyDescription[] =
1901 "Controls how text selection granularity changes when touch text selection "
1902 "handles are dragged. Non-default behavior is experimental.";
1903const char kTouchSelectionStrategyCharacter[] = "Character";
1904const char kTouchSelectionStrategyDirection[] = "Direction";
1905
1906const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1907const char kTraceUploadUrlDescription[] =
1908 "This is to be used in conjunction with the enable-navigation-tracing "
1909 "flag. Please select the label that best describes the recorded traces. "
1910 "This will choose the destination the traces are uploaded to. If you are "
1911 "not sure, select other. If left empty, no traces will be uploaded.";
1912const char kTraceUploadUrlChoiceOther[] = "Other";
1913const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1914const char kTraceUploadUrlChoiceQa[] = "QA";
1915const char kTraceUploadUrlChoiceTesting[] = "Testing";
1916
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561917const char kTranslateExplicitLanguageAskName[] =
1918 "Explicitly ask for language preferences";
1919const char kTranslateExplicitLanguageAskDescription[] =
1920 "Explicitly ask the user which languages they can read on Chrome startup, "
1921 "on the first run that doesn't already have a promo.";
1922
Anthony Vallee-Dubois265c5692018-06-01 15:57:141923const char kTranslateForceTriggerOnEnglishName[] =
1924 "Select which language model to use to trigger translate on English "
1925 "content";
1926const char kTranslateForceTriggerOnEnglishDescription[] =
1927 "Force the Translate Triggering on English pages experiment to be enabled "
1928 "with the selected language model active.";
1929
Philippe Hamel7fdaa452017-09-29 17:22:491930const char kTranslateRankerEnforcementName[] =
1931 "Enforce TranslateRanker decisions";
1932const char kTranslateRankerEnforcementDescription[] =
1933 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1934 "or not Translate UI should be triggered in a given context.";
1935
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161936const char kTranslateUIName[] = "Enable Translate";
1937const char kTranslateUIDescription[] =
1938 "Enable the Translate popup when visiting webpages in other languages.";
1939
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051940const char kTreatInsecureOriginAsSecureName[] =
1941 "Insecure origins treated as secure";
1942const char kTreatInsecureOriginAsSecureDescription[] =
1943 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1944 "supplied as a comma-separated list. For the definition of secure "
1945 "contexts, "
1946 "see https://w3c.github.io/webappsec-secure-contexts/";
1947
Brett Wilsonecb80982017-07-12 20:34:511948const char kTrySupportedChannelLayoutsName[] =
1949 "Causes audio output streams to check if channel layouts other than the "
1950 "default hardware layout are available.";
1951const char kTrySupportedChannelLayoutsDescription[] =
1952 "Causes audio output streams to check if channel layouts other than the "
1953 "default hardware layout are available. Turning this on will allow the OS "
1954 "to do stereo to surround expansion if supported. May expose third party "
1955 "driver bugs, use with caution.";
1956
David Roger6762a092018-01-31 15:55:071957const char kUnifiedConsentName[] = "Unified Consent";
1958const char kUnifiedConsentDescription[] =
1959 "Enables a unified management of user consent for privacy-related "
1960 "features. This includes new confirmation screens and improved settings "
1961 "pages.";
1962
Jérôme Lebelfe1b2e02018-08-03 12:26:201963const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1964const char kForceUnifiedConsentBumpDescription[] =
1965 "Force the unified consent bump UI to be shown on every start-up. This "
1966 "flag is for debug purpose, to test the UI.";
1967
Brett Wilsonecb80982017-07-12 20:34:511968const char kUiPartialSwapName[] = "Partial swap";
1969const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1970
Chris Pickel3a227ae62017-08-24 10:47:261971const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1972const char kUseDdljsonApiDescription[] =
1973 "Enables the new ddljson API to fetch Doodles for the NTP.";
1974
Becca Hughes59c05b42017-11-03 13:11:581975const char kUseModernMediaControlsName[] = "New Media Controls";
1976const char kUseModernMediaControlsDescription[] =
1977 "Enables the new style native media controls.";
1978
Wei Li790e7a8572018-03-23 01:31:551979const char kUsePdfCompositorServiceName[] =
1980 "Use PDF compositor service for printing";
1981const char kUsePdfCompositorServiceDescription[] =
1982 "When enabled, use PDF compositor service to composite and generate PDF "
1983 "files for printing. When site isolation is enabled, disabling this will "
1984 "not stop using PDF compositor service since the service is required for "
1985 "printing out-of-process iframes correctly.";
1986
Mustaq Ahmedc646c0a2017-10-20 20:08:301987const char kUserActivationV2Name[] = "User Activation v2";
1988const char kUserActivationV2Description[] =
1989 "Enable simple user activation for APIs that are otherwise controlled by "
1990 "user gesture tokens.";
1991
Brett Wilsonecb80982017-07-12 20:34:511992const char kUserConsentForExtensionScriptsName[] =
1993 "User consent for extension scripts";
1994const char kUserConsentForExtensionScriptsDescription[] =
1995 "Require user consent for an extension running a script on the page, if "
1996 "the extension requested permission to run on all urls.";
1997
1998const char kUseSuggestionsEvenIfFewFeatureName[] =
1999 "Disable minimum for server-side tile suggestions on NTP.";
2000const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2001 "Request server-side suggestions even if there are only very few of them "
2002 "and use them for tiles on the New Tab Page.";
2003
2004const char kV8CacheOptionsName[] = "V8 caching mode.";
2005const char kV8CacheOptionsDescription[] =
2006 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512007const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2008
Hitoshi Yoshida3e5db562017-09-11 02:31:082009const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2010const char kV8ContextSnapshotDescription[] =
2011 "Sets to use a snapshot to create V8 contexts in frame creation.";
2012
Michael Hablich896d52662017-10-23 15:59:572013const char kV8VmFutureName[] = "Future V8 VM features";
2014const char kV8VmFutureDescription[] =
2015 "This enables upcoming and experimental V8 VM features. "
2016 "This flag does not enable experimental JavaScript features.";
2017
Hannes Payer1130d5672018-06-05 07:37:312018const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2019const char kV8OrinocoDescription[] =
2020 "This enables the V8 Orinoco garbage collection features.";
2021
Brett Wilsonecb80982017-07-12 20:34:512022const char kVideoFullscreenOrientationLockName[] =
2023 "Lock screen orientation when playing a video fullscreen.";
2024const char kVideoFullscreenOrientationLockDescription[] =
2025 "Lock the screen orientation of the device to match video orientation when "
2026 "a video goes fullscreen. Only on phones.";
2027
2028const char kVideoRotateToFullscreenName[] =
2029 "Rotate-to-fullscreen gesture for videos.";
2030const char kVideoRotateToFullscreenDescription[] =
2031 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2032 "the video. Only on phones.";
2033
2034const char kWalletServiceUseSandboxName[] =
2035 "Use Google Payments sandbox servers";
2036const char kWalletServiceUseSandboxDescription[] =
2037 "For developers: use the sandbox service for Google Payments API calls.";
2038
Brett Wilsonecb80982017-07-12 20:34:512039const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2040const char kWebglDraftExtensionsDescription[] =
2041 "Enabling this option allows web applications to access the WebGL "
2042 "Extensions that are still in draft status.";
2043
2044const char kWebMidiName[] = "Web MIDI API";
2045const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2046
2047const char kWebPaymentsName[] = "Web Payments";
2048const char kWebPaymentsDescription[] =
2049 "Enable Web Payments API integration, a JavaScript API for merchants.";
2050
Mathieu Perreault51339b82017-07-20 17:06:052051const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2052const char kWebPaymentsModifiersDescription[] =
2053 "If the website provides modifiers in the payment request, show the custom "
2054 "total for each payment instrument, update the shopping cart when "
2055 "instruments are switched, and send modified payment method specific data "
2056 "to the payment app.";
2057
Brett Wilsonecb80982017-07-12 20:34:512058const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2059const char kWebrtcEchoCanceller3Description[] =
2060 "Experimental WebRTC echo canceller (AEC3).";
2061
Alex Loikob5fb1282018-08-14 10:04:402062const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2063const char kWebrtcHybridAgcDescription[] =
2064 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2065
Brett Wilsonecb80982017-07-12 20:34:512066const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2067const char kWebrtcHwDecodingDescription[] =
2068 "Support in WebRTC for decoding video streams using platform hardware.";
2069
2070const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2071const char kWebrtcHwEncodingDescription[] =
2072 "Support in WebRTC for encoding video streams using platform hardware.";
2073
2074const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2075const char kWebrtcHwH264EncodingDescription[] =
2076 "Support in WebRTC for encoding h264 video streams using platform "
2077 "hardware.";
2078
2079const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2080const char kWebrtcHwVP8EncodingDescription[] =
2081 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2082
Niels Möller090866a2018-02-13 10:55:032083const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2084 "WebRTC new encode cpu load estimator";
2085const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2086 "Enable new estimator for the encoder cpu load, for evaluation and "
2087 "testing. Intended to improve accuracy when screen casting.";
2088
Elad Alon85e0d0be2018-06-26 10:38:372089const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2090const char kWebRtcRemoteEventLogDescription[] =
2091 "Allow collecting WebRTC event logs and uploading them to Crash. "
2092 "Please note that, even if enabled, this will still require "
2093 "a policy to be set, for it to have an effect.";
2094
Brett Wilsonecb80982017-07-12 20:34:512095const char kWebrtcSrtpAesGcmName[] =
2096 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2097const char kWebrtcSrtpAesGcmDescription[] =
2098 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2099
Joachim Bauch4a41d7512017-08-23 14:24:232100const char kWebrtcSrtpEncryptedHeadersName[] =
2101 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2102const char kWebrtcSrtpEncryptedHeadersDescription[] =
2103 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2104 "for SRTP.";
2105
Brett Wilsonecb80982017-07-12 20:34:512106const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2107const char kWebrtcStunOriginDescription[] =
2108 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2109 "header.";
2110
Adam Riceed63fc02018-06-20 05:57:462111const char kWebSocketHandshakeReuseConnectionName[] =
2112 "Enable WebSocket connection reuse for authentication";
2113const char kWebSocketHandshakeReuseConnectionDescription[] =
2114 "Permits the WebSocket handshake to keep the connection open after an "
2115 "authentication failure. The connection may be used for further requests "
2116 "to send credentials. This is sometimes needed for Windows authentication.";
2117
Brett Wilsonecb80982017-07-12 20:34:512118const char kWebvrName[] = "WebVR";
2119const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012120 "Enables access to experimental Virtual Reality functionality via the "
2121 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2122 "Device API. Warning: Enabling this will also allow WebVR content on "
2123 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222124 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512125
Brandon Jonese9d9b2b2017-12-11 22:20:112126const char kWebXrName[] = "WebXR Device API";
2127const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012128 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2129 "and Augmented Reality (AR) devices.";
2130
2131const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2132const char kWebXrGamepadSupportDescription[] =
2133 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222134 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2135 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432136
2137const char kWebXrHitTestName[] = "WebXR Hit Test";
2138const char kWebXrHitTestDescription[] =
2139 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112140
Anna Maria57ecf7592018-01-12 03:10:402141const char kWebXrOrientationSensorDeviceName[] =
2142 "WebXR orientation sensor device";
2143const char kWebXrOrientationSensorDeviceDescription[] =
2144 "When no VR platform device is available, expose a non-presenting device "
2145 "based on the device's orientation sensors, if available.";
2146
Brett Wilsonecb80982017-07-12 20:34:512147const char kWifiCredentialSyncName[] = "WiFi credential sync";
2148const char kWifiCredentialSyncDescription[] =
2149 "Enables synchronizing WiFi network settings across devices. When enabled, "
2150 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2151 "credentials are synchronized subject to user preferences. (See also, "
2152 "chrome://settings/syncSetup.)";
2153
2154const char kZeroCopyName[] = "Zero-copy rasterizer";
2155const char kZeroCopyDescription[] =
2156 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342157
Brett Wilsonff596952017-07-14 01:06:552158// Android ---------------------------------------------------------------------
2159
2160#if defined(OS_ANDROID)
2161
2162const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2163const char kAiaFetchingDescription[] =
2164 "Enable intermediate certificate fetching when a server does not provide "
2165 "sufficient certificates to build a chain to a trusted root.";
2166
2167const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2168const char kAccessibilityTabSwitcherDescription[] =
2169 "Enable the accessibility tab switcher for Android.";
2170
2171const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2172const char kAndroidAutofillAccessibilityDescription[] =
2173 "Enable accessibility for autofill popup.";
2174
Khushalbb1963a2018-10-02 21:02:352175const char kAndroidSurfaceControl[] = "Use Android SurfaceControl";
2176const char kAndroidSurfaceControlDescription[] =
2177 "Use the SurfaceControl API for supporting overlays on Android";
2178
Anita Woodruffbfcd1e52018-07-16 12:00:512179const char kAppNotificationStatusMessagingName[] =
2180 "App notification status messaging";
2181const char kAppNotificationStatusMessagingDescription[] =
2182 "Enables messaging in site permissions UI informing user when "
2183 "notifications are disabled for the entire app.";
2184
Brett Wilsonff596952017-07-14 01:06:552185const char kAndroidPaymentAppsName[] = "Android payment apps";
2186const char kAndroidPaymentAppsDescription[] =
2187 "Enable third party Android apps to integrate as payment apps";
2188
Miriam Gershenson8cf1397222018-01-23 22:48:292189const char kAsyncDnsName[] = "Async DNS resolver";
2190const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2191
Dan Harrington01229f82018-09-12 21:01:212192const char kAutoFetchOnNetErrorPageName[] = "AutoFetchOnNetErrorPage";
2193const char kAutoFetchOnNetErrorPageDescription[] =
2194 "When enabled, and navigation fails with an offline error, schedule a "
2195 "fetch of the page when online again.";
2196
Brett Wilsonff596952017-07-14 01:06:552197const char kAutofillAccessoryViewName[] =
2198 "Autofill suggestions as keyboard accessory view";
2199const char kAutofillAccessoryViewDescription[] =
2200 "Shows Autofill suggestions on top of the keyboard rather than in a "
2201 "dropdown.";
2202
2203const char kBackgroundLoaderForDownloadsName[] =
2204 "Enables background downloading of pages.";
2205const char kBackgroundLoaderForDownloadsDescription[] =
2206 "Enables downloading pages in the background in case page is not yet "
2207 "loaded in current tab.";
2208
Tibor Goldschwendt11b3cf22018-07-04 15:32:442209const char kBackgroundTaskComponentUpdateName[] =
2210 "Background Task Component Updates";
2211const char kBackgroundTaskComponentUpdateDescription[] =
2212 "Schedule component updates with BackgroundTaskScheduler";
2213
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002214const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2215const char kCCTModuleDescription[] =
2216 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2217
Matthew Jones1abcb132018-07-09 17:59:462218const char kChromeDuetName[] = "Chrome Duet";
2219const char kChromeDuetDescription[] =
2220 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052221
Brett Wilsonff596952017-07-14 01:06:552222const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2223const char kChromeHomeSwipeLogicDescription[] =
2224 "Various swipe logic options for Chrome Home for sheet expansion.";
2225const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152226const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552227
Donn Denman3e78c8d2018-06-28 22:51:422228const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2229const char kChromeModernFullRollDescription[] =
2230 "Enable modern full-roll animation for Chrome.";
2231
Megan Jablonskic61eb1b82017-10-02 18:03:062232const char kChromeMemexName[] = "Chrome Memex";
2233const char kChromeMemexDescription[] =
2234 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2235 "Googlers.";
2236
Sarath Singapati83aef1c2017-11-16 15:54:522237const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2238const char kClearOldBrowsingDataDescription[] =
2239 "Enables clearing of browsing data which is older than a given time "
2240 "period.";
2241
Brett Wilsonff596952017-07-14 01:06:552242const char kContentSuggestionsCategoryOrderName[] =
2243 "Default content suggestions category order (e.g. on NTP)";
2244const char kContentSuggestionsCategoryOrderDescription[] =
2245 "Set default order of content suggestion categories (e.g. on the NTP).";
2246
2247const char kContentSuggestionsCategoryRankerName[] =
2248 "Content suggestions category ranker (e.g. on NTP)";
2249const char kContentSuggestionsCategoryRankerDescription[] =
2250 "Set category ranker to order categories of content suggestions (e.g. on "
2251 "the NTP).";
2252
Vitalii Iarkof52ff802017-09-14 12:34:242253const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2254const char kContentSuggestionsDebugLogDescription[] =
2255 "Enable content suggestions debug log accessible through "
2256 "snippets-internals.";
2257
Donn Denman8e58ead2017-11-04 01:44:012258const char kContextualSearchMlTapSuppressionName[] =
2259 "Contextual Search ML tap suppression";
2260const char kContextualSearchMlTapSuppressionDescription[] =
2261 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022262 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2263 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552264
2265const char kContextualSearchName[] = "Contextual Search";
2266const char kContextualSearchDescription[] =
2267 "Whether or not Contextual Search is enabled.";
2268
Donn Denman59729812018-01-09 01:27:022269const char kContextualSearchRankerQueryName[] =
2270 "Contextual Search Ranker prediction";
2271const char kContextualSearchRankerQueryDescription[] =
2272 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2273
2274const char kContextualSearchSecondTapName[] =
2275 "Contextual Search second tap triggering";
2276const char kContextualSearchSecondTapDescription[] =
2277 "Enables triggering on a second tap gesture even when Ranker would "
2278 "normally suppress that tap.";
2279
Donn Denmane9b5b7fb2018-07-24 22:19:492280const char kContextualSearchUnityIntegrationName[] =
2281 "Contextual Search integration with Unified Consent";
2282const char kContextualSearchUnityIntegrationDescription[] =
2283 "Enables integration of Tap to Search with Unified Consent.";
2284
Cathy Li2fb32bf82018-06-06 18:55:402285const char kExploreSitesName[] = "Explore websites";
2286const char kExploreSitesDescription[] =
2287 "Enables portal from new tab page to explore websites.";
2288
Dmitry Skiba9c3efa72017-07-20 22:01:142289const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2290const char kDontPrefetchLibrariesDescription[] =
2291 "Don't prefetch libraries after loading.";
2292
Joy Ming5fd29ca62017-10-02 22:51:222293const char kDownloadsForegroundName[] = "Enable downloads foreground";
2294const char kDownloadsForegroundDescription[] =
2295 "Enable downloads as a foreground service for all versions of Android.";
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 Tirelo315e65922018-09-05 03:35:492317const char kEnableAutofillRefreshStyleName[] =
2318 "Enable Autofill refresh style (Android)";
2319const char kEnableAutofillRefreshStyleDescription[] =
2320 "Enable modernized style for Autofill on Android";
2321
Vitalii Iarkof4ed32d2017-09-26 13:15:532322const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552323const char kEnableAndroidSpellcheckerDescription[] =
2324 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552325
Lei Tianbd5a3bf2018-02-28 19:01:162326const char kEnableCommandLineOnNonRootedName[] =
2327 "Enable command line on non-rooted devices";
2328const char kEnableCommandLineOnNoRootedDescription[] =
2329 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2330
Vitalii Iarkof4ed32d2017-09-26 13:15:532331const char kEnableContentSuggestionsNewFaviconServerName[] =
2332 "Get favicons for content suggestions from a new server.";
2333const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2334 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2335 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552336
Vitalii Iarkof4ed32d2017-09-26 13:15:532337const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2338 "Use content suggestions thumbnail dominant color.";
2339const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2340 "Use content suggestions thumbnail dominant color as a placeholder before "
2341 "the real thumbnail is fetched (requires Chrome Home).";
2342
Brett Wilsonff596952017-07-14 01:06:552343const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2344const char kEnableCustomContextMenuDescription[] =
2345 "Enables a new context menu when a link, image, or video is pressed within "
2346 "Chrome.";
2347
2348const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2349const char kEnableCustomFeedbackUiDescription[] =
2350 "Enables a custom feedback UI when submitting feedback through Google "
2351 "Feedback. Works with Google Play Services v10.2+";
2352
2353const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472354 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552355const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472356 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552357
Becca Hughes6d73bac542018-06-18 20:38:502358const char kEnableMediaControlsExpandGestureName[] =
2359 "Enable Media Controls Expand Gesture";
2360const char kEnableMediaControlsExpandGestureDescription[] =
2361 "Enables a gesture to be used on the media controls to extend the video "
2362 "into the Display Cutout area.";
2363
Brett Wilsonff596952017-07-14 01:06:552364const char kEnableOmniboxClipboardProviderName[] =
2365 "Omnibox clipboard URL suggestions";
2366const char kEnableOmniboxClipboardProviderDescription[] =
2367 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2368 "focus in the omnibox.";
2369
Brett Wilsonff596952017-07-14 01:06:552370const char kEnableNtpAssetDownloadSuggestionsName[] =
2371 "Show asset downloads on the New Tab page";
2372const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2373 "If enabled, the list of content suggestions on the New Tab page will "
2374 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2375 "later use.";
2376
2377const char kEnableNtpBookmarkSuggestionsName[] =
2378 "Show recently visited bookmarks on the New Tab page";
2379const char kEnableNtpBookmarkSuggestionsDescription[] =
2380 "If enabled, the list of content suggestions on the New Tab page will "
2381 "contain recently visited bookmarks.";
2382
2383const char kEnableNtpForeignSessionsSuggestionsName[] =
2384 "Show recent foreign tabs on the New Tab page";
2385const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2386 "If enabled, the list of content suggestions on the New Tab page will "
2387 "contain recent foreign tabs.";
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
Raymes Khoury582b43132017-12-12 23:54:302439const char kGrantNotificationsToDSEName[] =
2440 "Grant notifications to the Default Search Engine";
2441const char kGrantNotificationsToDSENameDescription[] =
2442 "Automatically grant the notifications permission to the Default Search "
2443 "Engine";
2444
Daniel Parke74fcf862018-03-27 18:05:452445const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512446const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452447
Yafei Duanbb7663f32018-07-17 01:33:152448const char kHomepageTileName[] =
2449 "Enable Homepage tile shown in Suggested Tiles";
2450const char kHomepageTileDescription[] =
2451 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2452 "used for homepage. It will not have an effect when NTPButton is disabled.";
2453
Jian Li4b252642018-07-23 19:49:072454const char kIncognitoStringsName[] = "Alternate incognito strings";
2455const char kIncognitoStringsDescription[] =
2456 "Show alternate incognito strings if enabled.";
2457
Theresa920e0ed2018-03-07 18:12:442458const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152459 "Use the interest feed to render content suggestions. Currently "
2460 "content "
Theresa920e0ed2018-03-07 18:12:442461 "suggestions are shown on the New Tab Page.";
2462const char kInterestFeedContentSuggestionsName[] =
2463 "Interest Feed Content Suggestions";
2464
Brett Wilsonff596952017-07-14 01:06:552465const char kKeepPrefetchedContentSuggestionsName[] =
2466 "Keep prefetched content suggestions";
2467const char kKeepPrefetchedContentSuggestionsDescription[] =
2468 "If enabled, some of prefetched content suggestions are not replaced by "
2469 "the new fetched suggestions.";
2470
Leo Zhang051b75482017-12-20 03:28:302471const char kLanguagesPreferenceName[] = "Language Settings";
2472const char kLanguagesPreferenceDescription[] =
2473 "Enable this option for Language Settings feature on Android.";
2474
Charlie Ma8c2846e2018-07-27 18:44:392475const char kLongPressBackForHistoryName[] =
2476 "Long Press Back Button for History";
2477const char kLongPressBackForHistoryDescription[] =
2478 "Long press system back button to show navigation history if enabled";
2479
Brett Wilsonff596952017-07-14 01:06:552480const char kLsdPermissionPromptName[] =
2481 "Location Settings Dialog Permission Prompt";
2482const char kLsdPermissionPromptDescription[] =
2483 "Whether to use the Google Play Services Location Settings Dialog "
2484 "permission dialog.";
2485
Amirhossein Simjour97b4154f2018-02-20 03:49:592486const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2487const char kModalPermissionDialogViewDescription[] =
2488 "Enable this option to use ModalDialogManager for permission Dialogs.";
2489
Brett Wilsonff596952017-07-14 01:06:552490const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2491const char kMediaScreenCaptureDescription[] =
2492 "Enable this option for experimental ScreenCapture feature on Android.";
2493
2494const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2495const char kModalPermissionPromptsDescription[] =
2496 "Whether to use permission dialogs in place of permission infobars.";
2497
Finnur Thorarinssonc1488fc62018-07-09 19:21:572498const char kNewContactsPickerName[] = "Enable new contacts picker";
2499const char kNewContactsPickerDescription[] =
2500 "Activates the new picker for selecting contacts.";
2501
Dan Harrington541db9e2018-07-30 18:36:302502const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2503const char kNewNetErrorPageUIDescription[] =
2504 "Selects which new UI experience to show on the net-error (Dino) page";
2505
Brett Wilsonff596952017-07-14 01:06:552506const char kNewPhotoPickerName[] = "Enable new Photopicker";
2507const char kNewPhotoPickerDescription[] =
2508 "Activates the new picker for selecting photos.";
2509
2510const char kNoCreditCardAbort[] = "No Credit Card Abort";
2511const char kNoCreditCardAbortDescription[] =
2512 "Whether or not the No Credit Card Abort is enabled.";
2513
Daniel Park990d0992018-05-18 22:12:512514const char kNtpButtonName[] = "Enable NTP Button";
2515const char kNtpButtonDescription[] =
2516 "Displays a New Tab Page button in the toolbar if enabled.";
2517
Brett Wilsonff596952017-07-14 01:06:552518const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2519const char kOfflineBookmarksDescription[] =
2520 "Enable saving bookmarked pages for offline viewing.";
2521
Jian Liade82832018-09-06 22:31:412522const char kOfflineIndicatorAlwaysHttpProbeName[] = "Always http probe";
2523const char kOfflineIndicatorAlwaysHttpProbeDescription[] =
2524 "Always do http probe to detect network connectivity for offline indicator "
2525 "as opposed to just taking the connection state from the system."
2526 "Used for testing.";
2527
2528const char kOfflineIndicatorChoiceName[] = "Offline indicator choices";
2529const char kOfflineIndicatorChoiceDescription[] =
2530 "Show an offline indicator while offline.";
Jian Li1413ebf2018-06-14 20:46:322531
Brett Wilsonff596952017-07-14 01:06:552532const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2533const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2534
2535const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2536const char kOfflinePagesCtV2Description[] =
2537 "V2 features include attributing pages to the app that initiated the "
2538 "custom tabs, and being able to query for pages by page attribution.";
2539
Cathy Li7311d792018-04-05 00:34:162540const char kOfflinePagesCTSuppressNotificationsName[] =
2541 "Disable download complete notification for whitelisted CCT apps.";
2542const char kOfflinePagesCTSuppressNotificationsDescription[] =
2543 "Disable download complete notification for page downloads originating "
2544 "from a CCT app whitelisted to show their own download complete "
2545 "notification.";
2546
Candice Sy74fa7a352018-03-30 23:46:492547const char kOfflinePagesDescriptiveFailStatusName[] =
2548 "Enables descriptive failed download status text.";
2549const char kOfflinePagesDescriptiveFailStatusDescription[] =
2550 "Enables failed download status text in notifications and Downloads Home "
2551 "to state the reason the request failed if the failure is actionable.";
2552
2553const char kOfflinePagesDescriptivePendingStatusName[] =
2554 "Enables descriptive pending download status text.";
2555const char kOfflinePagesDescriptivePendingStatusDescription[] =
2556 "Enables pending download status text in notifications and Downloads Home "
2557 "to state the reason the request is pending.";
2558
2559const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2560 "Enables offline pages in the downloads home to be opened in CCT.";
2561const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2562 "When enabled offline pages launched from the Downloads Home will be "
2563 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2564
Carlos Knippschild09272ecd2017-12-09 03:29:362565const char kOfflinePagesLimitlessPrefetchingName[] =
2566 "Removes resource usage limits for the prefetching of offline pages.";
2567const char kOfflinePagesLimitlessPrefetchingDescription[] =
2568 "Allows the prefetching of suggested offline pages to ignore resource "
2569 "usage limits. This allows it to completely ignore data usage limitations "
2570 "and allows downloads to happen with any kind of connection.";
2571
Brett Wilsonff596952017-07-14 01:06:552572const char kOfflinePagesLoadSignalCollectingName[] =
2573 "Enables collecting load timing data for offline page snapshots.";
2574const char kOfflinePagesLoadSignalCollectingDescription[] =
2575 "Enables loading completeness data collection while writing an offline "
2576 "page. This data is collected in the snapshotted offline page to allow "
2577 "data analysis to improve deciding when to make the offline snapshot.";
2578
2579const char kOfflinePagesPrefetchingName[] =
2580 "Enables suggested offline pages to be prefetched.";
2581const char kOfflinePagesPrefetchingDescription[] =
2582 "Enables suggested offline pages to be prefetched, so useful content is "
2583 "available while offline.";
2584
Pete Williamson7845dff2017-09-20 11:06:192585const char kOfflinePagesResourceBasedSnapshotName[] =
2586 "Enables offline page snapshots to be based on percentage of page loaded.";
2587const char kOfflinePagesResourceBasedSnapshotDescription[] =
2588 "Enables offline page snapshots to use a resource percentage based "
2589 "approach for determining when the page is loaded as opposed to a time "
2590 "based approach";
2591
Collin Baker17f92a52017-07-19 21:41:252592const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2593const char kOfflinePagesRenovationsDescription[] =
2594 "Enables offline page renovations which correct issues with dynamic "
2595 "content that occur when offlining pages that use JavaScript.";
2596
Brett Wilsonff596952017-07-14 01:06:552597const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2598const char kOfflinePagesSharingDescription[] =
2599 "Enables the saved offline pages to be shared via other applications.";
2600
Yafei Duan36b4b5b2018-08-07 00:40:032601const char kOfflinePagesLivePageSharingName[] =
2602 "Enables live page sharing of offline pages";
2603const char kOfflinePagesLivePageSharingDescription[] =
2604 "Enables to share current loaded page as offline page by saving as MHTML "
2605 "first.";
2606
Cathy Lie0d88762018-04-12 08:03:012607const char kOfflinePagesShowAlternateDinoPageName[] =
2608 "Enable alternate dino page with more user capabilities.";
2609const char kOfflinePagesShowAlternateDinoPageDescription[] =
2610 "Enables the dino page to show more buttons and offer existing offline "
2611 "content.";
2612
Brett Wilsonff596952017-07-14 01:06:552613const char kOfflinePagesSvelteConcurrentLoadingName[] =
2614 "Enables concurrent background loading on svelte.";
2615const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2616 "Enables concurrent background loading (or downloading) of pages on "
2617 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2618 "happen when the svelte device is idle.";
2619
2620const char kOffliningRecentPagesName[] =
2621 "Enable offlining of recently visited pages";
2622const char kOffliningRecentPagesDescription[] =
2623 "Enable storing recently visited pages locally for offline use. Requires "
2624 "Offline Pages to be enabled.";
2625
Lei Zhang2eca9082017-10-17 20:42:502626const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2627const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552628 "Enable Pay with Google integration into Web Payments with API version "
2629 "'1'.";
2630
Matthew Jonesa88b95852017-11-08 23:13:502631const char kProgressBarThrottleName[] = "Android progress update throttling.";
2632const char kProgressBarThrottleDescription[] =
2633 "Limit the maximum progress update to make progress appear smoother.";
2634
Brett Wilsonff596952017-07-14 01:06:552635const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2636const char kPullToRefreshEffectDescription[] =
2637 "Page reloads triggered by vertically overscrolling content.";
2638
Piotr Swigon7c296ef2017-08-29 04:32:002639const char kPwaImprovedSplashScreenName[] =
2640 "Improved Splash Screen for standalone PWAs";
2641const char kPwaImprovedSplashScreenDescription[] =
2642 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2643 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492644const char kPwaPersistentNotificationName[] =
2645 "Persistent notification in standalone PWA";
2646const char kPwaPersistentNotificationDescription[] =
2647 "Enables a persistent Android notification for standalone PWAs";
2648
Brett Wilsonff596952017-07-14 01:06:552649const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2650const char kReaderModeHeuristicsDescription[] =
2651 "Determines what pages the Reader Mode infobar is shown on.";
2652const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2653const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2654const char kReaderModeHeuristicsAllArticles[] = "All articles";
2655const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2656const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2657
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182658const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2659const char kReaderModeInCCTDescription[] =
2660 "Open Reader Mode in Chrome Custom Tabs.";
2661
Brett Wilsonff596952017-07-14 01:06:552662const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2663const char kSetMarketUrlForTestingDescription[] =
2664 "When enabled, sets the market URL for use in testing the update menu "
2665 "item.";
2666
2667const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2668const char kSpannableInlineAutocompleteDescription[] =
2669 "A new type of inline autocomplete for the omnibox that works with "
2670 "keyboards that compose text.";
2671
Theresaeea05a12018-05-09 21:01:592672const char kSimplifiedNtpName[] = "Simplified NTP";
2673const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2674
2675const char kSiteExplorationUiName[] = "Site Exploration UI";
2676const char kSiteExplorationUiDescription[] =
2677 "Show site suggestions in the Exploration UI";
2678
Brett Wilsonff596952017-07-14 01:06:552679const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2680const char kUpdateMenuBadgeDescription[] =
2681 "When enabled, an update badge will be shown on the app menu button.";
2682
2683const char kUpdateMenuItemCustomSummaryDescription[] =
2684 "When this flag and the force show update menu item flag are enabled, a "
2685 "custom summary string will be displayed below the update menu item.";
2686const char kUpdateMenuItemCustomSummaryName[] =
2687 "Update menu item custom summary";
2688
2689const char kUpdateMenuItemName[] = "Force show update menu item";
2690const char kUpdateMenuItemDescription[] =
2691 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2692 R"*(menu.)*";
2693
Amirhossein Simjourd78bbcf2018-02-02 16:23:392694const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2695const char kVrBrowsingNativeAndroidUiDescription[] =
2696 "Enable Android UI elements in VR.";
2697
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462698const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2699const char kVrBrowsingTabsViewDescription[] =
2700 "Enable tab overview (tab switcher) in VR.";
2701
Marc Treib93af46a2017-08-23 13:30:002702const char kThirdPartyDoodlesName[] =
2703 "Enable Doodles for third-party search engines";
2704const char kThirdPartyDoodlesDescription[] =
2705 "Enables fetching and displaying Doodles on the NTP for third-party search "
2706 "engines.";
2707
Klaus Weidneraaf697f2018-01-18 20:07:362708const char kWebXrRenderPathName[] = "WebXR presentation render path";
2709const char kWebXrRenderPathDescription[] =
2710 "Render path to use for WebXR presentation (including WebVR)";
2711const char kWebXrRenderPathChoiceClientWaitDescription[] =
2712 "ClientWait (Baseline)";
2713const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2714 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072715const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2716 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362717
Brett Wilson7b44537e2017-08-18 01:38:282718// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552719
Brett Wilson7b44537e2017-08-18 01:38:282720#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482721
Brett Wilson7b44537e2017-08-18 01:38:282722const char kAccountConsistencyName[] =
2723 "Identity consistency between browser and cookie jar";
2724const char kAccountConsistencyDescription[] =
2725 "When enabled, the browser manages signing in and out of Google accounts.";
2726const char kAccountConsistencyChoiceMirror[] = "Mirror";
2727const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342728
Tommy Martino3fa3df52018-08-20 21:45:442729const char kAutofillDropdownLayoutName[] =
2730 "Autofill Dropdown Layout Experiment";
2731const char kAutofillDropdownLayoutDescription[] =
2732 "Alternate visual designs for the Autofill dropdown.";
2733
Fabio Tirelo3773dea2018-09-11 15:21:522734const char kAutofillPrimaryInfoStyleExperimentName[] =
2735 "Autofill experiment with primary info style";
2736const char kAutofillPrimaryInfoStyleExperimentDescription[] =
2737 "Allow experimentation with different typefaces for primary info on the "
2738 "Autofill dropdown (addresses and payment methods)";
2739
Chris Pickel3a227ae62017-08-24 10:47:262740const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2741const char kDoodlesOnLocalNtpDescription[] =
2742 "Show doodles on the local New Tab page if Google is the default search "
2743 "engine.";
2744
mlamouriff56c092017-05-11 15:31:392745const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392746const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342747 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392748const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392749const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392750const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342751 "Enabled (Flash lowers volume when interrupted by other sound, "
2752 "experimental)";
Becca Hughes87b17ae2018-10-04 00:35:422753const char kEnableAudioFocusEnabledNoEnforce[] =
2754 "Enabled (without enforcement of a single active media session)";
vabr0215a8e2017-03-28 12:47:342755
Sebastien Marchandd33f7dc2018-06-22 22:07:062756const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2757const char kInfiniteSessionRestoreDescription[] =
2758 "Reduces the number of tabs being loaded simultaneously during session "
2759 "restore, to improve responsiveness of the foreground tab. This requires "
2760 "#enable-page-almost-idle.";
2761
Brett Wilson7b44537e2017-08-18 01:38:282762const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2763const char kEnableNewAppMenuIconDescription[] =
2764 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342765
Sebastien Marchandd33f7dc2018-06-22 22:07:062766const char kEnableWebAuthenticationCtap2SupportName[] =
2767 "Enable Web Authentication API support for CTAP2 security keys";
2768const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472769 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062770
2771const char kEnableWebAuthenticationTestingAPIName[] =
2772 "Web Authentication Testing API";
2773const char kEnableWebAuthenticationTestingAPIDescription[] =
2774 "Enable Web Authentication Testing API support, which disconnects the API "
2775 "implementation from the real world, and allows configuring virtual "
2776 "authenticator devices for testing";
2777
Jeffrey Cohenf04130a42018-08-29 00:22:272778const char kHappinessTrackingSurveysForDesktopName[] =
2779 "Happiness Tracking Surveys";
2780const char kHappinessTrackingSurveysForDesktopDescription[] =
2781 "Enable showing Happiness Tracking Surveys to users on Desktop";
2782
Dave Schuyler598a4a42018-01-04 02:15:102783const char kOmniboxRichEntitySuggestionsName[] =
2784 "Omnibox rich entity suggestions";
2785const char kOmniboxRichEntitySuggestionsDescription[] =
2786 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212787 "more context and descriptive text about the entity. Has no effect unless "
2788 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2789 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102790
Travis Skarebcdb5ed32018-08-17 01:49:402791const char kOmniboxDriveSuggestionsName[] =
2792 "Omnibox Google Drive Document suggestions";
2793const char kOmniboxDriveSuggestionsDescriptions[] =
2794 "Display suggestions for Google Drive documents in the omnibox when Google "
2795 "is the default search engine.";
2796
Dave Schuyler616273d2018-04-19 03:12:522797const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2798const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212799 "Display answers using an enhanced layout with larger images. Has no "
2800 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2801 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522802
Orin Jaworski04c08b42018-07-11 02:39:562803const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2804const char kOmniboxReverseAnswersDescription[] =
2805 "Display answers with rows reversed (swapped); except definitions. Has no "
2806 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2807 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2808
Kevin Bailey898669972017-11-06 15:34:492809const char kOmniboxTabSwitchSuggestionsName[] =
2810 "Omnibox tab switch suggestions";
2811const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212812 "Enable suggestions for switching to open tabs within the Omnibox. "
2813 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2814 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492815
Orin Jaworskiae2df652018-09-26 01:11:062816const char kOmniboxPedalSuggestionsName[] = "Omnibox Pedal suggestions";
2817const char kOmniboxPedalSuggestionsDescription[] =
2818 "Enable omnibox Pedal suggestions using either a side button in suggestion "
2819 "or a dedicated suggestion item beneath the triggering line item. Omnibox "
2820 "Pedals accelerate actions within Chrome by detecting user intent and "
2821 "offering direct access to the end goal.";
2822
krbcc621412017-06-01 19:40:282823const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2824const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192825 "Enable receiving tail suggestions, a type of search suggestion based on "
2826 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342827
Sebastien Marchandd33f7dc2018-06-22 22:07:062828const char kPageAlmostIdleName[] = "Page Almost Idle";
2829const char kPageAlmostIdleDescription[] =
2830 "Make session restore use a definition of loading that waits for CPU and "
2831 "network quiescence.";
2832
2833const char kProactiveTabFreezeAndDiscardName[] =
2834 "Proactive Tab Freeze and Discard";
2835const char kProactiveTabFreezeAndDiscardDescription[] =
2836 "Enables proactive tab freezing and discarding. This requires "
2837 "#enable-page-almost-idle.";
2838
2839const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2840const char kSiteCharacteristicsDatabaseDescription[] =
2841 "Records usage of some features in a database while a tab is in background "
2842 "(title/favicon update, audio playback or usage of non-persistent "
2843 "notifications).";
2844
Brett Wilson7b44537e2017-08-18 01:38:282845const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2846const char kUseGoogleLocalNtpDescription[] =
2847 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322848
Brett Wilson7b44537e2017-08-18 01:38:282849#if defined(GOOGLE_CHROME_BUILD)
2850
2851const char kGoogleBrandedContextMenuName[] =
2852 "Google branding in the context menu";
2853const char kGoogleBrandedContextMenuDescription[] =
2854 "Shows a Google icon next to context menu items powered by Google "
2855 "services.";
2856
2857#endif // !defined(GOOGLE_CHROME_BUILD)
2858
2859#endif // !defined(OS_ANDROID)
2860
2861// Windows ---------------------------------------------------------------------
2862
2863#if defined(OS_WIN)
2864
2865const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2866const char kCloudPrintXpsDescription[] =
2867 "XPS enables advanced options for classic printers connected to the Cloud "
2868 "Print with Chrome. Printers must be re-connected after changing this "
2869 "flag.";
2870
2871const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2872const char kDisablePostscriptPrintingDescription[] =
2873 "Disables PostScript generation when printing to PostScript capable "
2874 "printers, and uses EMF generation in its place.";
2875
2876const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2877const char kEnableAppcontainerDescription[] =
2878 "Enables the use of an AppContainer on sandboxed processes to improve "
2879 "security.";
2880
Brett Wilson7b44537e2017-08-18 01:38:282881const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2882const char kEnableDesktopIosPromotionsDescription[] =
2883 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2884 "eligible.";
2885
James Forshawfd0ce342018-02-14 09:55:392886const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2887const char kEnableGpuAppcontainerDescription[] =
2888 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2889 "improve security.";
2890
Brett Wilson7b44537e2017-08-18 01:38:282891const char kGdiTextPrinting[] = "GDI Text Printing";
2892const char kGdiTextPrintingDescription[] =
2893 "Use GDI to print text as simply text";
2894
Henrik Grunell67e56ef2018-04-10 14:04:092895const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2896const char kIncreaseInputAudioBufferSizeDescription[] =
2897 "Increases the input audio endpoint buffer to 100 ms.";
2898
Brett Wilson7b44537e2017-08-18 01:38:282899const char kTraceExportEventsToEtwName[] =
2900 "Enable exporting of tracing events to ETW.";
2901const char kTraceExportEventsToEtwDesription[] =
2902 "If enabled, trace events will be exported to the Event Tracing for "
2903 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2904 "Xperf.";
2905
Olli Etuaho122321192018-09-07 10:15:292906const char kUseAngleName[] = "Choose ANGLE graphics backend";
2907const char kUseAngleDescription[] =
2908 "Choose the graphics backend for ANGLE. D3D11 is used on most Windows "
2909 "computers by default. Using the OpenGL driver as the graphics backend may "
2910 "result in higher performance in some graphics-heavy applications, "
2911 "particularly on NVIDIA GPUs. It can increase battery and memory usage of "
2912 "video playback.";
2913
2914const char kUseAngleDefault[] = "Default";
2915const char kUseAngleGL[] = "OpenGL";
2916const char kUseAngleD3D11[] = "D3D11";
2917const char kUseAngleD3D9[] = "D3D9";
2918
Brett Wilson7b44537e2017-08-18 01:38:282919const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2920const char kUseWinrtMidiApiDescription[] =
2921 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2922 "later).";
2923
2924const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2925const char kWindows10CustomTitlebarDescription[] =
2926 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2927 "deferring to Windows.";
2928
2929#endif // defined(OS_WIN)
2930
2931// Mac -------------------------------------------------------------------------
2932
2933#if defined(OS_MACOSX)
2934
Brett Wilson7b44537e2017-08-18 01:38:282935const char kFullscreenToolbarRevealName[] =
2936 "Enables the toolbar in fullscreen to reveal itself.";
2937const char kFullscreenToolbarRevealDescription[] =
2938 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2939 "has changed.";
2940
2941const char kContentFullscreenName[] = "Improved Content Fullscreen";
2942const char kContentFullscreenDescription[] =
2943 "Fullscreen content window detaches from main browser window and goes to "
2944 "a new space without moving or changing the original browser window.";
2945
Martin Kreichgauer1ca416d2018-07-11 00:43:192946const char kEnableWebAuthenticationTouchIdName[] =
2947 "Web Authentication API Touch ID support";
2948const char kEnableWebAuthenticationTouchIdDescription[] =
2949 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2950
Brett Wilson7b44537e2017-08-18 01:38:282951const char kHostedAppsInWindowsName[] =
2952 "Allow hosted apps to be opened in windows";
2953const char kHostedAppsInWindowsDescription[] =
2954 "Allows hosted apps to be opened in windows instead of being limited to "
2955 "tabs.";
2956
Christopher Cameron57dee5a42018-09-25 01:20:082957const char kCreateAppWindowsInAppShimProcessName[] =
2958 "Create native windows in the app process";
2959const char kCreateAppWindowsInAppShimProcessDescription[] =
2960 "Create native windows the app shim process, instead of of the browser "
2961 "process.";
2962
Lei Zhang2eca9082017-10-17 20:42:502963const char kMacRTLName[] = "Enable RTL";
2964const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282965
Lei Zhang2eca9082017-10-17 20:42:502966const char kMacTouchBarName[] = "Hardware Touch Bar";
2967const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282968
Takashi Sakamoto4f7c8b02018-10-05 06:19:042969const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2970const char kMacV2SandboxDescription[] =
2971 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2972 "entire life cycle.";
2973
Brett Wilson7b44537e2017-08-18 01:38:282974const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2975const char kMacViewsNativeAppWindowsDescription[] =
2976 "Controls whether to use Toolkit-Views based Chrome App windows.";
2977
2978const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2979const char kMacViewsTaskManagerDescription[] =
2980 "Controls whether to use the Toolkit-Views based Task Manager.";
2981
2982const char kTabDetachingInFullscreenName[] =
2983 "Allow tab detaching in fullscreen";
2984const char kTabDetachingInFullscreenDescription[] =
2985 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2986
2987const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2988const char kTabStripKeyboardFocusDescription[] =
2989 "Enable keyboard focus for the tabs in the tab strip.";
2990
Tessa Nijssen4db9799e2018-08-06 21:04:382991const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
2992const char kTextSuggestionsTouchBarDescription[] =
2993 "Enable text suggestions touch bar for textfields.";
2994
Brett Wilson7b44537e2017-08-18 01:38:282995#endif
2996
2997// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342998
2999#if defined(OS_CHROMEOS)
3000
Brett Wilson7b44537e2017-08-18 01:38:283001const char kAcceleratedMjpegDecodeName[] =
3002 "Hardware-accelerated mjpeg decode for captured frame";
3003const char kAcceleratedMjpegDecodeDescription[] =
3004 "Enable hardware-accelerated mjpeg decode for captured frame where "
3005 "available.";
vabr0215a8e2017-03-28 12:47:343006
Brett Wilson7b44537e2017-08-18 01:38:283007const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3008const char kAllowTouchpadThreeFingerClickDescription[] =
3009 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343010
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523011const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3012const char kArcAvailableForChildDescription[] =
3013 "Allow child accounts to start Android apps.";
3014
Brett Wilson7b44537e2017-08-18 01:38:283015const char kArcBootCompleted[] = "Load Android apps automatically";
3016const char kArcBootCompletedDescription[] =
3017 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343018
Luum Habtemariamdaa8fd22018-06-25 22:39:433019const char kArcCupsApiName[] = "ARC CUPS API";
3020const char kArcCupsApiDescription[] =
3021 "Enables support of libcups APIs from ARC";
3022
Yuichiro Hanada0b63f062018-07-12 02:18:333023const char kArcInputMethodName[] = "Enable ARC input methods.";
3024const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3025
Lev Rumyantsev7a8544312017-08-18 19:26:513026const char kArcNativeBridgeExperimentName[] =
3027 "Enable native bridge experiment for ARC";
3028const char kArcNativeBridgeExperimentDescription[] =
3029 "Enables experimental native bridge feature.";
3030
lgchengecd1c1a62018-01-09 02:59:463031const char kArcUsbHostName[] = "Enable ARC USB host integration";
3032const char kArcUsbHostDescription[] =
3033 "Allow Android apps to use USB host feature on ChromeOS devices.";
3034
Kevin Cernekeeb7f96a52017-10-25 17:40:183035const char kArcVpnName[] = "Enable ARC VPN integration";
3036const char kArcVpnDescription[] =
3037 "Allow Android VPN clients to tunnel Chrome traffic.";
3038
Qiang Xu045aff222018-05-21 23:21:013039const char kAshDisableLoginDimAndBlurName[] =
3040 "Disable dimming and blur on login screen.";
3041const char kAshDisableLoginDimAndBlurDescription[] =
3042 "Disable dimming and blur on login screen.";
3043
3044const char kAshDisableSmoothScreenRotationName[] =
3045 "Disable smooth rotation animations.";
3046const char kAshDisableSmoothScreenRotationDescription[] =
3047 "Disable smooth rotation animations.";
3048
3049const char kAshEnableDisplayMoveWindowAccelsName[] =
3050 "Enable shortcuts for moving window between displays.";
3051const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3052 "Enable shortcuts for moving window between displays.";
3053
3054const char kAshEnableKeyboardShortcutViewerName[] =
3055 "Enable keyboard shortcut viewer.";
3056const char kAshEnableKeyboardShortcutViewerDescription[] =
3057 "Enable keyboard shortcut viewer.";
3058
3059const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3060const char kAshEnableMirroredScreenDescription[] =
3061 "Enable the mirrored screen mode. This mode flips the screen image "
3062 "horizontally.";
3063
Qiang Xu045aff222018-05-21 23:21:013064const char kAshEnablePersistentWindowBoundsName[] =
3065 "Enable persistent window bounds in multi-displays scenario.";
3066const char kAshEnablePersistentWindowBoundsDescription[] =
3067 "Enable persistent window bounds in multi-displays scenario.";
3068
3069const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3070const char kAshEnableTrilinearFilteringDescription[] =
3071 "Enable trilinear filtering.";
3072
Brett Wilson7b44537e2017-08-18 01:38:283073const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3074const char kAshEnableUnifiedDesktopDescription[] =
3075 "Enable unified desktop mode which allows a window to span multiple "
3076 "displays.";
vabr0215a8e2017-03-28 12:47:343077
Mike Wassermanfcc47e42018-06-14 21:24:423078const char kAshKeyboardShortcutViewerAppName[] =
3079 "Keyboard Shortcut Viewer mojo app";
3080const char kAshKeyboardShortcutViewerAppDescription[] =
3081 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3082
Qiang Xu045aff222018-05-21 23:21:013083const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3084const char kAshShelfColorDescription[] =
3085 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3086 "--ash-shelf-color-scheme flag defines how that color is derived.";
3087
3088const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3089const char kAshShelfColorSchemeDescription[] =
3090 "Specify how the color is derived from the wallpaper. This flag is only "
3091 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3092const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3093const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3094const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3095const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3096const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3097const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3098
Sean Kau5e956192017-10-06 22:25:173099const char kBulkPrintersName[] = "Bulk Printers Policy";
3100const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3101
Brett Wilson7b44537e2017-08-18 01:38:283102const char kCaptivePortalBypassProxyName[] =
3103 "Bypass proxy for Captive Portal Authorization";
3104const char kCaptivePortalBypassProxyDescription[] =
3105 "If proxy is configured, it usually prevents from authorization on "
3106 "different captive portals. This enables opening captive portal "
3107 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343108
Yuki Awanob51d3252018-07-11 23:45:553109const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3110const char kChromeVoxArcSupportDescription[] =
3111 "Use ChromeVox screen reader features in ARC";
3112
Brett Wilson7b44537e2017-08-18 01:38:283113const char kCrOSComponentName[] = "Chrome OS Component";
3114const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083115 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343116
Xiaochu Liu51d03fd2017-09-08 23:51:023117const char kCrOSContainerName[] = "Chrome OS Container";
3118const char kCrOSContainerDescription[] =
3119 "Enable the use of Chrome OS Container utility.";
3120
Brett Wilson7b44537e2017-08-18 01:38:283121const char kCrosRegionsModeName[] = "Cros-regions load mode";
3122const char kCrosRegionsModeDescription[] =
3123 "This flag controls cros-regions load mode";
3124const char kCrosRegionsModeDefault[] = "Default";
3125const char kCrosRegionsModeOverride[] = "Override VPD values.";
3126const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343127
Joel Hockeyad5b9762018-09-01 12:06:083128const char kCrostiniFilesName[] = "Crostini Files";
3129const char kCrostiniFilesDescription[] =
3130 "Enable Crostini file sharing in Files app.";
3131
Jacob Dufault2becbc482017-08-25 00:36:353132const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3133const char kDisableLockScreenAppsDescription[] =
3134 "Disable new-note action handler apps on the lock screen. The user will "
3135 "not be able to launch the preferred note-taking action from the lock "
3136 "screen, provided that the app supports lock screen note taking.";
3137
Qiang Xu045aff222018-05-21 23:21:013138const char kDisableSystemTimezoneAutomaticDetectionName[] =
3139 "SystemTimezoneAutomaticDetection policy support";
3140const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3141 "Disable system timezone automatic detection device policy.";
3142
Sammie Quonef6b4882017-09-14 16:50:053143const char kDisableTabletAutohideTitlebarsName[] =
3144 "Disable autohide titlebars in tablet mode";
3145const char kDisableTabletAutohideTitlebarsDescription[] =
3146 "Disable tablet mode autohide titlebars functionality. The user will be "
3147 "able to see the titlebar in tablet mode.";
3148
Xiaoqian Dai24b33eb2018-04-10 21:01:573149const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3150const char kDisableTabletSplitViewDescription[] =
3151 "Disable split view for Chrome OS tablet mode.";
3152
Daniel Zhang01399072018-08-16 22:28:203153const char kEnableAppListSearchAutocompleteName[] =
3154 "App List Search Autocomplete";
3155const char kEnableAppListSearchAutocompleteDescription[] =
3156 "Allow App List search box to autocomplete queries for Google searches and "
3157 "apps.";
3158
Qiang Xu53d1a5832018-05-24 18:44:193159const char kEnableAppShortcutSearchName[] =
3160 "Enable app shortcut search in launcher";
3161const char kEnableAppShortcutSearchDescription[] =
3162 "Enables app shortcut search in launcher";
3163
Weidong Guo00d0b2b2018-06-07 00:39:303164const char kEnableAppsGridGapFeatureName[] =
3165 "Enable apps grid gap feature in launcher.";
3166const char kEnableAppsGridGapFeatureDescription[] =
3167 "Enables gaps at the end of each page and enables dragging an item to an "
3168 "empty page in launcher.";
3169
Becca Hughes34415e82018-10-05 18:47:373170extern const char kEnableArcUnifiedAudioFocusName[] =
3171 "Enable unified audio focus on ARC";
3172extern const char kEnableArcUnifiedAudioFocusDescription[] =
3173 "If audio focus is enabled in Chrome then this will delegate audio focus "
3174 "control in Android apps to Chrome.";
3175
Lei Zhang2eca9082017-10-17 20:42:503176const char kEnableBackgroundBlurName[] = "Enable background blur.";
3177const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423178 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393179
Lei Zhang0ca70ea2018-09-07 17:51:013180const char kEnableChromeOsAccountManagerName[] = "Enable Account Manager";
3181const char kEnableChromeOsAccountManagerDescription[] =
Kushagra Sinha8a181fc2018-08-20 17:15:493182 "Enables the Chrome OS Account Manager";
3183
Lei Zhang0ca70ea2018-09-07 17:51:013184const char kEnableContinueReadingName[] = "Enable continue reading";
3185const char kEnableContinueReadingDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013186 "Enable continue reading feature in Launcher, which allows users to "
3187 "seamlessly continue reading a web page when they switch devices from "
3188 "phones or tablets to Chromebooks.";
3189
Min Chenc2ec7282018-06-29 21:38:463190const char kEnableDragAppsInTabletModeName[] =
3191 "Enable dragging apps in tablet mode";
3192const char kEnableDragAppsInTabletModeDescription[] =
3193 "If enabled, swiping down from the top of the screen when an app is opened "
3194 "in tablet mode can drag the app.";
3195
Xiaoqian Dai82d99192018-05-25 18:51:353196const char kEnableDragTabsInTabletModeName[] =
3197 "Enable dragging tabs in tablet mode";
3198const char kEnableDragTabsInTabletModeDescription[] =
3199 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3200
Sam McNally201fbf94e2018-07-04 03:15:203201const char kEnableDriveFsName[] = "Enable DriveFS";
3202const char kEnableDriveFsDescription[] =
3203 "Enables use of the new DriveFS-based Drive sync client.";
3204
Brett Wilson7b44537e2017-08-18 01:38:283205const char kEnableEhvInputName[] =
3206 "Emoji, handwriting and voice input on opt-in IME menu";
3207const char kEnableEhvInputDescription[] =
3208 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343209
Brett Wilson7b44537e2017-08-18 01:38:283210const char kEnableEncryptionMigrationName[] =
3211 "Enable encryption migration of user data";
3212const char kEnableEncryptionMigrationDescription[] =
3213 "If enabled and the device supports ARC, the user will be asked to update "
3214 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343215
Blake O'Hare9e9317b22017-10-24 02:49:353216const char kEnableFloatingVirtualKeyboardName[] =
3217 "Enable floating virtual keyboard";
3218const char kEnableFloatingVirtualKeyboardDescription[] =
3219 "If enabled, the keyboard will use floating behavior by default.";
3220
Qiang Xu045aff222018-05-21 23:21:013221const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3222 "Enable full screen handwriting virtual keyboard";
3223const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3224 "If enabled, the handwriting virtual keyboard will allow user to write "
3225 "anywhere on the screen";
3226
3227const char kEnableHomeLauncherName[] = "Enable home launcher";
3228const char kEnableHomeLauncherDescription[] =
3229 "Enable home launcher in tablet mode.";
3230
Lei Zhang0ca70ea2018-09-07 17:51:013231const char kEnableHomeLauncherGesturesName[] = "Enable home launcher gestures";
3232const char kEnableHomeLauncherGesturesDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013233 "Enables using gestures to hide or show the home launcher.";
3234
Brett Wilson7b44537e2017-08-18 01:38:283235const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3236const char kEnableImeMenuDescription[] =
3237 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343238
Weidong Guo45836d1b2018-06-27 23:51:163239const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3240const char kEnableNewStyleLauncherDescription[] =
3241 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3242 "in app launcher.";
3243
Qiang Xu045aff222018-05-21 23:21:013244const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3245const char kEnableNewWallpaperPickerDescription[] =
3246 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3247
Sammie Quon248ccef2018-08-28 23:00:013248const char kEnableOobeRecommendAppsScreenName[] =
3249 "Enable OOBE Recommend Apps Screen";
3250const char kEnableOobeRecommendAppsScreenDescription[] =
3251 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3252 "from other devices";
3253
Qiang Xu045aff222018-05-21 23:21:013254const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3255const char kEnablePerUserTimezoneDescription[] =
3256 "Chrome OS system timezone preference is stored and handled for each user "
3257 "individually.";
3258
3259const char kEnableSettingsShortcutSearchName[] =
3260 "Enable Settings shortcut search";
3261const char kEnableSettingsShortcutSearchDescription[] =
3262 "Enable Settings shortcut search in launcher.";
3263
Darren Shen3e49c63d2018-03-28 04:45:503264const char kEnableStylusVirtualKeyboardName[] =
3265 "Enable stylus virtual keyboard";
3266const char kEnableStylusVirtualKeyboardDescription[] =
3267 "If enabled, tapping with a stylus will show the handwriting virtual "
3268 "keyboard.";
3269
Jordy Greenblatt2f23df22018-02-22 19:49:193270const char kEnableUnifiedMultiDeviceSettingsName[] =
3271 "Enable unified MultiDevice settings";
3272const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3273 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3274 "MultiDevice settings.";
3275
3276const char kEnableUnifiedMultiDeviceSetupName[] =
3277 "Enable unified MultiDevice setup";
3278const char kEnableUnifiedMultiDeviceSetupDescription[] =
3279 "Enable the device to setup all MultiDevice services in a single workflow.";
3280
Darren Shen11c770f312018-06-13 07:36:393281const char kEnableVirtualKeyboardMdUiName[] =
3282 "Enable Material Design virtual keyboard";
3283const char kEnableVirtualKeyboardMdUiDescription[] =
3284 "If enabled, loads the Material Design UI for the virtual keyboard.";
3285
Darren Shen0b4e5802018-07-10 03:12:263286const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3287const char kEnableVirtualKeyboardUkmDescription[] =
3288 "Enables UKM for virtual keyboard";
3289
Lei Zhang0ca70ea2018-09-07 17:51:013290const char kEnableZeroStateSuggestionsName[] = "Enable Zero State Suggetions";
3291const char kEnableZeroStateSuggestionsDescription[] =
Sammie Quon248ccef2018-08-28 23:00:013292 "Enable Zero State Suggestions feature in Launcher, which will show "
3293 "suggetions when launcher search box is active with an empty query";
3294
Brett Wilson7b44537e2017-08-18 01:38:283295const char kEolNotificationName[] = "Disable Device End of Life notification.";
3296const char kEolNotificationDescription[] =
3297 "Disable Notifcation when Device is End of Life.";
3298
3299const char kExperimentalAccessibilityFeaturesName[] =
3300 "Experimental accessibility features";
3301const char kExperimentalAccessibilityFeaturesDescription[] =
3302 "Enable additional accessibility features in the Settings page.";
3303
Brett Wilson7b44537e2017-08-18 01:38:283304const char kFileManagerTouchModeName[] = "Files App. touch mode";
3305const char kFileManagerTouchModeDescription[] =
3306 "Touchscreen-specific interactions of the Files app.";
3307
3308const char kFirstRunUiTransitionsName[] =
3309 "Animated transitions in the first-run tutorial";
3310const char kFirstRunUiTransitionsDescription[] =
3311 "Transitions during first-run tutorial are animated.";
3312
Brett Wilson7b44537e2017-08-18 01:38:283313const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3314const char kForceEnableStylusToolsDescription[] =
3315 "Forces display of the stylus tools menu in the shelf and the stylus "
3316 "section in settings, even if there is no attached stylus device.";
3317
3318const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3319const char kGestureEditingDescription[] =
3320 "Enable/Disable gesture editing option in the settings page for the "
3321 "virtual keyboard.";
3322
3323const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3324const char kGestureTypingDescription[] =
3325 "Enable/Disable gesture typing option in the settings page for the virtual "
3326 "keyboard.";
3327
3328const char kInputViewName[] = "Input views";
3329const char kInputViewDescription[] =
3330 "Enable IME extensions to supply custom views for user input such as "
3331 "virtual keyboards.";
3332
Megumi Hattori5a0d4182018-03-06 11:09:503333const char kLockScreenNotificationName[] = "Lock screen notification";
3334const char kLockScreenNotificationDescription[] =
3335 "Enable notifications on the lock screen.";
3336
Qiang Xu045aff222018-05-21 23:21:013337const char kMaterialDesignInkDropAnimationSpeedName[] =
3338 "Material design ink drop animation speed";
3339const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3340 "Sets the speed of the experimental visual feedback animations for "
3341 "material design.";
3342const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3343const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3344
Brett Wilson7b44537e2017-08-18 01:38:283345const char kMemoryPressureThresholdName[] =
3346 "Memory discard strategy for advanced pressure handling";
3347const char kMemoryPressureThresholdDescription[] =
3348 "Memory discarding strategy to use";
3349const char kConservativeThresholds[] =
3350 "Conservative memory pressure release strategy";
3351const char kAggressiveCacheDiscardThresholds[] =
3352 "Aggressive cache release strategy";
3353const char kAggressiveTabDiscardThresholds[] =
3354 "Aggressive tab release strategy";
3355const char kAggressiveThresholds[] =
3356 "Aggressive tab and cache release strategy";
3357
3358const char kMtpWriteSupportName[] = "MTP write support";
3359const char kMtpWriteSupportDescription[] =
3360 "MTP write support in File System API (and file manager). In-place editing "
3361 "operations are not supported.";
3362
Kyle Horimoto027590fb2018-02-13 22:19:483363const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3364const char kMultiDeviceApiDescription[] =
3365 "Enable Mojo-based API which provides synced device metadata and the "
3366 "ability to connect to other devices associated the logged-in Google "
3367 "account.";
3368
Bailey Berrodca8eeca02017-11-18 00:49:123369const char kNativeSmbName[] = "Native Smb Client";
3370const char kNativeSmbDescription[] =
3371 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303372
vabr0215a8e2017-03-28 12:47:343373const char kNetworkPortalNotificationName[] =
3374 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343375const char kNetworkPortalNotificationDescription[] =
3376 "If enabled, notification is displayed when device is connected to a "
3377 "network behind captive portal.";
3378
Brett Wilson7b44537e2017-08-18 01:38:283379const char kNewKoreanImeName[] = "New Korean IME";
3380const char kNewKoreanImeDescription[] =
3381 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343382
Anand K. Mistrydb5e0102018-10-04 04:24:003383const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
Brett Wilson7b44537e2017-08-18 01:38:283384const char kNewZipUnpackerDescription[] =
Anand K. Mistrydb5e0102018-10-04 04:24:003385 "Use the ZIP Archiver for mounting/unpacking ZIP files";
vabr0215a8e2017-03-28 12:47:343386
Qiang Xu045aff222018-05-21 23:21:013387const char kOfficeEditingComponentAppName[] =
3388 "Office Editing for Docs, Sheets & Slides";
3389const char kOfficeEditingComponentAppDescription[] =
3390 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3391
Brett Wilson7b44537e2017-08-18 01:38:283392const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3393const char kPhysicalKeyboardAutocorrectDescription[] =
3394 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3395 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343396
3397const char kPrinterProviderSearchAppName[] =
3398 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343399const char kPrinterProviderSearchAppDescription[] =
3400 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193401 "searches Chrome Web Store for extensions that support printing to a USB "
3402 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343403
Brett Wilson7b44537e2017-08-18 01:38:283404const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3405const char kQuickUnlockPinDescription[] =
3406 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3407 "device on the lock screen after you have signed into your device.";
3408const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3409const char kQuickUnlockPinSigninDescription[] =
3410 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3411 "device. After changing this flag PIN needs to be set up again.";
3412const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3413const char kQuickUnlockFingerprintDescription[] =
3414 "Enabling fingerprint quick unlock allows you to setup and use a "
3415 "fingerprint to unlock your Chromebook on the lock screen after you have "
3416 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343417
James Cook0ba192bf2017-12-01 20:53:113418const char kShowTapsName[] = "Show taps";
3419const char kShowTapsDescription[] =
3420 "Draws a circle at each touch point, which makes touch points more obvious "
3421 "when projecting or mirroring the display. Similar to the Android OS "
3422 "developer option.";
3423
3424const char kShowTouchHudName[] = "Show HUD for touch points";
3425const char kShowTouchHudDescription[] =
3426 "Shows a trail of colored dots for the last few touch points. Pressing "
3427 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3428 "debug hardware issues that generate spurious touch events.";
3429
James Cook28d7c482018-09-07 21:00:543430const char kSingleProcessMashName[] =
3431 "In-process window service (SingleProcessMash)";
3432const char kSingleProcessMashDescription[] =
3433 "Runs the system UI (ash) as a mojo service, but inside the browser "
3434 "process. The browser uses the mojo window service (ws) APIs.";
3435
Ahmed Fakhry58e6ef542018-09-04 18:05:383436const char kSlideTopChromeWithPageScrollsName[] =
3437 "Slide top-chrome with page scrolls";
3438const char kSlideTopChromeWithPageScrollsDescription[] =
3439 "If enabled, page scrolls in tablet mode will also scroll the top-chrome"
3440 " UI.";
3441
Jorge Gil5a8ccde2018-07-10 01:46:213442const char kSmartTextSelectionName[] = "Smart Text Selection";
3443const char kSmartTextSelectionDescription[] =
3444 "Shows quick actions for text "
3445 "selections in the context menu.";
3446
Chung-Sheng Wu468b0b32017-09-01 14:41:573447const char kSysInternalsName[] = "Enable Sys-Internals";
3448const char kSysInternalsDescription[] =
3449 "If enabled, user can monitor system information at "
3450 "chrome://sys-internals.";
3451
Brett Wilson7b44537e2017-08-18 01:38:283452const char kTetherName[] = "Instant Tethering";
3453const char kTetherDescription[] =
3454 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3455 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373456
Brett Wilson7b44537e2017-08-18 01:38:283457const char kTouchscreenCalibrationName[] =
3458 "Enable/disable touchscreen calibration option in material design settings";
3459const char kTouchscreenCalibrationDescription[] =
3460 "If enabled, the user can calibrate the touch screen displays in "
3461 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093462
Qiang Xu045aff222018-05-21 23:21:013463const char kUiDevToolsName[] = "Enable native UI inspection";
3464const char kUiDevToolsDescription[] =
3465 "Enables inspection of native UI elements. For local inspection use "
3466 "chrome://inspect#other";
3467
3468const char kUiShowCompositedLayerBordersName[] =
3469 "Show UI composited layer borders";
3470const char kUiShowCompositedLayerBordersDescription[] =
3471 "Show border around composited layers created by UI.";
3472const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3473const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3474const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3475const char kUiShowCompositedLayerBordersAll[] = "All";
3476
3477const char kUiSlowAnimationsName[] = "Slow UI animations";
3478const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3479
Mitsuru Oshima63d3f2a2017-08-23 00:12:113480// Force UI Mode
3481const char kUiModeName[] = "Force Ui Mode";
3482const char kUiModeDescription[] =
3483 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3484 R"*(despite its current orientation. "Tablet" means that the )*"
3485 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3486 R"*(means that the chromebook will act as if it were in clamshell )*"
3487 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3488 R"*(the two, based on its orientation.)*";
3489const char kUiModeTablet[] = "TouchView";
3490const char kUiModeClamshell[] = "Clamshell";
3491const char kUiModeAuto[] = "Auto (default)";
3492
Sonny Sasaka7fecfeda2018-07-11 23:47:553493const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3494const char kUnfilteredBluetoothDevicesDescription[] =
3495 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3496
Allen Webbcdc8e69d2018-09-12 20:36:003497const char kUsbguardName[] = "Block new USB devices at the lock screen.";
3498const char kUsbguardDescription[] =
3499 "Prevents newly connected USB devices from operating at the lock screen"
3500 " until Chrome OS is unlocked to protect against malicious USB devices."
3501 " Already connected USB devices will continue to function.";
3502
Micah Morton79a7b522018-09-27 15:15:303503const char kShillSandboxingName[] =
3504 "Run shill, the ChromeOS network manager, in a sandbox.";
3505const char kShillSandboxingDescription[] =
3506 "Causes shill to be run as user/group 'shill', instead of 'root'.";
3507
James Cooka1bcfa9a2018-01-30 00:18:403508const char kUseMashName[] = "Out-of-process system UI (mash)";
3509const char kUseMashDescription[] =
3510 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3511 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283512
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343513// TODO(mcasas): remove after https://crbug.com/771345.
3514const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3515const char kUseMonitorColorSpaceDescription[] =
3516 "Enables Chrome to use the color space information provided by the monitor"
3517 " instead of the default sRGB color space.";
3518
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233519const char kVaapiJpegImageDecodeAccelerationName[] =
3520 "VA-API JPEG decode acceleration for images";
3521const char kVaapiJpegImageDecodeAccelerationDescription[] =
3522 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3523 " captures) using the VA-API.";
3524
Brett Wilson7b44537e2017-08-18 01:38:283525const char kVideoPlayerChromecastSupportName[] =
3526 "Experimental Chromecast support for Video Player";
3527const char kVideoPlayerChromecastSupportDescription[] =
3528 "This option enables experimental Chromecast support for Video Player app "
3529 "on ChromeOS.";
3530
3531const char kVirtualKeyboardName[] = "Virtual Keyboard";
3532const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3533
3534const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3535const char kVirtualKeyboardOverscrollDescription[] =
3536 "Enables virtual keyboard overscroll support.";
3537
3538const char kVoiceInputName[] = "Voice input on virtual keyboard";
3539const char kVoiceInputDescription[] =
3540 "Enables voice input on virtual keyboard.";
3541
3542const char kWakeOnPacketsName[] = "Wake On Packets";
3543const char kWakeOnPacketsDescription[] =
3544 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203545
yhanadac5bff5b2017-05-18 06:37:093546#endif // defined(OS_CHROMEOS)
3547
Brett Wilson7b44537e2017-08-18 01:38:283548// Random platform combinations -----------------------------------------------
3549
3550#if defined(OS_WIN) || defined(OS_LINUX)
3551
3552const char kEnableInputImeApiName[] = "Enable Input IME API";
3553const char kEnableInputImeApiDescription[] =
3554 "Enable the use of chrome.input.ime API.";
3555
3556#endif // defined(OS_WIN) || defined(OS_LINUX)
3557
3558#if defined(OS_WIN) || defined(OS_MACOSX)
3559
3560const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3561const char kAutomaticTabDiscardingDescription[] =
3562 "If enabled, tabs get automatically discarded from memory when the system "
3563 "memory is low. Discarded tabs are still visible on the tab strip and get "
3564 "reloaded when clicked on. Info about discarded tabs can be found at "
3565 "chrome://discards.";
3566
3567#endif // defined(OS_WIN) || defined(OS_MACOSX)
3568
lanwei83f54452018-06-21 23:51:043569#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3570
3571const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3572const char kDirectManipulationStylusDescription[] =
3573 "If enabled, Chrome will scroll web pages on stylus drag.";
3574
3575#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3576
Justin Donnelly110e40c2018-06-01 21:48:433577const char kExperimentalUiName[] = "Use all upcoming UI features";
3578const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483579
Brett Wilson7b44537e2017-08-18 01:38:283580// Feature flags --------------------------------------------------------------
3581
3582#if BUILDFLAG(ENABLE_VR)
3583
David Dorwin5a496c32017-11-17 01:45:053584const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3585const char kWebVrVsyncAlignDescription[] =
3586 "Align WebVR application rendering with VSync for smoother animations.";
3587
Bill Orr103ed272018-02-14 21:23:053588#if BUILDFLAG(ENABLE_OCULUS_VR)
3589const char kOculusVRName[] = "Oculus hardware support";
3590const char kOculusVRDescription[] =
3591 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3592 "Windows 10 or later).";
3593#endif // ENABLE_OCULUS_VR
3594
Bill Orr49527562017-11-22 16:58:483595#if BUILDFLAG(ENABLE_OPENVR)
3596const char kOpenVRName[] = "OpenVR hardware support";
3597const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073598 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3599 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483600#endif // ENABLE_OPENVR
3601
Bill Orrecfb9fe2018-10-02 00:11:103602#if BUILDFLAG(ENABLE_ISOLATED_XR_SERVICE)
3603const char kXRSandboxName[] = "XR device sandboxing";
3604const char kXRSandboxDescription[] =
3605 "If enabled, Chrome will host VR APIs in a restricted process on desktop.";
3606#endif // ENABLE_ISOLATED_XR_SERVICE
3607
Brett Wilson7b44537e2017-08-18 01:38:283608#endif // ENABLE_VR
3609
Nico Weberaf3b00b2017-09-11 17:58:173610#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283611
3612const char kNaclDebugMaskName[] =
3613 "Restrict Native Client GDB-based debugging by pattern";
3614const char kNaclDebugMaskDescription[] =
3615 "Restricts Native Client application GDB-based debugging by URL of "
3616 "manifest file. Native Client GDB-based debugging must be enabled for this "
3617 "option to work.";
3618const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3619const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3620 "Debug everything except secure shell and the PNaCl translator.";
3621const char kNaclDebugMaskChoiceIncludeDebug[] =
3622 "Debug only if manifest URL ends with debug.nmf.";
3623
3624const char kNaclDebugName[] = "Native Client GDB-based debugging";
3625const char kNaclDebugDescription[] =
3626 "Enable GDB debug stub. This will stop a Native Client application on "
3627 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3628
3629const char kNaclName[] = "Native Client";
3630const char kNaclDescription[] =
3631 "Support Native Client for all web applications, even those that were not "
3632 "installed from the Chrome Web Store.";
3633
3634const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3635const char kPnaclSubzeroDescription[] =
3636 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3637
Nico Weberaf3b00b2017-09-11 17:58:173638#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283639
Brett Wilson7b44537e2017-08-18 01:38:283640const char kWebrtcH264WithOpenh264FfmpegName[] =
3641 "WebRTC H.264 software video encoder/decoder";
3642const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3643 "When enabled, an H.264 software video encoder/decoder pair is included. "
3644 "If a hardware encoder/decoder is also available it may be used instead of "
3645 "this encoder/decoder.";
3646
Henrik Boström386afc6d62018-10-08 07:47:153647const char kWebrtcUnifiedPlanByDefaultName[] =
3648 "WebRTC: Use Unified Plan SDP Semantics by default";
3649const char kWebrtcUnifiedPlanByDefaultDescription[] =
3650 "RTCPeerConnections generate and expect the standards compliant SDP format "
3651 "called \"Unified Plan\", unless \"Plan B\" is explicitly specified by "
3652 "passing {sdpSemantics:'plan-b'} to the RTCPeerConnection constructor. "
3653 "RTCRtpTransceiver support is also enabled in Unified Plan.";
3654
Brett Wilson7b44537e2017-08-18 01:38:283655#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3656
3657const char kAutofillCreditCardUploadName[] =
3658 "Enable offering upload of Autofilled credit cards";
3659const char kAutofillCreditCardUploadDescription[] =
3660 "Enables a new option to upload credit cards to Google Payments for sync "
3661 "to all Chrome devices.";
3662
3663#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3664
Becca Hughesdc96e842018-05-04 22:48:283665#if defined(OS_ANDROID)
3666
3667const char kDisplayCutoutAPIName[] =
3668 "Enable support for the Display Cutout API";
3669const char kDisplayCutoutAPIDescription[] =
3670 "Enables developers to support devices that have a display cutout.";
3671
3672#endif // defined(OS_ANDROID)
3673
Brett Wilson7b44537e2017-08-18 01:38:283674// ============================================================================
3675// Don't just add flags to the end, put them in the right section in
3676// alphabetical order just like the header file.
3677// ============================================================================
3678
vabr0215a8e2017-03-28 12:47:343679} // namespace flag_descriptions