blob: 27720f57814e4e332a7a919fc8930f772a731698 [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
Michael Lippautzebbc5a82018-05-30 10:41:4250const char kEnableBlinkHeapIncrementalMarkingName[] =
51 "Blink Heap Incremental Marking";
52const char kEnableBlinkHeapIncrementalMarkingDescription[] =
53 "Enable incremental marking in Blink";
54
Tetsui Ohkubo2852b952018-02-23 04:12:0155const char kSystemTrayUnifiedName[] = "New system menu";
56const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5557 "Enable the experimental system menu.";
58
Khushalba202212017-07-12 19:53:4959const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
60const char kAsyncImageDecodingDescription[] =
61 "Enables asynchronous decoding of images from raster for web content";
62
Roger McFarlane2eceba982018-05-18 01:37:1163const char kAutofillCacheQueryResponsesName[] =
64 "Cache Autofill Query Responses";
65const char kAutofillCacheQueryResponsesDescription[] =
66 "When enabled, autofill will cache the responses it receives from the "
67 "crowd-sourced field type prediction server.";
68
sebsge35b762c2018-03-29 20:33:2769const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
70const char kAutofillDynamicFormsDescription[] =
71 "Allows autofill to fill dynamically changing forms";
72
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3973const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
74const char kAutofillPrefilledFieldsDescription[] =
75 "Allows autofill to fill fields previously filled by the website";
76
Roger McFarlane1a37d7b2018-04-20 22:45:1977const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
78 "Autofill Enforce Min Required Fields For Heuristics";
79const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
80 "When enabled, autofill will generally require a form to have at least 3 "
81 "fields before allowing heuristic field-type prediction to occur.";
82
83const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
84 "Autofill Enforce Min Required Fields For Query";
85const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
86 "When enabled, autofill will generally require a form to have at least 3 "
87 "fields before querying the autofill server for field-type predictions.";
88
89const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
90 "Autofill Enforce Min Required Fields For Upload";
91const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
92 "When enabled, autofill will generally require a form to have at least 3 "
93 "fillable fields before uploading field-type votes for that form.";
94
Moe Ahmadid3ddfcb2018-04-20 19:51:0895const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
96 "Restrict formless form extraction";
97const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
98 "Restrict extraction of formless forms to checkout flows";
99
Brett Wilsonf27ff602017-07-07 22:28:47100const char kAutoplayPolicyName[] = "Autoplay policy";
101const char kAutoplayPolicyDescription[] =
102 "Policy used when deciding if audio or video is allowed to autoplay.";
103
104const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
105 "User gesture is required for cross-origin iframes.";
106const char kAutoplayPolicyNoUserGestureRequired[] =
107 "No user gesture is required.";
108const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
109const char kAutoplayPolicyDocumentUserActivation[] =
110 "Document user activation is required.";
111
Johanne0cc6902017-11-16 00:23:50112extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
113extern const char kAv1DecoderDescription[] =
114 "Allow decoding of files with the AV1 video codec.";
115
Brett Wilsonf27ff602017-07-07 22:28:47116const char kBackgroundVideoTrackOptimizationName[] =
117 "Optimize background video playback.";
118const char kBackgroundVideoTrackOptimizationDescription[] =
119 "Disable video tracks when the video is played in the background to "
120 "optimize performance.";
121
122const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
123const char kBleAdvertisingInExtensionsDescription[] =
124 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
125 "with regular use of Bluetooth Low Energy features.";
126
Charles Harrisond629cc62017-10-05 01:39:54127const char kBlockTabUndersName[] = "Block tab-unders";
128const char kBlockTabUndersDescription[] =
129 "Blocks tab-unders in Chrome with some native UI to allow the user to "
130 "proceed.";
131
Brett Wilsonf27ff602017-07-07 22:28:47132const char kBrowserTaskSchedulerName[] = "Task Scheduler";
133const char kBrowserTaskSchedulerDescription[] =
134 "Enables redirection of some task posting APIs to the task scheduler.";
135
Carlos IL766fbc882018-02-16 02:34:52136const char kBundledConnectionHelpName[] = "Bundled Connection Help";
137const char kBundledConnectionHelpDescription[] =
138 "Enables or disables redirecting users who get an interstitial when "
139 "accessing https://support.google.com/chrome/answer/6098869 to local "
140 "connection help content.";
141
Brett Wilsonf27ff602017-07-07 22:28:47142const char kBypassAppBannerEngagementChecksName[] =
143 "Bypass user engagement checks";
144const char kBypassAppBannerEngagementChecksDescription[] =
145 "Bypasses user engagement checks for displaying app banners, such as "
146 "requiring that users have visited the site before and that the banner "
147 "hasn't been shown recently. This allows developers to test that other "
148 "eligibility requirements for showing app banners, such as having a "
149 "manifest, are met.";
150
Lucas Garronb9539b732017-10-31 00:22:09151const char kCommittedInterstitialsName[] = "Committed Interstitials";
152const char kCommittedInterstitialsDescription[] =
153 "Use committed error pages instead of transient navigation entries "
154 "for interstitial error pages (e.g. certificate errors).";
155
Brett Wilsonf27ff602017-07-07 22:28:47156const char kCastStreamingHwEncodingName[] =
157 "Cast Streaming hardware video encoding";
158const char kCastStreamingHwEncodingDescription[] =
159 "This option enables support in Cast Streaming for encoding video streams "
160 "using platform hardware.";
161
Amber Won478561d2017-08-19 01:02:59162const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
163const char kClickToOpenPDFDescription[] =
164 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
165 "embedded PDFs.";
166
Gary Kacmarcikfb69b212017-11-14 03:41:08167const char kClipboardContentSettingName[] = "Clipboard content setting";
168const char kClipboardContentSettingDescription[] =
169 "Enables a site-wide permission in the UI which controls access to the "
170 "asynchronous clipboard web API";
171
Brett Wilsonf27ff602017-07-07 22:28:47172const char kCloudImportName[] = "Cloud Import";
173const char kCloudImportDescription[] = "Allows the cloud-import feature.";
174
Christopher Cameronceb8727d2017-09-07 23:53:16175const char kForceColorProfileSRGB[] = "sRGB";
176const char kForceColorProfileP3[] = "Display P3 D65";
177const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
178const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
179
180const char kForceColorProfileName[] = "Force color profile";
181const char kForceColorProfileDescription[] =
182 "Forces Chrome to use a specific color profile instead of the color "
183 "of the window's current monitor, as specified by the operating system.";
184
Brett Wilsonf27ff602017-07-07 22:28:47185const char kCompositedLayerBordersName[] = "Composited render layer borders";
186const char kCompositedLayerBordersDescription[] =
187 "Renders a border around composited Render Layers to help debug and study "
188 "layer compositing.";
189
Theresaf39c1882018-03-21 18:18:07190const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07191 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07192const char kContextualSuggestionsBottomSheetDescription[] =
193 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47194
Theresa818d3452018-05-22 00:08:07195const char kContextualSuggestionsSlimPeekUIName[] =
196 "Contextual Suggestions Slim Peek UI";
197const char kContextualSuggestionsSlimPeekUIDescription[] =
198 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
199
Brett Wilsonf27ff602017-07-07 22:28:47200const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
201const char kCreditCardAssistDescription[] =
202 "Enable assisted credit card filling on certain sites.";
203
204const char kCrossProcessGuestViewIsolationName[] =
205 "Cross process frames for guests";
206const char kCrossProcessGuestViewIsolationDescription[] =
207 "Highly experimental where guests such as <webview> are implemented on "
208 "the out-of-process iframe infrastructure.";
209
Thanh Le659cb102017-12-20 22:00:19210const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
211const char kDataSaverServerPreviewsDescription[] =
212 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47213
214const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
215const char kDatasaverPromptDescription[] =
216 "Enables a prompt, which appears when a cellular network connection is "
217 "detected, to take the user to the Data Saver extension page on Chrome Web "
218 "Store.";
219const char kDatasaverPromptDemoMode[] = "Demo mode";
220
Wez54dc71b2018-04-17 00:42:34221#if DCHECK_IS_CONFIGURABLE
222const char kDcheckIsFatalName[] = "DCHECKs are fatal";
223const char kDcheckIsFatalDescription[] =
224 "By default Chrome will evaluate in this build, but only log failures, "
225 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
226#endif // DCHECK_IS_CONFIGURABLE
227
Brett Wilsonf27ff602017-07-07 22:28:47228const char kDebugPackedAppName[] = "Debugging for packed apps";
229const char kDebugPackedAppDescription[] =
230 "Enables debugging context menu options such as Inspect Element for packed "
231 "applications.";
232
233const char kDefaultTileHeightName[] = "Default tile height";
234const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
235const char kDefaultTileHeightShort[] = "128";
236const char kDefaultTileHeightTall[] = "256";
237const char kDefaultTileHeightGrande[] = "512";
238const char kDefaultTileHeightVenti[] = "1024";
239
240const char kDefaultTileWidthName[] = "Default tile width";
241const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
242const char kDefaultTileWidthShort[] = "128";
243const char kDefaultTileWidthTall[] = "256";
244const char kDefaultTileWidthGrande[] = "512";
245const char kDefaultTileWidthVenti[] = "1024";
246
247const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
248const char kDebugShortcutsDescription[] =
249 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
250
251const char kDeviceDiscoveryNotificationsName[] =
252 "Device Discovery Notifications";
253const char kDeviceDiscoveryNotificationsDescription[] =
254 "Device discovery notifications on local network.";
255
256const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
257const char kDevtoolsExperimentsDescription[] =
258 "Enables Developer Tools experiments. Use Settings panel in Developer "
259 "Tools to toggle individual experiments.";
260
261const char kDisableAudioForDesktopShareName[] =
262 "Disable Audio For Desktop Share";
263const char kDisableAudioForDesktopShareDescription[] =
264 "With this flag on, desktop share picker window will not let the user "
265 "choose whether to share audio.";
266
Chris Palmer917bc052018-03-14 19:28:31267const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
268const char kDisablePushStateThrottleDescription[] =
269 "Disables throttling of history.pushState and history.replaceState method "
270 "calls.";
271
Brett Wilsonf27ff602017-07-07 22:28:47272const char kDisableTabForDesktopShareName[] =
273 "Disable Desktop Share with tab source";
274const char kDisableTabForDesktopShareDescription[] =
275 "This flag controls whether users can choose a tab for desktop share.";
276
277const char kDisallowDocWrittenScriptsUiName[] =
278 "Block scripts loaded via document.write";
279const char kDisallowDocWrittenScriptsUiDescription[] =
280 "Disallows fetches for third-party parser-blocking scripts inserted into "
281 "the main frame via document.write.";
282
Christopher Thompson2ffffa2c2018-05-18 23:06:37283const char kDisallowUnsafeHttpDownloadsName[] =
284 "Block unsafe downloads over insecure connections";
285const char kDisallowUnsafeHttpDownloadsNameDescription[] =
286 "Disallows downloads of unsafe files (files that can potentially execute "
287 "code), where the final download origin or any origin in the redirect "
288 "chain is insecure.";
289
Brett Wilsonf27ff602017-07-07 22:28:47290const char kDriveSearchInChromeLauncherName[] =
291 "Drive Search in Chrome App Launcher";
292const char kDriveSearchInChromeLauncherDescription[] =
293 "Files from Drive will show up when searching the Chrome App Launcher.";
294
Brett Wilsonf27ff602017-07-07 22:28:47295const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
296const char kEmbeddedExtensionOptionsDescription[] =
297 "Display extension options as an embedded element in chrome://extensions "
298 "rather than opening a new tab.";
299
Dominic Mazzoni8ac98962018-05-25 05:44:55300const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
301const char kEnableAccessibilityObjectModelDescription[] =
302 "Enables experimental support for Accessibility Object Model APIs "
303 "that are in development.";
304
Brett Wilsonf27ff602017-07-07 22:28:47305const char kEnableAsmWasmName[] =
306 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
307const char kEnableAsmWasmDescription[] =
308 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
309 R"*(WebAssembly.)*";
310
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36311const char kEnableWebPaymentsSingleAppUiSkipName[] =
312 "Enable Web Payments single app UI skip";
313const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
314 "Enable Web Payments to skip showing its UI if the developer specifies a "
315 "single app.";
316
Shanfeng Zhang19c16562017-10-17 02:30:40317const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
318 "Credit card autofill ablation experiment.";
319const char kEnableAutofillCreditCardAblationExperimentDescription[] =
320 "If enabled, credit card autofill suggestions will not display.";
321
Jared Saulae93aa12018-03-23 19:04:39322const char kEnableAutofillCreditCardBankNameDisplayName[] =
323 "Display the issuer bank name of a credit card in autofill.";
324const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
325 "If enabled, displays the issuer bank name of a credit card in autofill.";
326
Brett Wilsonf27ff602017-07-07 22:28:47327const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
328 "Display the last used date of a credit card in autofill.";
329const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
330 "If enabled, display the last used date of a credit card in autofill.";
331
Jared Saulbc672a072018-06-16 05:22:12332const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
333 "Make cardholder name editable in dialog during credit card upload";
334const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
335 "If enabled, in certain situations when offering credit card upload to "
336 "Google Payments, the cardholder name can be edited within the "
337 "offer-to-save dialog, which is prefilled with the name from the signed-in "
338 "Google Account.";
339
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37340const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
341 "Enable Google Pay branding when offering credit card upload on Android";
342const char
343 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
344 "If enabled, shows the Google Pay logo and a shorter header message "
345 "when credit card upload to Google Payments is offered on Android.";
346
Jared Saul1e4786a2017-12-14 01:43:09347const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
348 "Always send metadata on detected form values for Autofill credit card "
349 "upload";
350const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
351 "If enabled, always checks with Google Payments when deciding whether to "
352 "offer credit card upload, even if some data is missing.";
353
Jared Saul5c2a1482017-12-09 00:24:31354const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
355 "Send first six digits of PAN when deciding whether to offer Autofill "
356 "credit card upload";
357const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
358 "If enabled, when deciding whether to offer credit card upload to Google "
359 "Payments, sends the first six digits of the card number to avoid cases "
360 "where card upload is likely to fail.";
361
siyua7c4e97b42018-04-24 02:49:42362const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
363 "Enable updated prompt explanation when offering credit card upload";
364const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
365 "If enabled, changes the server save card prompt's explanation to mention "
366 "the saving of the billing address.";
367
tmartinocd414732018-02-12 19:01:01368const char kEnableAutofillNativeDropdownViewsName[] =
369 "Display Autofill Dropdown Using Views";
370const char kEnableAutofillNativeDropdownViewsDescription[] =
371 "If enabled, the Autofill Dropdown will be built natively using Views, "
372 "rather than painted directly to a canvas.";
373
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23374const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
375 "Send experiment flag IDs in calls to Google Payments";
376const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
377 "If enabled, adds the status of certain experiment variations when making "
378 "calls to Google Payments.";
379
Becca Hughes4d896c42018-05-29 16:58:51380const char kEnableAutoplayIgnoreWebAudioName[] =
381 "Autoplay ignores WebAudio playbacks";
382const char kEnableAutoplayIgnoreWebAudioDescription[] =
383 "If enabled, autoplay restrictions will be ignored for WebAudio.";
384
Vitalii Iarko4f9834ce2017-08-04 07:05:19385const char kEnableBreakingNewsPushName[] = "Breaking News Push";
386const char kEnableBreakingNewsPushDescription[] =
387 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
388 "through Google Cloud Messaging.";
389
Brett Wilsonf27ff602017-07-07 22:28:47390const char kEnableBrotliName[] = "Brotli Content-Encoding.";
391const char kEnableBrotliDescription[] =
392 "Enable Brotli Content-Encoding support.";
393
Qiang Xu0f602fe62017-12-22 01:31:20394const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
395const char kEnableCaptivePortalRandomUrlDescription[] =
396 "Enable Captive Portal URL randomization.";
397
sclittle50e4bb92017-07-08 02:23:03398const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
399
400const char kEnableClientLoFiDescription[] =
401 "Enable showing low fidelity images on some pages on slow networks.";
402
Patrick Noland8bc57472018-06-19 21:09:54403const char kEnableCSSFragmentIdentifiersName[] =
404 "Enable CSS Fragment Identifiers";
405const char kEnableCSSFragmentIdentifiersDescription[] =
406 "Enable support for specifying a target element using a css selector in "
407 "the fragment identifier.";
408
David Reveman87b4b692018-03-09 21:22:22409const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
410const char kEnableCursorMotionBlurDescription[] =
411 "Enable motion blur effect for the cursor.";
412
Ramin Halavati6f5d9852018-06-20 09:37:05413const char kEnableEphemeralFlashPermissionName[] =
414 "Enable Ephemeral Flash Permissions";
415const char kEnableEphemeralFlashPermissionDescription[] =
416 "When enabled, Flash plugin permissions are reset at the end of the "
417 "browser session.";
418
Doug Arnett08b4067b2017-10-12 20:14:44419const char kEnableNoScriptPreviewsName[] = "NoScript previews";
420
421const char kEnableNoScriptPreviewsDescription[] =
422 "Enable disabling JavaScript on some pages on slow networks.";
423
Thanh Le2c279fbc2017-11-21 01:25:40424const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
425const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
426const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
427const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
428const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
429const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
430const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
431const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
432const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
433const char kDataReductionProxyServerAlternative10[] =
434 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47435const char kEnableDataReductionProxyServerExperimentName[] =
436 "Use an alternative Data Saver back end configuration.";
437const char kEnableDataReductionProxyServerExperimentDescription[] =
438 "Enable a different approach to saving data by configuring the back end "
439 "server";
440
441const char kEnableDataReductionProxySavingsPromoName[] =
442 "Data Saver 1 MB Savings Promo";
443const char kEnableDataReductionProxySavingsPromoDescription[] =
444 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
445 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
446 "enabled for the promo to be shown.";
447
Matt Giucad4870432017-11-24 01:04:38448const char kEnableDesktopPWAsName[] = "Desktop PWAs";
449const char kEnableDesktopPWAsDescription[] =
450 "Experimental windowing and install banner treatment for Progressive Web "
451 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17452
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59453const char kEnableDesktopPWAsLinkCapturingName[] =
454 "Desktop PWAs Link Capturing";
455const char kEnableDesktopPWAsLinkCapturingDescription[] =
456 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
457 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
458 "#enable-desktop-pwas.";
459
Ahmed Fakhry0037de02018-01-29 19:58:31460const char kEnableDockedMagnifierName[] = "Docked Magnifier";
461const char kEnableDockedMagnifierDescription[] =
462 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
463
Ramya Nagarajan5b41d8d2018-04-02 19:53:02464const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
465const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09466 "Enables the Emoji picker item in context menus for editable text areas, if"
467 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02468
Brett Wilsonf27ff602017-07-07 22:28:47469const char kEnableEnumeratingAudioDevicesName[] =
470 "Experimentally enable enumerating audio devices.";
471const char kEnableEnumeratingAudioDevicesDescription[] =
472 "Experimentally enable the use of enumerating audio devices.";
473
474const char kEnableGenericSensorName[] = "Generic Sensor";
475const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25476 "Enables motion sensor classes based on Generic Sensor API, i.e. "
477 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
478 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
479
480const char kEnableGenericSensorExtraClassesName[] =
481 "Generic Sensor Extra Classes";
482const char kEnableGenericSensorExtraClassesDescription[] =
483 "Enables an extra set of sensor classes based on Generic Sensor API, which "
484 "expose previously unavailable platform features, i.e. AmbientLightSensor "
485 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47486
Brett Wilsonf27ff602017-07-07 22:28:47487const char kEnableHDRName[] = "HDR mode";
488const char kEnableHDRDescription[] =
489 "Enables HDR support on compatible displays.";
490
Ryan Sturm6a850902018-06-09 02:27:34491const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
492const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09493 "Enable showing an InfoBar on data heavy pages that allows the user to "
494 "pause sub-resource request loading on the page. Sub-resource load pausing "
495 "functionality currently requires 'Experimental Web Platform features' to "
496 "be enabled. Using the 'Low' option will reduce the triggering threshold "
497 " 1MB.";
Ryan Sturm6a850902018-06-09 02:27:34498
Brett Wilsonf27ff602017-07-07 22:28:47499const char kEnableHttpFormWarningName[] =
500 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15501 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47502const char kEnableHttpFormWarningDescription[] =
503 "Attaches a warning UI to any password or credit card fields detected when "
504 "the top-level page is not HTTPS";
505
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41506const char kLayeredAPIName[] = "Experimental layered APIs";
507const char kLayeredAPIDescription[] =
508 "Enable layered API infrastructure, as well as several experimental "
509 "layered APIs. The syntax and the APIs exposed are experimental and will "
510 "change over time.";
511
Scott Littled0fd2d002018-04-13 03:37:26512const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
513const char kEnableLazyFrameLoadingDescription[] =
514 "Defers the loading of certain cross-origin frames until the page is "
515 "scrolled down near them.";
516
Sidney San Martín9375b892017-09-09 00:29:54517const char kEnableMacMaterialDesignDownloadShelfName[] =
518 "Enable Material Design download shelf";
519
520const char kEnableMacMaterialDesignDownloadShelfDescription[] =
521 "If enabled, the download shelf uses Material Design.";
522
Tatiana Gornakafb40452017-07-31 13:50:04523const char kEnableManualFallbacksFillingName[] =
524 "Manual fallbacks for password manager forms filling";
525const char kEnableManualFallbacksFillingDescription[] =
526 "If enabled, then if user clicks on the password field on a form, popup "
527 "might contain generation fallbacks or 'Show all saved passwords' "
528 "fallback.";
529
Anton Urusov47cd4932017-09-19 14:41:41530const char kEnablePolicyToolName[] = "Enable policy management page";
531const char kEnablePolicyToolDescription[] =
532 "If enabled, the chrome://policy-tool URL loads a page for managing "
533 "policies.";
534
Tsuyoshi Horoea7edb72017-11-12 04:14:00535const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
536const char kEnablePWAFullCodeCacheDescription[] =
537 "Generate V8 code cache in Cache Storage while installing Service Worker "
538 "for PWAs.";
539
Weidong Guof1e5a892018-01-06 02:26:39540const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28541 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39542const char kDisableMultiMirroringDescription[] =
543 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28544
Brett Wilsonf27ff602017-07-07 22:28:47545const char kEnableNavigationTracingName[] = "Enable navigation tracing";
546const char kEnableNavigationTracingDescription[] =
547 "This is to be used in conjunction with the trace-upload-url flag. "
548 "WARNING: When enabled, Chrome will record performance data for every "
549 "navigation and upload it to the URL specified by the trace-upload-url "
550 "flag. The trace may include personally identifiable information (PII) "
551 "such as the titles and URLs of websites you visit.";
552
Bernhard Bauer5533f9912017-11-06 17:56:02553const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
554const char kEnableNetworkLoggingToFileDescription[] =
555 "Enables network logging to a file named netlog.json in the user data "
556 "directory. The file can be imported into chrome://net-internals.";
557
Brett Wilsonf27ff602017-07-07 22:28:47558const char kEnableNetworkServiceName[] = "Enable network service";
559const char kEnableNetworkServiceDescription[] =
560 "Enables the network service, which makes network requests through a "
561 "separate service. Note: most features don't work with this yet.";
562
John Abd-El-Malek8067cc02017-12-04 23:23:20563const char kEnableNetworkServiceInProcessName[] =
564 "Runs network service in-process";
565const char kEnableNetworkServiceInProcessDescription[] =
566 "Runs the network service in the browser process.";
567
dpapaded8349472017-10-25 03:21:27568const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
569const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37570 "If enabled, Print Preview will display a newer UI. This feature is "
571 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27572
Ahmed Fakhry2fd8fc82017-07-28 16:31:12573const char kEnableNightLightName[] = "Enable Night Light";
574const char kEnableNightLightDescription[] =
575 "Enable the Night Light feature which controls the color temperature of "
576 "the screen.";
577
xlou8b56f672018-02-09 23:34:30578const char kEnableNupPrintingName[] = "Enable N-up printing";
579const char kEnableNupPrintingDescription[] =
580 "Enable N-up printing in the print preview panel.";
581
Sophie Chang117a3b22017-10-24 22:25:36582const char kEnableOptimizationHintsName[] = "Optimization Hints";
583const char kEnableOptimizationHintsDescription[] =
584 "Enable the Optimization Hints feature which incorporates server hints"
585 "into decisions for what optimizations to perform on some pages on slow "
586 "networks.";
587
Yutaka Hirano98be3272017-08-07 17:55:39588const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
589const char kEnableOutOfBlinkCORSDescription[] =
590 "CORS handling logic is moved out of blink.";
591
Sammie Quon0fbf0782018-05-01 22:11:08592const char kEnableOverviewSwipeToCloseName[] =
593 "Enable overview swipe to close.";
594const char kEnableOverviewSwipeToCloseDescription[] =
595 "Enables closing of items in overview mode by dragging or flinging "
596 "vertically.";
597
kylechar7051c092018-02-05 20:31:39598const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
599const char kVizDisplayCompositorDescription[] =
600 "If enabled, the display compositor runs as part of the viz service in the"
601 "GPU process.";
602
Ria Jiang6a129b982018-03-01 18:30:40603const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
604const char kVizHitTestDrawQuadDescription[] =
605 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
606 "with hit-test data computed from the CompositorFrame.";
607
Erik Chen49bbfa22017-08-18 08:49:56608const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23609 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56610const char kEnableOutOfProcessHeapProfilingDescription[] =
611 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19612 "malloced objects. Heap dumps can be obtained at chrome://tracing "
613 "[category:memory-infra] and chrome://memory-internals. This setting "
614 "controls which processes are profiled. As long as this setting is not "
615 "disabled, users can start profiling any given process in "
616 "chrome://memory-internals.";
617const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
618const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
619const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
620const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
621const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10622const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19623 "None by default. Visit chrome://memory-internals to choose which "
624 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15625const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
626 "Profile a random sampling of renderer processes, ensuring only one is "
627 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19628
Erik Chen8bb76b52017-12-06 19:06:25629const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19630 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25631const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
632 "By default, small allocations are pruned from the heap dump. This reduces "
633 "the size of the compressed trace by 100x. If pruning is disabled, the "
634 "chrome://tracing UI may be unable to take or load the trace. Save the "
635 "trace directly using chrome://memory-internals, and use other mechanisms "
636 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
637 "automatically uploaded traces will always be pruned. This only affects "
638 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56639
erikchen8bc20d82018-02-14 03:21:51640const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
641const char kOutOfProcessHeapProfilingSamplingDescription[] =
642 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22643 "10000. This results in low noise for large and/or frequent allocations ["
644 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
645 "total size of malloc-ed objects] and large and/or frequent allocations "
646 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51647
Erik Chen3303fd0232018-01-11 20:29:05648const char kOOPHPStackModeName[] =
649 "The type of stack to record for memlog heap dumps";
650const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19651 "By default, memlog heap dumps record native stacks, which requires a "
652 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55653 "pointers to work on Android. Native with thread names will add the thread "
654 "name as the first frame of each native stack. It's also possible to "
655 "record a pseudo stack using trace events as identifiers. It's also "
656 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19657const char kOOPHPStackModeMixed[] = "Mixed";
658const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55659const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19660const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05661
François Beaufort2e75f492018-02-08 20:44:46662const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47663const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46664 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47665
F#m59d036e2017-09-13 07:22:17666const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
667const char kEnablePixelCanvasRecordingDescription[] =
668 "Pixel canvas recording allows the compositor to raster contents aligned "
669 "with the pixel and improves text rendering. This should be enabled when a "
670 "device is using fractional scale factor.";
671
vitaliiid36191b2018-06-11 07:40:49672extern const char kEnableSyncUserConsentSeparateTypeName[] =
673 "Enable separate sync type for consents";
674extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
675 "Emit user consents as a separate sync type instead of user events.";
676
Mikel Astiz38837f82018-04-24 22:23:23677const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
678const char kEnableSyncUSSSessionsDescription[] =
679 "Enables the new, experimental implementation of session sync (aka tab "
680 "sync).";
681
Brett Wilsonf27ff602017-07-07 22:28:47682const char kEnableTokenBindingName[] = "Token Binding.";
683const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
684
Sahel Sharifyd732ab12017-11-29 23:03:16685extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
686 "Wheel Scroll Latching.";
687extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
688 "Wheel scroll latching enforces latching to a single element for the "
689 "duration of a scroll sequence.";
690
Brett Wilsonf27ff602017-07-07 22:28:47691const char kEnableUseZoomForDsfName[] =
692 "Use Blink's zoom for device scale factor.";
693const char kEnableUseZoomForDsfDescription[] =
694 "If enabled, Blink uses its zooming mechanism to scale content for device "
695 "scale factor.";
696const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
697const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
698const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
699
Patrick Noland8ee016e2018-01-24 11:44:53700const char kEnableScrollAnchorSerializationName[] =
701 "Scroll Anchor Serialization";
702const char kEnableScrollAnchorSerializationDescription[] =
703 "Save the scroll anchor and use it to restore the scroll position when "
704 "navigating.";
705
Brad Nelson5cd500e2018-01-04 00:50:19706const char kEnableSharedArrayBufferName[] =
707 "Experimental enabled SharedArrayBuffer support in JavaScript.";
708const char kEnableSharedArrayBufferDescription[] =
709 "Enable SharedArrayBuffer support in JavaScript.";
710
Brett Wilsonf27ff602017-07-07 22:28:47711const char kEnableWasmName[] = "WebAssembly structured cloning support.";
712const char kEnableWasmDescription[] =
713 "Enable web pages to use WebAssembly structured cloning.";
714
Brett Wilsonf27ff602017-07-07 22:28:47715const char kEnableImageCaptureAPIName[] = "Image Capture API";
716const char kEnableImageCaptureAPIDescription[] =
717 "Enables the Web Platform Image Capture API: takePhoto(), "
718 "getPhotoCapabilities(), etc.";
719
720const char kEnableZeroSuggestRedirectToChromeName[] =
721 "Experimental contextual omnibox suggestion";
722const char kEnableZeroSuggestRedirectToChromeDescription[] =
723 "Change omnibox contextual suggestions to an experimental source. Note "
724 "that this is not an on/off switch for contextual omnibox and it only "
725 "applies to suggestions provided before the user starts typing a URL or a "
726 "search query (i.e. zero suggest).";
727
728const char kEnableWasmStreamingName[] =
729 "WebAssembly streaming compile/instantiate support.";
730const char kEnableWasmStreamingDescription[] =
731 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
732
Clemens Hammacher0c8a15a2018-04-27 13:45:32733const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
734const char kEnableWasmBaselineDescription[] =
735 "Enables WebAssembly baseline compilation and tier up.";
736
Ben Smith24c1e5c2018-06-20 01:09:02737const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
738const char kEnableWasmThreadsDescription[] =
739 "Enables support for the WebAssembly Threads proposal. Implies "
740 "#shared-array-buffer and #enable-webassembly.";
741
Brett Wilsonf27ff602017-07-07 22:28:47742const char kExpensiveBackgroundTimerThrottlingName[] =
743 "Throttle expensive background timers";
744const char kExpensiveBackgroundTimerThrottlingDescription[] =
745 "Enables intervention to limit CPU usage of background timers to 1%.";
746
747const char kExperimentalAppBannersName[] = "Experimental app banners";
748const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38749 "Enables a new experimental app banner flow and UI. Implies "
750 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47751
752const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
753const char kExperimentalCanvasFeaturesDescription[] =
754 "Enables the use of experimental canvas features which are still in "
755 "development.";
756
Nicholas Verneccd8259802018-02-22 01:22:04757const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
758const char kExperimentalCrostiniUIDescription[] =
759 "Enables in-development Crostini features.";
760
Brett Wilsonf27ff602017-07-07 22:28:47761const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
762const char kExperimentalExtensionApisDescription[] =
763 "Enables experimental extension APIs. Note that the extension gallery "
764 "doesn't allow you to upload extensions that use experimental APIs.";
765
766const char kExperimentalFullscreenExitUIName[] =
767 "Experimental fullscreen exit UI";
768const char kExperimentalFullscreenExitUIDescription[] =
769 "Displays experimental UI to allow mouse and touch input methods to exit "
770 "fullscreen mode.";
771
Ian Clelland37a985d2018-05-04 02:43:13772const char kExperimentalProductivityFeaturesName[] =
773 "Experimental Productivity Features";
774const char kExperimentalProductivityFeaturesDescription[] =
775 "Enable support for experimental developer productivity features, such as "
776 "Layered APIs and policies for avoiding slow rendering.";
777
Brett Wilsonf27ff602017-07-07 22:28:47778const char kExperimentalSecurityFeaturesName[] =
779 "Potentially annoying security features";
780const char kExperimentalSecurityFeaturesDescription[] =
781 "Enables several security features that will likely break one or more "
782 "pages that you visit on a daily basis. Strict mixed content checking, for "
783 "example. And locking powerful features to secure contexts. This flag will "
784 "probably annoy you.";
785
786const char kExperimentalWebPlatformFeaturesName[] =
787 "Experimental Web Platform features";
788const char kExperimentalWebPlatformFeaturesDescription[] =
789 "Enables experimental Web Platform features that are in development.";
790
791const char kExtensionContentVerificationName[] =
792 "Extension Content Verification";
793const char kExtensionContentVerificationDescription[] =
794 "This flag can be used to turn on verification that the contents of the "
795 "files on disk for extensions from the webstore match what they're "
796 "expected to be. This can be used to turn on this feature if it would not "
797 "otherwise have been turned on, but cannot be used to turn it off (because "
798 "this setting can be tampered with by malware).";
799const char kExtensionContentVerificationBootstrap[] =
800 "Bootstrap (get expected hashes, but do not enforce them)";
801const char kExtensionContentVerificationEnforce[] =
802 "Enforce (try to get hashes, and enforce them if successful)";
803const char kExtensionContentVerificationEnforceStrict[] =
804 "Enforce strict (hard fail if we can't get hashes)";
805
806const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
807const char kExtensionsOnChromeUrlsDescription[] =
808 "Enables running extensions on chrome:// URLs, where extensions explicitly "
809 "request this permission.";
galinapae72e152017-05-12 13:12:28810
Brett Wilsonecb80982017-07-12 20:34:51811const char kFastUnloadName[] = "Fast tab/window close";
812const char kFastUnloadDescription[] =
813 "Enables fast tab/window closing - runs a tab's onunload js handler "
814 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34815
Brett Wilsonecb80982017-07-12 20:34:51816const char kFeaturePolicyName[] = "Feature Policy";
817const char kFeaturePolicyDescription[] =
818 "Enables granting and removing access to features through the "
819 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34820
Brett Wilsonecb80982017-07-12 20:34:51821const char kFontCacheScalingName[] = "FontCache scaling";
822const char kFontCacheScalingDescription[] =
823 "Reuse a cached font in the renderer to serve different sizes of font for "
824 "faster layout.";
825
826const char kForceEffectiveConnectionTypeName[] =
827 "Override effective connection type";
828const char kForceEffectiveConnectionTypeDescription[] =
829 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30830 "returned by the network quality estimator. Slow 2G on Cellular returns "
831 "Slow 2G when connected to a cellular network, and the actual estimate "
832 "effective connection type when not on a cellular network. Previews are "
833 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51834const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
835const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
836const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30837const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
838 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51839const char kEffectiveConnectionType2GDescription[] = "2G";
840const char kEffectiveConnectionType3GDescription[] = "3G";
841const char kEffectiveConnectionType4GDescription[] = "4G";
842
843const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
844const char kFillOnAccountSelectDescription[] =
845 "Filling of passwords when an account is explicitly selected by the user "
846 "rather than autofilling credentials on page load.";
847
Brett Wilsonecb80982017-07-12 20:34:51848const char kForceTextDirectionName[] = "Force text direction";
849const char kForceTextDirectionDescription[] =
850 "Explicitly force the per-character directionality of UI text to "
851 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
852 "direction of the character language.";
853const char kForceDirectionLtr[] = "Left-to-right";
854const char kForceDirectionRtl[] = "Right-to-left";
855
856const char kForceUiDirectionName[] = "Force UI direction";
857const char kForceUiDirectionDescription[] =
858 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
859 "mode, overriding the default direction of the UI language.";
860
861const char kFramebustingName[] =
862 "Framebusting requires same-origin or a user gesture";
863const char kFramebustingDescription[] =
864 "Don't permit an iframe to navigate the top level browsing context unless "
865 "they are same-origin or the iframe is processing a user gesture.";
866
867const char kGamepadExtensionsName[] = "Gamepad Extensions";
868const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22869 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58870const char kGamepadVibrationName[] = "Gamepad Vibration";
871const char kGamepadVibrationDescription[] =
872 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51873
Brett Wilsonecb80982017-07-12 20:34:51874const char kGpuRasterizationMsaaSampleCountName[] =
875 "GPU rasterization MSAA sample count.";
876const char kGpuRasterizationMsaaSampleCountDescription[] =
877 "Specify the number of MSAA samples for GPU rasterization.";
878const char kGpuRasterizationMsaaSampleCountZero[] = "0";
879const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
880const char kGpuRasterizationMsaaSampleCountFour[] = "4";
881const char kGpuRasterizationMsaaSampleCountEight[] = "8";
882const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
883
884const char kGpuRasterizationName[] = "GPU rasterization";
885const char kGpuRasterizationDescription[] =
886 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28887const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51888
889const char kGoogleProfileInfoName[] = "Google profile name and icon";
890const char kGoogleProfileInfoDescription[] =
891 "Enables using Google information to populate the profile name and icon in "
892 "the avatar menu.";
893
894const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
895const char kHarfbuzzRendertextDescription[] =
896 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
897 "web content.";
898
Takumi Fujimotofb71e332018-03-31 14:04:08899const char kViewsCastDialogName[] = "Views Cast dialog";
900const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31901 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53902 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54903 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08904
Manu Cornet4a908de2018-04-09 04:32:27905const char kHideActiveAppsFromShelfName[] =
906 "Hide running apps (that are not pinned) from the shelf";
907const char kHideActiveAppsFromShelfDescription[] =
908 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25909
Brett Wilsonecb80982017-07-12 20:34:51910const char kHistoryRequiresUserGestureName[] =
911 "New history entries require a user gesture.";
912const char kHistoryRequiresUserGestureDescription[] =
913 "Require a user gesture to add a history entry.";
914const char kHyperlinkAuditingName[] = "Hyperlink auditing";
915const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
916
Ryan Landay4242dbc22018-04-04 01:47:33917const char kHorizontalTabSwitcherAndroidName[] =
918 "Enable horizontal tab switcher";
919const char kHorizontalTabSwitcherAndroidDescription[] =
920 "Changes the layout of the Android tab switcher so tabs scroll "
921 "horizontally instead of vertically.";
922
Brett Wilsonecb80982017-07-12 20:34:51923const char kHostedAppQuitNotificationName[] =
924 "Quit notification for hosted apps";
925const char kHostedAppQuitNotificationDescription[] =
926 "Display a notification when quitting Chrome if hosted apps are currently "
927 "running.";
928
929const char kHostedAppShimCreationName[] =
930 "Creation of app shims for hosted apps on Mac";
931const char kHostedAppShimCreationDescription[] =
932 "Create app shims on Mac when creating a hosted app.";
933
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48934const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
935const char kHtmlBasedUsernameDetectorDescription[] =
936 "Use HTML-based username detector for the password manager.";
937
Brett Wilsonecb80982017-07-12 20:34:51938const char kIconNtpName[] = "Large icons on the New Tab page";
939const char kIconNtpDescription[] =
940 "Enable the experimental New Tab page using large icons.";
941
942const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
943const char kIgnoreGpuBlacklistDescription[] =
944 "Overrides the built-in software rendering list and enables "
945 "GPU-acceleration on unsupported system configurations.";
946
Thanh Le5f090efa52017-12-27 22:39:44947const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
948const char kIgnorePreviewsBlacklistDescription[] =
949 "Ignore decisions made by the PreviewsBlackList";
950
Brett Wilsonecb80982017-07-12 20:34:51951const char kImportantSitesInCbdName[] =
952 "Important sites options in clear browsing data dialog";
953const char kImportantSitesInCbdDescription[] =
954 "Include the option to whitelist important sites in the clear browsing "
955 "data dialog.";
956
Claudio Magni61c210922017-12-28 00:29:51957const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
958const char kImprovedLanguageSettingsDescription[] =
959 "Set of changes for Language Settings. These changes are intended to fix "
960 "the major bugs related to Language Settings.";
961
Brett Wilsonecb80982017-07-12 20:34:51962const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
963const char kInProductHelpDemoModeChoiceDescription[] =
964 "Selects the In-Product Help demo mode.";
965
966const char kJavascriptHarmonyName[] = "Experimental JavaScript";
967const char kJavascriptHarmonyDescription[] =
968 "Enable web pages to use experimental JavaScript features.";
969
970const char kJavascriptHarmonyShippingName[] =
971 "Latest stable JavaScript features";
972const char kJavascriptHarmonyShippingDescription[] =
973 "Some web pages use legacy or non-standard JavaScript extensions that may "
974 "conflict with the latest JavaScript features. This flag allows disabling "
975 "support of those features for compatibility with such pages.";
976
gogeraldfd7675d2018-06-19 22:57:35977const char kJustInTimeServiceWorkerPaymentAppName[] =
978 "Just-in-time service worker payment app";
979const char kJustInTimeServiceWorkerPaymentAppDescription[] =
980 "Allow crawling just-in-time service worker payment app when there is no "
981 "installed service worker payment app for a payment request.";
982
Yutaka Hiranof7f2f632017-09-06 10:40:08983const char kKeepAliveRendererForKeepaliveRequestsName[] =
984 "Keep a renderer alive for keepalive fetch requests";
985const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
986 "Keep a render process alive when the process has a pending fetch request "
987 "with `keepalive' specified.";
988
Joe Downing095fd6d2018-02-01 18:40:36989const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
990const char kKeyboardLockApiDescription[] =
991 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
992 "specific key events and have them routed directly to the webpage when in "
993 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
994
Brett Wilsonecb80982017-07-12 20:34:51995const char kLcdTextName[] = "LCD text antialiasing";
996const char kLcdTextDescription[] =
997 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
998 "(subpixel) when doing accelerated compositing.";
999
Matt Giucac399982f2017-10-06 07:51:291000const char kLeftToRightUrlsName[] =
1001 "Render bidirectional URLs from left to right";
1002const char kLeftToRightUrlsDescription[] =
1003 "An experimental Bidi URL rendering algorithm where the URL components are "
1004 "always shown in order from left to right, regardless of any RTL "
1005 "characters. (The contents of each component are still rendered with the "
1006 "normal Bidi algorithm.)";
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kLoadMediaRouterComponentExtensionName[] =
1009 "Load Media Router Component Extension";
1010const char kLoadMediaRouterComponentExtensionDescription[] =
1011 "Loads the Media Router component extension at startup.";
1012
spqchanb87755692018-04-05 00:46:091013const char kMacViewsAutofillPopupName[] =
1014 "Uses the Views Autofill Popup on Mac";
1015const char kMacViewsAutofillPopupDescription[] =
1016 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321017
Brett Wilsonecb80982017-07-12 20:34:511018const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1019const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511020
Lei Zhang2eca9082017-10-17 20:42:501021const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1022const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511023 "If enabled, the Incognito New Tab page uses the new material design with "
1024 "a better readable text.";
1025
spqchanb87755692018-04-05 00:46:091026const char kMediaRouterCastAllowAllIPsName[] =
1027 "Connect to Cast devices on all IP addresses";
1028const char kMediaRouterCastAllowAllIPsDescription[] =
1029 "Have the Media Router connect to Cast devices on all IP addresses, not "
1030 "just RFC1918/RFC4913 private addresses.";
1031
Brett Wilsonecb80982017-07-12 20:34:511032const char kMemoryAblationName[] = "Memory ablation experiment";
1033const char kMemoryAblationDescription[] =
1034 "Allocates extra memory in the browser process.";
1035
1036const char kMemoryCoordinatorName[] = "Memory coordinator";
1037const char kMemoryCoordinatorDescription[] =
1038 "Enable memory coordinator instead of memory pressure listeners.";
1039
1040const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1041const char kMessageCenterNewStyleNotificationDescription[] =
1042 "Enables the experiment style of material-design notification";
1043
Brett Wilsonecb80982017-07-12 20:34:511044const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1045const char kMhtmlGeneratorOptionDescription[] =
1046 "Provides experimental options for MHTML file generator.";
1047const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1048const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1049
Kouhei Ueno08445c22017-09-05 03:58:301050const char kModuleScriptsDynamicImportName[] =
1051 "Enable ECMAScript 6 modules dynamic import";
1052const char kModuleScriptsDynamicImportDescription[] =
1053 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1054 "Blink.";
1055
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051056const char kModuleScriptsImportMetaUrlName[] =
1057 "Enable ECMAScript 6 modules import.meta.url";
1058const char kModuleScriptsImportMetaUrlDescription[] =
1059 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1060 "Blink.";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kNewAudioRenderingMixingStrategyName[] =
1063 "New audio rendering mixing strategy";
1064const char kNewAudioRenderingMixingStrategyDescription[] =
1065 "Use the new audio rendering mixing strategy.";
1066
1067const char kNewBookmarkAppsName[] = "The new bookmark app system";
1068const char kNewBookmarkAppsDescription[] =
1069 "Enables the new system for creating bookmark apps.";
1070
Vadym Doroshenkof81e8bb2018-04-18 14:35:241071const char kNewPasswordFormParsingName[] = "New password form parsing";
1072const char kNewPasswordFormParsingDescription[] =
1073 "Replaces existing form parsing in password manager with a new version, "
1074 "currently under development. WARNING: when enabled Password Manager might "
1075 "stop working";
1076
Brett Wilsonecb80982017-07-12 20:34:511077const char kNewRemotePlaybackPipelineName[] =
1078 "Enable the new remote playback pipeline.";
1079const char kNewRemotePlaybackPipelineDescription[] =
1080 "Enable the new pipeline for playing media element remotely via "
1081 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501082const char kUseSurfaceLayerForVideoName[] =
1083 "Enable the use of SurfaceLayer objects for videos.";
1084const char kUseSurfaceLayerForVideoDescription[] =
1085 "Enable compositing onto a Surface instead of a VideoLayer "
1086 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511087
1088const char kNewUsbBackendName[] = "Enable new USB backend";
1089const char kNewUsbBackendDescription[] =
1090 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341091
Sonny Sasaka2d200432018-03-22 17:43:161092const char kNewblueName[] = "Newblue";
1093const char kNewblueDescription[] =
1094 "Enables the use of newblue Bluetooth daemon.";
1095
Egor Pasko6fed3822018-05-30 10:33:141096const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341097const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141098 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341099
Alex Newcomerd7b0cc42018-05-25 22:58:481100const char kNotificationIndicatorName[] = "Notification Indicators";
1101const char kNotificationIndicatorDescription[] =
1102 "Enable notification indicators, which appear on app icons when a "
1103 "notification is active. This will also enable notifications in context "
1104 "menus.";
1105
Brett Wilsonecb80982017-07-12 20:34:511106const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1107const char kNotificationsNativeFlagDescription[] =
1108 "Enable support for using the native notification toasts and notification "
1109 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341110
Zentaro Kavanaghbad511c2017-10-18 22:29:001111#if defined(OS_POSIX)
1112const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1113const char kNtlmV2EnabledDescription[] =
1114 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1115#endif
1116
Ramya Nagarajane9f16b82018-05-03 01:05:341117const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1118const char kNtpBackgroundsDescription[] =
1119 "Allow selection of a custom background image on the New Tab Page.";
1120
1121const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1122const char kNtpIconsDescription[] =
1123 "Show custom link icons on the New Tab Page, instead of Most Visited "
1124 "tiles.";
1125
1126const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1127const char kNtpUIMdDescription[] =
1128 "Updates the New Tab Page with Material Design elements.";
1129
Brett Wilsonecb80982017-07-12 20:34:511130const char kNumRasterThreadsName[] = "Number of raster threads";
1131const char kNumRasterThreadsDescription[] =
1132 "Specify the number of raster threads.";
1133const char kNumRasterThreadsOne[] = "1";
1134const char kNumRasterThreadsTwo[] = "2";
1135const char kNumRasterThreadsThree[] = "3";
1136const char kNumRasterThreadsFour[] = "4";
1137
1138const char kOfferStoreUnmaskedWalletCardsName[] =
1139 "Google Payments card saving checkbox";
1140const char kOfferStoreUnmaskedWalletCardsDescription[] =
1141 "Show the checkbox to offer local saving of a credit card downloaded from "
1142 "the server.";
1143
1144const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1145const char kOfflineAutoReloadDescription[] =
1146 "Pages that fail to load while the browser is offline will be "
1147 "auto-reloaded when the browser is online again.";
1148
1149const char kOfflineAutoReloadVisibleOnlyName[] =
1150 "Only Auto-Reload Visible Tabs";
1151const char kOfflineAutoReloadVisibleOnlyDescription[] =
1152 "Pages that fail to load while the browser is offline will only be "
1153 "auto-reloaded if their tab is visible.";
1154
Brett Wilsonecb80982017-07-12 20:34:511155const char kOmniboxDisplayTitleForCurrentUrlName[] =
1156 "Include title for the current URL in the omnibox";
1157const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1158 "In the event that the omnibox provides suggestions on-focus, the URL of "
1159 "the current page is provided as the first suggestion without a title. "
1160 "Enabling this flag causes the title to be displayed.";
1161
Benoit Lizeab08362c2017-07-19 14:50:541162const char kOmniboxSpareRendererName[] =
1163 "Start spare renderer on omnibox focus";
1164const char kOmniboxSpareRendererDescription[] =
1165 "When the omnibox is focused, start an empty spare renderer. This can "
1166 "speed up the load of the navigation from the omnibox.";
1167
Tommy C. Li8875a442017-08-23 00:10:591168const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1169 "Omnibox UI Elide Suggestion URL After Host";
1170const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1171 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1172 "dropdown.";
1173
Tommy C. Lid79d4402017-12-22 22:49:121174const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1175 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1176const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1177 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221178 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1179 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121180
Brett Wilsonecb80982017-07-12 20:34:511181const char kOmniboxUIMaxAutocompleteMatchesName[] =
1182 "Omnibox UI Max Autocomplete Matches";
1183
1184const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1185 "Changes the maximum number of autocomplete matches displayed in the "
1186 "Omnibox UI.";
1187
Justin Donnelly65c9e8b2017-10-01 05:15:011188const char kOmniboxUIShowSuggestionFaviconsName[] =
1189 "Omnibox UI Show Suggestion Favicons";
1190const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1191 "Shows favicons instead of generic vector icons for URL suggestions in the "
1192 "Omnibox dropdown.";
1193
1194const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1195const char kOmniboxUISwapTitleAndUrlDescription[] =
1196 "In the omnibox dropdown, shows titles before URLs when both are "
1197 "available.";
1198
Brett Wilsonecb80982017-07-12 20:34:511199const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1200const char kOmniboxUIVerticalMarginDescription[] =
1201 "Changes the vertical margin in the Omnibox UI.";
1202
Troy Hildebrandtb32637ca2018-02-21 23:25:091203const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1204 "Omnibox Voice Search Always Visible";
1205const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1206 "Always displays voice search icon in focused omnibox as long as voice "
1207 "search is possible";
1208
Adrienne Walkerc87477e2018-06-06 22:28:211209const char kOopRasterizationName[] = "Out of process rasterization";
1210const char kOopRasterizationDescription[] =
1211 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1212 "Must also enable GPU rasterization";
1213
Brett Wilsonecb80982017-07-12 20:34:511214const char kOriginTrialsName[] = "Origin Trials";
1215const char kOriginTrialsDescription[] =
1216 "Enables origin trials for controlling access to feature/API experiments.";
1217
Becca Hughes930d8cd2017-10-02 11:09:121218const char kOverflowIconsForMediaControlsName[] =
1219 "Icons on Media Controls Overflow Menu";
1220const char kOverflowIconsForMediaControlsDescription[] =
1221 "Displays icons on the overflow menu of the native media controls";
1222
Brett Wilsonecb80982017-07-12 20:34:511223const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1224const char kOverlayScrollbarsDescription[] =
1225 "Enable the experimental overlay scrollbars implementation. You must also "
1226 "enable threaded compositing to have the scrollbars animate.";
1227
chaopenge8aa016b2017-08-24 15:20:191228const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1229 "Flash Overlay Scrollbars After Any Scroll Update";
1230const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1231 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1232 " must also enable Overlay Scrollbars.";
1233
chaopeng343678022017-08-24 18:45:001234const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1235 "Flash Overlay Scrollbars When Mouse Enter";
1236const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1237 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1238 " enable Overlay Scrollbars.";
1239
Claudio Magni81326f92017-09-01 05:21:181240const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1241const char kUseNewAcceptLanguageHeaderDescription[] =
1242 "Adds the base language code after other corresponding language+region "
1243 "codes. This ensures that users receive content in their preferred "
1244 "language.";
1245
Brett Wilsonecb80982017-07-12 20:34:511246const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1247const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481248 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511249const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481250const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511251
1252const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1253const char kOverscrollStartThresholdDescription[] =
1254 "Changes overscroll start threshold relative to the default value.";
1255const char kOverscrollStartThreshold133Percent[] = "133%";
1256const char kOverscrollStartThreshold166Percent[] = "166%";
1257const char kOverscrollStartThreshold200Percent[] = "200%";
1258
chaopenge2b6e5f2018-05-08 16:40:451259const char kTouchpadOverscrollHistoryNavigationName[] =
1260 "Overscroll history navigation on Touchpad";
1261const char kTouchpadOverscrollHistoryNavigationDescription[] =
1262 "Allows swipe left/right from touchpad change browser navigation.";
1263
Xing Liu5400a002017-09-15 21:48:291264const char kParallelDownloadingName[] = "Parallel downloading";
1265const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061266 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291267
Brett Wilsonecb80982017-07-12 20:34:511268const char kPassiveEventListenerDefaultName[] =
1269 "Passive Event Listener Override";
1270const char kPassiveEventListenerDefaultDescription[] =
1271 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1272 "haven't requested otherwise) to be treated as passive. This will break "
1273 "touch/wheel behavior on some websites but is useful for demonstrating the "
1274 "potential performance benefits of adopting passive event listeners.";
1275const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1276const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1277
1278const char kPassiveEventListenersDueToFlingName[] =
1279 "Touch Event Listeners Passive Default During Fling";
1280const char kPassiveEventListenersDueToFlingDescription[] =
1281 "Forces touchstart, and first touchmove per scroll event listeners during "
1282 "fling to be treated as passive.";
1283
1284const char kPassiveDocumentEventListenersName[] =
1285 "Document Level Event Listeners Passive Default";
1286const char kPassiveDocumentEventListenersDescription[] =
1287 "Forces touchstart, and touchmove event listeners on document level "
1288 "targets (which haven't requested otherwise) to be treated as passive.";
1289
1290const char kPasswordForceSavingName[] = "Force-saving of passwords";
1291const char kPasswordForceSavingDescription[] =
1292 "Allow the user to manually enforce password saving instead of relying on "
1293 "password manager's heuristics.";
1294
1295const char kPasswordGenerationName[] = "Password generation";
1296const char kPasswordGenerationDescription[] =
1297 "Allow the user to have Chrome generate passwords when it detects account "
1298 "creation pages.";
1299
Vaclav Brozekd8a3f542017-11-16 14:21:131300const char kPasswordExportName[] = "Password export";
1301const char kPasswordExportDescription[] =
1302 "Export functionality in password settings.";
1303
1304const char kPasswordImportName[] = "Password import";
1305const char kPasswordImportDescription[] =
1306 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511307
Friedrich Horschig03c91982018-01-25 14:21:281308const char kPasswordSearchMobileName[] = "Password search";
1309const char kPasswordSearchMobileDescription[] =
1310 "Search functionality in password settings.";
1311
Friedrich Horschige6c27742018-04-23 17:13:411312const char kPasswordsKeyboardAccessoryName[] =
1313 "Add password-related functions to keyboard accessory";
1314const char kPasswordsKeyboardAccessoryDescription[] =
1315 "Adds password generation button and toggle for the passwords bottom sheet "
1316 "to the keyboard accessory. Replaces password generation popups.";
1317
Tom Sepez92a2cd242018-03-13 19:23:091318const char kPdfIsolationName[] = "PDF Isolation";
1319const char kPdfIsolationDescription[] =
1320 "Render PDF files from different origins in different plugin processes.";
1321
Brett Wilsonecb80982017-07-12 20:34:511322const char kPinchScaleName[] = "Pinch scale";
1323const char kPinchScaleDescription[] =
1324 "Enables experimental support for scale using pinch.";
1325
Doug Arnett620ff542018-02-06 17:54:221326const char kPreviewsAllowedName[] = "Previews Allowed";
1327const char kPreviewsAllowedDescription[] =
1328 "Allows previews to be shown subject to specific preview types being "
1329 "enabled and the client experiencing specific triggering conditions. "
1330 "May be used as a kill-switch to turn off all potential preview types.";
1331
Brett Wilsonecb80982017-07-12 20:34:511332const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1333const char kPrintPdfAsImageDescription[] =
1334 "If enabled, an option to print PDF files as images will be available in "
1335 "print preview.";
1336
1337const char kPrintPreviewRegisterPromosName[] =
1338 "Print Preview Registration Promos";
1339const char kPrintPreviewRegisterPromosDescription[] =
1340 "Enable registering unregistered cloud printers from print preview.";
1341
1342const char kProtectSyncCredentialName[] = "Autofill sync credential";
1343const char kProtectSyncCredentialDescription[] =
1344 "How the password manager handles autofill for the sync credential.";
1345
1346const char kProtectSyncCredentialOnReauthName[] =
1347 "Autofill sync credential only for transactional reauth pages";
1348const char kProtectSyncCredentialOnReauthDescription[] =
1349 "How the password manager handles autofill for the sync credential only "
1350 "for transactional reauth pages.";
1351
Mohsen Izadi93faac12017-07-29 04:45:151352const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1353const char kPullToRefreshDescription[] =
1354 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011355const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151356
Troy Hildebrandt7228ad12018-02-23 21:18:241357const char kQueryInOmniboxName[] = "Query in Omnibox";
1358const char kQueryInOmniboxDescription[] =
1359 "Only display query terms in the omnibox when viewing a search results "
1360 "page.";
1361
Brett Wilsonecb80982017-07-12 20:34:511362const char kQuicName[] = "Experimental QUIC protocol";
1363const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1364
Emily Starke8878d52018-05-11 21:27:261365const char kRecurrentInterstitialName[] =
1366 "Show a message when the same SSL error recurs";
1367const char kRecurrentInterstitialDescription[] =
1368 "Enable a special message on the SSL certificate error page when the same "
1369 "SSL error occurs repeatedly.";
1370
Brett Wilsonecb80982017-07-12 20:34:511371const char kReducedReferrerGranularityName[] =
1372 "Reduce default 'referer' header granularity.";
1373const char kReducedReferrerGranularityDescription[] =
1374 "If a page hasn't set an explicit referrer policy, setting this flag will "
1375 "reduce the amount of information in the 'referer' header for cross-origin "
1376 "requests.";
1377
Claudio Magnie0a80bb2018-01-31 02:52:581378extern const char kRegionalLocalesAsDisplayUIName[] =
1379 "Allow regional locales as display UI";
1380extern const char kRegionalLocalesAsDisplayUIDescription[] =
1381 "This flag allows regional locales to be selected as display UI by the "
1382 "user in Language Settings. The actual locale of the system is derived "
1383 "from the user selection based on some simple fallback logic.";
1384
Christian Dullweber1af31e62018-02-22 11:49:481385const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141386 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481387const char kRemoveNavigationHistoryDescription[] =
1388 "Remove a navigation entry when the corresponding history entry has been "
1389 "deleted.";
1390
Mihai Sardarescu6d0f5b72017-10-30 11:24:381391const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1392 "Remove usage of the deprecated GAIA sign-in endpoint";
1393const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1394 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1395 "This flags controls wheter it should no longer be used during a sign-in "
1396 " flow.";
1397
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351398const char kRendererSideResourceSchedulerName[] =
1399 "Renderer side ResourceScheduler";
1400const char kRendererSideResourceSchedulerDescription[] =
1401 "Migrate some ResourceScheduler functionalities to renderer";
1402
Brett Wilsonecb80982017-07-12 20:34:511403const char kRequestTabletSiteName[] =
1404 "Request tablet site option in the settings menu";
1405const char kRequestTabletSiteDescription[] =
1406 "Allows the user to request tablet site. Web content is often optimized "
1407 "for tablet devices. When this option is selected the user agent string is "
1408 "changed to indicate a tablet device. Web content optimized for tablets is "
1409 "received there after for the current tab.";
1410
1411const char kResetAppListInstallStateName[] =
1412 "Reset the App Launcher install state on every restart.";
1413const char kResetAppListInstallStateDescription[] =
1414 "Reset the App Launcher install state on every restart. While this flag is "
1415 "set, Chrome will forget the launcher has been installed each time it "
1416 "starts. This is used for testing the App Launcher install flow.";
1417
Kinuko Yasuda33955082018-06-19 10:14:591418const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511419const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591420 "Uses the resource load scheduler in blink to throttle resource load "
1421 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511422
Brett Wilsonecb80982017-07-12 20:34:511423const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1424const char kSafeSearchUrlReportingDescription[] =
1425 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1426
Alexei Filippov98772752018-01-27 08:26:521427const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1428const char kSamplingHeapProfilerDescription[] =
1429 "Enables native memory sampling profiler with specified rate in KiB. "
1430 "If sampling rate is not provided the default value of 128 KiB is used.";
1431
Brett Wilsonecb80982017-07-12 20:34:511432const char kSaveasMenuLabelExperimentName[] =
1433 "Switch 'Save as' menu labels to 'Download'";
1434const char kSaveasMenuLabelExperimentDescription[] =
1435 "Enables an experiment to switch menu labels that use 'Save as...' to "
1436 "'Download'.";
1437
1438const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1439const char kSavePageAsMhtmlDescription[] =
1440 "Enables saving pages as MHTML: a single text file containing HTML and all "
1441 "sub-resources.";
1442
Nate Chapin9638e7102017-09-20 22:11:011443const char kSavePreviousDocumentResourcesName[] =
1444 "Save Previous Document Resources";
1445const char kSavePreviousDocumentResourcesDescription[] =
1446 "Saves an old document's cached resources until the specified point in the "
1447 "next document's lifecycle.";
1448const char kSavePreviousDocumentResourcesNever[] =
1449 "Don't explicitly save resources";
1450const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1451 "Save resources until onDOMContentLoaded completes";
1452const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1453 "Save resources until onload completes";
1454
Brett Wilsonecb80982017-07-12 20:34:511455const char kScrollPredictionName[] = "Scroll prediction";
1456const char kScrollPredictionDescription[] =
1457 "Predicts the finger's future position during scrolls allowing time to "
1458 "render the frame before the finger is there.";
1459
1460const char kSecondaryUiMd[] =
1461 "Material Design in the rest of the browser's native UI";
1462const char kSecondaryUiMdDescription[] =
1463 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1464 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341465 "browser dialogs. If --top-chrome-md is effectively Material Design "
1466 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511467
1468const char kServiceWorkerNavigationPreloadName[] =
1469 "Service worker navigation preload.";
1470const char kServiceWorkerNavigationPreloadDescription[] =
1471 "Enable web pages to use the experimental service worker navigation "
1472 "preload API.";
1473
gogeraldd5061b592017-09-06 23:39:551474const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1475const char kServiceWorkerPaymentAppsDescription[] =
1476 "Enable Service Worker applications to integrate as payment apps";
1477
Makoto Shimazu22078cc2018-02-21 03:01:441478extern const char kServiceWorkerServicificationName[] =
1479 "Servicified service workers";
1480extern const char kServiceWorkerServicificationDescription[] =
1481 "Enable the servicified service workers. A servicified service worker can "
1482 "have direct connection from its clients, so that fetch events can be "
1483 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171484
Tsuyoshi Horobcb1c642017-11-24 16:32:141485const char kServiceWorkerScriptFullCodeCacheName[] =
1486 "Service worker script full code cache.";
1487const char kServiceWorkerScriptFullCodeCacheDescription[] =
1488 "Generate V8 full code cache of Service Worker scripts while installing.";
1489
Brett Wilsonecb80982017-07-12 20:34:511490const char kSettingsWindowName[] = "Show settings in a window";
1491const char kSettingsWindowDescription[] =
1492 "Settings will be shown in a dedicated window instead of as a browser tab.";
1493
Manu Cornetd7ef7c52018-05-01 22:08:231494const char kShelfHoverPreviewsName[] =
1495 "Show previews of running apps when hovering over the shelf.";
1496const char kShelfHoverPreviewsDescription[] =
1497 "Shows previews of the open windows for a given running app when hovering "
1498 "over the shelf.";
1499
Trent Apted750ba7022017-10-23 13:36:251500const char kShowAllDialogsWithViewsToolkitName[] =
1501 "Show all dialogs with Views toolkit";
1502const char kShowAllDialogsWithViewsToolkitDescription[] =
1503 "All browser dialogs will be shown using the Views toolkit rather than "
1504 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1505
Naoki Fukino008a0022018-05-23 18:33:001506const char kShowAndroidFilesInFilesAppName[] =
1507 "Show Android files in Files app";
1508const char kShowAndroidFilesInFilesAppDescription[] =
1509 "Show Android files in Files app if Android is enabled on the device.";
1510
Luciano Pachecof1beaa82018-05-30 04:48:511511const char kFilesAppNewStyleNavigationName[] =
1512 "Use new-style navigation in the Files app";
1513const char kFilesAppNewStyleNavigationDescription[] =
1514 "Enables the new-style navigation in the Files app, which displays a "
1515 R"("My Files" root for Downloads, Linux and Play files)";
1516
Brett Wilsonecb80982017-07-12 20:34:511517const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1518const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381519 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1520 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511521
1522const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1523const char kShowAutofillTypePredictionsDescription[] =
1524 "Annotates web forms with Autofill field type predictions as placeholder "
1525 "text.";
1526
1527const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1528const char kShowOverdrawFeedbackDescription[] =
1529 "Visualize overdraw by color-coding elements based on if they have other "
1530 "elements drawn underneath.";
1531
Carlos IL89128732018-04-03 17:00:251532const char kSupervisedUserCommittedInterstitialsName[] =
1533 "Enable Supervised User Committed Interstitials";
1534const char kSupervisedUserCommittedInterstitialsDescription[] =
1535 "Use committed error pages instead of transient navigation entries for "
1536 "supervised user interstitials";
1537
yiyixbdfa9a0b2017-10-23 22:21:471538const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1539const char kEnableDrawOcclusionDescription[] =
1540 "Enable the system to use draw occlusion to skip draw quads when they are "
1541 "not shown on the screen.";
1542
Brett Wilsonecb80982017-07-12 20:34:511543const char kShowSavedCopyName[] = "Show Saved Copy Button";
1544const char kShowSavedCopyDescription[] =
1545 "When a page fails to load, if a stale copy of the page exists in the "
1546 "browser cache, a button will be presented to allow the user to load that "
1547 "stale copy. The primary enabling choice puts the button in the most "
1548 "salient position on the error page; the secondary enabling choice puts it "
1549 "secondary to the reload button.";
1550const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1551const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1552const char kDisableShowSavedCopy[] = "Disable";
1553
Brett Wilsonecb80982017-07-12 20:34:511554const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1555const char kSilentDebuggerExtensionApiDescription[] =
1556 "Do not show the infobar when an extension attaches to a page via "
1557 "chrome.debugger API. This is required to debug extension background "
1558 "pages.";
1559
Tsuyoshi Horo53895ba92018-03-14 04:06:481560const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1561const char kSignedHTTPExchangeDescription[] =
1562 "Enables Origin-Signed HTTP Exchanges support which is still in "
1563 "development. Warning: Enabling this may pose a security risk.";
1564
Brett Wilsonecb80982017-07-12 20:34:511565const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1566const char kSimpleCacheBackendDescription[] =
1567 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1568 "disk space allocation.";
1569
Christopher Thompson75ff845d2018-02-01 20:12:461570const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1571const char kSimplifyHttpsIndicatorDescription[] =
1572 "Change the UI treatment for HTTPS pages.";
1573
Brett Wilsonecb80982017-07-12 20:34:511574const char kSingleClickAutofillName[] = "Single-click autofill";
1575const char kSingleClickAutofillDescription[] =
1576 "Make autofill suggestions on initial mouse click on a form element.";
1577
Nick Carter855bc492018-03-10 00:44:571578const char kStrictSiteIsolationName[] = "Strict site isolation";
1579const char kStrictSiteIsolationDescription[] =
1580 "Security mode that enables site isolation for all sites. When enabled, "
1581 "each renderer process will contain pages from at most one site, using "
1582 "out-of-process iframes when needed. When enabled, this flag forces the "
1583 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1584 "isolation mode will be determined by enterprise policy or field trial.";
1585
1586const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1587const char kSiteIsolationTrialOptOutDescription[] =
1588 "Opts out of field trials that enable site isolation modes "
1589 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1590 "may be due to out-of-process iframes. Opt-out has no effect if site "
1591 "isolation is force-enabled via #enable-site-per-process or enterprise "
1592 "policy. Caution: this disables important mitigations for the Spectre CPU "
1593 "vulnerability affecting most computers.";
1594extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1595extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1596 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511597
Pattideade7972018-04-27 02:59:401598const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511599const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401600 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511601
Brett Wilsonecb80982017-07-12 20:34:511602const char kSmoothScrollingName[] = "Smooth Scrolling";
1603const char kSmoothScrollingDescription[] =
1604 "Animate smoothly when scrolling page content.";
1605
1606const char kSoftwareRasterizerName[] = "3D software rasterizer";
1607const char kSoftwareRasterizerDescription[] =
1608 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1609
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201610const char kSoleIntegrationName[] = "Sole integration";
1611const char kSoleIntegrationDescription[] =
1612 "Enable Sole integration for browser customization. You must restart "
1613 "the browser twice for changes to take effect.";
1614
Tommy Steimel77704be2017-08-28 22:14:401615const char kSoundContentSettingName[] = "Sound content setting";
1616const char kSoundContentSettingDescription[] =
1617 "Enable site-wide muting in content settings and tab strip context menu.";
1618
Alexandr Ilinf0500ed32017-09-27 21:12:361619const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1620const char kSpeculativePreconnectDescription[] =
1621 "Enable the new implementation of preconnect and DNS preresolve. "
1622 "\"Learning\" means that only database construction is enabled, "
1623 "\"Preconnect\" enables both learning and preconnect and disables the "
1624 "existing implementation. \"No preconnect\" disables both implementations.";
1625
Brett Wilsonecb80982017-07-12 20:34:511626const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341627const char kSpeculativePrefetchDescription[] =
1628 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1629 R"*(load times, based on a local database (see chrome://predictors). )*"
1630 R"*("Learning" means that only the database construction is enabled, )*"
1631 R"*("Prefetching" that learning and prefetching are enabled.)*";
1632
Justin Donnelly4e448cb2017-07-07 21:32:131633const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1634 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131635const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1636 "If enabled, when the user enters text in the omnibox that looks like a "
1637 "a query, any service worker associated with the search engine the query "
1638 "will be sent to is started early.";
1639
Brett Wilsonecb80982017-07-12 20:34:511640const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1641const char kSpellingFeedbackFieldTrialDescription[] =
1642 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401643
Shubhie Panickerfaf082ed2018-01-03 04:49:151644const char kStopInBackgroundName[] = "Stop in background";
1645const char kStopInBackgroundDescription[] =
1646 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281647 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151648
1649const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1650const char kStopLoadingInBackgroundDescription[] =
1651 "Stop loading tasks and loading "
1652 "resources, in the background, after certain grace time.";
1653
Shubhie Panicker56c99a22018-03-21 00:22:281654const char kStopNonTimersInBackgroundName[] =
1655 "Stop non-timer task queues background";
1656const char kStopNonTimersInBackgroundDescription[] =
1657 "Stop non-timer task queues, in the background, "
1658 "after a grace period.";
1659
Brett Wilsonecb80982017-07-12 20:34:511660const char kSuggestionsWithSubStringMatchName[] =
1661 "Substring matching for Autofill suggestions";
1662const char kSuggestionsWithSubStringMatchDescription[] =
1663 "Match Autofill suggestions based on substrings (token prefixes) rather "
1664 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341665
Brett Wilsonecb80982017-07-12 20:34:511666const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1667const char kSyncSandboxDescription[] =
1668 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341669
Joe Downing8cbbc192018-05-14 17:37:071670const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1671const char kSystemKeyboardLockDescription[] =
1672 "Enables websites to use the keyboard.lock() API to intercept system "
1673 "keyboard shortcuts and have the events routed directly to the website "
1674 "when in fullscreen mode.";
1675
Brett Wilsonecb80982017-07-12 20:34:511676const char kTabAudioMutingName[] = "Tab audio muting UI control";
1677const char kTabAudioMutingDescription[] =
1678 "When enabled, the audio indicators in the tab strip double as tab audio "
1679 "mute controls. This also adds commands in the tab context menu for "
1680 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341681
Christian Dullweberd0d96f02017-09-13 09:22:511682const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1683const char kTabsInCbdDescription[] =
1684 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1685
Becky Zhou99c22802017-10-19 05:09:271686const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1687const char kTabModalJsDialogDescription[] =
1688 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1689 " tab.";
1690
Brett Wilsonecb80982017-07-12 20:34:511691const char kTcpFastOpenName[] = "TCP Fast Open";
1692const char kTcpFastOpenDescription[] =
1693 "Enable the option to send extra authentication information in the initial "
1694 "SYN packet for a previously connected client, allowing faster data send "
1695 "start.";
vabr0215a8e2017-03-28 12:47:341696
Daniele Castagna0fead93e2018-01-10 20:40:291697const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1698const char kTintGlCompositedContentDescription[] =
1699 "Tint contents composited using GL with a shade of red to help debug and "
1700 "study overlay support.";
1701
Brett Wilsonecb80982017-07-12 20:34:511702const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1703const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581704 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401705 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431706 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341707 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541708 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511709const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531710const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461711const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581712const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401713const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431714const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341715
Brett Wilsonecb80982017-07-12 20:34:511716const char kThreadedScrollingName[] = "Threaded scrolling";
1717const char kThreadedScrollingDescription[] =
1718 "Threaded handling of scroll-related input events. Disabling this will "
1719 "force all such scroll events to be handled on the main thread. Note that "
1720 "this can dramatically hurt scrolling performance of most websites and is "
1721 "intended for testing purposes only.";
1722
Steven Valdez4584b2482017-07-14 01:11:571723const char kTLS13VariantName[] = "TLS 1.3";
1724const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1725const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111726const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041727const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381728const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571729
Brett Wilsonecb80982017-07-12 20:34:511730const char kTopDocumentIsolationName[] = "Top document isolation";
1731const char kTopDocumentIsolationDescription[] =
1732 "Highly experimental performance mode where cross-site iframes are kept in "
1733 "a separate process from the top document. In this mode, iframes from "
1734 "different third-party sites will be allowed to share a process.";
1735
Dominick Ng8896b1cd2017-10-17 23:24:361736const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1737const char kTopSitesFromSiteEngagementDescription[] =
1738 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1739 "engagement.";
1740
Brett Wilsonecb80982017-07-12 20:34:511741const char kTouchAdjustmentName[] = "Touch adjustment";
1742const char kTouchAdjustmentDescription[] =
1743 "Refine the position of a touch gesture in order to compensate for touches "
1744 "having poor resolution compared to a mouse.";
1745
Alex Newcomerb3d3c972018-05-03 14:59:401746const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1747const char kTouchableAppContextMenuDescription[] =
1748 "Enable the touchable app context menu, which enlarges app context menus "
1749 "in the Launcher and Shelf to make room for new features.";
1750
Brett Wilsonecb80982017-07-12 20:34:511751const char kTouchDragDropName[] = "Touch initiated drag and drop";
1752const char kTouchDragDropDescription[] =
1753 "Touch drag and drop can be initiated through long press on a draggable "
1754 "element.";
1755
1756const char kTouchEventsName[] = "Touch Events API";
1757const char kTouchEventsDescription[] =
1758 "Force Touch Events API feature detection to always be enabled or "
1759 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291760 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511761
1762const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1763const char kTouchSelectionStrategyDescription[] =
1764 "Controls how text selection granularity changes when touch text selection "
1765 "handles are dragged. Non-default behavior is experimental.";
1766const char kTouchSelectionStrategyCharacter[] = "Character";
1767const char kTouchSelectionStrategyDirection[] = "Direction";
1768
1769const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1770const char kTraceUploadUrlDescription[] =
1771 "This is to be used in conjunction with the enable-navigation-tracing "
1772 "flag. Please select the label that best describes the recorded traces. "
1773 "This will choose the destination the traces are uploaded to. If you are "
1774 "not sure, select other. If left empty, no traces will be uploaded.";
1775const char kTraceUploadUrlChoiceOther[] = "Other";
1776const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1777const char kTraceUploadUrlChoiceQa[] = "QA";
1778const char kTraceUploadUrlChoiceTesting[] = "Testing";
1779
Anthony Vallee-Dubois265c5692018-06-01 15:57:141780const char kTranslateForceTriggerOnEnglishName[] =
1781 "Select which language model to use to trigger translate on English "
1782 "content";
1783const char kTranslateForceTriggerOnEnglishDescription[] =
1784 "Force the Translate Triggering on English pages experiment to be enabled "
1785 "with the selected language model active.";
1786
Philippe Hamel7fdaa452017-09-29 17:22:491787const char kTranslateRankerEnforcementName[] =
1788 "Enforce TranslateRanker decisions";
1789const char kTranslateRankerEnforcementDescription[] =
1790 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1791 "or not Translate UI should be triggered in a given context.";
1792
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161793const char kTranslateUIName[] = "Enable Translate";
1794const char kTranslateUIDescription[] =
1795 "Enable the Translate popup when visiting webpages in other languages.";
1796
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051797const char kTreatInsecureOriginAsSecureName[] =
1798 "Insecure origins treated as secure";
1799const char kTreatInsecureOriginAsSecureDescription[] =
1800 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1801 "supplied as a comma-separated list. For the definition of secure "
1802 "contexts, "
1803 "see https://w3c.github.io/webappsec-secure-contexts/";
1804
Brett Wilsonecb80982017-07-12 20:34:511805const char kTrySupportedChannelLayoutsName[] =
1806 "Causes audio output streams to check if channel layouts other than the "
1807 "default hardware layout are available.";
1808const char kTrySupportedChannelLayoutsDescription[] =
1809 "Causes audio output streams to check if channel layouts other than the "
1810 "default hardware layout are available. Turning this on will allow the OS "
1811 "to do stereo to surround expansion if supported. May expose third party "
1812 "driver bugs, use with caution.";
1813
David Roger6762a092018-01-31 15:55:071814const char kUnifiedConsentName[] = "Unified Consent";
1815const char kUnifiedConsentDescription[] =
1816 "Enables a unified management of user consent for privacy-related "
1817 "features. This includes new confirmation screens and improved settings "
1818 "pages.";
1819
Brett Wilsonecb80982017-07-12 20:34:511820const char kUiPartialSwapName[] = "Partial swap";
1821const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1822
Chris Pickel3a227ae62017-08-24 10:47:261823const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1824const char kUseDdljsonApiDescription[] =
1825 "Enables the new ddljson API to fetch Doodles for the NTP.";
1826
Becca Hughes59c05b42017-11-03 13:11:581827const char kUseModernMediaControlsName[] = "New Media Controls";
1828const char kUseModernMediaControlsDescription[] =
1829 "Enables the new style native media controls.";
1830
Wei Li790e7a8572018-03-23 01:31:551831const char kUsePdfCompositorServiceName[] =
1832 "Use PDF compositor service for printing";
1833const char kUsePdfCompositorServiceDescription[] =
1834 "When enabled, use PDF compositor service to composite and generate PDF "
1835 "files for printing. When site isolation is enabled, disabling this will "
1836 "not stop using PDF compositor service since the service is required for "
1837 "printing out-of-process iframes correctly.";
1838
Mustaq Ahmedc646c0a2017-10-20 20:08:301839const char kUserActivationV2Name[] = "User Activation v2";
1840const char kUserActivationV2Description[] =
1841 "Enable simple user activation for APIs that are otherwise controlled by "
1842 "user gesture tokens.";
1843
Brett Wilsonecb80982017-07-12 20:34:511844const char kUserConsentForExtensionScriptsName[] =
1845 "User consent for extension scripts";
1846const char kUserConsentForExtensionScriptsDescription[] =
1847 "Require user consent for an extension running a script on the page, if "
1848 "the extension requested permission to run on all urls.";
1849
1850const char kUseSuggestionsEvenIfFewFeatureName[] =
1851 "Disable minimum for server-side tile suggestions on NTP.";
1852const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1853 "Request server-side suggestions even if there are only very few of them "
1854 "and use them for tiles on the New Tab Page.";
1855
1856const char kV8CacheOptionsName[] = "V8 caching mode.";
1857const char kV8CacheOptionsDescription[] =
1858 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511859const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1860
Hitoshi Yoshida3e5db562017-09-11 02:31:081861const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1862const char kV8ContextSnapshotDescription[] =
1863 "Sets to use a snapshot to create V8 contexts in frame creation.";
1864
Michael Hablich896d52662017-10-23 15:59:571865const char kV8VmFutureName[] = "Future V8 VM features";
1866const char kV8VmFutureDescription[] =
1867 "This enables upcoming and experimental V8 VM features. "
1868 "This flag does not enable experimental JavaScript features.";
1869
Hannes Payer1130d5672018-06-05 07:37:311870const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1871const char kV8OrinocoDescription[] =
1872 "This enables the V8 Orinoco garbage collection features.";
1873
Brett Wilsonecb80982017-07-12 20:34:511874const char kVideoFullscreenOrientationLockName[] =
1875 "Lock screen orientation when playing a video fullscreen.";
1876const char kVideoFullscreenOrientationLockDescription[] =
1877 "Lock the screen orientation of the device to match video orientation when "
1878 "a video goes fullscreen. Only on phones.";
1879
1880const char kVideoRotateToFullscreenName[] =
1881 "Rotate-to-fullscreen gesture for videos.";
1882const char kVideoRotateToFullscreenDescription[] =
1883 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1884 "the video. Only on phones.";
1885
Elly Fong-Jonesf4c79502018-03-23 19:21:531886const char kViewsBrowserWindowsName[] =
1887 "Use Views browser windows instead of Cocoa.";
1888const char kViewsBrowserWindowsDescription[] =
1889 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1890
Brett Wilsonecb80982017-07-12 20:34:511891const char kWalletServiceUseSandboxName[] =
1892 "Use Google Payments sandbox servers";
1893const char kWalletServiceUseSandboxDescription[] =
1894 "For developers: use the sandbox service for Google Payments API calls.";
1895
Brett Wilsonecb80982017-07-12 20:34:511896const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1897const char kWebglDraftExtensionsDescription[] =
1898 "Enabling this option allows web applications to access the WebGL "
1899 "Extensions that are still in draft status.";
1900
1901const char kWebMidiName[] = "Web MIDI API";
1902const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1903
1904const char kWebPaymentsName[] = "Web Payments";
1905const char kWebPaymentsDescription[] =
1906 "Enable Web Payments API integration, a JavaScript API for merchants.";
1907
Mathieu Perreault51339b82017-07-20 17:06:051908const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1909const char kWebPaymentsModifiersDescription[] =
1910 "If the website provides modifiers in the payment request, show the custom "
1911 "total for each payment instrument, update the shopping cart when "
1912 "instruments are switched, and send modified payment method specific data "
1913 "to the payment app.";
1914
Brett Wilsonecb80982017-07-12 20:34:511915const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1916const char kWebrtcEchoCanceller3Description[] =
1917 "Experimental WebRTC echo canceller (AEC3).";
1918
1919const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1920const char kWebrtcHwDecodingDescription[] =
1921 "Support in WebRTC for decoding video streams using platform hardware.";
1922
1923const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1924const char kWebrtcHwEncodingDescription[] =
1925 "Support in WebRTC for encoding video streams using platform hardware.";
1926
1927const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1928const char kWebrtcHwH264EncodingDescription[] =
1929 "Support in WebRTC for encoding h264 video streams using platform "
1930 "hardware.";
1931
1932const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1933const char kWebrtcHwVP8EncodingDescription[] =
1934 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1935
Niels Möller090866a2018-02-13 10:55:031936const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1937 "WebRTC new encode cpu load estimator";
1938const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1939 "Enable new estimator for the encoder cpu load, for evaluation and "
1940 "testing. Intended to improve accuracy when screen casting.";
1941
Brett Wilsonecb80982017-07-12 20:34:511942const char kWebrtcSrtpAesGcmName[] =
1943 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1944const char kWebrtcSrtpAesGcmDescription[] =
1945 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1946
Joachim Bauch4a41d7512017-08-23 14:24:231947const char kWebrtcSrtpEncryptedHeadersName[] =
1948 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1949const char kWebrtcSrtpEncryptedHeadersDescription[] =
1950 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1951 "for SRTP.";
1952
Brett Wilsonecb80982017-07-12 20:34:511953const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1954const char kWebrtcStunOriginDescription[] =
1955 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1956 "header.";
1957
Adam Riceed63fc02018-06-20 05:57:461958const char kWebSocketHandshakeReuseConnectionName[] =
1959 "Enable WebSocket connection reuse for authentication";
1960const char kWebSocketHandshakeReuseConnectionDescription[] =
1961 "Permits the WebSocket handshake to keep the connection open after an "
1962 "authentication failure. The connection may be used for further requests "
1963 "to send credentials. This is sometimes needed for Windows authentication.";
1964
Brett Wilsonecb80982017-07-12 20:34:511965const char kWebvrName[] = "WebVR";
1966const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011967 "Enables access to experimental Virtual Reality functionality via the "
1968 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1969 "Device API. Warning: Enabling this will also allow WebVR content on "
1970 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221971 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511972
Brandon Jonese9d9b2b2017-12-11 22:20:111973const char kWebXrName[] = "WebXR Device API";
1974const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011975 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1976 "and Augmented Reality (AR) devices.";
1977
1978const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1979const char kWebXrGamepadSupportDescription[] =
1980 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221981 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1982 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431983
1984const char kWebXrHitTestName[] = "WebXR Hit Test";
1985const char kWebXrHitTestDescription[] =
1986 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111987
Anna Maria57ecf7592018-01-12 03:10:401988const char kWebXrOrientationSensorDeviceName[] =
1989 "WebXR orientation sensor device";
1990const char kWebXrOrientationSensorDeviceDescription[] =
1991 "When no VR platform device is available, expose a non-presenting device "
1992 "based on the device's orientation sensors, if available.";
1993
Brett Wilsonecb80982017-07-12 20:34:511994const char kWifiCredentialSyncName[] = "WiFi credential sync";
1995const char kWifiCredentialSyncDescription[] =
1996 "Enables synchronizing WiFi network settings across devices. When enabled, "
1997 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1998 "credentials are synchronized subject to user preferences. (See also, "
1999 "chrome://settings/syncSetup.)";
2000
2001const char kZeroCopyName[] = "Zero-copy rasterizer";
2002const char kZeroCopyDescription[] =
2003 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342004
Brett Wilsonff596952017-07-14 01:06:552005// Android ---------------------------------------------------------------------
2006
2007#if defined(OS_ANDROID)
2008
2009const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2010const char kAiaFetchingDescription[] =
2011 "Enable intermediate certificate fetching when a server does not provide "
2012 "sufficient certificates to build a chain to a trusted root.";
2013
2014const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2015const char kAccessibilityTabSwitcherDescription[] =
2016 "Enable the accessibility tab switcher for Android.";
2017
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252018const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2019const char kAllowReaderForAccessibilityDescription[] =
2020 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2021
Brett Wilsonff596952017-07-14 01:06:552022const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2023const char kAndroidAutofillAccessibilityDescription[] =
2024 "Enable accessibility for autofill popup.";
2025
2026const char kAndroidPaymentAppsName[] = "Android payment apps";
2027const char kAndroidPaymentAppsDescription[] =
2028 "Enable third party Android apps to integrate as payment apps";
2029
Miriam Gershenson8cf1397222018-01-23 22:48:292030const char kAsyncDnsName[] = "Async DNS resolver";
2031const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2032
Brett Wilsonff596952017-07-14 01:06:552033const char kAutofillAccessoryViewName[] =
2034 "Autofill suggestions as keyboard accessory view";
2035const char kAutofillAccessoryViewDescription[] =
2036 "Shows Autofill suggestions on top of the keyboard rather than in a "
2037 "dropdown.";
2038
2039const char kBackgroundLoaderForDownloadsName[] =
2040 "Enables background downloading of pages.";
2041const char kBackgroundLoaderForDownloadsDescription[] =
2042 "Enables downloading pages in the background in case page is not yet "
2043 "loaded in current tab.";
2044
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002045const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2046const char kCCTModuleDescription[] =
2047 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2048
Matthew Jones6c1f5e22018-02-06 18:19:532049const char kChromeDuplexName[] = "Chrome Duplex";
2050const char kChromeDuplexDescription[] =
2051 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052052
Brett Wilsonff596952017-07-14 01:06:552053const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2054const char kChromeHomeSwipeLogicDescription[] =
2055 "Various swipe logic options for Chrome Home for sheet expansion.";
2056const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152057const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552058
Theresa8e44a7132018-06-15 17:40:592059const char kChromeModernAlternateCardLayoutName[] =
2060 "Chrome Modern Alternate Card Layout";
2061const char kChromeModernAlternateCardLayoutDescription[] =
2062 "Enable the alternate card layout for Chrome Modern Design.";
2063
Matthew Jones5b7f1d62018-01-23 00:37:252064const char kChromeModernDesignName[] = "Chrome Modern Design";
2065const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452066 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2067 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252068
Megan Jablonskic61eb1b82017-10-02 18:03:062069const char kChromeMemexName[] = "Chrome Memex";
2070const char kChromeMemexDescription[] =
2071 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2072 "Googlers.";
2073
Sarath Singapati83aef1c2017-11-16 15:54:522074const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2075const char kClearOldBrowsingDataDescription[] =
2076 "Enables clearing of browsing data which is older than a given time "
2077 "period.";
2078
Brett Wilsonff596952017-07-14 01:06:552079const char kContentSuggestionsCategoryOrderName[] =
2080 "Default content suggestions category order (e.g. on NTP)";
2081const char kContentSuggestionsCategoryOrderDescription[] =
2082 "Set default order of content suggestion categories (e.g. on the NTP).";
2083
2084const char kContentSuggestionsCategoryRankerName[] =
2085 "Content suggestions category ranker (e.g. on NTP)";
2086const char kContentSuggestionsCategoryRankerDescription[] =
2087 "Set category ranker to order categories of content suggestions (e.g. on "
2088 "the NTP).";
2089
Vitalii Iarkof52ff802017-09-14 12:34:242090const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2091const char kContentSuggestionsDebugLogDescription[] =
2092 "Enable content suggestions debug log accessible through "
2093 "snippets-internals.";
2094
Donn Denman8e58ead2017-11-04 01:44:012095const char kContextualSearchMlTapSuppressionName[] =
2096 "Contextual Search ML tap suppression";
2097const char kContextualSearchMlTapSuppressionDescription[] =
2098 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022099 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2100 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552101
2102const char kContextualSearchName[] = "Contextual Search";
2103const char kContextualSearchDescription[] =
2104 "Whether or not Contextual Search is enabled.";
2105
Donn Denman59729812018-01-09 01:27:022106const char kContextualSearchRankerQueryName[] =
2107 "Contextual Search Ranker prediction";
2108const char kContextualSearchRankerQueryDescription[] =
2109 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2110
2111const char kContextualSearchSecondTapName[] =
2112 "Contextual Search second tap triggering";
2113const char kContextualSearchSecondTapDescription[] =
2114 "Enables triggering on a second tap gesture even when Ranker would "
2115 "normally suppress that tap.";
2116
Cathy Li2fb32bf82018-06-06 18:55:402117const char kExploreSitesName[] = "Explore websites";
2118const char kExploreSitesDescription[] =
2119 "Enables portal from new tab page to explore websites.";
2120
Dmitry Skiba9c3efa72017-07-20 22:01:142121const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2122const char kDontPrefetchLibrariesDescription[] =
2123 "Don't prefetch libraries after loading.";
2124
Joy Ming5fd29ca62017-10-02 22:51:222125const char kDownloadsForegroundName[] = "Enable downloads foreground";
2126const char kDownloadsForegroundDescription[] =
2127 "Enable downloads as a foreground service for all versions of Android.";
2128
Joy Ming189b0cc2017-12-08 19:42:432129const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2130const char kDownloadsLocationChangeDescription[] =
2131 "Enable changing default downloads storage location on Android.";
2132
Shakti Sahu32b2ee102018-05-17 00:04:462133const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2134const char kDownloadProgressInfoBarDescription[] =
2135 "Enables an infobar notifying users about status of current downloads.";
2136
Brett Wilsonff596952017-07-14 01:06:552137const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2138const char kEnableAndroidPayIntegrationV1Description[] =
2139 "Enable integration with Android Pay using the first version of the API";
2140
2141const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2142const char kEnableAndroidPayIntegrationV2Description[] =
2143 "Enable integration with Android Pay using the second version of the API";
2144
Vitalii Iarkof4ed32d2017-09-26 13:15:532145const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552146const char kEnableAndroidSpellcheckerDescription[] =
2147 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552148
Lei Tianbd5a3bf2018-02-28 19:01:162149const char kEnableCommandLineOnNonRootedName[] =
2150 "Enable command line on non-rooted devices";
2151const char kEnableCommandLineOnNoRootedDescription[] =
2152 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2153
Vitalii Iarkof4ed32d2017-09-26 13:15:532154const char kEnableContentSuggestionsNewFaviconServerName[] =
2155 "Get favicons for content suggestions from a new server.";
2156const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2157 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2158 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552159
2160const char kEnableContentSuggestionsSettingsName[] =
2161 "Show content suggestions settings.";
2162const char kEnableContentSuggestionsSettingsDescription[] =
2163 "If enabled, the content suggestions settings will be available from the "
2164 "main settings menu.";
2165
Vitalii Iarkof4ed32d2017-09-26 13:15:532166const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2167 "Use content suggestions thumbnail dominant color.";
2168const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2169 "Use content suggestions thumbnail dominant color as a placeholder before "
2170 "the real thumbnail is fetched (requires Chrome Home).";
2171
Brett Wilsonff596952017-07-14 01:06:552172const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2173const char kEnableCustomContextMenuDescription[] =
2174 "Enables a new context menu when a link, image, or video is pressed within "
2175 "Chrome.";
2176
2177const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2178const char kEnableCustomFeedbackUiDescription[] =
2179 "Enables a custom feedback UI when submitting feedback through Google "
2180 "Feedback. Works with Google Play Services v10.2+";
2181
2182const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472183 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552184const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472185 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552186
Becca Hughes6d73bac542018-06-18 20:38:502187const char kEnableMediaControlsExpandGestureName[] =
2188 "Enable Media Controls Expand Gesture";
2189const char kEnableMediaControlsExpandGestureDescription[] =
2190 "Enables a gesture to be used on the media controls to extend the video "
2191 "into the Display Cutout area.";
2192
Brett Wilsonff596952017-07-14 01:06:552193const char kEnableOmniboxClipboardProviderName[] =
2194 "Omnibox clipboard URL suggestions";
2195const char kEnableOmniboxClipboardProviderDescription[] =
2196 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2197 "focus in the omnibox.";
2198
Becky Zhoua7f11d62018-02-01 16:02:532199const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2200 "Show article suggestions expandable header on New Tab Page";
2201const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2202 "If enabled, the article suggestions content on New Tab Page can be "
2203 "toggled shown or hidden by clicking the expandable header.";
2204
Brett Wilsonff596952017-07-14 01:06:552205const char kEnableNtpAssetDownloadSuggestionsName[] =
2206 "Show asset downloads on the New Tab page";
2207const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2208 "If enabled, the list of content suggestions on the New Tab page will "
2209 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2210 "later use.";
2211
2212const char kEnableNtpBookmarkSuggestionsName[] =
2213 "Show recently visited bookmarks on the New Tab page";
2214const char kEnableNtpBookmarkSuggestionsDescription[] =
2215 "If enabled, the list of content suggestions on the New Tab page will "
2216 "contain recently visited bookmarks.";
2217
2218const char kEnableNtpForeignSessionsSuggestionsName[] =
2219 "Show recent foreign tabs on the New Tab page";
2220const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2221 "If enabled, the list of content suggestions on the New Tab page will "
2222 "contain recent foreign tabs.";
2223
Brett Wilsonff596952017-07-14 01:06:552224const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2225 "Show offline page downloads on the New Tab page";
2226const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2227 "If enabled, the list of content suggestions on the New Tab page will "
2228 "contain pages that the user downloaded for later use.";
2229
2230const char kEnableNtpRemoteSuggestionsName[] =
2231 "Show server-side suggestions on the New Tab page";
2232const char kEnableNtpRemoteSuggestionsDescription[] =
2233 "If enabled, the list of content suggestions on the New Tab page will "
2234 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2235 "allows to override the source used to retrieve these server-side "
2236 "suggestions.";
2237
2238const char kEnableNtpSnippetsVisibilityName[] =
2239 "Make New Tab Page Snippets more visible.";
2240const char kEnableNtpSnippetsVisibilityDescription[] =
2241 "If enabled, the NTP snippets will become more discoverable with a larger "
2242 "portion of the first card above the fold.";
2243
2244const char kEnableNtpSuggestionsNotificationsName[] =
2245 "Notify about new content suggestions available at the New Tab page";
2246const char kEnableNtpSuggestionsNotificationsDescription[] =
2247 "If enabled, notifications will inform about new content suggestions on "
2248 "the New Tab page.";
2249
Brett Wilsonff596952017-07-14 01:06:552250const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2251const char kEnableOfflinePreviewsDescription[] =
2252 "Enable showing offline page previews on slow networks.";
2253
2254const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2255const char kEnableOskOverscrollDescription[] =
2256 "Enable OSK overscroll support. With this flag on, the OSK will only "
2257 "resize the visual viewport.";
2258
2259const char kEnableSpecialLocaleName[] =
2260 "Enable custom logic for special locales.";
2261const char kEnableSpecialLocaleDescription[] =
2262 "Enable custom logic for special locales. In this mode, Chrome might "
2263 "behave differently in some locales.";
2264
Brett Wilsonff596952017-07-14 01:06:552265const char kEnableWebNfcName[] = "WebNFC";
2266const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2267
gogeraldf3cbb422017-07-26 14:37:122268const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2269 "Enable Web Payments method section order V2.";
2270const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2271 "Enable this option to display payment method section above address "
2272 "section instead of below it.";
2273
Raymes Khoury582b43132017-12-12 23:54:302274const char kGrantNotificationsToDSEName[] =
2275 "Grant notifications to the Default Search Engine";
2276const char kGrantNotificationsToDSENameDescription[] =
2277 "Automatically grant the notifications permission to the Default Search "
2278 "Engine";
2279
Daniel Parke74fcf862018-03-27 18:05:452280const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512281const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452282
Theresa920e0ed2018-03-07 18:12:442283const char kInterestFeedContentSuggestionsDescription[] =
2284 "Use the interest feed to render content suggestions. Currently content "
2285 "suggestions are shown on the New Tab Page.";
2286const char kInterestFeedContentSuggestionsName[] =
2287 "Interest Feed Content Suggestions";
2288
Brett Wilsonff596952017-07-14 01:06:552289const char kKeepPrefetchedContentSuggestionsName[] =
2290 "Keep prefetched content suggestions";
2291const char kKeepPrefetchedContentSuggestionsDescription[] =
2292 "If enabled, some of prefetched content suggestions are not replaced by "
2293 "the new fetched suggestions.";
2294
Leo Zhang051b75482017-12-20 03:28:302295const char kLanguagesPreferenceName[] = "Language Settings";
2296const char kLanguagesPreferenceDescription[] =
2297 "Enable this option for Language Settings feature on Android.";
2298
Brett Wilsonff596952017-07-14 01:06:552299const char kLsdPermissionPromptName[] =
2300 "Location Settings Dialog Permission Prompt";
2301const char kLsdPermissionPromptDescription[] =
2302 "Whether to use the Google Play Services Location Settings Dialog "
2303 "permission dialog.";
2304
Amirhossein Simjour97b4154f2018-02-20 03:49:592305const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2306const char kModalPermissionDialogViewDescription[] =
2307 "Enable this option to use ModalDialogManager for permission Dialogs.";
2308
Brett Wilsonff596952017-07-14 01:06:552309const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2310const char kMediaScreenCaptureDescription[] =
2311 "Enable this option for experimental ScreenCapture feature on Android.";
2312
2313const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2314const char kModalPermissionPromptsDescription[] =
2315 "Whether to use permission dialogs in place of permission infobars.";
2316
Brett Wilsonff596952017-07-14 01:06:552317const char kNewPhotoPickerName[] = "Enable new Photopicker";
2318const char kNewPhotoPickerDescription[] =
2319 "Activates the new picker for selecting photos.";
2320
2321const char kNoCreditCardAbort[] = "No Credit Card Abort";
2322const char kNoCreditCardAbortDescription[] =
2323 "Whether or not the No Credit Card Abort is enabled.";
2324
Daniel Park990d0992018-05-18 22:12:512325const char kNtpButtonName[] = "Enable NTP Button";
2326const char kNtpButtonDescription[] =
2327 "Displays a New Tab Page button in the toolbar if enabled.";
2328
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062329const char kNtpModernLayoutName[] = "Modern NTP layout";
2330const char kNtpModernLayoutDescription[] =
2331 "Show a modern layout on the New Tab Page.";
2332
Brett Wilsonff596952017-07-14 01:06:552333const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2334const char kNtpGoogleGInOmniboxDescription[] =
2335 "Show a Google G in the omnibox on the New Tab Page.";
2336
Brett Wilsonff596952017-07-14 01:06:552337const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2338const char kOfflineBookmarksDescription[] =
2339 "Enable saving bookmarked pages for offline viewing.";
2340
Jian Li1413ebf2018-06-14 20:46:322341const char kOfflineIndicatorName[] = "Enable offline indicator";
2342const char kOfflineIndicatorDescription[] =
2343 "Enable showing offline indicator while offline.";
2344
Brett Wilsonff596952017-07-14 01:06:552345const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2346const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2347
2348const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2349const char kOfflinePagesCtV2Description[] =
2350 "V2 features include attributing pages to the app that initiated the "
2351 "custom tabs, and being able to query for pages by page attribution.";
2352
Cathy Li7311d792018-04-05 00:34:162353const char kOfflinePagesCTSuppressNotificationsName[] =
2354 "Disable download complete notification for whitelisted CCT apps.";
2355const char kOfflinePagesCTSuppressNotificationsDescription[] =
2356 "Disable download complete notification for page downloads originating "
2357 "from a CCT app whitelisted to show their own download complete "
2358 "notification.";
2359
Candice Sy74fa7a352018-03-30 23:46:492360const char kOfflinePagesDescriptiveFailStatusName[] =
2361 "Enables descriptive failed download status text.";
2362const char kOfflinePagesDescriptiveFailStatusDescription[] =
2363 "Enables failed download status text in notifications and Downloads Home "
2364 "to state the reason the request failed if the failure is actionable.";
2365
2366const char kOfflinePagesDescriptivePendingStatusName[] =
2367 "Enables descriptive pending download status text.";
2368const char kOfflinePagesDescriptivePendingStatusDescription[] =
2369 "Enables pending download status text in notifications and Downloads Home "
2370 "to state the reason the request is pending.";
2371
2372const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2373 "Enables offline pages in the downloads home to be opened in CCT.";
2374const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2375 "When enabled offline pages launched from the Downloads Home will be "
2376 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2377
Carlos Knippschild09272ecd2017-12-09 03:29:362378const char kOfflinePagesLimitlessPrefetchingName[] =
2379 "Removes resource usage limits for the prefetching of offline pages.";
2380const char kOfflinePagesLimitlessPrefetchingDescription[] =
2381 "Allows the prefetching of suggested offline pages to ignore resource "
2382 "usage limits. This allows it to completely ignore data usage limitations "
2383 "and allows downloads to happen with any kind of connection.";
2384
Brett Wilsonff596952017-07-14 01:06:552385const char kOfflinePagesLoadSignalCollectingName[] =
2386 "Enables collecting load timing data for offline page snapshots.";
2387const char kOfflinePagesLoadSignalCollectingDescription[] =
2388 "Enables loading completeness data collection while writing an offline "
2389 "page. This data is collected in the snapshotted offline page to allow "
2390 "data analysis to improve deciding when to make the offline snapshot.";
2391
2392const char kOfflinePagesPrefetchingName[] =
2393 "Enables suggested offline pages to be prefetched.";
2394const char kOfflinePagesPrefetchingDescription[] =
2395 "Enables suggested offline pages to be prefetched, so useful content is "
2396 "available while offline.";
2397
Cathy Li3d5379e2017-09-07 00:11:092398const char kOfflinePagesPrefetchingUIName[] =
2399 "Enables prefetched offline pages to be shown in UI.";
2400const char kOfflinePagesPrefetchingUIDescription[] =
2401 "Enables prefetched offline pages to raise notifications and be shown in "
2402 "download home UI.";
2403
Pete Williamson7845dff2017-09-20 11:06:192404const char kOfflinePagesResourceBasedSnapshotName[] =
2405 "Enables offline page snapshots to be based on percentage of page loaded.";
2406const char kOfflinePagesResourceBasedSnapshotDescription[] =
2407 "Enables offline page snapshots to use a resource percentage based "
2408 "approach for determining when the page is loaded as opposed to a time "
2409 "based approach";
2410
Collin Baker17f92a52017-07-19 21:41:252411const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2412const char kOfflinePagesRenovationsDescription[] =
2413 "Enables offline page renovations which correct issues with dynamic "
2414 "content that occur when offlining pages that use JavaScript.";
2415
Brett Wilsonff596952017-07-14 01:06:552416const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2417const char kOfflinePagesSharingDescription[] =
2418 "Enables the saved offline pages to be shared via other applications.";
2419
Cathy Lie0d88762018-04-12 08:03:012420const char kOfflinePagesShowAlternateDinoPageName[] =
2421 "Enable alternate dino page with more user capabilities.";
2422const char kOfflinePagesShowAlternateDinoPageDescription[] =
2423 "Enables the dino page to show more buttons and offer existing offline "
2424 "content.";
2425
Brett Wilsonff596952017-07-14 01:06:552426const char kOfflinePagesSvelteConcurrentLoadingName[] =
2427 "Enables concurrent background loading on svelte.";
2428const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2429 "Enables concurrent background loading (or downloading) of pages on "
2430 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2431 "happen when the svelte device is idle.";
2432
2433const char kOffliningRecentPagesName[] =
2434 "Enable offlining of recently visited pages";
2435const char kOffliningRecentPagesDescription[] =
2436 "Enable storing recently visited pages locally for offline use. Requires "
2437 "Offline Pages to be enabled.";
2438
Lei Zhang2eca9082017-10-17 20:42:502439const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2440const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552441 "Enable Pay with Google integration into Web Payments with API version "
2442 "'1'.";
2443
Matthew Jonesa88b95852017-11-08 23:13:502444const char kProgressBarThrottleName[] = "Android progress update throttling.";
2445const char kProgressBarThrottleDescription[] =
2446 "Limit the maximum progress update to make progress appear smoother.";
2447
Brett Wilsonff596952017-07-14 01:06:552448const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2449const char kPullToRefreshEffectDescription[] =
2450 "Page reloads triggered by vertically overscrolling content.";
2451
Piotr Swigon7c296ef2017-08-29 04:32:002452const char kPwaImprovedSplashScreenName[] =
2453 "Improved Splash Screen for standalone PWAs";
2454const char kPwaImprovedSplashScreenDescription[] =
2455 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2456 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492457const char kPwaPersistentNotificationName[] =
2458 "Persistent notification in standalone PWA";
2459const char kPwaPersistentNotificationDescription[] =
2460 "Enables a persistent Android notification for standalone PWAs";
2461
Brett Wilsonff596952017-07-14 01:06:552462const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2463const char kReaderModeHeuristicsDescription[] =
2464 "Determines what pages the Reader Mode infobar is shown on.";
2465const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2466const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2467const char kReaderModeHeuristicsAllArticles[] = "All articles";
2468const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2469const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2470
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182471const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2472const char kReaderModeInCCTDescription[] =
2473 "Open Reader Mode in Chrome Custom Tabs.";
2474
Brett Wilsonff596952017-07-14 01:06:552475const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2476const char kSetMarketUrlForTestingDescription[] =
2477 "When enabled, sets the market URL for use in testing the update menu "
2478 "item.";
2479
2480const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2481const char kSpannableInlineAutocompleteDescription[] =
2482 "A new type of inline autocomplete for the omnibox that works with "
2483 "keyboards that compose text.";
2484
Theresaeea05a12018-05-09 21:01:592485const char kSimplifiedNtpName[] = "Simplified NTP";
2486const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2487
2488const char kSiteExplorationUiName[] = "Site Exploration UI";
2489const char kSiteExplorationUiDescription[] =
2490 "Show site suggestions in the Exploration UI";
2491
Brett Wilsonff596952017-07-14 01:06:552492const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2493const char kUpdateMenuBadgeDescription[] =
2494 "When enabled, an update badge will be shown on the app menu button.";
2495
2496const char kUpdateMenuItemCustomSummaryDescription[] =
2497 "When this flag and the force show update menu item flag are enabled, a "
2498 "custom summary string will be displayed below the update menu item.";
2499const char kUpdateMenuItemCustomSummaryName[] =
2500 "Update menu item custom summary";
2501
2502const char kUpdateMenuItemName[] = "Force show update menu item";
2503const char kUpdateMenuItemDescription[] =
2504 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2505 R"*(menu.)*";
2506
Amirhossein Simjourd78bbcf2018-02-02 16:23:392507const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2508const char kVrBrowsingNativeAndroidUiDescription[] =
2509 "Enable Android UI elements in VR.";
2510
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462511const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2512const char kVrBrowsingTabsViewDescription[] =
2513 "Enable tab overview (tab switcher) in VR.";
2514
Marc Treib93af46a2017-08-23 13:30:002515const char kThirdPartyDoodlesName[] =
2516 "Enable Doodles for third-party search engines";
2517const char kThirdPartyDoodlesDescription[] =
2518 "Enables fetching and displaying Doodles on the NTP for third-party search "
2519 "engines.";
2520
Klaus Weidneraaf697f2018-01-18 20:07:362521const char kWebXrRenderPathName[] = "WebXR presentation render path";
2522const char kWebXrRenderPathDescription[] =
2523 "Render path to use for WebXR presentation (including WebVR)";
2524const char kWebXrRenderPathChoiceClientWaitDescription[] =
2525 "ClientWait (Baseline)";
2526const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2527 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072528const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2529 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362530
Brett Wilson7b44537e2017-08-18 01:38:282531// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552532
Brett Wilson7b44537e2017-08-18 01:38:282533#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482534
Brett Wilson7b44537e2017-08-18 01:38:282535const char kAccountConsistencyName[] =
2536 "Identity consistency between browser and cookie jar";
2537const char kAccountConsistencyDescription[] =
2538 "When enabled, the browser manages signing in and out of Google accounts.";
2539const char kAccountConsistencyChoiceMirror[] = "Mirror";
2540const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342541
Chris Pickel3a227ae62017-08-24 10:47:262542const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2543const char kDoodlesOnLocalNtpDescription[] =
2544 "Show doodles on the local New Tab page if Google is the default search "
2545 "engine.";
2546
mlamouriff56c092017-05-11 15:31:392547const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392548const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342549 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392550const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392551const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392552const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342553 "Enabled (Flash lowers volume when interrupted by other sound, "
2554 "experimental)";
2555
Brett Wilson7b44537e2017-08-18 01:38:282556const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2557const char kEnableNewAppMenuIconDescription[] =
2558 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342559
Dave Schuyler598a4a42018-01-04 02:15:102560const char kOmniboxRichEntitySuggestionsName[] =
2561 "Omnibox rich entity suggestions";
2562const char kOmniboxRichEntitySuggestionsDescription[] =
2563 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212564 "more context and descriptive text about the entity. Has no effect unless "
2565 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2566 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102567
Dave Schuyler616273d2018-04-19 03:12:522568const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2569const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212570 "Display answers using an enhanced layout with larger images. Has no "
2571 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2572 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522573
Kevin Bailey898669972017-11-06 15:34:492574const char kOmniboxTabSwitchSuggestionsName[] =
2575 "Omnibox tab switch suggestions";
2576const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212577 "Enable suggestions for switching to open tabs within the Omnibox. "
2578 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2579 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492580
krbcc621412017-06-01 19:40:282581const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2582const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192583 "Enable receiving tail suggestions, a type of search suggestion based on "
2584 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342585
Brett Wilson7b44537e2017-08-18 01:38:282586const char kOneGoogleBarOnLocalNtpName[] =
2587 "Enable the OneGoogleBar on the local NTP";
2588const char kOneGoogleBarOnLocalNtpDescription[] =
2589 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2590 "search engine.";
2591
Brett Wilson7b44537e2017-08-18 01:38:282592const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2593const char kUseGoogleLocalNtpDescription[] =
2594 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322595
Brett Wilson7b44537e2017-08-18 01:38:282596const char kVoiceSearchOnLocalNtpName[] =
2597 "Enable Voice Search on the local NTP";
2598const char kVoiceSearchOnLocalNtpDescription[] =
2599 "Show a microphone for voice search on the local New Tab page "
2600 "if Google is the default search engine.";
2601
Balazs Engedy00c5cea2018-03-30 15:36:392602const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422603const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392604 "Enable Web Authentication API support";
2605
Jun Choi7ed708122018-06-15 21:13:542606const char kEnableWebAuthenticationCtap2SupportName[] =
2607 "Enable Web Authentication API support for CTAP2 security keys";
2608const char kEnableWebAuthenticationCtap2SupportDescription[] =
2609 "Enable CTAP2 security keys for the Web Authenication API.";
2610
Balazs Engedy00c5cea2018-03-30 15:36:392611const char kEnableWebAuthenticationTestingAPIName[] =
2612 "Web Authentication Testing API";
2613const char kEnableWebAuthenticationTestingAPIDescription[] =
2614 "Enable Web Authentication Testing API support, which disconnects the API "
2615 "implementation from the real world, and allows configuring virtual "
2616 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422617
Brett Wilson7b44537e2017-08-18 01:38:282618#if defined(GOOGLE_CHROME_BUILD)
2619
2620const char kGoogleBrandedContextMenuName[] =
2621 "Google branding in the context menu";
2622const char kGoogleBrandedContextMenuDescription[] =
2623 "Shows a Google icon next to context menu items powered by Google "
2624 "services.";
2625
2626#endif // !defined(GOOGLE_CHROME_BUILD)
2627
2628#endif // !defined(OS_ANDROID)
2629
2630// Windows ---------------------------------------------------------------------
2631
2632#if defined(OS_WIN)
2633
2634const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2635const char kCloudPrintXpsDescription[] =
2636 "XPS enables advanced options for classic printers connected to the Cloud "
2637 "Print with Chrome. Printers must be re-connected after changing this "
2638 "flag.";
2639
Dave Tapuskadd43469d2017-08-22 22:15:532640const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2641const char kDirectManipulationStylusDescription[] =
2642 "If enabled, Chrome will scroll web pages on stylus drag.";
2643
Brett Wilson7b44537e2017-08-18 01:38:282644const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2645const char kDisablePostscriptPrintingDescription[] =
2646 "Disables PostScript generation when printing to PostScript capable "
2647 "printers, and uses EMF generation in its place.";
2648
2649const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2650const char kEnableAppcontainerDescription[] =
2651 "Enables the use of an AppContainer on sandboxed processes to improve "
2652 "security.";
2653
Brett Wilson7b44537e2017-08-18 01:38:282654const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2655const char kEnableDesktopIosPromotionsDescription[] =
2656 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2657 "eligible.";
2658
James Forshawfd0ce342018-02-14 09:55:392659const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2660const char kEnableGpuAppcontainerDescription[] =
2661 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2662 "improve security.";
2663
Brett Wilson7b44537e2017-08-18 01:38:282664const char kGdiTextPrinting[] = "GDI Text Printing";
2665const char kGdiTextPrintingDescription[] =
2666 "Use GDI to print text as simply text";
2667
Henrik Grunell67e56ef2018-04-10 14:04:092668const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2669const char kIncreaseInputAudioBufferSizeDescription[] =
2670 "Increases the input audio endpoint buffer to 100 ms.";
2671
Brett Wilson7b44537e2017-08-18 01:38:282672const char kTraceExportEventsToEtwName[] =
2673 "Enable exporting of tracing events to ETW.";
2674const char kTraceExportEventsToEtwDesription[] =
2675 "If enabled, trace events will be exported to the Event Tracing for "
2676 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2677 "Xperf.";
2678
2679const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2680const char kUseWinrtMidiApiDescription[] =
2681 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2682 "later).";
2683
2684const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2685const char kWindows10CustomTitlebarDescription[] =
2686 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2687 "deferring to Windows.";
2688
2689#endif // defined(OS_WIN)
2690
2691// Mac -------------------------------------------------------------------------
2692
2693#if defined(OS_MACOSX)
2694
Brett Wilson7b44537e2017-08-18 01:38:282695const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2696const char kAppWindowCyclingDescription[] =
2697 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2698 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2699 "browser window, and browser windows will not be cycled when a Chrome App "
2700 "is active.";
2701
Brett Wilson7b44537e2017-08-18 01:38:282702const char kFullscreenToolbarRevealName[] =
2703 "Enables the toolbar in fullscreen to reveal itself.";
2704const char kFullscreenToolbarRevealDescription[] =
2705 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2706 "has changed.";
2707
2708const char kContentFullscreenName[] = "Improved Content Fullscreen";
2709const char kContentFullscreenDescription[] =
2710 "Fullscreen content window detaches from main browser window and goes to "
2711 "a new space without moving or changing the original browser window.";
2712
Lei Zhang2eca9082017-10-17 20:42:502713const char kDialogTouchBarName[] = "Dialog Touch Bar";
2714const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282715 "Shows Dialog buttons on the Touch Bar.";
2716
2717const char kHostedAppsInWindowsName[] =
2718 "Allow hosted apps to be opened in windows";
2719const char kHostedAppsInWindowsDescription[] =
2720 "Allows hosted apps to be opened in windows instead of being limited to "
2721 "tabs.";
2722
Lei Zhang2eca9082017-10-17 20:42:502723const char kMacRTLName[] = "Enable RTL";
2724const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282725
Lei Zhang2eca9082017-10-17 20:42:502726const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2727const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522728 "Enables sharing via macOS share extensions.";
2729
Lei Zhang2eca9082017-10-17 20:42:502730const char kMacTouchBarName[] = "Hardware Touch Bar";
2731const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282732
2733const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2734const char kMacV2SandboxDescription[] =
2735 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2736 "entire life cycle.";
2737
2738const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2739const char kMacViewsNativeAppWindowsDescription[] =
2740 "Controls whether to use Toolkit-Views based Chrome App windows.";
2741
2742const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2743const char kMacViewsTaskManagerDescription[] =
2744 "Controls whether to use the Toolkit-Views based Task Manager.";
2745
2746const char kTabDetachingInFullscreenName[] =
2747 "Allow tab detaching in fullscreen";
2748const char kTabDetachingInFullscreenDescription[] =
2749 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2750
2751const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2752const char kTabStripKeyboardFocusDescription[] =
2753 "Enable keyboard focus for the tabs in the tab strip.";
2754
Brett Wilson7b44537e2017-08-18 01:38:282755#endif
2756
2757// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342758
2759#if defined(OS_CHROMEOS)
2760
Brett Wilson7b44537e2017-08-18 01:38:282761const char kAcceleratedMjpegDecodeName[] =
2762 "Hardware-accelerated mjpeg decode for captured frame";
2763const char kAcceleratedMjpegDecodeDescription[] =
2764 "Enable hardware-accelerated mjpeg decode for captured frame where "
2765 "available.";
vabr0215a8e2017-03-28 12:47:342766
Brett Wilson7b44537e2017-08-18 01:38:282767const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2768const char kAllowTouchpadThreeFingerClickDescription[] =
2769 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342770
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522771const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2772const char kArcAvailableForChildDescription[] =
2773 "Allow child accounts to start Android apps.";
2774
Brett Wilson7b44537e2017-08-18 01:38:282775const char kArcBootCompleted[] = "Load Android apps automatically";
2776const char kArcBootCompletedDescription[] =
2777 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342778
Lev Rumyantsev7a8544312017-08-18 19:26:512779const char kArcNativeBridgeExperimentName[] =
2780 "Enable native bridge experiment for ARC";
2781const char kArcNativeBridgeExperimentDescription[] =
2782 "Enables experimental native bridge feature.";
2783
lgchengecd1c1a62018-01-09 02:59:462784const char kArcUsbHostName[] = "Enable ARC USB host integration";
2785const char kArcUsbHostDescription[] =
2786 "Allow Android apps to use USB host feature on ChromeOS devices.";
2787
Kevin Cernekeeb7f96a52017-10-25 17:40:182788const char kArcVpnName[] = "Enable ARC VPN integration";
2789const char kArcVpnDescription[] =
2790 "Allow Android VPN clients to tunnel Chrome traffic.";
2791
Qiang Xu045aff222018-05-21 23:21:012792const char kAshDisableLoginDimAndBlurName[] =
2793 "Disable dimming and blur on login screen.";
2794const char kAshDisableLoginDimAndBlurDescription[] =
2795 "Disable dimming and blur on login screen.";
2796
2797const char kAshDisableSmoothScreenRotationName[] =
2798 "Disable smooth rotation animations.";
2799const char kAshDisableSmoothScreenRotationDescription[] =
2800 "Disable smooth rotation animations.";
2801
2802const char kAshEnableDisplayMoveWindowAccelsName[] =
2803 "Enable shortcuts for moving window between displays.";
2804const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2805 "Enable shortcuts for moving window between displays.";
2806
2807const char kAshEnableKeyboardShortcutViewerName[] =
2808 "Enable keyboard shortcut viewer.";
2809const char kAshEnableKeyboardShortcutViewerDescription[] =
2810 "Enable keyboard shortcut viewer.";
2811
2812const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2813const char kAshEnableMirroredScreenDescription[] =
2814 "Enable the mirrored screen mode. This mode flips the screen image "
2815 "horizontally.";
2816
2817const char kAshEnableNewOverviewAnimationsName[] =
2818 "Enable new overview animations.";
2819const char kAshEnableNewOverviewAnimationsDescription[] =
2820 "Enables the new overview mode animations.";
2821
2822const char kAshEnablePersistentWindowBoundsName[] =
2823 "Enable persistent window bounds in multi-displays scenario.";
2824const char kAshEnablePersistentWindowBoundsDescription[] =
2825 "Enable persistent window bounds in multi-displays scenario.";
2826
2827const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2828const char kAshEnableTrilinearFilteringDescription[] =
2829 "Enable trilinear filtering.";
2830
Brett Wilson7b44537e2017-08-18 01:38:282831const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2832const char kAshEnableUnifiedDesktopDescription[] =
2833 "Enable unified desktop mode which allows a window to span multiple "
2834 "displays.";
vabr0215a8e2017-03-28 12:47:342835
Mike Wassermanfcc47e42018-06-14 21:24:422836const char kAshKeyboardShortcutViewerAppName[] =
2837 "Keyboard Shortcut Viewer mojo app";
2838const char kAshKeyboardShortcutViewerAppDescription[] =
2839 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2840
Qiang Xu045aff222018-05-21 23:21:012841const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2842const char kAshShelfColorDescription[] =
2843 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2844 "--ash-shelf-color-scheme flag defines how that color is derived.";
2845
2846const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2847const char kAshShelfColorSchemeDescription[] =
2848 "Specify how the color is derived from the wallpaper. This flag is only "
2849 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2850const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2851const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2852const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2853const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2854const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2855const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2856
Sean Kau5e956192017-10-06 22:25:172857const char kBulkPrintersName[] = "Bulk Printers Policy";
2858const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2859
Brett Wilson7b44537e2017-08-18 01:38:282860const char kCaptivePortalBypassProxyName[] =
2861 "Bypass proxy for Captive Portal Authorization";
2862const char kCaptivePortalBypassProxyDescription[] =
2863 "If proxy is configured, it usually prevents from authorization on "
2864 "different captive portals. This enables opening captive portal "
2865 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342866
Brett Wilson7b44537e2017-08-18 01:38:282867const char kCrOSComponentName[] = "Chrome OS Component";
2868const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082869 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342870
Xiaochu Liu51d03fd2017-09-08 23:51:022871const char kCrOSContainerName[] = "Chrome OS Container";
2872const char kCrOSContainerDescription[] =
2873 "Enable the use of Chrome OS Container utility.";
2874
Brett Wilson7b44537e2017-08-18 01:38:282875const char kCrosRegionsModeName[] = "Cros-regions load mode";
2876const char kCrosRegionsModeDescription[] =
2877 "This flag controls cros-regions load mode";
2878const char kCrosRegionsModeDefault[] = "Default";
2879const char kCrosRegionsModeOverride[] = "Override VPD values.";
2880const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342881
Jacob Dufault2becbc482017-08-25 00:36:352882const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2883const char kDisableLockScreenAppsDescription[] =
2884 "Disable new-note action handler apps on the lock screen. The user will "
2885 "not be able to launch the preferred note-taking action from the lock "
2886 "screen, provided that the app supports lock screen note taking.";
2887
Qiang Xu045aff222018-05-21 23:21:012888const char kDisableSystemTimezoneAutomaticDetectionName[] =
2889 "SystemTimezoneAutomaticDetection policy support";
2890const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2891 "Disable system timezone automatic detection device policy.";
2892
Sammie Quonef6b4882017-09-14 16:50:052893const char kDisableTabletAutohideTitlebarsName[] =
2894 "Disable autohide titlebars in tablet mode";
2895const char kDisableTabletAutohideTitlebarsDescription[] =
2896 "Disable tablet mode autohide titlebars functionality. The user will be "
2897 "able to see the titlebar in tablet mode.";
2898
Xiaoqian Dai24b33eb2018-04-10 21:01:572899const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2900const char kDisableTabletSplitViewDescription[] =
2901 "Disable split view for Chrome OS tablet mode.";
2902
Qiang Xu53d1a5832018-05-24 18:44:192903const char kEnableAppShortcutSearchName[] =
2904 "Enable app shortcut search in launcher";
2905const char kEnableAppShortcutSearchDescription[] =
2906 "Enables app shortcut search in launcher";
2907
Weidong Guo00d0b2b2018-06-07 00:39:302908const char kEnableAppsGridGapFeatureName[] =
2909 "Enable apps grid gap feature in launcher.";
2910const char kEnableAppsGridGapFeatureDescription[] =
2911 "Enables gaps at the end of each page and enables dragging an item to an "
2912 "empty page in launcher.";
2913
Lei Zhang2eca9082017-10-17 20:42:502914const char kEnableBackgroundBlurName[] = "Enable background blur.";
2915const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422916 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392917
Brett Wilson7b44537e2017-08-18 01:38:282918const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2919const char kEnableChromevoxArcSupportDescription[] =
2920 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342921
F#m75862c92018-01-25 19:10:472922const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2923const char kEnableDisplayZoomSettingDescription[] =
2924 "Allows the user to modify the display size or zoom via the chrome display "
2925 "settings page.";
2926
Xiaoqian Dai82d99192018-05-25 18:51:352927const char kEnableDragTabsInTabletModeName[] =
2928 "Enable dragging tabs in tablet mode";
2929const char kEnableDragTabsInTabletModeDescription[] =
2930 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2931
Brett Wilson7b44537e2017-08-18 01:38:282932const char kEnableEhvInputName[] =
2933 "Emoji, handwriting and voice input on opt-in IME menu";
2934const char kEnableEhvInputDescription[] =
2935 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342936
Brett Wilson7b44537e2017-08-18 01:38:282937const char kEnableEncryptionMigrationName[] =
2938 "Enable encryption migration of user data";
2939const char kEnableEncryptionMigrationDescription[] =
2940 "If enabled and the device supports ARC, the user will be asked to update "
2941 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342942
Blake O'Hare9e9317b22017-10-24 02:49:352943const char kEnableFloatingVirtualKeyboardName[] =
2944 "Enable floating virtual keyboard";
2945const char kEnableFloatingVirtualKeyboardDescription[] =
2946 "If enabled, the keyboard will use floating behavior by default.";
2947
Qiang Xu045aff222018-05-21 23:21:012948const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2949 "Enable full screen handwriting virtual keyboard";
2950const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2951 "If enabled, the handwriting virtual keyboard will allow user to write "
2952 "anywhere on the screen";
2953
2954const char kEnableHomeLauncherName[] = "Enable home launcher";
2955const char kEnableHomeLauncherDescription[] =
2956 "Enable home launcher in tablet mode.";
2957
Brett Wilson7b44537e2017-08-18 01:38:282958const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2959const char kEnableImeMenuDescription[] =
2960 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342961
Qiang Xu045aff222018-05-21 23:21:012962const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2963const char kEnableNewWallpaperPickerDescription[] =
2964 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2965
2966const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2967const char kEnablePerUserTimezoneDescription[] =
2968 "Chrome OS system timezone preference is stored and handled for each user "
2969 "individually.";
2970
2971const char kEnableSettingsShortcutSearchName[] =
2972 "Enable Settings shortcut search";
2973const char kEnableSettingsShortcutSearchDescription[] =
2974 "Enable Settings shortcut search in launcher.";
2975
Darren Shen3e49c63d2018-03-28 04:45:502976const char kEnableStylusVirtualKeyboardName[] =
2977 "Enable stylus virtual keyboard";
2978const char kEnableStylusVirtualKeyboardDescription[] =
2979 "If enabled, tapping with a stylus will show the handwriting virtual "
2980 "keyboard.";
2981
Jordy Greenblatt2f23df22018-02-22 19:49:192982const char kEnableUnifiedMultiDeviceSettingsName[] =
2983 "Enable unified MultiDevice settings";
2984const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2985 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2986 "MultiDevice settings.";
2987
2988const char kEnableUnifiedMultiDeviceSetupName[] =
2989 "Enable unified MultiDevice setup";
2990const char kEnableUnifiedMultiDeviceSetupDescription[] =
2991 "Enable the device to setup all MultiDevice services in a single workflow.";
2992
Darren Shen11c770f312018-06-13 07:36:392993const char kEnableVirtualKeyboardMdUiName[] =
2994 "Enable Material Design virtual keyboard";
2995const char kEnableVirtualKeyboardMdUiDescription[] =
2996 "If enabled, loads the Material Design UI for the virtual keyboard.";
2997
Klemen Kozjek05fc4512017-10-18 12:51:102998const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2999const char kEnableZipArchiverPackerDescription[] =
3000 "Enable the ability to archive files on Drive in the Files app";
3001
Brett Wilson7b44537e2017-08-18 01:38:283002const char kEolNotificationName[] = "Disable Device End of Life notification.";
3003const char kEolNotificationDescription[] =
3004 "Disable Notifcation when Device is End of Life.";
3005
3006const char kExperimentalAccessibilityFeaturesName[] =
3007 "Experimental accessibility features";
3008const char kExperimentalAccessibilityFeaturesDescription[] =
3009 "Enable additional accessibility features in the Settings page.";
3010
3011const char kExperimentalInputViewFeaturesName[] =
3012 "Experimental input view features";
3013const char kExperimentalInputViewFeaturesDescription[] =
3014 "Enable experimental features for IME input views.";
3015
3016const char kFileManagerTouchModeName[] = "Files App. touch mode";
3017const char kFileManagerTouchModeDescription[] =
3018 "Touchscreen-specific interactions of the Files app.";
3019
3020const char kFirstRunUiTransitionsName[] =
3021 "Animated transitions in the first-run tutorial";
3022const char kFirstRunUiTransitionsDescription[] =
3023 "Transitions during first-run tutorial are animated.";
3024
Brett Wilson7b44537e2017-08-18 01:38:283025const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3026const char kForceEnableStylusToolsDescription[] =
3027 "Forces display of the stylus tools menu in the shelf and the stylus "
3028 "section in settings, even if there is no attached stylus device.";
3029
3030const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3031const char kGestureEditingDescription[] =
3032 "Enable/Disable gesture editing option in the settings page for the "
3033 "virtual keyboard.";
3034
3035const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3036const char kGestureTypingDescription[] =
3037 "Enable/Disable gesture typing option in the settings page for the virtual "
3038 "keyboard.";
3039
3040const char kInputViewName[] = "Input views";
3041const char kInputViewDescription[] =
3042 "Enable IME extensions to supply custom views for user input such as "
3043 "virtual keyboards.";
3044
Megumi Hattori5a0d4182018-03-06 11:09:503045const char kLockScreenNotificationName[] = "Lock screen notification";
3046const char kLockScreenNotificationDescription[] =
3047 "Enable notifications on the lock screen.";
3048
Qiang Xu045aff222018-05-21 23:21:013049const char kMaterialDesignInkDropAnimationSpeedName[] =
3050 "Material design ink drop animation speed";
3051const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3052 "Sets the speed of the experimental visual feedback animations for "
3053 "material design.";
3054const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3055const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3056
Brett Wilson7b44537e2017-08-18 01:38:283057const char kMemoryPressureThresholdName[] =
3058 "Memory discard strategy for advanced pressure handling";
3059const char kMemoryPressureThresholdDescription[] =
3060 "Memory discarding strategy to use";
3061const char kConservativeThresholds[] =
3062 "Conservative memory pressure release strategy";
3063const char kAggressiveCacheDiscardThresholds[] =
3064 "Aggressive cache release strategy";
3065const char kAggressiveTabDiscardThresholds[] =
3066 "Aggressive tab release strategy";
3067const char kAggressiveThresholds[] =
3068 "Aggressive tab and cache release strategy";
3069
3070const char kMtpWriteSupportName[] = "MTP write support";
3071const char kMtpWriteSupportDescription[] =
3072 "MTP write support in File System API (and file manager). In-place editing "
3073 "operations are not supported.";
3074
Kyle Horimoto027590fb2018-02-13 22:19:483075const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3076const char kMultiDeviceApiDescription[] =
3077 "Enable Mojo-based API which provides synced device metadata and the "
3078 "ability to connect to other devices associated the logged-in Google "
3079 "account.";
3080
Bailey Berrodca8eeca02017-11-18 00:49:123081const char kNativeSmbName[] = "Native Smb Client";
3082const char kNativeSmbDescription[] =
3083 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303084
vabr0215a8e2017-03-28 12:47:343085const char kNetworkPortalNotificationName[] =
3086 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343087const char kNetworkPortalNotificationDescription[] =
3088 "If enabled, notification is displayed when device is connected to a "
3089 "network behind captive portal.";
3090
Brett Wilson7b44537e2017-08-18 01:38:283091const char kNewKoreanImeName[] = "New Korean IME";
3092const char kNewKoreanImeDescription[] =
3093 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343094
Brett Wilson7b44537e2017-08-18 01:38:283095const char kNewZipUnpackerName[] = "New ZIP unpacker";
3096const char kNewZipUnpackerDescription[] =
3097 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343098
Qiang Xu045aff222018-05-21 23:21:013099const char kOfficeEditingComponentAppName[] =
3100 "Office Editing for Docs, Sheets & Slides";
3101const char kOfficeEditingComponentAppDescription[] =
3102 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3103
Brett Wilson7b44537e2017-08-18 01:38:283104const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3105const char kPhysicalKeyboardAutocorrectDescription[] =
3106 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3107 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343108
3109const char kPrinterProviderSearchAppName[] =
3110 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343111const char kPrinterProviderSearchAppDescription[] =
3112 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193113 "searches Chrome Web Store for extensions that support printing to a USB "
3114 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343115
Brett Wilson7b44537e2017-08-18 01:38:283116const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3117const char kQuickUnlockPinDescription[] =
3118 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3119 "device on the lock screen after you have signed into your device.";
3120const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3121const char kQuickUnlockPinSigninDescription[] =
3122 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3123 "device. After changing this flag PIN needs to be set up again.";
3124const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3125const char kQuickUnlockFingerprintDescription[] =
3126 "Enabling fingerprint quick unlock allows you to setup and use a "
3127 "fingerprint to unlock your Chromebook on the lock screen after you have "
3128 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343129
James Cook0ba192bf2017-12-01 20:53:113130const char kShowTapsName[] = "Show taps";
3131const char kShowTapsDescription[] =
3132 "Draws a circle at each touch point, which makes touch points more obvious "
3133 "when projecting or mirroring the display. Similar to the Android OS "
3134 "developer option.";
3135
3136const char kShowTouchHudName[] = "Show HUD for touch points";
3137const char kShowTouchHudDescription[] =
3138 "Shows a trail of colored dots for the last few touch points. Pressing "
3139 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3140 "debug hardware issues that generate spurious touch events.";
3141
Chung-Sheng Wu468b0b32017-09-01 14:41:573142const char kSysInternalsName[] = "Enable Sys-Internals";
3143const char kSysInternalsDescription[] =
3144 "If enabled, user can monitor system information at "
3145 "chrome://sys-internals.";
3146
James Cooka9384092018-05-23 02:54:263147const char kTapVisualizerAppName[] = "Show taps with mojo app";
3148const char kTapVisualizerAppDescription[] =
3149 "Use an out-of-process mojo app to show touch points.";
3150
Brett Wilson7b44537e2017-08-18 01:38:283151const char kTeamDrivesName[] = "Enable Team Drives Integration";
3152const char kTeamDrivesDescription[] =
3153 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343154
Brett Wilson7b44537e2017-08-18 01:38:283155const char kTetherName[] = "Instant Tethering";
3156const char kTetherDescription[] =
3157 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3158 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373159
Brett Wilson7b44537e2017-08-18 01:38:283160const char kTouchscreenCalibrationName[] =
3161 "Enable/disable touchscreen calibration option in material design settings";
3162const char kTouchscreenCalibrationDescription[] =
3163 "If enabled, the user can calibrate the touch screen displays in "
3164 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093165
Qiang Xu045aff222018-05-21 23:21:013166const char kUiDevToolsName[] = "Enable native UI inspection";
3167const char kUiDevToolsDescription[] =
3168 "Enables inspection of native UI elements. For local inspection use "
3169 "chrome://inspect#other";
3170
3171const char kUiShowCompositedLayerBordersName[] =
3172 "Show UI composited layer borders";
3173const char kUiShowCompositedLayerBordersDescription[] =
3174 "Show border around composited layers created by UI.";
3175const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3176const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3177const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3178const char kUiShowCompositedLayerBordersAll[] = "All";
3179
3180const char kUiSlowAnimationsName[] = "Slow UI animations";
3181const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3182
Mitsuru Oshima63d3f2a2017-08-23 00:12:113183// Force UI Mode
3184const char kUiModeName[] = "Force Ui Mode";
3185const char kUiModeDescription[] =
3186 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3187 R"*(despite its current orientation. "Tablet" means that the )*"
3188 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3189 R"*(means that the chromebook will act as if it were in clamshell )*"
3190 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3191 R"*(the two, based on its orientation.)*";
3192const char kUiModeTablet[] = "TouchView";
3193const char kUiModeClamshell[] = "Clamshell";
3194const char kUiModeAuto[] = "Auto (default)";
3195
James Cooka1bcfa9a2018-01-30 00:18:403196const char kUseMashName[] = "Out-of-process system UI (mash)";
3197const char kUseMashDescription[] =
3198 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3199 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283200
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343201// TODO(mcasas): remove after https://crbug.com/771345.
3202const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3203const char kUseMonitorColorSpaceDescription[] =
3204 "Enables Chrome to use the color space information provided by the monitor"
3205 " instead of the default sRGB color space.";
3206
Brett Wilson7b44537e2017-08-18 01:38:283207const char kVideoPlayerChromecastSupportName[] =
3208 "Experimental Chromecast support for Video Player";
3209const char kVideoPlayerChromecastSupportDescription[] =
3210 "This option enables experimental Chromecast support for Video Player app "
3211 "on ChromeOS.";
3212
3213const char kVirtualKeyboardName[] = "Virtual Keyboard";
3214const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3215
3216const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3217const char kVirtualKeyboardOverscrollDescription[] =
3218 "Enables virtual keyboard overscroll support.";
3219
3220const char kVoiceInputName[] = "Voice input on virtual keyboard";
3221const char kVoiceInputDescription[] =
3222 "Enables voice input on virtual keyboard.";
3223
3224const char kWakeOnPacketsName[] = "Wake On Packets";
3225const char kWakeOnPacketsDescription[] =
3226 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203227
Qiang Xu53d1a5832018-05-24 18:44:193228const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3229const char kZipArchiverUnpackerDescription[] =
3230 "Enable or disable the ability to unpack archives in incognito mode";
3231
yhanadac5bff5b2017-05-18 06:37:093232#endif // defined(OS_CHROMEOS)
3233
Brett Wilson7b44537e2017-08-18 01:38:283234// Random platform combinations -----------------------------------------------
3235
3236#if defined(OS_WIN) || defined(OS_LINUX)
3237
3238const char kEnableInputImeApiName[] = "Enable Input IME API";
3239const char kEnableInputImeApiDescription[] =
3240 "Enable the use of chrome.input.ime API.";
3241
Tom Anderson6cbd5052018-05-03 23:49:543242#if !defined(OS_CHROMEOS)
3243
3244const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3245const char kWarnBeforeQuittingFlagDescription[] =
3246 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3247
3248#endif // !defined(OS_CHROMEOS)
3249
Brett Wilson7b44537e2017-08-18 01:38:283250#endif // defined(OS_WIN) || defined(OS_LINUX)
3251
3252#if defined(OS_WIN) || defined(OS_MACOSX)
3253
3254const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3255const char kAutomaticTabDiscardingDescription[] =
3256 "If enabled, tabs get automatically discarded from memory when the system "
3257 "memory is low. Discarded tabs are still visible on the tab strip and get "
3258 "reloaded when clicked on. Info about discarded tabs can be found at "
3259 "chrome://discards.";
3260
3261#endif // defined(OS_WIN) || defined(OS_MACOSX)
3262
Justin Donnelly110e40c2018-06-01 21:48:433263const char kExperimentalUiName[] = "Use all upcoming UI features";
3264const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483265
Brett Wilson7b44537e2017-08-18 01:38:283266// Feature flags --------------------------------------------------------------
3267
3268#if BUILDFLAG(ENABLE_VR)
3269
David Dorwin5a496c32017-11-17 01:45:053270const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3271const char kWebVrVsyncAlignDescription[] =
3272 "Align WebVR application rendering with VSync for smoother animations.";
3273
Brett Wilson7b44537e2017-08-18 01:38:283274#if defined(OS_ANDROID)
3275
Yash Malikb78e72a72018-02-21 09:14:103276const char kVrWebInputEditingName[] = "VR browsing web input editing";
3277const char kVrWebInputEditingDescription[] =
3278 "Allow editing web input fields while in VR mode.";
3279
David Dorwin5a496c32017-11-17 01:45:053280const char kVrBrowsingExperimentalFeaturesName[] =
3281 "VR browsing experimental features";
3282const char kVrBrowsingExperimentalFeaturesDescription[] =
3283 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283284
David Dorwin5a496c32017-11-17 01:45:053285const char kVrBrowsingExperimentalRenderingName[] =
3286 "VR browsing experimental rendering features";
3287const char kVrBrowsingExperimentalRenderingDescription[] =
3288 "Experimental rendering features for VR browsing (e.g. power-saving "
3289 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103290
David Dorwin5a496c32017-11-17 01:45:053291const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3292const char kVrBrowsingInCustomTabDescription[] =
3293 "Allow browsing within a VR headset while in a Custom Tab.";
3294
David Dorwin5a496c32017-11-17 01:45:053295const char kWebVrAutopresentFromIntentName[] =
3296 "WebVR auto presentation from intents";
3297const char kWebVrAutopresentFromIntentDescription[] =
3298 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283299
3300#endif // OS_ANDROID
3301
Bill Orr103ed272018-02-14 21:23:053302#if BUILDFLAG(ENABLE_OCULUS_VR)
3303const char kOculusVRName[] = "Oculus hardware support";
3304const char kOculusVRDescription[] =
3305 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3306 "Windows 10 or later).";
3307#endif // ENABLE_OCULUS_VR
3308
Bill Orr49527562017-11-22 16:58:483309#if BUILDFLAG(ENABLE_OPENVR)
3310const char kOpenVRName[] = "OpenVR hardware support";
3311const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073312 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3313 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483314#endif // ENABLE_OPENVR
3315
Brett Wilson7b44537e2017-08-18 01:38:283316#endif // ENABLE_VR
3317
Nico Weberaf3b00b2017-09-11 17:58:173318#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283319
3320const char kNaclDebugMaskName[] =
3321 "Restrict Native Client GDB-based debugging by pattern";
3322const char kNaclDebugMaskDescription[] =
3323 "Restricts Native Client application GDB-based debugging by URL of "
3324 "manifest file. Native Client GDB-based debugging must be enabled for this "
3325 "option to work.";
3326const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3327const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3328 "Debug everything except secure shell and the PNaCl translator.";
3329const char kNaclDebugMaskChoiceIncludeDebug[] =
3330 "Debug only if manifest URL ends with debug.nmf.";
3331
3332const char kNaclDebugName[] = "Native Client GDB-based debugging";
3333const char kNaclDebugDescription[] =
3334 "Enable GDB debug stub. This will stop a Native Client application on "
3335 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3336
3337const char kNaclName[] = "Native Client";
3338const char kNaclDescription[] =
3339 "Support Native Client for all web applications, even those that were not "
3340 "installed from the Chrome Web Store.";
3341
3342const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3343const char kPnaclSubzeroDescription[] =
3344 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3345
Nico Weberaf3b00b2017-09-11 17:58:173346#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283347
Brett Wilson7b44537e2017-08-18 01:38:283348const char kWebrtcH264WithOpenh264FfmpegName[] =
3349 "WebRTC H.264 software video encoder/decoder";
3350const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3351 "When enabled, an H.264 software video encoder/decoder pair is included. "
3352 "If a hardware encoder/decoder is also available it may be used instead of "
3353 "this encoder/decoder.";
3354
Brett Wilson7b44537e2017-08-18 01:38:283355#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3356
3357const char kAutofillCreditCardUploadName[] =
3358 "Enable offering upload of Autofilled credit cards";
3359const char kAutofillCreditCardUploadDescription[] =
3360 "Enables a new option to upload credit cards to Google Payments for sync "
3361 "to all Chrome devices.";
3362
3363#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3364
Becca Hughesdc96e842018-05-04 22:48:283365#if defined(OS_ANDROID)
3366
3367const char kDisplayCutoutAPIName[] =
3368 "Enable support for the Display Cutout API";
3369const char kDisplayCutoutAPIDescription[] =
3370 "Enables developers to support devices that have a display cutout.";
3371
3372#endif // defined(OS_ANDROID)
3373
Brett Wilson7b44537e2017-08-18 01:38:283374// ============================================================================
3375// Don't just add flags to the end, put them in the right section in
3376// alphabetical order just like the header file.
3377// ============================================================================
3378
vabr0215a8e2017-03-28 12:47:343379} // namespace flag_descriptions