blob: eca27cba5a694cb2440aa3f51428125622991863 [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
Brett Wilsonf27ff602017-07-07 22:28:4750const char kAppBannersName[] = "App Banners";
51const char kAppBannersDescription[] =
52 "Enable the display of Progressive Web App banners, which prompt a user to "
53 "add a web app to their shelf, or other platform-specific equivalent.";
54
yoshiki iguchi4a10c5f2017-11-29 20:16:5455const char kAshSidebarName[] = "Sidebar";
56const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
57
Ioana Pandelef9689a062018-06-22 15:35:5158const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
59const char kAutomaticPasswordGenerationDescription[] =
60 "Allow Chrome to offer to generate passwords when it detects account "
61 "creation pages.";
62
Michael Lippautzebbc5a82018-05-30 10:41:4263const char kEnableBlinkHeapIncrementalMarkingName[] =
64 "Blink Heap Incremental Marking";
65const char kEnableBlinkHeapIncrementalMarkingDescription[] =
66 "Enable incremental marking in Blink";
67
Tetsui Ohkubo2852b952018-02-23 04:12:0168const char kSystemTrayUnifiedName[] = "New system menu";
69const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5570 "Enable the experimental system menu.";
71
Khushalba202212017-07-12 19:53:4972const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
73const char kAsyncImageDecodingDescription[] =
74 "Enables asynchronous decoding of images from raster for web content";
75
Roger McFarlane2eceba982018-05-18 01:37:1176const char kAutofillCacheQueryResponsesName[] =
77 "Cache Autofill Query Responses";
78const char kAutofillCacheQueryResponsesDescription[] =
79 "When enabled, autofill will cache the responses it receives from the "
80 "crowd-sourced field type prediction server.";
81
sebsge35b762c2018-03-29 20:33:2782const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
83const char kAutofillDynamicFormsDescription[] =
84 "Allows autofill to fill dynamically changing forms";
85
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3986const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
87const char kAutofillPrefilledFieldsDescription[] =
88 "Allows autofill to fill fields previously filled by the website";
89
Parastoo Geranmayeh071d725c2018-06-26 17:35:2290const char kAutofillRationalizeRepeatedServerPredictionsName[] =
91 "Autofill Rationalization of Repeated Server Field Type Predictions";
92const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
93 "Allows autofill to rationalize repeated server field type predictions.";
94
Roger McFarlane1a37d7b2018-04-20 22:45:1995const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
96 "Autofill Enforce Min Required Fields For Heuristics";
97const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
98 "When enabled, autofill will generally require a form to have at least 3 "
99 "fields before allowing heuristic field-type prediction to occur.";
100
101const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
102 "Autofill Enforce Min Required Fields For Query";
103const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
104 "When enabled, autofill will generally require a form to have at least 3 "
105 "fields before querying the autofill server for field-type predictions.";
106
107const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
108 "Autofill Enforce Min Required Fields For Upload";
109const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
110 "When enabled, autofill will generally require a form to have at least 3 "
111 "fillable fields before uploading field-type votes for that form.";
112
Moe Ahmadid3ddfcb2018-04-20 19:51:08113const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
114 "Restrict formless form extraction";
115const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
116 "Restrict extraction of formless forms to checkout flows";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const char kAutoplayPolicyName[] = "Autoplay policy";
119const char kAutoplayPolicyDescription[] =
120 "Policy used when deciding if audio or video is allowed to autoplay.";
121
122const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
123 "User gesture is required for cross-origin iframes.";
124const char kAutoplayPolicyNoUserGestureRequired[] =
125 "No user gesture is required.";
126const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
127const char kAutoplayPolicyDocumentUserActivation[] =
128 "Document user activation is required.";
129
Johanne0cc6902017-11-16 00:23:50130extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
131extern const char kAv1DecoderDescription[] =
132 "Allow decoding of files with the AV1 video codec.";
133
Brett Wilsonf27ff602017-07-07 22:28:47134const char kBackgroundVideoTrackOptimizationName[] =
135 "Optimize background video playback.";
136const char kBackgroundVideoTrackOptimizationDescription[] =
137 "Disable video tracks when the video is played in the background to "
138 "optimize performance.";
139
140const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
141const char kBleAdvertisingInExtensionsDescription[] =
142 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
143 "with regular use of Bluetooth Low Energy features.";
144
Charles Harrisond629cc62017-10-05 01:39:54145const char kBlockTabUndersName[] = "Block tab-unders";
146const char kBlockTabUndersDescription[] =
147 "Blocks tab-unders in Chrome with some native UI to allow the user to "
148 "proceed.";
149
Brett Wilsonf27ff602017-07-07 22:28:47150const char kBrowserTaskSchedulerName[] = "Task Scheduler";
151const char kBrowserTaskSchedulerDescription[] =
152 "Enables redirection of some task posting APIs to the task scheduler.";
153
Carlos IL766fbc882018-02-16 02:34:52154const char kBundledConnectionHelpName[] = "Bundled Connection Help";
155const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37156 "Enables or disables redirection to local help content for users who get "
157 "an interstitial after clicking the 'Learn More' link on a previous "
158 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52159
Brett Wilsonf27ff602017-07-07 22:28:47160const char kBypassAppBannerEngagementChecksName[] =
161 "Bypass user engagement checks";
162const char kBypassAppBannerEngagementChecksDescription[] =
163 "Bypasses user engagement checks for displaying app banners, such as "
164 "requiring that users have visited the site before and that the banner "
165 "hasn't been shown recently. This allows developers to test that other "
166 "eligibility requirements for showing app banners, such as having a "
167 "manifest, are met.";
168
Mike Westd27b4a82018-07-13 09:53:38169const char kCommittedInterstitialsName[] = "Committed Interstitials";
170const char kCommittedInterstitialsDescription[] =
171 "Use committed error pages instead of transient navigation entries "
172 "for interstitial error pages (e.g. certificate errors).";
173
Miguel Casas454d9cf2018-06-28 16:25:00174const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
175const char kCanvas2DImageChromiumDescription[] =
176 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
177
Brett Wilsonf27ff602017-07-07 22:28:47178const char kCastStreamingHwEncodingName[] =
179 "Cast Streaming hardware video encoding";
180const char kCastStreamingHwEncodingDescription[] =
181 "This option enables support in Cast Streaming for encoding video streams "
182 "using platform hardware.";
183
Amber Won478561d2017-08-19 01:02:59184const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
185const char kClickToOpenPDFDescription[] =
186 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
187 "embedded PDFs.";
188
Gary Kacmarcikfb69b212017-11-14 03:41:08189const char kClipboardContentSettingName[] = "Clipboard content setting";
190const char kClipboardContentSettingDescription[] =
191 "Enables a site-wide permission in the UI which controls access to the "
192 "asynchronous clipboard web API";
193
Peter Kastingb78046182018-06-29 20:15:13194const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
195const char kCloseButtonsInactiveTabsDescription[] =
196 "Shows close buttons on inactive tabs in non-touch mode.";
197
Brett Wilsonf27ff602017-07-07 22:28:47198const char kCloudImportName[] = "Cloud Import";
199const char kCloudImportDescription[] = "Allows the cloud-import feature.";
200
rbpotter9990eb42018-07-12 05:34:59201const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
202const char kCloudPrinterHandlerDescription[] =
203 "Use the new cloud printer handler for communicating with the cloud "
204 "print server, instead of the cloud print interface in the Print "
205 "Preview WebUI.";
206
Christopher Cameronceb8727d2017-09-07 23:53:16207const char kForceColorProfileSRGB[] = "sRGB";
208const char kForceColorProfileP3[] = "Display P3 D65";
209const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
210const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
211
212const char kForceColorProfileName[] = "Force color profile";
213const char kForceColorProfileDescription[] =
214 "Forces Chrome to use a specific color profile instead of the color "
215 "of the window's current monitor, as specified by the operating system.";
216
Brett Wilsonf27ff602017-07-07 22:28:47217const char kCompositedLayerBordersName[] = "Composited render layer borders";
218const char kCompositedLayerBordersDescription[] =
219 "Renders a border around composited Render Layers to help debug and study "
220 "layer compositing.";
221
Theresaf39c1882018-03-21 18:18:07222const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07223 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07224const char kContextualSuggestionsBottomSheetDescription[] =
225 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47226
Theresac34db2d2018-06-28 00:03:11227const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
228const char kContextualSuggestionsButtonDescription[] =
229 "If enabled, shows a button to trigger contextual suggestions.";
230
Theresa818d3452018-05-22 00:08:07231const char kContextualSuggestionsSlimPeekUIName[] =
232 "Contextual Suggestions Slim Peek UI";
233const char kContextualSuggestionsSlimPeekUIDescription[] =
234 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
235
Theresa0f2947b92018-07-02 21:27:58236const char kContextualSuggestionsOptOutName[] =
237 "Contextual Suggestions Opt-out";
238const char kContextualSuggestionsOptOutDescription[] =
239 "If enabled, allows the user to opt out of contextual suggestions.";
240
Brett Wilsonf27ff602017-07-07 22:28:47241const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
242const char kCreditCardAssistDescription[] =
243 "Enable assisted credit card filling on certain sites.";
244
245const char kCrossProcessGuestViewIsolationName[] =
246 "Cross process frames for guests";
247const char kCrossProcessGuestViewIsolationDescription[] =
248 "Highly experimental where guests such as <webview> are implemented on "
249 "the out-of-process iframe infrastructure.";
250
Thanh Le659cb102017-12-20 22:00:19251const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
252const char kDataSaverServerPreviewsDescription[] =
253 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47254
255const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
256const char kDatasaverPromptDescription[] =
257 "Enables a prompt, which appears when a cellular network connection is "
258 "detected, to take the user to the Data Saver extension page on Chrome Web "
259 "Store.";
260const char kDatasaverPromptDemoMode[] = "Demo mode";
261
Wez54dc71b2018-04-17 00:42:34262#if DCHECK_IS_CONFIGURABLE
263const char kDcheckIsFatalName[] = "DCHECKs are fatal";
264const char kDcheckIsFatalDescription[] =
265 "By default Chrome will evaluate in this build, but only log failures, "
266 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
267#endif // DCHECK_IS_CONFIGURABLE
268
Brett Wilsonf27ff602017-07-07 22:28:47269const char kDebugPackedAppName[] = "Debugging for packed apps";
270const char kDebugPackedAppDescription[] =
271 "Enables debugging context menu options such as Inspect Element for packed "
272 "applications.";
273
274const char kDefaultTileHeightName[] = "Default tile height";
275const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
276const char kDefaultTileHeightShort[] = "128";
277const char kDefaultTileHeightTall[] = "256";
278const char kDefaultTileHeightGrande[] = "512";
279const char kDefaultTileHeightVenti[] = "1024";
280
281const char kDefaultTileWidthName[] = "Default tile width";
282const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
283const char kDefaultTileWidthShort[] = "128";
284const char kDefaultTileWidthTall[] = "256";
285const char kDefaultTileWidthGrande[] = "512";
286const char kDefaultTileWidthVenti[] = "1024";
287
288const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
289const char kDebugShortcutsDescription[] =
290 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
291
292const char kDeviceDiscoveryNotificationsName[] =
293 "Device Discovery Notifications";
294const char kDeviceDiscoveryNotificationsDescription[] =
295 "Device discovery notifications on local network.";
296
297const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
298const char kDevtoolsExperimentsDescription[] =
299 "Enables Developer Tools experiments. Use Settings panel in Developer "
300 "Tools to toggle individual experiments.";
301
302const char kDisableAudioForDesktopShareName[] =
303 "Disable Audio For Desktop Share";
304const char kDisableAudioForDesktopShareDescription[] =
305 "With this flag on, desktop share picker window will not let the user "
306 "choose whether to share audio.";
307
Chris Palmer917bc052018-03-14 19:28:31308const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
309const char kDisablePushStateThrottleDescription[] =
310 "Disables throttling of history.pushState and history.replaceState method "
311 "calls.";
312
Brett Wilsonf27ff602017-07-07 22:28:47313const char kDisableTabForDesktopShareName[] =
314 "Disable Desktop Share with tab source";
315const char kDisableTabForDesktopShareDescription[] =
316 "This flag controls whether users can choose a tab for desktop share.";
317
318const char kDisallowDocWrittenScriptsUiName[] =
319 "Block scripts loaded via document.write";
320const char kDisallowDocWrittenScriptsUiDescription[] =
321 "Disallows fetches for third-party parser-blocking scripts inserted into "
322 "the main frame via document.write.";
323
Christopher Thompson2ffffa2c2018-05-18 23:06:37324const char kDisallowUnsafeHttpDownloadsName[] =
325 "Block unsafe downloads over insecure connections";
326const char kDisallowUnsafeHttpDownloadsNameDescription[] =
327 "Disallows downloads of unsafe files (files that can potentially execute "
328 "code), where the final download origin or any origin in the redirect "
329 "chain is insecure.";
330
Brett Wilsonf27ff602017-07-07 22:28:47331const char kDriveSearchInChromeLauncherName[] =
332 "Drive Search in Chrome App Launcher";
333const char kDriveSearchInChromeLauncherDescription[] =
334 "Files from Drive will show up when searching the Chrome App Launcher.";
335
Brett Wilsonf27ff602017-07-07 22:28:47336const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
337const char kEmbeddedExtensionOptionsDescription[] =
338 "Display extension options as an embedded element in chrome://extensions "
339 "rather than opening a new tab.";
340
Dominic Mazzoni8ac98962018-05-25 05:44:55341const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
342const char kEnableAccessibilityObjectModelDescription[] =
343 "Enables experimental support for Accessibility Object Model APIs "
344 "that are in development.";
345
Brett Wilsonf27ff602017-07-07 22:28:47346const char kEnableAsmWasmName[] =
347 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
348const char kEnableAsmWasmDescription[] =
349 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
350 R"*(WebAssembly.)*";
351
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36352const char kEnableWebPaymentsSingleAppUiSkipName[] =
353 "Enable Web Payments single app UI skip";
354const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
355 "Enable Web Payments to skip showing its UI if the developer specifies a "
356 "single app.";
357
Shanfeng Zhang19c16562017-10-17 02:30:40358const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
359 "Credit card autofill ablation experiment.";
360const char kEnableAutofillCreditCardAblationExperimentDescription[] =
361 "If enabled, credit card autofill suggestions will not display.";
362
Brett Wilsonf27ff602017-07-07 22:28:47363const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
364 "Display the last used date of a credit card in autofill.";
365const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
366 "If enabled, display the last used date of a credit card in autofill.";
367
Jared Saulbc672a072018-06-16 05:22:12368const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
369 "Make cardholder name editable in dialog during credit card upload";
370const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
371 "If enabled, in certain situations when offering credit card upload to "
372 "Google Payments, the cardholder name can be edited within the "
373 "offer-to-save dialog, which is prefilled with the name from the signed-in "
374 "Google Account.";
375
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37376const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
377 "Enable Google Pay branding when offering credit card upload on Android";
378const char
379 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
380 "If enabled, shows the Google Pay logo and a shorter header message "
381 "when credit card upload to Google Payments is offered on Android.";
382
Jared Saul5c2a1482017-12-09 00:24:31383const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
384 "Send first six digits of PAN when deciding whether to offer Autofill "
385 "credit card upload";
386const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
387 "If enabled, when deciding whether to offer credit card upload to Google "
388 "Payments, sends the first six digits of the card number to avoid cases "
389 "where card upload is likely to fail.";
390
siyua7c4e97b42018-04-24 02:49:42391const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
392 "Enable updated prompt explanation when offering credit card upload";
393const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
394 "If enabled, changes the server save card prompt's explanation to mention "
395 "the saving of the billing address.";
396
tmartinocd414732018-02-12 19:01:01397const char kEnableAutofillNativeDropdownViewsName[] =
398 "Display Autofill Dropdown Using Views";
399const char kEnableAutofillNativeDropdownViewsDescription[] =
400 "If enabled, the Autofill Dropdown will be built natively using Views, "
401 "rather than painted directly to a canvas.";
402
Fabio Tirelo87552e02018-07-06 15:43:21403const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
404 "Show unlabeled expiration dates on the save card dialog";
405const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
406 "If enabled, expiration dates on the save card dialog (both local and "
407 "upstream) are shown without an 'Exp:' label.";
408
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23409const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
410 "Send experiment flag IDs in calls to Google Payments";
411const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
412 "If enabled, adds the status of certain experiment variations when making "
413 "calls to Google Payments.";
414
Becca Hughes4d896c42018-05-29 16:58:51415const char kEnableAutoplayIgnoreWebAudioName[] =
416 "Autoplay ignores WebAudio playbacks";
417const char kEnableAutoplayIgnoreWebAudioDescription[] =
418 "If enabled, autoplay restrictions will be ignored for WebAudio.";
419
Vitalii Iarko4f9834ce2017-08-04 07:05:19420const char kEnableBreakingNewsPushName[] = "Breaking News Push";
421const char kEnableBreakingNewsPushDescription[] =
422 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
423 "through Google Cloud Messaging.";
424
Brett Wilsonf27ff602017-07-07 22:28:47425const char kEnableBrotliName[] = "Brotli Content-Encoding.";
426const char kEnableBrotliDescription[] =
427 "Enable Brotli Content-Encoding support.";
428
Qiang Xu0f602fe62017-12-22 01:31:20429const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
430const char kEnableCaptivePortalRandomUrlDescription[] =
431 "Enable Captive Portal URL randomization.";
432
sclittle50e4bb92017-07-08 02:23:03433const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
434
435const char kEnableClientLoFiDescription[] =
436 "Enable showing low fidelity images on some pages on slow networks.";
437
Patrick Noland8bc57472018-06-19 21:09:54438const char kEnableCSSFragmentIdentifiersName[] =
439 "Enable CSS Fragment Identifiers";
440const char kEnableCSSFragmentIdentifiersDescription[] =
441 "Enable support for specifying a target element using a css selector in "
442 "the fragment identifier.";
443
David Reveman87b4b692018-03-09 21:22:22444const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
445const char kEnableCursorMotionBlurDescription[] =
446 "Enable motion blur effect for the cursor.";
447
Ramin Halavati6f5d9852018-06-20 09:37:05448const char kEnableEphemeralFlashPermissionName[] =
449 "Enable Ephemeral Flash Permissions";
450const char kEnableEphemeralFlashPermissionDescription[] =
451 "When enabled, Flash plugin permissions are reset at the end of the "
452 "browser session.";
453
Doug Arnett08b4067b2017-10-12 20:14:44454const char kEnableNoScriptPreviewsName[] = "NoScript previews";
455
456const char kEnableNoScriptPreviewsDescription[] =
457 "Enable disabling JavaScript on some pages on slow networks.";
458
Thanh Le2c279fbc2017-11-21 01:25:40459const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
460const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
461const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
462const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
463const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
464const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
465const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
466const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
467const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
468const char kDataReductionProxyServerAlternative10[] =
469 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47470const char kEnableDataReductionProxyServerExperimentName[] =
471 "Use an alternative Data Saver back end configuration.";
472const char kEnableDataReductionProxyServerExperimentDescription[] =
473 "Enable a different approach to saving data by configuring the back end "
474 "server";
475
476const char kEnableDataReductionProxySavingsPromoName[] =
477 "Data Saver 1 MB Savings Promo";
478const char kEnableDataReductionProxySavingsPromoDescription[] =
479 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
480 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
481 "enabled for the promo to be shown.";
482
Matt Giucad4870432017-11-24 01:04:38483const char kEnableDesktopPWAsName[] = "Desktop PWAs";
484const char kEnableDesktopPWAsDescription[] =
485 "Experimental windowing and install banner treatment for Progressive Web "
486 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17487
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59488const char kEnableDesktopPWAsLinkCapturingName[] =
489 "Desktop PWAs Link Capturing";
490const char kEnableDesktopPWAsLinkCapturingDescription[] =
491 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
492 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
493 "#enable-desktop-pwas.";
494
Ahmed Fakhry0037de02018-01-29 19:58:31495const char kEnableDockedMagnifierName[] = "Docked Magnifier";
496const char kEnableDockedMagnifierDescription[] =
497 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
498
Ramya Nagarajan5b41d8d2018-04-02 19:53:02499const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
500const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09501 "Enables the Emoji picker item in context menus for editable text areas, if"
502 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02503
Brett Wilsonf27ff602017-07-07 22:28:47504const char kEnableEnumeratingAudioDevicesName[] =
505 "Experimentally enable enumerating audio devices.";
506const char kEnableEnumeratingAudioDevicesDescription[] =
507 "Experimentally enable the use of enumerating audio devices.";
508
509const char kEnableGenericSensorName[] = "Generic Sensor";
510const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25511 "Enables motion sensor classes based on Generic Sensor API, i.e. "
512 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
513 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
514
515const char kEnableGenericSensorExtraClassesName[] =
516 "Generic Sensor Extra Classes";
517const char kEnableGenericSensorExtraClassesDescription[] =
518 "Enables an extra set of sensor classes based on Generic Sensor API, which "
519 "expose previously unavailable platform features, i.e. AmbientLightSensor "
520 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47521
Brett Wilsonf27ff602017-07-07 22:28:47522const char kEnableHDRName[] = "HDR mode";
523const char kEnableHDRDescription[] =
524 "Enables HDR support on compatible displays.";
525
Ryan Sturm6a850902018-06-09 02:27:34526const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
527const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09528 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25529 "pause sub-resource request loading on the page. Using the 'Low' option "
530 "will reduce the triggering threshold 1MB.";
Ryan Sturm6a850902018-06-09 02:27:34531
Brett Wilsonf27ff602017-07-07 22:28:47532const char kEnableHttpFormWarningName[] =
533 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15534 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47535const char kEnableHttpFormWarningDescription[] =
536 "Attaches a warning UI to any password or credit card fields detected when "
537 "the top-level page is not HTTPS";
538
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41539const char kLayeredAPIName[] = "Experimental layered APIs";
540const char kLayeredAPIDescription[] =
541 "Enable layered API infrastructure, as well as several experimental "
542 "layered APIs. The syntax and the APIs exposed are experimental and will "
543 "change over time.";
544
Ian Kilpatricke68ef11a2018-07-04 03:52:10545const char kEnableLayoutNGName[] = "Enable LayoutNG";
546const char kEnableLayoutNGDescription[] =
547 "Enable Blink's next generation layout engine.";
548
Scott Littled0fd2d002018-04-13 03:37:26549const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
550const char kEnableLazyFrameLoadingDescription[] =
551 "Defers the loading of certain cross-origin frames until the page is "
552 "scrolled down near them.";
553
Sidney San Martín9375b892017-09-09 00:29:54554const char kEnableMacMaterialDesignDownloadShelfName[] =
555 "Enable Material Design download shelf";
556
557const char kEnableMacMaterialDesignDownloadShelfDescription[] =
558 "If enabled, the download shelf uses Material Design.";
559
Anton Urusov47cd4932017-09-19 14:41:41560const char kEnablePolicyToolName[] = "Enable policy management page";
561const char kEnablePolicyToolDescription[] =
562 "If enabled, the chrome://policy-tool URL loads a page for managing "
563 "policies.";
564
Tsuyoshi Horoea7edb72017-11-12 04:14:00565const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
566const char kEnablePWAFullCodeCacheDescription[] =
567 "Generate V8 code cache in Cache Storage while installing Service Worker "
568 "for PWAs.";
569
Weidong Guof1e5a892018-01-06 02:26:39570const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28571 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39572const char kDisableMultiMirroringDescription[] =
573 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28574
Brett Wilsonf27ff602017-07-07 22:28:47575const char kEnableNavigationTracingName[] = "Enable navigation tracing";
576const char kEnableNavigationTracingDescription[] =
577 "This is to be used in conjunction with the trace-upload-url flag. "
578 "WARNING: When enabled, Chrome will record performance data for every "
579 "navigation and upload it to the URL specified by the trace-upload-url "
580 "flag. The trace may include personally identifiable information (PII) "
581 "such as the titles and URLs of websites you visit.";
582
Bernhard Bauer5533f9912017-11-06 17:56:02583const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
584const char kEnableNetworkLoggingToFileDescription[] =
585 "Enables network logging to a file named netlog.json in the user data "
586 "directory. The file can be imported into chrome://net-internals.";
587
Brett Wilsonf27ff602017-07-07 22:28:47588const char kEnableNetworkServiceName[] = "Enable network service";
589const char kEnableNetworkServiceDescription[] =
590 "Enables the network service, which makes network requests through a "
591 "separate service. Note: most features don't work with this yet.";
592
John Abd-El-Malek8067cc02017-12-04 23:23:20593const char kEnableNetworkServiceInProcessName[] =
594 "Runs network service in-process";
595const char kEnableNetworkServiceInProcessDescription[] =
596 "Runs the network service in the browser process.";
597
dpapaded8349472017-10-25 03:21:27598const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
599const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37600 "If enabled, Print Preview will display a newer UI. This feature is "
601 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27602
Ahmed Fakhry2fd8fc82017-07-28 16:31:12603const char kEnableNightLightName[] = "Enable Night Light";
604const char kEnableNightLightDescription[] =
605 "Enable the Night Light feature which controls the color temperature of "
606 "the screen.";
607
xlou8b56f672018-02-09 23:34:30608const char kEnableNupPrintingName[] = "Enable N-up printing";
609const char kEnableNupPrintingDescription[] =
610 "Enable N-up printing in the print preview panel.";
611
Sophie Chang117a3b22017-10-24 22:25:36612const char kEnableOptimizationHintsName[] = "Optimization Hints";
613const char kEnableOptimizationHintsDescription[] =
614 "Enable the Optimization Hints feature which incorporates server hints"
615 "into decisions for what optimizations to perform on some pages on slow "
616 "networks.";
617
Yutaka Hirano98be3272017-08-07 17:55:39618const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
619const char kEnableOutOfBlinkCORSDescription[] =
620 "CORS handling logic is moved out of blink.";
621
Sammie Quon0fbf0782018-05-01 22:11:08622const char kEnableOverviewSwipeToCloseName[] =
623 "Enable overview swipe to close.";
624const char kEnableOverviewSwipeToCloseDescription[] =
625 "Enables closing of items in overview mode by dragging or flinging "
626 "vertically.";
627
kylechar7051c092018-02-05 20:31:39628const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
629const char kVizDisplayCompositorDescription[] =
630 "If enabled, the display compositor runs as part of the viz service in the"
631 "GPU process.";
632
Ria Jiang6a129b982018-03-01 18:30:40633const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
634const char kVizHitTestDrawQuadDescription[] =
635 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
636 "with hit-test data computed from the CompositorFrame.";
637
Erik Chen49bbfa22017-08-18 08:49:56638const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23639 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56640const char kEnableOutOfProcessHeapProfilingDescription[] =
641 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19642 "malloced objects. Heap dumps can be obtained at chrome://tracing "
643 "[category:memory-infra] and chrome://memory-internals. This setting "
644 "controls which processes are profiled. As long as this setting is not "
645 "disabled, users can start profiling any given process in "
646 "chrome://memory-internals.";
647const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
648const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
649const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
650const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
651const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10652const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19653 "None by default. Visit chrome://memory-internals to choose which "
654 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15655const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
656 "Profile a random sampling of renderer processes, ensuring only one is "
657 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19658
Erik Chen8bb76b52017-12-06 19:06:25659const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19660 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25661const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
662 "By default, small allocations are pruned from the heap dump. This reduces "
663 "the size of the compressed trace by 100x. If pruning is disabled, the "
664 "chrome://tracing UI may be unable to take or load the trace. Save the "
665 "trace directly using chrome://memory-internals, and use other mechanisms "
666 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
667 "automatically uploaded traces will always be pruned. This only affects "
668 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56669
erikchen8bc20d82018-02-14 03:21:51670const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
671const char kOutOfProcessHeapProfilingSamplingDescription[] =
672 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22673 "10000. This results in low noise for large and/or frequent allocations ["
674 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
675 "total size of malloc-ed objects] and large and/or frequent allocations "
676 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51677
Erik Chen3303fd0232018-01-11 20:29:05678const char kOOPHPStackModeName[] =
679 "The type of stack to record for memlog heap dumps";
680const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19681 "By default, memlog heap dumps record native stacks, which requires a "
682 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55683 "pointers to work on Android. Native with thread names will add the thread "
684 "name as the first frame of each native stack. It's also possible to "
685 "record a pseudo stack using trace events as identifiers. It's also "
686 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19687const char kOOPHPStackModeMixed[] = "Mixed";
688const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55689const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19690const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05691
François Beaufort2e75f492018-02-08 20:44:46692const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47693const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46694 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47695
F#m59d036e2017-09-13 07:22:17696const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
697const char kEnablePixelCanvasRecordingDescription[] =
698 "Pixel canvas recording allows the compositor to raster contents aligned "
699 "with the pixel and improves text rendering. This should be enabled when a "
700 "device is using fractional scale factor.";
701
vitaliiid36191b2018-06-11 07:40:49702extern const char kEnableSyncUserConsentSeparateTypeName[] =
703 "Enable separate sync type for consents";
704extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
705 "Emit user consents as a separate sync type instead of user events.";
706
Mikel Astiz38837f82018-04-24 22:23:23707const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
708const char kEnableSyncUSSSessionsDescription[] =
709 "Enables the new, experimental implementation of session sync (aka tab "
710 "sync).";
711
Brett Wilsonf27ff602017-07-07 22:28:47712const char kEnableTokenBindingName[] = "Token Binding.";
713const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
714
715const char kEnableUseZoomForDsfName[] =
716 "Use Blink's zoom for device scale factor.";
717const char kEnableUseZoomForDsfDescription[] =
718 "If enabled, Blink uses its zooming mechanism to scale content for device "
719 "scale factor.";
720const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
721const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
722const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
723
Patrick Noland8ee016e2018-01-24 11:44:53724const char kEnableScrollAnchorSerializationName[] =
725 "Scroll Anchor Serialization";
726const char kEnableScrollAnchorSerializationDescription[] =
727 "Save the scroll anchor and use it to restore the scroll position when "
728 "navigating.";
729
Brad Nelson5cd500e2018-01-04 00:50:19730const char kEnableSharedArrayBufferName[] =
731 "Experimental enabled SharedArrayBuffer support in JavaScript.";
732const char kEnableSharedArrayBufferDescription[] =
733 "Enable SharedArrayBuffer support in JavaScript.";
734
Brett Wilsonf27ff602017-07-07 22:28:47735const char kEnableWasmName[] = "WebAssembly structured cloning support.";
736const char kEnableWasmDescription[] =
737 "Enable web pages to use WebAssembly structured cloning.";
738
Kim Paulhamusae635a32018-06-27 07:30:54739const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
740const char kEnableWebAuthenticationAPIDescription[] =
741 "Enable Web Authentication API support";
742
Brett Wilsonf27ff602017-07-07 22:28:47743const char kEnableImageCaptureAPIName[] = "Image Capture API";
744const char kEnableImageCaptureAPIDescription[] =
745 "Enables the Web Platform Image Capture API: takePhoto(), "
746 "getPhotoCapabilities(), etc.";
747
748const char kEnableZeroSuggestRedirectToChromeName[] =
749 "Experimental contextual omnibox suggestion";
750const char kEnableZeroSuggestRedirectToChromeDescription[] =
751 "Change omnibox contextual suggestions to an experimental source. Note "
752 "that this is not an on/off switch for contextual omnibox and it only "
753 "applies to suggestions provided before the user starts typing a URL or a "
754 "search query (i.e. zero suggest).";
755
756const char kEnableWasmStreamingName[] =
757 "WebAssembly streaming compile/instantiate support.";
758const char kEnableWasmStreamingDescription[] =
759 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
760
Clemens Hammacher0c8a15a2018-04-27 13:45:32761const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
762const char kEnableWasmBaselineDescription[] =
763 "Enables WebAssembly baseline compilation and tier up.";
764
Ben Smith24c1e5c2018-06-20 01:09:02765const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
766const char kEnableWasmThreadsDescription[] =
767 "Enables support for the WebAssembly Threads proposal. Implies "
768 "#shared-array-buffer and #enable-webassembly.";
769
Brett Wilsonf27ff602017-07-07 22:28:47770const char kExpensiveBackgroundTimerThrottlingName[] =
771 "Throttle expensive background timers";
772const char kExpensiveBackgroundTimerThrottlingDescription[] =
773 "Enables intervention to limit CPU usage of background timers to 1%.";
774
775const char kExperimentalAppBannersName[] = "Experimental app banners";
776const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38777 "Enables a new experimental app banner flow and UI. Implies "
778 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47779
780const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
781const char kExperimentalCanvasFeaturesDescription[] =
782 "Enables the use of experimental canvas features which are still in "
783 "development.";
784
Nicholas Verneccd8259802018-02-22 01:22:04785const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
786const char kExperimentalCrostiniUIDescription[] =
787 "Enables in-development Crostini features.";
788
Brett Wilsonf27ff602017-07-07 22:28:47789const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
790const char kExperimentalExtensionApisDescription[] =
791 "Enables experimental extension APIs. Note that the extension gallery "
792 "doesn't allow you to upload extensions that use experimental APIs.";
793
794const char kExperimentalFullscreenExitUIName[] =
795 "Experimental fullscreen exit UI";
796const char kExperimentalFullscreenExitUIDescription[] =
797 "Displays experimental UI to allow mouse and touch input methods to exit "
798 "fullscreen mode.";
799
Ian Clelland37a985d2018-05-04 02:43:13800const char kExperimentalProductivityFeaturesName[] =
801 "Experimental Productivity Features";
802const char kExperimentalProductivityFeaturesDescription[] =
803 "Enable support for experimental developer productivity features, such as "
804 "Layered APIs and policies for avoiding slow rendering.";
805
Brett Wilsonf27ff602017-07-07 22:28:47806const char kExperimentalSecurityFeaturesName[] =
807 "Potentially annoying security features";
808const char kExperimentalSecurityFeaturesDescription[] =
809 "Enables several security features that will likely break one or more "
810 "pages that you visit on a daily basis. Strict mixed content checking, for "
811 "example. And locking powerful features to secure contexts. This flag will "
812 "probably annoy you.";
813
814const char kExperimentalWebPlatformFeaturesName[] =
815 "Experimental Web Platform features";
816const char kExperimentalWebPlatformFeaturesDescription[] =
817 "Enables experimental Web Platform features that are in development.";
818
819const char kExtensionContentVerificationName[] =
820 "Extension Content Verification";
821const char kExtensionContentVerificationDescription[] =
822 "This flag can be used to turn on verification that the contents of the "
823 "files on disk for extensions from the webstore match what they're "
824 "expected to be. This can be used to turn on this feature if it would not "
825 "otherwise have been turned on, but cannot be used to turn it off (because "
826 "this setting can be tampered with by malware).";
827const char kExtensionContentVerificationBootstrap[] =
828 "Bootstrap (get expected hashes, but do not enforce them)";
829const char kExtensionContentVerificationEnforce[] =
830 "Enforce (try to get hashes, and enforce them if successful)";
831const char kExtensionContentVerificationEnforceStrict[] =
832 "Enforce strict (hard fail if we can't get hashes)";
833
834const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
835const char kExtensionsOnChromeUrlsDescription[] =
836 "Enables running extensions on chrome:// URLs, where extensions explicitly "
837 "request this permission.";
galinapae72e152017-05-12 13:12:28838
Brett Wilsonecb80982017-07-12 20:34:51839const char kFastUnloadName[] = "Fast tab/window close";
840const char kFastUnloadDescription[] =
841 "Enables fast tab/window closing - runs a tab's onunload js handler "
842 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34843
Brett Wilsonecb80982017-07-12 20:34:51844const char kFeaturePolicyName[] = "Feature Policy";
845const char kFeaturePolicyDescription[] =
846 "Enables granting and removing access to features through the "
847 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34848
Brett Wilsonecb80982017-07-12 20:34:51849const char kFontCacheScalingName[] = "FontCache scaling";
850const char kFontCacheScalingDescription[] =
851 "Reuse a cached font in the renderer to serve different sizes of font for "
852 "faster layout.";
853
854const char kForceEffectiveConnectionTypeName[] =
855 "Override effective connection type";
856const char kForceEffectiveConnectionTypeDescription[] =
857 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30858 "returned by the network quality estimator. Slow 2G on Cellular returns "
859 "Slow 2G when connected to a cellular network, and the actual estimate "
860 "effective connection type when not on a cellular network. Previews are "
861 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51862const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
863const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
864const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30865const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
866 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51867const char kEffectiveConnectionType2GDescription[] = "2G";
868const char kEffectiveConnectionType3GDescription[] = "3G";
869const char kEffectiveConnectionType4GDescription[] = "4G";
870
871const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
872const char kFillOnAccountSelectDescription[] =
873 "Filling of passwords when an account is explicitly selected by the user "
874 "rather than autofilling credentials on page load.";
875
Brett Wilsonecb80982017-07-12 20:34:51876const char kForceTextDirectionName[] = "Force text direction";
877const char kForceTextDirectionDescription[] =
878 "Explicitly force the per-character directionality of UI text to "
879 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
880 "direction of the character language.";
881const char kForceDirectionLtr[] = "Left-to-right";
882const char kForceDirectionRtl[] = "Right-to-left";
883
884const char kForceUiDirectionName[] = "Force UI direction";
885const char kForceUiDirectionDescription[] =
886 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
887 "mode, overriding the default direction of the UI language.";
888
889const char kFramebustingName[] =
890 "Framebusting requires same-origin or a user gesture";
891const char kFramebustingDescription[] =
892 "Don't permit an iframe to navigate the top level browsing context unless "
893 "they are same-origin or the iframe is processing a user gesture.";
894
895const char kGamepadExtensionsName[] = "Gamepad Extensions";
896const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22897 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds660a47752018-06-28 19:42:48898const char kGamepadPollingRateName[] = "Gamepad Polling Rate";
899const char kGamepadPollingRateDescription[] =
900 "Changes the rate at which gamepad input devices are polled. Increasing "
901 "the polling rate improves the average latency of button and axis inputs "
902 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58903const char kGamepadVibrationName[] = "Gamepad Vibration";
904const char kGamepadVibrationDescription[] =
905 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51906
Brett Wilsonecb80982017-07-12 20:34:51907const char kGpuRasterizationMsaaSampleCountName[] =
908 "GPU rasterization MSAA sample count.";
909const char kGpuRasterizationMsaaSampleCountDescription[] =
910 "Specify the number of MSAA samples for GPU rasterization.";
911const char kGpuRasterizationMsaaSampleCountZero[] = "0";
912const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
913const char kGpuRasterizationMsaaSampleCountFour[] = "4";
914const char kGpuRasterizationMsaaSampleCountEight[] = "8";
915const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
916
917const char kGpuRasterizationName[] = "GPU rasterization";
918const char kGpuRasterizationDescription[] =
919 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28920const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51921
922const char kGoogleProfileInfoName[] = "Google profile name and icon";
923const char kGoogleProfileInfoDescription[] =
924 "Enables using Google information to populate the profile name and icon in "
925 "the avatar menu.";
926
927const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
928const char kHarfbuzzRendertextDescription[] =
929 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
930 "web content.";
931
Takumi Fujimotofb71e332018-03-31 14:04:08932const char kViewsCastDialogName[] = "Views Cast dialog";
933const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31934 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53935 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54936 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08937
Manu Cornet4a908de2018-04-09 04:32:27938const char kHideActiveAppsFromShelfName[] =
939 "Hide running apps (that are not pinned) from the shelf";
940const char kHideActiveAppsFromShelfDescription[] =
941 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25942
Brett Wilsonecb80982017-07-12 20:34:51943const char kHistoryRequiresUserGestureName[] =
944 "New history entries require a user gesture.";
945const char kHistoryRequiresUserGestureDescription[] =
946 "Require a user gesture to add a history entry.";
947const char kHyperlinkAuditingName[] = "Hyperlink auditing";
948const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
949
Ryan Landay4242dbc22018-04-04 01:47:33950const char kHorizontalTabSwitcherAndroidName[] =
951 "Enable horizontal tab switcher";
952const char kHorizontalTabSwitcherAndroidDescription[] =
953 "Changes the layout of the Android tab switcher so tabs scroll "
954 "horizontally instead of vertically.";
955
Brett Wilsonecb80982017-07-12 20:34:51956const char kHostedAppQuitNotificationName[] =
957 "Quit notification for hosted apps";
958const char kHostedAppQuitNotificationDescription[] =
959 "Display a notification when quitting Chrome if hosted apps are currently "
960 "running.";
961
962const char kHostedAppShimCreationName[] =
963 "Creation of app shims for hosted apps on Mac";
964const char kHostedAppShimCreationDescription[] =
965 "Create app shims on Mac when creating a hosted app.";
966
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48967const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
968const char kHtmlBasedUsernameDetectorDescription[] =
969 "Use HTML-based username detector for the password manager.";
970
Brett Wilsonecb80982017-07-12 20:34:51971const char kIconNtpName[] = "Large icons on the New Tab page";
972const char kIconNtpDescription[] =
973 "Enable the experimental New Tab page using large icons.";
974
975const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
976const char kIgnoreGpuBlacklistDescription[] =
977 "Overrides the built-in software rendering list and enables "
978 "GPU-acceleration on unsupported system configurations.";
979
Ryan Sturm8c3dbc92018-06-26 19:22:37980const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44981const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37982 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44983
Claudio Magni61c210922017-12-28 00:29:51984const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
985const char kImprovedLanguageSettingsDescription[] =
986 "Set of changes for Language Settings. These changes are intended to fix "
987 "the major bugs related to Language Settings.";
988
Brett Wilsonecb80982017-07-12 20:34:51989const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
990const char kInProductHelpDemoModeChoiceDescription[] =
991 "Selects the In-Product Help demo mode.";
992
993const char kJavascriptHarmonyName[] = "Experimental JavaScript";
994const char kJavascriptHarmonyDescription[] =
995 "Enable web pages to use experimental JavaScript features.";
996
997const char kJavascriptHarmonyShippingName[] =
998 "Latest stable JavaScript features";
999const char kJavascriptHarmonyShippingDescription[] =
1000 "Some web pages use legacy or non-standard JavaScript extensions that may "
1001 "conflict with the latest JavaScript features. This flag allows disabling "
1002 "support of those features for compatibility with such pages.";
1003
gogeraldfd7675d2018-06-19 22:57:351004const char kJustInTimeServiceWorkerPaymentAppName[] =
1005 "Just-in-time service worker payment app";
1006const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1007 "Allow crawling just-in-time service worker payment app when there is no "
1008 "installed service worker payment app for a payment request.";
1009
Yutaka Hiranof7f2f632017-09-06 10:40:081010const char kKeepAliveRendererForKeepaliveRequestsName[] =
1011 "Keep a renderer alive for keepalive fetch requests";
1012const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1013 "Keep a render process alive when the process has a pending fetch request "
1014 "with `keepalive' specified.";
1015
Joe Downing095fd6d2018-02-01 18:40:361016const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1017const char kKeyboardLockApiDescription[] =
1018 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1019 "specific key events and have them routed directly to the webpage when in "
1020 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1021
Brett Wilsonecb80982017-07-12 20:34:511022const char kLcdTextName[] = "LCD text antialiasing";
1023const char kLcdTextDescription[] =
1024 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1025 "(subpixel) when doing accelerated compositing.";
1026
Matt Giucac399982f2017-10-06 07:51:291027const char kLeftToRightUrlsName[] =
1028 "Render bidirectional URLs from left to right";
1029const char kLeftToRightUrlsDescription[] =
1030 "An experimental Bidi URL rendering algorithm where the URL components are "
1031 "always shown in order from left to right, regardless of any RTL "
1032 "characters. (The contents of each component are still rendered with the "
1033 "normal Bidi algorithm.)";
1034
Brett Wilsonecb80982017-07-12 20:34:511035const char kLoadMediaRouterComponentExtensionName[] =
1036 "Load Media Router Component Extension";
1037const char kLoadMediaRouterComponentExtensionDescription[] =
1038 "Loads the Media Router component extension at startup.";
1039
spqchanb87755692018-04-05 00:46:091040const char kMacViewsAutofillPopupName[] =
1041 "Uses the Views Autofill Popup on Mac";
1042const char kMacViewsAutofillPopupDescription[] =
1043 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321044
Brett Wilsonecb80982017-07-12 20:34:511045const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1046const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511047
Lei Zhang2eca9082017-10-17 20:42:501048const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1049const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511050 "If enabled, the Incognito New Tab page uses the new material design with "
1051 "a better readable text.";
1052
spqchanb87755692018-04-05 00:46:091053const char kMediaRouterCastAllowAllIPsName[] =
1054 "Connect to Cast devices on all IP addresses";
1055const char kMediaRouterCastAllowAllIPsDescription[] =
1056 "Have the Media Router connect to Cast devices on all IP addresses, not "
1057 "just RFC1918/RFC4913 private addresses.";
1058
Brett Wilsonecb80982017-07-12 20:34:511059const char kMemoryCoordinatorName[] = "Memory coordinator";
1060const char kMemoryCoordinatorDescription[] =
1061 "Enable memory coordinator instead of memory pressure listeners.";
1062
1063const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1064const char kMessageCenterNewStyleNotificationDescription[] =
1065 "Enables the experiment style of material-design notification";
1066
Brett Wilsonecb80982017-07-12 20:34:511067const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1068const char kMhtmlGeneratorOptionDescription[] =
1069 "Provides experimental options for MHTML file generator.";
1070const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1071const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1072
Kouhei Ueno08445c22017-09-05 03:58:301073const char kModuleScriptsDynamicImportName[] =
1074 "Enable ECMAScript 6 modules dynamic import";
1075const char kModuleScriptsDynamicImportDescription[] =
1076 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1077 "Blink.";
1078
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051079const char kModuleScriptsImportMetaUrlName[] =
1080 "Enable ECMAScript 6 modules import.meta.url";
1081const char kModuleScriptsImportMetaUrlDescription[] =
1082 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1083 "Blink.";
1084
Brett Wilsonecb80982017-07-12 20:34:511085const char kNewAudioRenderingMixingStrategyName[] =
1086 "New audio rendering mixing strategy";
1087const char kNewAudioRenderingMixingStrategyDescription[] =
1088 "Use the new audio rendering mixing strategy.";
1089
1090const char kNewBookmarkAppsName[] = "The new bookmark app system";
1091const char kNewBookmarkAppsDescription[] =
1092 "Enables the new system for creating bookmark apps.";
1093
Vadym Doroshenkof81e8bb2018-04-18 14:35:241094const char kNewPasswordFormParsingName[] = "New password form parsing";
1095const char kNewPasswordFormParsingDescription[] =
1096 "Replaces existing form parsing in password manager with a new version, "
1097 "currently under development. WARNING: when enabled Password Manager might "
1098 "stop working";
1099
Brett Wilsonecb80982017-07-12 20:34:511100const char kNewRemotePlaybackPipelineName[] =
1101 "Enable the new remote playback pipeline.";
1102const char kNewRemotePlaybackPipelineDescription[] =
1103 "Enable the new pipeline for playing media element remotely via "
1104 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501105const char kUseSurfaceLayerForVideoName[] =
1106 "Enable the use of SurfaceLayer objects for videos.";
1107const char kUseSurfaceLayerForVideoDescription[] =
1108 "Enable compositing onto a Surface instead of a VideoLayer "
1109 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511110
1111const char kNewUsbBackendName[] = "Enable new USB backend";
1112const char kNewUsbBackendDescription[] =
1113 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341114
Sonny Sasaka2d200432018-03-22 17:43:161115const char kNewblueName[] = "Newblue";
1116const char kNewblueDescription[] =
1117 "Enables the use of newblue Bluetooth daemon.";
1118
Peter Kasting63097912018-06-30 02:09:031119const char kNewTabButtonPosition[] = "New tab button position";
1120const char kNewTabButtonPositionDescription[] =
1121 "Controls placement of the new tab button within the tabstrip.";
1122const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1123const char kNewTabButtonPositionLeading[] = "Leading";
1124const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1125const char kNewTabButtonPositionTrailing[] = "Trailing";
1126
Egor Pasko6fed3822018-05-30 10:33:141127const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341128const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141129 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341130
Alex Newcomerd7b0cc42018-05-25 22:58:481131const char kNotificationIndicatorName[] = "Notification Indicators";
1132const char kNotificationIndicatorDescription[] =
1133 "Enable notification indicators, which appear on app icons when a "
1134 "notification is active. This will also enable notifications in context "
1135 "menus.";
1136
Brett Wilsonecb80982017-07-12 20:34:511137const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1138const char kNotificationsNativeFlagDescription[] =
1139 "Enable support for using the native notification toasts and notification "
1140 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341141
Zentaro Kavanaghbad511c2017-10-18 22:29:001142#if defined(OS_POSIX)
1143const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1144const char kNtlmV2EnabledDescription[] =
1145 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1146#endif
1147
Ramya Nagarajane9f16b82018-05-03 01:05:341148const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1149const char kNtpBackgroundsDescription[] =
1150 "Allow selection of a custom background image on the New Tab Page.";
1151
1152const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1153const char kNtpIconsDescription[] =
1154 "Show custom link icons on the New Tab Page, instead of Most Visited "
1155 "tiles.";
1156
1157const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1158const char kNtpUIMdDescription[] =
1159 "Updates the New Tab Page with Material Design elements.";
1160
Brett Wilsonecb80982017-07-12 20:34:511161const char kNumRasterThreadsName[] = "Number of raster threads";
1162const char kNumRasterThreadsDescription[] =
1163 "Specify the number of raster threads.";
1164const char kNumRasterThreadsOne[] = "1";
1165const char kNumRasterThreadsTwo[] = "2";
1166const char kNumRasterThreadsThree[] = "3";
1167const char kNumRasterThreadsFour[] = "4";
1168
1169const char kOfferStoreUnmaskedWalletCardsName[] =
1170 "Google Payments card saving checkbox";
1171const char kOfferStoreUnmaskedWalletCardsDescription[] =
1172 "Show the checkbox to offer local saving of a credit card downloaded from "
1173 "the server.";
1174
1175const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1176const char kOfflineAutoReloadDescription[] =
1177 "Pages that fail to load while the browser is offline will be "
1178 "auto-reloaded when the browser is online again.";
1179
1180const char kOfflineAutoReloadVisibleOnlyName[] =
1181 "Only Auto-Reload Visible Tabs";
1182const char kOfflineAutoReloadVisibleOnlyDescription[] =
1183 "Pages that fail to load while the browser is offline will only be "
1184 "auto-reloaded if their tab is visible.";
1185
Brett Wilsonecb80982017-07-12 20:34:511186const char kOmniboxDisplayTitleForCurrentUrlName[] =
1187 "Include title for the current URL in the omnibox";
1188const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1189 "In the event that the omnibox provides suggestions on-focus, the URL of "
1190 "the current page is provided as the first suggestion without a title. "
1191 "Enabling this flag causes the title to be displayed.";
1192
Benoit Lizeab08362c2017-07-19 14:50:541193const char kOmniboxSpareRendererName[] =
1194 "Start spare renderer on omnibox focus";
1195const char kOmniboxSpareRendererDescription[] =
1196 "When the omnibox is focused, start an empty spare renderer. This can "
1197 "speed up the load of the navigation from the omnibox.";
1198
Tommy C. Li8875a442017-08-23 00:10:591199const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1200 "Omnibox UI Elide Suggestion URL After Host";
1201const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1202 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1203 "dropdown.";
1204
Tommy C. Lid79d4402017-12-22 22:49:121205const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1206 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1207const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1208 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221209 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1210 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121211
Brett Wilsonecb80982017-07-12 20:34:511212const char kOmniboxUIMaxAutocompleteMatchesName[] =
1213 "Omnibox UI Max Autocomplete Matches";
1214
1215const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1216 "Changes the maximum number of autocomplete matches displayed in the "
1217 "Omnibox UI.";
1218
Justin Donnelly65c9e8b2017-10-01 05:15:011219const char kOmniboxUIShowSuggestionFaviconsName[] =
1220 "Omnibox UI Show Suggestion Favicons";
1221const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1222 "Shows favicons instead of generic vector icons for URL suggestions in the "
1223 "Omnibox dropdown.";
1224
1225const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1226const char kOmniboxUISwapTitleAndUrlDescription[] =
1227 "In the omnibox dropdown, shows titles before URLs when both are "
1228 "available.";
1229
Brett Wilsonecb80982017-07-12 20:34:511230const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1231const char kOmniboxUIVerticalMarginDescription[] =
1232 "Changes the vertical margin in the Omnibox UI.";
1233
Troy Hildebrandtb32637ca2018-02-21 23:25:091234const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1235 "Omnibox Voice Search Always Visible";
1236const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1237 "Always displays voice search icon in focused omnibox as long as voice "
1238 "search is possible";
1239
Adrienne Walkerc87477e2018-06-06 22:28:211240const char kOopRasterizationName[] = "Out of process rasterization";
1241const char kOopRasterizationDescription[] =
1242 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1243 "Must also enable GPU rasterization";
1244
Brett Wilsonecb80982017-07-12 20:34:511245const char kOriginTrialsName[] = "Origin Trials";
1246const char kOriginTrialsDescription[] =
1247 "Enables origin trials for controlling access to feature/API experiments.";
1248
Becca Hughes930d8cd2017-10-02 11:09:121249const char kOverflowIconsForMediaControlsName[] =
1250 "Icons on Media Controls Overflow Menu";
1251const char kOverflowIconsForMediaControlsDescription[] =
1252 "Displays icons on the overflow menu of the native media controls";
1253
Brett Wilsonecb80982017-07-12 20:34:511254const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1255const char kOverlayScrollbarsDescription[] =
1256 "Enable the experimental overlay scrollbars implementation. You must also "
1257 "enable threaded compositing to have the scrollbars animate.";
1258
chaopenge8aa016b2017-08-24 15:20:191259const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1260 "Flash Overlay Scrollbars After Any Scroll Update";
1261const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1262 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1263 " must also enable Overlay Scrollbars.";
1264
chaopeng343678022017-08-24 18:45:001265const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1266 "Flash Overlay Scrollbars When Mouse Enter";
1267const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1268 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1269 " enable Overlay Scrollbars.";
1270
Daniele Castagna74ddb9c2018-06-21 22:59:021271const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1272const char kOverlayStrategiesDescription[] =
1273 "Select strategies used to promote quads to HW overlays.";
1274const char kOverlayStrategiesDefault[] = "Default";
1275const char kOverlayStrategiesNone[] = "None";
1276const char kOverlayStrategiesUnoccludedFullscreen[] =
1277 "Unoccluded fullscreen buffers (single-fullscreen)";
1278const char kOverlayStrategiesUnoccluded[] =
1279 "Unoccluded buffers (single-fullscreen,single-on-top)";
1280const char kOverlayStrategiesOccludedAndUnoccluded[] =
1281 "Occluded and unoccluded buffers "
1282 "(single-fullscreen,single-on-top,underlay)";
1283
Claudio Magni81326f92017-09-01 05:21:181284const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1285const char kUseNewAcceptLanguageHeaderDescription[] =
1286 "Adds the base language code after other corresponding language+region "
1287 "codes. This ensures that users receive content in their preferred "
1288 "language.";
1289
Brett Wilsonecb80982017-07-12 20:34:511290const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1291const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481292 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511293const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481294const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511295
1296const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1297const char kOverscrollStartThresholdDescription[] =
1298 "Changes overscroll start threshold relative to the default value.";
1299const char kOverscrollStartThreshold133Percent[] = "133%";
1300const char kOverscrollStartThreshold166Percent[] = "166%";
1301const char kOverscrollStartThreshold200Percent[] = "200%";
1302
chaopenge2b6e5f2018-05-08 16:40:451303const char kTouchpadOverscrollHistoryNavigationName[] =
1304 "Overscroll history navigation on Touchpad";
1305const char kTouchpadOverscrollHistoryNavigationDescription[] =
1306 "Allows swipe left/right from touchpad change browser navigation.";
1307
Xing Liu5400a002017-09-15 21:48:291308const char kParallelDownloadingName[] = "Parallel downloading";
1309const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061310 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291311
Brett Wilsonecb80982017-07-12 20:34:511312const char kPassiveEventListenerDefaultName[] =
1313 "Passive Event Listener Override";
1314const char kPassiveEventListenerDefaultDescription[] =
1315 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1316 "haven't requested otherwise) to be treated as passive. This will break "
1317 "touch/wheel behavior on some websites but is useful for demonstrating the "
1318 "potential performance benefits of adopting passive event listeners.";
1319const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1320const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1321
1322const char kPassiveEventListenersDueToFlingName[] =
1323 "Touch Event Listeners Passive Default During Fling";
1324const char kPassiveEventListenersDueToFlingDescription[] =
1325 "Forces touchstart, and first touchmove per scroll event listeners during "
1326 "fling to be treated as passive.";
1327
1328const char kPassiveDocumentEventListenersName[] =
1329 "Document Level Event Listeners Passive Default";
1330const char kPassiveDocumentEventListenersDescription[] =
1331 "Forces touchstart, and touchmove event listeners on document level "
1332 "targets (which haven't requested otherwise) to be treated as passive.";
1333
1334const char kPasswordForceSavingName[] = "Force-saving of passwords";
1335const char kPasswordForceSavingDescription[] =
1336 "Allow the user to manually enforce password saving instead of relying on "
1337 "password manager's heuristics.";
1338
Vaclav Brozekd8a3f542017-11-16 14:21:131339const char kPasswordExportName[] = "Password export";
1340const char kPasswordExportDescription[] =
1341 "Export functionality in password settings.";
1342
1343const char kPasswordImportName[] = "Password import";
1344const char kPasswordImportDescription[] =
1345 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511346
Friedrich Horschig03c91982018-01-25 14:21:281347const char kPasswordSearchMobileName[] = "Password search";
1348const char kPasswordSearchMobileDescription[] =
1349 "Search functionality in password settings.";
1350
Friedrich Horschige6c27742018-04-23 17:13:411351const char kPasswordsKeyboardAccessoryName[] =
1352 "Add password-related functions to keyboard accessory";
1353const char kPasswordsKeyboardAccessoryDescription[] =
1354 "Adds password generation button and toggle for the passwords bottom sheet "
1355 "to the keyboard accessory. Replaces password generation popups.";
1356
Tom Sepez92a2cd242018-03-13 19:23:091357const char kPdfIsolationName[] = "PDF Isolation";
1358const char kPdfIsolationDescription[] =
1359 "Render PDF files from different origins in different plugin processes.";
1360
Brett Wilsonecb80982017-07-12 20:34:511361const char kPinchScaleName[] = "Pinch scale";
1362const char kPinchScaleDescription[] =
1363 "Enables experimental support for scale using pinch.";
1364
Doug Arnett620ff542018-02-06 17:54:221365const char kPreviewsAllowedName[] = "Previews Allowed";
1366const char kPreviewsAllowedDescription[] =
1367 "Allows previews to be shown subject to specific preview types being "
1368 "enabled and the client experiencing specific triggering conditions. "
1369 "May be used as a kill-switch to turn off all potential preview types.";
1370
Brett Wilsonecb80982017-07-12 20:34:511371const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1372const char kPrintPdfAsImageDescription[] =
1373 "If enabled, an option to print PDF files as images will be available in "
1374 "print preview.";
1375
1376const char kPrintPreviewRegisterPromosName[] =
1377 "Print Preview Registration Promos";
1378const char kPrintPreviewRegisterPromosDescription[] =
1379 "Enable registering unregistered cloud printers from print preview.";
1380
1381const char kProtectSyncCredentialName[] = "Autofill sync credential";
1382const char kProtectSyncCredentialDescription[] =
1383 "How the password manager handles autofill for the sync credential.";
1384
1385const char kProtectSyncCredentialOnReauthName[] =
1386 "Autofill sync credential only for transactional reauth pages";
1387const char kProtectSyncCredentialOnReauthDescription[] =
1388 "How the password manager handles autofill for the sync credential only "
1389 "for transactional reauth pages.";
1390
Mohsen Izadi93faac12017-07-29 04:45:151391const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1392const char kPullToRefreshDescription[] =
1393 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011394const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151395
Troy Hildebrandt7228ad12018-02-23 21:18:241396const char kQueryInOmniboxName[] = "Query in Omnibox";
1397const char kQueryInOmniboxDescription[] =
1398 "Only display query terms in the omnibox when viewing a search results "
1399 "page.";
1400
Brett Wilsonecb80982017-07-12 20:34:511401const char kQuicName[] = "Experimental QUIC protocol";
1402const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1403
Emily Starke8878d52018-05-11 21:27:261404const char kRecurrentInterstitialName[] =
1405 "Show a message when the same SSL error recurs";
1406const char kRecurrentInterstitialDescription[] =
1407 "Enable a special message on the SSL certificate error page when the same "
1408 "SSL error occurs repeatedly.";
1409
Brett Wilsonecb80982017-07-12 20:34:511410const char kReducedReferrerGranularityName[] =
1411 "Reduce default 'referer' header granularity.";
1412const char kReducedReferrerGranularityDescription[] =
1413 "If a page hasn't set an explicit referrer policy, setting this flag will "
1414 "reduce the amount of information in the 'referer' header for cross-origin "
1415 "requests.";
1416
Claudio Magnie0a80bb2018-01-31 02:52:581417extern const char kRegionalLocalesAsDisplayUIName[] =
1418 "Allow regional locales as display UI";
1419extern const char kRegionalLocalesAsDisplayUIDescription[] =
1420 "This flag allows regional locales to be selected as display UI by the "
1421 "user in Language Settings. The actual locale of the system is derived "
1422 "from the user selection based on some simple fallback logic.";
1423
Christian Dullweber1af31e62018-02-22 11:49:481424const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141425 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481426const char kRemoveNavigationHistoryDescription[] =
1427 "Remove a navigation entry when the corresponding history entry has been "
1428 "deleted.";
1429
Mihai Sardarescu6d0f5b72017-10-30 11:24:381430const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1431 "Remove usage of the deprecated GAIA sign-in endpoint";
1432const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1433 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1434 "This flags controls wheter it should no longer be used during a sign-in "
1435 " flow.";
1436
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351437const char kRendererSideResourceSchedulerName[] =
1438 "Renderer side ResourceScheduler";
1439const char kRendererSideResourceSchedulerDescription[] =
1440 "Migrate some ResourceScheduler functionalities to renderer";
1441
Brett Wilsonecb80982017-07-12 20:34:511442const char kRequestTabletSiteName[] =
1443 "Request tablet site option in the settings menu";
1444const char kRequestTabletSiteDescription[] =
1445 "Allows the user to request tablet site. Web content is often optimized "
1446 "for tablet devices. When this option is selected the user agent string is "
1447 "changed to indicate a tablet device. Web content optimized for tablets is "
1448 "received there after for the current tab.";
1449
1450const char kResetAppListInstallStateName[] =
1451 "Reset the App Launcher install state on every restart.";
1452const char kResetAppListInstallStateDescription[] =
1453 "Reset the App Launcher install state on every restart. While this flag is "
1454 "set, Chrome will forget the launcher has been installed each time it "
1455 "starts. This is used for testing the App Launcher install flow.";
1456
Kinuko Yasuda33955082018-06-19 10:14:591457const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511458const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591459 "Uses the resource load scheduler in blink to throttle resource load "
1460 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511461
Brett Wilsonecb80982017-07-12 20:34:511462const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1463const char kSafeSearchUrlReportingDescription[] =
1464 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1465
Alexei Filippov98772752018-01-27 08:26:521466const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1467const char kSamplingHeapProfilerDescription[] =
1468 "Enables native memory sampling profiler with specified rate in KiB. "
1469 "If sampling rate is not provided the default value of 128 KiB is used.";
1470
Brett Wilsonecb80982017-07-12 20:34:511471const char kSaveasMenuLabelExperimentName[] =
1472 "Switch 'Save as' menu labels to 'Download'";
1473const char kSaveasMenuLabelExperimentDescription[] =
1474 "Enables an experiment to switch menu labels that use 'Save as...' to "
1475 "'Download'.";
1476
1477const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1478const char kSavePageAsMhtmlDescription[] =
1479 "Enables saving pages as MHTML: a single text file containing HTML and all "
1480 "sub-resources.";
1481
Nate Chapin9638e7102017-09-20 22:11:011482const char kSavePreviousDocumentResourcesName[] =
1483 "Save Previous Document Resources";
1484const char kSavePreviousDocumentResourcesDescription[] =
1485 "Saves an old document's cached resources until the specified point in the "
1486 "next document's lifecycle.";
1487const char kSavePreviousDocumentResourcesNever[] =
1488 "Don't explicitly save resources";
1489const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1490 "Save resources until onDOMContentLoaded completes";
1491const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1492 "Save resources until onload completes";
1493
Brett Wilsonecb80982017-07-12 20:34:511494const char kScrollPredictionName[] = "Scroll prediction";
1495const char kScrollPredictionDescription[] =
1496 "Predicts the finger's future position during scrolls allowing time to "
1497 "render the frame before the finger is there.";
1498
1499const char kSecondaryUiMd[] =
1500 "Material Design in the rest of the browser's native UI";
1501const char kSecondaryUiMdDescription[] =
1502 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1503 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341504 "browser dialogs. If --top-chrome-md is effectively Material Design "
1505 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511506
1507const char kServiceWorkerNavigationPreloadName[] =
1508 "Service worker navigation preload.";
1509const char kServiceWorkerNavigationPreloadDescription[] =
1510 "Enable web pages to use the experimental service worker navigation "
1511 "preload API.";
1512
gogeraldd5061b592017-09-06 23:39:551513const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1514const char kServiceWorkerPaymentAppsDescription[] =
1515 "Enable Service Worker applications to integrate as payment apps";
1516
Makoto Shimazu22078cc2018-02-21 03:01:441517extern const char kServiceWorkerServicificationName[] =
1518 "Servicified service workers";
1519extern const char kServiceWorkerServicificationDescription[] =
1520 "Enable the servicified service workers. A servicified service worker can "
1521 "have direct connection from its clients, so that fetch events can be "
1522 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171523
Tsuyoshi Horobcb1c642017-11-24 16:32:141524const char kServiceWorkerScriptFullCodeCacheName[] =
1525 "Service worker script full code cache.";
1526const char kServiceWorkerScriptFullCodeCacheDescription[] =
1527 "Generate V8 full code cache of Service Worker scripts while installing.";
1528
Brett Wilsonecb80982017-07-12 20:34:511529const char kSettingsWindowName[] = "Show settings in a window";
1530const char kSettingsWindowDescription[] =
1531 "Settings will be shown in a dedicated window instead of as a browser tab.";
1532
Manu Cornetd7ef7c52018-05-01 22:08:231533const char kShelfHoverPreviewsName[] =
1534 "Show previews of running apps when hovering over the shelf.";
1535const char kShelfHoverPreviewsDescription[] =
1536 "Shows previews of the open windows for a given running app when hovering "
1537 "over the shelf.";
1538
Trent Apted750ba7022017-10-23 13:36:251539const char kShowAllDialogsWithViewsToolkitName[] =
1540 "Show all dialogs with Views toolkit";
1541const char kShowAllDialogsWithViewsToolkitDescription[] =
1542 "All browser dialogs will be shown using the Views toolkit rather than "
1543 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1544
Naoki Fukino008a0022018-05-23 18:33:001545const char kShowAndroidFilesInFilesAppName[] =
1546 "Show Android files in Files app";
1547const char kShowAndroidFilesInFilesAppDescription[] =
1548 "Show Android files in Files app if Android is enabled on the device.";
1549
Luciano Pachecof1beaa82018-05-30 04:48:511550const char kFilesAppNewStyleNavigationName[] =
1551 "Use new-style navigation in the Files app";
1552const char kFilesAppNewStyleNavigationDescription[] =
1553 "Enables the new-style navigation in the Files app, which displays a "
1554 R"("My Files" root for Downloads, Linux and Play files)";
1555
Brett Wilsonecb80982017-07-12 20:34:511556const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1557const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381558 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1559 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511560
1561const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1562const char kShowAutofillTypePredictionsDescription[] =
1563 "Annotates web forms with Autofill field type predictions as placeholder "
1564 "text.";
1565
1566const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1567const char kShowOverdrawFeedbackDescription[] =
1568 "Visualize overdraw by color-coding elements based on if they have other "
1569 "elements drawn underneath.";
1570
Carlos IL89128732018-04-03 17:00:251571const char kSupervisedUserCommittedInterstitialsName[] =
1572 "Enable Supervised User Committed Interstitials";
1573const char kSupervisedUserCommittedInterstitialsDescription[] =
1574 "Use committed error pages instead of transient navigation entries for "
1575 "supervised user interstitials";
1576
yiyixbdfa9a0b2017-10-23 22:21:471577const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1578const char kEnableDrawOcclusionDescription[] =
1579 "Enable the system to use draw occlusion to skip draw quads when they are "
1580 "not shown on the screen.";
1581
Brett Wilsonecb80982017-07-12 20:34:511582const char kShowSavedCopyName[] = "Show Saved Copy Button";
1583const char kShowSavedCopyDescription[] =
1584 "When a page fails to load, if a stale copy of the page exists in the "
1585 "browser cache, a button will be presented to allow the user to load that "
1586 "stale copy. The primary enabling choice puts the button in the most "
1587 "salient position on the error page; the secondary enabling choice puts it "
1588 "secondary to the reload button.";
1589const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1590const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1591const char kDisableShowSavedCopy[] = "Disable";
1592
Brett Wilsonecb80982017-07-12 20:34:511593const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1594const char kSilentDebuggerExtensionApiDescription[] =
1595 "Do not show the infobar when an extension attaches to a page via "
1596 "chrome.debugger API. This is required to debug extension background "
1597 "pages.";
1598
Tsuyoshi Horo53895ba92018-03-14 04:06:481599const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1600const char kSignedHTTPExchangeDescription[] =
1601 "Enables Origin-Signed HTTP Exchanges support which is still in "
1602 "development. Warning: Enabling this may pose a security risk.";
1603
Brett Wilsonecb80982017-07-12 20:34:511604const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1605const char kSimpleCacheBackendDescription[] =
1606 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1607 "disk space allocation.";
1608
Christopher Thompson75ff845d2018-02-01 20:12:461609const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1610const char kSimplifyHttpsIndicatorDescription[] =
1611 "Change the UI treatment for HTTPS pages.";
1612
Brett Wilsonecb80982017-07-12 20:34:511613const char kSingleClickAutofillName[] = "Single-click autofill";
1614const char kSingleClickAutofillDescription[] =
1615 "Make autofill suggestions on initial mouse click on a form element.";
1616
Nick Carter855bc492018-03-10 00:44:571617const char kStrictSiteIsolationName[] = "Strict site isolation";
1618const char kStrictSiteIsolationDescription[] =
1619 "Security mode that enables site isolation for all sites. When enabled, "
1620 "each renderer process will contain pages from at most one site, using "
1621 "out-of-process iframes when needed. When enabled, this flag forces the "
1622 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1623 "isolation mode will be determined by enterprise policy or field trial.";
1624
1625const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1626const char kSiteIsolationTrialOptOutDescription[] =
1627 "Opts out of field trials that enable site isolation modes "
1628 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1629 "may be due to out-of-process iframes. Opt-out has no effect if site "
1630 "isolation is force-enabled via #enable-site-per-process or enterprise "
1631 "policy. Caution: this disables important mitigations for the Spectre CPU "
1632 "vulnerability affecting most computers.";
1633extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1634extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1635 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511636
Pattideade7972018-04-27 02:59:401637const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511638const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401639 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511640
Brett Wilsonecb80982017-07-12 20:34:511641const char kSmoothScrollingName[] = "Smooth Scrolling";
1642const char kSmoothScrollingDescription[] =
1643 "Animate smoothly when scrolling page content.";
1644
1645const char kSoftwareRasterizerName[] = "3D software rasterizer";
1646const char kSoftwareRasterizerDescription[] =
1647 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1648
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201649const char kSoleIntegrationName[] = "Sole integration";
1650const char kSoleIntegrationDescription[] =
1651 "Enable Sole integration for browser customization. You must restart "
1652 "the browser twice for changes to take effect.";
1653
Tommy Steimel77704be2017-08-28 22:14:401654const char kSoundContentSettingName[] = "Sound content setting";
1655const char kSoundContentSettingDescription[] =
1656 "Enable site-wide muting in content settings and tab strip context menu.";
1657
Alexandr Ilinf0500ed32017-09-27 21:12:361658const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1659const char kSpeculativePreconnectDescription[] =
1660 "Enable the new implementation of preconnect and DNS preresolve. "
1661 "\"Learning\" means that only database construction is enabled, "
1662 "\"Preconnect\" enables both learning and preconnect and disables the "
1663 "existing implementation. \"No preconnect\" disables both implementations.";
1664
Brett Wilsonecb80982017-07-12 20:34:511665const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341666const char kSpeculativePrefetchDescription[] =
1667 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1668 R"*(load times, based on a local database (see chrome://predictors). )*"
1669 R"*("Learning" means that only the database construction is enabled, )*"
1670 R"*("Prefetching" that learning and prefetching are enabled.)*";
1671
Justin Donnelly4e448cb2017-07-07 21:32:131672const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1673 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131674const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1675 "If enabled, when the user enters text in the omnibox that looks like a "
1676 "a query, any service worker associated with the search engine the query "
1677 "will be sent to is started early.";
1678
Brett Wilsonecb80982017-07-12 20:34:511679const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1680const char kSpellingFeedbackFieldTrialDescription[] =
1681 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401682
Shubhie Panickerfaf082ed2018-01-03 04:49:151683const char kStopInBackgroundName[] = "Stop in background";
1684const char kStopInBackgroundDescription[] =
1685 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281686 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151687
1688const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1689const char kStopLoadingInBackgroundDescription[] =
1690 "Stop loading tasks and loading "
1691 "resources, in the background, after certain grace time.";
1692
Shubhie Panicker56c99a22018-03-21 00:22:281693const char kStopNonTimersInBackgroundName[] =
1694 "Stop non-timer task queues background";
1695const char kStopNonTimersInBackgroundDescription[] =
1696 "Stop non-timer task queues, in the background, "
1697 "after a grace period.";
1698
Brett Wilsonecb80982017-07-12 20:34:511699const char kSuggestionsWithSubStringMatchName[] =
1700 "Substring matching for Autofill suggestions";
1701const char kSuggestionsWithSubStringMatchDescription[] =
1702 "Match Autofill suggestions based on substrings (token prefixes) rather "
1703 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341704
Brett Wilsonecb80982017-07-12 20:34:511705const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1706const char kSyncSandboxDescription[] =
1707 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341708
Joe Downing8cbbc192018-05-14 17:37:071709const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1710const char kSystemKeyboardLockDescription[] =
1711 "Enables websites to use the keyboard.lock() API to intercept system "
1712 "keyboard shortcuts and have the events routed directly to the website "
1713 "when in fullscreen mode.";
1714
Brett Wilsonecb80982017-07-12 20:34:511715const char kTabAudioMutingName[] = "Tab audio muting UI control";
1716const char kTabAudioMutingDescription[] =
1717 "When enabled, the audio indicators in the tab strip double as tab audio "
1718 "mute controls. This also adds commands in the tab context menu for "
1719 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341720
Christian Dullweberd0d96f02017-09-13 09:22:511721const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1722const char kTabsInCbdDescription[] =
1723 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1724
Becky Zhou99c22802017-10-19 05:09:271725const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1726const char kTabModalJsDialogDescription[] =
1727 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1728 " tab.";
1729
Brett Wilsonecb80982017-07-12 20:34:511730const char kTcpFastOpenName[] = "TCP Fast Open";
1731const char kTcpFastOpenDescription[] =
1732 "Enable the option to send extra authentication information in the initial "
1733 "SYN packet for a previously connected client, allowing faster data send "
1734 "start.";
vabr0215a8e2017-03-28 12:47:341735
Daniele Castagna0fead93e2018-01-10 20:40:291736const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1737const char kTintGlCompositedContentDescription[] =
1738 "Tint contents composited using GL with a shade of red to help debug and "
1739 "study overlay support.";
1740
Brett Wilsonecb80982017-07-12 20:34:511741const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1742const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581743 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401744 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431745 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341746 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541747 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511748const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531749const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461750const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581751const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401752const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431753const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341754
Brett Wilsonecb80982017-07-12 20:34:511755const char kThreadedScrollingName[] = "Threaded scrolling";
1756const char kThreadedScrollingDescription[] =
1757 "Threaded handling of scroll-related input events. Disabling this will "
1758 "force all such scroll events to be handled on the main thread. Note that "
1759 "this can dramatically hurt scrolling performance of most websites and is "
1760 "intended for testing purposes only.";
1761
Steven Valdez4584b2482017-07-14 01:11:571762const char kTLS13VariantName[] = "TLS 1.3";
1763const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1764const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111765const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041766const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381767const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571768
Brett Wilsonecb80982017-07-12 20:34:511769const char kTopDocumentIsolationName[] = "Top document isolation";
1770const char kTopDocumentIsolationDescription[] =
1771 "Highly experimental performance mode where cross-site iframes are kept in "
1772 "a separate process from the top document. In this mode, iframes from "
1773 "different third-party sites will be allowed to share a process.";
1774
Dominick Ng8896b1cd2017-10-17 23:24:361775const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1776const char kTopSitesFromSiteEngagementDescription[] =
1777 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1778 "engagement.";
1779
Brett Wilsonecb80982017-07-12 20:34:511780const char kTouchAdjustmentName[] = "Touch adjustment";
1781const char kTouchAdjustmentDescription[] =
1782 "Refine the position of a touch gesture in order to compensate for touches "
1783 "having poor resolution compared to a mouse.";
1784
Alex Newcomerb3d3c972018-05-03 14:59:401785const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1786const char kTouchableAppContextMenuDescription[] =
1787 "Enable the touchable app context menu, which enlarges app context menus "
1788 "in the Launcher and Shelf to make room for new features.";
1789
Brett Wilsonecb80982017-07-12 20:34:511790const char kTouchDragDropName[] = "Touch initiated drag and drop";
1791const char kTouchDragDropDescription[] =
1792 "Touch drag and drop can be initiated through long press on a draggable "
1793 "element.";
1794
1795const char kTouchEventsName[] = "Touch Events API";
1796const char kTouchEventsDescription[] =
1797 "Force Touch Events API feature detection to always be enabled or "
1798 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291799 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511800
1801const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1802const char kTouchSelectionStrategyDescription[] =
1803 "Controls how text selection granularity changes when touch text selection "
1804 "handles are dragged. Non-default behavior is experimental.";
1805const char kTouchSelectionStrategyCharacter[] = "Character";
1806const char kTouchSelectionStrategyDirection[] = "Direction";
1807
1808const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1809const char kTraceUploadUrlDescription[] =
1810 "This is to be used in conjunction with the enable-navigation-tracing "
1811 "flag. Please select the label that best describes the recorded traces. "
1812 "This will choose the destination the traces are uploaded to. If you are "
1813 "not sure, select other. If left empty, no traces will be uploaded.";
1814const char kTraceUploadUrlChoiceOther[] = "Other";
1815const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1816const char kTraceUploadUrlChoiceQa[] = "QA";
1817const char kTraceUploadUrlChoiceTesting[] = "Testing";
1818
Anthony Vallee-Dubois265c5692018-06-01 15:57:141819const char kTranslateForceTriggerOnEnglishName[] =
1820 "Select which language model to use to trigger translate on English "
1821 "content";
1822const char kTranslateForceTriggerOnEnglishDescription[] =
1823 "Force the Translate Triggering on English pages experiment to be enabled "
1824 "with the selected language model active.";
1825
Philippe Hamel7fdaa452017-09-29 17:22:491826const char kTranslateRankerEnforcementName[] =
1827 "Enforce TranslateRanker decisions";
1828const char kTranslateRankerEnforcementDescription[] =
1829 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1830 "or not Translate UI should be triggered in a given context.";
1831
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161832const char kTranslateUIName[] = "Enable Translate";
1833const char kTranslateUIDescription[] =
1834 "Enable the Translate popup when visiting webpages in other languages.";
1835
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051836const char kTreatInsecureOriginAsSecureName[] =
1837 "Insecure origins treated as secure";
1838const char kTreatInsecureOriginAsSecureDescription[] =
1839 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1840 "supplied as a comma-separated list. For the definition of secure "
1841 "contexts, "
1842 "see https://w3c.github.io/webappsec-secure-contexts/";
1843
Brett Wilsonecb80982017-07-12 20:34:511844const char kTrySupportedChannelLayoutsName[] =
1845 "Causes audio output streams to check if channel layouts other than the "
1846 "default hardware layout are available.";
1847const char kTrySupportedChannelLayoutsDescription[] =
1848 "Causes audio output streams to check if channel layouts other than the "
1849 "default hardware layout are available. Turning this on will allow the OS "
1850 "to do stereo to surround expansion if supported. May expose third party "
1851 "driver bugs, use with caution.";
1852
David Roger6762a092018-01-31 15:55:071853const char kUnifiedConsentName[] = "Unified Consent";
1854const char kUnifiedConsentDescription[] =
1855 "Enables a unified management of user consent for privacy-related "
1856 "features. This includes new confirmation screens and improved settings "
1857 "pages.";
1858
Brett Wilsonecb80982017-07-12 20:34:511859const char kUiPartialSwapName[] = "Partial swap";
1860const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1861
Chris Pickel3a227ae62017-08-24 10:47:261862const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1863const char kUseDdljsonApiDescription[] =
1864 "Enables the new ddljson API to fetch Doodles for the NTP.";
1865
Becca Hughes59c05b42017-11-03 13:11:581866const char kUseModernMediaControlsName[] = "New Media Controls";
1867const char kUseModernMediaControlsDescription[] =
1868 "Enables the new style native media controls.";
1869
Wei Li790e7a8572018-03-23 01:31:551870const char kUsePdfCompositorServiceName[] =
1871 "Use PDF compositor service for printing";
1872const char kUsePdfCompositorServiceDescription[] =
1873 "When enabled, use PDF compositor service to composite and generate PDF "
1874 "files for printing. When site isolation is enabled, disabling this will "
1875 "not stop using PDF compositor service since the service is required for "
1876 "printing out-of-process iframes correctly.";
1877
Mustaq Ahmedc646c0a2017-10-20 20:08:301878const char kUserActivationV2Name[] = "User Activation v2";
1879const char kUserActivationV2Description[] =
1880 "Enable simple user activation for APIs that are otherwise controlled by "
1881 "user gesture tokens.";
1882
Brett Wilsonecb80982017-07-12 20:34:511883const char kUserConsentForExtensionScriptsName[] =
1884 "User consent for extension scripts";
1885const char kUserConsentForExtensionScriptsDescription[] =
1886 "Require user consent for an extension running a script on the page, if "
1887 "the extension requested permission to run on all urls.";
1888
1889const char kUseSuggestionsEvenIfFewFeatureName[] =
1890 "Disable minimum for server-side tile suggestions on NTP.";
1891const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1892 "Request server-side suggestions even if there are only very few of them "
1893 "and use them for tiles on the New Tab Page.";
1894
1895const char kV8CacheOptionsName[] = "V8 caching mode.";
1896const char kV8CacheOptionsDescription[] =
1897 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511898const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1899
Hitoshi Yoshida3e5db562017-09-11 02:31:081900const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1901const char kV8ContextSnapshotDescription[] =
1902 "Sets to use a snapshot to create V8 contexts in frame creation.";
1903
Michael Hablich896d52662017-10-23 15:59:571904const char kV8VmFutureName[] = "Future V8 VM features";
1905const char kV8VmFutureDescription[] =
1906 "This enables upcoming and experimental V8 VM features. "
1907 "This flag does not enable experimental JavaScript features.";
1908
Hannes Payer1130d5672018-06-05 07:37:311909const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1910const char kV8OrinocoDescription[] =
1911 "This enables the V8 Orinoco garbage collection features.";
1912
Brett Wilsonecb80982017-07-12 20:34:511913const char kVideoFullscreenOrientationLockName[] =
1914 "Lock screen orientation when playing a video fullscreen.";
1915const char kVideoFullscreenOrientationLockDescription[] =
1916 "Lock the screen orientation of the device to match video orientation when "
1917 "a video goes fullscreen. Only on phones.";
1918
1919const char kVideoRotateToFullscreenName[] =
1920 "Rotate-to-fullscreen gesture for videos.";
1921const char kVideoRotateToFullscreenDescription[] =
1922 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1923 "the video. Only on phones.";
1924
Elly Fong-Jonesf4c79502018-03-23 19:21:531925const char kViewsBrowserWindowsName[] =
1926 "Use Views browser windows instead of Cocoa.";
1927const char kViewsBrowserWindowsDescription[] =
1928 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1929
Brett Wilsonecb80982017-07-12 20:34:511930const char kWalletServiceUseSandboxName[] =
1931 "Use Google Payments sandbox servers";
1932const char kWalletServiceUseSandboxDescription[] =
1933 "For developers: use the sandbox service for Google Payments API calls.";
1934
Brett Wilsonecb80982017-07-12 20:34:511935const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1936const char kWebglDraftExtensionsDescription[] =
1937 "Enabling this option allows web applications to access the WebGL "
1938 "Extensions that are still in draft status.";
1939
1940const char kWebMidiName[] = "Web MIDI API";
1941const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1942
1943const char kWebPaymentsName[] = "Web Payments";
1944const char kWebPaymentsDescription[] =
1945 "Enable Web Payments API integration, a JavaScript API for merchants.";
1946
Mathieu Perreault51339b82017-07-20 17:06:051947const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1948const char kWebPaymentsModifiersDescription[] =
1949 "If the website provides modifiers in the payment request, show the custom "
1950 "total for each payment instrument, update the shopping cart when "
1951 "instruments are switched, and send modified payment method specific data "
1952 "to the payment app.";
1953
Brett Wilsonecb80982017-07-12 20:34:511954const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1955const char kWebrtcEchoCanceller3Description[] =
1956 "Experimental WebRTC echo canceller (AEC3).";
1957
1958const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1959const char kWebrtcHwDecodingDescription[] =
1960 "Support in WebRTC for decoding video streams using platform hardware.";
1961
1962const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1963const char kWebrtcHwEncodingDescription[] =
1964 "Support in WebRTC for encoding video streams using platform hardware.";
1965
1966const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1967const char kWebrtcHwH264EncodingDescription[] =
1968 "Support in WebRTC for encoding h264 video streams using platform "
1969 "hardware.";
1970
1971const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1972const char kWebrtcHwVP8EncodingDescription[] =
1973 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1974
Niels Möller090866a2018-02-13 10:55:031975const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1976 "WebRTC new encode cpu load estimator";
1977const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1978 "Enable new estimator for the encoder cpu load, for evaluation and "
1979 "testing. Intended to improve accuracy when screen casting.";
1980
Elad Alon85e0d0be2018-06-26 10:38:371981const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1982const char kWebRtcRemoteEventLogDescription[] =
1983 "Allow collecting WebRTC event logs and uploading them to Crash. "
1984 "Please note that, even if enabled, this will still require "
1985 "a policy to be set, for it to have an effect.";
1986
Brett Wilsonecb80982017-07-12 20:34:511987const char kWebrtcSrtpAesGcmName[] =
1988 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1989const char kWebrtcSrtpAesGcmDescription[] =
1990 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1991
Joachim Bauch4a41d7512017-08-23 14:24:231992const char kWebrtcSrtpEncryptedHeadersName[] =
1993 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1994const char kWebrtcSrtpEncryptedHeadersDescription[] =
1995 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1996 "for SRTP.";
1997
Brett Wilsonecb80982017-07-12 20:34:511998const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1999const char kWebrtcStunOriginDescription[] =
2000 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2001 "header.";
2002
Adam Riceed63fc02018-06-20 05:57:462003const char kWebSocketHandshakeReuseConnectionName[] =
2004 "Enable WebSocket connection reuse for authentication";
2005const char kWebSocketHandshakeReuseConnectionDescription[] =
2006 "Permits the WebSocket handshake to keep the connection open after an "
2007 "authentication failure. The connection may be used for further requests "
2008 "to send credentials. This is sometimes needed for Windows authentication.";
2009
Brett Wilsonecb80982017-07-12 20:34:512010const char kWebvrName[] = "WebVR";
2011const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012012 "Enables access to experimental Virtual Reality functionality via the "
2013 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2014 "Device API. Warning: Enabling this will also allow WebVR content on "
2015 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222016 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512017
Brandon Jonese9d9b2b2017-12-11 22:20:112018const char kWebXrName[] = "WebXR Device API";
2019const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012020 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2021 "and Augmented Reality (AR) devices.";
2022
2023const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2024const char kWebXrGamepadSupportDescription[] =
2025 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222026 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2027 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432028
2029const char kWebXrHitTestName[] = "WebXR Hit Test";
2030const char kWebXrHitTestDescription[] =
2031 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112032
Anna Maria57ecf7592018-01-12 03:10:402033const char kWebXrOrientationSensorDeviceName[] =
2034 "WebXR orientation sensor device";
2035const char kWebXrOrientationSensorDeviceDescription[] =
2036 "When no VR platform device is available, expose a non-presenting device "
2037 "based on the device's orientation sensors, if available.";
2038
Brett Wilsonecb80982017-07-12 20:34:512039const char kWifiCredentialSyncName[] = "WiFi credential sync";
2040const char kWifiCredentialSyncDescription[] =
2041 "Enables synchronizing WiFi network settings across devices. When enabled, "
2042 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2043 "credentials are synchronized subject to user preferences. (See also, "
2044 "chrome://settings/syncSetup.)";
2045
2046const char kZeroCopyName[] = "Zero-copy rasterizer";
2047const char kZeroCopyDescription[] =
2048 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342049
Brett Wilsonff596952017-07-14 01:06:552050// Android ---------------------------------------------------------------------
2051
2052#if defined(OS_ANDROID)
2053
2054const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2055const char kAiaFetchingDescription[] =
2056 "Enable intermediate certificate fetching when a server does not provide "
2057 "sufficient certificates to build a chain to a trusted root.";
2058
2059const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2060const char kAccessibilityTabSwitcherDescription[] =
2061 "Enable the accessibility tab switcher for Android.";
2062
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252063const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2064const char kAllowReaderForAccessibilityDescription[] =
2065 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2066
Brett Wilsonff596952017-07-14 01:06:552067const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2068const char kAndroidAutofillAccessibilityDescription[] =
2069 "Enable accessibility for autofill popup.";
2070
2071const char kAndroidPaymentAppsName[] = "Android payment apps";
2072const char kAndroidPaymentAppsDescription[] =
2073 "Enable third party Android apps to integrate as payment apps";
2074
Miriam Gershenson8cf1397222018-01-23 22:48:292075const char kAsyncDnsName[] = "Async DNS resolver";
2076const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2077
Brett Wilsonff596952017-07-14 01:06:552078const char kAutofillAccessoryViewName[] =
2079 "Autofill suggestions as keyboard accessory view";
2080const char kAutofillAccessoryViewDescription[] =
2081 "Shows Autofill suggestions on top of the keyboard rather than in a "
2082 "dropdown.";
2083
2084const char kBackgroundLoaderForDownloadsName[] =
2085 "Enables background downloading of pages.";
2086const char kBackgroundLoaderForDownloadsDescription[] =
2087 "Enables downloading pages in the background in case page is not yet "
2088 "loaded in current tab.";
2089
Tibor Goldschwendt11b3cf22018-07-04 15:32:442090const char kBackgroundTaskComponentUpdateName[] =
2091 "Background Task Component Updates";
2092const char kBackgroundTaskComponentUpdateDescription[] =
2093 "Schedule component updates with BackgroundTaskScheduler";
2094
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002095const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2096const char kCCTModuleDescription[] =
2097 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2098
Matthew Jones1abcb132018-07-09 17:59:462099const char kChromeDuetName[] = "Chrome Duet";
2100const char kChromeDuetDescription[] =
2101 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052102
Brett Wilsonff596952017-07-14 01:06:552103const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2104const char kChromeHomeSwipeLogicDescription[] =
2105 "Various swipe logic options for Chrome Home for sheet expansion.";
2106const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152107const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552108
Theresa8e44a7132018-06-15 17:40:592109const char kChromeModernAlternateCardLayoutName[] =
2110 "Chrome Modern Alternate Card Layout";
2111const char kChromeModernAlternateCardLayoutDescription[] =
2112 "Enable the alternate card layout for Chrome Modern Design.";
2113
Matthew Jones5b7f1d62018-01-23 00:37:252114const char kChromeModernDesignName[] = "Chrome Modern Design";
2115const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452116 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2117 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252118
Donn Denman3e78c8d2018-06-28 22:51:422119const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2120const char kChromeModernFullRollDescription[] =
2121 "Enable modern full-roll animation for Chrome.";
2122
Megan Jablonskic61eb1b82017-10-02 18:03:062123const char kChromeMemexName[] = "Chrome Memex";
2124const char kChromeMemexDescription[] =
2125 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2126 "Googlers.";
2127
Sarath Singapati83aef1c2017-11-16 15:54:522128const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2129const char kClearOldBrowsingDataDescription[] =
2130 "Enables clearing of browsing data which is older than a given time "
2131 "period.";
2132
Brett Wilsonff596952017-07-14 01:06:552133const char kContentSuggestionsCategoryOrderName[] =
2134 "Default content suggestions category order (e.g. on NTP)";
2135const char kContentSuggestionsCategoryOrderDescription[] =
2136 "Set default order of content suggestion categories (e.g. on the NTP).";
2137
2138const char kContentSuggestionsCategoryRankerName[] =
2139 "Content suggestions category ranker (e.g. on NTP)";
2140const char kContentSuggestionsCategoryRankerDescription[] =
2141 "Set category ranker to order categories of content suggestions (e.g. on "
2142 "the NTP).";
2143
Vitalii Iarkof52ff802017-09-14 12:34:242144const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2145const char kContentSuggestionsDebugLogDescription[] =
2146 "Enable content suggestions debug log accessible through "
2147 "snippets-internals.";
2148
Donn Denman8e58ead2017-11-04 01:44:012149const char kContextualSearchMlTapSuppressionName[] =
2150 "Contextual Search ML tap suppression";
2151const char kContextualSearchMlTapSuppressionDescription[] =
2152 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022153 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2154 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552155
2156const char kContextualSearchName[] = "Contextual Search";
2157const char kContextualSearchDescription[] =
2158 "Whether or not Contextual Search is enabled.";
2159
Donn Denman59729812018-01-09 01:27:022160const char kContextualSearchRankerQueryName[] =
2161 "Contextual Search Ranker prediction";
2162const char kContextualSearchRankerQueryDescription[] =
2163 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2164
2165const char kContextualSearchSecondTapName[] =
2166 "Contextual Search second tap triggering";
2167const char kContextualSearchSecondTapDescription[] =
2168 "Enables triggering on a second tap gesture even when Ranker would "
2169 "normally suppress that tap.";
2170
Cathy Li2fb32bf82018-06-06 18:55:402171const char kExploreSitesName[] = "Explore websites";
2172const char kExploreSitesDescription[] =
2173 "Enables portal from new tab page to explore websites.";
2174
Dmitry Skiba9c3efa72017-07-20 22:01:142175const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2176const char kDontPrefetchLibrariesDescription[] =
2177 "Don't prefetch libraries after loading.";
2178
Joy Ming5fd29ca62017-10-02 22:51:222179const char kDownloadsForegroundName[] = "Enable downloads foreground";
2180const char kDownloadsForegroundDescription[] =
2181 "Enable downloads as a foreground service for all versions of Android.";
2182
Joy Ming189b0cc2017-12-08 19:42:432183const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2184const char kDownloadsLocationChangeDescription[] =
2185 "Enable changing default downloads storage location on Android.";
2186
Shakti Sahu32b2ee102018-05-17 00:04:462187const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2188const char kDownloadProgressInfoBarDescription[] =
2189 "Enables an infobar notifying users about status of current downloads.";
2190
Brett Wilsonff596952017-07-14 01:06:552191const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2192const char kEnableAndroidPayIntegrationV1Description[] =
2193 "Enable integration with Android Pay using the first version of the API";
2194
2195const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2196const char kEnableAndroidPayIntegrationV2Description[] =
2197 "Enable integration with Android Pay using the second version of the API";
2198
Vitalii Iarkof4ed32d2017-09-26 13:15:532199const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552200const char kEnableAndroidSpellcheckerDescription[] =
2201 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552202
Lei Tianbd5a3bf2018-02-28 19:01:162203const char kEnableCommandLineOnNonRootedName[] =
2204 "Enable command line on non-rooted devices";
2205const char kEnableCommandLineOnNoRootedDescription[] =
2206 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2207
Vitalii Iarkof4ed32d2017-09-26 13:15:532208const char kEnableContentSuggestionsNewFaviconServerName[] =
2209 "Get favicons for content suggestions from a new server.";
2210const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2211 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2212 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552213
2214const char kEnableContentSuggestionsSettingsName[] =
2215 "Show content suggestions settings.";
2216const char kEnableContentSuggestionsSettingsDescription[] =
2217 "If enabled, the content suggestions settings will be available from the "
2218 "main settings menu.";
2219
Vitalii Iarkof4ed32d2017-09-26 13:15:532220const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2221 "Use content suggestions thumbnail dominant color.";
2222const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2223 "Use content suggestions thumbnail dominant color as a placeholder before "
2224 "the real thumbnail is fetched (requires Chrome Home).";
2225
Brett Wilsonff596952017-07-14 01:06:552226const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2227const char kEnableCustomContextMenuDescription[] =
2228 "Enables a new context menu when a link, image, or video is pressed within "
2229 "Chrome.";
2230
2231const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2232const char kEnableCustomFeedbackUiDescription[] =
2233 "Enables a custom feedback UI when submitting feedback through Google "
2234 "Feedback. Works with Google Play Services v10.2+";
2235
2236const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472237 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552238const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472239 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552240
Becca Hughes6d73bac542018-06-18 20:38:502241const char kEnableMediaControlsExpandGestureName[] =
2242 "Enable Media Controls Expand Gesture";
2243const char kEnableMediaControlsExpandGestureDescription[] =
2244 "Enables a gesture to be used on the media controls to extend the video "
2245 "into the Display Cutout area.";
2246
Brett Wilsonff596952017-07-14 01:06:552247const char kEnableOmniboxClipboardProviderName[] =
2248 "Omnibox clipboard URL suggestions";
2249const char kEnableOmniboxClipboardProviderDescription[] =
2250 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2251 "focus in the omnibox.";
2252
Becky Zhoua7f11d62018-02-01 16:02:532253const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2254 "Show article suggestions expandable header on New Tab Page";
2255const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2256 "If enabled, the article suggestions content on New Tab Page can be "
2257 "toggled shown or hidden by clicking the expandable header.";
2258
Brett Wilsonff596952017-07-14 01:06:552259const char kEnableNtpAssetDownloadSuggestionsName[] =
2260 "Show asset downloads on the New Tab page";
2261const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2262 "If enabled, the list of content suggestions on the New Tab page will "
2263 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2264 "later use.";
2265
2266const char kEnableNtpBookmarkSuggestionsName[] =
2267 "Show recently visited bookmarks on the New Tab page";
2268const char kEnableNtpBookmarkSuggestionsDescription[] =
2269 "If enabled, the list of content suggestions on the New Tab page will "
2270 "contain recently visited bookmarks.";
2271
2272const char kEnableNtpForeignSessionsSuggestionsName[] =
2273 "Show recent foreign tabs on the New Tab page";
2274const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2275 "If enabled, the list of content suggestions on the New Tab page will "
2276 "contain recent foreign tabs.";
2277
Brett Wilsonff596952017-07-14 01:06:552278const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2279 "Show offline page downloads on the New Tab page";
2280const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2281 "If enabled, the list of content suggestions on the New Tab page will "
2282 "contain pages that the user downloaded for later use.";
2283
2284const char kEnableNtpRemoteSuggestionsName[] =
2285 "Show server-side suggestions on the New Tab page";
2286const char kEnableNtpRemoteSuggestionsDescription[] =
2287 "If enabled, the list of content suggestions on the New Tab page will "
2288 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2289 "allows to override the source used to retrieve these server-side "
2290 "suggestions.";
2291
2292const char kEnableNtpSnippetsVisibilityName[] =
2293 "Make New Tab Page Snippets more visible.";
2294const char kEnableNtpSnippetsVisibilityDescription[] =
2295 "If enabled, the NTP snippets will become more discoverable with a larger "
2296 "portion of the first card above the fold.";
2297
2298const char kEnableNtpSuggestionsNotificationsName[] =
2299 "Notify about new content suggestions available at the New Tab page";
2300const char kEnableNtpSuggestionsNotificationsDescription[] =
2301 "If enabled, notifications will inform about new content suggestions on "
2302 "the New Tab page.";
2303
Brett Wilsonff596952017-07-14 01:06:552304const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2305const char kEnableOfflinePreviewsDescription[] =
2306 "Enable showing offline page previews on slow networks.";
2307
2308const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2309const char kEnableOskOverscrollDescription[] =
2310 "Enable OSK overscroll support. With this flag on, the OSK will only "
2311 "resize the visual viewport.";
2312
2313const char kEnableSpecialLocaleName[] =
2314 "Enable custom logic for special locales.";
2315const char kEnableSpecialLocaleDescription[] =
2316 "Enable custom logic for special locales. In this mode, Chrome might "
2317 "behave differently in some locales.";
2318
Brett Wilsonff596952017-07-14 01:06:552319const char kEnableWebNfcName[] = "WebNFC";
2320const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2321
gogeraldf3cbb422017-07-26 14:37:122322const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2323 "Enable Web Payments method section order V2.";
2324const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2325 "Enable this option to display payment method section above address "
2326 "section instead of below it.";
2327
Raymes Khoury582b43132017-12-12 23:54:302328const char kGrantNotificationsToDSEName[] =
2329 "Grant notifications to the Default Search Engine";
2330const char kGrantNotificationsToDSENameDescription[] =
2331 "Automatically grant the notifications permission to the Default Search "
2332 "Engine";
2333
Daniel Parke74fcf862018-03-27 18:05:452334const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512335const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452336
Theresa920e0ed2018-03-07 18:12:442337const char kInterestFeedContentSuggestionsDescription[] =
2338 "Use the interest feed to render content suggestions. Currently content "
2339 "suggestions are shown on the New Tab Page.";
2340const char kInterestFeedContentSuggestionsName[] =
2341 "Interest Feed Content Suggestions";
2342
Brett Wilsonff596952017-07-14 01:06:552343const char kKeepPrefetchedContentSuggestionsName[] =
2344 "Keep prefetched content suggestions";
2345const char kKeepPrefetchedContentSuggestionsDescription[] =
2346 "If enabled, some of prefetched content suggestions are not replaced by "
2347 "the new fetched suggestions.";
2348
Leo Zhang051b75482017-12-20 03:28:302349const char kLanguagesPreferenceName[] = "Language Settings";
2350const char kLanguagesPreferenceDescription[] =
2351 "Enable this option for Language Settings feature on Android.";
2352
Brett Wilsonff596952017-07-14 01:06:552353const char kLsdPermissionPromptName[] =
2354 "Location Settings Dialog Permission Prompt";
2355const char kLsdPermissionPromptDescription[] =
2356 "Whether to use the Google Play Services Location Settings Dialog "
2357 "permission dialog.";
2358
Amirhossein Simjour97b4154f2018-02-20 03:49:592359const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2360const char kModalPermissionDialogViewDescription[] =
2361 "Enable this option to use ModalDialogManager for permission Dialogs.";
2362
Brett Wilsonff596952017-07-14 01:06:552363const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2364const char kMediaScreenCaptureDescription[] =
2365 "Enable this option for experimental ScreenCapture feature on Android.";
2366
2367const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2368const char kModalPermissionPromptsDescription[] =
2369 "Whether to use permission dialogs in place of permission infobars.";
2370
Finnur Thorarinssonc1488fc62018-07-09 19:21:572371const char kNewContactsPickerName[] = "Enable new contacts picker";
2372const char kNewContactsPickerDescription[] =
2373 "Activates the new picker for selecting contacts.";
2374
Brett Wilsonff596952017-07-14 01:06:552375const char kNewPhotoPickerName[] = "Enable new Photopicker";
2376const char kNewPhotoPickerDescription[] =
2377 "Activates the new picker for selecting photos.";
2378
2379const char kNoCreditCardAbort[] = "No Credit Card Abort";
2380const char kNoCreditCardAbortDescription[] =
2381 "Whether or not the No Credit Card Abort is enabled.";
2382
Daniel Park990d0992018-05-18 22:12:512383const char kNtpButtonName[] = "Enable NTP Button";
2384const char kNtpButtonDescription[] =
2385 "Displays a New Tab Page button in the toolbar if enabled.";
2386
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062387const char kNtpModernLayoutName[] = "Modern NTP layout";
2388const char kNtpModernLayoutDescription[] =
2389 "Show a modern layout on the New Tab Page.";
2390
Brett Wilsonff596952017-07-14 01:06:552391const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2392const char kNtpGoogleGInOmniboxDescription[] =
2393 "Show a Google G in the omnibox on the New Tab Page.";
2394
Brett Wilsonff596952017-07-14 01:06:552395const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2396const char kOfflineBookmarksDescription[] =
2397 "Enable saving bookmarked pages for offline viewing.";
2398
Jian Li1413ebf2018-06-14 20:46:322399const char kOfflineIndicatorName[] = "Enable offline indicator";
2400const char kOfflineIndicatorDescription[] =
2401 "Enable showing offline indicator while offline.";
2402
Brett Wilsonff596952017-07-14 01:06:552403const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2404const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2405
2406const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2407const char kOfflinePagesCtV2Description[] =
2408 "V2 features include attributing pages to the app that initiated the "
2409 "custom tabs, and being able to query for pages by page attribution.";
2410
Cathy Li7311d792018-04-05 00:34:162411const char kOfflinePagesCTSuppressNotificationsName[] =
2412 "Disable download complete notification for whitelisted CCT apps.";
2413const char kOfflinePagesCTSuppressNotificationsDescription[] =
2414 "Disable download complete notification for page downloads originating "
2415 "from a CCT app whitelisted to show their own download complete "
2416 "notification.";
2417
Candice Sy74fa7a352018-03-30 23:46:492418const char kOfflinePagesDescriptiveFailStatusName[] =
2419 "Enables descriptive failed download status text.";
2420const char kOfflinePagesDescriptiveFailStatusDescription[] =
2421 "Enables failed download status text in notifications and Downloads Home "
2422 "to state the reason the request failed if the failure is actionable.";
2423
2424const char kOfflinePagesDescriptivePendingStatusName[] =
2425 "Enables descriptive pending download status text.";
2426const char kOfflinePagesDescriptivePendingStatusDescription[] =
2427 "Enables pending download status text in notifications and Downloads Home "
2428 "to state the reason the request is pending.";
2429
2430const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2431 "Enables offline pages in the downloads home to be opened in CCT.";
2432const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2433 "When enabled offline pages launched from the Downloads Home will be "
2434 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2435
Carlos Knippschild09272ecd2017-12-09 03:29:362436const char kOfflinePagesLimitlessPrefetchingName[] =
2437 "Removes resource usage limits for the prefetching of offline pages.";
2438const char kOfflinePagesLimitlessPrefetchingDescription[] =
2439 "Allows the prefetching of suggested offline pages to ignore resource "
2440 "usage limits. This allows it to completely ignore data usage limitations "
2441 "and allows downloads to happen with any kind of connection.";
2442
Brett Wilsonff596952017-07-14 01:06:552443const char kOfflinePagesLoadSignalCollectingName[] =
2444 "Enables collecting load timing data for offline page snapshots.";
2445const char kOfflinePagesLoadSignalCollectingDescription[] =
2446 "Enables loading completeness data collection while writing an offline "
2447 "page. This data is collected in the snapshotted offline page to allow "
2448 "data analysis to improve deciding when to make the offline snapshot.";
2449
2450const char kOfflinePagesPrefetchingName[] =
2451 "Enables suggested offline pages to be prefetched.";
2452const char kOfflinePagesPrefetchingDescription[] =
2453 "Enables suggested offline pages to be prefetched, so useful content is "
2454 "available while offline.";
2455
Cathy Li3d5379e2017-09-07 00:11:092456const char kOfflinePagesPrefetchingUIName[] =
2457 "Enables prefetched offline pages to be shown in UI.";
2458const char kOfflinePagesPrefetchingUIDescription[] =
2459 "Enables prefetched offline pages to raise notifications and be shown in "
2460 "download home UI.";
2461
Pete Williamson7845dff2017-09-20 11:06:192462const char kOfflinePagesResourceBasedSnapshotName[] =
2463 "Enables offline page snapshots to be based on percentage of page loaded.";
2464const char kOfflinePagesResourceBasedSnapshotDescription[] =
2465 "Enables offline page snapshots to use a resource percentage based "
2466 "approach for determining when the page is loaded as opposed to a time "
2467 "based approach";
2468
Collin Baker17f92a52017-07-19 21:41:252469const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2470const char kOfflinePagesRenovationsDescription[] =
2471 "Enables offline page renovations which correct issues with dynamic "
2472 "content that occur when offlining pages that use JavaScript.";
2473
Brett Wilsonff596952017-07-14 01:06:552474const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2475const char kOfflinePagesSharingDescription[] =
2476 "Enables the saved offline pages to be shared via other applications.";
2477
Cathy Lie0d88762018-04-12 08:03:012478const char kOfflinePagesShowAlternateDinoPageName[] =
2479 "Enable alternate dino page with more user capabilities.";
2480const char kOfflinePagesShowAlternateDinoPageDescription[] =
2481 "Enables the dino page to show more buttons and offer existing offline "
2482 "content.";
2483
Brett Wilsonff596952017-07-14 01:06:552484const char kOfflinePagesSvelteConcurrentLoadingName[] =
2485 "Enables concurrent background loading on svelte.";
2486const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2487 "Enables concurrent background loading (or downloading) of pages on "
2488 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2489 "happen when the svelte device is idle.";
2490
2491const char kOffliningRecentPagesName[] =
2492 "Enable offlining of recently visited pages";
2493const char kOffliningRecentPagesDescription[] =
2494 "Enable storing recently visited pages locally for offline use. Requires "
2495 "Offline Pages to be enabled.";
2496
Lei Zhang2eca9082017-10-17 20:42:502497const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2498const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552499 "Enable Pay with Google integration into Web Payments with API version "
2500 "'1'.";
2501
Matthew Jonesa88b95852017-11-08 23:13:502502const char kProgressBarThrottleName[] = "Android progress update throttling.";
2503const char kProgressBarThrottleDescription[] =
2504 "Limit the maximum progress update to make progress appear smoother.";
2505
Brett Wilsonff596952017-07-14 01:06:552506const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2507const char kPullToRefreshEffectDescription[] =
2508 "Page reloads triggered by vertically overscrolling content.";
2509
Piotr Swigon7c296ef2017-08-29 04:32:002510const char kPwaImprovedSplashScreenName[] =
2511 "Improved Splash Screen for standalone PWAs";
2512const char kPwaImprovedSplashScreenDescription[] =
2513 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2514 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492515const char kPwaPersistentNotificationName[] =
2516 "Persistent notification in standalone PWA";
2517const char kPwaPersistentNotificationDescription[] =
2518 "Enables a persistent Android notification for standalone PWAs";
2519
Brett Wilsonff596952017-07-14 01:06:552520const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2521const char kReaderModeHeuristicsDescription[] =
2522 "Determines what pages the Reader Mode infobar is shown on.";
2523const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2524const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2525const char kReaderModeHeuristicsAllArticles[] = "All articles";
2526const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2527const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2528
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182529const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2530const char kReaderModeInCCTDescription[] =
2531 "Open Reader Mode in Chrome Custom Tabs.";
2532
Brett Wilsonff596952017-07-14 01:06:552533const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2534const char kSetMarketUrlForTestingDescription[] =
2535 "When enabled, sets the market URL for use in testing the update menu "
2536 "item.";
2537
2538const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2539const char kSpannableInlineAutocompleteDescription[] =
2540 "A new type of inline autocomplete for the omnibox that works with "
2541 "keyboards that compose text.";
2542
Theresaeea05a12018-05-09 21:01:592543const char kSimplifiedNtpName[] = "Simplified NTP";
2544const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2545
2546const char kSiteExplorationUiName[] = "Site Exploration UI";
2547const char kSiteExplorationUiDescription[] =
2548 "Show site suggestions in the Exploration UI";
2549
Brett Wilsonff596952017-07-14 01:06:552550const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2551const char kUpdateMenuBadgeDescription[] =
2552 "When enabled, an update badge will be shown on the app menu button.";
2553
2554const char kUpdateMenuItemCustomSummaryDescription[] =
2555 "When this flag and the force show update menu item flag are enabled, a "
2556 "custom summary string will be displayed below the update menu item.";
2557const char kUpdateMenuItemCustomSummaryName[] =
2558 "Update menu item custom summary";
2559
2560const char kUpdateMenuItemName[] = "Force show update menu item";
2561const char kUpdateMenuItemDescription[] =
2562 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2563 R"*(menu.)*";
2564
Amirhossein Simjourd78bbcf2018-02-02 16:23:392565const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2566const char kVrBrowsingNativeAndroidUiDescription[] =
2567 "Enable Android UI elements in VR.";
2568
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462569const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2570const char kVrBrowsingTabsViewDescription[] =
2571 "Enable tab overview (tab switcher) in VR.";
2572
Marc Treib93af46a2017-08-23 13:30:002573const char kThirdPartyDoodlesName[] =
2574 "Enable Doodles for third-party search engines";
2575const char kThirdPartyDoodlesDescription[] =
2576 "Enables fetching and displaying Doodles on the NTP for third-party search "
2577 "engines.";
2578
Klaus Weidneraaf697f2018-01-18 20:07:362579const char kWebXrRenderPathName[] = "WebXR presentation render path";
2580const char kWebXrRenderPathDescription[] =
2581 "Render path to use for WebXR presentation (including WebVR)";
2582const char kWebXrRenderPathChoiceClientWaitDescription[] =
2583 "ClientWait (Baseline)";
2584const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2585 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072586const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2587 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362588
Brett Wilson7b44537e2017-08-18 01:38:282589// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552590
Brett Wilson7b44537e2017-08-18 01:38:282591#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482592
Brett Wilson7b44537e2017-08-18 01:38:282593const char kAccountConsistencyName[] =
2594 "Identity consistency between browser and cookie jar";
2595const char kAccountConsistencyDescription[] =
2596 "When enabled, the browser manages signing in and out of Google accounts.";
2597const char kAccountConsistencyChoiceMirror[] = "Mirror";
2598const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342599
Chris Pickel3a227ae62017-08-24 10:47:262600const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2601const char kDoodlesOnLocalNtpDescription[] =
2602 "Show doodles on the local New Tab page if Google is the default search "
2603 "engine.";
2604
mlamouriff56c092017-05-11 15:31:392605const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392606const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342607 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392608const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392609const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392610const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342611 "Enabled (Flash lowers volume when interrupted by other sound, "
2612 "experimental)";
2613
Sebastien Marchandd33f7dc2018-06-22 22:07:062614const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2615const char kInfiniteSessionRestoreDescription[] =
2616 "Reduces the number of tabs being loaded simultaneously during session "
2617 "restore, to improve responsiveness of the foreground tab. This requires "
2618 "#enable-page-almost-idle.";
2619
Brett Wilson7b44537e2017-08-18 01:38:282620const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2621const char kEnableNewAppMenuIconDescription[] =
2622 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342623
Sebastien Marchandd33f7dc2018-06-22 22:07:062624const char kEnableWebAuthenticationCtap2SupportName[] =
2625 "Enable Web Authentication API support for CTAP2 security keys";
2626const char kEnableWebAuthenticationCtap2SupportDescription[] =
2627 "Enable CTAP2 security keys for the Web Authenication API.";
2628
2629const char kEnableWebAuthenticationTestingAPIName[] =
2630 "Web Authentication Testing API";
2631const char kEnableWebAuthenticationTestingAPIDescription[] =
2632 "Enable Web Authentication Testing API support, which disconnects the API "
2633 "implementation from the real world, and allows configuring virtual "
2634 "authenticator devices for testing";
2635
Dave Schuyler598a4a42018-01-04 02:15:102636const char kOmniboxRichEntitySuggestionsName[] =
2637 "Omnibox rich entity suggestions";
2638const char kOmniboxRichEntitySuggestionsDescription[] =
2639 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212640 "more context and descriptive text about the entity. Has no effect unless "
2641 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2642 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102643
Dave Schuyler616273d2018-04-19 03:12:522644const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2645const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212646 "Display answers using an enhanced layout with larger images. Has no "
2647 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2648 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522649
Orin Jaworski04c08b42018-07-11 02:39:562650const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2651const char kOmniboxReverseAnswersDescription[] =
2652 "Display answers with rows reversed (swapped); except definitions. Has no "
2653 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2654 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2655
Kevin Bailey898669972017-11-06 15:34:492656const char kOmniboxTabSwitchSuggestionsName[] =
2657 "Omnibox tab switch suggestions";
2658const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212659 "Enable suggestions for switching to open tabs within the Omnibox. "
2660 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2661 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492662
krbcc621412017-06-01 19:40:282663const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2664const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192665 "Enable receiving tail suggestions, a type of search suggestion based on "
2666 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342667
Brett Wilson7b44537e2017-08-18 01:38:282668const char kOneGoogleBarOnLocalNtpName[] =
2669 "Enable the OneGoogleBar on the local NTP";
2670const char kOneGoogleBarOnLocalNtpDescription[] =
2671 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2672 "search engine.";
2673
Sebastien Marchandd33f7dc2018-06-22 22:07:062674const char kPageAlmostIdleName[] = "Page Almost Idle";
2675const char kPageAlmostIdleDescription[] =
2676 "Make session restore use a definition of loading that waits for CPU and "
2677 "network quiescence.";
2678
2679const char kProactiveTabFreezeAndDiscardName[] =
2680 "Proactive Tab Freeze and Discard";
2681const char kProactiveTabFreezeAndDiscardDescription[] =
2682 "Enables proactive tab freezing and discarding. This requires "
2683 "#enable-page-almost-idle.";
2684
2685const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2686const char kSiteCharacteristicsDatabaseDescription[] =
2687 "Records usage of some features in a database while a tab is in background "
2688 "(title/favicon update, audio playback or usage of non-persistent "
2689 "notifications).";
2690
Brett Wilson7b44537e2017-08-18 01:38:282691const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2692const char kUseGoogleLocalNtpDescription[] =
2693 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322694
Brett Wilson7b44537e2017-08-18 01:38:282695const char kVoiceSearchOnLocalNtpName[] =
2696 "Enable Voice Search on the local NTP";
2697const char kVoiceSearchOnLocalNtpDescription[] =
2698 "Show a microphone for voice search on the local New Tab page "
2699 "if Google is the default search engine.";
2700
2701#if defined(GOOGLE_CHROME_BUILD)
2702
2703const char kGoogleBrandedContextMenuName[] =
2704 "Google branding in the context menu";
2705const char kGoogleBrandedContextMenuDescription[] =
2706 "Shows a Google icon next to context menu items powered by Google "
2707 "services.";
2708
2709#endif // !defined(GOOGLE_CHROME_BUILD)
2710
2711#endif // !defined(OS_ANDROID)
2712
2713// Windows ---------------------------------------------------------------------
2714
2715#if defined(OS_WIN)
2716
2717const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2718const char kCloudPrintXpsDescription[] =
2719 "XPS enables advanced options for classic printers connected to the Cloud "
2720 "Print with Chrome. Printers must be re-connected after changing this "
2721 "flag.";
2722
2723const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2724const char kDisablePostscriptPrintingDescription[] =
2725 "Disables PostScript generation when printing to PostScript capable "
2726 "printers, and uses EMF generation in its place.";
2727
2728const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2729const char kEnableAppcontainerDescription[] =
2730 "Enables the use of an AppContainer on sandboxed processes to improve "
2731 "security.";
2732
Brett Wilson7b44537e2017-08-18 01:38:282733const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2734const char kEnableDesktopIosPromotionsDescription[] =
2735 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2736 "eligible.";
2737
James Forshawfd0ce342018-02-14 09:55:392738const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2739const char kEnableGpuAppcontainerDescription[] =
2740 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2741 "improve security.";
2742
Brett Wilson7b44537e2017-08-18 01:38:282743const char kGdiTextPrinting[] = "GDI Text Printing";
2744const char kGdiTextPrintingDescription[] =
2745 "Use GDI to print text as simply text";
2746
Henrik Grunell67e56ef2018-04-10 14:04:092747const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2748const char kIncreaseInputAudioBufferSizeDescription[] =
2749 "Increases the input audio endpoint buffer to 100 ms.";
2750
Brett Wilson7b44537e2017-08-18 01:38:282751const char kTraceExportEventsToEtwName[] =
2752 "Enable exporting of tracing events to ETW.";
2753const char kTraceExportEventsToEtwDesription[] =
2754 "If enabled, trace events will be exported to the Event Tracing for "
2755 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2756 "Xperf.";
2757
2758const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2759const char kUseWinrtMidiApiDescription[] =
2760 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2761 "later).";
2762
2763const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2764const char kWindows10CustomTitlebarDescription[] =
2765 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2766 "deferring to Windows.";
2767
2768#endif // defined(OS_WIN)
2769
2770// Mac -------------------------------------------------------------------------
2771
2772#if defined(OS_MACOSX)
2773
Brett Wilson7b44537e2017-08-18 01:38:282774const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2775const char kAppWindowCyclingDescription[] =
2776 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2777 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2778 "browser window, and browser windows will not be cycled when a Chrome App "
2779 "is active.";
2780
Brett Wilson7b44537e2017-08-18 01:38:282781const char kFullscreenToolbarRevealName[] =
2782 "Enables the toolbar in fullscreen to reveal itself.";
2783const char kFullscreenToolbarRevealDescription[] =
2784 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2785 "has changed.";
2786
2787const char kContentFullscreenName[] = "Improved Content Fullscreen";
2788const char kContentFullscreenDescription[] =
2789 "Fullscreen content window detaches from main browser window and goes to "
2790 "a new space without moving or changing the original browser window.";
2791
Lei Zhang2eca9082017-10-17 20:42:502792const char kDialogTouchBarName[] = "Dialog Touch Bar";
2793const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282794 "Shows Dialog buttons on the Touch Bar.";
2795
Martin Kreichgauer1ca416d2018-07-11 00:43:192796const char kEnableWebAuthenticationTouchIdName[] =
2797 "Web Authentication API Touch ID support";
2798const char kEnableWebAuthenticationTouchIdDescription[] =
2799 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2800
Brett Wilson7b44537e2017-08-18 01:38:282801const char kHostedAppsInWindowsName[] =
2802 "Allow hosted apps to be opened in windows";
2803const char kHostedAppsInWindowsDescription[] =
2804 "Allows hosted apps to be opened in windows instead of being limited to "
2805 "tabs.";
2806
Lei Zhang2eca9082017-10-17 20:42:502807const char kMacRTLName[] = "Enable RTL";
2808const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282809
Lei Zhang2eca9082017-10-17 20:42:502810const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2811const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522812 "Enables sharing via macOS share extensions.";
2813
Lei Zhang2eca9082017-10-17 20:42:502814const char kMacTouchBarName[] = "Hardware Touch Bar";
2815const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282816
2817const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2818const char kMacV2SandboxDescription[] =
2819 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2820 "entire life cycle.";
2821
2822const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2823const char kMacViewsNativeAppWindowsDescription[] =
2824 "Controls whether to use Toolkit-Views based Chrome App windows.";
2825
2826const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2827const char kMacViewsTaskManagerDescription[] =
2828 "Controls whether to use the Toolkit-Views based Task Manager.";
2829
Tessa Nijssenc4b101232018-06-25 20:28:082830const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2831const char kSuggestedTextTouchBarDescription[] =
2832 "Enable suggested text touch bar for textfields.";
2833
Brett Wilson7b44537e2017-08-18 01:38:282834const char kTabDetachingInFullscreenName[] =
2835 "Allow tab detaching in fullscreen";
2836const char kTabDetachingInFullscreenDescription[] =
2837 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2838
2839const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2840const char kTabStripKeyboardFocusDescription[] =
2841 "Enable keyboard focus for the tabs in the tab strip.";
2842
Brett Wilson7b44537e2017-08-18 01:38:282843#endif
2844
2845// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342846
2847#if defined(OS_CHROMEOS)
2848
Brett Wilson7b44537e2017-08-18 01:38:282849const char kAcceleratedMjpegDecodeName[] =
2850 "Hardware-accelerated mjpeg decode for captured frame";
2851const char kAcceleratedMjpegDecodeDescription[] =
2852 "Enable hardware-accelerated mjpeg decode for captured frame where "
2853 "available.";
vabr0215a8e2017-03-28 12:47:342854
Brett Wilson7b44537e2017-08-18 01:38:282855const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2856const char kAllowTouchpadThreeFingerClickDescription[] =
2857 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342858
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522859const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2860const char kArcAvailableForChildDescription[] =
2861 "Allow child accounts to start Android apps.";
2862
Brett Wilson7b44537e2017-08-18 01:38:282863const char kArcBootCompleted[] = "Load Android apps automatically";
2864const char kArcBootCompletedDescription[] =
2865 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342866
Luum Habtemariamdaa8fd22018-06-25 22:39:432867const char kArcCupsApiName[] = "ARC CUPS API";
2868const char kArcCupsApiDescription[] =
2869 "Enables support of libcups APIs from ARC";
2870
Yuichiro Hanada0b63f062018-07-12 02:18:332871const char kArcInputMethodName[] = "Enable ARC input methods.";
2872const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2873
Lev Rumyantsev7a8544312017-08-18 19:26:512874const char kArcNativeBridgeExperimentName[] =
2875 "Enable native bridge experiment for ARC";
2876const char kArcNativeBridgeExperimentDescription[] =
2877 "Enables experimental native bridge feature.";
2878
lgchengecd1c1a62018-01-09 02:59:462879const char kArcUsbHostName[] = "Enable ARC USB host integration";
2880const char kArcUsbHostDescription[] =
2881 "Allow Android apps to use USB host feature on ChromeOS devices.";
2882
Kevin Cernekeeb7f96a52017-10-25 17:40:182883const char kArcVpnName[] = "Enable ARC VPN integration";
2884const char kArcVpnDescription[] =
2885 "Allow Android VPN clients to tunnel Chrome traffic.";
2886
Qiang Xu045aff222018-05-21 23:21:012887const char kAshDisableLoginDimAndBlurName[] =
2888 "Disable dimming and blur on login screen.";
2889const char kAshDisableLoginDimAndBlurDescription[] =
2890 "Disable dimming and blur on login screen.";
2891
2892const char kAshDisableSmoothScreenRotationName[] =
2893 "Disable smooth rotation animations.";
2894const char kAshDisableSmoothScreenRotationDescription[] =
2895 "Disable smooth rotation animations.";
2896
2897const char kAshEnableDisplayMoveWindowAccelsName[] =
2898 "Enable shortcuts for moving window between displays.";
2899const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2900 "Enable shortcuts for moving window between displays.";
2901
2902const char kAshEnableKeyboardShortcutViewerName[] =
2903 "Enable keyboard shortcut viewer.";
2904const char kAshEnableKeyboardShortcutViewerDescription[] =
2905 "Enable keyboard shortcut viewer.";
2906
2907const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2908const char kAshEnableMirroredScreenDescription[] =
2909 "Enable the mirrored screen mode. This mode flips the screen image "
2910 "horizontally.";
2911
2912const char kAshEnableNewOverviewAnimationsName[] =
2913 "Enable new overview animations.";
2914const char kAshEnableNewOverviewAnimationsDescription[] =
2915 "Enables the new overview mode animations.";
2916
2917const char kAshEnablePersistentWindowBoundsName[] =
2918 "Enable persistent window bounds in multi-displays scenario.";
2919const char kAshEnablePersistentWindowBoundsDescription[] =
2920 "Enable persistent window bounds in multi-displays scenario.";
2921
2922const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2923const char kAshEnableTrilinearFilteringDescription[] =
2924 "Enable trilinear filtering.";
2925
Brett Wilson7b44537e2017-08-18 01:38:282926const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2927const char kAshEnableUnifiedDesktopDescription[] =
2928 "Enable unified desktop mode which allows a window to span multiple "
2929 "displays.";
vabr0215a8e2017-03-28 12:47:342930
Mike Wassermanfcc47e42018-06-14 21:24:422931const char kAshKeyboardShortcutViewerAppName[] =
2932 "Keyboard Shortcut Viewer mojo app";
2933const char kAshKeyboardShortcutViewerAppDescription[] =
2934 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2935
Qiang Xu045aff222018-05-21 23:21:012936const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2937const char kAshShelfColorDescription[] =
2938 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2939 "--ash-shelf-color-scheme flag defines how that color is derived.";
2940
2941const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2942const char kAshShelfColorSchemeDescription[] =
2943 "Specify how the color is derived from the wallpaper. This flag is only "
2944 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2945const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2946const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2947const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2948const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2949const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2950const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2951
Sean Kau5e956192017-10-06 22:25:172952const char kBulkPrintersName[] = "Bulk Printers Policy";
2953const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2954
Brett Wilson7b44537e2017-08-18 01:38:282955const char kCaptivePortalBypassProxyName[] =
2956 "Bypass proxy for Captive Portal Authorization";
2957const char kCaptivePortalBypassProxyDescription[] =
2958 "If proxy is configured, it usually prevents from authorization on "
2959 "different captive portals. This enables opening captive portal "
2960 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342961
Yuki Awanob51d3252018-07-11 23:45:552962const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
2963const char kChromeVoxArcSupportDescription[] =
2964 "Use ChromeVox screen reader features in ARC";
2965
Brett Wilson7b44537e2017-08-18 01:38:282966const char kCrOSComponentName[] = "Chrome OS Component";
2967const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082968 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342969
Xiaochu Liu51d03fd2017-09-08 23:51:022970const char kCrOSContainerName[] = "Chrome OS Container";
2971const char kCrOSContainerDescription[] =
2972 "Enable the use of Chrome OS Container utility.";
2973
Brett Wilson7b44537e2017-08-18 01:38:282974const char kCrosRegionsModeName[] = "Cros-regions load mode";
2975const char kCrosRegionsModeDescription[] =
2976 "This flag controls cros-regions load mode";
2977const char kCrosRegionsModeDefault[] = "Default";
2978const char kCrosRegionsModeOverride[] = "Override VPD values.";
2979const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342980
Jacob Dufault2becbc482017-08-25 00:36:352981const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2982const char kDisableLockScreenAppsDescription[] =
2983 "Disable new-note action handler apps on the lock screen. The user will "
2984 "not be able to launch the preferred note-taking action from the lock "
2985 "screen, provided that the app supports lock screen note taking.";
2986
Qiang Xu045aff222018-05-21 23:21:012987const char kDisableSystemTimezoneAutomaticDetectionName[] =
2988 "SystemTimezoneAutomaticDetection policy support";
2989const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2990 "Disable system timezone automatic detection device policy.";
2991
Sammie Quonef6b4882017-09-14 16:50:052992const char kDisableTabletAutohideTitlebarsName[] =
2993 "Disable autohide titlebars in tablet mode";
2994const char kDisableTabletAutohideTitlebarsDescription[] =
2995 "Disable tablet mode autohide titlebars functionality. The user will be "
2996 "able to see the titlebar in tablet mode.";
2997
Xiaoqian Dai24b33eb2018-04-10 21:01:572998const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2999const char kDisableTabletSplitViewDescription[] =
3000 "Disable split view for Chrome OS tablet mode.";
3001
Qiang Xu53d1a5832018-05-24 18:44:193002const char kEnableAppShortcutSearchName[] =
3003 "Enable app shortcut search in launcher";
3004const char kEnableAppShortcutSearchDescription[] =
3005 "Enables app shortcut search in launcher";
3006
Weidong Guo00d0b2b2018-06-07 00:39:303007const char kEnableAppsGridGapFeatureName[] =
3008 "Enable apps grid gap feature in launcher.";
3009const char kEnableAppsGridGapFeatureDescription[] =
3010 "Enables gaps at the end of each page and enables dragging an item to an "
3011 "empty page in launcher.";
3012
Lei Zhang2eca9082017-10-17 20:42:503013const char kEnableBackgroundBlurName[] = "Enable background blur.";
3014const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423015 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393016
F#m75862c92018-01-25 19:10:473017const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3018const char kEnableDisplayZoomSettingDescription[] =
3019 "Allows the user to modify the display size or zoom via the chrome display "
3020 "settings page.";
3021
Min Chenc2ec7282018-06-29 21:38:463022const char kEnableDragAppsInTabletModeName[] =
3023 "Enable dragging apps in tablet mode";
3024const char kEnableDragAppsInTabletModeDescription[] =
3025 "If enabled, swiping down from the top of the screen when an app is opened "
3026 "in tablet mode can drag the app.";
3027
Xiaoqian Dai82d99192018-05-25 18:51:353028const char kEnableDragTabsInTabletModeName[] =
3029 "Enable dragging tabs in tablet mode";
3030const char kEnableDragTabsInTabletModeDescription[] =
3031 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3032
Sam McNally201fbf94e2018-07-04 03:15:203033const char kEnableDriveFsName[] = "Enable DriveFS";
3034const char kEnableDriveFsDescription[] =
3035 "Enables use of the new DriveFS-based Drive sync client.";
3036
Brett Wilson7b44537e2017-08-18 01:38:283037const char kEnableEhvInputName[] =
3038 "Emoji, handwriting and voice input on opt-in IME menu";
3039const char kEnableEhvInputDescription[] =
3040 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343041
Brett Wilson7b44537e2017-08-18 01:38:283042const char kEnableEncryptionMigrationName[] =
3043 "Enable encryption migration of user data";
3044const char kEnableEncryptionMigrationDescription[] =
3045 "If enabled and the device supports ARC, the user will be asked to update "
3046 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343047
Blake O'Hare9e9317b22017-10-24 02:49:353048const char kEnableFloatingVirtualKeyboardName[] =
3049 "Enable floating virtual keyboard";
3050const char kEnableFloatingVirtualKeyboardDescription[] =
3051 "If enabled, the keyboard will use floating behavior by default.";
3052
Qiang Xu045aff222018-05-21 23:21:013053const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3054 "Enable full screen handwriting virtual keyboard";
3055const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3056 "If enabled, the handwriting virtual keyboard will allow user to write "
3057 "anywhere on the screen";
3058
3059const char kEnableHomeLauncherName[] = "Enable home launcher";
3060const char kEnableHomeLauncherDescription[] =
3061 "Enable home launcher in tablet mode.";
3062
Brett Wilson7b44537e2017-08-18 01:38:283063const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3064const char kEnableImeMenuDescription[] =
3065 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343066
Weidong Guo45836d1b2018-06-27 23:51:163067const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3068const char kEnableNewStyleLauncherDescription[] =
3069 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3070 "in app launcher.";
3071
Qiang Xu045aff222018-05-21 23:21:013072const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3073const char kEnableNewWallpaperPickerDescription[] =
3074 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3075
3076const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3077const char kEnablePerUserTimezoneDescription[] =
3078 "Chrome OS system timezone preference is stored and handled for each user "
3079 "individually.";
3080
3081const char kEnableSettingsShortcutSearchName[] =
3082 "Enable Settings shortcut search";
3083const char kEnableSettingsShortcutSearchDescription[] =
3084 "Enable Settings shortcut search in launcher.";
3085
Darren Shen3e49c63d2018-03-28 04:45:503086const char kEnableStylusVirtualKeyboardName[] =
3087 "Enable stylus virtual keyboard";
3088const char kEnableStylusVirtualKeyboardDescription[] =
3089 "If enabled, tapping with a stylus will show the handwriting virtual "
3090 "keyboard.";
3091
Jordy Greenblatt2f23df22018-02-22 19:49:193092const char kEnableUnifiedMultiDeviceSettingsName[] =
3093 "Enable unified MultiDevice settings";
3094const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3095 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3096 "MultiDevice settings.";
3097
3098const char kEnableUnifiedMultiDeviceSetupName[] =
3099 "Enable unified MultiDevice setup";
3100const char kEnableUnifiedMultiDeviceSetupDescription[] =
3101 "Enable the device to setup all MultiDevice services in a single workflow.";
3102
Darren Shen11c770f312018-06-13 07:36:393103const char kEnableVirtualKeyboardMdUiName[] =
3104 "Enable Material Design virtual keyboard";
3105const char kEnableVirtualKeyboardMdUiDescription[] =
3106 "If enabled, loads the Material Design UI for the virtual keyboard.";
3107
Darren Shen0b4e5802018-07-10 03:12:263108const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3109const char kEnableVirtualKeyboardUkmDescription[] =
3110 "Enables UKM for virtual keyboard";
3111
Klemen Kozjek05fc4512017-10-18 12:51:103112const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3113const char kEnableZipArchiverPackerDescription[] =
3114 "Enable the ability to archive files on Drive in the Files app";
3115
Brett Wilson7b44537e2017-08-18 01:38:283116const char kEolNotificationName[] = "Disable Device End of Life notification.";
3117const char kEolNotificationDescription[] =
3118 "Disable Notifcation when Device is End of Life.";
3119
3120const char kExperimentalAccessibilityFeaturesName[] =
3121 "Experimental accessibility features";
3122const char kExperimentalAccessibilityFeaturesDescription[] =
3123 "Enable additional accessibility features in the Settings page.";
3124
3125const char kExperimentalInputViewFeaturesName[] =
3126 "Experimental input view features";
3127const char kExperimentalInputViewFeaturesDescription[] =
3128 "Enable experimental features for IME input views.";
3129
3130const char kFileManagerTouchModeName[] = "Files App. touch mode";
3131const char kFileManagerTouchModeDescription[] =
3132 "Touchscreen-specific interactions of the Files app.";
3133
3134const char kFirstRunUiTransitionsName[] =
3135 "Animated transitions in the first-run tutorial";
3136const char kFirstRunUiTransitionsDescription[] =
3137 "Transitions during first-run tutorial are animated.";
3138
Brett Wilson7b44537e2017-08-18 01:38:283139const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3140const char kForceEnableStylusToolsDescription[] =
3141 "Forces display of the stylus tools menu in the shelf and the stylus "
3142 "section in settings, even if there is no attached stylus device.";
3143
3144const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3145const char kGestureEditingDescription[] =
3146 "Enable/Disable gesture editing option in the settings page for the "
3147 "virtual keyboard.";
3148
3149const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3150const char kGestureTypingDescription[] =
3151 "Enable/Disable gesture typing option in the settings page for the virtual "
3152 "keyboard.";
3153
3154const char kInputViewName[] = "Input views";
3155const char kInputViewDescription[] =
3156 "Enable IME extensions to supply custom views for user input such as "
3157 "virtual keyboards.";
3158
Megumi Hattori5a0d4182018-03-06 11:09:503159const char kLockScreenNotificationName[] = "Lock screen notification";
3160const char kLockScreenNotificationDescription[] =
3161 "Enable notifications on the lock screen.";
3162
Qiang Xu045aff222018-05-21 23:21:013163const char kMaterialDesignInkDropAnimationSpeedName[] =
3164 "Material design ink drop animation speed";
3165const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3166 "Sets the speed of the experimental visual feedback animations for "
3167 "material design.";
3168const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3169const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3170
Brett Wilson7b44537e2017-08-18 01:38:283171const char kMemoryPressureThresholdName[] =
3172 "Memory discard strategy for advanced pressure handling";
3173const char kMemoryPressureThresholdDescription[] =
3174 "Memory discarding strategy to use";
3175const char kConservativeThresholds[] =
3176 "Conservative memory pressure release strategy";
3177const char kAggressiveCacheDiscardThresholds[] =
3178 "Aggressive cache release strategy";
3179const char kAggressiveTabDiscardThresholds[] =
3180 "Aggressive tab release strategy";
3181const char kAggressiveThresholds[] =
3182 "Aggressive tab and cache release strategy";
3183
3184const char kMtpWriteSupportName[] = "MTP write support";
3185const char kMtpWriteSupportDescription[] =
3186 "MTP write support in File System API (and file manager). In-place editing "
3187 "operations are not supported.";
3188
Kyle Horimoto027590fb2018-02-13 22:19:483189const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3190const char kMultiDeviceApiDescription[] =
3191 "Enable Mojo-based API which provides synced device metadata and the "
3192 "ability to connect to other devices associated the logged-in Google "
3193 "account.";
3194
Bailey Berrodca8eeca02017-11-18 00:49:123195const char kNativeSmbName[] = "Native Smb Client";
3196const char kNativeSmbDescription[] =
3197 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303198
vabr0215a8e2017-03-28 12:47:343199const char kNetworkPortalNotificationName[] =
3200 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343201const char kNetworkPortalNotificationDescription[] =
3202 "If enabled, notification is displayed when device is connected to a "
3203 "network behind captive portal.";
3204
Brett Wilson7b44537e2017-08-18 01:38:283205const char kNewKoreanImeName[] = "New Korean IME";
3206const char kNewKoreanImeDescription[] =
3207 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343208
Brett Wilson7b44537e2017-08-18 01:38:283209const char kNewZipUnpackerName[] = "New ZIP unpacker";
3210const char kNewZipUnpackerDescription[] =
3211 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343212
Qiang Xu045aff222018-05-21 23:21:013213const char kOfficeEditingComponentAppName[] =
3214 "Office Editing for Docs, Sheets & Slides";
3215const char kOfficeEditingComponentAppDescription[] =
3216 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3217
Brett Wilson7b44537e2017-08-18 01:38:283218const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3219const char kPhysicalKeyboardAutocorrectDescription[] =
3220 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3221 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343222
3223const char kPrinterProviderSearchAppName[] =
3224 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343225const char kPrinterProviderSearchAppDescription[] =
3226 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193227 "searches Chrome Web Store for extensions that support printing to a USB "
3228 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343229
Brett Wilson7b44537e2017-08-18 01:38:283230const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3231const char kQuickUnlockPinDescription[] =
3232 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3233 "device on the lock screen after you have signed into your device.";
3234const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3235const char kQuickUnlockPinSigninDescription[] =
3236 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3237 "device. After changing this flag PIN needs to be set up again.";
3238const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3239const char kQuickUnlockFingerprintDescription[] =
3240 "Enabling fingerprint quick unlock allows you to setup and use a "
3241 "fingerprint to unlock your Chromebook on the lock screen after you have "
3242 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343243
James Cook0ba192bf2017-12-01 20:53:113244const char kShowTapsName[] = "Show taps";
3245const char kShowTapsDescription[] =
3246 "Draws a circle at each touch point, which makes touch points more obvious "
3247 "when projecting or mirroring the display. Similar to the Android OS "
3248 "developer option.";
3249
3250const char kShowTouchHudName[] = "Show HUD for touch points";
3251const char kShowTouchHudDescription[] =
3252 "Shows a trail of colored dots for the last few touch points. Pressing "
3253 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3254 "debug hardware issues that generate spurious touch events.";
3255
Jorge Gil5a8ccde2018-07-10 01:46:213256const char kSmartTextSelectionName[] = "Smart Text Selection";
3257const char kSmartTextSelectionDescription[] =
3258 "Shows quick actions for text "
3259 "selections in the context menu.";
3260
Chung-Sheng Wu468b0b32017-09-01 14:41:573261const char kSysInternalsName[] = "Enable Sys-Internals";
3262const char kSysInternalsDescription[] =
3263 "If enabled, user can monitor system information at "
3264 "chrome://sys-internals.";
3265
James Cooka9384092018-05-23 02:54:263266const char kTapVisualizerAppName[] = "Show taps with mojo app";
3267const char kTapVisualizerAppDescription[] =
3268 "Use an out-of-process mojo app to show touch points.";
3269
Stuart Langleyc981ac62018-06-21 14:38:253270const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3271const char kDisableTeamDrivesDescription[] =
3272 "If disabled, files under Team Drives will no longer appear in the Files "
3273 "app.";
vabr0215a8e2017-03-28 12:47:343274
Brett Wilson7b44537e2017-08-18 01:38:283275const char kTetherName[] = "Instant Tethering";
3276const char kTetherDescription[] =
3277 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3278 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373279
Brett Wilson7b44537e2017-08-18 01:38:283280const char kTouchscreenCalibrationName[] =
3281 "Enable/disable touchscreen calibration option in material design settings";
3282const char kTouchscreenCalibrationDescription[] =
3283 "If enabled, the user can calibrate the touch screen displays in "
3284 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093285
Qiang Xu045aff222018-05-21 23:21:013286const char kUiDevToolsName[] = "Enable native UI inspection";
3287const char kUiDevToolsDescription[] =
3288 "Enables inspection of native UI elements. For local inspection use "
3289 "chrome://inspect#other";
3290
3291const char kUiShowCompositedLayerBordersName[] =
3292 "Show UI composited layer borders";
3293const char kUiShowCompositedLayerBordersDescription[] =
3294 "Show border around composited layers created by UI.";
3295const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3296const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3297const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3298const char kUiShowCompositedLayerBordersAll[] = "All";
3299
3300const char kUiSlowAnimationsName[] = "Slow UI animations";
3301const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3302
Mitsuru Oshima63d3f2a2017-08-23 00:12:113303// Force UI Mode
3304const char kUiModeName[] = "Force Ui Mode";
3305const char kUiModeDescription[] =
3306 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3307 R"*(despite its current orientation. "Tablet" means that the )*"
3308 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3309 R"*(means that the chromebook will act as if it were in clamshell )*"
3310 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3311 R"*(the two, based on its orientation.)*";
3312const char kUiModeTablet[] = "TouchView";
3313const char kUiModeClamshell[] = "Clamshell";
3314const char kUiModeAuto[] = "Auto (default)";
3315
Sonny Sasaka7fecfeda2018-07-11 23:47:553316const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3317const char kUnfilteredBluetoothDevicesDescription[] =
3318 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3319
James Cooka1bcfa9a2018-01-30 00:18:403320const char kUseMashName[] = "Out-of-process system UI (mash)";
3321const char kUseMashDescription[] =
3322 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3323 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283324
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343325// TODO(mcasas): remove after https://crbug.com/771345.
3326const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3327const char kUseMonitorColorSpaceDescription[] =
3328 "Enables Chrome to use the color space information provided by the monitor"
3329 " instead of the default sRGB color space.";
3330
Brett Wilson7b44537e2017-08-18 01:38:283331const char kVideoPlayerChromecastSupportName[] =
3332 "Experimental Chromecast support for Video Player";
3333const char kVideoPlayerChromecastSupportDescription[] =
3334 "This option enables experimental Chromecast support for Video Player app "
3335 "on ChromeOS.";
3336
3337const char kVirtualKeyboardName[] = "Virtual Keyboard";
3338const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3339
3340const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3341const char kVirtualKeyboardOverscrollDescription[] =
3342 "Enables virtual keyboard overscroll support.";
3343
3344const char kVoiceInputName[] = "Voice input on virtual keyboard";
3345const char kVoiceInputDescription[] =
3346 "Enables voice input on virtual keyboard.";
3347
3348const char kWakeOnPacketsName[] = "Wake On Packets";
3349const char kWakeOnPacketsDescription[] =
3350 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203351
Qiang Xu53d1a5832018-05-24 18:44:193352const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3353const char kZipArchiverUnpackerDescription[] =
3354 "Enable or disable the ability to unpack archives in incognito mode";
3355
yhanadac5bff5b2017-05-18 06:37:093356#endif // defined(OS_CHROMEOS)
3357
Brett Wilson7b44537e2017-08-18 01:38:283358// Random platform combinations -----------------------------------------------
3359
3360#if defined(OS_WIN) || defined(OS_LINUX)
3361
3362const char kEnableInputImeApiName[] = "Enable Input IME API";
3363const char kEnableInputImeApiDescription[] =
3364 "Enable the use of chrome.input.ime API.";
3365
Tom Anderson6cbd5052018-05-03 23:49:543366#if !defined(OS_CHROMEOS)
3367
3368const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3369const char kWarnBeforeQuittingFlagDescription[] =
3370 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3371
3372#endif // !defined(OS_CHROMEOS)
3373
Brett Wilson7b44537e2017-08-18 01:38:283374#endif // defined(OS_WIN) || defined(OS_LINUX)
3375
3376#if defined(OS_WIN) || defined(OS_MACOSX)
3377
3378const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3379const char kAutomaticTabDiscardingDescription[] =
3380 "If enabled, tabs get automatically discarded from memory when the system "
3381 "memory is low. Discarded tabs are still visible on the tab strip and get "
3382 "reloaded when clicked on. Info about discarded tabs can be found at "
3383 "chrome://discards.";
3384
3385#endif // defined(OS_WIN) || defined(OS_MACOSX)
3386
lanwei83f54452018-06-21 23:51:043387#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3388
3389const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3390const char kDirectManipulationStylusDescription[] =
3391 "If enabled, Chrome will scroll web pages on stylus drag.";
3392
3393#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3394
Justin Donnelly110e40c2018-06-01 21:48:433395const char kExperimentalUiName[] = "Use all upcoming UI features";
3396const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483397
Brett Wilson7b44537e2017-08-18 01:38:283398// Feature flags --------------------------------------------------------------
3399
3400#if BUILDFLAG(ENABLE_VR)
3401
David Dorwin5a496c32017-11-17 01:45:053402const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3403const char kWebVrVsyncAlignDescription[] =
3404 "Align WebVR application rendering with VSync for smoother animations.";
3405
Brett Wilson7b44537e2017-08-18 01:38:283406#if defined(OS_ANDROID)
3407
David Dorwin5a496c32017-11-17 01:45:053408const char kVrBrowsingExperimentalRenderingName[] =
3409 "VR browsing experimental rendering features";
3410const char kVrBrowsingExperimentalRenderingDescription[] =
3411 "Experimental rendering features for VR browsing (e.g. power-saving "
3412 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103413
Brett Wilson7b44537e2017-08-18 01:38:283414#endif // OS_ANDROID
3415
Bill Orr103ed272018-02-14 21:23:053416#if BUILDFLAG(ENABLE_OCULUS_VR)
3417const char kOculusVRName[] = "Oculus hardware support";
3418const char kOculusVRDescription[] =
3419 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3420 "Windows 10 or later).";
3421#endif // ENABLE_OCULUS_VR
3422
Bill Orr49527562017-11-22 16:58:483423#if BUILDFLAG(ENABLE_OPENVR)
3424const char kOpenVRName[] = "OpenVR hardware support";
3425const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073426 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3427 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483428#endif // ENABLE_OPENVR
3429
Brett Wilson7b44537e2017-08-18 01:38:283430#endif // ENABLE_VR
3431
Nico Weberaf3b00b2017-09-11 17:58:173432#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283433
3434const char kNaclDebugMaskName[] =
3435 "Restrict Native Client GDB-based debugging by pattern";
3436const char kNaclDebugMaskDescription[] =
3437 "Restricts Native Client application GDB-based debugging by URL of "
3438 "manifest file. Native Client GDB-based debugging must be enabled for this "
3439 "option to work.";
3440const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3441const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3442 "Debug everything except secure shell and the PNaCl translator.";
3443const char kNaclDebugMaskChoiceIncludeDebug[] =
3444 "Debug only if manifest URL ends with debug.nmf.";
3445
3446const char kNaclDebugName[] = "Native Client GDB-based debugging";
3447const char kNaclDebugDescription[] =
3448 "Enable GDB debug stub. This will stop a Native Client application on "
3449 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3450
3451const char kNaclName[] = "Native Client";
3452const char kNaclDescription[] =
3453 "Support Native Client for all web applications, even those that were not "
3454 "installed from the Chrome Web Store.";
3455
3456const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3457const char kPnaclSubzeroDescription[] =
3458 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3459
Nico Weberaf3b00b2017-09-11 17:58:173460#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283461
Brett Wilson7b44537e2017-08-18 01:38:283462const char kWebrtcH264WithOpenh264FfmpegName[] =
3463 "WebRTC H.264 software video encoder/decoder";
3464const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3465 "When enabled, an H.264 software video encoder/decoder pair is included. "
3466 "If a hardware encoder/decoder is also available it may be used instead of "
3467 "this encoder/decoder.";
3468
Brett Wilson7b44537e2017-08-18 01:38:283469#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3470
3471const char kAutofillCreditCardUploadName[] =
3472 "Enable offering upload of Autofilled credit cards";
3473const char kAutofillCreditCardUploadDescription[] =
3474 "Enables a new option to upload credit cards to Google Payments for sync "
3475 "to all Chrome devices.";
3476
3477#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3478
Becca Hughesdc96e842018-05-04 22:48:283479#if defined(OS_ANDROID)
3480
3481const char kDisplayCutoutAPIName[] =
3482 "Enable support for the Display Cutout API";
3483const char kDisplayCutoutAPIDescription[] =
3484 "Enables developers to support devices that have a display cutout.";
3485
3486#endif // defined(OS_ANDROID)
3487
Brett Wilson7b44537e2017-08-18 01:38:283488// ============================================================================
3489// Don't just add flags to the end, put them in the right section in
3490// alphabetical order just like the header file.
3491// ============================================================================
3492
vabr0215a8e2017-03-28 12:47:343493} // namespace flag_descriptions