blob: ba1b507708a0f5fb2315ba80999b0c57a149e981 [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
Jeremy Klein586b4ccc2018-06-09 21:05:4838const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
39const char kAndroidMessagesIntegrationDescription[] =
40 "Enables Chrome OS integration with Android messages.";
41
Brett Wilsonf27ff602017-07-07 22:28:4742const char kAppBannersName[] = "App Banners";
43const char kAppBannersDescription[] =
44 "Enable the display of Progressive Web App banners, which prompt a user to "
45 "add a web app to their shelf, or other platform-specific equivalent.";
46
yoshiki iguchi4a10c5f2017-11-29 20:16:5447const char kAshSidebarName[] = "Sidebar";
48const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
49
Ioana Pandelef9689a062018-06-22 15:35:5150const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
51const char kAutomaticPasswordGenerationDescription[] =
52 "Allow Chrome to offer to generate passwords when it detects account "
53 "creation pages.";
54
Michael Lippautzebbc5a82018-05-30 10:41:4255const char kEnableBlinkHeapIncrementalMarkingName[] =
56 "Blink Heap Incremental Marking";
57const char kEnableBlinkHeapIncrementalMarkingDescription[] =
58 "Enable incremental marking in Blink";
59
Tetsui Ohkubo2852b952018-02-23 04:12:0160const char kSystemTrayUnifiedName[] = "New system menu";
61const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5562 "Enable the experimental system menu.";
63
Khushalba202212017-07-12 19:53:4964const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
65const char kAsyncImageDecodingDescription[] =
66 "Enables asynchronous decoding of images from raster for web content";
67
Roger McFarlane2eceba982018-05-18 01:37:1168const char kAutofillCacheQueryResponsesName[] =
69 "Cache Autofill Query Responses";
70const char kAutofillCacheQueryResponsesDescription[] =
71 "When enabled, autofill will cache the responses it receives from the "
72 "crowd-sourced field type prediction server.";
73
sebsge35b762c2018-03-29 20:33:2774const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
75const char kAutofillDynamicFormsDescription[] =
76 "Allows autofill to fill dynamically changing forms";
77
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3978const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
79const char kAutofillPrefilledFieldsDescription[] =
80 "Allows autofill to fill fields previously filled by the website";
81
Parastoo Geranmayeh071d725c2018-06-26 17:35:2282const char kAutofillRationalizeRepeatedServerPredictionsName[] =
83 "Autofill Rationalization of Repeated Server Field Type Predictions";
84const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
85 "Allows autofill to rationalize repeated server field type predictions.";
86
Roger McFarlane1a37d7b2018-04-20 22:45:1987const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
88 "Autofill Enforce Min Required Fields For Heuristics";
89const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
90 "When enabled, autofill will generally require a form to have at least 3 "
91 "fields before allowing heuristic field-type prediction to occur.";
92
93const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
94 "Autofill Enforce Min Required Fields For Query";
95const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
96 "When enabled, autofill will generally require a form to have at least 3 "
97 "fields before querying the autofill server for field-type predictions.";
98
99const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
100 "Autofill Enforce Min Required Fields For Upload";
101const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
102 "When enabled, autofill will generally require a form to have at least 3 "
103 "fillable fields before uploading field-type votes for that form.";
104
Moe Ahmadid3ddfcb2018-04-20 19:51:08105const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
106 "Restrict formless form extraction";
107const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
108 "Restrict extraction of formless forms to checkout flows";
109
Brett Wilsonf27ff602017-07-07 22:28:47110const char kAutoplayPolicyName[] = "Autoplay policy";
111const char kAutoplayPolicyDescription[] =
112 "Policy used when deciding if audio or video is allowed to autoplay.";
113
114const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
115 "User gesture is required for cross-origin iframes.";
116const char kAutoplayPolicyNoUserGestureRequired[] =
117 "No user gesture is required.";
118const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
119const char kAutoplayPolicyDocumentUserActivation[] =
120 "Document user activation is required.";
121
Johanne0cc6902017-11-16 00:23:50122extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
123extern const char kAv1DecoderDescription[] =
124 "Allow decoding of files with the AV1 video codec.";
125
Brett Wilsonf27ff602017-07-07 22:28:47126const char kBackgroundVideoTrackOptimizationName[] =
127 "Optimize background video playback.";
128const char kBackgroundVideoTrackOptimizationDescription[] =
129 "Disable video tracks when the video is played in the background to "
130 "optimize performance.";
131
132const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
133const char kBleAdvertisingInExtensionsDescription[] =
134 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
135 "with regular use of Bluetooth Low Energy features.";
136
Charles Harrisond629cc62017-10-05 01:39:54137const char kBlockTabUndersName[] = "Block tab-unders";
138const char kBlockTabUndersDescription[] =
139 "Blocks tab-unders in Chrome with some native UI to allow the user to "
140 "proceed.";
141
Brett Wilsonf27ff602017-07-07 22:28:47142const char kBrowserTaskSchedulerName[] = "Task Scheduler";
143const char kBrowserTaskSchedulerDescription[] =
144 "Enables redirection of some task posting APIs to the task scheduler.";
145
Carlos IL766fbc882018-02-16 02:34:52146const char kBundledConnectionHelpName[] = "Bundled Connection Help";
147const char kBundledConnectionHelpDescription[] =
148 "Enables or disables redirecting users who get an interstitial when "
149 "accessing https://support.google.com/chrome/answer/6098869 to local "
150 "connection help content.";
151
Brett Wilsonf27ff602017-07-07 22:28:47152const char kBypassAppBannerEngagementChecksName[] =
153 "Bypass user engagement checks";
154const char kBypassAppBannerEngagementChecksDescription[] =
155 "Bypasses user engagement checks for displaying app banners, such as "
156 "requiring that users have visited the site before and that the banner "
157 "hasn't been shown recently. This allows developers to test that other "
158 "eligibility requirements for showing app banners, such as having a "
159 "manifest, are met.";
160
Lucas Garronb9539b732017-10-31 00:22:09161const char kCommittedInterstitialsName[] = "Committed Interstitials";
162const char kCommittedInterstitialsDescription[] =
163 "Use committed error pages instead of transient navigation entries "
164 "for interstitial error pages (e.g. certificate errors).";
165
Brett Wilsonf27ff602017-07-07 22:28:47166const char kCastStreamingHwEncodingName[] =
167 "Cast Streaming hardware video encoding";
168const char kCastStreamingHwEncodingDescription[] =
169 "This option enables support in Cast Streaming for encoding video streams "
170 "using platform hardware.";
171
Amber Won478561d2017-08-19 01:02:59172const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
173const char kClickToOpenPDFDescription[] =
174 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
175 "embedded PDFs.";
176
Gary Kacmarcikfb69b212017-11-14 03:41:08177const char kClipboardContentSettingName[] = "Clipboard content setting";
178const char kClipboardContentSettingDescription[] =
179 "Enables a site-wide permission in the UI which controls access to the "
180 "asynchronous clipboard web API";
181
Brett Wilsonf27ff602017-07-07 22:28:47182const char kCloudImportName[] = "Cloud Import";
183const char kCloudImportDescription[] = "Allows the cloud-import feature.";
184
Christopher Cameronceb8727d2017-09-07 23:53:16185const char kForceColorProfileSRGB[] = "sRGB";
186const char kForceColorProfileP3[] = "Display P3 D65";
187const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
188const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
189
190const char kForceColorProfileName[] = "Force color profile";
191const char kForceColorProfileDescription[] =
192 "Forces Chrome to use a specific color profile instead of the color "
193 "of the window's current monitor, as specified by the operating system.";
194
Brett Wilsonf27ff602017-07-07 22:28:47195const char kCompositedLayerBordersName[] = "Composited render layer borders";
196const char kCompositedLayerBordersDescription[] =
197 "Renders a border around composited Render Layers to help debug and study "
198 "layer compositing.";
199
Theresaf39c1882018-03-21 18:18:07200const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07201 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07202const char kContextualSuggestionsBottomSheetDescription[] =
203 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47204
Theresa818d3452018-05-22 00:08:07205const char kContextualSuggestionsSlimPeekUIName[] =
206 "Contextual Suggestions Slim Peek UI";
207const char kContextualSuggestionsSlimPeekUIDescription[] =
208 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
209
Brett Wilsonf27ff602017-07-07 22:28:47210const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
211const char kCreditCardAssistDescription[] =
212 "Enable assisted credit card filling on certain sites.";
213
214const char kCrossProcessGuestViewIsolationName[] =
215 "Cross process frames for guests";
216const char kCrossProcessGuestViewIsolationDescription[] =
217 "Highly experimental where guests such as <webview> are implemented on "
218 "the out-of-process iframe infrastructure.";
219
Thanh Le659cb102017-12-20 22:00:19220const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
221const char kDataSaverServerPreviewsDescription[] =
222 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47223
224const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
225const char kDatasaverPromptDescription[] =
226 "Enables a prompt, which appears when a cellular network connection is "
227 "detected, to take the user to the Data Saver extension page on Chrome Web "
228 "Store.";
229const char kDatasaverPromptDemoMode[] = "Demo mode";
230
Wez54dc71b2018-04-17 00:42:34231#if DCHECK_IS_CONFIGURABLE
232const char kDcheckIsFatalName[] = "DCHECKs are fatal";
233const char kDcheckIsFatalDescription[] =
234 "By default Chrome will evaluate in this build, but only log failures, "
235 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
236#endif // DCHECK_IS_CONFIGURABLE
237
Brett Wilsonf27ff602017-07-07 22:28:47238const char kDebugPackedAppName[] = "Debugging for packed apps";
239const char kDebugPackedAppDescription[] =
240 "Enables debugging context menu options such as Inspect Element for packed "
241 "applications.";
242
243const char kDefaultTileHeightName[] = "Default tile height";
244const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
245const char kDefaultTileHeightShort[] = "128";
246const char kDefaultTileHeightTall[] = "256";
247const char kDefaultTileHeightGrande[] = "512";
248const char kDefaultTileHeightVenti[] = "1024";
249
250const char kDefaultTileWidthName[] = "Default tile width";
251const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
252const char kDefaultTileWidthShort[] = "128";
253const char kDefaultTileWidthTall[] = "256";
254const char kDefaultTileWidthGrande[] = "512";
255const char kDefaultTileWidthVenti[] = "1024";
256
257const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
258const char kDebugShortcutsDescription[] =
259 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
260
261const char kDeviceDiscoveryNotificationsName[] =
262 "Device Discovery Notifications";
263const char kDeviceDiscoveryNotificationsDescription[] =
264 "Device discovery notifications on local network.";
265
266const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
267const char kDevtoolsExperimentsDescription[] =
268 "Enables Developer Tools experiments. Use Settings panel in Developer "
269 "Tools to toggle individual experiments.";
270
271const char kDisableAudioForDesktopShareName[] =
272 "Disable Audio For Desktop Share";
273const char kDisableAudioForDesktopShareDescription[] =
274 "With this flag on, desktop share picker window will not let the user "
275 "choose whether to share audio.";
276
Chris Palmer917bc052018-03-14 19:28:31277const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
278const char kDisablePushStateThrottleDescription[] =
279 "Disables throttling of history.pushState and history.replaceState method "
280 "calls.";
281
Brett Wilsonf27ff602017-07-07 22:28:47282const char kDisableTabForDesktopShareName[] =
283 "Disable Desktop Share with tab source";
284const char kDisableTabForDesktopShareDescription[] =
285 "This flag controls whether users can choose a tab for desktop share.";
286
287const char kDisallowDocWrittenScriptsUiName[] =
288 "Block scripts loaded via document.write";
289const char kDisallowDocWrittenScriptsUiDescription[] =
290 "Disallows fetches for third-party parser-blocking scripts inserted into "
291 "the main frame via document.write.";
292
Christopher Thompson2ffffa2c2018-05-18 23:06:37293const char kDisallowUnsafeHttpDownloadsName[] =
294 "Block unsafe downloads over insecure connections";
295const char kDisallowUnsafeHttpDownloadsNameDescription[] =
296 "Disallows downloads of unsafe files (files that can potentially execute "
297 "code), where the final download origin or any origin in the redirect "
298 "chain is insecure.";
299
Brett Wilsonf27ff602017-07-07 22:28:47300const char kDriveSearchInChromeLauncherName[] =
301 "Drive Search in Chrome App Launcher";
302const char kDriveSearchInChromeLauncherDescription[] =
303 "Files from Drive will show up when searching the Chrome App Launcher.";
304
Brett Wilsonf27ff602017-07-07 22:28:47305const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
306const char kEmbeddedExtensionOptionsDescription[] =
307 "Display extension options as an embedded element in chrome://extensions "
308 "rather than opening a new tab.";
309
Dominic Mazzoni8ac98962018-05-25 05:44:55310const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
311const char kEnableAccessibilityObjectModelDescription[] =
312 "Enables experimental support for Accessibility Object Model APIs "
313 "that are in development.";
314
Brett Wilsonf27ff602017-07-07 22:28:47315const char kEnableAsmWasmName[] =
316 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
317const char kEnableAsmWasmDescription[] =
318 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
319 R"*(WebAssembly.)*";
320
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36321const char kEnableWebPaymentsSingleAppUiSkipName[] =
322 "Enable Web Payments single app UI skip";
323const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
324 "Enable Web Payments to skip showing its UI if the developer specifies a "
325 "single app.";
326
Shanfeng Zhang19c16562017-10-17 02:30:40327const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
328 "Credit card autofill ablation experiment.";
329const char kEnableAutofillCreditCardAblationExperimentDescription[] =
330 "If enabled, credit card autofill suggestions will not display.";
331
Jared Saulae93aa12018-03-23 19:04:39332const char kEnableAutofillCreditCardBankNameDisplayName[] =
333 "Display the issuer bank name of a credit card in autofill.";
334const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
335 "If enabled, displays the issuer bank name of a credit card in autofill.";
336
Brett Wilsonf27ff602017-07-07 22:28:47337const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
338 "Display the last used date of a credit card in autofill.";
339const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
340 "If enabled, display the last used date of a credit card in autofill.";
341
Jared Saulbc672a072018-06-16 05:22:12342const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
343 "Make cardholder name editable in dialog during credit card upload";
344const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
345 "If enabled, in certain situations when offering credit card upload to "
346 "Google Payments, the cardholder name can be edited within the "
347 "offer-to-save dialog, which is prefilled with the name from the signed-in "
348 "Google Account.";
349
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37350const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
351 "Enable Google Pay branding when offering credit card upload on Android";
352const char
353 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
354 "If enabled, shows the Google Pay logo and a shorter header message "
355 "when credit card upload to Google Payments is offered on Android.";
356
Jared Saul5c2a1482017-12-09 00:24:31357const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
358 "Send first six digits of PAN when deciding whether to offer Autofill "
359 "credit card upload";
360const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
361 "If enabled, when deciding whether to offer credit card upload to Google "
362 "Payments, sends the first six digits of the card number to avoid cases "
363 "where card upload is likely to fail.";
364
siyua7c4e97b42018-04-24 02:49:42365const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
366 "Enable updated prompt explanation when offering credit card upload";
367const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
368 "If enabled, changes the server save card prompt's explanation to mention "
369 "the saving of the billing address.";
370
tmartinocd414732018-02-12 19:01:01371const char kEnableAutofillNativeDropdownViewsName[] =
372 "Display Autofill Dropdown Using Views";
373const char kEnableAutofillNativeDropdownViewsDescription[] =
374 "If enabled, the Autofill Dropdown will be built natively using Views, "
375 "rather than painted directly to a canvas.";
376
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23377const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
378 "Send experiment flag IDs in calls to Google Payments";
379const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
380 "If enabled, adds the status of certain experiment variations when making "
381 "calls to Google Payments.";
382
Becca Hughes4d896c42018-05-29 16:58:51383const char kEnableAutoplayIgnoreWebAudioName[] =
384 "Autoplay ignores WebAudio playbacks";
385const char kEnableAutoplayIgnoreWebAudioDescription[] =
386 "If enabled, autoplay restrictions will be ignored for WebAudio.";
387
Vitalii Iarko4f9834ce2017-08-04 07:05:19388const char kEnableBreakingNewsPushName[] = "Breaking News Push";
389const char kEnableBreakingNewsPushDescription[] =
390 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
391 "through Google Cloud Messaging.";
392
Brett Wilsonf27ff602017-07-07 22:28:47393const char kEnableBrotliName[] = "Brotli Content-Encoding.";
394const char kEnableBrotliDescription[] =
395 "Enable Brotli Content-Encoding support.";
396
Qiang Xu0f602fe62017-12-22 01:31:20397const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
398const char kEnableCaptivePortalRandomUrlDescription[] =
399 "Enable Captive Portal URL randomization.";
400
sclittle50e4bb92017-07-08 02:23:03401const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
402
403const char kEnableClientLoFiDescription[] =
404 "Enable showing low fidelity images on some pages on slow networks.";
405
Patrick Noland8bc57472018-06-19 21:09:54406const char kEnableCSSFragmentIdentifiersName[] =
407 "Enable CSS Fragment Identifiers";
408const char kEnableCSSFragmentIdentifiersDescription[] =
409 "Enable support for specifying a target element using a css selector in "
410 "the fragment identifier.";
411
David Reveman87b4b692018-03-09 21:22:22412const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
413const char kEnableCursorMotionBlurDescription[] =
414 "Enable motion blur effect for the cursor.";
415
Ramin Halavati6f5d9852018-06-20 09:37:05416const char kEnableEphemeralFlashPermissionName[] =
417 "Enable Ephemeral Flash Permissions";
418const char kEnableEphemeralFlashPermissionDescription[] =
419 "When enabled, Flash plugin permissions are reset at the end of the "
420 "browser session.";
421
Doug Arnett08b4067b2017-10-12 20:14:44422const char kEnableNoScriptPreviewsName[] = "NoScript previews";
423
424const char kEnableNoScriptPreviewsDescription[] =
425 "Enable disabling JavaScript on some pages on slow networks.";
426
Thanh Le2c279fbc2017-11-21 01:25:40427const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
428const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
429const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
430const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
431const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
432const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
433const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
434const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
435const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
436const char kDataReductionProxyServerAlternative10[] =
437 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47438const char kEnableDataReductionProxyServerExperimentName[] =
439 "Use an alternative Data Saver back end configuration.";
440const char kEnableDataReductionProxyServerExperimentDescription[] =
441 "Enable a different approach to saving data by configuring the back end "
442 "server";
443
444const char kEnableDataReductionProxySavingsPromoName[] =
445 "Data Saver 1 MB Savings Promo";
446const char kEnableDataReductionProxySavingsPromoDescription[] =
447 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
448 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
449 "enabled for the promo to be shown.";
450
Matt Giucad4870432017-11-24 01:04:38451const char kEnableDesktopPWAsName[] = "Desktop PWAs";
452const char kEnableDesktopPWAsDescription[] =
453 "Experimental windowing and install banner treatment for Progressive Web "
454 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17455
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59456const char kEnableDesktopPWAsLinkCapturingName[] =
457 "Desktop PWAs Link Capturing";
458const char kEnableDesktopPWAsLinkCapturingDescription[] =
459 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
460 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
461 "#enable-desktop-pwas.";
462
Ahmed Fakhry0037de02018-01-29 19:58:31463const char kEnableDockedMagnifierName[] = "Docked Magnifier";
464const char kEnableDockedMagnifierDescription[] =
465 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
466
Ramya Nagarajan5b41d8d2018-04-02 19:53:02467const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
468const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09469 "Enables the Emoji picker item in context menus for editable text areas, if"
470 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02471
Brett Wilsonf27ff602017-07-07 22:28:47472const char kEnableEnumeratingAudioDevicesName[] =
473 "Experimentally enable enumerating audio devices.";
474const char kEnableEnumeratingAudioDevicesDescription[] =
475 "Experimentally enable the use of enumerating audio devices.";
476
477const char kEnableGenericSensorName[] = "Generic Sensor";
478const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25479 "Enables motion sensor classes based on Generic Sensor API, i.e. "
480 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
481 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
482
483const char kEnableGenericSensorExtraClassesName[] =
484 "Generic Sensor Extra Classes";
485const char kEnableGenericSensorExtraClassesDescription[] =
486 "Enables an extra set of sensor classes based on Generic Sensor API, which "
487 "expose previously unavailable platform features, i.e. AmbientLightSensor "
488 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47489
Brett Wilsonf27ff602017-07-07 22:28:47490const char kEnableHDRName[] = "HDR mode";
491const char kEnableHDRDescription[] =
492 "Enables HDR support on compatible displays.";
493
Ryan Sturm6a850902018-06-09 02:27:34494const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
495const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09496 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25497 "pause sub-resource request loading on the page. Using the 'Low' option "
498 "will reduce the triggering threshold 1MB.";
Ryan Sturm6a850902018-06-09 02:27:34499
Brett Wilsonf27ff602017-07-07 22:28:47500const char kEnableHttpFormWarningName[] =
501 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15502 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47503const char kEnableHttpFormWarningDescription[] =
504 "Attaches a warning UI to any password or credit card fields detected when "
505 "the top-level page is not HTTPS";
506
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41507const char kLayeredAPIName[] = "Experimental layered APIs";
508const char kLayeredAPIDescription[] =
509 "Enable layered API infrastructure, as well as several experimental "
510 "layered APIs. The syntax and the APIs exposed are experimental and will "
511 "change over time.";
512
Scott Littled0fd2d002018-04-13 03:37:26513const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
514const char kEnableLazyFrameLoadingDescription[] =
515 "Defers the loading of certain cross-origin frames until the page is "
516 "scrolled down near them.";
517
Sidney San Martín9375b892017-09-09 00:29:54518const char kEnableMacMaterialDesignDownloadShelfName[] =
519 "Enable Material Design download shelf";
520
521const char kEnableMacMaterialDesignDownloadShelfDescription[] =
522 "If enabled, the download shelf uses Material Design.";
523
Tatiana Gornakafb40452017-07-31 13:50:04524const char kEnableManualFallbacksFillingName[] =
525 "Manual fallbacks for password manager forms filling";
526const char kEnableManualFallbacksFillingDescription[] =
527 "If enabled, then if user clicks on the password field on a form, popup "
528 "might contain generation fallbacks or 'Show all saved passwords' "
529 "fallback.";
530
Anton Urusov47cd4932017-09-19 14:41:41531const char kEnablePolicyToolName[] = "Enable policy management page";
532const char kEnablePolicyToolDescription[] =
533 "If enabled, the chrome://policy-tool URL loads a page for managing "
534 "policies.";
535
Tsuyoshi Horoea7edb72017-11-12 04:14:00536const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
537const char kEnablePWAFullCodeCacheDescription[] =
538 "Generate V8 code cache in Cache Storage while installing Service Worker "
539 "for PWAs.";
540
Weidong Guof1e5a892018-01-06 02:26:39541const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28542 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39543const char kDisableMultiMirroringDescription[] =
544 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28545
Brett Wilsonf27ff602017-07-07 22:28:47546const char kEnableNavigationTracingName[] = "Enable navigation tracing";
547const char kEnableNavigationTracingDescription[] =
548 "This is to be used in conjunction with the trace-upload-url flag. "
549 "WARNING: When enabled, Chrome will record performance data for every "
550 "navigation and upload it to the URL specified by the trace-upload-url "
551 "flag. The trace may include personally identifiable information (PII) "
552 "such as the titles and URLs of websites you visit.";
553
Bernhard Bauer5533f9912017-11-06 17:56:02554const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
555const char kEnableNetworkLoggingToFileDescription[] =
556 "Enables network logging to a file named netlog.json in the user data "
557 "directory. The file can be imported into chrome://net-internals.";
558
Brett Wilsonf27ff602017-07-07 22:28:47559const char kEnableNetworkServiceName[] = "Enable network service";
560const char kEnableNetworkServiceDescription[] =
561 "Enables the network service, which makes network requests through a "
562 "separate service. Note: most features don't work with this yet.";
563
John Abd-El-Malek8067cc02017-12-04 23:23:20564const char kEnableNetworkServiceInProcessName[] =
565 "Runs network service in-process";
566const char kEnableNetworkServiceInProcessDescription[] =
567 "Runs the network service in the browser process.";
568
dpapaded8349472017-10-25 03:21:27569const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
570const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37571 "If enabled, Print Preview will display a newer UI. This feature is "
572 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27573
Ahmed Fakhry2fd8fc82017-07-28 16:31:12574const char kEnableNightLightName[] = "Enable Night Light";
575const char kEnableNightLightDescription[] =
576 "Enable the Night Light feature which controls the color temperature of "
577 "the screen.";
578
xlou8b56f672018-02-09 23:34:30579const char kEnableNupPrintingName[] = "Enable N-up printing";
580const char kEnableNupPrintingDescription[] =
581 "Enable N-up printing in the print preview panel.";
582
Sophie Chang117a3b22017-10-24 22:25:36583const char kEnableOptimizationHintsName[] = "Optimization Hints";
584const char kEnableOptimizationHintsDescription[] =
585 "Enable the Optimization Hints feature which incorporates server hints"
586 "into decisions for what optimizations to perform on some pages on slow "
587 "networks.";
588
Yutaka Hirano98be3272017-08-07 17:55:39589const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
590const char kEnableOutOfBlinkCORSDescription[] =
591 "CORS handling logic is moved out of blink.";
592
Sammie Quon0fbf0782018-05-01 22:11:08593const char kEnableOverviewSwipeToCloseName[] =
594 "Enable overview swipe to close.";
595const char kEnableOverviewSwipeToCloseDescription[] =
596 "Enables closing of items in overview mode by dragging or flinging "
597 "vertically.";
598
kylechar7051c092018-02-05 20:31:39599const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
600const char kVizDisplayCompositorDescription[] =
601 "If enabled, the display compositor runs as part of the viz service in the"
602 "GPU process.";
603
Ria Jiang6a129b982018-03-01 18:30:40604const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
605const char kVizHitTestDrawQuadDescription[] =
606 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
607 "with hit-test data computed from the CompositorFrame.";
608
Erik Chen49bbfa22017-08-18 08:49:56609const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23610 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56611const char kEnableOutOfProcessHeapProfilingDescription[] =
612 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19613 "malloced objects. Heap dumps can be obtained at chrome://tracing "
614 "[category:memory-infra] and chrome://memory-internals. This setting "
615 "controls which processes are profiled. As long as this setting is not "
616 "disabled, users can start profiling any given process in "
617 "chrome://memory-internals.";
618const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
619const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
620const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
621const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
622const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10623const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19624 "None by default. Visit chrome://memory-internals to choose which "
625 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15626const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
627 "Profile a random sampling of renderer processes, ensuring only one is "
628 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19629
Erik Chen8bb76b52017-12-06 19:06:25630const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19631 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25632const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
633 "By default, small allocations are pruned from the heap dump. This reduces "
634 "the size of the compressed trace by 100x. If pruning is disabled, the "
635 "chrome://tracing UI may be unable to take or load the trace. Save the "
636 "trace directly using chrome://memory-internals, and use other mechanisms "
637 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
638 "automatically uploaded traces will always be pruned. This only affects "
639 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56640
erikchen8bc20d82018-02-14 03:21:51641const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
642const char kOutOfProcessHeapProfilingSamplingDescription[] =
643 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22644 "10000. This results in low noise for large and/or frequent allocations ["
645 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
646 "total size of malloc-ed objects] and large and/or frequent allocations "
647 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51648
Erik Chen3303fd0232018-01-11 20:29:05649const char kOOPHPStackModeName[] =
650 "The type of stack to record for memlog heap dumps";
651const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19652 "By default, memlog heap dumps record native stacks, which requires a "
653 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55654 "pointers to work on Android. Native with thread names will add the thread "
655 "name as the first frame of each native stack. It's also possible to "
656 "record a pseudo stack using trace events as identifiers. It's also "
657 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19658const char kOOPHPStackModeMixed[] = "Mixed";
659const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55660const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19661const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05662
François Beaufort2e75f492018-02-08 20:44:46663const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47664const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46665 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47666
F#m59d036e2017-09-13 07:22:17667const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
668const char kEnablePixelCanvasRecordingDescription[] =
669 "Pixel canvas recording allows the compositor to raster contents aligned "
670 "with the pixel and improves text rendering. This should be enabled when a "
671 "device is using fractional scale factor.";
672
vitaliiid36191b2018-06-11 07:40:49673extern const char kEnableSyncUserConsentSeparateTypeName[] =
674 "Enable separate sync type for consents";
675extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
676 "Emit user consents as a separate sync type instead of user events.";
677
Mikel Astiz38837f82018-04-24 22:23:23678const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
679const char kEnableSyncUSSSessionsDescription[] =
680 "Enables the new, experimental implementation of session sync (aka tab "
681 "sync).";
682
Brett Wilsonf27ff602017-07-07 22:28:47683const char kEnableTokenBindingName[] = "Token Binding.";
684const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
685
Sahel Sharifyd732ab12017-11-29 23:03:16686extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
687 "Wheel Scroll Latching.";
688extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
689 "Wheel scroll latching enforces latching to a single element for the "
690 "duration of a scroll sequence.";
691
Brett Wilsonf27ff602017-07-07 22:28:47692const char kEnableUseZoomForDsfName[] =
693 "Use Blink's zoom for device scale factor.";
694const char kEnableUseZoomForDsfDescription[] =
695 "If enabled, Blink uses its zooming mechanism to scale content for device "
696 "scale factor.";
697const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
698const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
699const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
700
Patrick Noland8ee016e2018-01-24 11:44:53701const char kEnableScrollAnchorSerializationName[] =
702 "Scroll Anchor Serialization";
703const char kEnableScrollAnchorSerializationDescription[] =
704 "Save the scroll anchor and use it to restore the scroll position when "
705 "navigating.";
706
Brad Nelson5cd500e2018-01-04 00:50:19707const char kEnableSharedArrayBufferName[] =
708 "Experimental enabled SharedArrayBuffer support in JavaScript.";
709const char kEnableSharedArrayBufferDescription[] =
710 "Enable SharedArrayBuffer support in JavaScript.";
711
Brett Wilsonf27ff602017-07-07 22:28:47712const char kEnableWasmName[] = "WebAssembly structured cloning support.";
713const char kEnableWasmDescription[] =
714 "Enable web pages to use WebAssembly structured cloning.";
715
Brett Wilsonf27ff602017-07-07 22:28:47716const char kEnableImageCaptureAPIName[] = "Image Capture API";
717const char kEnableImageCaptureAPIDescription[] =
718 "Enables the Web Platform Image Capture API: takePhoto(), "
719 "getPhotoCapabilities(), etc.";
720
721const char kEnableZeroSuggestRedirectToChromeName[] =
722 "Experimental contextual omnibox suggestion";
723const char kEnableZeroSuggestRedirectToChromeDescription[] =
724 "Change omnibox contextual suggestions to an experimental source. Note "
725 "that this is not an on/off switch for contextual omnibox and it only "
726 "applies to suggestions provided before the user starts typing a URL or a "
727 "search query (i.e. zero suggest).";
728
729const char kEnableWasmStreamingName[] =
730 "WebAssembly streaming compile/instantiate support.";
731const char kEnableWasmStreamingDescription[] =
732 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
733
Clemens Hammacher0c8a15a2018-04-27 13:45:32734const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
735const char kEnableWasmBaselineDescription[] =
736 "Enables WebAssembly baseline compilation and tier up.";
737
Ben Smith24c1e5c2018-06-20 01:09:02738const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
739const char kEnableWasmThreadsDescription[] =
740 "Enables support for the WebAssembly Threads proposal. Implies "
741 "#shared-array-buffer and #enable-webassembly.";
742
Brett Wilsonf27ff602017-07-07 22:28:47743const char kExpensiveBackgroundTimerThrottlingName[] =
744 "Throttle expensive background timers";
745const char kExpensiveBackgroundTimerThrottlingDescription[] =
746 "Enables intervention to limit CPU usage of background timers to 1%.";
747
748const char kExperimentalAppBannersName[] = "Experimental app banners";
749const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38750 "Enables a new experimental app banner flow and UI. Implies "
751 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47752
753const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
754const char kExperimentalCanvasFeaturesDescription[] =
755 "Enables the use of experimental canvas features which are still in "
756 "development.";
757
Nicholas Verneccd8259802018-02-22 01:22:04758const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
759const char kExperimentalCrostiniUIDescription[] =
760 "Enables in-development Crostini features.";
761
Brett Wilsonf27ff602017-07-07 22:28:47762const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
763const char kExperimentalExtensionApisDescription[] =
764 "Enables experimental extension APIs. Note that the extension gallery "
765 "doesn't allow you to upload extensions that use experimental APIs.";
766
767const char kExperimentalFullscreenExitUIName[] =
768 "Experimental fullscreen exit UI";
769const char kExperimentalFullscreenExitUIDescription[] =
770 "Displays experimental UI to allow mouse and touch input methods to exit "
771 "fullscreen mode.";
772
Ian Clelland37a985d2018-05-04 02:43:13773const char kExperimentalProductivityFeaturesName[] =
774 "Experimental Productivity Features";
775const char kExperimentalProductivityFeaturesDescription[] =
776 "Enable support for experimental developer productivity features, such as "
777 "Layered APIs and policies for avoiding slow rendering.";
778
Brett Wilsonf27ff602017-07-07 22:28:47779const char kExperimentalSecurityFeaturesName[] =
780 "Potentially annoying security features";
781const char kExperimentalSecurityFeaturesDescription[] =
782 "Enables several security features that will likely break one or more "
783 "pages that you visit on a daily basis. Strict mixed content checking, for "
784 "example. And locking powerful features to secure contexts. This flag will "
785 "probably annoy you.";
786
787const char kExperimentalWebPlatformFeaturesName[] =
788 "Experimental Web Platform features";
789const char kExperimentalWebPlatformFeaturesDescription[] =
790 "Enables experimental Web Platform features that are in development.";
791
792const char kExtensionContentVerificationName[] =
793 "Extension Content Verification";
794const char kExtensionContentVerificationDescription[] =
795 "This flag can be used to turn on verification that the contents of the "
796 "files on disk for extensions from the webstore match what they're "
797 "expected to be. This can be used to turn on this feature if it would not "
798 "otherwise have been turned on, but cannot be used to turn it off (because "
799 "this setting can be tampered with by malware).";
800const char kExtensionContentVerificationBootstrap[] =
801 "Bootstrap (get expected hashes, but do not enforce them)";
802const char kExtensionContentVerificationEnforce[] =
803 "Enforce (try to get hashes, and enforce them if successful)";
804const char kExtensionContentVerificationEnforceStrict[] =
805 "Enforce strict (hard fail if we can't get hashes)";
806
807const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
808const char kExtensionsOnChromeUrlsDescription[] =
809 "Enables running extensions on chrome:// URLs, where extensions explicitly "
810 "request this permission.";
galinapae72e152017-05-12 13:12:28811
Brett Wilsonecb80982017-07-12 20:34:51812const char kFastUnloadName[] = "Fast tab/window close";
813const char kFastUnloadDescription[] =
814 "Enables fast tab/window closing - runs a tab's onunload js handler "
815 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34816
Brett Wilsonecb80982017-07-12 20:34:51817const char kFeaturePolicyName[] = "Feature Policy";
818const char kFeaturePolicyDescription[] =
819 "Enables granting and removing access to features through the "
820 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34821
Brett Wilsonecb80982017-07-12 20:34:51822const char kFontCacheScalingName[] = "FontCache scaling";
823const char kFontCacheScalingDescription[] =
824 "Reuse a cached font in the renderer to serve different sizes of font for "
825 "faster layout.";
826
827const char kForceEffectiveConnectionTypeName[] =
828 "Override effective connection type";
829const char kForceEffectiveConnectionTypeDescription[] =
830 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30831 "returned by the network quality estimator. Slow 2G on Cellular returns "
832 "Slow 2G when connected to a cellular network, and the actual estimate "
833 "effective connection type when not on a cellular network. Previews are "
834 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51835const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
836const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
837const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30838const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
839 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51840const char kEffectiveConnectionType2GDescription[] = "2G";
841const char kEffectiveConnectionType3GDescription[] = "3G";
842const char kEffectiveConnectionType4GDescription[] = "4G";
843
844const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
845const char kFillOnAccountSelectDescription[] =
846 "Filling of passwords when an account is explicitly selected by the user "
847 "rather than autofilling credentials on page load.";
848
Brett Wilsonecb80982017-07-12 20:34:51849const char kForceTextDirectionName[] = "Force text direction";
850const char kForceTextDirectionDescription[] =
851 "Explicitly force the per-character directionality of UI text to "
852 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
853 "direction of the character language.";
854const char kForceDirectionLtr[] = "Left-to-right";
855const char kForceDirectionRtl[] = "Right-to-left";
856
857const char kForceUiDirectionName[] = "Force UI direction";
858const char kForceUiDirectionDescription[] =
859 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
860 "mode, overriding the default direction of the UI language.";
861
862const char kFramebustingName[] =
863 "Framebusting requires same-origin or a user gesture";
864const char kFramebustingDescription[] =
865 "Don't permit an iframe to navigate the top level browsing context unless "
866 "they are same-origin or the iframe is processing a user gesture.";
867
868const char kGamepadExtensionsName[] = "Gamepad Extensions";
869const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22870 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58871const char kGamepadVibrationName[] = "Gamepad Vibration";
872const char kGamepadVibrationDescription[] =
873 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51874
Brett Wilsonecb80982017-07-12 20:34:51875const char kGpuRasterizationMsaaSampleCountName[] =
876 "GPU rasterization MSAA sample count.";
877const char kGpuRasterizationMsaaSampleCountDescription[] =
878 "Specify the number of MSAA samples for GPU rasterization.";
879const char kGpuRasterizationMsaaSampleCountZero[] = "0";
880const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
881const char kGpuRasterizationMsaaSampleCountFour[] = "4";
882const char kGpuRasterizationMsaaSampleCountEight[] = "8";
883const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
884
885const char kGpuRasterizationName[] = "GPU rasterization";
886const char kGpuRasterizationDescription[] =
887 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28888const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51889
890const char kGoogleProfileInfoName[] = "Google profile name and icon";
891const char kGoogleProfileInfoDescription[] =
892 "Enables using Google information to populate the profile name and icon in "
893 "the avatar menu.";
894
895const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
896const char kHarfbuzzRendertextDescription[] =
897 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
898 "web content.";
899
Takumi Fujimotofb71e332018-03-31 14:04:08900const char kViewsCastDialogName[] = "Views Cast dialog";
901const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31902 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53903 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54904 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08905
Manu Cornet4a908de2018-04-09 04:32:27906const char kHideActiveAppsFromShelfName[] =
907 "Hide running apps (that are not pinned) from the shelf";
908const char kHideActiveAppsFromShelfDescription[] =
909 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25910
Brett Wilsonecb80982017-07-12 20:34:51911const char kHistoryRequiresUserGestureName[] =
912 "New history entries require a user gesture.";
913const char kHistoryRequiresUserGestureDescription[] =
914 "Require a user gesture to add a history entry.";
915const char kHyperlinkAuditingName[] = "Hyperlink auditing";
916const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
917
Ryan Landay4242dbc22018-04-04 01:47:33918const char kHorizontalTabSwitcherAndroidName[] =
919 "Enable horizontal tab switcher";
920const char kHorizontalTabSwitcherAndroidDescription[] =
921 "Changes the layout of the Android tab switcher so tabs scroll "
922 "horizontally instead of vertically.";
923
Brett Wilsonecb80982017-07-12 20:34:51924const char kHostedAppQuitNotificationName[] =
925 "Quit notification for hosted apps";
926const char kHostedAppQuitNotificationDescription[] =
927 "Display a notification when quitting Chrome if hosted apps are currently "
928 "running.";
929
930const char kHostedAppShimCreationName[] =
931 "Creation of app shims for hosted apps on Mac";
932const char kHostedAppShimCreationDescription[] =
933 "Create app shims on Mac when creating a hosted app.";
934
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48935const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
936const char kHtmlBasedUsernameDetectorDescription[] =
937 "Use HTML-based username detector for the password manager.";
938
Brett Wilsonecb80982017-07-12 20:34:51939const char kIconNtpName[] = "Large icons on the New Tab page";
940const char kIconNtpDescription[] =
941 "Enable the experimental New Tab page using large icons.";
942
943const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
944const char kIgnoreGpuBlacklistDescription[] =
945 "Overrides the built-in software rendering list and enables "
946 "GPU-acceleration on unsupported system configurations.";
947
Ryan Sturm8c3dbc92018-06-26 19:22:37948const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44949const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37950 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44951
Brett Wilsonecb80982017-07-12 20:34:51952const char kImportantSitesInCbdName[] =
953 "Important sites options in clear browsing data dialog";
954const char kImportantSitesInCbdDescription[] =
955 "Include the option to whitelist important sites in the clear browsing "
956 "data dialog.";
957
Claudio Magni61c210922017-12-28 00:29:51958const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
959const char kImprovedLanguageSettingsDescription[] =
960 "Set of changes for Language Settings. These changes are intended to fix "
961 "the major bugs related to Language Settings.";
962
Brett Wilsonecb80982017-07-12 20:34:51963const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
964const char kInProductHelpDemoModeChoiceDescription[] =
965 "Selects the In-Product Help demo mode.";
966
967const char kJavascriptHarmonyName[] = "Experimental JavaScript";
968const char kJavascriptHarmonyDescription[] =
969 "Enable web pages to use experimental JavaScript features.";
970
971const char kJavascriptHarmonyShippingName[] =
972 "Latest stable JavaScript features";
973const char kJavascriptHarmonyShippingDescription[] =
974 "Some web pages use legacy or non-standard JavaScript extensions that may "
975 "conflict with the latest JavaScript features. This flag allows disabling "
976 "support of those features for compatibility with such pages.";
977
gogeraldfd7675d2018-06-19 22:57:35978const char kJustInTimeServiceWorkerPaymentAppName[] =
979 "Just-in-time service worker payment app";
980const char kJustInTimeServiceWorkerPaymentAppDescription[] =
981 "Allow crawling just-in-time service worker payment app when there is no "
982 "installed service worker payment app for a payment request.";
983
Yutaka Hiranof7f2f632017-09-06 10:40:08984const char kKeepAliveRendererForKeepaliveRequestsName[] =
985 "Keep a renderer alive for keepalive fetch requests";
986const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
987 "Keep a render process alive when the process has a pending fetch request "
988 "with `keepalive' specified.";
989
Joe Downing095fd6d2018-02-01 18:40:36990const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
991const char kKeyboardLockApiDescription[] =
992 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
993 "specific key events and have them routed directly to the webpage when in "
994 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
995
Brett Wilsonecb80982017-07-12 20:34:51996const char kLcdTextName[] = "LCD text antialiasing";
997const char kLcdTextDescription[] =
998 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
999 "(subpixel) when doing accelerated compositing.";
1000
Matt Giucac399982f2017-10-06 07:51:291001const char kLeftToRightUrlsName[] =
1002 "Render bidirectional URLs from left to right";
1003const char kLeftToRightUrlsDescription[] =
1004 "An experimental Bidi URL rendering algorithm where the URL components are "
1005 "always shown in order from left to right, regardless of any RTL "
1006 "characters. (The contents of each component are still rendered with the "
1007 "normal Bidi algorithm.)";
1008
Brett Wilsonecb80982017-07-12 20:34:511009const char kLoadMediaRouterComponentExtensionName[] =
1010 "Load Media Router Component Extension";
1011const char kLoadMediaRouterComponentExtensionDescription[] =
1012 "Loads the Media Router component extension at startup.";
1013
spqchanb87755692018-04-05 00:46:091014const char kMacViewsAutofillPopupName[] =
1015 "Uses the Views Autofill Popup on Mac";
1016const char kMacViewsAutofillPopupDescription[] =
1017 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321018
Brett Wilsonecb80982017-07-12 20:34:511019const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1020const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511021
Lei Zhang2eca9082017-10-17 20:42:501022const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1023const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511024 "If enabled, the Incognito New Tab page uses the new material design with "
1025 "a better readable text.";
1026
spqchanb87755692018-04-05 00:46:091027const char kMediaRouterCastAllowAllIPsName[] =
1028 "Connect to Cast devices on all IP addresses";
1029const char kMediaRouterCastAllowAllIPsDescription[] =
1030 "Have the Media Router connect to Cast devices on all IP addresses, not "
1031 "just RFC1918/RFC4913 private addresses.";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kMemoryCoordinatorName[] = "Memory coordinator";
1034const char kMemoryCoordinatorDescription[] =
1035 "Enable memory coordinator instead of memory pressure listeners.";
1036
1037const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1038const char kMessageCenterNewStyleNotificationDescription[] =
1039 "Enables the experiment style of material-design notification";
1040
Brett Wilsonecb80982017-07-12 20:34:511041const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1042const char kMhtmlGeneratorOptionDescription[] =
1043 "Provides experimental options for MHTML file generator.";
1044const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1045const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1046
Kouhei Ueno08445c22017-09-05 03:58:301047const char kModuleScriptsDynamicImportName[] =
1048 "Enable ECMAScript 6 modules dynamic import";
1049const char kModuleScriptsDynamicImportDescription[] =
1050 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1051 "Blink.";
1052
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051053const char kModuleScriptsImportMetaUrlName[] =
1054 "Enable ECMAScript 6 modules import.meta.url";
1055const char kModuleScriptsImportMetaUrlDescription[] =
1056 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1057 "Blink.";
1058
Brett Wilsonecb80982017-07-12 20:34:511059const char kNewAudioRenderingMixingStrategyName[] =
1060 "New audio rendering mixing strategy";
1061const char kNewAudioRenderingMixingStrategyDescription[] =
1062 "Use the new audio rendering mixing strategy.";
1063
1064const char kNewBookmarkAppsName[] = "The new bookmark app system";
1065const char kNewBookmarkAppsDescription[] =
1066 "Enables the new system for creating bookmark apps.";
1067
Vadym Doroshenkof81e8bb2018-04-18 14:35:241068const char kNewPasswordFormParsingName[] = "New password form parsing";
1069const char kNewPasswordFormParsingDescription[] =
1070 "Replaces existing form parsing in password manager with a new version, "
1071 "currently under development. WARNING: when enabled Password Manager might "
1072 "stop working";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kNewRemotePlaybackPipelineName[] =
1075 "Enable the new remote playback pipeline.";
1076const char kNewRemotePlaybackPipelineDescription[] =
1077 "Enable the new pipeline for playing media element remotely via "
1078 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501079const char kUseSurfaceLayerForVideoName[] =
1080 "Enable the use of SurfaceLayer objects for videos.";
1081const char kUseSurfaceLayerForVideoDescription[] =
1082 "Enable compositing onto a Surface instead of a VideoLayer "
1083 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511084
1085const char kNewUsbBackendName[] = "Enable new USB backend";
1086const char kNewUsbBackendDescription[] =
1087 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341088
Sonny Sasaka2d200432018-03-22 17:43:161089const char kNewblueName[] = "Newblue";
1090const char kNewblueDescription[] =
1091 "Enables the use of newblue Bluetooth daemon.";
1092
Egor Pasko6fed3822018-05-30 10:33:141093const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341094const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141095 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341096
Alex Newcomerd7b0cc42018-05-25 22:58:481097const char kNotificationIndicatorName[] = "Notification Indicators";
1098const char kNotificationIndicatorDescription[] =
1099 "Enable notification indicators, which appear on app icons when a "
1100 "notification is active. This will also enable notifications in context "
1101 "menus.";
1102
Brett Wilsonecb80982017-07-12 20:34:511103const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1104const char kNotificationsNativeFlagDescription[] =
1105 "Enable support for using the native notification toasts and notification "
1106 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341107
Zentaro Kavanaghbad511c2017-10-18 22:29:001108#if defined(OS_POSIX)
1109const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1110const char kNtlmV2EnabledDescription[] =
1111 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1112#endif
1113
Ramya Nagarajane9f16b82018-05-03 01:05:341114const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1115const char kNtpBackgroundsDescription[] =
1116 "Allow selection of a custom background image on the New Tab Page.";
1117
1118const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1119const char kNtpIconsDescription[] =
1120 "Show custom link icons on the New Tab Page, instead of Most Visited "
1121 "tiles.";
1122
1123const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1124const char kNtpUIMdDescription[] =
1125 "Updates the New Tab Page with Material Design elements.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kNumRasterThreadsName[] = "Number of raster threads";
1128const char kNumRasterThreadsDescription[] =
1129 "Specify the number of raster threads.";
1130const char kNumRasterThreadsOne[] = "1";
1131const char kNumRasterThreadsTwo[] = "2";
1132const char kNumRasterThreadsThree[] = "3";
1133const char kNumRasterThreadsFour[] = "4";
1134
1135const char kOfferStoreUnmaskedWalletCardsName[] =
1136 "Google Payments card saving checkbox";
1137const char kOfferStoreUnmaskedWalletCardsDescription[] =
1138 "Show the checkbox to offer local saving of a credit card downloaded from "
1139 "the server.";
1140
1141const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1142const char kOfflineAutoReloadDescription[] =
1143 "Pages that fail to load while the browser is offline will be "
1144 "auto-reloaded when the browser is online again.";
1145
1146const char kOfflineAutoReloadVisibleOnlyName[] =
1147 "Only Auto-Reload Visible Tabs";
1148const char kOfflineAutoReloadVisibleOnlyDescription[] =
1149 "Pages that fail to load while the browser is offline will only be "
1150 "auto-reloaded if their tab is visible.";
1151
Brett Wilsonecb80982017-07-12 20:34:511152const char kOmniboxDisplayTitleForCurrentUrlName[] =
1153 "Include title for the current URL in the omnibox";
1154const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1155 "In the event that the omnibox provides suggestions on-focus, the URL of "
1156 "the current page is provided as the first suggestion without a title. "
1157 "Enabling this flag causes the title to be displayed.";
1158
Benoit Lizeab08362c2017-07-19 14:50:541159const char kOmniboxSpareRendererName[] =
1160 "Start spare renderer on omnibox focus";
1161const char kOmniboxSpareRendererDescription[] =
1162 "When the omnibox is focused, start an empty spare renderer. This can "
1163 "speed up the load of the navigation from the omnibox.";
1164
Tommy C. Li8875a442017-08-23 00:10:591165const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1166 "Omnibox UI Elide Suggestion URL After Host";
1167const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1168 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1169 "dropdown.";
1170
Tommy C. Lid79d4402017-12-22 22:49:121171const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1172 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1173const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1174 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221175 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1176 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121177
Brett Wilsonecb80982017-07-12 20:34:511178const char kOmniboxUIMaxAutocompleteMatchesName[] =
1179 "Omnibox UI Max Autocomplete Matches";
1180
1181const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1182 "Changes the maximum number of autocomplete matches displayed in the "
1183 "Omnibox UI.";
1184
Justin Donnelly65c9e8b2017-10-01 05:15:011185const char kOmniboxUIShowSuggestionFaviconsName[] =
1186 "Omnibox UI Show Suggestion Favicons";
1187const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1188 "Shows favicons instead of generic vector icons for URL suggestions in the "
1189 "Omnibox dropdown.";
1190
1191const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1192const char kOmniboxUISwapTitleAndUrlDescription[] =
1193 "In the omnibox dropdown, shows titles before URLs when both are "
1194 "available.";
1195
Brett Wilsonecb80982017-07-12 20:34:511196const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1197const char kOmniboxUIVerticalMarginDescription[] =
1198 "Changes the vertical margin in the Omnibox UI.";
1199
Troy Hildebrandtb32637ca2018-02-21 23:25:091200const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1201 "Omnibox Voice Search Always Visible";
1202const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1203 "Always displays voice search icon in focused omnibox as long as voice "
1204 "search is possible";
1205
Adrienne Walkerc87477e2018-06-06 22:28:211206const char kOopRasterizationName[] = "Out of process rasterization";
1207const char kOopRasterizationDescription[] =
1208 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1209 "Must also enable GPU rasterization";
1210
Brett Wilsonecb80982017-07-12 20:34:511211const char kOriginTrialsName[] = "Origin Trials";
1212const char kOriginTrialsDescription[] =
1213 "Enables origin trials for controlling access to feature/API experiments.";
1214
Becca Hughes930d8cd2017-10-02 11:09:121215const char kOverflowIconsForMediaControlsName[] =
1216 "Icons on Media Controls Overflow Menu";
1217const char kOverflowIconsForMediaControlsDescription[] =
1218 "Displays icons on the overflow menu of the native media controls";
1219
Brett Wilsonecb80982017-07-12 20:34:511220const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1221const char kOverlayScrollbarsDescription[] =
1222 "Enable the experimental overlay scrollbars implementation. You must also "
1223 "enable threaded compositing to have the scrollbars animate.";
1224
chaopenge8aa016b2017-08-24 15:20:191225const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1226 "Flash Overlay Scrollbars After Any Scroll Update";
1227const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1228 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1229 " must also enable Overlay Scrollbars.";
1230
chaopeng343678022017-08-24 18:45:001231const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1232 "Flash Overlay Scrollbars When Mouse Enter";
1233const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1234 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1235 " enable Overlay Scrollbars.";
1236
Daniele Castagna74ddb9c2018-06-21 22:59:021237const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1238const char kOverlayStrategiesDescription[] =
1239 "Select strategies used to promote quads to HW overlays.";
1240const char kOverlayStrategiesDefault[] = "Default";
1241const char kOverlayStrategiesNone[] = "None";
1242const char kOverlayStrategiesUnoccludedFullscreen[] =
1243 "Unoccluded fullscreen buffers (single-fullscreen)";
1244const char kOverlayStrategiesUnoccluded[] =
1245 "Unoccluded buffers (single-fullscreen,single-on-top)";
1246const char kOverlayStrategiesOccludedAndUnoccluded[] =
1247 "Occluded and unoccluded buffers "
1248 "(single-fullscreen,single-on-top,underlay)";
1249
Claudio Magni81326f92017-09-01 05:21:181250const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1251const char kUseNewAcceptLanguageHeaderDescription[] =
1252 "Adds the base language code after other corresponding language+region "
1253 "codes. This ensures that users receive content in their preferred "
1254 "language.";
1255
Brett Wilsonecb80982017-07-12 20:34:511256const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1257const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481258 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511259const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481260const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511261
1262const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1263const char kOverscrollStartThresholdDescription[] =
1264 "Changes overscroll start threshold relative to the default value.";
1265const char kOverscrollStartThreshold133Percent[] = "133%";
1266const char kOverscrollStartThreshold166Percent[] = "166%";
1267const char kOverscrollStartThreshold200Percent[] = "200%";
1268
chaopenge2b6e5f2018-05-08 16:40:451269const char kTouchpadOverscrollHistoryNavigationName[] =
1270 "Overscroll history navigation on Touchpad";
1271const char kTouchpadOverscrollHistoryNavigationDescription[] =
1272 "Allows swipe left/right from touchpad change browser navigation.";
1273
Xing Liu5400a002017-09-15 21:48:291274const char kParallelDownloadingName[] = "Parallel downloading";
1275const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061276 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291277
Brett Wilsonecb80982017-07-12 20:34:511278const char kPassiveEventListenerDefaultName[] =
1279 "Passive Event Listener Override";
1280const char kPassiveEventListenerDefaultDescription[] =
1281 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1282 "haven't requested otherwise) to be treated as passive. This will break "
1283 "touch/wheel behavior on some websites but is useful for demonstrating the "
1284 "potential performance benefits of adopting passive event listeners.";
1285const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1286const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1287
1288const char kPassiveEventListenersDueToFlingName[] =
1289 "Touch Event Listeners Passive Default During Fling";
1290const char kPassiveEventListenersDueToFlingDescription[] =
1291 "Forces touchstart, and first touchmove per scroll event listeners during "
1292 "fling to be treated as passive.";
1293
1294const char kPassiveDocumentEventListenersName[] =
1295 "Document Level Event Listeners Passive Default";
1296const char kPassiveDocumentEventListenersDescription[] =
1297 "Forces touchstart, and touchmove event listeners on document level "
1298 "targets (which haven't requested otherwise) to be treated as passive.";
1299
1300const char kPasswordForceSavingName[] = "Force-saving of passwords";
1301const char kPasswordForceSavingDescription[] =
1302 "Allow the user to manually enforce password saving instead of relying on "
1303 "password manager's heuristics.";
1304
Vaclav Brozekd8a3f542017-11-16 14:21:131305const char kPasswordExportName[] = "Password export";
1306const char kPasswordExportDescription[] =
1307 "Export functionality in password settings.";
1308
1309const char kPasswordImportName[] = "Password import";
1310const char kPasswordImportDescription[] =
1311 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511312
Friedrich Horschig03c91982018-01-25 14:21:281313const char kPasswordSearchMobileName[] = "Password search";
1314const char kPasswordSearchMobileDescription[] =
1315 "Search functionality in password settings.";
1316
Friedrich Horschige6c27742018-04-23 17:13:411317const char kPasswordsKeyboardAccessoryName[] =
1318 "Add password-related functions to keyboard accessory";
1319const char kPasswordsKeyboardAccessoryDescription[] =
1320 "Adds password generation button and toggle for the passwords bottom sheet "
1321 "to the keyboard accessory. Replaces password generation popups.";
1322
Tom Sepez92a2cd242018-03-13 19:23:091323const char kPdfIsolationName[] = "PDF Isolation";
1324const char kPdfIsolationDescription[] =
1325 "Render PDF files from different origins in different plugin processes.";
1326
Brett Wilsonecb80982017-07-12 20:34:511327const char kPinchScaleName[] = "Pinch scale";
1328const char kPinchScaleDescription[] =
1329 "Enables experimental support for scale using pinch.";
1330
Doug Arnett620ff542018-02-06 17:54:221331const char kPreviewsAllowedName[] = "Previews Allowed";
1332const char kPreviewsAllowedDescription[] =
1333 "Allows previews to be shown subject to specific preview types being "
1334 "enabled and the client experiencing specific triggering conditions. "
1335 "May be used as a kill-switch to turn off all potential preview types.";
1336
Brett Wilsonecb80982017-07-12 20:34:511337const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1338const char kPrintPdfAsImageDescription[] =
1339 "If enabled, an option to print PDF files as images will be available in "
1340 "print preview.";
1341
1342const char kPrintPreviewRegisterPromosName[] =
1343 "Print Preview Registration Promos";
1344const char kPrintPreviewRegisterPromosDescription[] =
1345 "Enable registering unregistered cloud printers from print preview.";
1346
1347const char kProtectSyncCredentialName[] = "Autofill sync credential";
1348const char kProtectSyncCredentialDescription[] =
1349 "How the password manager handles autofill for the sync credential.";
1350
1351const char kProtectSyncCredentialOnReauthName[] =
1352 "Autofill sync credential only for transactional reauth pages";
1353const char kProtectSyncCredentialOnReauthDescription[] =
1354 "How the password manager handles autofill for the sync credential only "
1355 "for transactional reauth pages.";
1356
Mohsen Izadi93faac12017-07-29 04:45:151357const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1358const char kPullToRefreshDescription[] =
1359 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011360const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151361
Troy Hildebrandt7228ad12018-02-23 21:18:241362const char kQueryInOmniboxName[] = "Query in Omnibox";
1363const char kQueryInOmniboxDescription[] =
1364 "Only display query terms in the omnibox when viewing a search results "
1365 "page.";
1366
Brett Wilsonecb80982017-07-12 20:34:511367const char kQuicName[] = "Experimental QUIC protocol";
1368const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1369
Emily Starke8878d52018-05-11 21:27:261370const char kRecurrentInterstitialName[] =
1371 "Show a message when the same SSL error recurs";
1372const char kRecurrentInterstitialDescription[] =
1373 "Enable a special message on the SSL certificate error page when the same "
1374 "SSL error occurs repeatedly.";
1375
Brett Wilsonecb80982017-07-12 20:34:511376const char kReducedReferrerGranularityName[] =
1377 "Reduce default 'referer' header granularity.";
1378const char kReducedReferrerGranularityDescription[] =
1379 "If a page hasn't set an explicit referrer policy, setting this flag will "
1380 "reduce the amount of information in the 'referer' header for cross-origin "
1381 "requests.";
1382
Claudio Magnie0a80bb2018-01-31 02:52:581383extern const char kRegionalLocalesAsDisplayUIName[] =
1384 "Allow regional locales as display UI";
1385extern const char kRegionalLocalesAsDisplayUIDescription[] =
1386 "This flag allows regional locales to be selected as display UI by the "
1387 "user in Language Settings. The actual locale of the system is derived "
1388 "from the user selection based on some simple fallback logic.";
1389
Christian Dullweber1af31e62018-02-22 11:49:481390const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141391 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481392const char kRemoveNavigationHistoryDescription[] =
1393 "Remove a navigation entry when the corresponding history entry has been "
1394 "deleted.";
1395
Mihai Sardarescu6d0f5b72017-10-30 11:24:381396const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1397 "Remove usage of the deprecated GAIA sign-in endpoint";
1398const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1399 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1400 "This flags controls wheter it should no longer be used during a sign-in "
1401 " flow.";
1402
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351403const char kRendererSideResourceSchedulerName[] =
1404 "Renderer side ResourceScheduler";
1405const char kRendererSideResourceSchedulerDescription[] =
1406 "Migrate some ResourceScheduler functionalities to renderer";
1407
Brett Wilsonecb80982017-07-12 20:34:511408const char kRequestTabletSiteName[] =
1409 "Request tablet site option in the settings menu";
1410const char kRequestTabletSiteDescription[] =
1411 "Allows the user to request tablet site. Web content is often optimized "
1412 "for tablet devices. When this option is selected the user agent string is "
1413 "changed to indicate a tablet device. Web content optimized for tablets is "
1414 "received there after for the current tab.";
1415
1416const char kResetAppListInstallStateName[] =
1417 "Reset the App Launcher install state on every restart.";
1418const char kResetAppListInstallStateDescription[] =
1419 "Reset the App Launcher install state on every restart. While this flag is "
1420 "set, Chrome will forget the launcher has been installed each time it "
1421 "starts. This is used for testing the App Launcher install flow.";
1422
Kinuko Yasuda33955082018-06-19 10:14:591423const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511424const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591425 "Uses the resource load scheduler in blink to throttle resource load "
1426 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511427
Brett Wilsonecb80982017-07-12 20:34:511428const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1429const char kSafeSearchUrlReportingDescription[] =
1430 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1431
Alexei Filippov98772752018-01-27 08:26:521432const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1433const char kSamplingHeapProfilerDescription[] =
1434 "Enables native memory sampling profiler with specified rate in KiB. "
1435 "If sampling rate is not provided the default value of 128 KiB is used.";
1436
Brett Wilsonecb80982017-07-12 20:34:511437const char kSaveasMenuLabelExperimentName[] =
1438 "Switch 'Save as' menu labels to 'Download'";
1439const char kSaveasMenuLabelExperimentDescription[] =
1440 "Enables an experiment to switch menu labels that use 'Save as...' to "
1441 "'Download'.";
1442
1443const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1444const char kSavePageAsMhtmlDescription[] =
1445 "Enables saving pages as MHTML: a single text file containing HTML and all "
1446 "sub-resources.";
1447
Nate Chapin9638e7102017-09-20 22:11:011448const char kSavePreviousDocumentResourcesName[] =
1449 "Save Previous Document Resources";
1450const char kSavePreviousDocumentResourcesDescription[] =
1451 "Saves an old document's cached resources until the specified point in the "
1452 "next document's lifecycle.";
1453const char kSavePreviousDocumentResourcesNever[] =
1454 "Don't explicitly save resources";
1455const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1456 "Save resources until onDOMContentLoaded completes";
1457const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1458 "Save resources until onload completes";
1459
Brett Wilsonecb80982017-07-12 20:34:511460const char kScrollPredictionName[] = "Scroll prediction";
1461const char kScrollPredictionDescription[] =
1462 "Predicts the finger's future position during scrolls allowing time to "
1463 "render the frame before the finger is there.";
1464
1465const char kSecondaryUiMd[] =
1466 "Material Design in the rest of the browser's native UI";
1467const char kSecondaryUiMdDescription[] =
1468 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1469 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341470 "browser dialogs. If --top-chrome-md is effectively Material Design "
1471 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511472
1473const char kServiceWorkerNavigationPreloadName[] =
1474 "Service worker navigation preload.";
1475const char kServiceWorkerNavigationPreloadDescription[] =
1476 "Enable web pages to use the experimental service worker navigation "
1477 "preload API.";
1478
gogeraldd5061b592017-09-06 23:39:551479const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1480const char kServiceWorkerPaymentAppsDescription[] =
1481 "Enable Service Worker applications to integrate as payment apps";
1482
Makoto Shimazu22078cc2018-02-21 03:01:441483extern const char kServiceWorkerServicificationName[] =
1484 "Servicified service workers";
1485extern const char kServiceWorkerServicificationDescription[] =
1486 "Enable the servicified service workers. A servicified service worker can "
1487 "have direct connection from its clients, so that fetch events can be "
1488 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171489
Tsuyoshi Horobcb1c642017-11-24 16:32:141490const char kServiceWorkerScriptFullCodeCacheName[] =
1491 "Service worker script full code cache.";
1492const char kServiceWorkerScriptFullCodeCacheDescription[] =
1493 "Generate V8 full code cache of Service Worker scripts while installing.";
1494
Brett Wilsonecb80982017-07-12 20:34:511495const char kSettingsWindowName[] = "Show settings in a window";
1496const char kSettingsWindowDescription[] =
1497 "Settings will be shown in a dedicated window instead of as a browser tab.";
1498
Manu Cornetd7ef7c52018-05-01 22:08:231499const char kShelfHoverPreviewsName[] =
1500 "Show previews of running apps when hovering over the shelf.";
1501const char kShelfHoverPreviewsDescription[] =
1502 "Shows previews of the open windows for a given running app when hovering "
1503 "over the shelf.";
1504
Trent Apted750ba7022017-10-23 13:36:251505const char kShowAllDialogsWithViewsToolkitName[] =
1506 "Show all dialogs with Views toolkit";
1507const char kShowAllDialogsWithViewsToolkitDescription[] =
1508 "All browser dialogs will be shown using the Views toolkit rather than "
1509 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1510
Naoki Fukino008a0022018-05-23 18:33:001511const char kShowAndroidFilesInFilesAppName[] =
1512 "Show Android files in Files app";
1513const char kShowAndroidFilesInFilesAppDescription[] =
1514 "Show Android files in Files app if Android is enabled on the device.";
1515
Luciano Pachecof1beaa82018-05-30 04:48:511516const char kFilesAppNewStyleNavigationName[] =
1517 "Use new-style navigation in the Files app";
1518const char kFilesAppNewStyleNavigationDescription[] =
1519 "Enables the new-style navigation in the Files app, which displays a "
1520 R"("My Files" root for Downloads, Linux and Play files)";
1521
Brett Wilsonecb80982017-07-12 20:34:511522const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1523const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381524 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1525 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511526
1527const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1528const char kShowAutofillTypePredictionsDescription[] =
1529 "Annotates web forms with Autofill field type predictions as placeholder "
1530 "text.";
1531
1532const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1533const char kShowOverdrawFeedbackDescription[] =
1534 "Visualize overdraw by color-coding elements based on if they have other "
1535 "elements drawn underneath.";
1536
Carlos IL89128732018-04-03 17:00:251537const char kSupervisedUserCommittedInterstitialsName[] =
1538 "Enable Supervised User Committed Interstitials";
1539const char kSupervisedUserCommittedInterstitialsDescription[] =
1540 "Use committed error pages instead of transient navigation entries for "
1541 "supervised user interstitials";
1542
yiyixbdfa9a0b2017-10-23 22:21:471543const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1544const char kEnableDrawOcclusionDescription[] =
1545 "Enable the system to use draw occlusion to skip draw quads when they are "
1546 "not shown on the screen.";
1547
Brett Wilsonecb80982017-07-12 20:34:511548const char kShowSavedCopyName[] = "Show Saved Copy Button";
1549const char kShowSavedCopyDescription[] =
1550 "When a page fails to load, if a stale copy of the page exists in the "
1551 "browser cache, a button will be presented to allow the user to load that "
1552 "stale copy. The primary enabling choice puts the button in the most "
1553 "salient position on the error page; the secondary enabling choice puts it "
1554 "secondary to the reload button.";
1555const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1556const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1557const char kDisableShowSavedCopy[] = "Disable";
1558
Brett Wilsonecb80982017-07-12 20:34:511559const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1560const char kSilentDebuggerExtensionApiDescription[] =
1561 "Do not show the infobar when an extension attaches to a page via "
1562 "chrome.debugger API. This is required to debug extension background "
1563 "pages.";
1564
Tsuyoshi Horo53895ba92018-03-14 04:06:481565const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1566const char kSignedHTTPExchangeDescription[] =
1567 "Enables Origin-Signed HTTP Exchanges support which is still in "
1568 "development. Warning: Enabling this may pose a security risk.";
1569
Brett Wilsonecb80982017-07-12 20:34:511570const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1571const char kSimpleCacheBackendDescription[] =
1572 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1573 "disk space allocation.";
1574
Christopher Thompson75ff845d2018-02-01 20:12:461575const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1576const char kSimplifyHttpsIndicatorDescription[] =
1577 "Change the UI treatment for HTTPS pages.";
1578
Brett Wilsonecb80982017-07-12 20:34:511579const char kSingleClickAutofillName[] = "Single-click autofill";
1580const char kSingleClickAutofillDescription[] =
1581 "Make autofill suggestions on initial mouse click on a form element.";
1582
Nick Carter855bc492018-03-10 00:44:571583const char kStrictSiteIsolationName[] = "Strict site isolation";
1584const char kStrictSiteIsolationDescription[] =
1585 "Security mode that enables site isolation for all sites. When enabled, "
1586 "each renderer process will contain pages from at most one site, using "
1587 "out-of-process iframes when needed. When enabled, this flag forces the "
1588 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1589 "isolation mode will be determined by enterprise policy or field trial.";
1590
1591const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1592const char kSiteIsolationTrialOptOutDescription[] =
1593 "Opts out of field trials that enable site isolation modes "
1594 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1595 "may be due to out-of-process iframes. Opt-out has no effect if site "
1596 "isolation is force-enabled via #enable-site-per-process or enterprise "
1597 "policy. Caution: this disables important mitigations for the Spectre CPU "
1598 "vulnerability affecting most computers.";
1599extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1600extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1601 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511602
Pattideade7972018-04-27 02:59:401603const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511604const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401605 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511606
Brett Wilsonecb80982017-07-12 20:34:511607const char kSmoothScrollingName[] = "Smooth Scrolling";
1608const char kSmoothScrollingDescription[] =
1609 "Animate smoothly when scrolling page content.";
1610
1611const char kSoftwareRasterizerName[] = "3D software rasterizer";
1612const char kSoftwareRasterizerDescription[] =
1613 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1614
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201615const char kSoleIntegrationName[] = "Sole integration";
1616const char kSoleIntegrationDescription[] =
1617 "Enable Sole integration for browser customization. You must restart "
1618 "the browser twice for changes to take effect.";
1619
Tommy Steimel77704be2017-08-28 22:14:401620const char kSoundContentSettingName[] = "Sound content setting";
1621const char kSoundContentSettingDescription[] =
1622 "Enable site-wide muting in content settings and tab strip context menu.";
1623
Alexandr Ilinf0500ed32017-09-27 21:12:361624const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1625const char kSpeculativePreconnectDescription[] =
1626 "Enable the new implementation of preconnect and DNS preresolve. "
1627 "\"Learning\" means that only database construction is enabled, "
1628 "\"Preconnect\" enables both learning and preconnect and disables the "
1629 "existing implementation. \"No preconnect\" disables both implementations.";
1630
Brett Wilsonecb80982017-07-12 20:34:511631const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341632const char kSpeculativePrefetchDescription[] =
1633 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1634 R"*(load times, based on a local database (see chrome://predictors). )*"
1635 R"*("Learning" means that only the database construction is enabled, )*"
1636 R"*("Prefetching" that learning and prefetching are enabled.)*";
1637
Justin Donnelly4e448cb2017-07-07 21:32:131638const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1639 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131640const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1641 "If enabled, when the user enters text in the omnibox that looks like a "
1642 "a query, any service worker associated with the search engine the query "
1643 "will be sent to is started early.";
1644
Brett Wilsonecb80982017-07-12 20:34:511645const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1646const char kSpellingFeedbackFieldTrialDescription[] =
1647 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401648
Shubhie Panickerfaf082ed2018-01-03 04:49:151649const char kStopInBackgroundName[] = "Stop in background";
1650const char kStopInBackgroundDescription[] =
1651 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281652 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151653
1654const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1655const char kStopLoadingInBackgroundDescription[] =
1656 "Stop loading tasks and loading "
1657 "resources, in the background, after certain grace time.";
1658
Shubhie Panicker56c99a22018-03-21 00:22:281659const char kStopNonTimersInBackgroundName[] =
1660 "Stop non-timer task queues background";
1661const char kStopNonTimersInBackgroundDescription[] =
1662 "Stop non-timer task queues, in the background, "
1663 "after a grace period.";
1664
Brett Wilsonecb80982017-07-12 20:34:511665const char kSuggestionsWithSubStringMatchName[] =
1666 "Substring matching for Autofill suggestions";
1667const char kSuggestionsWithSubStringMatchDescription[] =
1668 "Match Autofill suggestions based on substrings (token prefixes) rather "
1669 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341670
Brett Wilsonecb80982017-07-12 20:34:511671const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1672const char kSyncSandboxDescription[] =
1673 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341674
Joe Downing8cbbc192018-05-14 17:37:071675const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1676const char kSystemKeyboardLockDescription[] =
1677 "Enables websites to use the keyboard.lock() API to intercept system "
1678 "keyboard shortcuts and have the events routed directly to the website "
1679 "when in fullscreen mode.";
1680
Brett Wilsonecb80982017-07-12 20:34:511681const char kTabAudioMutingName[] = "Tab audio muting UI control";
1682const char kTabAudioMutingDescription[] =
1683 "When enabled, the audio indicators in the tab strip double as tab audio "
1684 "mute controls. This also adds commands in the tab context menu for "
1685 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341686
Christian Dullweberd0d96f02017-09-13 09:22:511687const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1688const char kTabsInCbdDescription[] =
1689 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1690
Becky Zhou99c22802017-10-19 05:09:271691const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1692const char kTabModalJsDialogDescription[] =
1693 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1694 " tab.";
1695
Brett Wilsonecb80982017-07-12 20:34:511696const char kTcpFastOpenName[] = "TCP Fast Open";
1697const char kTcpFastOpenDescription[] =
1698 "Enable the option to send extra authentication information in the initial "
1699 "SYN packet for a previously connected client, allowing faster data send "
1700 "start.";
vabr0215a8e2017-03-28 12:47:341701
Daniele Castagna0fead93e2018-01-10 20:40:291702const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1703const char kTintGlCompositedContentDescription[] =
1704 "Tint contents composited using GL with a shade of red to help debug and "
1705 "study overlay support.";
1706
Brett Wilsonecb80982017-07-12 20:34:511707const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1708const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581709 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401710 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431711 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341712 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541713 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511714const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531715const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461716const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581717const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401718const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431719const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341720
Brett Wilsonecb80982017-07-12 20:34:511721const char kThreadedScrollingName[] = "Threaded scrolling";
1722const char kThreadedScrollingDescription[] =
1723 "Threaded handling of scroll-related input events. Disabling this will "
1724 "force all such scroll events to be handled on the main thread. Note that "
1725 "this can dramatically hurt scrolling performance of most websites and is "
1726 "intended for testing purposes only.";
1727
Steven Valdez4584b2482017-07-14 01:11:571728const char kTLS13VariantName[] = "TLS 1.3";
1729const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1730const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111731const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041732const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381733const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571734
Brett Wilsonecb80982017-07-12 20:34:511735const char kTopDocumentIsolationName[] = "Top document isolation";
1736const char kTopDocumentIsolationDescription[] =
1737 "Highly experimental performance mode where cross-site iframes are kept in "
1738 "a separate process from the top document. In this mode, iframes from "
1739 "different third-party sites will be allowed to share a process.";
1740
Dominick Ng8896b1cd2017-10-17 23:24:361741const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1742const char kTopSitesFromSiteEngagementDescription[] =
1743 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1744 "engagement.";
1745
Brett Wilsonecb80982017-07-12 20:34:511746const char kTouchAdjustmentName[] = "Touch adjustment";
1747const char kTouchAdjustmentDescription[] =
1748 "Refine the position of a touch gesture in order to compensate for touches "
1749 "having poor resolution compared to a mouse.";
1750
Alex Newcomerb3d3c972018-05-03 14:59:401751const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1752const char kTouchableAppContextMenuDescription[] =
1753 "Enable the touchable app context menu, which enlarges app context menus "
1754 "in the Launcher and Shelf to make room for new features.";
1755
Brett Wilsonecb80982017-07-12 20:34:511756const char kTouchDragDropName[] = "Touch initiated drag and drop";
1757const char kTouchDragDropDescription[] =
1758 "Touch drag and drop can be initiated through long press on a draggable "
1759 "element.";
1760
1761const char kTouchEventsName[] = "Touch Events API";
1762const char kTouchEventsDescription[] =
1763 "Force Touch Events API feature detection to always be enabled or "
1764 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291765 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511766
1767const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1768const char kTouchSelectionStrategyDescription[] =
1769 "Controls how text selection granularity changes when touch text selection "
1770 "handles are dragged. Non-default behavior is experimental.";
1771const char kTouchSelectionStrategyCharacter[] = "Character";
1772const char kTouchSelectionStrategyDirection[] = "Direction";
1773
1774const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1775const char kTraceUploadUrlDescription[] =
1776 "This is to be used in conjunction with the enable-navigation-tracing "
1777 "flag. Please select the label that best describes the recorded traces. "
1778 "This will choose the destination the traces are uploaded to. If you are "
1779 "not sure, select other. If left empty, no traces will be uploaded.";
1780const char kTraceUploadUrlChoiceOther[] = "Other";
1781const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1782const char kTraceUploadUrlChoiceQa[] = "QA";
1783const char kTraceUploadUrlChoiceTesting[] = "Testing";
1784
Anthony Vallee-Dubois265c5692018-06-01 15:57:141785const char kTranslateForceTriggerOnEnglishName[] =
1786 "Select which language model to use to trigger translate on English "
1787 "content";
1788const char kTranslateForceTriggerOnEnglishDescription[] =
1789 "Force the Translate Triggering on English pages experiment to be enabled "
1790 "with the selected language model active.";
1791
Philippe Hamel7fdaa452017-09-29 17:22:491792const char kTranslateRankerEnforcementName[] =
1793 "Enforce TranslateRanker decisions";
1794const char kTranslateRankerEnforcementDescription[] =
1795 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1796 "or not Translate UI should be triggered in a given context.";
1797
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161798const char kTranslateUIName[] = "Enable Translate";
1799const char kTranslateUIDescription[] =
1800 "Enable the Translate popup when visiting webpages in other languages.";
1801
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051802const char kTreatInsecureOriginAsSecureName[] =
1803 "Insecure origins treated as secure";
1804const char kTreatInsecureOriginAsSecureDescription[] =
1805 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1806 "supplied as a comma-separated list. For the definition of secure "
1807 "contexts, "
1808 "see https://w3c.github.io/webappsec-secure-contexts/";
1809
Brett Wilsonecb80982017-07-12 20:34:511810const char kTrySupportedChannelLayoutsName[] =
1811 "Causes audio output streams to check if channel layouts other than the "
1812 "default hardware layout are available.";
1813const char kTrySupportedChannelLayoutsDescription[] =
1814 "Causes audio output streams to check if channel layouts other than the "
1815 "default hardware layout are available. Turning this on will allow the OS "
1816 "to do stereo to surround expansion if supported. May expose third party "
1817 "driver bugs, use with caution.";
1818
David Roger6762a092018-01-31 15:55:071819const char kUnifiedConsentName[] = "Unified Consent";
1820const char kUnifiedConsentDescription[] =
1821 "Enables a unified management of user consent for privacy-related "
1822 "features. This includes new confirmation screens and improved settings "
1823 "pages.";
1824
Brett Wilsonecb80982017-07-12 20:34:511825const char kUiPartialSwapName[] = "Partial swap";
1826const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1827
Chris Pickel3a227ae62017-08-24 10:47:261828const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1829const char kUseDdljsonApiDescription[] =
1830 "Enables the new ddljson API to fetch Doodles for the NTP.";
1831
Becca Hughes59c05b42017-11-03 13:11:581832const char kUseModernMediaControlsName[] = "New Media Controls";
1833const char kUseModernMediaControlsDescription[] =
1834 "Enables the new style native media controls.";
1835
Wei Li790e7a8572018-03-23 01:31:551836const char kUsePdfCompositorServiceName[] =
1837 "Use PDF compositor service for printing";
1838const char kUsePdfCompositorServiceDescription[] =
1839 "When enabled, use PDF compositor service to composite and generate PDF "
1840 "files for printing. When site isolation is enabled, disabling this will "
1841 "not stop using PDF compositor service since the service is required for "
1842 "printing out-of-process iframes correctly.";
1843
Mustaq Ahmedc646c0a2017-10-20 20:08:301844const char kUserActivationV2Name[] = "User Activation v2";
1845const char kUserActivationV2Description[] =
1846 "Enable simple user activation for APIs that are otherwise controlled by "
1847 "user gesture tokens.";
1848
Brett Wilsonecb80982017-07-12 20:34:511849const char kUserConsentForExtensionScriptsName[] =
1850 "User consent for extension scripts";
1851const char kUserConsentForExtensionScriptsDescription[] =
1852 "Require user consent for an extension running a script on the page, if "
1853 "the extension requested permission to run on all urls.";
1854
1855const char kUseSuggestionsEvenIfFewFeatureName[] =
1856 "Disable minimum for server-side tile suggestions on NTP.";
1857const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1858 "Request server-side suggestions even if there are only very few of them "
1859 "and use them for tiles on the New Tab Page.";
1860
1861const char kV8CacheOptionsName[] = "V8 caching mode.";
1862const char kV8CacheOptionsDescription[] =
1863 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511864const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1865
Hitoshi Yoshida3e5db562017-09-11 02:31:081866const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1867const char kV8ContextSnapshotDescription[] =
1868 "Sets to use a snapshot to create V8 contexts in frame creation.";
1869
Michael Hablich896d52662017-10-23 15:59:571870const char kV8VmFutureName[] = "Future V8 VM features";
1871const char kV8VmFutureDescription[] =
1872 "This enables upcoming and experimental V8 VM features. "
1873 "This flag does not enable experimental JavaScript features.";
1874
Hannes Payer1130d5672018-06-05 07:37:311875const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1876const char kV8OrinocoDescription[] =
1877 "This enables the V8 Orinoco garbage collection features.";
1878
Brett Wilsonecb80982017-07-12 20:34:511879const char kVideoFullscreenOrientationLockName[] =
1880 "Lock screen orientation when playing a video fullscreen.";
1881const char kVideoFullscreenOrientationLockDescription[] =
1882 "Lock the screen orientation of the device to match video orientation when "
1883 "a video goes fullscreen. Only on phones.";
1884
1885const char kVideoRotateToFullscreenName[] =
1886 "Rotate-to-fullscreen gesture for videos.";
1887const char kVideoRotateToFullscreenDescription[] =
1888 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1889 "the video. Only on phones.";
1890
Elly Fong-Jonesf4c79502018-03-23 19:21:531891const char kViewsBrowserWindowsName[] =
1892 "Use Views browser windows instead of Cocoa.";
1893const char kViewsBrowserWindowsDescription[] =
1894 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1895
Brett Wilsonecb80982017-07-12 20:34:511896const char kWalletServiceUseSandboxName[] =
1897 "Use Google Payments sandbox servers";
1898const char kWalletServiceUseSandboxDescription[] =
1899 "For developers: use the sandbox service for Google Payments API calls.";
1900
Brett Wilsonecb80982017-07-12 20:34:511901const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1902const char kWebglDraftExtensionsDescription[] =
1903 "Enabling this option allows web applications to access the WebGL "
1904 "Extensions that are still in draft status.";
1905
1906const char kWebMidiName[] = "Web MIDI API";
1907const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1908
1909const char kWebPaymentsName[] = "Web Payments";
1910const char kWebPaymentsDescription[] =
1911 "Enable Web Payments API integration, a JavaScript API for merchants.";
1912
Mathieu Perreault51339b82017-07-20 17:06:051913const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1914const char kWebPaymentsModifiersDescription[] =
1915 "If the website provides modifiers in the payment request, show the custom "
1916 "total for each payment instrument, update the shopping cart when "
1917 "instruments are switched, and send modified payment method specific data "
1918 "to the payment app.";
1919
Brett Wilsonecb80982017-07-12 20:34:511920const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1921const char kWebrtcEchoCanceller3Description[] =
1922 "Experimental WebRTC echo canceller (AEC3).";
1923
1924const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1925const char kWebrtcHwDecodingDescription[] =
1926 "Support in WebRTC for decoding video streams using platform hardware.";
1927
1928const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1929const char kWebrtcHwEncodingDescription[] =
1930 "Support in WebRTC for encoding video streams using platform hardware.";
1931
1932const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1933const char kWebrtcHwH264EncodingDescription[] =
1934 "Support in WebRTC for encoding h264 video streams using platform "
1935 "hardware.";
1936
1937const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1938const char kWebrtcHwVP8EncodingDescription[] =
1939 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1940
Niels Möller090866a2018-02-13 10:55:031941const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1942 "WebRTC new encode cpu load estimator";
1943const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1944 "Enable new estimator for the encoder cpu load, for evaluation and "
1945 "testing. Intended to improve accuracy when screen casting.";
1946
Elad Alon85e0d0be2018-06-26 10:38:371947const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1948const char kWebRtcRemoteEventLogDescription[] =
1949 "Allow collecting WebRTC event logs and uploading them to Crash. "
1950 "Please note that, even if enabled, this will still require "
1951 "a policy to be set, for it to have an effect.";
1952
Brett Wilsonecb80982017-07-12 20:34:511953const char kWebrtcSrtpAesGcmName[] =
1954 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1955const char kWebrtcSrtpAesGcmDescription[] =
1956 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1957
Joachim Bauch4a41d7512017-08-23 14:24:231958const char kWebrtcSrtpEncryptedHeadersName[] =
1959 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1960const char kWebrtcSrtpEncryptedHeadersDescription[] =
1961 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1962 "for SRTP.";
1963
Brett Wilsonecb80982017-07-12 20:34:511964const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1965const char kWebrtcStunOriginDescription[] =
1966 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1967 "header.";
1968
Adam Riceed63fc02018-06-20 05:57:461969const char kWebSocketHandshakeReuseConnectionName[] =
1970 "Enable WebSocket connection reuse for authentication";
1971const char kWebSocketHandshakeReuseConnectionDescription[] =
1972 "Permits the WebSocket handshake to keep the connection open after an "
1973 "authentication failure. The connection may be used for further requests "
1974 "to send credentials. This is sometimes needed for Windows authentication.";
1975
Brett Wilsonecb80982017-07-12 20:34:511976const char kWebvrName[] = "WebVR";
1977const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011978 "Enables access to experimental Virtual Reality functionality via the "
1979 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1980 "Device API. Warning: Enabling this will also allow WebVR content on "
1981 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221982 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511983
Brandon Jonese9d9b2b2017-12-11 22:20:111984const char kWebXrName[] = "WebXR Device API";
1985const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011986 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1987 "and Augmented Reality (AR) devices.";
1988
1989const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1990const char kWebXrGamepadSupportDescription[] =
1991 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221992 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1993 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431994
1995const char kWebXrHitTestName[] = "WebXR Hit Test";
1996const char kWebXrHitTestDescription[] =
1997 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111998
Anna Maria57ecf7592018-01-12 03:10:401999const char kWebXrOrientationSensorDeviceName[] =
2000 "WebXR orientation sensor device";
2001const char kWebXrOrientationSensorDeviceDescription[] =
2002 "When no VR platform device is available, expose a non-presenting device "
2003 "based on the device's orientation sensors, if available.";
2004
Brett Wilsonecb80982017-07-12 20:34:512005const char kWifiCredentialSyncName[] = "WiFi credential sync";
2006const char kWifiCredentialSyncDescription[] =
2007 "Enables synchronizing WiFi network settings across devices. When enabled, "
2008 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2009 "credentials are synchronized subject to user preferences. (See also, "
2010 "chrome://settings/syncSetup.)";
2011
2012const char kZeroCopyName[] = "Zero-copy rasterizer";
2013const char kZeroCopyDescription[] =
2014 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342015
Brett Wilsonff596952017-07-14 01:06:552016// Android ---------------------------------------------------------------------
2017
2018#if defined(OS_ANDROID)
2019
2020const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2021const char kAiaFetchingDescription[] =
2022 "Enable intermediate certificate fetching when a server does not provide "
2023 "sufficient certificates to build a chain to a trusted root.";
2024
2025const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2026const char kAccessibilityTabSwitcherDescription[] =
2027 "Enable the accessibility tab switcher for Android.";
2028
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252029const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2030const char kAllowReaderForAccessibilityDescription[] =
2031 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2032
Brett Wilsonff596952017-07-14 01:06:552033const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2034const char kAndroidAutofillAccessibilityDescription[] =
2035 "Enable accessibility for autofill popup.";
2036
2037const char kAndroidPaymentAppsName[] = "Android payment apps";
2038const char kAndroidPaymentAppsDescription[] =
2039 "Enable third party Android apps to integrate as payment apps";
2040
Miriam Gershenson8cf1397222018-01-23 22:48:292041const char kAsyncDnsName[] = "Async DNS resolver";
2042const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2043
Brett Wilsonff596952017-07-14 01:06:552044const char kAutofillAccessoryViewName[] =
2045 "Autofill suggestions as keyboard accessory view";
2046const char kAutofillAccessoryViewDescription[] =
2047 "Shows Autofill suggestions on top of the keyboard rather than in a "
2048 "dropdown.";
2049
2050const char kBackgroundLoaderForDownloadsName[] =
2051 "Enables background downloading of pages.";
2052const char kBackgroundLoaderForDownloadsDescription[] =
2053 "Enables downloading pages in the background in case page is not yet "
2054 "loaded in current tab.";
2055
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002056const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2057const char kCCTModuleDescription[] =
2058 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2059
Matthew Jones6c1f5e22018-02-06 18:19:532060const char kChromeDuplexName[] = "Chrome Duplex";
2061const char kChromeDuplexDescription[] =
2062 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052063
Brett Wilsonff596952017-07-14 01:06:552064const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2065const char kChromeHomeSwipeLogicDescription[] =
2066 "Various swipe logic options for Chrome Home for sheet expansion.";
2067const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152068const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552069
Theresa8e44a7132018-06-15 17:40:592070const char kChromeModernAlternateCardLayoutName[] =
2071 "Chrome Modern Alternate Card Layout";
2072const char kChromeModernAlternateCardLayoutDescription[] =
2073 "Enable the alternate card layout for Chrome Modern Design.";
2074
Matthew Jones5b7f1d62018-01-23 00:37:252075const char kChromeModernDesignName[] = "Chrome Modern Design";
2076const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452077 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2078 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252079
Megan Jablonskic61eb1b82017-10-02 18:03:062080const char kChromeMemexName[] = "Chrome Memex";
2081const char kChromeMemexDescription[] =
2082 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2083 "Googlers.";
2084
Sarath Singapati83aef1c2017-11-16 15:54:522085const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2086const char kClearOldBrowsingDataDescription[] =
2087 "Enables clearing of browsing data which is older than a given time "
2088 "period.";
2089
Brett Wilsonff596952017-07-14 01:06:552090const char kContentSuggestionsCategoryOrderName[] =
2091 "Default content suggestions category order (e.g. on NTP)";
2092const char kContentSuggestionsCategoryOrderDescription[] =
2093 "Set default order of content suggestion categories (e.g. on the NTP).";
2094
2095const char kContentSuggestionsCategoryRankerName[] =
2096 "Content suggestions category ranker (e.g. on NTP)";
2097const char kContentSuggestionsCategoryRankerDescription[] =
2098 "Set category ranker to order categories of content suggestions (e.g. on "
2099 "the NTP).";
2100
Vitalii Iarkof52ff802017-09-14 12:34:242101const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2102const char kContentSuggestionsDebugLogDescription[] =
2103 "Enable content suggestions debug log accessible through "
2104 "snippets-internals.";
2105
Donn Denman8e58ead2017-11-04 01:44:012106const char kContextualSearchMlTapSuppressionName[] =
2107 "Contextual Search ML tap suppression";
2108const char kContextualSearchMlTapSuppressionDescription[] =
2109 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022110 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2111 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552112
2113const char kContextualSearchName[] = "Contextual Search";
2114const char kContextualSearchDescription[] =
2115 "Whether or not Contextual Search is enabled.";
2116
Donn Denman59729812018-01-09 01:27:022117const char kContextualSearchRankerQueryName[] =
2118 "Contextual Search Ranker prediction";
2119const char kContextualSearchRankerQueryDescription[] =
2120 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2121
2122const char kContextualSearchSecondTapName[] =
2123 "Contextual Search second tap triggering";
2124const char kContextualSearchSecondTapDescription[] =
2125 "Enables triggering on a second tap gesture even when Ranker would "
2126 "normally suppress that tap.";
2127
Cathy Li2fb32bf82018-06-06 18:55:402128const char kExploreSitesName[] = "Explore websites";
2129const char kExploreSitesDescription[] =
2130 "Enables portal from new tab page to explore websites.";
2131
Dmitry Skiba9c3efa72017-07-20 22:01:142132const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2133const char kDontPrefetchLibrariesDescription[] =
2134 "Don't prefetch libraries after loading.";
2135
Joy Ming5fd29ca62017-10-02 22:51:222136const char kDownloadsForegroundName[] = "Enable downloads foreground";
2137const char kDownloadsForegroundDescription[] =
2138 "Enable downloads as a foreground service for all versions of Android.";
2139
Joy Ming189b0cc2017-12-08 19:42:432140const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2141const char kDownloadsLocationChangeDescription[] =
2142 "Enable changing default downloads storage location on Android.";
2143
Shakti Sahu32b2ee102018-05-17 00:04:462144const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2145const char kDownloadProgressInfoBarDescription[] =
2146 "Enables an infobar notifying users about status of current downloads.";
2147
Brett Wilsonff596952017-07-14 01:06:552148const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2149const char kEnableAndroidPayIntegrationV1Description[] =
2150 "Enable integration with Android Pay using the first version of the API";
2151
2152const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2153const char kEnableAndroidPayIntegrationV2Description[] =
2154 "Enable integration with Android Pay using the second version of the API";
2155
Vitalii Iarkof4ed32d2017-09-26 13:15:532156const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552157const char kEnableAndroidSpellcheckerDescription[] =
2158 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552159
Lei Tianbd5a3bf2018-02-28 19:01:162160const char kEnableCommandLineOnNonRootedName[] =
2161 "Enable command line on non-rooted devices";
2162const char kEnableCommandLineOnNoRootedDescription[] =
2163 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2164
Vitalii Iarkof4ed32d2017-09-26 13:15:532165const char kEnableContentSuggestionsNewFaviconServerName[] =
2166 "Get favicons for content suggestions from a new server.";
2167const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2168 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2169 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552170
2171const char kEnableContentSuggestionsSettingsName[] =
2172 "Show content suggestions settings.";
2173const char kEnableContentSuggestionsSettingsDescription[] =
2174 "If enabled, the content suggestions settings will be available from the "
2175 "main settings menu.";
2176
Vitalii Iarkof4ed32d2017-09-26 13:15:532177const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2178 "Use content suggestions thumbnail dominant color.";
2179const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2180 "Use content suggestions thumbnail dominant color as a placeholder before "
2181 "the real thumbnail is fetched (requires Chrome Home).";
2182
Brett Wilsonff596952017-07-14 01:06:552183const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2184const char kEnableCustomContextMenuDescription[] =
2185 "Enables a new context menu when a link, image, or video is pressed within "
2186 "Chrome.";
2187
2188const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2189const char kEnableCustomFeedbackUiDescription[] =
2190 "Enables a custom feedback UI when submitting feedback through Google "
2191 "Feedback. Works with Google Play Services v10.2+";
2192
2193const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472194 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552195const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472196 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552197
Becca Hughes6d73bac542018-06-18 20:38:502198const char kEnableMediaControlsExpandGestureName[] =
2199 "Enable Media Controls Expand Gesture";
2200const char kEnableMediaControlsExpandGestureDescription[] =
2201 "Enables a gesture to be used on the media controls to extend the video "
2202 "into the Display Cutout area.";
2203
Brett Wilsonff596952017-07-14 01:06:552204const char kEnableOmniboxClipboardProviderName[] =
2205 "Omnibox clipboard URL suggestions";
2206const char kEnableOmniboxClipboardProviderDescription[] =
2207 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2208 "focus in the omnibox.";
2209
Becky Zhoua7f11d62018-02-01 16:02:532210const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2211 "Show article suggestions expandable header on New Tab Page";
2212const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2213 "If enabled, the article suggestions content on New Tab Page can be "
2214 "toggled shown or hidden by clicking the expandable header.";
2215
Brett Wilsonff596952017-07-14 01:06:552216const char kEnableNtpAssetDownloadSuggestionsName[] =
2217 "Show asset downloads on the New Tab page";
2218const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2219 "If enabled, the list of content suggestions on the New Tab page will "
2220 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2221 "later use.";
2222
2223const char kEnableNtpBookmarkSuggestionsName[] =
2224 "Show recently visited bookmarks on the New Tab page";
2225const char kEnableNtpBookmarkSuggestionsDescription[] =
2226 "If enabled, the list of content suggestions on the New Tab page will "
2227 "contain recently visited bookmarks.";
2228
2229const char kEnableNtpForeignSessionsSuggestionsName[] =
2230 "Show recent foreign tabs on the New Tab page";
2231const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2232 "If enabled, the list of content suggestions on the New Tab page will "
2233 "contain recent foreign tabs.";
2234
Brett Wilsonff596952017-07-14 01:06:552235const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2236 "Show offline page downloads on the New Tab page";
2237const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2238 "If enabled, the list of content suggestions on the New Tab page will "
2239 "contain pages that the user downloaded for later use.";
2240
2241const char kEnableNtpRemoteSuggestionsName[] =
2242 "Show server-side suggestions on the New Tab page";
2243const char kEnableNtpRemoteSuggestionsDescription[] =
2244 "If enabled, the list of content suggestions on the New Tab page will "
2245 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2246 "allows to override the source used to retrieve these server-side "
2247 "suggestions.";
2248
2249const char kEnableNtpSnippetsVisibilityName[] =
2250 "Make New Tab Page Snippets more visible.";
2251const char kEnableNtpSnippetsVisibilityDescription[] =
2252 "If enabled, the NTP snippets will become more discoverable with a larger "
2253 "portion of the first card above the fold.";
2254
2255const char kEnableNtpSuggestionsNotificationsName[] =
2256 "Notify about new content suggestions available at the New Tab page";
2257const char kEnableNtpSuggestionsNotificationsDescription[] =
2258 "If enabled, notifications will inform about new content suggestions on "
2259 "the New Tab page.";
2260
Brett Wilsonff596952017-07-14 01:06:552261const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2262const char kEnableOfflinePreviewsDescription[] =
2263 "Enable showing offline page previews on slow networks.";
2264
2265const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2266const char kEnableOskOverscrollDescription[] =
2267 "Enable OSK overscroll support. With this flag on, the OSK will only "
2268 "resize the visual viewport.";
2269
2270const char kEnableSpecialLocaleName[] =
2271 "Enable custom logic for special locales.";
2272const char kEnableSpecialLocaleDescription[] =
2273 "Enable custom logic for special locales. In this mode, Chrome might "
2274 "behave differently in some locales.";
2275
Brett Wilsonff596952017-07-14 01:06:552276const char kEnableWebNfcName[] = "WebNFC";
2277const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2278
gogeraldf3cbb422017-07-26 14:37:122279const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2280 "Enable Web Payments method section order V2.";
2281const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2282 "Enable this option to display payment method section above address "
2283 "section instead of below it.";
2284
Raymes Khoury582b43132017-12-12 23:54:302285const char kGrantNotificationsToDSEName[] =
2286 "Grant notifications to the Default Search Engine";
2287const char kGrantNotificationsToDSENameDescription[] =
2288 "Automatically grant the notifications permission to the Default Search "
2289 "Engine";
2290
Daniel Parke74fcf862018-03-27 18:05:452291const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512292const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452293
Theresa920e0ed2018-03-07 18:12:442294const char kInterestFeedContentSuggestionsDescription[] =
2295 "Use the interest feed to render content suggestions. Currently content "
2296 "suggestions are shown on the New Tab Page.";
2297const char kInterestFeedContentSuggestionsName[] =
2298 "Interest Feed Content Suggestions";
2299
Brett Wilsonff596952017-07-14 01:06:552300const char kKeepPrefetchedContentSuggestionsName[] =
2301 "Keep prefetched content suggestions";
2302const char kKeepPrefetchedContentSuggestionsDescription[] =
2303 "If enabled, some of prefetched content suggestions are not replaced by "
2304 "the new fetched suggestions.";
2305
Leo Zhang051b75482017-12-20 03:28:302306const char kLanguagesPreferenceName[] = "Language Settings";
2307const char kLanguagesPreferenceDescription[] =
2308 "Enable this option for Language Settings feature on Android.";
2309
Brett Wilsonff596952017-07-14 01:06:552310const char kLsdPermissionPromptName[] =
2311 "Location Settings Dialog Permission Prompt";
2312const char kLsdPermissionPromptDescription[] =
2313 "Whether to use the Google Play Services Location Settings Dialog "
2314 "permission dialog.";
2315
Amirhossein Simjour97b4154f2018-02-20 03:49:592316const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2317const char kModalPermissionDialogViewDescription[] =
2318 "Enable this option to use ModalDialogManager for permission Dialogs.";
2319
Brett Wilsonff596952017-07-14 01:06:552320const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2321const char kMediaScreenCaptureDescription[] =
2322 "Enable this option for experimental ScreenCapture feature on Android.";
2323
2324const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2325const char kModalPermissionPromptsDescription[] =
2326 "Whether to use permission dialogs in place of permission infobars.";
2327
Brett Wilsonff596952017-07-14 01:06:552328const char kNewPhotoPickerName[] = "Enable new Photopicker";
2329const char kNewPhotoPickerDescription[] =
2330 "Activates the new picker for selecting photos.";
2331
2332const char kNoCreditCardAbort[] = "No Credit Card Abort";
2333const char kNoCreditCardAbortDescription[] =
2334 "Whether or not the No Credit Card Abort is enabled.";
2335
Daniel Park990d0992018-05-18 22:12:512336const char kNtpButtonName[] = "Enable NTP Button";
2337const char kNtpButtonDescription[] =
2338 "Displays a New Tab Page button in the toolbar if enabled.";
2339
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062340const char kNtpModernLayoutName[] = "Modern NTP layout";
2341const char kNtpModernLayoutDescription[] =
2342 "Show a modern layout on the New Tab Page.";
2343
Brett Wilsonff596952017-07-14 01:06:552344const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2345const char kNtpGoogleGInOmniboxDescription[] =
2346 "Show a Google G in the omnibox on the New Tab Page.";
2347
Brett Wilsonff596952017-07-14 01:06:552348const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2349const char kOfflineBookmarksDescription[] =
2350 "Enable saving bookmarked pages for offline viewing.";
2351
Jian Li1413ebf2018-06-14 20:46:322352const char kOfflineIndicatorName[] = "Enable offline indicator";
2353const char kOfflineIndicatorDescription[] =
2354 "Enable showing offline indicator while offline.";
2355
Brett Wilsonff596952017-07-14 01:06:552356const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2357const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2358
2359const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2360const char kOfflinePagesCtV2Description[] =
2361 "V2 features include attributing pages to the app that initiated the "
2362 "custom tabs, and being able to query for pages by page attribution.";
2363
Cathy Li7311d792018-04-05 00:34:162364const char kOfflinePagesCTSuppressNotificationsName[] =
2365 "Disable download complete notification for whitelisted CCT apps.";
2366const char kOfflinePagesCTSuppressNotificationsDescription[] =
2367 "Disable download complete notification for page downloads originating "
2368 "from a CCT app whitelisted to show their own download complete "
2369 "notification.";
2370
Candice Sy74fa7a352018-03-30 23:46:492371const char kOfflinePagesDescriptiveFailStatusName[] =
2372 "Enables descriptive failed download status text.";
2373const char kOfflinePagesDescriptiveFailStatusDescription[] =
2374 "Enables failed download status text in notifications and Downloads Home "
2375 "to state the reason the request failed if the failure is actionable.";
2376
2377const char kOfflinePagesDescriptivePendingStatusName[] =
2378 "Enables descriptive pending download status text.";
2379const char kOfflinePagesDescriptivePendingStatusDescription[] =
2380 "Enables pending download status text in notifications and Downloads Home "
2381 "to state the reason the request is pending.";
2382
2383const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2384 "Enables offline pages in the downloads home to be opened in CCT.";
2385const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2386 "When enabled offline pages launched from the Downloads Home will be "
2387 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2388
Carlos Knippschild09272ecd2017-12-09 03:29:362389const char kOfflinePagesLimitlessPrefetchingName[] =
2390 "Removes resource usage limits for the prefetching of offline pages.";
2391const char kOfflinePagesLimitlessPrefetchingDescription[] =
2392 "Allows the prefetching of suggested offline pages to ignore resource "
2393 "usage limits. This allows it to completely ignore data usage limitations "
2394 "and allows downloads to happen with any kind of connection.";
2395
Brett Wilsonff596952017-07-14 01:06:552396const char kOfflinePagesLoadSignalCollectingName[] =
2397 "Enables collecting load timing data for offline page snapshots.";
2398const char kOfflinePagesLoadSignalCollectingDescription[] =
2399 "Enables loading completeness data collection while writing an offline "
2400 "page. This data is collected in the snapshotted offline page to allow "
2401 "data analysis to improve deciding when to make the offline snapshot.";
2402
2403const char kOfflinePagesPrefetchingName[] =
2404 "Enables suggested offline pages to be prefetched.";
2405const char kOfflinePagesPrefetchingDescription[] =
2406 "Enables suggested offline pages to be prefetched, so useful content is "
2407 "available while offline.";
2408
Cathy Li3d5379e2017-09-07 00:11:092409const char kOfflinePagesPrefetchingUIName[] =
2410 "Enables prefetched offline pages to be shown in UI.";
2411const char kOfflinePagesPrefetchingUIDescription[] =
2412 "Enables prefetched offline pages to raise notifications and be shown in "
2413 "download home UI.";
2414
Pete Williamson7845dff2017-09-20 11:06:192415const char kOfflinePagesResourceBasedSnapshotName[] =
2416 "Enables offline page snapshots to be based on percentage of page loaded.";
2417const char kOfflinePagesResourceBasedSnapshotDescription[] =
2418 "Enables offline page snapshots to use a resource percentage based "
2419 "approach for determining when the page is loaded as opposed to a time "
2420 "based approach";
2421
Collin Baker17f92a52017-07-19 21:41:252422const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2423const char kOfflinePagesRenovationsDescription[] =
2424 "Enables offline page renovations which correct issues with dynamic "
2425 "content that occur when offlining pages that use JavaScript.";
2426
Brett Wilsonff596952017-07-14 01:06:552427const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2428const char kOfflinePagesSharingDescription[] =
2429 "Enables the saved offline pages to be shared via other applications.";
2430
Cathy Lie0d88762018-04-12 08:03:012431const char kOfflinePagesShowAlternateDinoPageName[] =
2432 "Enable alternate dino page with more user capabilities.";
2433const char kOfflinePagesShowAlternateDinoPageDescription[] =
2434 "Enables the dino page to show more buttons and offer existing offline "
2435 "content.";
2436
Brett Wilsonff596952017-07-14 01:06:552437const char kOfflinePagesSvelteConcurrentLoadingName[] =
2438 "Enables concurrent background loading on svelte.";
2439const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2440 "Enables concurrent background loading (or downloading) of pages on "
2441 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2442 "happen when the svelte device is idle.";
2443
2444const char kOffliningRecentPagesName[] =
2445 "Enable offlining of recently visited pages";
2446const char kOffliningRecentPagesDescription[] =
2447 "Enable storing recently visited pages locally for offline use. Requires "
2448 "Offline Pages to be enabled.";
2449
Lei Zhang2eca9082017-10-17 20:42:502450const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2451const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552452 "Enable Pay with Google integration into Web Payments with API version "
2453 "'1'.";
2454
Matthew Jonesa88b95852017-11-08 23:13:502455const char kProgressBarThrottleName[] = "Android progress update throttling.";
2456const char kProgressBarThrottleDescription[] =
2457 "Limit the maximum progress update to make progress appear smoother.";
2458
Brett Wilsonff596952017-07-14 01:06:552459const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2460const char kPullToRefreshEffectDescription[] =
2461 "Page reloads triggered by vertically overscrolling content.";
2462
Piotr Swigon7c296ef2017-08-29 04:32:002463const char kPwaImprovedSplashScreenName[] =
2464 "Improved Splash Screen for standalone PWAs";
2465const char kPwaImprovedSplashScreenDescription[] =
2466 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2467 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492468const char kPwaPersistentNotificationName[] =
2469 "Persistent notification in standalone PWA";
2470const char kPwaPersistentNotificationDescription[] =
2471 "Enables a persistent Android notification for standalone PWAs";
2472
Brett Wilsonff596952017-07-14 01:06:552473const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2474const char kReaderModeHeuristicsDescription[] =
2475 "Determines what pages the Reader Mode infobar is shown on.";
2476const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2477const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2478const char kReaderModeHeuristicsAllArticles[] = "All articles";
2479const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2480const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2481
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182482const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2483const char kReaderModeInCCTDescription[] =
2484 "Open Reader Mode in Chrome Custom Tabs.";
2485
Brett Wilsonff596952017-07-14 01:06:552486const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2487const char kSetMarketUrlForTestingDescription[] =
2488 "When enabled, sets the market URL for use in testing the update menu "
2489 "item.";
2490
2491const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2492const char kSpannableInlineAutocompleteDescription[] =
2493 "A new type of inline autocomplete for the omnibox that works with "
2494 "keyboards that compose text.";
2495
Theresaeea05a12018-05-09 21:01:592496const char kSimplifiedNtpName[] = "Simplified NTP";
2497const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2498
2499const char kSiteExplorationUiName[] = "Site Exploration UI";
2500const char kSiteExplorationUiDescription[] =
2501 "Show site suggestions in the Exploration UI";
2502
Brett Wilsonff596952017-07-14 01:06:552503const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2504const char kUpdateMenuBadgeDescription[] =
2505 "When enabled, an update badge will be shown on the app menu button.";
2506
2507const char kUpdateMenuItemCustomSummaryDescription[] =
2508 "When this flag and the force show update menu item flag are enabled, a "
2509 "custom summary string will be displayed below the update menu item.";
2510const char kUpdateMenuItemCustomSummaryName[] =
2511 "Update menu item custom summary";
2512
2513const char kUpdateMenuItemName[] = "Force show update menu item";
2514const char kUpdateMenuItemDescription[] =
2515 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2516 R"*(menu.)*";
2517
Amirhossein Simjourd78bbcf2018-02-02 16:23:392518const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2519const char kVrBrowsingNativeAndroidUiDescription[] =
2520 "Enable Android UI elements in VR.";
2521
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462522const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2523const char kVrBrowsingTabsViewDescription[] =
2524 "Enable tab overview (tab switcher) in VR.";
2525
Marc Treib93af46a2017-08-23 13:30:002526const char kThirdPartyDoodlesName[] =
2527 "Enable Doodles for third-party search engines";
2528const char kThirdPartyDoodlesDescription[] =
2529 "Enables fetching and displaying Doodles on the NTP for third-party search "
2530 "engines.";
2531
Klaus Weidneraaf697f2018-01-18 20:07:362532const char kWebXrRenderPathName[] = "WebXR presentation render path";
2533const char kWebXrRenderPathDescription[] =
2534 "Render path to use for WebXR presentation (including WebVR)";
2535const char kWebXrRenderPathChoiceClientWaitDescription[] =
2536 "ClientWait (Baseline)";
2537const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2538 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072539const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2540 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362541
Brett Wilson7b44537e2017-08-18 01:38:282542// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552543
Brett Wilson7b44537e2017-08-18 01:38:282544#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482545
Brett Wilson7b44537e2017-08-18 01:38:282546const char kAccountConsistencyName[] =
2547 "Identity consistency between browser and cookie jar";
2548const char kAccountConsistencyDescription[] =
2549 "When enabled, the browser manages signing in and out of Google accounts.";
2550const char kAccountConsistencyChoiceMirror[] = "Mirror";
2551const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342552
Chris Pickel3a227ae62017-08-24 10:47:262553const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2554const char kDoodlesOnLocalNtpDescription[] =
2555 "Show doodles on the local New Tab page if Google is the default search "
2556 "engine.";
2557
mlamouriff56c092017-05-11 15:31:392558const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392559const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342560 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392561const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392562const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392563const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342564 "Enabled (Flash lowers volume when interrupted by other sound, "
2565 "experimental)";
2566
Sebastien Marchandd33f7dc2018-06-22 22:07:062567const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2568const char kInfiniteSessionRestoreDescription[] =
2569 "Reduces the number of tabs being loaded simultaneously during session "
2570 "restore, to improve responsiveness of the foreground tab. This requires "
2571 "#enable-page-almost-idle.";
2572
Brett Wilson7b44537e2017-08-18 01:38:282573const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2574const char kEnableNewAppMenuIconDescription[] =
2575 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342576
Sebastien Marchandd33f7dc2018-06-22 22:07:062577const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
2578const char kEnableWebAuthenticationAPIDescription[] =
2579 "Enable Web Authentication API support";
2580
2581const char kEnableWebAuthenticationCtap2SupportName[] =
2582 "Enable Web Authentication API support for CTAP2 security keys";
2583const char kEnableWebAuthenticationCtap2SupportDescription[] =
2584 "Enable CTAP2 security keys for the Web Authenication API.";
2585
2586const char kEnableWebAuthenticationTestingAPIName[] =
2587 "Web Authentication Testing API";
2588const char kEnableWebAuthenticationTestingAPIDescription[] =
2589 "Enable Web Authentication Testing API support, which disconnects the API "
2590 "implementation from the real world, and allows configuring virtual "
2591 "authenticator devices for testing";
2592
Dave Schuyler598a4a42018-01-04 02:15:102593const char kOmniboxRichEntitySuggestionsName[] =
2594 "Omnibox rich entity suggestions";
2595const char kOmniboxRichEntitySuggestionsDescription[] =
2596 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212597 "more context and descriptive text about the entity. Has no effect unless "
2598 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2599 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102600
Dave Schuyler616273d2018-04-19 03:12:522601const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2602const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212603 "Display answers using an enhanced layout with larger images. Has no "
2604 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2605 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522606
Kevin Bailey898669972017-11-06 15:34:492607const char kOmniboxTabSwitchSuggestionsName[] =
2608 "Omnibox tab switch suggestions";
2609const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212610 "Enable suggestions for switching to open tabs within the Omnibox. "
2611 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2612 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492613
krbcc621412017-06-01 19:40:282614const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2615const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192616 "Enable receiving tail suggestions, a type of search suggestion based on "
2617 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kOneGoogleBarOnLocalNtpName[] =
2620 "Enable the OneGoogleBar on the local NTP";
2621const char kOneGoogleBarOnLocalNtpDescription[] =
2622 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2623 "search engine.";
2624
Sebastien Marchandd33f7dc2018-06-22 22:07:062625const char kPageAlmostIdleName[] = "Page Almost Idle";
2626const char kPageAlmostIdleDescription[] =
2627 "Make session restore use a definition of loading that waits for CPU and "
2628 "network quiescence.";
2629
2630const char kProactiveTabFreezeAndDiscardName[] =
2631 "Proactive Tab Freeze and Discard";
2632const char kProactiveTabFreezeAndDiscardDescription[] =
2633 "Enables proactive tab freezing and discarding. This requires "
2634 "#enable-page-almost-idle.";
2635
2636const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2637const char kSiteCharacteristicsDatabaseDescription[] =
2638 "Records usage of some features in a database while a tab is in background "
2639 "(title/favicon update, audio playback or usage of non-persistent "
2640 "notifications).";
2641
Brett Wilson7b44537e2017-08-18 01:38:282642const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2643const char kUseGoogleLocalNtpDescription[] =
2644 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322645
Brett Wilson7b44537e2017-08-18 01:38:282646const char kVoiceSearchOnLocalNtpName[] =
2647 "Enable Voice Search on the local NTP";
2648const char kVoiceSearchOnLocalNtpDescription[] =
2649 "Show a microphone for voice search on the local New Tab page "
2650 "if Google is the default search engine.";
2651
2652#if defined(GOOGLE_CHROME_BUILD)
2653
2654const char kGoogleBrandedContextMenuName[] =
2655 "Google branding in the context menu";
2656const char kGoogleBrandedContextMenuDescription[] =
2657 "Shows a Google icon next to context menu items powered by Google "
2658 "services.";
2659
2660#endif // !defined(GOOGLE_CHROME_BUILD)
2661
2662#endif // !defined(OS_ANDROID)
2663
2664// Windows ---------------------------------------------------------------------
2665
2666#if defined(OS_WIN)
2667
2668const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2669const char kCloudPrintXpsDescription[] =
2670 "XPS enables advanced options for classic printers connected to the Cloud "
2671 "Print with Chrome. Printers must be re-connected after changing this "
2672 "flag.";
2673
2674const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2675const char kDisablePostscriptPrintingDescription[] =
2676 "Disables PostScript generation when printing to PostScript capable "
2677 "printers, and uses EMF generation in its place.";
2678
2679const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2680const char kEnableAppcontainerDescription[] =
2681 "Enables the use of an AppContainer on sandboxed processes to improve "
2682 "security.";
2683
Brett Wilson7b44537e2017-08-18 01:38:282684const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2685const char kEnableDesktopIosPromotionsDescription[] =
2686 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2687 "eligible.";
2688
James Forshawfd0ce342018-02-14 09:55:392689const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2690const char kEnableGpuAppcontainerDescription[] =
2691 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2692 "improve security.";
2693
Brett Wilson7b44537e2017-08-18 01:38:282694const char kGdiTextPrinting[] = "GDI Text Printing";
2695const char kGdiTextPrintingDescription[] =
2696 "Use GDI to print text as simply text";
2697
Henrik Grunell67e56ef2018-04-10 14:04:092698const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2699const char kIncreaseInputAudioBufferSizeDescription[] =
2700 "Increases the input audio endpoint buffer to 100 ms.";
2701
Brett Wilson7b44537e2017-08-18 01:38:282702const char kTraceExportEventsToEtwName[] =
2703 "Enable exporting of tracing events to ETW.";
2704const char kTraceExportEventsToEtwDesription[] =
2705 "If enabled, trace events will be exported to the Event Tracing for "
2706 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2707 "Xperf.";
2708
2709const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2710const char kUseWinrtMidiApiDescription[] =
2711 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2712 "later).";
2713
2714const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2715const char kWindows10CustomTitlebarDescription[] =
2716 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2717 "deferring to Windows.";
2718
2719#endif // defined(OS_WIN)
2720
2721// Mac -------------------------------------------------------------------------
2722
2723#if defined(OS_MACOSX)
2724
Brett Wilson7b44537e2017-08-18 01:38:282725const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2726const char kAppWindowCyclingDescription[] =
2727 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2728 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2729 "browser window, and browser windows will not be cycled when a Chrome App "
2730 "is active.";
2731
Brett Wilson7b44537e2017-08-18 01:38:282732const char kFullscreenToolbarRevealName[] =
2733 "Enables the toolbar in fullscreen to reveal itself.";
2734const char kFullscreenToolbarRevealDescription[] =
2735 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2736 "has changed.";
2737
2738const char kContentFullscreenName[] = "Improved Content Fullscreen";
2739const char kContentFullscreenDescription[] =
2740 "Fullscreen content window detaches from main browser window and goes to "
2741 "a new space without moving or changing the original browser window.";
2742
Lei Zhang2eca9082017-10-17 20:42:502743const char kDialogTouchBarName[] = "Dialog Touch Bar";
2744const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282745 "Shows Dialog buttons on the Touch Bar.";
2746
2747const char kHostedAppsInWindowsName[] =
2748 "Allow hosted apps to be opened in windows";
2749const char kHostedAppsInWindowsDescription[] =
2750 "Allows hosted apps to be opened in windows instead of being limited to "
2751 "tabs.";
2752
Lei Zhang2eca9082017-10-17 20:42:502753const char kMacRTLName[] = "Enable RTL";
2754const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282755
Lei Zhang2eca9082017-10-17 20:42:502756const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2757const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522758 "Enables sharing via macOS share extensions.";
2759
Lei Zhang2eca9082017-10-17 20:42:502760const char kMacTouchBarName[] = "Hardware Touch Bar";
2761const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282762
2763const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2764const char kMacV2SandboxDescription[] =
2765 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2766 "entire life cycle.";
2767
2768const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2769const char kMacViewsNativeAppWindowsDescription[] =
2770 "Controls whether to use Toolkit-Views based Chrome App windows.";
2771
2772const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2773const char kMacViewsTaskManagerDescription[] =
2774 "Controls whether to use the Toolkit-Views based Task Manager.";
2775
Tessa Nijssenc4b101232018-06-25 20:28:082776const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2777const char kSuggestedTextTouchBarDescription[] =
2778 "Enable suggested text touch bar for textfields.";
2779
Brett Wilson7b44537e2017-08-18 01:38:282780const char kTabDetachingInFullscreenName[] =
2781 "Allow tab detaching in fullscreen";
2782const char kTabDetachingInFullscreenDescription[] =
2783 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2784
2785const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2786const char kTabStripKeyboardFocusDescription[] =
2787 "Enable keyboard focus for the tabs in the tab strip.";
2788
Brett Wilson7b44537e2017-08-18 01:38:282789#endif
2790
2791// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342792
2793#if defined(OS_CHROMEOS)
2794
Brett Wilson7b44537e2017-08-18 01:38:282795const char kAcceleratedMjpegDecodeName[] =
2796 "Hardware-accelerated mjpeg decode for captured frame";
2797const char kAcceleratedMjpegDecodeDescription[] =
2798 "Enable hardware-accelerated mjpeg decode for captured frame where "
2799 "available.";
vabr0215a8e2017-03-28 12:47:342800
Brett Wilson7b44537e2017-08-18 01:38:282801const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2802const char kAllowTouchpadThreeFingerClickDescription[] =
2803 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342804
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522805const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2806const char kArcAvailableForChildDescription[] =
2807 "Allow child accounts to start Android apps.";
2808
Brett Wilson7b44537e2017-08-18 01:38:282809const char kArcBootCompleted[] = "Load Android apps automatically";
2810const char kArcBootCompletedDescription[] =
2811 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342812
Luum Habtemariamdaa8fd22018-06-25 22:39:432813const char kArcCupsApiName[] = "ARC CUPS API";
2814const char kArcCupsApiDescription[] =
2815 "Enables support of libcups APIs from ARC";
2816
Lev Rumyantsev7a8544312017-08-18 19:26:512817const char kArcNativeBridgeExperimentName[] =
2818 "Enable native bridge experiment for ARC";
2819const char kArcNativeBridgeExperimentDescription[] =
2820 "Enables experimental native bridge feature.";
2821
lgchengecd1c1a62018-01-09 02:59:462822const char kArcUsbHostName[] = "Enable ARC USB host integration";
2823const char kArcUsbHostDescription[] =
2824 "Allow Android apps to use USB host feature on ChromeOS devices.";
2825
Kevin Cernekeeb7f96a52017-10-25 17:40:182826const char kArcVpnName[] = "Enable ARC VPN integration";
2827const char kArcVpnDescription[] =
2828 "Allow Android VPN clients to tunnel Chrome traffic.";
2829
Qiang Xu045aff222018-05-21 23:21:012830const char kAshDisableLoginDimAndBlurName[] =
2831 "Disable dimming and blur on login screen.";
2832const char kAshDisableLoginDimAndBlurDescription[] =
2833 "Disable dimming and blur on login screen.";
2834
2835const char kAshDisableSmoothScreenRotationName[] =
2836 "Disable smooth rotation animations.";
2837const char kAshDisableSmoothScreenRotationDescription[] =
2838 "Disable smooth rotation animations.";
2839
2840const char kAshEnableDisplayMoveWindowAccelsName[] =
2841 "Enable shortcuts for moving window between displays.";
2842const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2843 "Enable shortcuts for moving window between displays.";
2844
2845const char kAshEnableKeyboardShortcutViewerName[] =
2846 "Enable keyboard shortcut viewer.";
2847const char kAshEnableKeyboardShortcutViewerDescription[] =
2848 "Enable keyboard shortcut viewer.";
2849
2850const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2851const char kAshEnableMirroredScreenDescription[] =
2852 "Enable the mirrored screen mode. This mode flips the screen image "
2853 "horizontally.";
2854
2855const char kAshEnableNewOverviewAnimationsName[] =
2856 "Enable new overview animations.";
2857const char kAshEnableNewOverviewAnimationsDescription[] =
2858 "Enables the new overview mode animations.";
2859
2860const char kAshEnablePersistentWindowBoundsName[] =
2861 "Enable persistent window bounds in multi-displays scenario.";
2862const char kAshEnablePersistentWindowBoundsDescription[] =
2863 "Enable persistent window bounds in multi-displays scenario.";
2864
2865const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2866const char kAshEnableTrilinearFilteringDescription[] =
2867 "Enable trilinear filtering.";
2868
Brett Wilson7b44537e2017-08-18 01:38:282869const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2870const char kAshEnableUnifiedDesktopDescription[] =
2871 "Enable unified desktop mode which allows a window to span multiple "
2872 "displays.";
vabr0215a8e2017-03-28 12:47:342873
Mike Wassermanfcc47e42018-06-14 21:24:422874const char kAshKeyboardShortcutViewerAppName[] =
2875 "Keyboard Shortcut Viewer mojo app";
2876const char kAshKeyboardShortcutViewerAppDescription[] =
2877 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2878
Qiang Xu045aff222018-05-21 23:21:012879const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2880const char kAshShelfColorDescription[] =
2881 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2882 "--ash-shelf-color-scheme flag defines how that color is derived.";
2883
2884const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2885const char kAshShelfColorSchemeDescription[] =
2886 "Specify how the color is derived from the wallpaper. This flag is only "
2887 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2888const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2889const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2890const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2891const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2892const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2893const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2894
Sean Kau5e956192017-10-06 22:25:172895const char kBulkPrintersName[] = "Bulk Printers Policy";
2896const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2897
Brett Wilson7b44537e2017-08-18 01:38:282898const char kCaptivePortalBypassProxyName[] =
2899 "Bypass proxy for Captive Portal Authorization";
2900const char kCaptivePortalBypassProxyDescription[] =
2901 "If proxy is configured, it usually prevents from authorization on "
2902 "different captive portals. This enables opening captive portal "
2903 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342904
Brett Wilson7b44537e2017-08-18 01:38:282905const char kCrOSComponentName[] = "Chrome OS Component";
2906const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082907 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342908
Xiaochu Liu51d03fd2017-09-08 23:51:022909const char kCrOSContainerName[] = "Chrome OS Container";
2910const char kCrOSContainerDescription[] =
2911 "Enable the use of Chrome OS Container utility.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kCrosRegionsModeName[] = "Cros-regions load mode";
2914const char kCrosRegionsModeDescription[] =
2915 "This flag controls cros-regions load mode";
2916const char kCrosRegionsModeDefault[] = "Default";
2917const char kCrosRegionsModeOverride[] = "Override VPD values.";
2918const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342919
Jacob Dufault2becbc482017-08-25 00:36:352920const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2921const char kDisableLockScreenAppsDescription[] =
2922 "Disable new-note action handler apps on the lock screen. The user will "
2923 "not be able to launch the preferred note-taking action from the lock "
2924 "screen, provided that the app supports lock screen note taking.";
2925
Qiang Xu045aff222018-05-21 23:21:012926const char kDisableSystemTimezoneAutomaticDetectionName[] =
2927 "SystemTimezoneAutomaticDetection policy support";
2928const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2929 "Disable system timezone automatic detection device policy.";
2930
Sammie Quonef6b4882017-09-14 16:50:052931const char kDisableTabletAutohideTitlebarsName[] =
2932 "Disable autohide titlebars in tablet mode";
2933const char kDisableTabletAutohideTitlebarsDescription[] =
2934 "Disable tablet mode autohide titlebars functionality. The user will be "
2935 "able to see the titlebar in tablet mode.";
2936
Xiaoqian Dai24b33eb2018-04-10 21:01:572937const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2938const char kDisableTabletSplitViewDescription[] =
2939 "Disable split view for Chrome OS tablet mode.";
2940
Qiang Xu53d1a5832018-05-24 18:44:192941const char kEnableAppShortcutSearchName[] =
2942 "Enable app shortcut search in launcher";
2943const char kEnableAppShortcutSearchDescription[] =
2944 "Enables app shortcut search in launcher";
2945
Weidong Guo00d0b2b2018-06-07 00:39:302946const char kEnableAppsGridGapFeatureName[] =
2947 "Enable apps grid gap feature in launcher.";
2948const char kEnableAppsGridGapFeatureDescription[] =
2949 "Enables gaps at the end of each page and enables dragging an item to an "
2950 "empty page in launcher.";
2951
Lei Zhang2eca9082017-10-17 20:42:502952const char kEnableBackgroundBlurName[] = "Enable background blur.";
2953const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422954 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392955
Brett Wilson7b44537e2017-08-18 01:38:282956const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2957const char kEnableChromevoxArcSupportDescription[] =
2958 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342959
F#m75862c92018-01-25 19:10:472960const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2961const char kEnableDisplayZoomSettingDescription[] =
2962 "Allows the user to modify the display size or zoom via the chrome display "
2963 "settings page.";
2964
Xiaoqian Dai82d99192018-05-25 18:51:352965const char kEnableDragTabsInTabletModeName[] =
2966 "Enable dragging tabs in tablet mode";
2967const char kEnableDragTabsInTabletModeDescription[] =
2968 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2969
Brett Wilson7b44537e2017-08-18 01:38:282970const char kEnableEhvInputName[] =
2971 "Emoji, handwriting and voice input on opt-in IME menu";
2972const char kEnableEhvInputDescription[] =
2973 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342974
Brett Wilson7b44537e2017-08-18 01:38:282975const char kEnableEncryptionMigrationName[] =
2976 "Enable encryption migration of user data";
2977const char kEnableEncryptionMigrationDescription[] =
2978 "If enabled and the device supports ARC, the user will be asked to update "
2979 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342980
Blake O'Hare9e9317b22017-10-24 02:49:352981const char kEnableFloatingVirtualKeyboardName[] =
2982 "Enable floating virtual keyboard";
2983const char kEnableFloatingVirtualKeyboardDescription[] =
2984 "If enabled, the keyboard will use floating behavior by default.";
2985
Qiang Xu045aff222018-05-21 23:21:012986const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2987 "Enable full screen handwriting virtual keyboard";
2988const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2989 "If enabled, the handwriting virtual keyboard will allow user to write "
2990 "anywhere on the screen";
2991
2992const char kEnableHomeLauncherName[] = "Enable home launcher";
2993const char kEnableHomeLauncherDescription[] =
2994 "Enable home launcher in tablet mode.";
2995
Brett Wilson7b44537e2017-08-18 01:38:282996const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2997const char kEnableImeMenuDescription[] =
2998 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342999
Qiang Xu045aff222018-05-21 23:21:013000const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3001const char kEnableNewWallpaperPickerDescription[] =
3002 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3003
3004const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3005const char kEnablePerUserTimezoneDescription[] =
3006 "Chrome OS system timezone preference is stored and handled for each user "
3007 "individually.";
3008
3009const char kEnableSettingsShortcutSearchName[] =
3010 "Enable Settings shortcut search";
3011const char kEnableSettingsShortcutSearchDescription[] =
3012 "Enable Settings shortcut search in launcher.";
3013
Darren Shen3e49c63d2018-03-28 04:45:503014const char kEnableStylusVirtualKeyboardName[] =
3015 "Enable stylus virtual keyboard";
3016const char kEnableStylusVirtualKeyboardDescription[] =
3017 "If enabled, tapping with a stylus will show the handwriting virtual "
3018 "keyboard.";
3019
Jordy Greenblatt2f23df22018-02-22 19:49:193020const char kEnableUnifiedMultiDeviceSettingsName[] =
3021 "Enable unified MultiDevice settings";
3022const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3023 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3024 "MultiDevice settings.";
3025
3026const char kEnableUnifiedMultiDeviceSetupName[] =
3027 "Enable unified MultiDevice setup";
3028const char kEnableUnifiedMultiDeviceSetupDescription[] =
3029 "Enable the device to setup all MultiDevice services in a single workflow.";
3030
Darren Shen11c770f312018-06-13 07:36:393031const char kEnableVirtualKeyboardMdUiName[] =
3032 "Enable Material Design virtual keyboard";
3033const char kEnableVirtualKeyboardMdUiDescription[] =
3034 "If enabled, loads the Material Design UI for the virtual keyboard.";
3035
Klemen Kozjek05fc4512017-10-18 12:51:103036const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3037const char kEnableZipArchiverPackerDescription[] =
3038 "Enable the ability to archive files on Drive in the Files app";
3039
Brett Wilson7b44537e2017-08-18 01:38:283040const char kEolNotificationName[] = "Disable Device End of Life notification.";
3041const char kEolNotificationDescription[] =
3042 "Disable Notifcation when Device is End of Life.";
3043
3044const char kExperimentalAccessibilityFeaturesName[] =
3045 "Experimental accessibility features";
3046const char kExperimentalAccessibilityFeaturesDescription[] =
3047 "Enable additional accessibility features in the Settings page.";
3048
3049const char kExperimentalInputViewFeaturesName[] =
3050 "Experimental input view features";
3051const char kExperimentalInputViewFeaturesDescription[] =
3052 "Enable experimental features for IME input views.";
3053
3054const char kFileManagerTouchModeName[] = "Files App. touch mode";
3055const char kFileManagerTouchModeDescription[] =
3056 "Touchscreen-specific interactions of the Files app.";
3057
3058const char kFirstRunUiTransitionsName[] =
3059 "Animated transitions in the first-run tutorial";
3060const char kFirstRunUiTransitionsDescription[] =
3061 "Transitions during first-run tutorial are animated.";
3062
Brett Wilson7b44537e2017-08-18 01:38:283063const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3064const char kForceEnableStylusToolsDescription[] =
3065 "Forces display of the stylus tools menu in the shelf and the stylus "
3066 "section in settings, even if there is no attached stylus device.";
3067
3068const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3069const char kGestureEditingDescription[] =
3070 "Enable/Disable gesture editing option in the settings page for the "
3071 "virtual keyboard.";
3072
3073const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3074const char kGestureTypingDescription[] =
3075 "Enable/Disable gesture typing option in the settings page for the virtual "
3076 "keyboard.";
3077
3078const char kInputViewName[] = "Input views";
3079const char kInputViewDescription[] =
3080 "Enable IME extensions to supply custom views for user input such as "
3081 "virtual keyboards.";
3082
Megumi Hattori5a0d4182018-03-06 11:09:503083const char kLockScreenNotificationName[] = "Lock screen notification";
3084const char kLockScreenNotificationDescription[] =
3085 "Enable notifications on the lock screen.";
3086
Qiang Xu045aff222018-05-21 23:21:013087const char kMaterialDesignInkDropAnimationSpeedName[] =
3088 "Material design ink drop animation speed";
3089const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3090 "Sets the speed of the experimental visual feedback animations for "
3091 "material design.";
3092const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3093const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3094
Brett Wilson7b44537e2017-08-18 01:38:283095const char kMemoryPressureThresholdName[] =
3096 "Memory discard strategy for advanced pressure handling";
3097const char kMemoryPressureThresholdDescription[] =
3098 "Memory discarding strategy to use";
3099const char kConservativeThresholds[] =
3100 "Conservative memory pressure release strategy";
3101const char kAggressiveCacheDiscardThresholds[] =
3102 "Aggressive cache release strategy";
3103const char kAggressiveTabDiscardThresholds[] =
3104 "Aggressive tab release strategy";
3105const char kAggressiveThresholds[] =
3106 "Aggressive tab and cache release strategy";
3107
3108const char kMtpWriteSupportName[] = "MTP write support";
3109const char kMtpWriteSupportDescription[] =
3110 "MTP write support in File System API (and file manager). In-place editing "
3111 "operations are not supported.";
3112
Kyle Horimoto027590fb2018-02-13 22:19:483113const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3114const char kMultiDeviceApiDescription[] =
3115 "Enable Mojo-based API which provides synced device metadata and the "
3116 "ability to connect to other devices associated the logged-in Google "
3117 "account.";
3118
Bailey Berrodca8eeca02017-11-18 00:49:123119const char kNativeSmbName[] = "Native Smb Client";
3120const char kNativeSmbDescription[] =
3121 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303122
vabr0215a8e2017-03-28 12:47:343123const char kNetworkPortalNotificationName[] =
3124 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343125const char kNetworkPortalNotificationDescription[] =
3126 "If enabled, notification is displayed when device is connected to a "
3127 "network behind captive portal.";
3128
Brett Wilson7b44537e2017-08-18 01:38:283129const char kNewKoreanImeName[] = "New Korean IME";
3130const char kNewKoreanImeDescription[] =
3131 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343132
Brett Wilson7b44537e2017-08-18 01:38:283133const char kNewZipUnpackerName[] = "New ZIP unpacker";
3134const char kNewZipUnpackerDescription[] =
3135 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343136
Qiang Xu045aff222018-05-21 23:21:013137const char kOfficeEditingComponentAppName[] =
3138 "Office Editing for Docs, Sheets & Slides";
3139const char kOfficeEditingComponentAppDescription[] =
3140 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3141
Brett Wilson7b44537e2017-08-18 01:38:283142const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3143const char kPhysicalKeyboardAutocorrectDescription[] =
3144 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3145 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343146
3147const char kPrinterProviderSearchAppName[] =
3148 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343149const char kPrinterProviderSearchAppDescription[] =
3150 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193151 "searches Chrome Web Store for extensions that support printing to a USB "
3152 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343153
Brett Wilson7b44537e2017-08-18 01:38:283154const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3155const char kQuickUnlockPinDescription[] =
3156 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3157 "device on the lock screen after you have signed into your device.";
3158const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3159const char kQuickUnlockPinSigninDescription[] =
3160 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3161 "device. After changing this flag PIN needs to be set up again.";
3162const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3163const char kQuickUnlockFingerprintDescription[] =
3164 "Enabling fingerprint quick unlock allows you to setup and use a "
3165 "fingerprint to unlock your Chromebook on the lock screen after you have "
3166 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343167
James Cook0ba192bf2017-12-01 20:53:113168const char kShowTapsName[] = "Show taps";
3169const char kShowTapsDescription[] =
3170 "Draws a circle at each touch point, which makes touch points more obvious "
3171 "when projecting or mirroring the display. Similar to the Android OS "
3172 "developer option.";
3173
3174const char kShowTouchHudName[] = "Show HUD for touch points";
3175const char kShowTouchHudDescription[] =
3176 "Shows a trail of colored dots for the last few touch points. Pressing "
3177 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3178 "debug hardware issues that generate spurious touch events.";
3179
Chung-Sheng Wu468b0b32017-09-01 14:41:573180const char kSysInternalsName[] = "Enable Sys-Internals";
3181const char kSysInternalsDescription[] =
3182 "If enabled, user can monitor system information at "
3183 "chrome://sys-internals.";
3184
James Cooka9384092018-05-23 02:54:263185const char kTapVisualizerAppName[] = "Show taps with mojo app";
3186const char kTapVisualizerAppDescription[] =
3187 "Use an out-of-process mojo app to show touch points.";
3188
Stuart Langleyc981ac62018-06-21 14:38:253189const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3190const char kDisableTeamDrivesDescription[] =
3191 "If disabled, files under Team Drives will no longer appear in the Files "
3192 "app.";
vabr0215a8e2017-03-28 12:47:343193
Brett Wilson7b44537e2017-08-18 01:38:283194const char kTetherName[] = "Instant Tethering";
3195const char kTetherDescription[] =
3196 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3197 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373198
Brett Wilson7b44537e2017-08-18 01:38:283199const char kTouchscreenCalibrationName[] =
3200 "Enable/disable touchscreen calibration option in material design settings";
3201const char kTouchscreenCalibrationDescription[] =
3202 "If enabled, the user can calibrate the touch screen displays in "
3203 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093204
Qiang Xu045aff222018-05-21 23:21:013205const char kUiDevToolsName[] = "Enable native UI inspection";
3206const char kUiDevToolsDescription[] =
3207 "Enables inspection of native UI elements. For local inspection use "
3208 "chrome://inspect#other";
3209
3210const char kUiShowCompositedLayerBordersName[] =
3211 "Show UI composited layer borders";
3212const char kUiShowCompositedLayerBordersDescription[] =
3213 "Show border around composited layers created by UI.";
3214const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3215const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3216const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3217const char kUiShowCompositedLayerBordersAll[] = "All";
3218
3219const char kUiSlowAnimationsName[] = "Slow UI animations";
3220const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3221
Mitsuru Oshima63d3f2a2017-08-23 00:12:113222// Force UI Mode
3223const char kUiModeName[] = "Force Ui Mode";
3224const char kUiModeDescription[] =
3225 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3226 R"*(despite its current orientation. "Tablet" means that the )*"
3227 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3228 R"*(means that the chromebook will act as if it were in clamshell )*"
3229 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3230 R"*(the two, based on its orientation.)*";
3231const char kUiModeTablet[] = "TouchView";
3232const char kUiModeClamshell[] = "Clamshell";
3233const char kUiModeAuto[] = "Auto (default)";
3234
James Cooka1bcfa9a2018-01-30 00:18:403235const char kUseMashName[] = "Out-of-process system UI (mash)";
3236const char kUseMashDescription[] =
3237 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3238 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283239
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343240// TODO(mcasas): remove after https://crbug.com/771345.
3241const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3242const char kUseMonitorColorSpaceDescription[] =
3243 "Enables Chrome to use the color space information provided by the monitor"
3244 " instead of the default sRGB color space.";
3245
Brett Wilson7b44537e2017-08-18 01:38:283246const char kVideoPlayerChromecastSupportName[] =
3247 "Experimental Chromecast support for Video Player";
3248const char kVideoPlayerChromecastSupportDescription[] =
3249 "This option enables experimental Chromecast support for Video Player app "
3250 "on ChromeOS.";
3251
3252const char kVirtualKeyboardName[] = "Virtual Keyboard";
3253const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3254
3255const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3256const char kVirtualKeyboardOverscrollDescription[] =
3257 "Enables virtual keyboard overscroll support.";
3258
3259const char kVoiceInputName[] = "Voice input on virtual keyboard";
3260const char kVoiceInputDescription[] =
3261 "Enables voice input on virtual keyboard.";
3262
3263const char kWakeOnPacketsName[] = "Wake On Packets";
3264const char kWakeOnPacketsDescription[] =
3265 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203266
Qiang Xu53d1a5832018-05-24 18:44:193267const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3268const char kZipArchiverUnpackerDescription[] =
3269 "Enable or disable the ability to unpack archives in incognito mode";
3270
yhanadac5bff5b2017-05-18 06:37:093271#endif // defined(OS_CHROMEOS)
3272
Brett Wilson7b44537e2017-08-18 01:38:283273// Random platform combinations -----------------------------------------------
3274
3275#if defined(OS_WIN) || defined(OS_LINUX)
3276
3277const char kEnableInputImeApiName[] = "Enable Input IME API";
3278const char kEnableInputImeApiDescription[] =
3279 "Enable the use of chrome.input.ime API.";
3280
Tom Anderson6cbd5052018-05-03 23:49:543281#if !defined(OS_CHROMEOS)
3282
3283const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3284const char kWarnBeforeQuittingFlagDescription[] =
3285 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3286
3287#endif // !defined(OS_CHROMEOS)
3288
Brett Wilson7b44537e2017-08-18 01:38:283289#endif // defined(OS_WIN) || defined(OS_LINUX)
3290
3291#if defined(OS_WIN) || defined(OS_MACOSX)
3292
3293const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3294const char kAutomaticTabDiscardingDescription[] =
3295 "If enabled, tabs get automatically discarded from memory when the system "
3296 "memory is low. Discarded tabs are still visible on the tab strip and get "
3297 "reloaded when clicked on. Info about discarded tabs can be found at "
3298 "chrome://discards.";
3299
3300#endif // defined(OS_WIN) || defined(OS_MACOSX)
3301
lanwei83f54452018-06-21 23:51:043302#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3303
3304const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3305const char kDirectManipulationStylusDescription[] =
3306 "If enabled, Chrome will scroll web pages on stylus drag.";
3307
3308#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3309
Justin Donnelly110e40c2018-06-01 21:48:433310const char kExperimentalUiName[] = "Use all upcoming UI features";
3311const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483312
Brett Wilson7b44537e2017-08-18 01:38:283313// Feature flags --------------------------------------------------------------
3314
3315#if BUILDFLAG(ENABLE_VR)
3316
David Dorwin5a496c32017-11-17 01:45:053317const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3318const char kWebVrVsyncAlignDescription[] =
3319 "Align WebVR application rendering with VSync for smoother animations.";
3320
Brett Wilson7b44537e2017-08-18 01:38:283321#if defined(OS_ANDROID)
3322
Yash Malikb78e72a72018-02-21 09:14:103323const char kVrWebInputEditingName[] = "VR browsing web input editing";
3324const char kVrWebInputEditingDescription[] =
3325 "Allow editing web input fields while in VR mode.";
3326
David Dorwin5a496c32017-11-17 01:45:053327const char kVrBrowsingExperimentalFeaturesName[] =
3328 "VR browsing experimental features";
3329const char kVrBrowsingExperimentalFeaturesDescription[] =
3330 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283331
David Dorwin5a496c32017-11-17 01:45:053332const char kVrBrowsingExperimentalRenderingName[] =
3333 "VR browsing experimental rendering features";
3334const char kVrBrowsingExperimentalRenderingDescription[] =
3335 "Experimental rendering features for VR browsing (e.g. power-saving "
3336 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103337
David Dorwin5a496c32017-11-17 01:45:053338const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3339const char kVrBrowsingInCustomTabDescription[] =
3340 "Allow browsing within a VR headset while in a Custom Tab.";
3341
David Dorwin5a496c32017-11-17 01:45:053342const char kWebVrAutopresentFromIntentName[] =
3343 "WebVR auto presentation from intents";
3344const char kWebVrAutopresentFromIntentDescription[] =
3345 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283346
3347#endif // OS_ANDROID
3348
Bill Orr103ed272018-02-14 21:23:053349#if BUILDFLAG(ENABLE_OCULUS_VR)
3350const char kOculusVRName[] = "Oculus hardware support";
3351const char kOculusVRDescription[] =
3352 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3353 "Windows 10 or later).";
3354#endif // ENABLE_OCULUS_VR
3355
Bill Orr49527562017-11-22 16:58:483356#if BUILDFLAG(ENABLE_OPENVR)
3357const char kOpenVRName[] = "OpenVR hardware support";
3358const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073359 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3360 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483361#endif // ENABLE_OPENVR
3362
Brett Wilson7b44537e2017-08-18 01:38:283363#endif // ENABLE_VR
3364
Nico Weberaf3b00b2017-09-11 17:58:173365#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283366
3367const char kNaclDebugMaskName[] =
3368 "Restrict Native Client GDB-based debugging by pattern";
3369const char kNaclDebugMaskDescription[] =
3370 "Restricts Native Client application GDB-based debugging by URL of "
3371 "manifest file. Native Client GDB-based debugging must be enabled for this "
3372 "option to work.";
3373const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3374const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3375 "Debug everything except secure shell and the PNaCl translator.";
3376const char kNaclDebugMaskChoiceIncludeDebug[] =
3377 "Debug only if manifest URL ends with debug.nmf.";
3378
3379const char kNaclDebugName[] = "Native Client GDB-based debugging";
3380const char kNaclDebugDescription[] =
3381 "Enable GDB debug stub. This will stop a Native Client application on "
3382 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3383
3384const char kNaclName[] = "Native Client";
3385const char kNaclDescription[] =
3386 "Support Native Client for all web applications, even those that were not "
3387 "installed from the Chrome Web Store.";
3388
3389const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3390const char kPnaclSubzeroDescription[] =
3391 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3392
Nico Weberaf3b00b2017-09-11 17:58:173393#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283394
Brett Wilson7b44537e2017-08-18 01:38:283395const char kWebrtcH264WithOpenh264FfmpegName[] =
3396 "WebRTC H.264 software video encoder/decoder";
3397const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3398 "When enabled, an H.264 software video encoder/decoder pair is included. "
3399 "If a hardware encoder/decoder is also available it may be used instead of "
3400 "this encoder/decoder.";
3401
Brett Wilson7b44537e2017-08-18 01:38:283402#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3403
3404const char kAutofillCreditCardUploadName[] =
3405 "Enable offering upload of Autofilled credit cards";
3406const char kAutofillCreditCardUploadDescription[] =
3407 "Enables a new option to upload credit cards to Google Payments for sync "
3408 "to all Chrome devices.";
3409
3410#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3411
Becca Hughesdc96e842018-05-04 22:48:283412#if defined(OS_ANDROID)
3413
3414const char kDisplayCutoutAPIName[] =
3415 "Enable support for the Display Cutout API";
3416const char kDisplayCutoutAPIDescription[] =
3417 "Enables developers to support devices that have a display cutout.";
3418
3419#endif // defined(OS_ANDROID)
3420
Brett Wilson7b44537e2017-08-18 01:38:283421// ============================================================================
3422// Don't just add flags to the end, put them in the right section in
3423// alphabetical order just like the header file.
3424// ============================================================================
3425
vabr0215a8e2017-03-28 12:47:343426} // namespace flag_descriptions