blob: 72420411c3b798c6d037304984128fd814e072bd [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
Lucas Garronb9539b732017-10-31 00:22:09169const 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
Christopher Cameronceb8727d2017-09-07 23:53:16201const char kForceColorProfileSRGB[] = "sRGB";
202const char kForceColorProfileP3[] = "Display P3 D65";
203const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
204const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
205
206const char kForceColorProfileName[] = "Force color profile";
207const char kForceColorProfileDescription[] =
208 "Forces Chrome to use a specific color profile instead of the color "
209 "of the window's current monitor, as specified by the operating system.";
210
Brett Wilsonf27ff602017-07-07 22:28:47211const char kCompositedLayerBordersName[] = "Composited render layer borders";
212const char kCompositedLayerBordersDescription[] =
213 "Renders a border around composited Render Layers to help debug and study "
214 "layer compositing.";
215
Theresaf39c1882018-03-21 18:18:07216const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07217 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07218const char kContextualSuggestionsBottomSheetDescription[] =
219 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47220
Theresac34db2d2018-06-28 00:03:11221const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
222const char kContextualSuggestionsButtonDescription[] =
223 "If enabled, shows a button to trigger contextual suggestions.";
224
Theresa818d3452018-05-22 00:08:07225const char kContextualSuggestionsSlimPeekUIName[] =
226 "Contextual Suggestions Slim Peek UI";
227const char kContextualSuggestionsSlimPeekUIDescription[] =
228 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
229
Theresa0f2947b92018-07-02 21:27:58230const char kContextualSuggestionsOptOutName[] =
231 "Contextual Suggestions Opt-out";
232const char kContextualSuggestionsOptOutDescription[] =
233 "If enabled, allows the user to opt out of contextual suggestions.";
234
Brett Wilsonf27ff602017-07-07 22:28:47235const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
236const char kCreditCardAssistDescription[] =
237 "Enable assisted credit card filling on certain sites.";
238
239const char kCrossProcessGuestViewIsolationName[] =
240 "Cross process frames for guests";
241const char kCrossProcessGuestViewIsolationDescription[] =
242 "Highly experimental where guests such as <webview> are implemented on "
243 "the out-of-process iframe infrastructure.";
244
Thanh Le659cb102017-12-20 22:00:19245const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
246const char kDataSaverServerPreviewsDescription[] =
247 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47248
249const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
250const char kDatasaverPromptDescription[] =
251 "Enables a prompt, which appears when a cellular network connection is "
252 "detected, to take the user to the Data Saver extension page on Chrome Web "
253 "Store.";
254const char kDatasaverPromptDemoMode[] = "Demo mode";
255
Wez54dc71b2018-04-17 00:42:34256#if DCHECK_IS_CONFIGURABLE
257const char kDcheckIsFatalName[] = "DCHECKs are fatal";
258const char kDcheckIsFatalDescription[] =
259 "By default Chrome will evaluate in this build, but only log failures, "
260 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
261#endif // DCHECK_IS_CONFIGURABLE
262
Brett Wilsonf27ff602017-07-07 22:28:47263const char kDebugPackedAppName[] = "Debugging for packed apps";
264const char kDebugPackedAppDescription[] =
265 "Enables debugging context menu options such as Inspect Element for packed "
266 "applications.";
267
268const char kDefaultTileHeightName[] = "Default tile height";
269const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
270const char kDefaultTileHeightShort[] = "128";
271const char kDefaultTileHeightTall[] = "256";
272const char kDefaultTileHeightGrande[] = "512";
273const char kDefaultTileHeightVenti[] = "1024";
274
275const char kDefaultTileWidthName[] = "Default tile width";
276const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
277const char kDefaultTileWidthShort[] = "128";
278const char kDefaultTileWidthTall[] = "256";
279const char kDefaultTileWidthGrande[] = "512";
280const char kDefaultTileWidthVenti[] = "1024";
281
282const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
283const char kDebugShortcutsDescription[] =
284 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
285
286const char kDeviceDiscoveryNotificationsName[] =
287 "Device Discovery Notifications";
288const char kDeviceDiscoveryNotificationsDescription[] =
289 "Device discovery notifications on local network.";
290
291const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
292const char kDevtoolsExperimentsDescription[] =
293 "Enables Developer Tools experiments. Use Settings panel in Developer "
294 "Tools to toggle individual experiments.";
295
296const char kDisableAudioForDesktopShareName[] =
297 "Disable Audio For Desktop Share";
298const char kDisableAudioForDesktopShareDescription[] =
299 "With this flag on, desktop share picker window will not let the user "
300 "choose whether to share audio.";
301
Chris Palmer917bc052018-03-14 19:28:31302const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
303const char kDisablePushStateThrottleDescription[] =
304 "Disables throttling of history.pushState and history.replaceState method "
305 "calls.";
306
Brett Wilsonf27ff602017-07-07 22:28:47307const char kDisableTabForDesktopShareName[] =
308 "Disable Desktop Share with tab source";
309const char kDisableTabForDesktopShareDescription[] =
310 "This flag controls whether users can choose a tab for desktop share.";
311
312const char kDisallowDocWrittenScriptsUiName[] =
313 "Block scripts loaded via document.write";
314const char kDisallowDocWrittenScriptsUiDescription[] =
315 "Disallows fetches for third-party parser-blocking scripts inserted into "
316 "the main frame via document.write.";
317
Christopher Thompson2ffffa2c2018-05-18 23:06:37318const char kDisallowUnsafeHttpDownloadsName[] =
319 "Block unsafe downloads over insecure connections";
320const char kDisallowUnsafeHttpDownloadsNameDescription[] =
321 "Disallows downloads of unsafe files (files that can potentially execute "
322 "code), where the final download origin or any origin in the redirect "
323 "chain is insecure.";
324
Brett Wilsonf27ff602017-07-07 22:28:47325const char kDriveSearchInChromeLauncherName[] =
326 "Drive Search in Chrome App Launcher";
327const char kDriveSearchInChromeLauncherDescription[] =
328 "Files from Drive will show up when searching the Chrome App Launcher.";
329
Brett Wilsonf27ff602017-07-07 22:28:47330const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
331const char kEmbeddedExtensionOptionsDescription[] =
332 "Display extension options as an embedded element in chrome://extensions "
333 "rather than opening a new tab.";
334
Dominic Mazzoni8ac98962018-05-25 05:44:55335const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
336const char kEnableAccessibilityObjectModelDescription[] =
337 "Enables experimental support for Accessibility Object Model APIs "
338 "that are in development.";
339
Brett Wilsonf27ff602017-07-07 22:28:47340const char kEnableAsmWasmName[] =
341 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
342const char kEnableAsmWasmDescription[] =
343 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
344 R"*(WebAssembly.)*";
345
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36346const char kEnableWebPaymentsSingleAppUiSkipName[] =
347 "Enable Web Payments single app UI skip";
348const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
349 "Enable Web Payments to skip showing its UI if the developer specifies a "
350 "single app.";
351
Shanfeng Zhang19c16562017-10-17 02:30:40352const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
353 "Credit card autofill ablation experiment.";
354const char kEnableAutofillCreditCardAblationExperimentDescription[] =
355 "If enabled, credit card autofill suggestions will not display.";
356
Brett Wilsonf27ff602017-07-07 22:28:47357const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
358 "Display the last used date of a credit card in autofill.";
359const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
360 "If enabled, display the last used date of a credit card in autofill.";
361
Jared Saulbc672a072018-06-16 05:22:12362const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
363 "Make cardholder name editable in dialog during credit card upload";
364const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
365 "If enabled, in certain situations when offering credit card upload to "
366 "Google Payments, the cardholder name can be edited within the "
367 "offer-to-save dialog, which is prefilled with the name from the signed-in "
368 "Google Account.";
369
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37370const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
371 "Enable Google Pay branding when offering credit card upload on Android";
372const char
373 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
374 "If enabled, shows the Google Pay logo and a shorter header message "
375 "when credit card upload to Google Payments is offered on Android.";
376
Jared Saul5c2a1482017-12-09 00:24:31377const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
378 "Send first six digits of PAN when deciding whether to offer Autofill "
379 "credit card upload";
380const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
381 "If enabled, when deciding whether to offer credit card upload to Google "
382 "Payments, sends the first six digits of the card number to avoid cases "
383 "where card upload is likely to fail.";
384
siyua7c4e97b42018-04-24 02:49:42385const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
386 "Enable updated prompt explanation when offering credit card upload";
387const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
388 "If enabled, changes the server save card prompt's explanation to mention "
389 "the saving of the billing address.";
390
tmartinocd414732018-02-12 19:01:01391const char kEnableAutofillNativeDropdownViewsName[] =
392 "Display Autofill Dropdown Using Views";
393const char kEnableAutofillNativeDropdownViewsDescription[] =
394 "If enabled, the Autofill Dropdown will be built natively using Views, "
395 "rather than painted directly to a canvas.";
396
Fabio Tirelo87552e02018-07-06 15:43:21397const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
398 "Show unlabeled expiration dates on the save card dialog";
399const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
400 "If enabled, expiration dates on the save card dialog (both local and "
401 "upstream) are shown without an 'Exp:' label.";
402
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23403const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
404 "Send experiment flag IDs in calls to Google Payments";
405const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
406 "If enabled, adds the status of certain experiment variations when making "
407 "calls to Google Payments.";
408
Becca Hughes4d896c42018-05-29 16:58:51409const char kEnableAutoplayIgnoreWebAudioName[] =
410 "Autoplay ignores WebAudio playbacks";
411const char kEnableAutoplayIgnoreWebAudioDescription[] =
412 "If enabled, autoplay restrictions will be ignored for WebAudio.";
413
Vitalii Iarko4f9834ce2017-08-04 07:05:19414const char kEnableBreakingNewsPushName[] = "Breaking News Push";
415const char kEnableBreakingNewsPushDescription[] =
416 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
417 "through Google Cloud Messaging.";
418
Brett Wilsonf27ff602017-07-07 22:28:47419const char kEnableBrotliName[] = "Brotli Content-Encoding.";
420const char kEnableBrotliDescription[] =
421 "Enable Brotli Content-Encoding support.";
422
Qiang Xu0f602fe62017-12-22 01:31:20423const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
424const char kEnableCaptivePortalRandomUrlDescription[] =
425 "Enable Captive Portal URL randomization.";
426
sclittle50e4bb92017-07-08 02:23:03427const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
428
429const char kEnableClientLoFiDescription[] =
430 "Enable showing low fidelity images on some pages on slow networks.";
431
Patrick Noland8bc57472018-06-19 21:09:54432const char kEnableCSSFragmentIdentifiersName[] =
433 "Enable CSS Fragment Identifiers";
434const char kEnableCSSFragmentIdentifiersDescription[] =
435 "Enable support for specifying a target element using a css selector in "
436 "the fragment identifier.";
437
David Reveman87b4b692018-03-09 21:22:22438const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
439const char kEnableCursorMotionBlurDescription[] =
440 "Enable motion blur effect for the cursor.";
441
Ramin Halavati6f5d9852018-06-20 09:37:05442const char kEnableEphemeralFlashPermissionName[] =
443 "Enable Ephemeral Flash Permissions";
444const char kEnableEphemeralFlashPermissionDescription[] =
445 "When enabled, Flash plugin permissions are reset at the end of the "
446 "browser session.";
447
Doug Arnett08b4067b2017-10-12 20:14:44448const char kEnableNoScriptPreviewsName[] = "NoScript previews";
449
450const char kEnableNoScriptPreviewsDescription[] =
451 "Enable disabling JavaScript on some pages on slow networks.";
452
Thanh Le2c279fbc2017-11-21 01:25:40453const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
454const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
455const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
456const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
457const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
458const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
459const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
460const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
461const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
462const char kDataReductionProxyServerAlternative10[] =
463 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47464const char kEnableDataReductionProxyServerExperimentName[] =
465 "Use an alternative Data Saver back end configuration.";
466const char kEnableDataReductionProxyServerExperimentDescription[] =
467 "Enable a different approach to saving data by configuring the back end "
468 "server";
469
470const char kEnableDataReductionProxySavingsPromoName[] =
471 "Data Saver 1 MB Savings Promo";
472const char kEnableDataReductionProxySavingsPromoDescription[] =
473 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
474 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
475 "enabled for the promo to be shown.";
476
Matt Giucad4870432017-11-24 01:04:38477const char kEnableDesktopPWAsName[] = "Desktop PWAs";
478const char kEnableDesktopPWAsDescription[] =
479 "Experimental windowing and install banner treatment for Progressive Web "
480 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17481
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59482const char kEnableDesktopPWAsLinkCapturingName[] =
483 "Desktop PWAs Link Capturing";
484const char kEnableDesktopPWAsLinkCapturingDescription[] =
485 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
486 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
487 "#enable-desktop-pwas.";
488
Ahmed Fakhry0037de02018-01-29 19:58:31489const char kEnableDockedMagnifierName[] = "Docked Magnifier";
490const char kEnableDockedMagnifierDescription[] =
491 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
492
Ramya Nagarajan5b41d8d2018-04-02 19:53:02493const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
494const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09495 "Enables the Emoji picker item in context menus for editable text areas, if"
496 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02497
Brett Wilsonf27ff602017-07-07 22:28:47498const char kEnableEnumeratingAudioDevicesName[] =
499 "Experimentally enable enumerating audio devices.";
500const char kEnableEnumeratingAudioDevicesDescription[] =
501 "Experimentally enable the use of enumerating audio devices.";
502
503const char kEnableGenericSensorName[] = "Generic Sensor";
504const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25505 "Enables motion sensor classes based on Generic Sensor API, i.e. "
506 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
507 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
508
509const char kEnableGenericSensorExtraClassesName[] =
510 "Generic Sensor Extra Classes";
511const char kEnableGenericSensorExtraClassesDescription[] =
512 "Enables an extra set of sensor classes based on Generic Sensor API, which "
513 "expose previously unavailable platform features, i.e. AmbientLightSensor "
514 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47515
Brett Wilsonf27ff602017-07-07 22:28:47516const char kEnableHDRName[] = "HDR mode";
517const char kEnableHDRDescription[] =
518 "Enables HDR support on compatible displays.";
519
Ryan Sturm6a850902018-06-09 02:27:34520const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
521const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09522 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25523 "pause sub-resource request loading on the page. Using the 'Low' option "
524 "will reduce the triggering threshold 1MB.";
Ryan Sturm6a850902018-06-09 02:27:34525
Brett Wilsonf27ff602017-07-07 22:28:47526const char kEnableHttpFormWarningName[] =
527 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15528 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47529const char kEnableHttpFormWarningDescription[] =
530 "Attaches a warning UI to any password or credit card fields detected when "
531 "the top-level page is not HTTPS";
532
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41533const char kLayeredAPIName[] = "Experimental layered APIs";
534const char kLayeredAPIDescription[] =
535 "Enable layered API infrastructure, as well as several experimental "
536 "layered APIs. The syntax and the APIs exposed are experimental and will "
537 "change over time.";
538
Ian Kilpatricke68ef11a2018-07-04 03:52:10539const char kEnableLayoutNGName[] = "Enable LayoutNG";
540const char kEnableLayoutNGDescription[] =
541 "Enable Blink's next generation layout engine.";
542
Scott Littled0fd2d002018-04-13 03:37:26543const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
544const char kEnableLazyFrameLoadingDescription[] =
545 "Defers the loading of certain cross-origin frames until the page is "
546 "scrolled down near them.";
547
Sidney San Martín9375b892017-09-09 00:29:54548const char kEnableMacMaterialDesignDownloadShelfName[] =
549 "Enable Material Design download shelf";
550
551const char kEnableMacMaterialDesignDownloadShelfDescription[] =
552 "If enabled, the download shelf uses Material Design.";
553
Anton Urusov47cd4932017-09-19 14:41:41554const char kEnablePolicyToolName[] = "Enable policy management page";
555const char kEnablePolicyToolDescription[] =
556 "If enabled, the chrome://policy-tool URL loads a page for managing "
557 "policies.";
558
Tsuyoshi Horoea7edb72017-11-12 04:14:00559const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
560const char kEnablePWAFullCodeCacheDescription[] =
561 "Generate V8 code cache in Cache Storage while installing Service Worker "
562 "for PWAs.";
563
Weidong Guof1e5a892018-01-06 02:26:39564const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28565 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39566const char kDisableMultiMirroringDescription[] =
567 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28568
Brett Wilsonf27ff602017-07-07 22:28:47569const char kEnableNavigationTracingName[] = "Enable navigation tracing";
570const char kEnableNavigationTracingDescription[] =
571 "This is to be used in conjunction with the trace-upload-url flag. "
572 "WARNING: When enabled, Chrome will record performance data for every "
573 "navigation and upload it to the URL specified by the trace-upload-url "
574 "flag. The trace may include personally identifiable information (PII) "
575 "such as the titles and URLs of websites you visit.";
576
Bernhard Bauer5533f9912017-11-06 17:56:02577const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
578const char kEnableNetworkLoggingToFileDescription[] =
579 "Enables network logging to a file named netlog.json in the user data "
580 "directory. The file can be imported into chrome://net-internals.";
581
Brett Wilsonf27ff602017-07-07 22:28:47582const char kEnableNetworkServiceName[] = "Enable network service";
583const char kEnableNetworkServiceDescription[] =
584 "Enables the network service, which makes network requests through a "
585 "separate service. Note: most features don't work with this yet.";
586
John Abd-El-Malek8067cc02017-12-04 23:23:20587const char kEnableNetworkServiceInProcessName[] =
588 "Runs network service in-process";
589const char kEnableNetworkServiceInProcessDescription[] =
590 "Runs the network service in the browser process.";
591
dpapaded8349472017-10-25 03:21:27592const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
593const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37594 "If enabled, Print Preview will display a newer UI. This feature is "
595 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27596
Ahmed Fakhry2fd8fc82017-07-28 16:31:12597const char kEnableNightLightName[] = "Enable Night Light";
598const char kEnableNightLightDescription[] =
599 "Enable the Night Light feature which controls the color temperature of "
600 "the screen.";
601
xlou8b56f672018-02-09 23:34:30602const char kEnableNupPrintingName[] = "Enable N-up printing";
603const char kEnableNupPrintingDescription[] =
604 "Enable N-up printing in the print preview panel.";
605
Sophie Chang117a3b22017-10-24 22:25:36606const char kEnableOptimizationHintsName[] = "Optimization Hints";
607const char kEnableOptimizationHintsDescription[] =
608 "Enable the Optimization Hints feature which incorporates server hints"
609 "into decisions for what optimizations to perform on some pages on slow "
610 "networks.";
611
Yutaka Hirano98be3272017-08-07 17:55:39612const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
613const char kEnableOutOfBlinkCORSDescription[] =
614 "CORS handling logic is moved out of blink.";
615
Sammie Quon0fbf0782018-05-01 22:11:08616const char kEnableOverviewSwipeToCloseName[] =
617 "Enable overview swipe to close.";
618const char kEnableOverviewSwipeToCloseDescription[] =
619 "Enables closing of items in overview mode by dragging or flinging "
620 "vertically.";
621
kylechar7051c092018-02-05 20:31:39622const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
623const char kVizDisplayCompositorDescription[] =
624 "If enabled, the display compositor runs as part of the viz service in the"
625 "GPU process.";
626
Ria Jiang6a129b982018-03-01 18:30:40627const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
628const char kVizHitTestDrawQuadDescription[] =
629 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
630 "with hit-test data computed from the CompositorFrame.";
631
Erik Chen49bbfa22017-08-18 08:49:56632const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23633 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56634const char kEnableOutOfProcessHeapProfilingDescription[] =
635 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19636 "malloced objects. Heap dumps can be obtained at chrome://tracing "
637 "[category:memory-infra] and chrome://memory-internals. This setting "
638 "controls which processes are profiled. As long as this setting is not "
639 "disabled, users can start profiling any given process in "
640 "chrome://memory-internals.";
641const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
642const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
643const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
644const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
645const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10646const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19647 "None by default. Visit chrome://memory-internals to choose which "
648 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15649const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
650 "Profile a random sampling of renderer processes, ensuring only one is "
651 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19652
Erik Chen8bb76b52017-12-06 19:06:25653const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19654 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25655const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
656 "By default, small allocations are pruned from the heap dump. This reduces "
657 "the size of the compressed trace by 100x. If pruning is disabled, the "
658 "chrome://tracing UI may be unable to take or load the trace. Save the "
659 "trace directly using chrome://memory-internals, and use other mechanisms "
660 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
661 "automatically uploaded traces will always be pruned. This only affects "
662 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56663
erikchen8bc20d82018-02-14 03:21:51664const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
665const char kOutOfProcessHeapProfilingSamplingDescription[] =
666 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22667 "10000. This results in low noise for large and/or frequent allocations ["
668 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
669 "total size of malloc-ed objects] and large and/or frequent allocations "
670 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51671
Erik Chen3303fd0232018-01-11 20:29:05672const char kOOPHPStackModeName[] =
673 "The type of stack to record for memlog heap dumps";
674const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19675 "By default, memlog heap dumps record native stacks, which requires a "
676 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55677 "pointers to work on Android. Native with thread names will add the thread "
678 "name as the first frame of each native stack. It's also possible to "
679 "record a pseudo stack using trace events as identifiers. It's also "
680 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19681const char kOOPHPStackModeMixed[] = "Mixed";
682const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55683const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19684const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05685
François Beaufort2e75f492018-02-08 20:44:46686const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47687const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46688 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47689
F#m59d036e2017-09-13 07:22:17690const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
691const char kEnablePixelCanvasRecordingDescription[] =
692 "Pixel canvas recording allows the compositor to raster contents aligned "
693 "with the pixel and improves text rendering. This should be enabled when a "
694 "device is using fractional scale factor.";
695
vitaliiid36191b2018-06-11 07:40:49696extern const char kEnableSyncUserConsentSeparateTypeName[] =
697 "Enable separate sync type for consents";
698extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
699 "Emit user consents as a separate sync type instead of user events.";
700
Mikel Astiz38837f82018-04-24 22:23:23701const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
702const char kEnableSyncUSSSessionsDescription[] =
703 "Enables the new, experimental implementation of session sync (aka tab "
704 "sync).";
705
Brett Wilsonf27ff602017-07-07 22:28:47706const char kEnableTokenBindingName[] = "Token Binding.";
707const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
708
709const char kEnableUseZoomForDsfName[] =
710 "Use Blink's zoom for device scale factor.";
711const char kEnableUseZoomForDsfDescription[] =
712 "If enabled, Blink uses its zooming mechanism to scale content for device "
713 "scale factor.";
714const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
715const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
716const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
717
Patrick Noland8ee016e2018-01-24 11:44:53718const char kEnableScrollAnchorSerializationName[] =
719 "Scroll Anchor Serialization";
720const char kEnableScrollAnchorSerializationDescription[] =
721 "Save the scroll anchor and use it to restore the scroll position when "
722 "navigating.";
723
Brad Nelson5cd500e2018-01-04 00:50:19724const char kEnableSharedArrayBufferName[] =
725 "Experimental enabled SharedArrayBuffer support in JavaScript.";
726const char kEnableSharedArrayBufferDescription[] =
727 "Enable SharedArrayBuffer support in JavaScript.";
728
Brett Wilsonf27ff602017-07-07 22:28:47729const char kEnableWasmName[] = "WebAssembly structured cloning support.";
730const char kEnableWasmDescription[] =
731 "Enable web pages to use WebAssembly structured cloning.";
732
Kim Paulhamusae635a32018-06-27 07:30:54733const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
734const char kEnableWebAuthenticationAPIDescription[] =
735 "Enable Web Authentication API support";
736
Brett Wilsonf27ff602017-07-07 22:28:47737const char kEnableImageCaptureAPIName[] = "Image Capture API";
738const char kEnableImageCaptureAPIDescription[] =
739 "Enables the Web Platform Image Capture API: takePhoto(), "
740 "getPhotoCapabilities(), etc.";
741
742const char kEnableZeroSuggestRedirectToChromeName[] =
743 "Experimental contextual omnibox suggestion";
744const char kEnableZeroSuggestRedirectToChromeDescription[] =
745 "Change omnibox contextual suggestions to an experimental source. Note "
746 "that this is not an on/off switch for contextual omnibox and it only "
747 "applies to suggestions provided before the user starts typing a URL or a "
748 "search query (i.e. zero suggest).";
749
750const char kEnableWasmStreamingName[] =
751 "WebAssembly streaming compile/instantiate support.";
752const char kEnableWasmStreamingDescription[] =
753 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
754
Clemens Hammacher0c8a15a2018-04-27 13:45:32755const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
756const char kEnableWasmBaselineDescription[] =
757 "Enables WebAssembly baseline compilation and tier up.";
758
Ben Smith24c1e5c2018-06-20 01:09:02759const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
760const char kEnableWasmThreadsDescription[] =
761 "Enables support for the WebAssembly Threads proposal. Implies "
762 "#shared-array-buffer and #enable-webassembly.";
763
Brett Wilsonf27ff602017-07-07 22:28:47764const char kExpensiveBackgroundTimerThrottlingName[] =
765 "Throttle expensive background timers";
766const char kExpensiveBackgroundTimerThrottlingDescription[] =
767 "Enables intervention to limit CPU usage of background timers to 1%.";
768
769const char kExperimentalAppBannersName[] = "Experimental app banners";
770const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38771 "Enables a new experimental app banner flow and UI. Implies "
772 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47773
774const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
775const char kExperimentalCanvasFeaturesDescription[] =
776 "Enables the use of experimental canvas features which are still in "
777 "development.";
778
Nicholas Verneccd8259802018-02-22 01:22:04779const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
780const char kExperimentalCrostiniUIDescription[] =
781 "Enables in-development Crostini features.";
782
Brett Wilsonf27ff602017-07-07 22:28:47783const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
784const char kExperimentalExtensionApisDescription[] =
785 "Enables experimental extension APIs. Note that the extension gallery "
786 "doesn't allow you to upload extensions that use experimental APIs.";
787
788const char kExperimentalFullscreenExitUIName[] =
789 "Experimental fullscreen exit UI";
790const char kExperimentalFullscreenExitUIDescription[] =
791 "Displays experimental UI to allow mouse and touch input methods to exit "
792 "fullscreen mode.";
793
Ian Clelland37a985d2018-05-04 02:43:13794const char kExperimentalProductivityFeaturesName[] =
795 "Experimental Productivity Features";
796const char kExperimentalProductivityFeaturesDescription[] =
797 "Enable support for experimental developer productivity features, such as "
798 "Layered APIs and policies for avoiding slow rendering.";
799
Brett Wilsonf27ff602017-07-07 22:28:47800const char kExperimentalSecurityFeaturesName[] =
801 "Potentially annoying security features";
802const char kExperimentalSecurityFeaturesDescription[] =
803 "Enables several security features that will likely break one or more "
804 "pages that you visit on a daily basis. Strict mixed content checking, for "
805 "example. And locking powerful features to secure contexts. This flag will "
806 "probably annoy you.";
807
808const char kExperimentalWebPlatformFeaturesName[] =
809 "Experimental Web Platform features";
810const char kExperimentalWebPlatformFeaturesDescription[] =
811 "Enables experimental Web Platform features that are in development.";
812
813const char kExtensionContentVerificationName[] =
814 "Extension Content Verification";
815const char kExtensionContentVerificationDescription[] =
816 "This flag can be used to turn on verification that the contents of the "
817 "files on disk for extensions from the webstore match what they're "
818 "expected to be. This can be used to turn on this feature if it would not "
819 "otherwise have been turned on, but cannot be used to turn it off (because "
820 "this setting can be tampered with by malware).";
821const char kExtensionContentVerificationBootstrap[] =
822 "Bootstrap (get expected hashes, but do not enforce them)";
823const char kExtensionContentVerificationEnforce[] =
824 "Enforce (try to get hashes, and enforce them if successful)";
825const char kExtensionContentVerificationEnforceStrict[] =
826 "Enforce strict (hard fail if we can't get hashes)";
827
828const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
829const char kExtensionsOnChromeUrlsDescription[] =
830 "Enables running extensions on chrome:// URLs, where extensions explicitly "
831 "request this permission.";
galinapae72e152017-05-12 13:12:28832
Brett Wilsonecb80982017-07-12 20:34:51833const char kFastUnloadName[] = "Fast tab/window close";
834const char kFastUnloadDescription[] =
835 "Enables fast tab/window closing - runs a tab's onunload js handler "
836 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34837
Brett Wilsonecb80982017-07-12 20:34:51838const char kFeaturePolicyName[] = "Feature Policy";
839const char kFeaturePolicyDescription[] =
840 "Enables granting and removing access to features through the "
841 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34842
Brett Wilsonecb80982017-07-12 20:34:51843const char kFontCacheScalingName[] = "FontCache scaling";
844const char kFontCacheScalingDescription[] =
845 "Reuse a cached font in the renderer to serve different sizes of font for "
846 "faster layout.";
847
848const char kForceEffectiveConnectionTypeName[] =
849 "Override effective connection type";
850const char kForceEffectiveConnectionTypeDescription[] =
851 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30852 "returned by the network quality estimator. Slow 2G on Cellular returns "
853 "Slow 2G when connected to a cellular network, and the actual estimate "
854 "effective connection type when not on a cellular network. Previews are "
855 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51856const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
857const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
858const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30859const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
860 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51861const char kEffectiveConnectionType2GDescription[] = "2G";
862const char kEffectiveConnectionType3GDescription[] = "3G";
863const char kEffectiveConnectionType4GDescription[] = "4G";
864
865const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
866const char kFillOnAccountSelectDescription[] =
867 "Filling of passwords when an account is explicitly selected by the user "
868 "rather than autofilling credentials on page load.";
869
Brett Wilsonecb80982017-07-12 20:34:51870const char kForceTextDirectionName[] = "Force text direction";
871const char kForceTextDirectionDescription[] =
872 "Explicitly force the per-character directionality of UI text to "
873 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
874 "direction of the character language.";
875const char kForceDirectionLtr[] = "Left-to-right";
876const char kForceDirectionRtl[] = "Right-to-left";
877
878const char kForceUiDirectionName[] = "Force UI direction";
879const char kForceUiDirectionDescription[] =
880 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
881 "mode, overriding the default direction of the UI language.";
882
883const char kFramebustingName[] =
884 "Framebusting requires same-origin or a user gesture";
885const char kFramebustingDescription[] =
886 "Don't permit an iframe to navigate the top level browsing context unless "
887 "they are same-origin or the iframe is processing a user gesture.";
888
889const char kGamepadExtensionsName[] = "Gamepad Extensions";
890const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22891 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds660a47752018-06-28 19:42:48892const char kGamepadPollingRateName[] = "Gamepad Polling Rate";
893const char kGamepadPollingRateDescription[] =
894 "Changes the rate at which gamepad input devices are polled. Increasing "
895 "the polling rate improves the average latency of button and axis inputs "
896 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58897const char kGamepadVibrationName[] = "Gamepad Vibration";
898const char kGamepadVibrationDescription[] =
899 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51900
Brett Wilsonecb80982017-07-12 20:34:51901const char kGpuRasterizationMsaaSampleCountName[] =
902 "GPU rasterization MSAA sample count.";
903const char kGpuRasterizationMsaaSampleCountDescription[] =
904 "Specify the number of MSAA samples for GPU rasterization.";
905const char kGpuRasterizationMsaaSampleCountZero[] = "0";
906const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
907const char kGpuRasterizationMsaaSampleCountFour[] = "4";
908const char kGpuRasterizationMsaaSampleCountEight[] = "8";
909const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
910
911const char kGpuRasterizationName[] = "GPU rasterization";
912const char kGpuRasterizationDescription[] =
913 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28914const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51915
916const char kGoogleProfileInfoName[] = "Google profile name and icon";
917const char kGoogleProfileInfoDescription[] =
918 "Enables using Google information to populate the profile name and icon in "
919 "the avatar menu.";
920
921const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
922const char kHarfbuzzRendertextDescription[] =
923 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
924 "web content.";
925
Takumi Fujimotofb71e332018-03-31 14:04:08926const char kViewsCastDialogName[] = "Views Cast dialog";
927const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31928 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53929 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54930 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08931
Manu Cornet4a908de2018-04-09 04:32:27932const char kHideActiveAppsFromShelfName[] =
933 "Hide running apps (that are not pinned) from the shelf";
934const char kHideActiveAppsFromShelfDescription[] =
935 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25936
Brett Wilsonecb80982017-07-12 20:34:51937const char kHistoryRequiresUserGestureName[] =
938 "New history entries require a user gesture.";
939const char kHistoryRequiresUserGestureDescription[] =
940 "Require a user gesture to add a history entry.";
941const char kHyperlinkAuditingName[] = "Hyperlink auditing";
942const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
943
Ryan Landay4242dbc22018-04-04 01:47:33944const char kHorizontalTabSwitcherAndroidName[] =
945 "Enable horizontal tab switcher";
946const char kHorizontalTabSwitcherAndroidDescription[] =
947 "Changes the layout of the Android tab switcher so tabs scroll "
948 "horizontally instead of vertically.";
949
Brett Wilsonecb80982017-07-12 20:34:51950const char kHostedAppQuitNotificationName[] =
951 "Quit notification for hosted apps";
952const char kHostedAppQuitNotificationDescription[] =
953 "Display a notification when quitting Chrome if hosted apps are currently "
954 "running.";
955
956const char kHostedAppShimCreationName[] =
957 "Creation of app shims for hosted apps on Mac";
958const char kHostedAppShimCreationDescription[] =
959 "Create app shims on Mac when creating a hosted app.";
960
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48961const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
962const char kHtmlBasedUsernameDetectorDescription[] =
963 "Use HTML-based username detector for the password manager.";
964
Brett Wilsonecb80982017-07-12 20:34:51965const char kIconNtpName[] = "Large icons on the New Tab page";
966const char kIconNtpDescription[] =
967 "Enable the experimental New Tab page using large icons.";
968
969const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
970const char kIgnoreGpuBlacklistDescription[] =
971 "Overrides the built-in software rendering list and enables "
972 "GPU-acceleration on unsupported system configurations.";
973
Ryan Sturm8c3dbc92018-06-26 19:22:37974const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44975const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37976 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44977
Claudio Magni61c210922017-12-28 00:29:51978const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
979const char kImprovedLanguageSettingsDescription[] =
980 "Set of changes for Language Settings. These changes are intended to fix "
981 "the major bugs related to Language Settings.";
982
Brett Wilsonecb80982017-07-12 20:34:51983const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
984const char kInProductHelpDemoModeChoiceDescription[] =
985 "Selects the In-Product Help demo mode.";
986
987const char kJavascriptHarmonyName[] = "Experimental JavaScript";
988const char kJavascriptHarmonyDescription[] =
989 "Enable web pages to use experimental JavaScript features.";
990
991const char kJavascriptHarmonyShippingName[] =
992 "Latest stable JavaScript features";
993const char kJavascriptHarmonyShippingDescription[] =
994 "Some web pages use legacy or non-standard JavaScript extensions that may "
995 "conflict with the latest JavaScript features. This flag allows disabling "
996 "support of those features for compatibility with such pages.";
997
gogeraldfd7675d2018-06-19 22:57:35998const char kJustInTimeServiceWorkerPaymentAppName[] =
999 "Just-in-time service worker payment app";
1000const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1001 "Allow crawling just-in-time service worker payment app when there is no "
1002 "installed service worker payment app for a payment request.";
1003
Yutaka Hiranof7f2f632017-09-06 10:40:081004const char kKeepAliveRendererForKeepaliveRequestsName[] =
1005 "Keep a renderer alive for keepalive fetch requests";
1006const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1007 "Keep a render process alive when the process has a pending fetch request "
1008 "with `keepalive' specified.";
1009
Joe Downing095fd6d2018-02-01 18:40:361010const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1011const char kKeyboardLockApiDescription[] =
1012 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1013 "specific key events and have them routed directly to the webpage when in "
1014 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1015
Brett Wilsonecb80982017-07-12 20:34:511016const char kLcdTextName[] = "LCD text antialiasing";
1017const char kLcdTextDescription[] =
1018 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1019 "(subpixel) when doing accelerated compositing.";
1020
Matt Giucac399982f2017-10-06 07:51:291021const char kLeftToRightUrlsName[] =
1022 "Render bidirectional URLs from left to right";
1023const char kLeftToRightUrlsDescription[] =
1024 "An experimental Bidi URL rendering algorithm where the URL components are "
1025 "always shown in order from left to right, regardless of any RTL "
1026 "characters. (The contents of each component are still rendered with the "
1027 "normal Bidi algorithm.)";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kLoadMediaRouterComponentExtensionName[] =
1030 "Load Media Router Component Extension";
1031const char kLoadMediaRouterComponentExtensionDescription[] =
1032 "Loads the Media Router component extension at startup.";
1033
spqchanb87755692018-04-05 00:46:091034const char kMacViewsAutofillPopupName[] =
1035 "Uses the Views Autofill Popup on Mac";
1036const char kMacViewsAutofillPopupDescription[] =
1037 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321038
Brett Wilsonecb80982017-07-12 20:34:511039const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1040const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511041
Lei Zhang2eca9082017-10-17 20:42:501042const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1043const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511044 "If enabled, the Incognito New Tab page uses the new material design with "
1045 "a better readable text.";
1046
spqchanb87755692018-04-05 00:46:091047const char kMediaRouterCastAllowAllIPsName[] =
1048 "Connect to Cast devices on all IP addresses";
1049const char kMediaRouterCastAllowAllIPsDescription[] =
1050 "Have the Media Router connect to Cast devices on all IP addresses, not "
1051 "just RFC1918/RFC4913 private addresses.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kMemoryCoordinatorName[] = "Memory coordinator";
1054const char kMemoryCoordinatorDescription[] =
1055 "Enable memory coordinator instead of memory pressure listeners.";
1056
1057const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1058const char kMessageCenterNewStyleNotificationDescription[] =
1059 "Enables the experiment style of material-design notification";
1060
Brett Wilsonecb80982017-07-12 20:34:511061const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1062const char kMhtmlGeneratorOptionDescription[] =
1063 "Provides experimental options for MHTML file generator.";
1064const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1065const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1066
Kouhei Ueno08445c22017-09-05 03:58:301067const char kModuleScriptsDynamicImportName[] =
1068 "Enable ECMAScript 6 modules dynamic import";
1069const char kModuleScriptsDynamicImportDescription[] =
1070 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1071 "Blink.";
1072
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051073const char kModuleScriptsImportMetaUrlName[] =
1074 "Enable ECMAScript 6 modules import.meta.url";
1075const char kModuleScriptsImportMetaUrlDescription[] =
1076 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1077 "Blink.";
1078
Brett Wilsonecb80982017-07-12 20:34:511079const char kNewAudioRenderingMixingStrategyName[] =
1080 "New audio rendering mixing strategy";
1081const char kNewAudioRenderingMixingStrategyDescription[] =
1082 "Use the new audio rendering mixing strategy.";
1083
1084const char kNewBookmarkAppsName[] = "The new bookmark app system";
1085const char kNewBookmarkAppsDescription[] =
1086 "Enables the new system for creating bookmark apps.";
1087
Vadym Doroshenkof81e8bb2018-04-18 14:35:241088const char kNewPasswordFormParsingName[] = "New password form parsing";
1089const char kNewPasswordFormParsingDescription[] =
1090 "Replaces existing form parsing in password manager with a new version, "
1091 "currently under development. WARNING: when enabled Password Manager might "
1092 "stop working";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kNewRemotePlaybackPipelineName[] =
1095 "Enable the new remote playback pipeline.";
1096const char kNewRemotePlaybackPipelineDescription[] =
1097 "Enable the new pipeline for playing media element remotely via "
1098 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501099const char kUseSurfaceLayerForVideoName[] =
1100 "Enable the use of SurfaceLayer objects for videos.";
1101const char kUseSurfaceLayerForVideoDescription[] =
1102 "Enable compositing onto a Surface instead of a VideoLayer "
1103 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511104
1105const char kNewUsbBackendName[] = "Enable new USB backend";
1106const char kNewUsbBackendDescription[] =
1107 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341108
Sonny Sasaka2d200432018-03-22 17:43:161109const char kNewblueName[] = "Newblue";
1110const char kNewblueDescription[] =
1111 "Enables the use of newblue Bluetooth daemon.";
1112
Peter Kasting63097912018-06-30 02:09:031113const char kNewTabButtonPosition[] = "New tab button position";
1114const char kNewTabButtonPositionDescription[] =
1115 "Controls placement of the new tab button within the tabstrip.";
1116const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1117const char kNewTabButtonPositionLeading[] = "Leading";
1118const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1119const char kNewTabButtonPositionTrailing[] = "Trailing";
1120
Egor Pasko6fed3822018-05-30 10:33:141121const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341122const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141123 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341124
Alex Newcomerd7b0cc42018-05-25 22:58:481125const char kNotificationIndicatorName[] = "Notification Indicators";
1126const char kNotificationIndicatorDescription[] =
1127 "Enable notification indicators, which appear on app icons when a "
1128 "notification is active. This will also enable notifications in context "
1129 "menus.";
1130
Brett Wilsonecb80982017-07-12 20:34:511131const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1132const char kNotificationsNativeFlagDescription[] =
1133 "Enable support for using the native notification toasts and notification "
1134 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341135
Zentaro Kavanaghbad511c2017-10-18 22:29:001136#if defined(OS_POSIX)
1137const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1138const char kNtlmV2EnabledDescription[] =
1139 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1140#endif
1141
Ramya Nagarajane9f16b82018-05-03 01:05:341142const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1143const char kNtpBackgroundsDescription[] =
1144 "Allow selection of a custom background image on the New Tab Page.";
1145
1146const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1147const char kNtpIconsDescription[] =
1148 "Show custom link icons on the New Tab Page, instead of Most Visited "
1149 "tiles.";
1150
1151const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1152const char kNtpUIMdDescription[] =
1153 "Updates the New Tab Page with Material Design elements.";
1154
Brett Wilsonecb80982017-07-12 20:34:511155const char kNumRasterThreadsName[] = "Number of raster threads";
1156const char kNumRasterThreadsDescription[] =
1157 "Specify the number of raster threads.";
1158const char kNumRasterThreadsOne[] = "1";
1159const char kNumRasterThreadsTwo[] = "2";
1160const char kNumRasterThreadsThree[] = "3";
1161const char kNumRasterThreadsFour[] = "4";
1162
1163const char kOfferStoreUnmaskedWalletCardsName[] =
1164 "Google Payments card saving checkbox";
1165const char kOfferStoreUnmaskedWalletCardsDescription[] =
1166 "Show the checkbox to offer local saving of a credit card downloaded from "
1167 "the server.";
1168
1169const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1170const char kOfflineAutoReloadDescription[] =
1171 "Pages that fail to load while the browser is offline will be "
1172 "auto-reloaded when the browser is online again.";
1173
1174const char kOfflineAutoReloadVisibleOnlyName[] =
1175 "Only Auto-Reload Visible Tabs";
1176const char kOfflineAutoReloadVisibleOnlyDescription[] =
1177 "Pages that fail to load while the browser is offline will only be "
1178 "auto-reloaded if their tab is visible.";
1179
Brett Wilsonecb80982017-07-12 20:34:511180const char kOmniboxDisplayTitleForCurrentUrlName[] =
1181 "Include title for the current URL in the omnibox";
1182const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1183 "In the event that the omnibox provides suggestions on-focus, the URL of "
1184 "the current page is provided as the first suggestion without a title. "
1185 "Enabling this flag causes the title to be displayed.";
1186
Benoit Lizeab08362c2017-07-19 14:50:541187const char kOmniboxSpareRendererName[] =
1188 "Start spare renderer on omnibox focus";
1189const char kOmniboxSpareRendererDescription[] =
1190 "When the omnibox is focused, start an empty spare renderer. This can "
1191 "speed up the load of the navigation from the omnibox.";
1192
Tommy C. Li8875a442017-08-23 00:10:591193const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1194 "Omnibox UI Elide Suggestion URL After Host";
1195const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1196 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1197 "dropdown.";
1198
Tommy C. Lid79d4402017-12-22 22:49:121199const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1200 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1201const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1202 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221203 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1204 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121205
Brett Wilsonecb80982017-07-12 20:34:511206const char kOmniboxUIMaxAutocompleteMatchesName[] =
1207 "Omnibox UI Max Autocomplete Matches";
1208
1209const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1210 "Changes the maximum number of autocomplete matches displayed in the "
1211 "Omnibox UI.";
1212
Justin Donnelly65c9e8b2017-10-01 05:15:011213const char kOmniboxUIShowSuggestionFaviconsName[] =
1214 "Omnibox UI Show Suggestion Favicons";
1215const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1216 "Shows favicons instead of generic vector icons for URL suggestions in the "
1217 "Omnibox dropdown.";
1218
1219const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1220const char kOmniboxUISwapTitleAndUrlDescription[] =
1221 "In the omnibox dropdown, shows titles before URLs when both are "
1222 "available.";
1223
Brett Wilsonecb80982017-07-12 20:34:511224const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1225const char kOmniboxUIVerticalMarginDescription[] =
1226 "Changes the vertical margin in the Omnibox UI.";
1227
Troy Hildebrandtb32637ca2018-02-21 23:25:091228const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1229 "Omnibox Voice Search Always Visible";
1230const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1231 "Always displays voice search icon in focused omnibox as long as voice "
1232 "search is possible";
1233
Adrienne Walkerc87477e2018-06-06 22:28:211234const char kOopRasterizationName[] = "Out of process rasterization";
1235const char kOopRasterizationDescription[] =
1236 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1237 "Must also enable GPU rasterization";
1238
Brett Wilsonecb80982017-07-12 20:34:511239const char kOriginTrialsName[] = "Origin Trials";
1240const char kOriginTrialsDescription[] =
1241 "Enables origin trials for controlling access to feature/API experiments.";
1242
Becca Hughes930d8cd2017-10-02 11:09:121243const char kOverflowIconsForMediaControlsName[] =
1244 "Icons on Media Controls Overflow Menu";
1245const char kOverflowIconsForMediaControlsDescription[] =
1246 "Displays icons on the overflow menu of the native media controls";
1247
Brett Wilsonecb80982017-07-12 20:34:511248const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1249const char kOverlayScrollbarsDescription[] =
1250 "Enable the experimental overlay scrollbars implementation. You must also "
1251 "enable threaded compositing to have the scrollbars animate.";
1252
chaopenge8aa016b2017-08-24 15:20:191253const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1254 "Flash Overlay Scrollbars After Any Scroll Update";
1255const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1256 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1257 " must also enable Overlay Scrollbars.";
1258
chaopeng343678022017-08-24 18:45:001259const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1260 "Flash Overlay Scrollbars When Mouse Enter";
1261const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1262 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1263 " enable Overlay Scrollbars.";
1264
Daniele Castagna74ddb9c2018-06-21 22:59:021265const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1266const char kOverlayStrategiesDescription[] =
1267 "Select strategies used to promote quads to HW overlays.";
1268const char kOverlayStrategiesDefault[] = "Default";
1269const char kOverlayStrategiesNone[] = "None";
1270const char kOverlayStrategiesUnoccludedFullscreen[] =
1271 "Unoccluded fullscreen buffers (single-fullscreen)";
1272const char kOverlayStrategiesUnoccluded[] =
1273 "Unoccluded buffers (single-fullscreen,single-on-top)";
1274const char kOverlayStrategiesOccludedAndUnoccluded[] =
1275 "Occluded and unoccluded buffers "
1276 "(single-fullscreen,single-on-top,underlay)";
1277
Claudio Magni81326f92017-09-01 05:21:181278const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1279const char kUseNewAcceptLanguageHeaderDescription[] =
1280 "Adds the base language code after other corresponding language+region "
1281 "codes. This ensures that users receive content in their preferred "
1282 "language.";
1283
Brett Wilsonecb80982017-07-12 20:34:511284const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1285const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481286 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511287const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481288const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511289
1290const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1291const char kOverscrollStartThresholdDescription[] =
1292 "Changes overscroll start threshold relative to the default value.";
1293const char kOverscrollStartThreshold133Percent[] = "133%";
1294const char kOverscrollStartThreshold166Percent[] = "166%";
1295const char kOverscrollStartThreshold200Percent[] = "200%";
1296
chaopenge2b6e5f2018-05-08 16:40:451297const char kTouchpadOverscrollHistoryNavigationName[] =
1298 "Overscroll history navigation on Touchpad";
1299const char kTouchpadOverscrollHistoryNavigationDescription[] =
1300 "Allows swipe left/right from touchpad change browser navigation.";
1301
Xing Liu5400a002017-09-15 21:48:291302const char kParallelDownloadingName[] = "Parallel downloading";
1303const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061304 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291305
Brett Wilsonecb80982017-07-12 20:34:511306const char kPassiveEventListenerDefaultName[] =
1307 "Passive Event Listener Override";
1308const char kPassiveEventListenerDefaultDescription[] =
1309 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1310 "haven't requested otherwise) to be treated as passive. This will break "
1311 "touch/wheel behavior on some websites but is useful for demonstrating the "
1312 "potential performance benefits of adopting passive event listeners.";
1313const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1314const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1315
1316const char kPassiveEventListenersDueToFlingName[] =
1317 "Touch Event Listeners Passive Default During Fling";
1318const char kPassiveEventListenersDueToFlingDescription[] =
1319 "Forces touchstart, and first touchmove per scroll event listeners during "
1320 "fling to be treated as passive.";
1321
1322const char kPassiveDocumentEventListenersName[] =
1323 "Document Level Event Listeners Passive Default";
1324const char kPassiveDocumentEventListenersDescription[] =
1325 "Forces touchstart, and touchmove event listeners on document level "
1326 "targets (which haven't requested otherwise) to be treated as passive.";
1327
1328const char kPasswordForceSavingName[] = "Force-saving of passwords";
1329const char kPasswordForceSavingDescription[] =
1330 "Allow the user to manually enforce password saving instead of relying on "
1331 "password manager's heuristics.";
1332
Vaclav Brozekd8a3f542017-11-16 14:21:131333const char kPasswordExportName[] = "Password export";
1334const char kPasswordExportDescription[] =
1335 "Export functionality in password settings.";
1336
1337const char kPasswordImportName[] = "Password import";
1338const char kPasswordImportDescription[] =
1339 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511340
Friedrich Horschig03c91982018-01-25 14:21:281341const char kPasswordSearchMobileName[] = "Password search";
1342const char kPasswordSearchMobileDescription[] =
1343 "Search functionality in password settings.";
1344
Friedrich Horschige6c27742018-04-23 17:13:411345const char kPasswordsKeyboardAccessoryName[] =
1346 "Add password-related functions to keyboard accessory";
1347const char kPasswordsKeyboardAccessoryDescription[] =
1348 "Adds password generation button and toggle for the passwords bottom sheet "
1349 "to the keyboard accessory. Replaces password generation popups.";
1350
Tom Sepez92a2cd242018-03-13 19:23:091351const char kPdfIsolationName[] = "PDF Isolation";
1352const char kPdfIsolationDescription[] =
1353 "Render PDF files from different origins in different plugin processes.";
1354
Brett Wilsonecb80982017-07-12 20:34:511355const char kPinchScaleName[] = "Pinch scale";
1356const char kPinchScaleDescription[] =
1357 "Enables experimental support for scale using pinch.";
1358
Doug Arnett620ff542018-02-06 17:54:221359const char kPreviewsAllowedName[] = "Previews Allowed";
1360const char kPreviewsAllowedDescription[] =
1361 "Allows previews to be shown subject to specific preview types being "
1362 "enabled and the client experiencing specific triggering conditions. "
1363 "May be used as a kill-switch to turn off all potential preview types.";
1364
Brett Wilsonecb80982017-07-12 20:34:511365const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1366const char kPrintPdfAsImageDescription[] =
1367 "If enabled, an option to print PDF files as images will be available in "
1368 "print preview.";
1369
1370const char kPrintPreviewRegisterPromosName[] =
1371 "Print Preview Registration Promos";
1372const char kPrintPreviewRegisterPromosDescription[] =
1373 "Enable registering unregistered cloud printers from print preview.";
1374
1375const char kProtectSyncCredentialName[] = "Autofill sync credential";
1376const char kProtectSyncCredentialDescription[] =
1377 "How the password manager handles autofill for the sync credential.";
1378
1379const char kProtectSyncCredentialOnReauthName[] =
1380 "Autofill sync credential only for transactional reauth pages";
1381const char kProtectSyncCredentialOnReauthDescription[] =
1382 "How the password manager handles autofill for the sync credential only "
1383 "for transactional reauth pages.";
1384
Mohsen Izadi93faac12017-07-29 04:45:151385const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1386const char kPullToRefreshDescription[] =
1387 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011388const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151389
Troy Hildebrandt7228ad12018-02-23 21:18:241390const char kQueryInOmniboxName[] = "Query in Omnibox";
1391const char kQueryInOmniboxDescription[] =
1392 "Only display query terms in the omnibox when viewing a search results "
1393 "page.";
1394
Brett Wilsonecb80982017-07-12 20:34:511395const char kQuicName[] = "Experimental QUIC protocol";
1396const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1397
Emily Starke8878d52018-05-11 21:27:261398const char kRecurrentInterstitialName[] =
1399 "Show a message when the same SSL error recurs";
1400const char kRecurrentInterstitialDescription[] =
1401 "Enable a special message on the SSL certificate error page when the same "
1402 "SSL error occurs repeatedly.";
1403
Brett Wilsonecb80982017-07-12 20:34:511404const char kReducedReferrerGranularityName[] =
1405 "Reduce default 'referer' header granularity.";
1406const char kReducedReferrerGranularityDescription[] =
1407 "If a page hasn't set an explicit referrer policy, setting this flag will "
1408 "reduce the amount of information in the 'referer' header for cross-origin "
1409 "requests.";
1410
Claudio Magnie0a80bb2018-01-31 02:52:581411extern const char kRegionalLocalesAsDisplayUIName[] =
1412 "Allow regional locales as display UI";
1413extern const char kRegionalLocalesAsDisplayUIDescription[] =
1414 "This flag allows regional locales to be selected as display UI by the "
1415 "user in Language Settings. The actual locale of the system is derived "
1416 "from the user selection based on some simple fallback logic.";
1417
Christian Dullweber1af31e62018-02-22 11:49:481418const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141419 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481420const char kRemoveNavigationHistoryDescription[] =
1421 "Remove a navigation entry when the corresponding history entry has been "
1422 "deleted.";
1423
Mihai Sardarescu6d0f5b72017-10-30 11:24:381424const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1425 "Remove usage of the deprecated GAIA sign-in endpoint";
1426const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1427 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1428 "This flags controls wheter it should no longer be used during a sign-in "
1429 " flow.";
1430
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351431const char kRendererSideResourceSchedulerName[] =
1432 "Renderer side ResourceScheduler";
1433const char kRendererSideResourceSchedulerDescription[] =
1434 "Migrate some ResourceScheduler functionalities to renderer";
1435
Brett Wilsonecb80982017-07-12 20:34:511436const char kRequestTabletSiteName[] =
1437 "Request tablet site option in the settings menu";
1438const char kRequestTabletSiteDescription[] =
1439 "Allows the user to request tablet site. Web content is often optimized "
1440 "for tablet devices. When this option is selected the user agent string is "
1441 "changed to indicate a tablet device. Web content optimized for tablets is "
1442 "received there after for the current tab.";
1443
1444const char kResetAppListInstallStateName[] =
1445 "Reset the App Launcher install state on every restart.";
1446const char kResetAppListInstallStateDescription[] =
1447 "Reset the App Launcher install state on every restart. While this flag is "
1448 "set, Chrome will forget the launcher has been installed each time it "
1449 "starts. This is used for testing the App Launcher install flow.";
1450
Kinuko Yasuda33955082018-06-19 10:14:591451const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511452const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591453 "Uses the resource load scheduler in blink to throttle resource load "
1454 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511455
Brett Wilsonecb80982017-07-12 20:34:511456const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1457const char kSafeSearchUrlReportingDescription[] =
1458 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1459
Alexei Filippov98772752018-01-27 08:26:521460const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1461const char kSamplingHeapProfilerDescription[] =
1462 "Enables native memory sampling profiler with specified rate in KiB. "
1463 "If sampling rate is not provided the default value of 128 KiB is used.";
1464
Brett Wilsonecb80982017-07-12 20:34:511465const char kSaveasMenuLabelExperimentName[] =
1466 "Switch 'Save as' menu labels to 'Download'";
1467const char kSaveasMenuLabelExperimentDescription[] =
1468 "Enables an experiment to switch menu labels that use 'Save as...' to "
1469 "'Download'.";
1470
1471const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1472const char kSavePageAsMhtmlDescription[] =
1473 "Enables saving pages as MHTML: a single text file containing HTML and all "
1474 "sub-resources.";
1475
Nate Chapin9638e7102017-09-20 22:11:011476const char kSavePreviousDocumentResourcesName[] =
1477 "Save Previous Document Resources";
1478const char kSavePreviousDocumentResourcesDescription[] =
1479 "Saves an old document's cached resources until the specified point in the "
1480 "next document's lifecycle.";
1481const char kSavePreviousDocumentResourcesNever[] =
1482 "Don't explicitly save resources";
1483const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1484 "Save resources until onDOMContentLoaded completes";
1485const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1486 "Save resources until onload completes";
1487
Brett Wilsonecb80982017-07-12 20:34:511488const char kScrollPredictionName[] = "Scroll prediction";
1489const char kScrollPredictionDescription[] =
1490 "Predicts the finger's future position during scrolls allowing time to "
1491 "render the frame before the finger is there.";
1492
1493const char kSecondaryUiMd[] =
1494 "Material Design in the rest of the browser's native UI";
1495const char kSecondaryUiMdDescription[] =
1496 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1497 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341498 "browser dialogs. If --top-chrome-md is effectively Material Design "
1499 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511500
1501const char kServiceWorkerNavigationPreloadName[] =
1502 "Service worker navigation preload.";
1503const char kServiceWorkerNavigationPreloadDescription[] =
1504 "Enable web pages to use the experimental service worker navigation "
1505 "preload API.";
1506
gogeraldd5061b592017-09-06 23:39:551507const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1508const char kServiceWorkerPaymentAppsDescription[] =
1509 "Enable Service Worker applications to integrate as payment apps";
1510
Makoto Shimazu22078cc2018-02-21 03:01:441511extern const char kServiceWorkerServicificationName[] =
1512 "Servicified service workers";
1513extern const char kServiceWorkerServicificationDescription[] =
1514 "Enable the servicified service workers. A servicified service worker can "
1515 "have direct connection from its clients, so that fetch events can be "
1516 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171517
Tsuyoshi Horobcb1c642017-11-24 16:32:141518const char kServiceWorkerScriptFullCodeCacheName[] =
1519 "Service worker script full code cache.";
1520const char kServiceWorkerScriptFullCodeCacheDescription[] =
1521 "Generate V8 full code cache of Service Worker scripts while installing.";
1522
Brett Wilsonecb80982017-07-12 20:34:511523const char kSettingsWindowName[] = "Show settings in a window";
1524const char kSettingsWindowDescription[] =
1525 "Settings will be shown in a dedicated window instead of as a browser tab.";
1526
Manu Cornetd7ef7c52018-05-01 22:08:231527const char kShelfHoverPreviewsName[] =
1528 "Show previews of running apps when hovering over the shelf.";
1529const char kShelfHoverPreviewsDescription[] =
1530 "Shows previews of the open windows for a given running app when hovering "
1531 "over the shelf.";
1532
Trent Apted750ba7022017-10-23 13:36:251533const char kShowAllDialogsWithViewsToolkitName[] =
1534 "Show all dialogs with Views toolkit";
1535const char kShowAllDialogsWithViewsToolkitDescription[] =
1536 "All browser dialogs will be shown using the Views toolkit rather than "
1537 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1538
Naoki Fukino008a0022018-05-23 18:33:001539const char kShowAndroidFilesInFilesAppName[] =
1540 "Show Android files in Files app";
1541const char kShowAndroidFilesInFilesAppDescription[] =
1542 "Show Android files in Files app if Android is enabled on the device.";
1543
Luciano Pachecof1beaa82018-05-30 04:48:511544const char kFilesAppNewStyleNavigationName[] =
1545 "Use new-style navigation in the Files app";
1546const char kFilesAppNewStyleNavigationDescription[] =
1547 "Enables the new-style navigation in the Files app, which displays a "
1548 R"("My Files" root for Downloads, Linux and Play files)";
1549
Brett Wilsonecb80982017-07-12 20:34:511550const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1551const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381552 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1553 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511554
1555const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1556const char kShowAutofillTypePredictionsDescription[] =
1557 "Annotates web forms with Autofill field type predictions as placeholder "
1558 "text.";
1559
1560const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1561const char kShowOverdrawFeedbackDescription[] =
1562 "Visualize overdraw by color-coding elements based on if they have other "
1563 "elements drawn underneath.";
1564
Carlos IL89128732018-04-03 17:00:251565const char kSupervisedUserCommittedInterstitialsName[] =
1566 "Enable Supervised User Committed Interstitials";
1567const char kSupervisedUserCommittedInterstitialsDescription[] =
1568 "Use committed error pages instead of transient navigation entries for "
1569 "supervised user interstitials";
1570
yiyixbdfa9a0b2017-10-23 22:21:471571const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1572const char kEnableDrawOcclusionDescription[] =
1573 "Enable the system to use draw occlusion to skip draw quads when they are "
1574 "not shown on the screen.";
1575
Brett Wilsonecb80982017-07-12 20:34:511576const char kShowSavedCopyName[] = "Show Saved Copy Button";
1577const char kShowSavedCopyDescription[] =
1578 "When a page fails to load, if a stale copy of the page exists in the "
1579 "browser cache, a button will be presented to allow the user to load that "
1580 "stale copy. The primary enabling choice puts the button in the most "
1581 "salient position on the error page; the secondary enabling choice puts it "
1582 "secondary to the reload button.";
1583const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1584const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1585const char kDisableShowSavedCopy[] = "Disable";
1586
Brett Wilsonecb80982017-07-12 20:34:511587const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1588const char kSilentDebuggerExtensionApiDescription[] =
1589 "Do not show the infobar when an extension attaches to a page via "
1590 "chrome.debugger API. This is required to debug extension background "
1591 "pages.";
1592
Tsuyoshi Horo53895ba92018-03-14 04:06:481593const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1594const char kSignedHTTPExchangeDescription[] =
1595 "Enables Origin-Signed HTTP Exchanges support which is still in "
1596 "development. Warning: Enabling this may pose a security risk.";
1597
Brett Wilsonecb80982017-07-12 20:34:511598const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1599const char kSimpleCacheBackendDescription[] =
1600 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1601 "disk space allocation.";
1602
Christopher Thompson75ff845d2018-02-01 20:12:461603const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1604const char kSimplifyHttpsIndicatorDescription[] =
1605 "Change the UI treatment for HTTPS pages.";
1606
Brett Wilsonecb80982017-07-12 20:34:511607const char kSingleClickAutofillName[] = "Single-click autofill";
1608const char kSingleClickAutofillDescription[] =
1609 "Make autofill suggestions on initial mouse click on a form element.";
1610
Nick Carter855bc492018-03-10 00:44:571611const char kStrictSiteIsolationName[] = "Strict site isolation";
1612const char kStrictSiteIsolationDescription[] =
1613 "Security mode that enables site isolation for all sites. When enabled, "
1614 "each renderer process will contain pages from at most one site, using "
1615 "out-of-process iframes when needed. When enabled, this flag forces the "
1616 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1617 "isolation mode will be determined by enterprise policy or field trial.";
1618
1619const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1620const char kSiteIsolationTrialOptOutDescription[] =
1621 "Opts out of field trials that enable site isolation modes "
1622 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1623 "may be due to out-of-process iframes. Opt-out has no effect if site "
1624 "isolation is force-enabled via #enable-site-per-process or enterprise "
1625 "policy. Caution: this disables important mitigations for the Spectre CPU "
1626 "vulnerability affecting most computers.";
1627extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1628extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1629 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511630
Pattideade7972018-04-27 02:59:401631const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511632const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401633 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511634
Brett Wilsonecb80982017-07-12 20:34:511635const char kSmoothScrollingName[] = "Smooth Scrolling";
1636const char kSmoothScrollingDescription[] =
1637 "Animate smoothly when scrolling page content.";
1638
1639const char kSoftwareRasterizerName[] = "3D software rasterizer";
1640const char kSoftwareRasterizerDescription[] =
1641 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1642
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201643const char kSoleIntegrationName[] = "Sole integration";
1644const char kSoleIntegrationDescription[] =
1645 "Enable Sole integration for browser customization. You must restart "
1646 "the browser twice for changes to take effect.";
1647
Tommy Steimel77704be2017-08-28 22:14:401648const char kSoundContentSettingName[] = "Sound content setting";
1649const char kSoundContentSettingDescription[] =
1650 "Enable site-wide muting in content settings and tab strip context menu.";
1651
Alexandr Ilinf0500ed32017-09-27 21:12:361652const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1653const char kSpeculativePreconnectDescription[] =
1654 "Enable the new implementation of preconnect and DNS preresolve. "
1655 "\"Learning\" means that only database construction is enabled, "
1656 "\"Preconnect\" enables both learning and preconnect and disables the "
1657 "existing implementation. \"No preconnect\" disables both implementations.";
1658
Brett Wilsonecb80982017-07-12 20:34:511659const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341660const char kSpeculativePrefetchDescription[] =
1661 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1662 R"*(load times, based on a local database (see chrome://predictors). )*"
1663 R"*("Learning" means that only the database construction is enabled, )*"
1664 R"*("Prefetching" that learning and prefetching are enabled.)*";
1665
Justin Donnelly4e448cb2017-07-07 21:32:131666const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1667 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131668const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1669 "If enabled, when the user enters text in the omnibox that looks like a "
1670 "a query, any service worker associated with the search engine the query "
1671 "will be sent to is started early.";
1672
Brett Wilsonecb80982017-07-12 20:34:511673const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1674const char kSpellingFeedbackFieldTrialDescription[] =
1675 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401676
Shubhie Panickerfaf082ed2018-01-03 04:49:151677const char kStopInBackgroundName[] = "Stop in background";
1678const char kStopInBackgroundDescription[] =
1679 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281680 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151681
1682const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1683const char kStopLoadingInBackgroundDescription[] =
1684 "Stop loading tasks and loading "
1685 "resources, in the background, after certain grace time.";
1686
Shubhie Panicker56c99a22018-03-21 00:22:281687const char kStopNonTimersInBackgroundName[] =
1688 "Stop non-timer task queues background";
1689const char kStopNonTimersInBackgroundDescription[] =
1690 "Stop non-timer task queues, in the background, "
1691 "after a grace period.";
1692
Brett Wilsonecb80982017-07-12 20:34:511693const char kSuggestionsWithSubStringMatchName[] =
1694 "Substring matching for Autofill suggestions";
1695const char kSuggestionsWithSubStringMatchDescription[] =
1696 "Match Autofill suggestions based on substrings (token prefixes) rather "
1697 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341698
Brett Wilsonecb80982017-07-12 20:34:511699const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1700const char kSyncSandboxDescription[] =
1701 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341702
Joe Downing8cbbc192018-05-14 17:37:071703const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1704const char kSystemKeyboardLockDescription[] =
1705 "Enables websites to use the keyboard.lock() API to intercept system "
1706 "keyboard shortcuts and have the events routed directly to the website "
1707 "when in fullscreen mode.";
1708
Brett Wilsonecb80982017-07-12 20:34:511709const char kTabAudioMutingName[] = "Tab audio muting UI control";
1710const char kTabAudioMutingDescription[] =
1711 "When enabled, the audio indicators in the tab strip double as tab audio "
1712 "mute controls. This also adds commands in the tab context menu for "
1713 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341714
Christian Dullweberd0d96f02017-09-13 09:22:511715const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1716const char kTabsInCbdDescription[] =
1717 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1718
Becky Zhou99c22802017-10-19 05:09:271719const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1720const char kTabModalJsDialogDescription[] =
1721 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1722 " tab.";
1723
Brett Wilsonecb80982017-07-12 20:34:511724const char kTcpFastOpenName[] = "TCP Fast Open";
1725const char kTcpFastOpenDescription[] =
1726 "Enable the option to send extra authentication information in the initial "
1727 "SYN packet for a previously connected client, allowing faster data send "
1728 "start.";
vabr0215a8e2017-03-28 12:47:341729
Daniele Castagna0fead93e2018-01-10 20:40:291730const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1731const char kTintGlCompositedContentDescription[] =
1732 "Tint contents composited using GL with a shade of red to help debug and "
1733 "study overlay support.";
1734
Brett Wilsonecb80982017-07-12 20:34:511735const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1736const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581737 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401738 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431739 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341740 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541741 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511742const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531743const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461744const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581745const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401746const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431747const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341748
Brett Wilsonecb80982017-07-12 20:34:511749const char kThreadedScrollingName[] = "Threaded scrolling";
1750const char kThreadedScrollingDescription[] =
1751 "Threaded handling of scroll-related input events. Disabling this will "
1752 "force all such scroll events to be handled on the main thread. Note that "
1753 "this can dramatically hurt scrolling performance of most websites and is "
1754 "intended for testing purposes only.";
1755
Steven Valdez4584b2482017-07-14 01:11:571756const char kTLS13VariantName[] = "TLS 1.3";
1757const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1758const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111759const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041760const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381761const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571762
Brett Wilsonecb80982017-07-12 20:34:511763const char kTopDocumentIsolationName[] = "Top document isolation";
1764const char kTopDocumentIsolationDescription[] =
1765 "Highly experimental performance mode where cross-site iframes are kept in "
1766 "a separate process from the top document. In this mode, iframes from "
1767 "different third-party sites will be allowed to share a process.";
1768
Dominick Ng8896b1cd2017-10-17 23:24:361769const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1770const char kTopSitesFromSiteEngagementDescription[] =
1771 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1772 "engagement.";
1773
Brett Wilsonecb80982017-07-12 20:34:511774const char kTouchAdjustmentName[] = "Touch adjustment";
1775const char kTouchAdjustmentDescription[] =
1776 "Refine the position of a touch gesture in order to compensate for touches "
1777 "having poor resolution compared to a mouse.";
1778
Alex Newcomerb3d3c972018-05-03 14:59:401779const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1780const char kTouchableAppContextMenuDescription[] =
1781 "Enable the touchable app context menu, which enlarges app context menus "
1782 "in the Launcher and Shelf to make room for new features.";
1783
Brett Wilsonecb80982017-07-12 20:34:511784const char kTouchDragDropName[] = "Touch initiated drag and drop";
1785const char kTouchDragDropDescription[] =
1786 "Touch drag and drop can be initiated through long press on a draggable "
1787 "element.";
1788
1789const char kTouchEventsName[] = "Touch Events API";
1790const char kTouchEventsDescription[] =
1791 "Force Touch Events API feature detection to always be enabled or "
1792 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291793 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511794
1795const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1796const char kTouchSelectionStrategyDescription[] =
1797 "Controls how text selection granularity changes when touch text selection "
1798 "handles are dragged. Non-default behavior is experimental.";
1799const char kTouchSelectionStrategyCharacter[] = "Character";
1800const char kTouchSelectionStrategyDirection[] = "Direction";
1801
1802const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1803const char kTraceUploadUrlDescription[] =
1804 "This is to be used in conjunction with the enable-navigation-tracing "
1805 "flag. Please select the label that best describes the recorded traces. "
1806 "This will choose the destination the traces are uploaded to. If you are "
1807 "not sure, select other. If left empty, no traces will be uploaded.";
1808const char kTraceUploadUrlChoiceOther[] = "Other";
1809const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1810const char kTraceUploadUrlChoiceQa[] = "QA";
1811const char kTraceUploadUrlChoiceTesting[] = "Testing";
1812
Anthony Vallee-Dubois265c5692018-06-01 15:57:141813const char kTranslateForceTriggerOnEnglishName[] =
1814 "Select which language model to use to trigger translate on English "
1815 "content";
1816const char kTranslateForceTriggerOnEnglishDescription[] =
1817 "Force the Translate Triggering on English pages experiment to be enabled "
1818 "with the selected language model active.";
1819
Philippe Hamel7fdaa452017-09-29 17:22:491820const char kTranslateRankerEnforcementName[] =
1821 "Enforce TranslateRanker decisions";
1822const char kTranslateRankerEnforcementDescription[] =
1823 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1824 "or not Translate UI should be triggered in a given context.";
1825
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161826const char kTranslateUIName[] = "Enable Translate";
1827const char kTranslateUIDescription[] =
1828 "Enable the Translate popup when visiting webpages in other languages.";
1829
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051830const char kTreatInsecureOriginAsSecureName[] =
1831 "Insecure origins treated as secure";
1832const char kTreatInsecureOriginAsSecureDescription[] =
1833 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1834 "supplied as a comma-separated list. For the definition of secure "
1835 "contexts, "
1836 "see https://w3c.github.io/webappsec-secure-contexts/";
1837
Brett Wilsonecb80982017-07-12 20:34:511838const char kTrySupportedChannelLayoutsName[] =
1839 "Causes audio output streams to check if channel layouts other than the "
1840 "default hardware layout are available.";
1841const char kTrySupportedChannelLayoutsDescription[] =
1842 "Causes audio output streams to check if channel layouts other than the "
1843 "default hardware layout are available. Turning this on will allow the OS "
1844 "to do stereo to surround expansion if supported. May expose third party "
1845 "driver bugs, use with caution.";
1846
David Roger6762a092018-01-31 15:55:071847const char kUnifiedConsentName[] = "Unified Consent";
1848const char kUnifiedConsentDescription[] =
1849 "Enables a unified management of user consent for privacy-related "
1850 "features. This includes new confirmation screens and improved settings "
1851 "pages.";
1852
Brett Wilsonecb80982017-07-12 20:34:511853const char kUiPartialSwapName[] = "Partial swap";
1854const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1855
Chris Pickel3a227ae62017-08-24 10:47:261856const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1857const char kUseDdljsonApiDescription[] =
1858 "Enables the new ddljson API to fetch Doodles for the NTP.";
1859
Becca Hughes59c05b42017-11-03 13:11:581860const char kUseModernMediaControlsName[] = "New Media Controls";
1861const char kUseModernMediaControlsDescription[] =
1862 "Enables the new style native media controls.";
1863
Wei Li790e7a8572018-03-23 01:31:551864const char kUsePdfCompositorServiceName[] =
1865 "Use PDF compositor service for printing";
1866const char kUsePdfCompositorServiceDescription[] =
1867 "When enabled, use PDF compositor service to composite and generate PDF "
1868 "files for printing. When site isolation is enabled, disabling this will "
1869 "not stop using PDF compositor service since the service is required for "
1870 "printing out-of-process iframes correctly.";
1871
Mustaq Ahmedc646c0a2017-10-20 20:08:301872const char kUserActivationV2Name[] = "User Activation v2";
1873const char kUserActivationV2Description[] =
1874 "Enable simple user activation for APIs that are otherwise controlled by "
1875 "user gesture tokens.";
1876
Brett Wilsonecb80982017-07-12 20:34:511877const char kUserConsentForExtensionScriptsName[] =
1878 "User consent for extension scripts";
1879const char kUserConsentForExtensionScriptsDescription[] =
1880 "Require user consent for an extension running a script on the page, if "
1881 "the extension requested permission to run on all urls.";
1882
1883const char kUseSuggestionsEvenIfFewFeatureName[] =
1884 "Disable minimum for server-side tile suggestions on NTP.";
1885const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1886 "Request server-side suggestions even if there are only very few of them "
1887 "and use them for tiles on the New Tab Page.";
1888
1889const char kV8CacheOptionsName[] = "V8 caching mode.";
1890const char kV8CacheOptionsDescription[] =
1891 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511892const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1893
Hitoshi Yoshida3e5db562017-09-11 02:31:081894const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1895const char kV8ContextSnapshotDescription[] =
1896 "Sets to use a snapshot to create V8 contexts in frame creation.";
1897
Michael Hablich896d52662017-10-23 15:59:571898const char kV8VmFutureName[] = "Future V8 VM features";
1899const char kV8VmFutureDescription[] =
1900 "This enables upcoming and experimental V8 VM features. "
1901 "This flag does not enable experimental JavaScript features.";
1902
Hannes Payer1130d5672018-06-05 07:37:311903const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1904const char kV8OrinocoDescription[] =
1905 "This enables the V8 Orinoco garbage collection features.";
1906
Brett Wilsonecb80982017-07-12 20:34:511907const char kVideoFullscreenOrientationLockName[] =
1908 "Lock screen orientation when playing a video fullscreen.";
1909const char kVideoFullscreenOrientationLockDescription[] =
1910 "Lock the screen orientation of the device to match video orientation when "
1911 "a video goes fullscreen. Only on phones.";
1912
1913const char kVideoRotateToFullscreenName[] =
1914 "Rotate-to-fullscreen gesture for videos.";
1915const char kVideoRotateToFullscreenDescription[] =
1916 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1917 "the video. Only on phones.";
1918
Elly Fong-Jonesf4c79502018-03-23 19:21:531919const char kViewsBrowserWindowsName[] =
1920 "Use Views browser windows instead of Cocoa.";
1921const char kViewsBrowserWindowsDescription[] =
1922 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1923
Brett Wilsonecb80982017-07-12 20:34:511924const char kWalletServiceUseSandboxName[] =
1925 "Use Google Payments sandbox servers";
1926const char kWalletServiceUseSandboxDescription[] =
1927 "For developers: use the sandbox service for Google Payments API calls.";
1928
Brett Wilsonecb80982017-07-12 20:34:511929const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1930const char kWebglDraftExtensionsDescription[] =
1931 "Enabling this option allows web applications to access the WebGL "
1932 "Extensions that are still in draft status.";
1933
1934const char kWebMidiName[] = "Web MIDI API";
1935const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1936
1937const char kWebPaymentsName[] = "Web Payments";
1938const char kWebPaymentsDescription[] =
1939 "Enable Web Payments API integration, a JavaScript API for merchants.";
1940
Mathieu Perreault51339b82017-07-20 17:06:051941const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1942const char kWebPaymentsModifiersDescription[] =
1943 "If the website provides modifiers in the payment request, show the custom "
1944 "total for each payment instrument, update the shopping cart when "
1945 "instruments are switched, and send modified payment method specific data "
1946 "to the payment app.";
1947
Brett Wilsonecb80982017-07-12 20:34:511948const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1949const char kWebrtcEchoCanceller3Description[] =
1950 "Experimental WebRTC echo canceller (AEC3).";
1951
1952const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1953const char kWebrtcHwDecodingDescription[] =
1954 "Support in WebRTC for decoding video streams using platform hardware.";
1955
1956const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1957const char kWebrtcHwEncodingDescription[] =
1958 "Support in WebRTC for encoding video streams using platform hardware.";
1959
1960const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1961const char kWebrtcHwH264EncodingDescription[] =
1962 "Support in WebRTC for encoding h264 video streams using platform "
1963 "hardware.";
1964
1965const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1966const char kWebrtcHwVP8EncodingDescription[] =
1967 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1968
Niels Möller090866a2018-02-13 10:55:031969const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1970 "WebRTC new encode cpu load estimator";
1971const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1972 "Enable new estimator for the encoder cpu load, for evaluation and "
1973 "testing. Intended to improve accuracy when screen casting.";
1974
Elad Alon85e0d0be2018-06-26 10:38:371975const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1976const char kWebRtcRemoteEventLogDescription[] =
1977 "Allow collecting WebRTC event logs and uploading them to Crash. "
1978 "Please note that, even if enabled, this will still require "
1979 "a policy to be set, for it to have an effect.";
1980
Brett Wilsonecb80982017-07-12 20:34:511981const char kWebrtcSrtpAesGcmName[] =
1982 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1983const char kWebrtcSrtpAesGcmDescription[] =
1984 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1985
Joachim Bauch4a41d7512017-08-23 14:24:231986const char kWebrtcSrtpEncryptedHeadersName[] =
1987 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1988const char kWebrtcSrtpEncryptedHeadersDescription[] =
1989 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1990 "for SRTP.";
1991
Brett Wilsonecb80982017-07-12 20:34:511992const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1993const char kWebrtcStunOriginDescription[] =
1994 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1995 "header.";
1996
Adam Riceed63fc02018-06-20 05:57:461997const char kWebSocketHandshakeReuseConnectionName[] =
1998 "Enable WebSocket connection reuse for authentication";
1999const char kWebSocketHandshakeReuseConnectionDescription[] =
2000 "Permits the WebSocket handshake to keep the connection open after an "
2001 "authentication failure. The connection may be used for further requests "
2002 "to send credentials. This is sometimes needed for Windows authentication.";
2003
Brett Wilsonecb80982017-07-12 20:34:512004const char kWebvrName[] = "WebVR";
2005const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012006 "Enables access to experimental Virtual Reality functionality via the "
2007 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2008 "Device API. Warning: Enabling this will also allow WebVR content on "
2009 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222010 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512011
Brandon Jonese9d9b2b2017-12-11 22:20:112012const char kWebXrName[] = "WebXR Device API";
2013const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012014 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2015 "and Augmented Reality (AR) devices.";
2016
2017const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2018const char kWebXrGamepadSupportDescription[] =
2019 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222020 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2021 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432022
2023const char kWebXrHitTestName[] = "WebXR Hit Test";
2024const char kWebXrHitTestDescription[] =
2025 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112026
Anna Maria57ecf7592018-01-12 03:10:402027const char kWebXrOrientationSensorDeviceName[] =
2028 "WebXR orientation sensor device";
2029const char kWebXrOrientationSensorDeviceDescription[] =
2030 "When no VR platform device is available, expose a non-presenting device "
2031 "based on the device's orientation sensors, if available.";
2032
Brett Wilsonecb80982017-07-12 20:34:512033const char kWifiCredentialSyncName[] = "WiFi credential sync";
2034const char kWifiCredentialSyncDescription[] =
2035 "Enables synchronizing WiFi network settings across devices. When enabled, "
2036 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2037 "credentials are synchronized subject to user preferences. (See also, "
2038 "chrome://settings/syncSetup.)";
2039
2040const char kZeroCopyName[] = "Zero-copy rasterizer";
2041const char kZeroCopyDescription[] =
2042 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342043
Brett Wilsonff596952017-07-14 01:06:552044// Android ---------------------------------------------------------------------
2045
2046#if defined(OS_ANDROID)
2047
2048const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2049const char kAiaFetchingDescription[] =
2050 "Enable intermediate certificate fetching when a server does not provide "
2051 "sufficient certificates to build a chain to a trusted root.";
2052
2053const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2054const char kAccessibilityTabSwitcherDescription[] =
2055 "Enable the accessibility tab switcher for Android.";
2056
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252057const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2058const char kAllowReaderForAccessibilityDescription[] =
2059 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2060
Brett Wilsonff596952017-07-14 01:06:552061const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2062const char kAndroidAutofillAccessibilityDescription[] =
2063 "Enable accessibility for autofill popup.";
2064
2065const char kAndroidPaymentAppsName[] = "Android payment apps";
2066const char kAndroidPaymentAppsDescription[] =
2067 "Enable third party Android apps to integrate as payment apps";
2068
Miriam Gershenson8cf1397222018-01-23 22:48:292069const char kAsyncDnsName[] = "Async DNS resolver";
2070const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2071
Brett Wilsonff596952017-07-14 01:06:552072const char kAutofillAccessoryViewName[] =
2073 "Autofill suggestions as keyboard accessory view";
2074const char kAutofillAccessoryViewDescription[] =
2075 "Shows Autofill suggestions on top of the keyboard rather than in a "
2076 "dropdown.";
2077
2078const char kBackgroundLoaderForDownloadsName[] =
2079 "Enables background downloading of pages.";
2080const char kBackgroundLoaderForDownloadsDescription[] =
2081 "Enables downloading pages in the background in case page is not yet "
2082 "loaded in current tab.";
2083
Tibor Goldschwendt11b3cf22018-07-04 15:32:442084const char kBackgroundTaskComponentUpdateName[] =
2085 "Background Task Component Updates";
2086const char kBackgroundTaskComponentUpdateDescription[] =
2087 "Schedule component updates with BackgroundTaskScheduler";
2088
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002089const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2090const char kCCTModuleDescription[] =
2091 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2092
Matthew Jones1abcb132018-07-09 17:59:462093const char kChromeDuetName[] = "Chrome Duet";
2094const char kChromeDuetDescription[] =
2095 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052096
Brett Wilsonff596952017-07-14 01:06:552097const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2098const char kChromeHomeSwipeLogicDescription[] =
2099 "Various swipe logic options for Chrome Home for sheet expansion.";
2100const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152101const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552102
Theresa8e44a7132018-06-15 17:40:592103const char kChromeModernAlternateCardLayoutName[] =
2104 "Chrome Modern Alternate Card Layout";
2105const char kChromeModernAlternateCardLayoutDescription[] =
2106 "Enable the alternate card layout for Chrome Modern Design.";
2107
Matthew Jones5b7f1d62018-01-23 00:37:252108const char kChromeModernDesignName[] = "Chrome Modern Design";
2109const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452110 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2111 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252112
Donn Denman3e78c8d2018-06-28 22:51:422113const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2114const char kChromeModernFullRollDescription[] =
2115 "Enable modern full-roll animation for Chrome.";
2116
Megan Jablonskic61eb1b82017-10-02 18:03:062117const char kChromeMemexName[] = "Chrome Memex";
2118const char kChromeMemexDescription[] =
2119 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2120 "Googlers.";
2121
Sarath Singapati83aef1c2017-11-16 15:54:522122const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2123const char kClearOldBrowsingDataDescription[] =
2124 "Enables clearing of browsing data which is older than a given time "
2125 "period.";
2126
Brett Wilsonff596952017-07-14 01:06:552127const char kContentSuggestionsCategoryOrderName[] =
2128 "Default content suggestions category order (e.g. on NTP)";
2129const char kContentSuggestionsCategoryOrderDescription[] =
2130 "Set default order of content suggestion categories (e.g. on the NTP).";
2131
2132const char kContentSuggestionsCategoryRankerName[] =
2133 "Content suggestions category ranker (e.g. on NTP)";
2134const char kContentSuggestionsCategoryRankerDescription[] =
2135 "Set category ranker to order categories of content suggestions (e.g. on "
2136 "the NTP).";
2137
Vitalii Iarkof52ff802017-09-14 12:34:242138const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2139const char kContentSuggestionsDebugLogDescription[] =
2140 "Enable content suggestions debug log accessible through "
2141 "snippets-internals.";
2142
Donn Denman8e58ead2017-11-04 01:44:012143const char kContextualSearchMlTapSuppressionName[] =
2144 "Contextual Search ML tap suppression";
2145const char kContextualSearchMlTapSuppressionDescription[] =
2146 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022147 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2148 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552149
2150const char kContextualSearchName[] = "Contextual Search";
2151const char kContextualSearchDescription[] =
2152 "Whether or not Contextual Search is enabled.";
2153
Donn Denman59729812018-01-09 01:27:022154const char kContextualSearchRankerQueryName[] =
2155 "Contextual Search Ranker prediction";
2156const char kContextualSearchRankerQueryDescription[] =
2157 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2158
2159const char kContextualSearchSecondTapName[] =
2160 "Contextual Search second tap triggering";
2161const char kContextualSearchSecondTapDescription[] =
2162 "Enables triggering on a second tap gesture even when Ranker would "
2163 "normally suppress that tap.";
2164
Cathy Li2fb32bf82018-06-06 18:55:402165const char kExploreSitesName[] = "Explore websites";
2166const char kExploreSitesDescription[] =
2167 "Enables portal from new tab page to explore websites.";
2168
Dmitry Skiba9c3efa72017-07-20 22:01:142169const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2170const char kDontPrefetchLibrariesDescription[] =
2171 "Don't prefetch libraries after loading.";
2172
Joy Ming5fd29ca62017-10-02 22:51:222173const char kDownloadsForegroundName[] = "Enable downloads foreground";
2174const char kDownloadsForegroundDescription[] =
2175 "Enable downloads as a foreground service for all versions of Android.";
2176
Joy Ming189b0cc2017-12-08 19:42:432177const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2178const char kDownloadsLocationChangeDescription[] =
2179 "Enable changing default downloads storage location on Android.";
2180
Shakti Sahu32b2ee102018-05-17 00:04:462181const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2182const char kDownloadProgressInfoBarDescription[] =
2183 "Enables an infobar notifying users about status of current downloads.";
2184
Brett Wilsonff596952017-07-14 01:06:552185const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2186const char kEnableAndroidPayIntegrationV1Description[] =
2187 "Enable integration with Android Pay using the first version of the API";
2188
2189const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2190const char kEnableAndroidPayIntegrationV2Description[] =
2191 "Enable integration with Android Pay using the second version of the API";
2192
Vitalii Iarkof4ed32d2017-09-26 13:15:532193const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552194const char kEnableAndroidSpellcheckerDescription[] =
2195 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552196
Lei Tianbd5a3bf2018-02-28 19:01:162197const char kEnableCommandLineOnNonRootedName[] =
2198 "Enable command line on non-rooted devices";
2199const char kEnableCommandLineOnNoRootedDescription[] =
2200 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2201
Vitalii Iarkof4ed32d2017-09-26 13:15:532202const char kEnableContentSuggestionsNewFaviconServerName[] =
2203 "Get favicons for content suggestions from a new server.";
2204const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2205 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2206 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552207
2208const char kEnableContentSuggestionsSettingsName[] =
2209 "Show content suggestions settings.";
2210const char kEnableContentSuggestionsSettingsDescription[] =
2211 "If enabled, the content suggestions settings will be available from the "
2212 "main settings menu.";
2213
Vitalii Iarkof4ed32d2017-09-26 13:15:532214const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2215 "Use content suggestions thumbnail dominant color.";
2216const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2217 "Use content suggestions thumbnail dominant color as a placeholder before "
2218 "the real thumbnail is fetched (requires Chrome Home).";
2219
Brett Wilsonff596952017-07-14 01:06:552220const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2221const char kEnableCustomContextMenuDescription[] =
2222 "Enables a new context menu when a link, image, or video is pressed within "
2223 "Chrome.";
2224
2225const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2226const char kEnableCustomFeedbackUiDescription[] =
2227 "Enables a custom feedback UI when submitting feedback through Google "
2228 "Feedback. Works with Google Play Services v10.2+";
2229
2230const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472231 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552232const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472233 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552234
Becca Hughes6d73bac542018-06-18 20:38:502235const char kEnableMediaControlsExpandGestureName[] =
2236 "Enable Media Controls Expand Gesture";
2237const char kEnableMediaControlsExpandGestureDescription[] =
2238 "Enables a gesture to be used on the media controls to extend the video "
2239 "into the Display Cutout area.";
2240
Brett Wilsonff596952017-07-14 01:06:552241const char kEnableOmniboxClipboardProviderName[] =
2242 "Omnibox clipboard URL suggestions";
2243const char kEnableOmniboxClipboardProviderDescription[] =
2244 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2245 "focus in the omnibox.";
2246
Becky Zhoua7f11d62018-02-01 16:02:532247const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2248 "Show article suggestions expandable header on New Tab Page";
2249const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2250 "If enabled, the article suggestions content on New Tab Page can be "
2251 "toggled shown or hidden by clicking the expandable header.";
2252
Brett Wilsonff596952017-07-14 01:06:552253const char kEnableNtpAssetDownloadSuggestionsName[] =
2254 "Show asset downloads on the New Tab page";
2255const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2256 "If enabled, the list of content suggestions on the New Tab page will "
2257 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2258 "later use.";
2259
2260const char kEnableNtpBookmarkSuggestionsName[] =
2261 "Show recently visited bookmarks on the New Tab page";
2262const char kEnableNtpBookmarkSuggestionsDescription[] =
2263 "If enabled, the list of content suggestions on the New Tab page will "
2264 "contain recently visited bookmarks.";
2265
2266const char kEnableNtpForeignSessionsSuggestionsName[] =
2267 "Show recent foreign tabs on the New Tab page";
2268const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2269 "If enabled, the list of content suggestions on the New Tab page will "
2270 "contain recent foreign tabs.";
2271
Brett Wilsonff596952017-07-14 01:06:552272const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2273 "Show offline page downloads on the New Tab page";
2274const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2275 "If enabled, the list of content suggestions on the New Tab page will "
2276 "contain pages that the user downloaded for later use.";
2277
2278const char kEnableNtpRemoteSuggestionsName[] =
2279 "Show server-side suggestions on the New Tab page";
2280const char kEnableNtpRemoteSuggestionsDescription[] =
2281 "If enabled, the list of content suggestions on the New Tab page will "
2282 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2283 "allows to override the source used to retrieve these server-side "
2284 "suggestions.";
2285
2286const char kEnableNtpSnippetsVisibilityName[] =
2287 "Make New Tab Page Snippets more visible.";
2288const char kEnableNtpSnippetsVisibilityDescription[] =
2289 "If enabled, the NTP snippets will become more discoverable with a larger "
2290 "portion of the first card above the fold.";
2291
2292const char kEnableNtpSuggestionsNotificationsName[] =
2293 "Notify about new content suggestions available at the New Tab page";
2294const char kEnableNtpSuggestionsNotificationsDescription[] =
2295 "If enabled, notifications will inform about new content suggestions on "
2296 "the New Tab page.";
2297
Brett Wilsonff596952017-07-14 01:06:552298const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2299const char kEnableOfflinePreviewsDescription[] =
2300 "Enable showing offline page previews on slow networks.";
2301
2302const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2303const char kEnableOskOverscrollDescription[] =
2304 "Enable OSK overscroll support. With this flag on, the OSK will only "
2305 "resize the visual viewport.";
2306
2307const char kEnableSpecialLocaleName[] =
2308 "Enable custom logic for special locales.";
2309const char kEnableSpecialLocaleDescription[] =
2310 "Enable custom logic for special locales. In this mode, Chrome might "
2311 "behave differently in some locales.";
2312
Brett Wilsonff596952017-07-14 01:06:552313const char kEnableWebNfcName[] = "WebNFC";
2314const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2315
gogeraldf3cbb422017-07-26 14:37:122316const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2317 "Enable Web Payments method section order V2.";
2318const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2319 "Enable this option to display payment method section above address "
2320 "section instead of below it.";
2321
Raymes Khoury582b43132017-12-12 23:54:302322const char kGrantNotificationsToDSEName[] =
2323 "Grant notifications to the Default Search Engine";
2324const char kGrantNotificationsToDSENameDescription[] =
2325 "Automatically grant the notifications permission to the Default Search "
2326 "Engine";
2327
Daniel Parke74fcf862018-03-27 18:05:452328const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512329const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452330
Theresa920e0ed2018-03-07 18:12:442331const char kInterestFeedContentSuggestionsDescription[] =
2332 "Use the interest feed to render content suggestions. Currently content "
2333 "suggestions are shown on the New Tab Page.";
2334const char kInterestFeedContentSuggestionsName[] =
2335 "Interest Feed Content Suggestions";
2336
Brett Wilsonff596952017-07-14 01:06:552337const char kKeepPrefetchedContentSuggestionsName[] =
2338 "Keep prefetched content suggestions";
2339const char kKeepPrefetchedContentSuggestionsDescription[] =
2340 "If enabled, some of prefetched content suggestions are not replaced by "
2341 "the new fetched suggestions.";
2342
Leo Zhang051b75482017-12-20 03:28:302343const char kLanguagesPreferenceName[] = "Language Settings";
2344const char kLanguagesPreferenceDescription[] =
2345 "Enable this option for Language Settings feature on Android.";
2346
Brett Wilsonff596952017-07-14 01:06:552347const char kLsdPermissionPromptName[] =
2348 "Location Settings Dialog Permission Prompt";
2349const char kLsdPermissionPromptDescription[] =
2350 "Whether to use the Google Play Services Location Settings Dialog "
2351 "permission dialog.";
2352
Amirhossein Simjour97b4154f2018-02-20 03:49:592353const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2354const char kModalPermissionDialogViewDescription[] =
2355 "Enable this option to use ModalDialogManager for permission Dialogs.";
2356
Brett Wilsonff596952017-07-14 01:06:552357const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2358const char kMediaScreenCaptureDescription[] =
2359 "Enable this option for experimental ScreenCapture feature on Android.";
2360
2361const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2362const char kModalPermissionPromptsDescription[] =
2363 "Whether to use permission dialogs in place of permission infobars.";
2364
Finnur Thorarinssonc1488fc62018-07-09 19:21:572365const char kNewContactsPickerName[] = "Enable new contacts picker";
2366const char kNewContactsPickerDescription[] =
2367 "Activates the new picker for selecting contacts.";
2368
Brett Wilsonff596952017-07-14 01:06:552369const char kNewPhotoPickerName[] = "Enable new Photopicker";
2370const char kNewPhotoPickerDescription[] =
2371 "Activates the new picker for selecting photos.";
2372
2373const char kNoCreditCardAbort[] = "No Credit Card Abort";
2374const char kNoCreditCardAbortDescription[] =
2375 "Whether or not the No Credit Card Abort is enabled.";
2376
Daniel Park990d0992018-05-18 22:12:512377const char kNtpButtonName[] = "Enable NTP Button";
2378const char kNtpButtonDescription[] =
2379 "Displays a New Tab Page button in the toolbar if enabled.";
2380
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062381const char kNtpModernLayoutName[] = "Modern NTP layout";
2382const char kNtpModernLayoutDescription[] =
2383 "Show a modern layout on the New Tab Page.";
2384
Brett Wilsonff596952017-07-14 01:06:552385const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2386const char kNtpGoogleGInOmniboxDescription[] =
2387 "Show a Google G in the omnibox on the New Tab Page.";
2388
Brett Wilsonff596952017-07-14 01:06:552389const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2390const char kOfflineBookmarksDescription[] =
2391 "Enable saving bookmarked pages for offline viewing.";
2392
Jian Li1413ebf2018-06-14 20:46:322393const char kOfflineIndicatorName[] = "Enable offline indicator";
2394const char kOfflineIndicatorDescription[] =
2395 "Enable showing offline indicator while offline.";
2396
Brett Wilsonff596952017-07-14 01:06:552397const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2398const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2399
2400const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2401const char kOfflinePagesCtV2Description[] =
2402 "V2 features include attributing pages to the app that initiated the "
2403 "custom tabs, and being able to query for pages by page attribution.";
2404
Cathy Li7311d792018-04-05 00:34:162405const char kOfflinePagesCTSuppressNotificationsName[] =
2406 "Disable download complete notification for whitelisted CCT apps.";
2407const char kOfflinePagesCTSuppressNotificationsDescription[] =
2408 "Disable download complete notification for page downloads originating "
2409 "from a CCT app whitelisted to show their own download complete "
2410 "notification.";
2411
Candice Sy74fa7a352018-03-30 23:46:492412const char kOfflinePagesDescriptiveFailStatusName[] =
2413 "Enables descriptive failed download status text.";
2414const char kOfflinePagesDescriptiveFailStatusDescription[] =
2415 "Enables failed download status text in notifications and Downloads Home "
2416 "to state the reason the request failed if the failure is actionable.";
2417
2418const char kOfflinePagesDescriptivePendingStatusName[] =
2419 "Enables descriptive pending download status text.";
2420const char kOfflinePagesDescriptivePendingStatusDescription[] =
2421 "Enables pending download status text in notifications and Downloads Home "
2422 "to state the reason the request is pending.";
2423
2424const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2425 "Enables offline pages in the downloads home to be opened in CCT.";
2426const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2427 "When enabled offline pages launched from the Downloads Home will be "
2428 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2429
Carlos Knippschild09272ecd2017-12-09 03:29:362430const char kOfflinePagesLimitlessPrefetchingName[] =
2431 "Removes resource usage limits for the prefetching of offline pages.";
2432const char kOfflinePagesLimitlessPrefetchingDescription[] =
2433 "Allows the prefetching of suggested offline pages to ignore resource "
2434 "usage limits. This allows it to completely ignore data usage limitations "
2435 "and allows downloads to happen with any kind of connection.";
2436
Brett Wilsonff596952017-07-14 01:06:552437const char kOfflinePagesLoadSignalCollectingName[] =
2438 "Enables collecting load timing data for offline page snapshots.";
2439const char kOfflinePagesLoadSignalCollectingDescription[] =
2440 "Enables loading completeness data collection while writing an offline "
2441 "page. This data is collected in the snapshotted offline page to allow "
2442 "data analysis to improve deciding when to make the offline snapshot.";
2443
2444const char kOfflinePagesPrefetchingName[] =
2445 "Enables suggested offline pages to be prefetched.";
2446const char kOfflinePagesPrefetchingDescription[] =
2447 "Enables suggested offline pages to be prefetched, so useful content is "
2448 "available while offline.";
2449
Cathy Li3d5379e2017-09-07 00:11:092450const char kOfflinePagesPrefetchingUIName[] =
2451 "Enables prefetched offline pages to be shown in UI.";
2452const char kOfflinePagesPrefetchingUIDescription[] =
2453 "Enables prefetched offline pages to raise notifications and be shown in "
2454 "download home UI.";
2455
Pete Williamson7845dff2017-09-20 11:06:192456const char kOfflinePagesResourceBasedSnapshotName[] =
2457 "Enables offline page snapshots to be based on percentage of page loaded.";
2458const char kOfflinePagesResourceBasedSnapshotDescription[] =
2459 "Enables offline page snapshots to use a resource percentage based "
2460 "approach for determining when the page is loaded as opposed to a time "
2461 "based approach";
2462
Collin Baker17f92a52017-07-19 21:41:252463const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2464const char kOfflinePagesRenovationsDescription[] =
2465 "Enables offline page renovations which correct issues with dynamic "
2466 "content that occur when offlining pages that use JavaScript.";
2467
Brett Wilsonff596952017-07-14 01:06:552468const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2469const char kOfflinePagesSharingDescription[] =
2470 "Enables the saved offline pages to be shared via other applications.";
2471
Cathy Lie0d88762018-04-12 08:03:012472const char kOfflinePagesShowAlternateDinoPageName[] =
2473 "Enable alternate dino page with more user capabilities.";
2474const char kOfflinePagesShowAlternateDinoPageDescription[] =
2475 "Enables the dino page to show more buttons and offer existing offline "
2476 "content.";
2477
Brett Wilsonff596952017-07-14 01:06:552478const char kOfflinePagesSvelteConcurrentLoadingName[] =
2479 "Enables concurrent background loading on svelte.";
2480const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2481 "Enables concurrent background loading (or downloading) of pages on "
2482 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2483 "happen when the svelte device is idle.";
2484
2485const char kOffliningRecentPagesName[] =
2486 "Enable offlining of recently visited pages";
2487const char kOffliningRecentPagesDescription[] =
2488 "Enable storing recently visited pages locally for offline use. Requires "
2489 "Offline Pages to be enabled.";
2490
Lei Zhang2eca9082017-10-17 20:42:502491const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2492const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552493 "Enable Pay with Google integration into Web Payments with API version "
2494 "'1'.";
2495
Matthew Jonesa88b95852017-11-08 23:13:502496const char kProgressBarThrottleName[] = "Android progress update throttling.";
2497const char kProgressBarThrottleDescription[] =
2498 "Limit the maximum progress update to make progress appear smoother.";
2499
Brett Wilsonff596952017-07-14 01:06:552500const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2501const char kPullToRefreshEffectDescription[] =
2502 "Page reloads triggered by vertically overscrolling content.";
2503
Piotr Swigon7c296ef2017-08-29 04:32:002504const char kPwaImprovedSplashScreenName[] =
2505 "Improved Splash Screen for standalone PWAs";
2506const char kPwaImprovedSplashScreenDescription[] =
2507 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2508 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492509const char kPwaPersistentNotificationName[] =
2510 "Persistent notification in standalone PWA";
2511const char kPwaPersistentNotificationDescription[] =
2512 "Enables a persistent Android notification for standalone PWAs";
2513
Brett Wilsonff596952017-07-14 01:06:552514const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2515const char kReaderModeHeuristicsDescription[] =
2516 "Determines what pages the Reader Mode infobar is shown on.";
2517const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2518const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2519const char kReaderModeHeuristicsAllArticles[] = "All articles";
2520const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2521const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2522
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182523const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2524const char kReaderModeInCCTDescription[] =
2525 "Open Reader Mode in Chrome Custom Tabs.";
2526
Brett Wilsonff596952017-07-14 01:06:552527const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2528const char kSetMarketUrlForTestingDescription[] =
2529 "When enabled, sets the market URL for use in testing the update menu "
2530 "item.";
2531
2532const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2533const char kSpannableInlineAutocompleteDescription[] =
2534 "A new type of inline autocomplete for the omnibox that works with "
2535 "keyboards that compose text.";
2536
Theresaeea05a12018-05-09 21:01:592537const char kSimplifiedNtpName[] = "Simplified NTP";
2538const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2539
2540const char kSiteExplorationUiName[] = "Site Exploration UI";
2541const char kSiteExplorationUiDescription[] =
2542 "Show site suggestions in the Exploration UI";
2543
Brett Wilsonff596952017-07-14 01:06:552544const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2545const char kUpdateMenuBadgeDescription[] =
2546 "When enabled, an update badge will be shown on the app menu button.";
2547
2548const char kUpdateMenuItemCustomSummaryDescription[] =
2549 "When this flag and the force show update menu item flag are enabled, a "
2550 "custom summary string will be displayed below the update menu item.";
2551const char kUpdateMenuItemCustomSummaryName[] =
2552 "Update menu item custom summary";
2553
2554const char kUpdateMenuItemName[] = "Force show update menu item";
2555const char kUpdateMenuItemDescription[] =
2556 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2557 R"*(menu.)*";
2558
Amirhossein Simjourd78bbcf2018-02-02 16:23:392559const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2560const char kVrBrowsingNativeAndroidUiDescription[] =
2561 "Enable Android UI elements in VR.";
2562
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462563const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2564const char kVrBrowsingTabsViewDescription[] =
2565 "Enable tab overview (tab switcher) in VR.";
2566
Marc Treib93af46a2017-08-23 13:30:002567const char kThirdPartyDoodlesName[] =
2568 "Enable Doodles for third-party search engines";
2569const char kThirdPartyDoodlesDescription[] =
2570 "Enables fetching and displaying Doodles on the NTP for third-party search "
2571 "engines.";
2572
Klaus Weidneraaf697f2018-01-18 20:07:362573const char kWebXrRenderPathName[] = "WebXR presentation render path";
2574const char kWebXrRenderPathDescription[] =
2575 "Render path to use for WebXR presentation (including WebVR)";
2576const char kWebXrRenderPathChoiceClientWaitDescription[] =
2577 "ClientWait (Baseline)";
2578const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2579 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072580const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2581 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362582
Brett Wilson7b44537e2017-08-18 01:38:282583// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552584
Brett Wilson7b44537e2017-08-18 01:38:282585#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482586
Brett Wilson7b44537e2017-08-18 01:38:282587const char kAccountConsistencyName[] =
2588 "Identity consistency between browser and cookie jar";
2589const char kAccountConsistencyDescription[] =
2590 "When enabled, the browser manages signing in and out of Google accounts.";
2591const char kAccountConsistencyChoiceMirror[] = "Mirror";
2592const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342593
Chris Pickel3a227ae62017-08-24 10:47:262594const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2595const char kDoodlesOnLocalNtpDescription[] =
2596 "Show doodles on the local New Tab page if Google is the default search "
2597 "engine.";
2598
mlamouriff56c092017-05-11 15:31:392599const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392600const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342601 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392602const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392603const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392604const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342605 "Enabled (Flash lowers volume when interrupted by other sound, "
2606 "experimental)";
2607
Sebastien Marchandd33f7dc2018-06-22 22:07:062608const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2609const char kInfiniteSessionRestoreDescription[] =
2610 "Reduces the number of tabs being loaded simultaneously during session "
2611 "restore, to improve responsiveness of the foreground tab. This requires "
2612 "#enable-page-almost-idle.";
2613
Brett Wilson7b44537e2017-08-18 01:38:282614const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2615const char kEnableNewAppMenuIconDescription[] =
2616 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342617
Sebastien Marchandd33f7dc2018-06-22 22:07:062618const char kEnableWebAuthenticationCtap2SupportName[] =
2619 "Enable Web Authentication API support for CTAP2 security keys";
2620const char kEnableWebAuthenticationCtap2SupportDescription[] =
2621 "Enable CTAP2 security keys for the Web Authenication API.";
2622
2623const char kEnableWebAuthenticationTestingAPIName[] =
2624 "Web Authentication Testing API";
2625const char kEnableWebAuthenticationTestingAPIDescription[] =
2626 "Enable Web Authentication Testing API support, which disconnects the API "
2627 "implementation from the real world, and allows configuring virtual "
2628 "authenticator devices for testing";
2629
Dave Schuyler598a4a42018-01-04 02:15:102630const char kOmniboxRichEntitySuggestionsName[] =
2631 "Omnibox rich entity suggestions";
2632const char kOmniboxRichEntitySuggestionsDescription[] =
2633 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212634 "more context and descriptive text about the entity. Has no effect unless "
2635 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2636 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102637
Dave Schuyler616273d2018-04-19 03:12:522638const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2639const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212640 "Display answers using an enhanced layout with larger images. Has no "
2641 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2642 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522643
Orin Jaworski04c08b42018-07-11 02:39:562644const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2645const char kOmniboxReverseAnswersDescription[] =
2646 "Display answers with rows reversed (swapped); except definitions. Has no "
2647 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2648 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2649
Kevin Bailey898669972017-11-06 15:34:492650const char kOmniboxTabSwitchSuggestionsName[] =
2651 "Omnibox tab switch suggestions";
2652const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212653 "Enable suggestions for switching to open tabs within the Omnibox. "
2654 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2655 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492656
krbcc621412017-06-01 19:40:282657const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2658const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192659 "Enable receiving tail suggestions, a type of search suggestion based on "
2660 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kOneGoogleBarOnLocalNtpName[] =
2663 "Enable the OneGoogleBar on the local NTP";
2664const char kOneGoogleBarOnLocalNtpDescription[] =
2665 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2666 "search engine.";
2667
Sebastien Marchandd33f7dc2018-06-22 22:07:062668const char kPageAlmostIdleName[] = "Page Almost Idle";
2669const char kPageAlmostIdleDescription[] =
2670 "Make session restore use a definition of loading that waits for CPU and "
2671 "network quiescence.";
2672
2673const char kProactiveTabFreezeAndDiscardName[] =
2674 "Proactive Tab Freeze and Discard";
2675const char kProactiveTabFreezeAndDiscardDescription[] =
2676 "Enables proactive tab freezing and discarding. This requires "
2677 "#enable-page-almost-idle.";
2678
2679const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2680const char kSiteCharacteristicsDatabaseDescription[] =
2681 "Records usage of some features in a database while a tab is in background "
2682 "(title/favicon update, audio playback or usage of non-persistent "
2683 "notifications).";
2684
Brett Wilson7b44537e2017-08-18 01:38:282685const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2686const char kUseGoogleLocalNtpDescription[] =
2687 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322688
Brett Wilson7b44537e2017-08-18 01:38:282689const char kVoiceSearchOnLocalNtpName[] =
2690 "Enable Voice Search on the local NTP";
2691const char kVoiceSearchOnLocalNtpDescription[] =
2692 "Show a microphone for voice search on the local New Tab page "
2693 "if Google is the default search engine.";
2694
2695#if defined(GOOGLE_CHROME_BUILD)
2696
2697const char kGoogleBrandedContextMenuName[] =
2698 "Google branding in the context menu";
2699const char kGoogleBrandedContextMenuDescription[] =
2700 "Shows a Google icon next to context menu items powered by Google "
2701 "services.";
2702
2703#endif // !defined(GOOGLE_CHROME_BUILD)
2704
2705#endif // !defined(OS_ANDROID)
2706
2707// Windows ---------------------------------------------------------------------
2708
2709#if defined(OS_WIN)
2710
2711const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2712const char kCloudPrintXpsDescription[] =
2713 "XPS enables advanced options for classic printers connected to the Cloud "
2714 "Print with Chrome. Printers must be re-connected after changing this "
2715 "flag.";
2716
2717const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2718const char kDisablePostscriptPrintingDescription[] =
2719 "Disables PostScript generation when printing to PostScript capable "
2720 "printers, and uses EMF generation in its place.";
2721
2722const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2723const char kEnableAppcontainerDescription[] =
2724 "Enables the use of an AppContainer on sandboxed processes to improve "
2725 "security.";
2726
Brett Wilson7b44537e2017-08-18 01:38:282727const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2728const char kEnableDesktopIosPromotionsDescription[] =
2729 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2730 "eligible.";
2731
James Forshawfd0ce342018-02-14 09:55:392732const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2733const char kEnableGpuAppcontainerDescription[] =
2734 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2735 "improve security.";
2736
Brett Wilson7b44537e2017-08-18 01:38:282737const char kGdiTextPrinting[] = "GDI Text Printing";
2738const char kGdiTextPrintingDescription[] =
2739 "Use GDI to print text as simply text";
2740
Henrik Grunell67e56ef2018-04-10 14:04:092741const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2742const char kIncreaseInputAudioBufferSizeDescription[] =
2743 "Increases the input audio endpoint buffer to 100 ms.";
2744
Brett Wilson7b44537e2017-08-18 01:38:282745const char kTraceExportEventsToEtwName[] =
2746 "Enable exporting of tracing events to ETW.";
2747const char kTraceExportEventsToEtwDesription[] =
2748 "If enabled, trace events will be exported to the Event Tracing for "
2749 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2750 "Xperf.";
2751
2752const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2753const char kUseWinrtMidiApiDescription[] =
2754 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2755 "later).";
2756
2757const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2758const char kWindows10CustomTitlebarDescription[] =
2759 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2760 "deferring to Windows.";
2761
2762#endif // defined(OS_WIN)
2763
2764// Mac -------------------------------------------------------------------------
2765
2766#if defined(OS_MACOSX)
2767
Brett Wilson7b44537e2017-08-18 01:38:282768const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2769const char kAppWindowCyclingDescription[] =
2770 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2771 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2772 "browser window, and browser windows will not be cycled when a Chrome App "
2773 "is active.";
2774
Brett Wilson7b44537e2017-08-18 01:38:282775const char kFullscreenToolbarRevealName[] =
2776 "Enables the toolbar in fullscreen to reveal itself.";
2777const char kFullscreenToolbarRevealDescription[] =
2778 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2779 "has changed.";
2780
2781const char kContentFullscreenName[] = "Improved Content Fullscreen";
2782const char kContentFullscreenDescription[] =
2783 "Fullscreen content window detaches from main browser window and goes to "
2784 "a new space without moving or changing the original browser window.";
2785
Lei Zhang2eca9082017-10-17 20:42:502786const char kDialogTouchBarName[] = "Dialog Touch Bar";
2787const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282788 "Shows Dialog buttons on the Touch Bar.";
2789
Martin Kreichgauer1ca416d2018-07-11 00:43:192790const char kEnableWebAuthenticationTouchIdName[] =
2791 "Web Authentication API Touch ID support";
2792const char kEnableWebAuthenticationTouchIdDescription[] =
2793 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2794
Brett Wilson7b44537e2017-08-18 01:38:282795const char kHostedAppsInWindowsName[] =
2796 "Allow hosted apps to be opened in windows";
2797const char kHostedAppsInWindowsDescription[] =
2798 "Allows hosted apps to be opened in windows instead of being limited to "
2799 "tabs.";
2800
Lei Zhang2eca9082017-10-17 20:42:502801const char kMacRTLName[] = "Enable RTL";
2802const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282803
Lei Zhang2eca9082017-10-17 20:42:502804const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2805const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522806 "Enables sharing via macOS share extensions.";
2807
Lei Zhang2eca9082017-10-17 20:42:502808const char kMacTouchBarName[] = "Hardware Touch Bar";
2809const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282810
2811const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2812const char kMacV2SandboxDescription[] =
2813 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2814 "entire life cycle.";
2815
2816const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2817const char kMacViewsNativeAppWindowsDescription[] =
2818 "Controls whether to use Toolkit-Views based Chrome App windows.";
2819
2820const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2821const char kMacViewsTaskManagerDescription[] =
2822 "Controls whether to use the Toolkit-Views based Task Manager.";
2823
Tessa Nijssenc4b101232018-06-25 20:28:082824const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2825const char kSuggestedTextTouchBarDescription[] =
2826 "Enable suggested text touch bar for textfields.";
2827
Brett Wilson7b44537e2017-08-18 01:38:282828const char kTabDetachingInFullscreenName[] =
2829 "Allow tab detaching in fullscreen";
2830const char kTabDetachingInFullscreenDescription[] =
2831 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2832
2833const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2834const char kTabStripKeyboardFocusDescription[] =
2835 "Enable keyboard focus for the tabs in the tab strip.";
2836
Brett Wilson7b44537e2017-08-18 01:38:282837#endif
2838
2839// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342840
2841#if defined(OS_CHROMEOS)
2842
Brett Wilson7b44537e2017-08-18 01:38:282843const char kAcceleratedMjpegDecodeName[] =
2844 "Hardware-accelerated mjpeg decode for captured frame";
2845const char kAcceleratedMjpegDecodeDescription[] =
2846 "Enable hardware-accelerated mjpeg decode for captured frame where "
2847 "available.";
vabr0215a8e2017-03-28 12:47:342848
Brett Wilson7b44537e2017-08-18 01:38:282849const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2850const char kAllowTouchpadThreeFingerClickDescription[] =
2851 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342852
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522853const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2854const char kArcAvailableForChildDescription[] =
2855 "Allow child accounts to start Android apps.";
2856
Brett Wilson7b44537e2017-08-18 01:38:282857const char kArcBootCompleted[] = "Load Android apps automatically";
2858const char kArcBootCompletedDescription[] =
2859 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342860
Luum Habtemariamdaa8fd22018-06-25 22:39:432861const char kArcCupsApiName[] = "ARC CUPS API";
2862const char kArcCupsApiDescription[] =
2863 "Enables support of libcups APIs from ARC";
2864
Lev Rumyantsev7a8544312017-08-18 19:26:512865const char kArcNativeBridgeExperimentName[] =
2866 "Enable native bridge experiment for ARC";
2867const char kArcNativeBridgeExperimentDescription[] =
2868 "Enables experimental native bridge feature.";
2869
lgchengecd1c1a62018-01-09 02:59:462870const char kArcUsbHostName[] = "Enable ARC USB host integration";
2871const char kArcUsbHostDescription[] =
2872 "Allow Android apps to use USB host feature on ChromeOS devices.";
2873
Kevin Cernekeeb7f96a52017-10-25 17:40:182874const char kArcVpnName[] = "Enable ARC VPN integration";
2875const char kArcVpnDescription[] =
2876 "Allow Android VPN clients to tunnel Chrome traffic.";
2877
Qiang Xu045aff222018-05-21 23:21:012878const char kAshDisableLoginDimAndBlurName[] =
2879 "Disable dimming and blur on login screen.";
2880const char kAshDisableLoginDimAndBlurDescription[] =
2881 "Disable dimming and blur on login screen.";
2882
2883const char kAshDisableSmoothScreenRotationName[] =
2884 "Disable smooth rotation animations.";
2885const char kAshDisableSmoothScreenRotationDescription[] =
2886 "Disable smooth rotation animations.";
2887
2888const char kAshEnableDisplayMoveWindowAccelsName[] =
2889 "Enable shortcuts for moving window between displays.";
2890const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2891 "Enable shortcuts for moving window between displays.";
2892
2893const char kAshEnableKeyboardShortcutViewerName[] =
2894 "Enable keyboard shortcut viewer.";
2895const char kAshEnableKeyboardShortcutViewerDescription[] =
2896 "Enable keyboard shortcut viewer.";
2897
2898const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2899const char kAshEnableMirroredScreenDescription[] =
2900 "Enable the mirrored screen mode. This mode flips the screen image "
2901 "horizontally.";
2902
2903const char kAshEnableNewOverviewAnimationsName[] =
2904 "Enable new overview animations.";
2905const char kAshEnableNewOverviewAnimationsDescription[] =
2906 "Enables the new overview mode animations.";
2907
2908const char kAshEnablePersistentWindowBoundsName[] =
2909 "Enable persistent window bounds in multi-displays scenario.";
2910const char kAshEnablePersistentWindowBoundsDescription[] =
2911 "Enable persistent window bounds in multi-displays scenario.";
2912
2913const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2914const char kAshEnableTrilinearFilteringDescription[] =
2915 "Enable trilinear filtering.";
2916
Brett Wilson7b44537e2017-08-18 01:38:282917const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2918const char kAshEnableUnifiedDesktopDescription[] =
2919 "Enable unified desktop mode which allows a window to span multiple "
2920 "displays.";
vabr0215a8e2017-03-28 12:47:342921
Mike Wassermanfcc47e42018-06-14 21:24:422922const char kAshKeyboardShortcutViewerAppName[] =
2923 "Keyboard Shortcut Viewer mojo app";
2924const char kAshKeyboardShortcutViewerAppDescription[] =
2925 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2926
Qiang Xu045aff222018-05-21 23:21:012927const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2928const char kAshShelfColorDescription[] =
2929 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2930 "--ash-shelf-color-scheme flag defines how that color is derived.";
2931
2932const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2933const char kAshShelfColorSchemeDescription[] =
2934 "Specify how the color is derived from the wallpaper. This flag is only "
2935 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2936const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2937const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2938const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2939const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2940const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2941const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2942
Sean Kau5e956192017-10-06 22:25:172943const char kBulkPrintersName[] = "Bulk Printers Policy";
2944const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2945
Brett Wilson7b44537e2017-08-18 01:38:282946const char kCaptivePortalBypassProxyName[] =
2947 "Bypass proxy for Captive Portal Authorization";
2948const char kCaptivePortalBypassProxyDescription[] =
2949 "If proxy is configured, it usually prevents from authorization on "
2950 "different captive portals. This enables opening captive portal "
2951 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342952
Yuki Awanob51d3252018-07-11 23:45:552953const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
2954const char kChromeVoxArcSupportDescription[] =
2955 "Use ChromeVox screen reader features in ARC";
2956
Brett Wilson7b44537e2017-08-18 01:38:282957const char kCrOSComponentName[] = "Chrome OS Component";
2958const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082959 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342960
Xiaochu Liu51d03fd2017-09-08 23:51:022961const char kCrOSContainerName[] = "Chrome OS Container";
2962const char kCrOSContainerDescription[] =
2963 "Enable the use of Chrome OS Container utility.";
2964
Brett Wilson7b44537e2017-08-18 01:38:282965const char kCrosRegionsModeName[] = "Cros-regions load mode";
2966const char kCrosRegionsModeDescription[] =
2967 "This flag controls cros-regions load mode";
2968const char kCrosRegionsModeDefault[] = "Default";
2969const char kCrosRegionsModeOverride[] = "Override VPD values.";
2970const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342971
Jacob Dufault2becbc482017-08-25 00:36:352972const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2973const char kDisableLockScreenAppsDescription[] =
2974 "Disable new-note action handler apps on the lock screen. The user will "
2975 "not be able to launch the preferred note-taking action from the lock "
2976 "screen, provided that the app supports lock screen note taking.";
2977
Qiang Xu045aff222018-05-21 23:21:012978const char kDisableSystemTimezoneAutomaticDetectionName[] =
2979 "SystemTimezoneAutomaticDetection policy support";
2980const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2981 "Disable system timezone automatic detection device policy.";
2982
Sammie Quonef6b4882017-09-14 16:50:052983const char kDisableTabletAutohideTitlebarsName[] =
2984 "Disable autohide titlebars in tablet mode";
2985const char kDisableTabletAutohideTitlebarsDescription[] =
2986 "Disable tablet mode autohide titlebars functionality. The user will be "
2987 "able to see the titlebar in tablet mode.";
2988
Xiaoqian Dai24b33eb2018-04-10 21:01:572989const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2990const char kDisableTabletSplitViewDescription[] =
2991 "Disable split view for Chrome OS tablet mode.";
2992
Qiang Xu53d1a5832018-05-24 18:44:192993const char kEnableAppShortcutSearchName[] =
2994 "Enable app shortcut search in launcher";
2995const char kEnableAppShortcutSearchDescription[] =
2996 "Enables app shortcut search in launcher";
2997
Weidong Guo00d0b2b2018-06-07 00:39:302998const char kEnableAppsGridGapFeatureName[] =
2999 "Enable apps grid gap feature in launcher.";
3000const char kEnableAppsGridGapFeatureDescription[] =
3001 "Enables gaps at the end of each page and enables dragging an item to an "
3002 "empty page in launcher.";
3003
Lei Zhang2eca9082017-10-17 20:42:503004const char kEnableBackgroundBlurName[] = "Enable background blur.";
3005const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423006 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393007
F#m75862c92018-01-25 19:10:473008const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3009const char kEnableDisplayZoomSettingDescription[] =
3010 "Allows the user to modify the display size or zoom via the chrome display "
3011 "settings page.";
3012
Min Chenc2ec7282018-06-29 21:38:463013const char kEnableDragAppsInTabletModeName[] =
3014 "Enable dragging apps in tablet mode";
3015const char kEnableDragAppsInTabletModeDescription[] =
3016 "If enabled, swiping down from the top of the screen when an app is opened "
3017 "in tablet mode can drag the app.";
3018
Xiaoqian Dai82d99192018-05-25 18:51:353019const char kEnableDragTabsInTabletModeName[] =
3020 "Enable dragging tabs in tablet mode";
3021const char kEnableDragTabsInTabletModeDescription[] =
3022 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3023
Sam McNally201fbf94e2018-07-04 03:15:203024const char kEnableDriveFsName[] = "Enable DriveFS";
3025const char kEnableDriveFsDescription[] =
3026 "Enables use of the new DriveFS-based Drive sync client.";
3027
Brett Wilson7b44537e2017-08-18 01:38:283028const char kEnableEhvInputName[] =
3029 "Emoji, handwriting and voice input on opt-in IME menu";
3030const char kEnableEhvInputDescription[] =
3031 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343032
Brett Wilson7b44537e2017-08-18 01:38:283033const char kEnableEncryptionMigrationName[] =
3034 "Enable encryption migration of user data";
3035const char kEnableEncryptionMigrationDescription[] =
3036 "If enabled and the device supports ARC, the user will be asked to update "
3037 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343038
Blake O'Hare9e9317b22017-10-24 02:49:353039const char kEnableFloatingVirtualKeyboardName[] =
3040 "Enable floating virtual keyboard";
3041const char kEnableFloatingVirtualKeyboardDescription[] =
3042 "If enabled, the keyboard will use floating behavior by default.";
3043
Qiang Xu045aff222018-05-21 23:21:013044const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3045 "Enable full screen handwriting virtual keyboard";
3046const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3047 "If enabled, the handwriting virtual keyboard will allow user to write "
3048 "anywhere on the screen";
3049
3050const char kEnableHomeLauncherName[] = "Enable home launcher";
3051const char kEnableHomeLauncherDescription[] =
3052 "Enable home launcher in tablet mode.";
3053
Brett Wilson7b44537e2017-08-18 01:38:283054const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3055const char kEnableImeMenuDescription[] =
3056 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343057
Weidong Guo45836d1b2018-06-27 23:51:163058const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3059const char kEnableNewStyleLauncherDescription[] =
3060 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3061 "in app launcher.";
3062
Qiang Xu045aff222018-05-21 23:21:013063const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3064const char kEnableNewWallpaperPickerDescription[] =
3065 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3066
3067const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3068const char kEnablePerUserTimezoneDescription[] =
3069 "Chrome OS system timezone preference is stored and handled for each user "
3070 "individually.";
3071
3072const char kEnableSettingsShortcutSearchName[] =
3073 "Enable Settings shortcut search";
3074const char kEnableSettingsShortcutSearchDescription[] =
3075 "Enable Settings shortcut search in launcher.";
3076
Darren Shen3e49c63d2018-03-28 04:45:503077const char kEnableStylusVirtualKeyboardName[] =
3078 "Enable stylus virtual keyboard";
3079const char kEnableStylusVirtualKeyboardDescription[] =
3080 "If enabled, tapping with a stylus will show the handwriting virtual "
3081 "keyboard.";
3082
Jordy Greenblatt2f23df22018-02-22 19:49:193083const char kEnableUnifiedMultiDeviceSettingsName[] =
3084 "Enable unified MultiDevice settings";
3085const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3086 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3087 "MultiDevice settings.";
3088
3089const char kEnableUnifiedMultiDeviceSetupName[] =
3090 "Enable unified MultiDevice setup";
3091const char kEnableUnifiedMultiDeviceSetupDescription[] =
3092 "Enable the device to setup all MultiDevice services in a single workflow.";
3093
Darren Shen11c770f312018-06-13 07:36:393094const char kEnableVirtualKeyboardMdUiName[] =
3095 "Enable Material Design virtual keyboard";
3096const char kEnableVirtualKeyboardMdUiDescription[] =
3097 "If enabled, loads the Material Design UI for the virtual keyboard.";
3098
Darren Shen0b4e5802018-07-10 03:12:263099const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3100const char kEnableVirtualKeyboardUkmDescription[] =
3101 "Enables UKM for virtual keyboard";
3102
Klemen Kozjek05fc4512017-10-18 12:51:103103const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3104const char kEnableZipArchiverPackerDescription[] =
3105 "Enable the ability to archive files on Drive in the Files app";
3106
Brett Wilson7b44537e2017-08-18 01:38:283107const char kEolNotificationName[] = "Disable Device End of Life notification.";
3108const char kEolNotificationDescription[] =
3109 "Disable Notifcation when Device is End of Life.";
3110
3111const char kExperimentalAccessibilityFeaturesName[] =
3112 "Experimental accessibility features";
3113const char kExperimentalAccessibilityFeaturesDescription[] =
3114 "Enable additional accessibility features in the Settings page.";
3115
3116const char kExperimentalInputViewFeaturesName[] =
3117 "Experimental input view features";
3118const char kExperimentalInputViewFeaturesDescription[] =
3119 "Enable experimental features for IME input views.";
3120
3121const char kFileManagerTouchModeName[] = "Files App. touch mode";
3122const char kFileManagerTouchModeDescription[] =
3123 "Touchscreen-specific interactions of the Files app.";
3124
3125const char kFirstRunUiTransitionsName[] =
3126 "Animated transitions in the first-run tutorial";
3127const char kFirstRunUiTransitionsDescription[] =
3128 "Transitions during first-run tutorial are animated.";
3129
Brett Wilson7b44537e2017-08-18 01:38:283130const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3131const char kForceEnableStylusToolsDescription[] =
3132 "Forces display of the stylus tools menu in the shelf and the stylus "
3133 "section in settings, even if there is no attached stylus device.";
3134
3135const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3136const char kGestureEditingDescription[] =
3137 "Enable/Disable gesture editing option in the settings page for the "
3138 "virtual keyboard.";
3139
3140const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3141const char kGestureTypingDescription[] =
3142 "Enable/Disable gesture typing option in the settings page for the virtual "
3143 "keyboard.";
3144
3145const char kInputViewName[] = "Input views";
3146const char kInputViewDescription[] =
3147 "Enable IME extensions to supply custom views for user input such as "
3148 "virtual keyboards.";
3149
Megumi Hattori5a0d4182018-03-06 11:09:503150const char kLockScreenNotificationName[] = "Lock screen notification";
3151const char kLockScreenNotificationDescription[] =
3152 "Enable notifications on the lock screen.";
3153
Qiang Xu045aff222018-05-21 23:21:013154const char kMaterialDesignInkDropAnimationSpeedName[] =
3155 "Material design ink drop animation speed";
3156const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3157 "Sets the speed of the experimental visual feedback animations for "
3158 "material design.";
3159const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3160const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3161
Brett Wilson7b44537e2017-08-18 01:38:283162const char kMemoryPressureThresholdName[] =
3163 "Memory discard strategy for advanced pressure handling";
3164const char kMemoryPressureThresholdDescription[] =
3165 "Memory discarding strategy to use";
3166const char kConservativeThresholds[] =
3167 "Conservative memory pressure release strategy";
3168const char kAggressiveCacheDiscardThresholds[] =
3169 "Aggressive cache release strategy";
3170const char kAggressiveTabDiscardThresholds[] =
3171 "Aggressive tab release strategy";
3172const char kAggressiveThresholds[] =
3173 "Aggressive tab and cache release strategy";
3174
3175const char kMtpWriteSupportName[] = "MTP write support";
3176const char kMtpWriteSupportDescription[] =
3177 "MTP write support in File System API (and file manager). In-place editing "
3178 "operations are not supported.";
3179
Kyle Horimoto027590fb2018-02-13 22:19:483180const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3181const char kMultiDeviceApiDescription[] =
3182 "Enable Mojo-based API which provides synced device metadata and the "
3183 "ability to connect to other devices associated the logged-in Google "
3184 "account.";
3185
Bailey Berrodca8eeca02017-11-18 00:49:123186const char kNativeSmbName[] = "Native Smb Client";
3187const char kNativeSmbDescription[] =
3188 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303189
vabr0215a8e2017-03-28 12:47:343190const char kNetworkPortalNotificationName[] =
3191 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343192const char kNetworkPortalNotificationDescription[] =
3193 "If enabled, notification is displayed when device is connected to a "
3194 "network behind captive portal.";
3195
Brett Wilson7b44537e2017-08-18 01:38:283196const char kNewKoreanImeName[] = "New Korean IME";
3197const char kNewKoreanImeDescription[] =
3198 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343199
Brett Wilson7b44537e2017-08-18 01:38:283200const char kNewZipUnpackerName[] = "New ZIP unpacker";
3201const char kNewZipUnpackerDescription[] =
3202 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343203
Qiang Xu045aff222018-05-21 23:21:013204const char kOfficeEditingComponentAppName[] =
3205 "Office Editing for Docs, Sheets & Slides";
3206const char kOfficeEditingComponentAppDescription[] =
3207 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3208
Brett Wilson7b44537e2017-08-18 01:38:283209const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3210const char kPhysicalKeyboardAutocorrectDescription[] =
3211 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3212 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343213
3214const char kPrinterProviderSearchAppName[] =
3215 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343216const char kPrinterProviderSearchAppDescription[] =
3217 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193218 "searches Chrome Web Store for extensions that support printing to a USB "
3219 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343220
Brett Wilson7b44537e2017-08-18 01:38:283221const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3222const char kQuickUnlockPinDescription[] =
3223 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3224 "device on the lock screen after you have signed into your device.";
3225const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3226const char kQuickUnlockPinSigninDescription[] =
3227 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3228 "device. After changing this flag PIN needs to be set up again.";
3229const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3230const char kQuickUnlockFingerprintDescription[] =
3231 "Enabling fingerprint quick unlock allows you to setup and use a "
3232 "fingerprint to unlock your Chromebook on the lock screen after you have "
3233 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343234
James Cook0ba192bf2017-12-01 20:53:113235const char kShowTapsName[] = "Show taps";
3236const char kShowTapsDescription[] =
3237 "Draws a circle at each touch point, which makes touch points more obvious "
3238 "when projecting or mirroring the display. Similar to the Android OS "
3239 "developer option.";
3240
3241const char kShowTouchHudName[] = "Show HUD for touch points";
3242const char kShowTouchHudDescription[] =
3243 "Shows a trail of colored dots for the last few touch points. Pressing "
3244 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3245 "debug hardware issues that generate spurious touch events.";
3246
Jorge Gil5a8ccde2018-07-10 01:46:213247const char kSmartTextSelectionName[] = "Smart Text Selection";
3248const char kSmartTextSelectionDescription[] =
3249 "Shows quick actions for text "
3250 "selections in the context menu.";
3251
Chung-Sheng Wu468b0b32017-09-01 14:41:573252const char kSysInternalsName[] = "Enable Sys-Internals";
3253const char kSysInternalsDescription[] =
3254 "If enabled, user can monitor system information at "
3255 "chrome://sys-internals.";
3256
James Cooka9384092018-05-23 02:54:263257const char kTapVisualizerAppName[] = "Show taps with mojo app";
3258const char kTapVisualizerAppDescription[] =
3259 "Use an out-of-process mojo app to show touch points.";
3260
Stuart Langleyc981ac62018-06-21 14:38:253261const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3262const char kDisableTeamDrivesDescription[] =
3263 "If disabled, files under Team Drives will no longer appear in the Files "
3264 "app.";
vabr0215a8e2017-03-28 12:47:343265
Brett Wilson7b44537e2017-08-18 01:38:283266const char kTetherName[] = "Instant Tethering";
3267const char kTetherDescription[] =
3268 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3269 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373270
Brett Wilson7b44537e2017-08-18 01:38:283271const char kTouchscreenCalibrationName[] =
3272 "Enable/disable touchscreen calibration option in material design settings";
3273const char kTouchscreenCalibrationDescription[] =
3274 "If enabled, the user can calibrate the touch screen displays in "
3275 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093276
Qiang Xu045aff222018-05-21 23:21:013277const char kUiDevToolsName[] = "Enable native UI inspection";
3278const char kUiDevToolsDescription[] =
3279 "Enables inspection of native UI elements. For local inspection use "
3280 "chrome://inspect#other";
3281
3282const char kUiShowCompositedLayerBordersName[] =
3283 "Show UI composited layer borders";
3284const char kUiShowCompositedLayerBordersDescription[] =
3285 "Show border around composited layers created by UI.";
3286const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3287const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3288const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3289const char kUiShowCompositedLayerBordersAll[] = "All";
3290
3291const char kUiSlowAnimationsName[] = "Slow UI animations";
3292const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3293
Mitsuru Oshima63d3f2a2017-08-23 00:12:113294// Force UI Mode
3295const char kUiModeName[] = "Force Ui Mode";
3296const char kUiModeDescription[] =
3297 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3298 R"*(despite its current orientation. "Tablet" means that the )*"
3299 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3300 R"*(means that the chromebook will act as if it were in clamshell )*"
3301 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3302 R"*(the two, based on its orientation.)*";
3303const char kUiModeTablet[] = "TouchView";
3304const char kUiModeClamshell[] = "Clamshell";
3305const char kUiModeAuto[] = "Auto (default)";
3306
James Cooka1bcfa9a2018-01-30 00:18:403307const char kUseMashName[] = "Out-of-process system UI (mash)";
3308const char kUseMashDescription[] =
3309 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3310 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283311
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343312// TODO(mcasas): remove after https://crbug.com/771345.
3313const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3314const char kUseMonitorColorSpaceDescription[] =
3315 "Enables Chrome to use the color space information provided by the monitor"
3316 " instead of the default sRGB color space.";
3317
Brett Wilson7b44537e2017-08-18 01:38:283318const char kVideoPlayerChromecastSupportName[] =
3319 "Experimental Chromecast support for Video Player";
3320const char kVideoPlayerChromecastSupportDescription[] =
3321 "This option enables experimental Chromecast support for Video Player app "
3322 "on ChromeOS.";
3323
3324const char kVirtualKeyboardName[] = "Virtual Keyboard";
3325const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3326
3327const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3328const char kVirtualKeyboardOverscrollDescription[] =
3329 "Enables virtual keyboard overscroll support.";
3330
3331const char kVoiceInputName[] = "Voice input on virtual keyboard";
3332const char kVoiceInputDescription[] =
3333 "Enables voice input on virtual keyboard.";
3334
3335const char kWakeOnPacketsName[] = "Wake On Packets";
3336const char kWakeOnPacketsDescription[] =
3337 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203338
Qiang Xu53d1a5832018-05-24 18:44:193339const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3340const char kZipArchiverUnpackerDescription[] =
3341 "Enable or disable the ability to unpack archives in incognito mode";
3342
yhanadac5bff5b2017-05-18 06:37:093343#endif // defined(OS_CHROMEOS)
3344
Brett Wilson7b44537e2017-08-18 01:38:283345// Random platform combinations -----------------------------------------------
3346
3347#if defined(OS_WIN) || defined(OS_LINUX)
3348
3349const char kEnableInputImeApiName[] = "Enable Input IME API";
3350const char kEnableInputImeApiDescription[] =
3351 "Enable the use of chrome.input.ime API.";
3352
Tom Anderson6cbd5052018-05-03 23:49:543353#if !defined(OS_CHROMEOS)
3354
3355const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3356const char kWarnBeforeQuittingFlagDescription[] =
3357 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3358
3359#endif // !defined(OS_CHROMEOS)
3360
Brett Wilson7b44537e2017-08-18 01:38:283361#endif // defined(OS_WIN) || defined(OS_LINUX)
3362
3363#if defined(OS_WIN) || defined(OS_MACOSX)
3364
3365const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3366const char kAutomaticTabDiscardingDescription[] =
3367 "If enabled, tabs get automatically discarded from memory when the system "
3368 "memory is low. Discarded tabs are still visible on the tab strip and get "
3369 "reloaded when clicked on. Info about discarded tabs can be found at "
3370 "chrome://discards.";
3371
3372#endif // defined(OS_WIN) || defined(OS_MACOSX)
3373
lanwei83f54452018-06-21 23:51:043374#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3375
3376const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3377const char kDirectManipulationStylusDescription[] =
3378 "If enabled, Chrome will scroll web pages on stylus drag.";
3379
3380#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3381
Justin Donnelly110e40c2018-06-01 21:48:433382const char kExperimentalUiName[] = "Use all upcoming UI features";
3383const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483384
Brett Wilson7b44537e2017-08-18 01:38:283385// Feature flags --------------------------------------------------------------
3386
3387#if BUILDFLAG(ENABLE_VR)
3388
David Dorwin5a496c32017-11-17 01:45:053389const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3390const char kWebVrVsyncAlignDescription[] =
3391 "Align WebVR application rendering with VSync for smoother animations.";
3392
Brett Wilson7b44537e2017-08-18 01:38:283393#if defined(OS_ANDROID)
3394
David Dorwin5a496c32017-11-17 01:45:053395const char kVrBrowsingExperimentalRenderingName[] =
3396 "VR browsing experimental rendering features";
3397const char kVrBrowsingExperimentalRenderingDescription[] =
3398 "Experimental rendering features for VR browsing (e.g. power-saving "
3399 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103400
Brett Wilson7b44537e2017-08-18 01:38:283401#endif // OS_ANDROID
3402
Bill Orr103ed272018-02-14 21:23:053403#if BUILDFLAG(ENABLE_OCULUS_VR)
3404const char kOculusVRName[] = "Oculus hardware support";
3405const char kOculusVRDescription[] =
3406 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3407 "Windows 10 or later).";
3408#endif // ENABLE_OCULUS_VR
3409
Bill Orr49527562017-11-22 16:58:483410#if BUILDFLAG(ENABLE_OPENVR)
3411const char kOpenVRName[] = "OpenVR hardware support";
3412const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073413 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3414 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483415#endif // ENABLE_OPENVR
3416
Brett Wilson7b44537e2017-08-18 01:38:283417#endif // ENABLE_VR
3418
Nico Weberaf3b00b2017-09-11 17:58:173419#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283420
3421const char kNaclDebugMaskName[] =
3422 "Restrict Native Client GDB-based debugging by pattern";
3423const char kNaclDebugMaskDescription[] =
3424 "Restricts Native Client application GDB-based debugging by URL of "
3425 "manifest file. Native Client GDB-based debugging must be enabled for this "
3426 "option to work.";
3427const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3428const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3429 "Debug everything except secure shell and the PNaCl translator.";
3430const char kNaclDebugMaskChoiceIncludeDebug[] =
3431 "Debug only if manifest URL ends with debug.nmf.";
3432
3433const char kNaclDebugName[] = "Native Client GDB-based debugging";
3434const char kNaclDebugDescription[] =
3435 "Enable GDB debug stub. This will stop a Native Client application on "
3436 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3437
3438const char kNaclName[] = "Native Client";
3439const char kNaclDescription[] =
3440 "Support Native Client for all web applications, even those that were not "
3441 "installed from the Chrome Web Store.";
3442
3443const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3444const char kPnaclSubzeroDescription[] =
3445 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3446
Nico Weberaf3b00b2017-09-11 17:58:173447#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283448
Brett Wilson7b44537e2017-08-18 01:38:283449const char kWebrtcH264WithOpenh264FfmpegName[] =
3450 "WebRTC H.264 software video encoder/decoder";
3451const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3452 "When enabled, an H.264 software video encoder/decoder pair is included. "
3453 "If a hardware encoder/decoder is also available it may be used instead of "
3454 "this encoder/decoder.";
3455
Brett Wilson7b44537e2017-08-18 01:38:283456#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3457
3458const char kAutofillCreditCardUploadName[] =
3459 "Enable offering upload of Autofilled credit cards";
3460const char kAutofillCreditCardUploadDescription[] =
3461 "Enables a new option to upload credit cards to Google Payments for sync "
3462 "to all Chrome devices.";
3463
3464#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3465
Becca Hughesdc96e842018-05-04 22:48:283466#if defined(OS_ANDROID)
3467
3468const char kDisplayCutoutAPIName[] =
3469 "Enable support for the Display Cutout API";
3470const char kDisplayCutoutAPIDescription[] =
3471 "Enables developers to support devices that have a display cutout.";
3472
3473#endif // defined(OS_ANDROID)
3474
Brett Wilson7b44537e2017-08-18 01:38:283475// ============================================================================
3476// Don't just add flags to the end, put them in the right section in
3477// alphabetical order just like the header file.
3478// ============================================================================
3479
vabr0215a8e2017-03-28 12:47:343480} // namespace flag_descriptions