blob: dc8cea4fdf1826a88f4639896531b3b9034e6d38 [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[] =
Sophie Chang5454ce82018-07-16 17:44:50614 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36615 "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 Reynoldsa8f2f692018-07-16 17:12:06898const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48899const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06900 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48901 "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[] =
kristipark037abce12018-07-13 19:49:301150 "Allow selection of a custom background image on the New Tab Page. "
1151 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341152
kristipark037abce12018-07-13 19:49:301153const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1154const char kNtpCustomLinksDescription[] =
1155 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1156 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1157
1158const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341159const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301160 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1161 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341162
1163const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1164const char kNtpUIMdDescription[] =
1165 "Updates the New Tab Page with Material Design elements.";
1166
Brett Wilsonecb80982017-07-12 20:34:511167const char kNumRasterThreadsName[] = "Number of raster threads";
1168const char kNumRasterThreadsDescription[] =
1169 "Specify the number of raster threads.";
1170const char kNumRasterThreadsOne[] = "1";
1171const char kNumRasterThreadsTwo[] = "2";
1172const char kNumRasterThreadsThree[] = "3";
1173const char kNumRasterThreadsFour[] = "4";
1174
1175const char kOfferStoreUnmaskedWalletCardsName[] =
1176 "Google Payments card saving checkbox";
1177const char kOfferStoreUnmaskedWalletCardsDescription[] =
1178 "Show the checkbox to offer local saving of a credit card downloaded from "
1179 "the server.";
1180
1181const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1182const char kOfflineAutoReloadDescription[] =
1183 "Pages that fail to load while the browser is offline will be "
1184 "auto-reloaded when the browser is online again.";
1185
1186const char kOfflineAutoReloadVisibleOnlyName[] =
1187 "Only Auto-Reload Visible Tabs";
1188const char kOfflineAutoReloadVisibleOnlyDescription[] =
1189 "Pages that fail to load while the browser is offline will only be "
1190 "auto-reloaded if their tab is visible.";
1191
Brett Wilsonecb80982017-07-12 20:34:511192const char kOmniboxDisplayTitleForCurrentUrlName[] =
1193 "Include title for the current URL in the omnibox";
1194const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1195 "In the event that the omnibox provides suggestions on-focus, the URL of "
1196 "the current page is provided as the first suggestion without a title. "
1197 "Enabling this flag causes the title to be displayed.";
1198
Benoit Lizeab08362c2017-07-19 14:50:541199const char kOmniboxSpareRendererName[] =
1200 "Start spare renderer on omnibox focus";
1201const char kOmniboxSpareRendererDescription[] =
1202 "When the omnibox is focused, start an empty spare renderer. This can "
1203 "speed up the load of the navigation from the omnibox.";
1204
Tommy C. Li8875a442017-08-23 00:10:591205const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1206 "Omnibox UI Elide Suggestion URL After Host";
1207const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1208 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1209 "dropdown.";
1210
Tommy C. Lid79d4402017-12-22 22:49:121211const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1212 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1213const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1214 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221215 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1216 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121217
Brett Wilsonecb80982017-07-12 20:34:511218const char kOmniboxUIMaxAutocompleteMatchesName[] =
1219 "Omnibox UI Max Autocomplete Matches";
1220
1221const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1222 "Changes the maximum number of autocomplete matches displayed in the "
1223 "Omnibox UI.";
1224
Justin Donnelly65c9e8b2017-10-01 05:15:011225const char kOmniboxUIShowSuggestionFaviconsName[] =
1226 "Omnibox UI Show Suggestion Favicons";
1227const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1228 "Shows favicons instead of generic vector icons for URL suggestions in the "
1229 "Omnibox dropdown.";
1230
1231const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1232const char kOmniboxUISwapTitleAndUrlDescription[] =
1233 "In the omnibox dropdown, shows titles before URLs when both are "
1234 "available.";
1235
Brett Wilsonecb80982017-07-12 20:34:511236const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1237const char kOmniboxUIVerticalMarginDescription[] =
1238 "Changes the vertical margin in the Omnibox UI.";
1239
Troy Hildebrandtb32637ca2018-02-21 23:25:091240const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1241 "Omnibox Voice Search Always Visible";
1242const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1243 "Always displays voice search icon in focused omnibox as long as voice "
1244 "search is possible";
1245
Adrienne Walkerc87477e2018-06-06 22:28:211246const char kOopRasterizationName[] = "Out of process rasterization";
1247const char kOopRasterizationDescription[] =
1248 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1249 "Must also enable GPU rasterization";
1250
Brett Wilsonecb80982017-07-12 20:34:511251const char kOriginTrialsName[] = "Origin Trials";
1252const char kOriginTrialsDescription[] =
1253 "Enables origin trials for controlling access to feature/API experiments.";
1254
Becca Hughes930d8cd2017-10-02 11:09:121255const char kOverflowIconsForMediaControlsName[] =
1256 "Icons on Media Controls Overflow Menu";
1257const char kOverflowIconsForMediaControlsDescription[] =
1258 "Displays icons on the overflow menu of the native media controls";
1259
Brett Wilsonecb80982017-07-12 20:34:511260const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1261const char kOverlayScrollbarsDescription[] =
1262 "Enable the experimental overlay scrollbars implementation. You must also "
1263 "enable threaded compositing to have the scrollbars animate.";
1264
chaopenge8aa016b2017-08-24 15:20:191265const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1266 "Flash Overlay Scrollbars After Any Scroll Update";
1267const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1268 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1269 " must also enable Overlay Scrollbars.";
1270
chaopeng343678022017-08-24 18:45:001271const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1272 "Flash Overlay Scrollbars When Mouse Enter";
1273const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1274 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1275 " enable Overlay Scrollbars.";
1276
Daniele Castagna74ddb9c2018-06-21 22:59:021277const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1278const char kOverlayStrategiesDescription[] =
1279 "Select strategies used to promote quads to HW overlays.";
1280const char kOverlayStrategiesDefault[] = "Default";
1281const char kOverlayStrategiesNone[] = "None";
1282const char kOverlayStrategiesUnoccludedFullscreen[] =
1283 "Unoccluded fullscreen buffers (single-fullscreen)";
1284const char kOverlayStrategiesUnoccluded[] =
1285 "Unoccluded buffers (single-fullscreen,single-on-top)";
1286const char kOverlayStrategiesOccludedAndUnoccluded[] =
1287 "Occluded and unoccluded buffers "
1288 "(single-fullscreen,single-on-top,underlay)";
1289
Claudio Magni81326f92017-09-01 05:21:181290const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1291const char kUseNewAcceptLanguageHeaderDescription[] =
1292 "Adds the base language code after other corresponding language+region "
1293 "codes. This ensures that users receive content in their preferred "
1294 "language.";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1297const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481298 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511299const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481300const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511301
1302const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1303const char kOverscrollStartThresholdDescription[] =
1304 "Changes overscroll start threshold relative to the default value.";
1305const char kOverscrollStartThreshold133Percent[] = "133%";
1306const char kOverscrollStartThreshold166Percent[] = "166%";
1307const char kOverscrollStartThreshold200Percent[] = "200%";
1308
chaopenge2b6e5f2018-05-08 16:40:451309const char kTouchpadOverscrollHistoryNavigationName[] =
1310 "Overscroll history navigation on Touchpad";
1311const char kTouchpadOverscrollHistoryNavigationDescription[] =
1312 "Allows swipe left/right from touchpad change browser navigation.";
1313
Xing Liu5400a002017-09-15 21:48:291314const char kParallelDownloadingName[] = "Parallel downloading";
1315const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061316 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291317
Brett Wilsonecb80982017-07-12 20:34:511318const char kPassiveEventListenerDefaultName[] =
1319 "Passive Event Listener Override";
1320const char kPassiveEventListenerDefaultDescription[] =
1321 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1322 "haven't requested otherwise) to be treated as passive. This will break "
1323 "touch/wheel behavior on some websites but is useful for demonstrating the "
1324 "potential performance benefits of adopting passive event listeners.";
1325const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1326const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1327
1328const char kPassiveEventListenersDueToFlingName[] =
1329 "Touch Event Listeners Passive Default During Fling";
1330const char kPassiveEventListenersDueToFlingDescription[] =
1331 "Forces touchstart, and first touchmove per scroll event listeners during "
1332 "fling to be treated as passive.";
1333
1334const char kPassiveDocumentEventListenersName[] =
1335 "Document Level Event Listeners Passive Default";
1336const char kPassiveDocumentEventListenersDescription[] =
1337 "Forces touchstart, and touchmove event listeners on document level "
1338 "targets (which haven't requested otherwise) to be treated as passive.";
1339
1340const char kPasswordForceSavingName[] = "Force-saving of passwords";
1341const char kPasswordForceSavingDescription[] =
1342 "Allow the user to manually enforce password saving instead of relying on "
1343 "password manager's heuristics.";
1344
Vaclav Brozekd8a3f542017-11-16 14:21:131345const char kPasswordExportName[] = "Password export";
1346const char kPasswordExportDescription[] =
1347 "Export functionality in password settings.";
1348
1349const char kPasswordImportName[] = "Password import";
1350const char kPasswordImportDescription[] =
1351 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511352
Friedrich Horschig03c91982018-01-25 14:21:281353const char kPasswordSearchMobileName[] = "Password search";
1354const char kPasswordSearchMobileDescription[] =
1355 "Search functionality in password settings.";
1356
Friedrich Horschige6c27742018-04-23 17:13:411357const char kPasswordsKeyboardAccessoryName[] =
1358 "Add password-related functions to keyboard accessory";
1359const char kPasswordsKeyboardAccessoryDescription[] =
1360 "Adds password generation button and toggle for the passwords bottom sheet "
1361 "to the keyboard accessory. Replaces password generation popups.";
1362
Tom Sepez92a2cd242018-03-13 19:23:091363const char kPdfIsolationName[] = "PDF Isolation";
1364const char kPdfIsolationDescription[] =
1365 "Render PDF files from different origins in different plugin processes.";
1366
Brett Wilsonecb80982017-07-12 20:34:511367const char kPinchScaleName[] = "Pinch scale";
1368const char kPinchScaleDescription[] =
1369 "Enables experimental support for scale using pinch.";
1370
Doug Arnett620ff542018-02-06 17:54:221371const char kPreviewsAllowedName[] = "Previews Allowed";
1372const char kPreviewsAllowedDescription[] =
1373 "Allows previews to be shown subject to specific preview types being "
1374 "enabled and the client experiencing specific triggering conditions. "
1375 "May be used as a kill-switch to turn off all potential preview types.";
1376
Brett Wilsonecb80982017-07-12 20:34:511377const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1378const char kPrintPdfAsImageDescription[] =
1379 "If enabled, an option to print PDF files as images will be available in "
1380 "print preview.";
1381
1382const char kPrintPreviewRegisterPromosName[] =
1383 "Print Preview Registration Promos";
1384const char kPrintPreviewRegisterPromosDescription[] =
1385 "Enable registering unregistered cloud printers from print preview.";
1386
1387const char kProtectSyncCredentialName[] = "Autofill sync credential";
1388const char kProtectSyncCredentialDescription[] =
1389 "How the password manager handles autofill for the sync credential.";
1390
1391const char kProtectSyncCredentialOnReauthName[] =
1392 "Autofill sync credential only for transactional reauth pages";
1393const char kProtectSyncCredentialOnReauthDescription[] =
1394 "How the password manager handles autofill for the sync credential only "
1395 "for transactional reauth pages.";
1396
Mohsen Izadi93faac12017-07-29 04:45:151397const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1398const char kPullToRefreshDescription[] =
1399 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011400const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151401
Troy Hildebrandt7228ad12018-02-23 21:18:241402const char kQueryInOmniboxName[] = "Query in Omnibox";
1403const char kQueryInOmniboxDescription[] =
1404 "Only display query terms in the omnibox when viewing a search results "
1405 "page.";
1406
Brett Wilsonecb80982017-07-12 20:34:511407const char kQuicName[] = "Experimental QUIC protocol";
1408const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1409
Emily Starke8878d52018-05-11 21:27:261410const char kRecurrentInterstitialName[] =
1411 "Show a message when the same SSL error recurs";
1412const char kRecurrentInterstitialDescription[] =
1413 "Enable a special message on the SSL certificate error page when the same "
1414 "SSL error occurs repeatedly.";
1415
Brett Wilsonecb80982017-07-12 20:34:511416const char kReducedReferrerGranularityName[] =
1417 "Reduce default 'referer' header granularity.";
1418const char kReducedReferrerGranularityDescription[] =
1419 "If a page hasn't set an explicit referrer policy, setting this flag will "
1420 "reduce the amount of information in the 'referer' header for cross-origin "
1421 "requests.";
1422
Claudio Magnie0a80bb2018-01-31 02:52:581423extern const char kRegionalLocalesAsDisplayUIName[] =
1424 "Allow regional locales as display UI";
1425extern const char kRegionalLocalesAsDisplayUIDescription[] =
1426 "This flag allows regional locales to be selected as display UI by the "
1427 "user in Language Settings. The actual locale of the system is derived "
1428 "from the user selection based on some simple fallback logic.";
1429
Christian Dullweber1af31e62018-02-22 11:49:481430const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141431 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481432const char kRemoveNavigationHistoryDescription[] =
1433 "Remove a navigation entry when the corresponding history entry has been "
1434 "deleted.";
1435
Mihai Sardarescu6d0f5b72017-10-30 11:24:381436const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1437 "Remove usage of the deprecated GAIA sign-in endpoint";
1438const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1439 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1440 "This flags controls wheter it should no longer be used during a sign-in "
1441 " flow.";
1442
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351443const char kRendererSideResourceSchedulerName[] =
1444 "Renderer side ResourceScheduler";
1445const char kRendererSideResourceSchedulerDescription[] =
1446 "Migrate some ResourceScheduler functionalities to renderer";
1447
Brett Wilsonecb80982017-07-12 20:34:511448const char kRequestTabletSiteName[] =
1449 "Request tablet site option in the settings menu";
1450const char kRequestTabletSiteDescription[] =
1451 "Allows the user to request tablet site. Web content is often optimized "
1452 "for tablet devices. When this option is selected the user agent string is "
1453 "changed to indicate a tablet device. Web content optimized for tablets is "
1454 "received there after for the current tab.";
1455
1456const char kResetAppListInstallStateName[] =
1457 "Reset the App Launcher install state on every restart.";
1458const char kResetAppListInstallStateDescription[] =
1459 "Reset the App Launcher install state on every restart. While this flag is "
1460 "set, Chrome will forget the launcher has been installed each time it "
1461 "starts. This is used for testing the App Launcher install flow.";
1462
Kinuko Yasuda33955082018-06-19 10:14:591463const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511464const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591465 "Uses the resource load scheduler in blink to throttle resource load "
1466 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511467
Brett Wilsonecb80982017-07-12 20:34:511468const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1469const char kSafeSearchUrlReportingDescription[] =
1470 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1471
Alexei Filippov98772752018-01-27 08:26:521472const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1473const char kSamplingHeapProfilerDescription[] =
1474 "Enables native memory sampling profiler with specified rate in KiB. "
1475 "If sampling rate is not provided the default value of 128 KiB is used.";
1476
Brett Wilsonecb80982017-07-12 20:34:511477const char kSaveasMenuLabelExperimentName[] =
1478 "Switch 'Save as' menu labels to 'Download'";
1479const char kSaveasMenuLabelExperimentDescription[] =
1480 "Enables an experiment to switch menu labels that use 'Save as...' to "
1481 "'Download'.";
1482
1483const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1484const char kSavePageAsMhtmlDescription[] =
1485 "Enables saving pages as MHTML: a single text file containing HTML and all "
1486 "sub-resources.";
1487
Nate Chapin9638e7102017-09-20 22:11:011488const char kSavePreviousDocumentResourcesName[] =
1489 "Save Previous Document Resources";
1490const char kSavePreviousDocumentResourcesDescription[] =
1491 "Saves an old document's cached resources until the specified point in the "
1492 "next document's lifecycle.";
1493const char kSavePreviousDocumentResourcesNever[] =
1494 "Don't explicitly save resources";
1495const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1496 "Save resources until onDOMContentLoaded completes";
1497const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1498 "Save resources until onload completes";
1499
Brett Wilsonecb80982017-07-12 20:34:511500const char kScrollPredictionName[] = "Scroll prediction";
1501const char kScrollPredictionDescription[] =
1502 "Predicts the finger's future position during scrolls allowing time to "
1503 "render the frame before the finger is there.";
1504
1505const char kSecondaryUiMd[] =
1506 "Material Design in the rest of the browser's native UI";
1507const char kSecondaryUiMdDescription[] =
1508 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1509 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341510 "browser dialogs. If --top-chrome-md is effectively Material Design "
1511 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511512
1513const char kServiceWorkerNavigationPreloadName[] =
1514 "Service worker navigation preload.";
1515const char kServiceWorkerNavigationPreloadDescription[] =
1516 "Enable web pages to use the experimental service worker navigation "
1517 "preload API.";
1518
gogeraldd5061b592017-09-06 23:39:551519const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1520const char kServiceWorkerPaymentAppsDescription[] =
1521 "Enable Service Worker applications to integrate as payment apps";
1522
Makoto Shimazu22078cc2018-02-21 03:01:441523extern const char kServiceWorkerServicificationName[] =
1524 "Servicified service workers";
1525extern const char kServiceWorkerServicificationDescription[] =
1526 "Enable the servicified service workers. A servicified service worker can "
1527 "have direct connection from its clients, so that fetch events can be "
1528 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171529
Tsuyoshi Horobcb1c642017-11-24 16:32:141530const char kServiceWorkerScriptFullCodeCacheName[] =
1531 "Service worker script full code cache.";
1532const char kServiceWorkerScriptFullCodeCacheDescription[] =
1533 "Generate V8 full code cache of Service Worker scripts while installing.";
1534
Brett Wilsonecb80982017-07-12 20:34:511535const char kSettingsWindowName[] = "Show settings in a window";
1536const char kSettingsWindowDescription[] =
1537 "Settings will be shown in a dedicated window instead of as a browser tab.";
1538
Manu Cornetd7ef7c52018-05-01 22:08:231539const char kShelfHoverPreviewsName[] =
1540 "Show previews of running apps when hovering over the shelf.";
1541const char kShelfHoverPreviewsDescription[] =
1542 "Shows previews of the open windows for a given running app when hovering "
1543 "over the shelf.";
1544
Manu Cornet683e14b2018-07-16 17:39:431545const char kShelfNewUiName[] = "Newest shelf redesign.";
1546const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1547
Trent Apted750ba7022017-10-23 13:36:251548const char kShowAllDialogsWithViewsToolkitName[] =
1549 "Show all dialogs with Views toolkit";
1550const char kShowAllDialogsWithViewsToolkitDescription[] =
1551 "All browser dialogs will be shown using the Views toolkit rather than "
1552 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1553
Naoki Fukino008a0022018-05-23 18:33:001554const char kShowAndroidFilesInFilesAppName[] =
1555 "Show Android files in Files app";
1556const char kShowAndroidFilesInFilesAppDescription[] =
1557 "Show Android files in Files app if Android is enabled on the device.";
1558
Luciano Pachecoa0e2753f2018-07-16 07:41:101559const char kFilesAppDisableMyFilesNavigationName[] =
1560 "Disable the My Files on the navigation in the Files app";
1561const char kFilesAppDisableMyFilesNavigationDescription[] =
1562 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511563 R"("My Files" root for Downloads, Linux and Play files)";
1564
Brett Wilsonecb80982017-07-12 20:34:511565const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1566const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381567 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1568 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511569
1570const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1571const char kShowAutofillTypePredictionsDescription[] =
1572 "Annotates web forms with Autofill field type predictions as placeholder "
1573 "text.";
1574
1575const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1576const char kShowOverdrawFeedbackDescription[] =
1577 "Visualize overdraw by color-coding elements based on if they have other "
1578 "elements drawn underneath.";
1579
Carlos IL89128732018-04-03 17:00:251580const char kSupervisedUserCommittedInterstitialsName[] =
1581 "Enable Supervised User Committed Interstitials";
1582const char kSupervisedUserCommittedInterstitialsDescription[] =
1583 "Use committed error pages instead of transient navigation entries for "
1584 "supervised user interstitials";
1585
yiyixbdfa9a0b2017-10-23 22:21:471586const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1587const char kEnableDrawOcclusionDescription[] =
1588 "Enable the system to use draw occlusion to skip draw quads when they are "
1589 "not shown on the screen.";
1590
Brett Wilsonecb80982017-07-12 20:34:511591const char kShowSavedCopyName[] = "Show Saved Copy Button";
1592const char kShowSavedCopyDescription[] =
1593 "When a page fails to load, if a stale copy of the page exists in the "
1594 "browser cache, a button will be presented to allow the user to load that "
1595 "stale copy. The primary enabling choice puts the button in the most "
1596 "salient position on the error page; the secondary enabling choice puts it "
1597 "secondary to the reload button.";
1598const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1599const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1600const char kDisableShowSavedCopy[] = "Disable";
1601
Brett Wilsonecb80982017-07-12 20:34:511602const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1603const char kSilentDebuggerExtensionApiDescription[] =
1604 "Do not show the infobar when an extension attaches to a page via "
1605 "chrome.debugger API. This is required to debug extension background "
1606 "pages.";
1607
Tsuyoshi Horo53895ba92018-03-14 04:06:481608const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1609const char kSignedHTTPExchangeDescription[] =
1610 "Enables Origin-Signed HTTP Exchanges support which is still in "
1611 "development. Warning: Enabling this may pose a security risk.";
1612
Brett Wilsonecb80982017-07-12 20:34:511613const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1614const char kSimpleCacheBackendDescription[] =
1615 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1616 "disk space allocation.";
1617
Christopher Thompson75ff845d2018-02-01 20:12:461618const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1619const char kSimplifyHttpsIndicatorDescription[] =
1620 "Change the UI treatment for HTTPS pages.";
1621
Brett Wilsonecb80982017-07-12 20:34:511622const char kSingleClickAutofillName[] = "Single-click autofill";
1623const char kSingleClickAutofillDescription[] =
1624 "Make autofill suggestions on initial mouse click on a form element.";
1625
Bret Sepulveda4f891da2018-07-16 19:10:301626const char kSingleTabMode[] = "Single-tab mode";
1627const char kSingleTabModeDescription[] =
1628 "Windows with a single tab receive a special, minimal visual treatment.";
1629
Nick Carter855bc492018-03-10 00:44:571630const char kStrictSiteIsolationName[] = "Strict site isolation";
1631const char kStrictSiteIsolationDescription[] =
1632 "Security mode that enables site isolation for all sites. When enabled, "
1633 "each renderer process will contain pages from at most one site, using "
1634 "out-of-process iframes when needed. When enabled, this flag forces the "
1635 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1636 "isolation mode will be determined by enterprise policy or field trial.";
1637
1638const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1639const char kSiteIsolationTrialOptOutDescription[] =
1640 "Opts out of field trials that enable site isolation modes "
1641 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1642 "may be due to out-of-process iframes. Opt-out has no effect if site "
1643 "isolation is force-enabled via #enable-site-per-process or enterprise "
1644 "policy. Caution: this disables important mitigations for the Spectre CPU "
1645 "vulnerability affecting most computers.";
1646extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1647extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1648 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511649
Pattideade7972018-04-27 02:59:401650const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511651const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401652 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511653
Brett Wilsonecb80982017-07-12 20:34:511654const char kSmoothScrollingName[] = "Smooth Scrolling";
1655const char kSmoothScrollingDescription[] =
1656 "Animate smoothly when scrolling page content.";
1657
1658const char kSoftwareRasterizerName[] = "3D software rasterizer";
1659const char kSoftwareRasterizerDescription[] =
1660 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1661
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201662const char kSoleIntegrationName[] = "Sole integration";
1663const char kSoleIntegrationDescription[] =
1664 "Enable Sole integration for browser customization. You must restart "
1665 "the browser twice for changes to take effect.";
1666
Tommy Steimel77704be2017-08-28 22:14:401667const char kSoundContentSettingName[] = "Sound content setting";
1668const char kSoundContentSettingDescription[] =
1669 "Enable site-wide muting in content settings and tab strip context menu.";
1670
Alexandr Ilinf0500ed32017-09-27 21:12:361671const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1672const char kSpeculativePreconnectDescription[] =
1673 "Enable the new implementation of preconnect and DNS preresolve. "
1674 "\"Learning\" means that only database construction is enabled, "
1675 "\"Preconnect\" enables both learning and preconnect and disables the "
1676 "existing implementation. \"No preconnect\" disables both implementations.";
1677
Brett Wilsonecb80982017-07-12 20:34:511678const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341679const char kSpeculativePrefetchDescription[] =
1680 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1681 R"*(load times, based on a local database (see chrome://predictors). )*"
1682 R"*("Learning" means that only the database construction is enabled, )*"
1683 R"*("Prefetching" that learning and prefetching are enabled.)*";
1684
Justin Donnelly4e448cb2017-07-07 21:32:131685const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1686 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131687const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1688 "If enabled, when the user enters text in the omnibox that looks like a "
1689 "a query, any service worker associated with the search engine the query "
1690 "will be sent to is started early.";
1691
Brett Wilsonecb80982017-07-12 20:34:511692const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1693const char kSpellingFeedbackFieldTrialDescription[] =
1694 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401695
Shubhie Panickerfaf082ed2018-01-03 04:49:151696const char kStopInBackgroundName[] = "Stop in background";
1697const char kStopInBackgroundDescription[] =
1698 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281699 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151700
1701const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1702const char kStopLoadingInBackgroundDescription[] =
1703 "Stop loading tasks and loading "
1704 "resources, in the background, after certain grace time.";
1705
Shubhie Panicker56c99a22018-03-21 00:22:281706const char kStopNonTimersInBackgroundName[] =
1707 "Stop non-timer task queues background";
1708const char kStopNonTimersInBackgroundDescription[] =
1709 "Stop non-timer task queues, in the background, "
1710 "after a grace period.";
1711
Brett Wilsonecb80982017-07-12 20:34:511712const char kSuggestionsWithSubStringMatchName[] =
1713 "Substring matching for Autofill suggestions";
1714const char kSuggestionsWithSubStringMatchDescription[] =
1715 "Match Autofill suggestions based on substrings (token prefixes) rather "
1716 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341717
Brett Wilsonecb80982017-07-12 20:34:511718const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1719const char kSyncSandboxDescription[] =
1720 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341721
Joe Downing8cbbc192018-05-14 17:37:071722const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1723const char kSystemKeyboardLockDescription[] =
1724 "Enables websites to use the keyboard.lock() API to intercept system "
1725 "keyboard shortcuts and have the events routed directly to the website "
1726 "when in fullscreen mode.";
1727
Brett Wilsonecb80982017-07-12 20:34:511728const char kTabAudioMutingName[] = "Tab audio muting UI control";
1729const char kTabAudioMutingDescription[] =
1730 "When enabled, the audio indicators in the tab strip double as tab audio "
1731 "mute controls. This also adds commands in the tab context menu for "
1732 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341733
Christian Dullweberd0d96f02017-09-13 09:22:511734const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1735const char kTabsInCbdDescription[] =
1736 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1737
Becky Zhou99c22802017-10-19 05:09:271738const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1739const char kTabModalJsDialogDescription[] =
1740 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1741 " tab.";
1742
Brett Wilsonecb80982017-07-12 20:34:511743const char kTcpFastOpenName[] = "TCP Fast Open";
1744const char kTcpFastOpenDescription[] =
1745 "Enable the option to send extra authentication information in the initial "
1746 "SYN packet for a previously connected client, allowing faster data send "
1747 "start.";
vabr0215a8e2017-03-28 12:47:341748
Daniele Castagna0fead93e2018-01-10 20:40:291749const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1750const char kTintGlCompositedContentDescription[] =
1751 "Tint contents composited using GL with a shade of red to help debug and "
1752 "study overlay support.";
1753
Brett Wilsonecb80982017-07-12 20:34:511754const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1755const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581756 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401757 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431758 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341759 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541760 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511761const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531762const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461763const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581764const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401765const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431766const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341767
Brett Wilsonecb80982017-07-12 20:34:511768const char kThreadedScrollingName[] = "Threaded scrolling";
1769const char kThreadedScrollingDescription[] =
1770 "Threaded handling of scroll-related input events. Disabling this will "
1771 "force all such scroll events to be handled on the main thread. Note that "
1772 "this can dramatically hurt scrolling performance of most websites and is "
1773 "intended for testing purposes only.";
1774
Steven Valdez4584b2482017-07-14 01:11:571775const char kTLS13VariantName[] = "TLS 1.3";
1776const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1777const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111778const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041779const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381780const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571781
Brett Wilsonecb80982017-07-12 20:34:511782const char kTopDocumentIsolationName[] = "Top document isolation";
1783const char kTopDocumentIsolationDescription[] =
1784 "Highly experimental performance mode where cross-site iframes are kept in "
1785 "a separate process from the top document. In this mode, iframes from "
1786 "different third-party sites will be allowed to share a process.";
1787
Dominick Ng8896b1cd2017-10-17 23:24:361788const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1789const char kTopSitesFromSiteEngagementDescription[] =
1790 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1791 "engagement.";
1792
Brett Wilsonecb80982017-07-12 20:34:511793const char kTouchAdjustmentName[] = "Touch adjustment";
1794const char kTouchAdjustmentDescription[] =
1795 "Refine the position of a touch gesture in order to compensate for touches "
1796 "having poor resolution compared to a mouse.";
1797
Alex Newcomerb3d3c972018-05-03 14:59:401798const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1799const char kTouchableAppContextMenuDescription[] =
1800 "Enable the touchable app context menu, which enlarges app context menus "
1801 "in the Launcher and Shelf to make room for new features.";
1802
Brett Wilsonecb80982017-07-12 20:34:511803const char kTouchDragDropName[] = "Touch initiated drag and drop";
1804const char kTouchDragDropDescription[] =
1805 "Touch drag and drop can be initiated through long press on a draggable "
1806 "element.";
1807
1808const char kTouchEventsName[] = "Touch Events API";
1809const char kTouchEventsDescription[] =
1810 "Force Touch Events API feature detection to always be enabled or "
1811 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291812 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511813
1814const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1815const char kTouchSelectionStrategyDescription[] =
1816 "Controls how text selection granularity changes when touch text selection "
1817 "handles are dragged. Non-default behavior is experimental.";
1818const char kTouchSelectionStrategyCharacter[] = "Character";
1819const char kTouchSelectionStrategyDirection[] = "Direction";
1820
1821const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1822const char kTraceUploadUrlDescription[] =
1823 "This is to be used in conjunction with the enable-navigation-tracing "
1824 "flag. Please select the label that best describes the recorded traces. "
1825 "This will choose the destination the traces are uploaded to. If you are "
1826 "not sure, select other. If left empty, no traces will be uploaded.";
1827const char kTraceUploadUrlChoiceOther[] = "Other";
1828const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1829const char kTraceUploadUrlChoiceQa[] = "QA";
1830const char kTraceUploadUrlChoiceTesting[] = "Testing";
1831
Anthony Vallee-Dubois265c5692018-06-01 15:57:141832const char kTranslateForceTriggerOnEnglishName[] =
1833 "Select which language model to use to trigger translate on English "
1834 "content";
1835const char kTranslateForceTriggerOnEnglishDescription[] =
1836 "Force the Translate Triggering on English pages experiment to be enabled "
1837 "with the selected language model active.";
1838
Philippe Hamel7fdaa452017-09-29 17:22:491839const char kTranslateRankerEnforcementName[] =
1840 "Enforce TranslateRanker decisions";
1841const char kTranslateRankerEnforcementDescription[] =
1842 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1843 "or not Translate UI should be triggered in a given context.";
1844
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161845const char kTranslateUIName[] = "Enable Translate";
1846const char kTranslateUIDescription[] =
1847 "Enable the Translate popup when visiting webpages in other languages.";
1848
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051849const char kTreatInsecureOriginAsSecureName[] =
1850 "Insecure origins treated as secure";
1851const char kTreatInsecureOriginAsSecureDescription[] =
1852 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1853 "supplied as a comma-separated list. For the definition of secure "
1854 "contexts, "
1855 "see https://w3c.github.io/webappsec-secure-contexts/";
1856
Brett Wilsonecb80982017-07-12 20:34:511857const char kTrySupportedChannelLayoutsName[] =
1858 "Causes audio output streams to check if channel layouts other than the "
1859 "default hardware layout are available.";
1860const char kTrySupportedChannelLayoutsDescription[] =
1861 "Causes audio output streams to check if channel layouts other than the "
1862 "default hardware layout are available. Turning this on will allow the OS "
1863 "to do stereo to surround expansion if supported. May expose third party "
1864 "driver bugs, use with caution.";
1865
David Roger6762a092018-01-31 15:55:071866const char kUnifiedConsentName[] = "Unified Consent";
1867const char kUnifiedConsentDescription[] =
1868 "Enables a unified management of user consent for privacy-related "
1869 "features. This includes new confirmation screens and improved settings "
1870 "pages.";
1871
Brett Wilsonecb80982017-07-12 20:34:511872const char kUiPartialSwapName[] = "Partial swap";
1873const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1874
Chris Pickel3a227ae62017-08-24 10:47:261875const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1876const char kUseDdljsonApiDescription[] =
1877 "Enables the new ddljson API to fetch Doodles for the NTP.";
1878
Becca Hughes59c05b42017-11-03 13:11:581879const char kUseModernMediaControlsName[] = "New Media Controls";
1880const char kUseModernMediaControlsDescription[] =
1881 "Enables the new style native media controls.";
1882
Wei Li790e7a8572018-03-23 01:31:551883const char kUsePdfCompositorServiceName[] =
1884 "Use PDF compositor service for printing";
1885const char kUsePdfCompositorServiceDescription[] =
1886 "When enabled, use PDF compositor service to composite and generate PDF "
1887 "files for printing. When site isolation is enabled, disabling this will "
1888 "not stop using PDF compositor service since the service is required for "
1889 "printing out-of-process iframes correctly.";
1890
Mustaq Ahmedc646c0a2017-10-20 20:08:301891const char kUserActivationV2Name[] = "User Activation v2";
1892const char kUserActivationV2Description[] =
1893 "Enable simple user activation for APIs that are otherwise controlled by "
1894 "user gesture tokens.";
1895
Brett Wilsonecb80982017-07-12 20:34:511896const char kUserConsentForExtensionScriptsName[] =
1897 "User consent for extension scripts";
1898const char kUserConsentForExtensionScriptsDescription[] =
1899 "Require user consent for an extension running a script on the page, if "
1900 "the extension requested permission to run on all urls.";
1901
1902const char kUseSuggestionsEvenIfFewFeatureName[] =
1903 "Disable minimum for server-side tile suggestions on NTP.";
1904const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1905 "Request server-side suggestions even if there are only very few of them "
1906 "and use them for tiles on the New Tab Page.";
1907
1908const char kV8CacheOptionsName[] = "V8 caching mode.";
1909const char kV8CacheOptionsDescription[] =
1910 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511911const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1912
Hitoshi Yoshida3e5db562017-09-11 02:31:081913const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1914const char kV8ContextSnapshotDescription[] =
1915 "Sets to use a snapshot to create V8 contexts in frame creation.";
1916
Michael Hablich896d52662017-10-23 15:59:571917const char kV8VmFutureName[] = "Future V8 VM features";
1918const char kV8VmFutureDescription[] =
1919 "This enables upcoming and experimental V8 VM features. "
1920 "This flag does not enable experimental JavaScript features.";
1921
Hannes Payer1130d5672018-06-05 07:37:311922const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1923const char kV8OrinocoDescription[] =
1924 "This enables the V8 Orinoco garbage collection features.";
1925
Brett Wilsonecb80982017-07-12 20:34:511926const char kVideoFullscreenOrientationLockName[] =
1927 "Lock screen orientation when playing a video fullscreen.";
1928const char kVideoFullscreenOrientationLockDescription[] =
1929 "Lock the screen orientation of the device to match video orientation when "
1930 "a video goes fullscreen. Only on phones.";
1931
1932const char kVideoRotateToFullscreenName[] =
1933 "Rotate-to-fullscreen gesture for videos.";
1934const char kVideoRotateToFullscreenDescription[] =
1935 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1936 "the video. Only on phones.";
1937
Elly Fong-Jonesf4c79502018-03-23 19:21:531938const char kViewsBrowserWindowsName[] =
1939 "Use Views browser windows instead of Cocoa.";
1940const char kViewsBrowserWindowsDescription[] =
1941 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1942
Brett Wilsonecb80982017-07-12 20:34:511943const char kWalletServiceUseSandboxName[] =
1944 "Use Google Payments sandbox servers";
1945const char kWalletServiceUseSandboxDescription[] =
1946 "For developers: use the sandbox service for Google Payments API calls.";
1947
Brett Wilsonecb80982017-07-12 20:34:511948const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1949const char kWebglDraftExtensionsDescription[] =
1950 "Enabling this option allows web applications to access the WebGL "
1951 "Extensions that are still in draft status.";
1952
1953const char kWebMidiName[] = "Web MIDI API";
1954const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1955
1956const char kWebPaymentsName[] = "Web Payments";
1957const char kWebPaymentsDescription[] =
1958 "Enable Web Payments API integration, a JavaScript API for merchants.";
1959
Mathieu Perreault51339b82017-07-20 17:06:051960const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1961const char kWebPaymentsModifiersDescription[] =
1962 "If the website provides modifiers in the payment request, show the custom "
1963 "total for each payment instrument, update the shopping cart when "
1964 "instruments are switched, and send modified payment method specific data "
1965 "to the payment app.";
1966
Brett Wilsonecb80982017-07-12 20:34:511967const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1968const char kWebrtcEchoCanceller3Description[] =
1969 "Experimental WebRTC echo canceller (AEC3).";
1970
1971const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1972const char kWebrtcHwDecodingDescription[] =
1973 "Support in WebRTC for decoding video streams using platform hardware.";
1974
1975const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1976const char kWebrtcHwEncodingDescription[] =
1977 "Support in WebRTC for encoding video streams using platform hardware.";
1978
1979const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1980const char kWebrtcHwH264EncodingDescription[] =
1981 "Support in WebRTC for encoding h264 video streams using platform "
1982 "hardware.";
1983
1984const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1985const char kWebrtcHwVP8EncodingDescription[] =
1986 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1987
Niels Möller090866a2018-02-13 10:55:031988const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1989 "WebRTC new encode cpu load estimator";
1990const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1991 "Enable new estimator for the encoder cpu load, for evaluation and "
1992 "testing. Intended to improve accuracy when screen casting.";
1993
Elad Alon85e0d0be2018-06-26 10:38:371994const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1995const char kWebRtcRemoteEventLogDescription[] =
1996 "Allow collecting WebRTC event logs and uploading them to Crash. "
1997 "Please note that, even if enabled, this will still require "
1998 "a policy to be set, for it to have an effect.";
1999
Brett Wilsonecb80982017-07-12 20:34:512000const char kWebrtcSrtpAesGcmName[] =
2001 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2002const char kWebrtcSrtpAesGcmDescription[] =
2003 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2004
Joachim Bauch4a41d7512017-08-23 14:24:232005const char kWebrtcSrtpEncryptedHeadersName[] =
2006 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2007const char kWebrtcSrtpEncryptedHeadersDescription[] =
2008 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2009 "for SRTP.";
2010
Brett Wilsonecb80982017-07-12 20:34:512011const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2012const char kWebrtcStunOriginDescription[] =
2013 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2014 "header.";
2015
Adam Riceed63fc02018-06-20 05:57:462016const char kWebSocketHandshakeReuseConnectionName[] =
2017 "Enable WebSocket connection reuse for authentication";
2018const char kWebSocketHandshakeReuseConnectionDescription[] =
2019 "Permits the WebSocket handshake to keep the connection open after an "
2020 "authentication failure. The connection may be used for further requests "
2021 "to send credentials. This is sometimes needed for Windows authentication.";
2022
Brett Wilsonecb80982017-07-12 20:34:512023const char kWebvrName[] = "WebVR";
2024const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012025 "Enables access to experimental Virtual Reality functionality via the "
2026 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2027 "Device API. Warning: Enabling this will also allow WebVR content on "
2028 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222029 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512030
Brandon Jonese9d9b2b2017-12-11 22:20:112031const char kWebXrName[] = "WebXR Device API";
2032const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012033 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2034 "and Augmented Reality (AR) devices.";
2035
2036const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2037const char kWebXrGamepadSupportDescription[] =
2038 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222039 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2040 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432041
2042const char kWebXrHitTestName[] = "WebXR Hit Test";
2043const char kWebXrHitTestDescription[] =
2044 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112045
Anna Maria57ecf7592018-01-12 03:10:402046const char kWebXrOrientationSensorDeviceName[] =
2047 "WebXR orientation sensor device";
2048const char kWebXrOrientationSensorDeviceDescription[] =
2049 "When no VR platform device is available, expose a non-presenting device "
2050 "based on the device's orientation sensors, if available.";
2051
Brett Wilsonecb80982017-07-12 20:34:512052const char kWifiCredentialSyncName[] = "WiFi credential sync";
2053const char kWifiCredentialSyncDescription[] =
2054 "Enables synchronizing WiFi network settings across devices. When enabled, "
2055 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2056 "credentials are synchronized subject to user preferences. (See also, "
2057 "chrome://settings/syncSetup.)";
2058
2059const char kZeroCopyName[] = "Zero-copy rasterizer";
2060const char kZeroCopyDescription[] =
2061 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342062
Brett Wilsonff596952017-07-14 01:06:552063// Android ---------------------------------------------------------------------
2064
2065#if defined(OS_ANDROID)
2066
2067const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2068const char kAiaFetchingDescription[] =
2069 "Enable intermediate certificate fetching when a server does not provide "
2070 "sufficient certificates to build a chain to a trusted root.";
2071
2072const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2073const char kAccessibilityTabSwitcherDescription[] =
2074 "Enable the accessibility tab switcher for Android.";
2075
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252076const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2077const char kAllowReaderForAccessibilityDescription[] =
2078 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2079
Brett Wilsonff596952017-07-14 01:06:552080const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2081const char kAndroidAutofillAccessibilityDescription[] =
2082 "Enable accessibility for autofill popup.";
2083
Anita Woodruffbfcd1e52018-07-16 12:00:512084const char kAppNotificationStatusMessagingName[] =
2085 "App notification status messaging";
2086const char kAppNotificationStatusMessagingDescription[] =
2087 "Enables messaging in site permissions UI informing user when "
2088 "notifications are disabled for the entire app.";
2089
Brett Wilsonff596952017-07-14 01:06:552090const char kAndroidPaymentAppsName[] = "Android payment apps";
2091const char kAndroidPaymentAppsDescription[] =
2092 "Enable third party Android apps to integrate as payment apps";
2093
Miriam Gershenson8cf1397222018-01-23 22:48:292094const char kAsyncDnsName[] = "Async DNS resolver";
2095const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2096
Brett Wilsonff596952017-07-14 01:06:552097const char kAutofillAccessoryViewName[] =
2098 "Autofill suggestions as keyboard accessory view";
2099const char kAutofillAccessoryViewDescription[] =
2100 "Shows Autofill suggestions on top of the keyboard rather than in a "
2101 "dropdown.";
2102
2103const char kBackgroundLoaderForDownloadsName[] =
2104 "Enables background downloading of pages.";
2105const char kBackgroundLoaderForDownloadsDescription[] =
2106 "Enables downloading pages in the background in case page is not yet "
2107 "loaded in current tab.";
2108
Tibor Goldschwendt11b3cf22018-07-04 15:32:442109const char kBackgroundTaskComponentUpdateName[] =
2110 "Background Task Component Updates";
2111const char kBackgroundTaskComponentUpdateDescription[] =
2112 "Schedule component updates with BackgroundTaskScheduler";
2113
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002114const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2115const char kCCTModuleDescription[] =
2116 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2117
Matthew Jones1abcb132018-07-09 17:59:462118const char kChromeDuetName[] = "Chrome Duet";
2119const char kChromeDuetDescription[] =
2120 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052121
Brett Wilsonff596952017-07-14 01:06:552122const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2123const char kChromeHomeSwipeLogicDescription[] =
2124 "Various swipe logic options for Chrome Home for sheet expansion.";
2125const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152126const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552127
Theresa8e44a7132018-06-15 17:40:592128const char kChromeModernAlternateCardLayoutName[] =
2129 "Chrome Modern Alternate Card Layout";
2130const char kChromeModernAlternateCardLayoutDescription[] =
2131 "Enable the alternate card layout for Chrome Modern Design.";
2132
Matthew Jones5b7f1d62018-01-23 00:37:252133const char kChromeModernDesignName[] = "Chrome Modern Design";
2134const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452135 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2136 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252137
Donn Denman3e78c8d2018-06-28 22:51:422138const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2139const char kChromeModernFullRollDescription[] =
2140 "Enable modern full-roll animation for Chrome.";
2141
Megan Jablonskic61eb1b82017-10-02 18:03:062142const char kChromeMemexName[] = "Chrome Memex";
2143const char kChromeMemexDescription[] =
2144 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2145 "Googlers.";
2146
Sarath Singapati83aef1c2017-11-16 15:54:522147const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2148const char kClearOldBrowsingDataDescription[] =
2149 "Enables clearing of browsing data which is older than a given time "
2150 "period.";
2151
Brett Wilsonff596952017-07-14 01:06:552152const char kContentSuggestionsCategoryOrderName[] =
2153 "Default content suggestions category order (e.g. on NTP)";
2154const char kContentSuggestionsCategoryOrderDescription[] =
2155 "Set default order of content suggestion categories (e.g. on the NTP).";
2156
2157const char kContentSuggestionsCategoryRankerName[] =
2158 "Content suggestions category ranker (e.g. on NTP)";
2159const char kContentSuggestionsCategoryRankerDescription[] =
2160 "Set category ranker to order categories of content suggestions (e.g. on "
2161 "the NTP).";
2162
Vitalii Iarkof52ff802017-09-14 12:34:242163const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2164const char kContentSuggestionsDebugLogDescription[] =
2165 "Enable content suggestions debug log accessible through "
2166 "snippets-internals.";
2167
Donn Denman8e58ead2017-11-04 01:44:012168const char kContextualSearchMlTapSuppressionName[] =
2169 "Contextual Search ML tap suppression";
2170const char kContextualSearchMlTapSuppressionDescription[] =
2171 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022172 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2173 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552174
2175const char kContextualSearchName[] = "Contextual Search";
2176const char kContextualSearchDescription[] =
2177 "Whether or not Contextual Search is enabled.";
2178
Donn Denman59729812018-01-09 01:27:022179const char kContextualSearchRankerQueryName[] =
2180 "Contextual Search Ranker prediction";
2181const char kContextualSearchRankerQueryDescription[] =
2182 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2183
2184const char kContextualSearchSecondTapName[] =
2185 "Contextual Search second tap triggering";
2186const char kContextualSearchSecondTapDescription[] =
2187 "Enables triggering on a second tap gesture even when Ranker would "
2188 "normally suppress that tap.";
2189
Cathy Li2fb32bf82018-06-06 18:55:402190const char kExploreSitesName[] = "Explore websites";
2191const char kExploreSitesDescription[] =
2192 "Enables portal from new tab page to explore websites.";
2193
Dmitry Skiba9c3efa72017-07-20 22:01:142194const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2195const char kDontPrefetchLibrariesDescription[] =
2196 "Don't prefetch libraries after loading.";
2197
Joy Ming5fd29ca62017-10-02 22:51:222198const char kDownloadsForegroundName[] = "Enable downloads foreground";
2199const char kDownloadsForegroundDescription[] =
2200 "Enable downloads as a foreground service for all versions of Android.";
2201
Joy Ming189b0cc2017-12-08 19:42:432202const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2203const char kDownloadsLocationChangeDescription[] =
2204 "Enable changing default downloads storage location on Android.";
2205
Shakti Sahu32b2ee102018-05-17 00:04:462206const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2207const char kDownloadProgressInfoBarDescription[] =
2208 "Enables an infobar notifying users about status of current downloads.";
2209
Brett Wilsonff596952017-07-14 01:06:552210const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2211const char kEnableAndroidPayIntegrationV1Description[] =
2212 "Enable integration with Android Pay using the first version of the API";
2213
2214const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2215const char kEnableAndroidPayIntegrationV2Description[] =
2216 "Enable integration with Android Pay using the second version of the API";
2217
Vitalii Iarkof4ed32d2017-09-26 13:15:532218const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552219const char kEnableAndroidSpellcheckerDescription[] =
2220 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552221
Lei Tianbd5a3bf2018-02-28 19:01:162222const char kEnableCommandLineOnNonRootedName[] =
2223 "Enable command line on non-rooted devices";
2224const char kEnableCommandLineOnNoRootedDescription[] =
2225 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2226
Vitalii Iarkof4ed32d2017-09-26 13:15:532227const char kEnableContentSuggestionsNewFaviconServerName[] =
2228 "Get favicons for content suggestions from a new server.";
2229const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2230 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2231 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552232
2233const char kEnableContentSuggestionsSettingsName[] =
2234 "Show content suggestions settings.";
2235const char kEnableContentSuggestionsSettingsDescription[] =
2236 "If enabled, the content suggestions settings will be available from the "
2237 "main settings menu.";
2238
Vitalii Iarkof4ed32d2017-09-26 13:15:532239const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2240 "Use content suggestions thumbnail dominant color.";
2241const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2242 "Use content suggestions thumbnail dominant color as a placeholder before "
2243 "the real thumbnail is fetched (requires Chrome Home).";
2244
Brett Wilsonff596952017-07-14 01:06:552245const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2246const char kEnableCustomContextMenuDescription[] =
2247 "Enables a new context menu when a link, image, or video is pressed within "
2248 "Chrome.";
2249
2250const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2251const char kEnableCustomFeedbackUiDescription[] =
2252 "Enables a custom feedback UI when submitting feedback through Google "
2253 "Feedback. Works with Google Play Services v10.2+";
2254
2255const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472256 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552257const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472258 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552259
Becca Hughes6d73bac542018-06-18 20:38:502260const char kEnableMediaControlsExpandGestureName[] =
2261 "Enable Media Controls Expand Gesture";
2262const char kEnableMediaControlsExpandGestureDescription[] =
2263 "Enables a gesture to be used on the media controls to extend the video "
2264 "into the Display Cutout area.";
2265
Brett Wilsonff596952017-07-14 01:06:552266const char kEnableOmniboxClipboardProviderName[] =
2267 "Omnibox clipboard URL suggestions";
2268const char kEnableOmniboxClipboardProviderDescription[] =
2269 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2270 "focus in the omnibox.";
2271
Becky Zhoua7f11d62018-02-01 16:02:532272const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2273 "Show article suggestions expandable header on New Tab Page";
2274const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2275 "If enabled, the article suggestions content on New Tab Page can be "
2276 "toggled shown or hidden by clicking the expandable header.";
2277
Brett Wilsonff596952017-07-14 01:06:552278const char kEnableNtpAssetDownloadSuggestionsName[] =
2279 "Show asset downloads on the New Tab page";
2280const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2281 "If enabled, the list of content suggestions on the New Tab page will "
2282 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2283 "later use.";
2284
2285const char kEnableNtpBookmarkSuggestionsName[] =
2286 "Show recently visited bookmarks on the New Tab page";
2287const char kEnableNtpBookmarkSuggestionsDescription[] =
2288 "If enabled, the list of content suggestions on the New Tab page will "
2289 "contain recently visited bookmarks.";
2290
2291const char kEnableNtpForeignSessionsSuggestionsName[] =
2292 "Show recent foreign tabs on the New Tab page";
2293const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2294 "If enabled, the list of content suggestions on the New Tab page will "
2295 "contain recent foreign tabs.";
2296
Brett Wilsonff596952017-07-14 01:06:552297const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2298 "Show offline page downloads on the New Tab page";
2299const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2300 "If enabled, the list of content suggestions on the New Tab page will "
2301 "contain pages that the user downloaded for later use.";
2302
2303const char kEnableNtpRemoteSuggestionsName[] =
2304 "Show server-side suggestions on the New Tab page";
2305const char kEnableNtpRemoteSuggestionsDescription[] =
2306 "If enabled, the list of content suggestions on the New Tab page will "
2307 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2308 "allows to override the source used to retrieve these server-side "
2309 "suggestions.";
2310
2311const char kEnableNtpSnippetsVisibilityName[] =
2312 "Make New Tab Page Snippets more visible.";
2313const char kEnableNtpSnippetsVisibilityDescription[] =
2314 "If enabled, the NTP snippets will become more discoverable with a larger "
2315 "portion of the first card above the fold.";
2316
2317const char kEnableNtpSuggestionsNotificationsName[] =
2318 "Notify about new content suggestions available at the New Tab page";
2319const char kEnableNtpSuggestionsNotificationsDescription[] =
2320 "If enabled, notifications will inform about new content suggestions on "
2321 "the New Tab page.";
2322
Brett Wilsonff596952017-07-14 01:06:552323const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2324const char kEnableOfflinePreviewsDescription[] =
2325 "Enable showing offline page previews on slow networks.";
2326
2327const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2328const char kEnableOskOverscrollDescription[] =
2329 "Enable OSK overscroll support. With this flag on, the OSK will only "
2330 "resize the visual viewport.";
2331
2332const char kEnableSpecialLocaleName[] =
2333 "Enable custom logic for special locales.";
2334const char kEnableSpecialLocaleDescription[] =
2335 "Enable custom logic for special locales. In this mode, Chrome might "
2336 "behave differently in some locales.";
2337
Brett Wilsonff596952017-07-14 01:06:552338const char kEnableWebNfcName[] = "WebNFC";
2339const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2340
gogeraldf3cbb422017-07-26 14:37:122341const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2342 "Enable Web Payments method section order V2.";
2343const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2344 "Enable this option to display payment method section above address "
2345 "section instead of below it.";
2346
Raymes Khoury582b43132017-12-12 23:54:302347const char kGrantNotificationsToDSEName[] =
2348 "Grant notifications to the Default Search Engine";
2349const char kGrantNotificationsToDSENameDescription[] =
2350 "Automatically grant the notifications permission to the Default Search "
2351 "Engine";
2352
Daniel Parke74fcf862018-03-27 18:05:452353const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512354const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452355
Yafei Duanbb7663f32018-07-17 01:33:152356const char kHomepageTileName[] =
2357 "Enable Homepage tile shown in Suggested Tiles";
2358const char kHomepageTileDescription[] =
2359 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2360 "used for homepage. It will not have an effect when NTPButton is disabled.";
2361
Theresa920e0ed2018-03-07 18:12:442362const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152363 "Use the interest feed to render content suggestions. Currently "
2364 "content "
Theresa920e0ed2018-03-07 18:12:442365 "suggestions are shown on the New Tab Page.";
2366const char kInterestFeedContentSuggestionsName[] =
2367 "Interest Feed Content Suggestions";
2368
Brett Wilsonff596952017-07-14 01:06:552369const char kKeepPrefetchedContentSuggestionsName[] =
2370 "Keep prefetched content suggestions";
2371const char kKeepPrefetchedContentSuggestionsDescription[] =
2372 "If enabled, some of prefetched content suggestions are not replaced by "
2373 "the new fetched suggestions.";
2374
Leo Zhang051b75482017-12-20 03:28:302375const char kLanguagesPreferenceName[] = "Language Settings";
2376const char kLanguagesPreferenceDescription[] =
2377 "Enable this option for Language Settings feature on Android.";
2378
Brett Wilsonff596952017-07-14 01:06:552379const char kLsdPermissionPromptName[] =
2380 "Location Settings Dialog Permission Prompt";
2381const char kLsdPermissionPromptDescription[] =
2382 "Whether to use the Google Play Services Location Settings Dialog "
2383 "permission dialog.";
2384
Amirhossein Simjour97b4154f2018-02-20 03:49:592385const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2386const char kModalPermissionDialogViewDescription[] =
2387 "Enable this option to use ModalDialogManager for permission Dialogs.";
2388
Brett Wilsonff596952017-07-14 01:06:552389const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2390const char kMediaScreenCaptureDescription[] =
2391 "Enable this option for experimental ScreenCapture feature on Android.";
2392
2393const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2394const char kModalPermissionPromptsDescription[] =
2395 "Whether to use permission dialogs in place of permission infobars.";
2396
Finnur Thorarinssonc1488fc62018-07-09 19:21:572397const char kNewContactsPickerName[] = "Enable new contacts picker";
2398const char kNewContactsPickerDescription[] =
2399 "Activates the new picker for selecting contacts.";
2400
Brett Wilsonff596952017-07-14 01:06:552401const char kNewPhotoPickerName[] = "Enable new Photopicker";
2402const char kNewPhotoPickerDescription[] =
2403 "Activates the new picker for selecting photos.";
2404
2405const char kNoCreditCardAbort[] = "No Credit Card Abort";
2406const char kNoCreditCardAbortDescription[] =
2407 "Whether or not the No Credit Card Abort is enabled.";
2408
Daniel Park990d0992018-05-18 22:12:512409const char kNtpButtonName[] = "Enable NTP Button";
2410const char kNtpButtonDescription[] =
2411 "Displays a New Tab Page button in the toolbar if enabled.";
2412
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062413const char kNtpModernLayoutName[] = "Modern NTP layout";
2414const char kNtpModernLayoutDescription[] =
2415 "Show a modern layout on the New Tab Page.";
2416
Brett Wilsonff596952017-07-14 01:06:552417const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2418const char kNtpGoogleGInOmniboxDescription[] =
2419 "Show a Google G in the omnibox on the New Tab Page.";
2420
Brett Wilsonff596952017-07-14 01:06:552421const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2422const char kOfflineBookmarksDescription[] =
2423 "Enable saving bookmarked pages for offline viewing.";
2424
Jian Li1413ebf2018-06-14 20:46:322425const char kOfflineIndicatorName[] = "Enable offline indicator";
2426const char kOfflineIndicatorDescription[] =
2427 "Enable showing offline indicator while offline.";
2428
Brett Wilsonff596952017-07-14 01:06:552429const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2430const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2431
2432const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2433const char kOfflinePagesCtV2Description[] =
2434 "V2 features include attributing pages to the app that initiated the "
2435 "custom tabs, and being able to query for pages by page attribution.";
2436
Cathy Li7311d792018-04-05 00:34:162437const char kOfflinePagesCTSuppressNotificationsName[] =
2438 "Disable download complete notification for whitelisted CCT apps.";
2439const char kOfflinePagesCTSuppressNotificationsDescription[] =
2440 "Disable download complete notification for page downloads originating "
2441 "from a CCT app whitelisted to show their own download complete "
2442 "notification.";
2443
Candice Sy74fa7a352018-03-30 23:46:492444const char kOfflinePagesDescriptiveFailStatusName[] =
2445 "Enables descriptive failed download status text.";
2446const char kOfflinePagesDescriptiveFailStatusDescription[] =
2447 "Enables failed download status text in notifications and Downloads Home "
2448 "to state the reason the request failed if the failure is actionable.";
2449
2450const char kOfflinePagesDescriptivePendingStatusName[] =
2451 "Enables descriptive pending download status text.";
2452const char kOfflinePagesDescriptivePendingStatusDescription[] =
2453 "Enables pending download status text in notifications and Downloads Home "
2454 "to state the reason the request is pending.";
2455
2456const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2457 "Enables offline pages in the downloads home to be opened in CCT.";
2458const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2459 "When enabled offline pages launched from the Downloads Home will be "
2460 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2461
Carlos Knippschild09272ecd2017-12-09 03:29:362462const char kOfflinePagesLimitlessPrefetchingName[] =
2463 "Removes resource usage limits for the prefetching of offline pages.";
2464const char kOfflinePagesLimitlessPrefetchingDescription[] =
2465 "Allows the prefetching of suggested offline pages to ignore resource "
2466 "usage limits. This allows it to completely ignore data usage limitations "
2467 "and allows downloads to happen with any kind of connection.";
2468
Brett Wilsonff596952017-07-14 01:06:552469const char kOfflinePagesLoadSignalCollectingName[] =
2470 "Enables collecting load timing data for offline page snapshots.";
2471const char kOfflinePagesLoadSignalCollectingDescription[] =
2472 "Enables loading completeness data collection while writing an offline "
2473 "page. This data is collected in the snapshotted offline page to allow "
2474 "data analysis to improve deciding when to make the offline snapshot.";
2475
2476const char kOfflinePagesPrefetchingName[] =
2477 "Enables suggested offline pages to be prefetched.";
2478const char kOfflinePagesPrefetchingDescription[] =
2479 "Enables suggested offline pages to be prefetched, so useful content is "
2480 "available while offline.";
2481
Cathy Li3d5379e2017-09-07 00:11:092482const char kOfflinePagesPrefetchingUIName[] =
2483 "Enables prefetched offline pages to be shown in UI.";
2484const char kOfflinePagesPrefetchingUIDescription[] =
2485 "Enables prefetched offline pages to raise notifications and be shown in "
2486 "download home UI.";
2487
Pete Williamson7845dff2017-09-20 11:06:192488const char kOfflinePagesResourceBasedSnapshotName[] =
2489 "Enables offline page snapshots to be based on percentage of page loaded.";
2490const char kOfflinePagesResourceBasedSnapshotDescription[] =
2491 "Enables offline page snapshots to use a resource percentage based "
2492 "approach for determining when the page is loaded as opposed to a time "
2493 "based approach";
2494
Collin Baker17f92a52017-07-19 21:41:252495const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2496const char kOfflinePagesRenovationsDescription[] =
2497 "Enables offline page renovations which correct issues with dynamic "
2498 "content that occur when offlining pages that use JavaScript.";
2499
Brett Wilsonff596952017-07-14 01:06:552500const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2501const char kOfflinePagesSharingDescription[] =
2502 "Enables the saved offline pages to be shared via other applications.";
2503
Cathy Lie0d88762018-04-12 08:03:012504const char kOfflinePagesShowAlternateDinoPageName[] =
2505 "Enable alternate dino page with more user capabilities.";
2506const char kOfflinePagesShowAlternateDinoPageDescription[] =
2507 "Enables the dino page to show more buttons and offer existing offline "
2508 "content.";
2509
Brett Wilsonff596952017-07-14 01:06:552510const char kOfflinePagesSvelteConcurrentLoadingName[] =
2511 "Enables concurrent background loading on svelte.";
2512const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2513 "Enables concurrent background loading (or downloading) of pages on "
2514 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2515 "happen when the svelte device is idle.";
2516
2517const char kOffliningRecentPagesName[] =
2518 "Enable offlining of recently visited pages";
2519const char kOffliningRecentPagesDescription[] =
2520 "Enable storing recently visited pages locally for offline use. Requires "
2521 "Offline Pages to be enabled.";
2522
Lei Zhang2eca9082017-10-17 20:42:502523const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2524const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552525 "Enable Pay with Google integration into Web Payments with API version "
2526 "'1'.";
2527
Matthew Jonesa88b95852017-11-08 23:13:502528const char kProgressBarThrottleName[] = "Android progress update throttling.";
2529const char kProgressBarThrottleDescription[] =
2530 "Limit the maximum progress update to make progress appear smoother.";
2531
Brett Wilsonff596952017-07-14 01:06:552532const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2533const char kPullToRefreshEffectDescription[] =
2534 "Page reloads triggered by vertically overscrolling content.";
2535
Piotr Swigon7c296ef2017-08-29 04:32:002536const char kPwaImprovedSplashScreenName[] =
2537 "Improved Splash Screen for standalone PWAs";
2538const char kPwaImprovedSplashScreenDescription[] =
2539 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2540 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492541const char kPwaPersistentNotificationName[] =
2542 "Persistent notification in standalone PWA";
2543const char kPwaPersistentNotificationDescription[] =
2544 "Enables a persistent Android notification for standalone PWAs";
2545
Brett Wilsonff596952017-07-14 01:06:552546const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2547const char kReaderModeHeuristicsDescription[] =
2548 "Determines what pages the Reader Mode infobar is shown on.";
2549const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2550const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2551const char kReaderModeHeuristicsAllArticles[] = "All articles";
2552const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2553const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2554
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182555const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2556const char kReaderModeInCCTDescription[] =
2557 "Open Reader Mode in Chrome Custom Tabs.";
2558
Brett Wilsonff596952017-07-14 01:06:552559const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2560const char kSetMarketUrlForTestingDescription[] =
2561 "When enabled, sets the market URL for use in testing the update menu "
2562 "item.";
2563
2564const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2565const char kSpannableInlineAutocompleteDescription[] =
2566 "A new type of inline autocomplete for the omnibox that works with "
2567 "keyboards that compose text.";
2568
Theresaeea05a12018-05-09 21:01:592569const char kSimplifiedNtpName[] = "Simplified NTP";
2570const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2571
2572const char kSiteExplorationUiName[] = "Site Exploration UI";
2573const char kSiteExplorationUiDescription[] =
2574 "Show site suggestions in the Exploration UI";
2575
Brett Wilsonff596952017-07-14 01:06:552576const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2577const char kUpdateMenuBadgeDescription[] =
2578 "When enabled, an update badge will be shown on the app menu button.";
2579
2580const char kUpdateMenuItemCustomSummaryDescription[] =
2581 "When this flag and the force show update menu item flag are enabled, a "
2582 "custom summary string will be displayed below the update menu item.";
2583const char kUpdateMenuItemCustomSummaryName[] =
2584 "Update menu item custom summary";
2585
2586const char kUpdateMenuItemName[] = "Force show update menu item";
2587const char kUpdateMenuItemDescription[] =
2588 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2589 R"*(menu.)*";
2590
Amirhossein Simjourd78bbcf2018-02-02 16:23:392591const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2592const char kVrBrowsingNativeAndroidUiDescription[] =
2593 "Enable Android UI elements in VR.";
2594
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462595const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2596const char kVrBrowsingTabsViewDescription[] =
2597 "Enable tab overview (tab switcher) in VR.";
2598
Marc Treib93af46a2017-08-23 13:30:002599const char kThirdPartyDoodlesName[] =
2600 "Enable Doodles for third-party search engines";
2601const char kThirdPartyDoodlesDescription[] =
2602 "Enables fetching and displaying Doodles on the NTP for third-party search "
2603 "engines.";
2604
Klaus Weidneraaf697f2018-01-18 20:07:362605const char kWebXrRenderPathName[] = "WebXR presentation render path";
2606const char kWebXrRenderPathDescription[] =
2607 "Render path to use for WebXR presentation (including WebVR)";
2608const char kWebXrRenderPathChoiceClientWaitDescription[] =
2609 "ClientWait (Baseline)";
2610const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2611 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072612const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2613 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362614
Brett Wilson7b44537e2017-08-18 01:38:282615// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552616
Brett Wilson7b44537e2017-08-18 01:38:282617#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kAccountConsistencyName[] =
2620 "Identity consistency between browser and cookie jar";
2621const char kAccountConsistencyDescription[] =
2622 "When enabled, the browser manages signing in and out of Google accounts.";
2623const char kAccountConsistencyChoiceMirror[] = "Mirror";
2624const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342625
Chris Pickel3a227ae62017-08-24 10:47:262626const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2627const char kDoodlesOnLocalNtpDescription[] =
2628 "Show doodles on the local New Tab page if Google is the default search "
2629 "engine.";
2630
mlamouriff56c092017-05-11 15:31:392631const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392632const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342633 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392634const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392635const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392636const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342637 "Enabled (Flash lowers volume when interrupted by other sound, "
2638 "experimental)";
2639
Sebastien Marchandd33f7dc2018-06-22 22:07:062640const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2641const char kInfiniteSessionRestoreDescription[] =
2642 "Reduces the number of tabs being loaded simultaneously during session "
2643 "restore, to improve responsiveness of the foreground tab. This requires "
2644 "#enable-page-almost-idle.";
2645
Brett Wilson7b44537e2017-08-18 01:38:282646const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2647const char kEnableNewAppMenuIconDescription[] =
2648 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342649
Sebastien Marchandd33f7dc2018-06-22 22:07:062650const char kEnableWebAuthenticationCtap2SupportName[] =
2651 "Enable Web Authentication API support for CTAP2 security keys";
2652const char kEnableWebAuthenticationCtap2SupportDescription[] =
2653 "Enable CTAP2 security keys for the Web Authenication API.";
2654
2655const char kEnableWebAuthenticationTestingAPIName[] =
2656 "Web Authentication Testing API";
2657const char kEnableWebAuthenticationTestingAPIDescription[] =
2658 "Enable Web Authentication Testing API support, which disconnects the API "
2659 "implementation from the real world, and allows configuring virtual "
2660 "authenticator devices for testing";
2661
Dave Schuyler598a4a42018-01-04 02:15:102662const char kOmniboxRichEntitySuggestionsName[] =
2663 "Omnibox rich entity suggestions";
2664const char kOmniboxRichEntitySuggestionsDescription[] =
2665 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212666 "more context and descriptive text about the entity. Has no effect unless "
2667 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2668 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102669
Dave Schuyler616273d2018-04-19 03:12:522670const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2671const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212672 "Display answers using an enhanced layout with larger images. Has no "
2673 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2674 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522675
Orin Jaworski04c08b42018-07-11 02:39:562676const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2677const char kOmniboxReverseAnswersDescription[] =
2678 "Display answers with rows reversed (swapped); except definitions. Has no "
2679 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2680 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2681
Kevin Bailey898669972017-11-06 15:34:492682const char kOmniboxTabSwitchSuggestionsName[] =
2683 "Omnibox tab switch suggestions";
2684const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212685 "Enable suggestions for switching to open tabs within the Omnibox. "
2686 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2687 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492688
krbcc621412017-06-01 19:40:282689const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2690const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192691 "Enable receiving tail suggestions, a type of search suggestion based on "
2692 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342693
Brett Wilson7b44537e2017-08-18 01:38:282694const char kOneGoogleBarOnLocalNtpName[] =
2695 "Enable the OneGoogleBar on the local NTP";
2696const char kOneGoogleBarOnLocalNtpDescription[] =
2697 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2698 "search engine.";
2699
Sebastien Marchandd33f7dc2018-06-22 22:07:062700const char kPageAlmostIdleName[] = "Page Almost Idle";
2701const char kPageAlmostIdleDescription[] =
2702 "Make session restore use a definition of loading that waits for CPU and "
2703 "network quiescence.";
2704
2705const char kProactiveTabFreezeAndDiscardName[] =
2706 "Proactive Tab Freeze and Discard";
2707const char kProactiveTabFreezeAndDiscardDescription[] =
2708 "Enables proactive tab freezing and discarding. This requires "
2709 "#enable-page-almost-idle.";
2710
2711const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2712const char kSiteCharacteristicsDatabaseDescription[] =
2713 "Records usage of some features in a database while a tab is in background "
2714 "(title/favicon update, audio playback or usage of non-persistent "
2715 "notifications).";
2716
Brett Wilson7b44537e2017-08-18 01:38:282717const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2718const char kUseGoogleLocalNtpDescription[] =
2719 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322720
Brett Wilson7b44537e2017-08-18 01:38:282721const char kVoiceSearchOnLocalNtpName[] =
2722 "Enable Voice Search on the local NTP";
2723const char kVoiceSearchOnLocalNtpDescription[] =
2724 "Show a microphone for voice search on the local New Tab page "
2725 "if Google is the default search engine.";
2726
2727#if defined(GOOGLE_CHROME_BUILD)
2728
2729const char kGoogleBrandedContextMenuName[] =
2730 "Google branding in the context menu";
2731const char kGoogleBrandedContextMenuDescription[] =
2732 "Shows a Google icon next to context menu items powered by Google "
2733 "services.";
2734
2735#endif // !defined(GOOGLE_CHROME_BUILD)
2736
2737#endif // !defined(OS_ANDROID)
2738
2739// Windows ---------------------------------------------------------------------
2740
2741#if defined(OS_WIN)
2742
2743const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2744const char kCloudPrintXpsDescription[] =
2745 "XPS enables advanced options for classic printers connected to the Cloud "
2746 "Print with Chrome. Printers must be re-connected after changing this "
2747 "flag.";
2748
2749const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2750const char kDisablePostscriptPrintingDescription[] =
2751 "Disables PostScript generation when printing to PostScript capable "
2752 "printers, and uses EMF generation in its place.";
2753
2754const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2755const char kEnableAppcontainerDescription[] =
2756 "Enables the use of an AppContainer on sandboxed processes to improve "
2757 "security.";
2758
Brett Wilson7b44537e2017-08-18 01:38:282759const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2760const char kEnableDesktopIosPromotionsDescription[] =
2761 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2762 "eligible.";
2763
James Forshawfd0ce342018-02-14 09:55:392764const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2765const char kEnableGpuAppcontainerDescription[] =
2766 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2767 "improve security.";
2768
Brett Wilson7b44537e2017-08-18 01:38:282769const char kGdiTextPrinting[] = "GDI Text Printing";
2770const char kGdiTextPrintingDescription[] =
2771 "Use GDI to print text as simply text";
2772
Henrik Grunell67e56ef2018-04-10 14:04:092773const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2774const char kIncreaseInputAudioBufferSizeDescription[] =
2775 "Increases the input audio endpoint buffer to 100 ms.";
2776
Brett Wilson7b44537e2017-08-18 01:38:282777const char kTraceExportEventsToEtwName[] =
2778 "Enable exporting of tracing events to ETW.";
2779const char kTraceExportEventsToEtwDesription[] =
2780 "If enabled, trace events will be exported to the Event Tracing for "
2781 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2782 "Xperf.";
2783
2784const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2785const char kUseWinrtMidiApiDescription[] =
2786 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2787 "later).";
2788
2789const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2790const char kWindows10CustomTitlebarDescription[] =
2791 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2792 "deferring to Windows.";
2793
2794#endif // defined(OS_WIN)
2795
2796// Mac -------------------------------------------------------------------------
2797
2798#if defined(OS_MACOSX)
2799
Brett Wilson7b44537e2017-08-18 01:38:282800const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2801const char kAppWindowCyclingDescription[] =
2802 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2803 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2804 "browser window, and browser windows will not be cycled when a Chrome App "
2805 "is active.";
2806
Brett Wilson7b44537e2017-08-18 01:38:282807const char kFullscreenToolbarRevealName[] =
2808 "Enables the toolbar in fullscreen to reveal itself.";
2809const char kFullscreenToolbarRevealDescription[] =
2810 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2811 "has changed.";
2812
2813const char kContentFullscreenName[] = "Improved Content Fullscreen";
2814const char kContentFullscreenDescription[] =
2815 "Fullscreen content window detaches from main browser window and goes to "
2816 "a new space without moving or changing the original browser window.";
2817
Lei Zhang2eca9082017-10-17 20:42:502818const char kDialogTouchBarName[] = "Dialog Touch Bar";
2819const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282820 "Shows Dialog buttons on the Touch Bar.";
2821
Martin Kreichgauer1ca416d2018-07-11 00:43:192822const char kEnableWebAuthenticationTouchIdName[] =
2823 "Web Authentication API Touch ID support";
2824const char kEnableWebAuthenticationTouchIdDescription[] =
2825 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2826
Brett Wilson7b44537e2017-08-18 01:38:282827const char kHostedAppsInWindowsName[] =
2828 "Allow hosted apps to be opened in windows";
2829const char kHostedAppsInWindowsDescription[] =
2830 "Allows hosted apps to be opened in windows instead of being limited to "
2831 "tabs.";
2832
Lei Zhang2eca9082017-10-17 20:42:502833const char kMacRTLName[] = "Enable RTL";
2834const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282835
Lei Zhang2eca9082017-10-17 20:42:502836const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2837const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522838 "Enables sharing via macOS share extensions.";
2839
Lei Zhang2eca9082017-10-17 20:42:502840const char kMacTouchBarName[] = "Hardware Touch Bar";
2841const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282842
2843const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2844const char kMacV2SandboxDescription[] =
2845 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2846 "entire life cycle.";
2847
2848const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2849const char kMacViewsNativeAppWindowsDescription[] =
2850 "Controls whether to use Toolkit-Views based Chrome App windows.";
2851
2852const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2853const char kMacViewsTaskManagerDescription[] =
2854 "Controls whether to use the Toolkit-Views based Task Manager.";
2855
Tessa Nijssenc4b101232018-06-25 20:28:082856const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2857const char kSuggestedTextTouchBarDescription[] =
2858 "Enable suggested text touch bar for textfields.";
2859
Brett Wilson7b44537e2017-08-18 01:38:282860const char kTabDetachingInFullscreenName[] =
2861 "Allow tab detaching in fullscreen";
2862const char kTabDetachingInFullscreenDescription[] =
2863 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2864
2865const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2866const char kTabStripKeyboardFocusDescription[] =
2867 "Enable keyboard focus for the tabs in the tab strip.";
2868
Brett Wilson7b44537e2017-08-18 01:38:282869#endif
2870
2871// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342872
2873#if defined(OS_CHROMEOS)
2874
Brett Wilson7b44537e2017-08-18 01:38:282875const char kAcceleratedMjpegDecodeName[] =
2876 "Hardware-accelerated mjpeg decode for captured frame";
2877const char kAcceleratedMjpegDecodeDescription[] =
2878 "Enable hardware-accelerated mjpeg decode for captured frame where "
2879 "available.";
vabr0215a8e2017-03-28 12:47:342880
Brett Wilson7b44537e2017-08-18 01:38:282881const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2882const char kAllowTouchpadThreeFingerClickDescription[] =
2883 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342884
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522885const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2886const char kArcAvailableForChildDescription[] =
2887 "Allow child accounts to start Android apps.";
2888
Brett Wilson7b44537e2017-08-18 01:38:282889const char kArcBootCompleted[] = "Load Android apps automatically";
2890const char kArcBootCompletedDescription[] =
2891 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342892
Luum Habtemariamdaa8fd22018-06-25 22:39:432893const char kArcCupsApiName[] = "ARC CUPS API";
2894const char kArcCupsApiDescription[] =
2895 "Enables support of libcups APIs from ARC";
2896
Yuichiro Hanada0b63f062018-07-12 02:18:332897const char kArcInputMethodName[] = "Enable ARC input methods.";
2898const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2899
Lev Rumyantsev7a8544312017-08-18 19:26:512900const char kArcNativeBridgeExperimentName[] =
2901 "Enable native bridge experiment for ARC";
2902const char kArcNativeBridgeExperimentDescription[] =
2903 "Enables experimental native bridge feature.";
2904
lgchengecd1c1a62018-01-09 02:59:462905const char kArcUsbHostName[] = "Enable ARC USB host integration";
2906const char kArcUsbHostDescription[] =
2907 "Allow Android apps to use USB host feature on ChromeOS devices.";
2908
Kevin Cernekeeb7f96a52017-10-25 17:40:182909const char kArcVpnName[] = "Enable ARC VPN integration";
2910const char kArcVpnDescription[] =
2911 "Allow Android VPN clients to tunnel Chrome traffic.";
2912
Qiang Xu045aff222018-05-21 23:21:012913const char kAshDisableLoginDimAndBlurName[] =
2914 "Disable dimming and blur on login screen.";
2915const char kAshDisableLoginDimAndBlurDescription[] =
2916 "Disable dimming and blur on login screen.";
2917
2918const char kAshDisableSmoothScreenRotationName[] =
2919 "Disable smooth rotation animations.";
2920const char kAshDisableSmoothScreenRotationDescription[] =
2921 "Disable smooth rotation animations.";
2922
2923const char kAshEnableDisplayMoveWindowAccelsName[] =
2924 "Enable shortcuts for moving window between displays.";
2925const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2926 "Enable shortcuts for moving window between displays.";
2927
2928const char kAshEnableKeyboardShortcutViewerName[] =
2929 "Enable keyboard shortcut viewer.";
2930const char kAshEnableKeyboardShortcutViewerDescription[] =
2931 "Enable keyboard shortcut viewer.";
2932
2933const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2934const char kAshEnableMirroredScreenDescription[] =
2935 "Enable the mirrored screen mode. This mode flips the screen image "
2936 "horizontally.";
2937
2938const char kAshEnableNewOverviewAnimationsName[] =
2939 "Enable new overview animations.";
2940const char kAshEnableNewOverviewAnimationsDescription[] =
2941 "Enables the new overview mode animations.";
2942
2943const char kAshEnablePersistentWindowBoundsName[] =
2944 "Enable persistent window bounds in multi-displays scenario.";
2945const char kAshEnablePersistentWindowBoundsDescription[] =
2946 "Enable persistent window bounds in multi-displays scenario.";
2947
2948const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2949const char kAshEnableTrilinearFilteringDescription[] =
2950 "Enable trilinear filtering.";
2951
Brett Wilson7b44537e2017-08-18 01:38:282952const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2953const char kAshEnableUnifiedDesktopDescription[] =
2954 "Enable unified desktop mode which allows a window to span multiple "
2955 "displays.";
vabr0215a8e2017-03-28 12:47:342956
Mike Wassermanfcc47e42018-06-14 21:24:422957const char kAshKeyboardShortcutViewerAppName[] =
2958 "Keyboard Shortcut Viewer mojo app";
2959const char kAshKeyboardShortcutViewerAppDescription[] =
2960 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2961
Qiang Xu045aff222018-05-21 23:21:012962const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2963const char kAshShelfColorDescription[] =
2964 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2965 "--ash-shelf-color-scheme flag defines how that color is derived.";
2966
2967const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2968const char kAshShelfColorSchemeDescription[] =
2969 "Specify how the color is derived from the wallpaper. This flag is only "
2970 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2971const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2972const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2973const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2974const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2975const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2976const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2977
Sean Kau5e956192017-10-06 22:25:172978const char kBulkPrintersName[] = "Bulk Printers Policy";
2979const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2980
Brett Wilson7b44537e2017-08-18 01:38:282981const char kCaptivePortalBypassProxyName[] =
2982 "Bypass proxy for Captive Portal Authorization";
2983const char kCaptivePortalBypassProxyDescription[] =
2984 "If proxy is configured, it usually prevents from authorization on "
2985 "different captive portals. This enables opening captive portal "
2986 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342987
Yuki Awanob51d3252018-07-11 23:45:552988const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
2989const char kChromeVoxArcSupportDescription[] =
2990 "Use ChromeVox screen reader features in ARC";
2991
Brett Wilson7b44537e2017-08-18 01:38:282992const char kCrOSComponentName[] = "Chrome OS Component";
2993const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082994 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342995
Xiaochu Liu51d03fd2017-09-08 23:51:022996const char kCrOSContainerName[] = "Chrome OS Container";
2997const char kCrOSContainerDescription[] =
2998 "Enable the use of Chrome OS Container utility.";
2999
Brett Wilson7b44537e2017-08-18 01:38:283000const char kCrosRegionsModeName[] = "Cros-regions load mode";
3001const char kCrosRegionsModeDescription[] =
3002 "This flag controls cros-regions load mode";
3003const char kCrosRegionsModeDefault[] = "Default";
3004const char kCrosRegionsModeOverride[] = "Override VPD values.";
3005const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343006
Jacob Dufault2becbc482017-08-25 00:36:353007const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3008const char kDisableLockScreenAppsDescription[] =
3009 "Disable new-note action handler apps on the lock screen. The user will "
3010 "not be able to launch the preferred note-taking action from the lock "
3011 "screen, provided that the app supports lock screen note taking.";
3012
Qiang Xu045aff222018-05-21 23:21:013013const char kDisableSystemTimezoneAutomaticDetectionName[] =
3014 "SystemTimezoneAutomaticDetection policy support";
3015const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3016 "Disable system timezone automatic detection device policy.";
3017
Sammie Quonef6b4882017-09-14 16:50:053018const char kDisableTabletAutohideTitlebarsName[] =
3019 "Disable autohide titlebars in tablet mode";
3020const char kDisableTabletAutohideTitlebarsDescription[] =
3021 "Disable tablet mode autohide titlebars functionality. The user will be "
3022 "able to see the titlebar in tablet mode.";
3023
Xiaoqian Dai24b33eb2018-04-10 21:01:573024const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3025const char kDisableTabletSplitViewDescription[] =
3026 "Disable split view for Chrome OS tablet mode.";
3027
Qiang Xu53d1a5832018-05-24 18:44:193028const char kEnableAppShortcutSearchName[] =
3029 "Enable app shortcut search in launcher";
3030const char kEnableAppShortcutSearchDescription[] =
3031 "Enables app shortcut search in launcher";
3032
Weidong Guo00d0b2b2018-06-07 00:39:303033const char kEnableAppsGridGapFeatureName[] =
3034 "Enable apps grid gap feature in launcher.";
3035const char kEnableAppsGridGapFeatureDescription[] =
3036 "Enables gaps at the end of each page and enables dragging an item to an "
3037 "empty page in launcher.";
3038
Lei Zhang2eca9082017-10-17 20:42:503039const char kEnableBackgroundBlurName[] = "Enable background blur.";
3040const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423041 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393042
F#m75862c92018-01-25 19:10:473043const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3044const char kEnableDisplayZoomSettingDescription[] =
3045 "Allows the user to modify the display size or zoom via the chrome display "
3046 "settings page.";
3047
Min Chenc2ec7282018-06-29 21:38:463048const char kEnableDragAppsInTabletModeName[] =
3049 "Enable dragging apps in tablet mode";
3050const char kEnableDragAppsInTabletModeDescription[] =
3051 "If enabled, swiping down from the top of the screen when an app is opened "
3052 "in tablet mode can drag the app.";
3053
Xiaoqian Dai82d99192018-05-25 18:51:353054const char kEnableDragTabsInTabletModeName[] =
3055 "Enable dragging tabs in tablet mode";
3056const char kEnableDragTabsInTabletModeDescription[] =
3057 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3058
Sam McNally201fbf94e2018-07-04 03:15:203059const char kEnableDriveFsName[] = "Enable DriveFS";
3060const char kEnableDriveFsDescription[] =
3061 "Enables use of the new DriveFS-based Drive sync client.";
3062
Brett Wilson7b44537e2017-08-18 01:38:283063const char kEnableEhvInputName[] =
3064 "Emoji, handwriting and voice input on opt-in IME menu";
3065const char kEnableEhvInputDescription[] =
3066 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343067
Brett Wilson7b44537e2017-08-18 01:38:283068const char kEnableEncryptionMigrationName[] =
3069 "Enable encryption migration of user data";
3070const char kEnableEncryptionMigrationDescription[] =
3071 "If enabled and the device supports ARC, the user will be asked to update "
3072 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343073
Blake O'Hare9e9317b22017-10-24 02:49:353074const char kEnableFloatingVirtualKeyboardName[] =
3075 "Enable floating virtual keyboard";
3076const char kEnableFloatingVirtualKeyboardDescription[] =
3077 "If enabled, the keyboard will use floating behavior by default.";
3078
Qiang Xu045aff222018-05-21 23:21:013079const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3080 "Enable full screen handwriting virtual keyboard";
3081const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3082 "If enabled, the handwriting virtual keyboard will allow user to write "
3083 "anywhere on the screen";
3084
3085const char kEnableHomeLauncherName[] = "Enable home launcher";
3086const char kEnableHomeLauncherDescription[] =
3087 "Enable home launcher in tablet mode.";
3088
Brett Wilson7b44537e2017-08-18 01:38:283089const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3090const char kEnableImeMenuDescription[] =
3091 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343092
Weidong Guo45836d1b2018-06-27 23:51:163093const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3094const char kEnableNewStyleLauncherDescription[] =
3095 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3096 "in app launcher.";
3097
Qiang Xu045aff222018-05-21 23:21:013098const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3099const char kEnableNewWallpaperPickerDescription[] =
3100 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3101
3102const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3103const char kEnablePerUserTimezoneDescription[] =
3104 "Chrome OS system timezone preference is stored and handled for each user "
3105 "individually.";
3106
3107const char kEnableSettingsShortcutSearchName[] =
3108 "Enable Settings shortcut search";
3109const char kEnableSettingsShortcutSearchDescription[] =
3110 "Enable Settings shortcut search in launcher.";
3111
Darren Shen3e49c63d2018-03-28 04:45:503112const char kEnableStylusVirtualKeyboardName[] =
3113 "Enable stylus virtual keyboard";
3114const char kEnableStylusVirtualKeyboardDescription[] =
3115 "If enabled, tapping with a stylus will show the handwriting virtual "
3116 "keyboard.";
3117
Jordy Greenblatt2f23df22018-02-22 19:49:193118const char kEnableUnifiedMultiDeviceSettingsName[] =
3119 "Enable unified MultiDevice settings";
3120const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3121 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3122 "MultiDevice settings.";
3123
3124const char kEnableUnifiedMultiDeviceSetupName[] =
3125 "Enable unified MultiDevice setup";
3126const char kEnableUnifiedMultiDeviceSetupDescription[] =
3127 "Enable the device to setup all MultiDevice services in a single workflow.";
3128
Darren Shen11c770f312018-06-13 07:36:393129const char kEnableVirtualKeyboardMdUiName[] =
3130 "Enable Material Design virtual keyboard";
3131const char kEnableVirtualKeyboardMdUiDescription[] =
3132 "If enabled, loads the Material Design UI for the virtual keyboard.";
3133
Darren Shen0b4e5802018-07-10 03:12:263134const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3135const char kEnableVirtualKeyboardUkmDescription[] =
3136 "Enables UKM for virtual keyboard";
3137
Klemen Kozjek05fc4512017-10-18 12:51:103138const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3139const char kEnableZipArchiverPackerDescription[] =
3140 "Enable the ability to archive files on Drive in the Files app";
3141
Brett Wilson7b44537e2017-08-18 01:38:283142const char kEolNotificationName[] = "Disable Device End of Life notification.";
3143const char kEolNotificationDescription[] =
3144 "Disable Notifcation when Device is End of Life.";
3145
3146const char kExperimentalAccessibilityFeaturesName[] =
3147 "Experimental accessibility features";
3148const char kExperimentalAccessibilityFeaturesDescription[] =
3149 "Enable additional accessibility features in the Settings page.";
3150
3151const char kExperimentalInputViewFeaturesName[] =
3152 "Experimental input view features";
3153const char kExperimentalInputViewFeaturesDescription[] =
3154 "Enable experimental features for IME input views.";
3155
3156const char kFileManagerTouchModeName[] = "Files App. touch mode";
3157const char kFileManagerTouchModeDescription[] =
3158 "Touchscreen-specific interactions of the Files app.";
3159
3160const char kFirstRunUiTransitionsName[] =
3161 "Animated transitions in the first-run tutorial";
3162const char kFirstRunUiTransitionsDescription[] =
3163 "Transitions during first-run tutorial are animated.";
3164
Brett Wilson7b44537e2017-08-18 01:38:283165const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3166const char kForceEnableStylusToolsDescription[] =
3167 "Forces display of the stylus tools menu in the shelf and the stylus "
3168 "section in settings, even if there is no attached stylus device.";
3169
3170const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3171const char kGestureEditingDescription[] =
3172 "Enable/Disable gesture editing option in the settings page for the "
3173 "virtual keyboard.";
3174
3175const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3176const char kGestureTypingDescription[] =
3177 "Enable/Disable gesture typing option in the settings page for the virtual "
3178 "keyboard.";
3179
3180const char kInputViewName[] = "Input views";
3181const char kInputViewDescription[] =
3182 "Enable IME extensions to supply custom views for user input such as "
3183 "virtual keyboards.";
3184
Megumi Hattori5a0d4182018-03-06 11:09:503185const char kLockScreenNotificationName[] = "Lock screen notification";
3186const char kLockScreenNotificationDescription[] =
3187 "Enable notifications on the lock screen.";
3188
Qiang Xu045aff222018-05-21 23:21:013189const char kMaterialDesignInkDropAnimationSpeedName[] =
3190 "Material design ink drop animation speed";
3191const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3192 "Sets the speed of the experimental visual feedback animations for "
3193 "material design.";
3194const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3195const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3196
Brett Wilson7b44537e2017-08-18 01:38:283197const char kMemoryPressureThresholdName[] =
3198 "Memory discard strategy for advanced pressure handling";
3199const char kMemoryPressureThresholdDescription[] =
3200 "Memory discarding strategy to use";
3201const char kConservativeThresholds[] =
3202 "Conservative memory pressure release strategy";
3203const char kAggressiveCacheDiscardThresholds[] =
3204 "Aggressive cache release strategy";
3205const char kAggressiveTabDiscardThresholds[] =
3206 "Aggressive tab release strategy";
3207const char kAggressiveThresholds[] =
3208 "Aggressive tab and cache release strategy";
3209
3210const char kMtpWriteSupportName[] = "MTP write support";
3211const char kMtpWriteSupportDescription[] =
3212 "MTP write support in File System API (and file manager). In-place editing "
3213 "operations are not supported.";
3214
Kyle Horimoto027590fb2018-02-13 22:19:483215const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3216const char kMultiDeviceApiDescription[] =
3217 "Enable Mojo-based API which provides synced device metadata and the "
3218 "ability to connect to other devices associated the logged-in Google "
3219 "account.";
3220
Bailey Berrodca8eeca02017-11-18 00:49:123221const char kNativeSmbName[] = "Native Smb Client";
3222const char kNativeSmbDescription[] =
3223 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303224
vabr0215a8e2017-03-28 12:47:343225const char kNetworkPortalNotificationName[] =
3226 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343227const char kNetworkPortalNotificationDescription[] =
3228 "If enabled, notification is displayed when device is connected to a "
3229 "network behind captive portal.";
3230
Brett Wilson7b44537e2017-08-18 01:38:283231const char kNewKoreanImeName[] = "New Korean IME";
3232const char kNewKoreanImeDescription[] =
3233 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343234
Brett Wilson7b44537e2017-08-18 01:38:283235const char kNewZipUnpackerName[] = "New ZIP unpacker";
3236const char kNewZipUnpackerDescription[] =
3237 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343238
Qiang Xu045aff222018-05-21 23:21:013239const char kOfficeEditingComponentAppName[] =
3240 "Office Editing for Docs, Sheets & Slides";
3241const char kOfficeEditingComponentAppDescription[] =
3242 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3243
Brett Wilson7b44537e2017-08-18 01:38:283244const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3245const char kPhysicalKeyboardAutocorrectDescription[] =
3246 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3247 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343248
3249const char kPrinterProviderSearchAppName[] =
3250 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343251const char kPrinterProviderSearchAppDescription[] =
3252 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193253 "searches Chrome Web Store for extensions that support printing to a USB "
3254 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343255
Brett Wilson7b44537e2017-08-18 01:38:283256const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3257const char kQuickUnlockPinDescription[] =
3258 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3259 "device on the lock screen after you have signed into your device.";
3260const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3261const char kQuickUnlockPinSigninDescription[] =
3262 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3263 "device. After changing this flag PIN needs to be set up again.";
3264const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3265const char kQuickUnlockFingerprintDescription[] =
3266 "Enabling fingerprint quick unlock allows you to setup and use a "
3267 "fingerprint to unlock your Chromebook on the lock screen after you have "
3268 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343269
James Cook0ba192bf2017-12-01 20:53:113270const char kShowTapsName[] = "Show taps";
3271const char kShowTapsDescription[] =
3272 "Draws a circle at each touch point, which makes touch points more obvious "
3273 "when projecting or mirroring the display. Similar to the Android OS "
3274 "developer option.";
3275
3276const char kShowTouchHudName[] = "Show HUD for touch points";
3277const char kShowTouchHudDescription[] =
3278 "Shows a trail of colored dots for the last few touch points. Pressing "
3279 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3280 "debug hardware issues that generate spurious touch events.";
3281
Jorge Gil5a8ccde2018-07-10 01:46:213282const char kSmartTextSelectionName[] = "Smart Text Selection";
3283const char kSmartTextSelectionDescription[] =
3284 "Shows quick actions for text "
3285 "selections in the context menu.";
3286
Chung-Sheng Wu468b0b32017-09-01 14:41:573287const char kSysInternalsName[] = "Enable Sys-Internals";
3288const char kSysInternalsDescription[] =
3289 "If enabled, user can monitor system information at "
3290 "chrome://sys-internals.";
3291
James Cooka9384092018-05-23 02:54:263292const char kTapVisualizerAppName[] = "Show taps with mojo app";
3293const char kTapVisualizerAppDescription[] =
3294 "Use an out-of-process mojo app to show touch points.";
3295
Stuart Langleyc981ac62018-06-21 14:38:253296const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3297const char kDisableTeamDrivesDescription[] =
3298 "If disabled, files under Team Drives will no longer appear in the Files "
3299 "app.";
vabr0215a8e2017-03-28 12:47:343300
Brett Wilson7b44537e2017-08-18 01:38:283301const char kTetherName[] = "Instant Tethering";
3302const char kTetherDescription[] =
3303 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3304 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373305
Brett Wilson7b44537e2017-08-18 01:38:283306const char kTouchscreenCalibrationName[] =
3307 "Enable/disable touchscreen calibration option in material design settings";
3308const char kTouchscreenCalibrationDescription[] =
3309 "If enabled, the user can calibrate the touch screen displays in "
3310 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093311
Qiang Xu045aff222018-05-21 23:21:013312const char kUiDevToolsName[] = "Enable native UI inspection";
3313const char kUiDevToolsDescription[] =
3314 "Enables inspection of native UI elements. For local inspection use "
3315 "chrome://inspect#other";
3316
3317const char kUiShowCompositedLayerBordersName[] =
3318 "Show UI composited layer borders";
3319const char kUiShowCompositedLayerBordersDescription[] =
3320 "Show border around composited layers created by UI.";
3321const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3322const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3323const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3324const char kUiShowCompositedLayerBordersAll[] = "All";
3325
3326const char kUiSlowAnimationsName[] = "Slow UI animations";
3327const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3328
Mitsuru Oshima63d3f2a2017-08-23 00:12:113329// Force UI Mode
3330const char kUiModeName[] = "Force Ui Mode";
3331const char kUiModeDescription[] =
3332 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3333 R"*(despite its current orientation. "Tablet" means that the )*"
3334 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3335 R"*(means that the chromebook will act as if it were in clamshell )*"
3336 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3337 R"*(the two, based on its orientation.)*";
3338const char kUiModeTablet[] = "TouchView";
3339const char kUiModeClamshell[] = "Clamshell";
3340const char kUiModeAuto[] = "Auto (default)";
3341
Sonny Sasaka7fecfeda2018-07-11 23:47:553342const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3343const char kUnfilteredBluetoothDevicesDescription[] =
3344 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3345
James Cooka1bcfa9a2018-01-30 00:18:403346const char kUseMashName[] = "Out-of-process system UI (mash)";
3347const char kUseMashDescription[] =
3348 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3349 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283350
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343351// TODO(mcasas): remove after https://crbug.com/771345.
3352const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3353const char kUseMonitorColorSpaceDescription[] =
3354 "Enables Chrome to use the color space information provided by the monitor"
3355 " instead of the default sRGB color space.";
3356
Brett Wilson7b44537e2017-08-18 01:38:283357const char kVideoPlayerChromecastSupportName[] =
3358 "Experimental Chromecast support for Video Player";
3359const char kVideoPlayerChromecastSupportDescription[] =
3360 "This option enables experimental Chromecast support for Video Player app "
3361 "on ChromeOS.";
3362
3363const char kVirtualKeyboardName[] = "Virtual Keyboard";
3364const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3365
3366const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3367const char kVirtualKeyboardOverscrollDescription[] =
3368 "Enables virtual keyboard overscroll support.";
3369
3370const char kVoiceInputName[] = "Voice input on virtual keyboard";
3371const char kVoiceInputDescription[] =
3372 "Enables voice input on virtual keyboard.";
3373
3374const char kWakeOnPacketsName[] = "Wake On Packets";
3375const char kWakeOnPacketsDescription[] =
3376 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203377
Qiang Xu53d1a5832018-05-24 18:44:193378const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3379const char kZipArchiverUnpackerDescription[] =
3380 "Enable or disable the ability to unpack archives in incognito mode";
3381
yhanadac5bff5b2017-05-18 06:37:093382#endif // defined(OS_CHROMEOS)
3383
Brett Wilson7b44537e2017-08-18 01:38:283384// Random platform combinations -----------------------------------------------
3385
3386#if defined(OS_WIN) || defined(OS_LINUX)
3387
3388const char kEnableInputImeApiName[] = "Enable Input IME API";
3389const char kEnableInputImeApiDescription[] =
3390 "Enable the use of chrome.input.ime API.";
3391
Tom Anderson6cbd5052018-05-03 23:49:543392#if !defined(OS_CHROMEOS)
3393
3394const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3395const char kWarnBeforeQuittingFlagDescription[] =
3396 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3397
3398#endif // !defined(OS_CHROMEOS)
3399
Brett Wilson7b44537e2017-08-18 01:38:283400#endif // defined(OS_WIN) || defined(OS_LINUX)
3401
3402#if defined(OS_WIN) || defined(OS_MACOSX)
3403
3404const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3405const char kAutomaticTabDiscardingDescription[] =
3406 "If enabled, tabs get automatically discarded from memory when the system "
3407 "memory is low. Discarded tabs are still visible on the tab strip and get "
3408 "reloaded when clicked on. Info about discarded tabs can be found at "
3409 "chrome://discards.";
3410
3411#endif // defined(OS_WIN) || defined(OS_MACOSX)
3412
lanwei83f54452018-06-21 23:51:043413#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3414
3415const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3416const char kDirectManipulationStylusDescription[] =
3417 "If enabled, Chrome will scroll web pages on stylus drag.";
3418
3419#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3420
Justin Donnelly110e40c2018-06-01 21:48:433421const char kExperimentalUiName[] = "Use all upcoming UI features";
3422const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483423
Brett Wilson7b44537e2017-08-18 01:38:283424// Feature flags --------------------------------------------------------------
3425
3426#if BUILDFLAG(ENABLE_VR)
3427
David Dorwin5a496c32017-11-17 01:45:053428const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3429const char kWebVrVsyncAlignDescription[] =
3430 "Align WebVR application rendering with VSync for smoother animations.";
3431
Bill Orr103ed272018-02-14 21:23:053432#if BUILDFLAG(ENABLE_OCULUS_VR)
3433const char kOculusVRName[] = "Oculus hardware support";
3434const char kOculusVRDescription[] =
3435 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3436 "Windows 10 or later).";
3437#endif // ENABLE_OCULUS_VR
3438
Bill Orr49527562017-11-22 16:58:483439#if BUILDFLAG(ENABLE_OPENVR)
3440const char kOpenVRName[] = "OpenVR hardware support";
3441const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073442 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3443 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483444#endif // ENABLE_OPENVR
3445
Brett Wilson7b44537e2017-08-18 01:38:283446#endif // ENABLE_VR
3447
Nico Weberaf3b00b2017-09-11 17:58:173448#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283449
3450const char kNaclDebugMaskName[] =
3451 "Restrict Native Client GDB-based debugging by pattern";
3452const char kNaclDebugMaskDescription[] =
3453 "Restricts Native Client application GDB-based debugging by URL of "
3454 "manifest file. Native Client GDB-based debugging must be enabled for this "
3455 "option to work.";
3456const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3457const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3458 "Debug everything except secure shell and the PNaCl translator.";
3459const char kNaclDebugMaskChoiceIncludeDebug[] =
3460 "Debug only if manifest URL ends with debug.nmf.";
3461
3462const char kNaclDebugName[] = "Native Client GDB-based debugging";
3463const char kNaclDebugDescription[] =
3464 "Enable GDB debug stub. This will stop a Native Client application on "
3465 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3466
3467const char kNaclName[] = "Native Client";
3468const char kNaclDescription[] =
3469 "Support Native Client for all web applications, even those that were not "
3470 "installed from the Chrome Web Store.";
3471
3472const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3473const char kPnaclSubzeroDescription[] =
3474 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3475
Nico Weberaf3b00b2017-09-11 17:58:173476#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283477
Brett Wilson7b44537e2017-08-18 01:38:283478const char kWebrtcH264WithOpenh264FfmpegName[] =
3479 "WebRTC H.264 software video encoder/decoder";
3480const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3481 "When enabled, an H.264 software video encoder/decoder pair is included. "
3482 "If a hardware encoder/decoder is also available it may be used instead of "
3483 "this encoder/decoder.";
3484
Brett Wilson7b44537e2017-08-18 01:38:283485#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3486
3487const char kAutofillCreditCardUploadName[] =
3488 "Enable offering upload of Autofilled credit cards";
3489const char kAutofillCreditCardUploadDescription[] =
3490 "Enables a new option to upload credit cards to Google Payments for sync "
3491 "to all Chrome devices.";
3492
3493#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3494
Becca Hughesdc96e842018-05-04 22:48:283495#if defined(OS_ANDROID)
3496
3497const char kDisplayCutoutAPIName[] =
3498 "Enable support for the Display Cutout API";
3499const char kDisplayCutoutAPIDescription[] =
3500 "Enables developers to support devices that have a display cutout.";
3501
3502#endif // defined(OS_ANDROID)
3503
Brett Wilson7b44537e2017-08-18 01:38:283504// ============================================================================
3505// Don't just add flags to the end, put them in the right section in
3506// alphabetical order just like the header file.
3507// ============================================================================
3508
vabr0215a8e2017-03-28 12:47:343509} // namespace flag_descriptions