blob: 5c8967f4b6c1493691668d947685eba0a1ab5a95 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
Jeremy Klein586b4ccc2018-06-09 21:05:4838const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
39const char kAndroidMessagesIntegrationDescription[] =
40 "Enables Chrome OS integration with Android messages.";
41
Brett Wilsonf27ff602017-07-07 22:28:4742const char kAppBannersName[] = "App Banners";
43const char kAppBannersDescription[] =
44 "Enable the display of Progressive Web App banners, which prompt a user to "
45 "add a web app to their shelf, or other platform-specific equivalent.";
46
yoshiki iguchi4a10c5f2017-11-29 20:16:5447const char kAshSidebarName[] = "Sidebar";
48const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
49
Ioana Pandelef9689a062018-06-22 15:35:5150const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
51const char kAutomaticPasswordGenerationDescription[] =
52 "Allow Chrome to offer to generate passwords when it detects account "
53 "creation pages.";
54
Michael Lippautzebbc5a82018-05-30 10:41:4255const char kEnableBlinkHeapIncrementalMarkingName[] =
56 "Blink Heap Incremental Marking";
57const char kEnableBlinkHeapIncrementalMarkingDescription[] =
58 "Enable incremental marking in Blink";
59
Tetsui Ohkubo2852b952018-02-23 04:12:0160const char kSystemTrayUnifiedName[] = "New system menu";
61const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5562 "Enable the experimental system menu.";
63
Khushalba202212017-07-12 19:53:4964const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
65const char kAsyncImageDecodingDescription[] =
66 "Enables asynchronous decoding of images from raster for web content";
67
Roger McFarlane2eceba982018-05-18 01:37:1168const char kAutofillCacheQueryResponsesName[] =
69 "Cache Autofill Query Responses";
70const char kAutofillCacheQueryResponsesDescription[] =
71 "When enabled, autofill will cache the responses it receives from the "
72 "crowd-sourced field type prediction server.";
73
sebsge35b762c2018-03-29 20:33:2774const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
75const char kAutofillDynamicFormsDescription[] =
76 "Allows autofill to fill dynamically changing forms";
77
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3978const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
79const char kAutofillPrefilledFieldsDescription[] =
80 "Allows autofill to fill fields previously filled by the website";
81
Parastoo Geranmayeh071d725c2018-06-26 17:35:2282const char kAutofillRationalizeRepeatedServerPredictionsName[] =
83 "Autofill Rationalization of Repeated Server Field Type Predictions";
84const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
85 "Allows autofill to rationalize repeated server field type predictions.";
86
Roger McFarlane1a37d7b2018-04-20 22:45:1987const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
88 "Autofill Enforce Min Required Fields For Heuristics";
89const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
90 "When enabled, autofill will generally require a form to have at least 3 "
91 "fields before allowing heuristic field-type prediction to occur.";
92
93const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
94 "Autofill Enforce Min Required Fields For Query";
95const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
96 "When enabled, autofill will generally require a form to have at least 3 "
97 "fields before querying the autofill server for field-type predictions.";
98
99const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
100 "Autofill Enforce Min Required Fields For Upload";
101const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
102 "When enabled, autofill will generally require a form to have at least 3 "
103 "fillable fields before uploading field-type votes for that form.";
104
Moe Ahmadid3ddfcb2018-04-20 19:51:08105const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
106 "Restrict formless form extraction";
107const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
108 "Restrict extraction of formless forms to checkout flows";
109
Brett Wilsonf27ff602017-07-07 22:28:47110const char kAutoplayPolicyName[] = "Autoplay policy";
111const char kAutoplayPolicyDescription[] =
112 "Policy used when deciding if audio or video is allowed to autoplay.";
113
114const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
115 "User gesture is required for cross-origin iframes.";
116const char kAutoplayPolicyNoUserGestureRequired[] =
117 "No user gesture is required.";
118const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
119const char kAutoplayPolicyDocumentUserActivation[] =
120 "Document user activation is required.";
121
Johanne0cc6902017-11-16 00:23:50122extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
123extern const char kAv1DecoderDescription[] =
124 "Allow decoding of files with the AV1 video codec.";
125
Brett Wilsonf27ff602017-07-07 22:28:47126const char kBackgroundVideoTrackOptimizationName[] =
127 "Optimize background video playback.";
128const char kBackgroundVideoTrackOptimizationDescription[] =
129 "Disable video tracks when the video is played in the background to "
130 "optimize performance.";
131
132const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
133const char kBleAdvertisingInExtensionsDescription[] =
134 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
135 "with regular use of Bluetooth Low Energy features.";
136
Charles Harrisond629cc62017-10-05 01:39:54137const char kBlockTabUndersName[] = "Block tab-unders";
138const char kBlockTabUndersDescription[] =
139 "Blocks tab-unders in Chrome with some native UI to allow the user to "
140 "proceed.";
141
Brett Wilsonf27ff602017-07-07 22:28:47142const char kBrowserTaskSchedulerName[] = "Task Scheduler";
143const char kBrowserTaskSchedulerDescription[] =
144 "Enables redirection of some task posting APIs to the task scheduler.";
145
Carlos IL766fbc882018-02-16 02:34:52146const char kBundledConnectionHelpName[] = "Bundled Connection Help";
147const char kBundledConnectionHelpDescription[] =
148 "Enables or disables redirecting users who get an interstitial when "
149 "accessing https://support.google.com/chrome/answer/6098869 to local "
150 "connection help content.";
151
Brett Wilsonf27ff602017-07-07 22:28:47152const char kBypassAppBannerEngagementChecksName[] =
153 "Bypass user engagement checks";
154const char kBypassAppBannerEngagementChecksDescription[] =
155 "Bypasses user engagement checks for displaying app banners, such as "
156 "requiring that users have visited the site before and that the banner "
157 "hasn't been shown recently. This allows developers to test that other "
158 "eligibility requirements for showing app banners, such as having a "
159 "manifest, are met.";
160
Lucas Garronb9539b732017-10-31 00:22:09161const char kCommittedInterstitialsName[] = "Committed Interstitials";
162const char kCommittedInterstitialsDescription[] =
163 "Use committed error pages instead of transient navigation entries "
164 "for interstitial error pages (e.g. certificate errors).";
165
Miguel Casas454d9cf2018-06-28 16:25:00166const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
167const char kCanvas2DImageChromiumDescription[] =
168 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
169
Brett Wilsonf27ff602017-07-07 22:28:47170const char kCastStreamingHwEncodingName[] =
171 "Cast Streaming hardware video encoding";
172const char kCastStreamingHwEncodingDescription[] =
173 "This option enables support in Cast Streaming for encoding video streams "
174 "using platform hardware.";
175
Amber Won478561d2017-08-19 01:02:59176const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
177const char kClickToOpenPDFDescription[] =
178 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
179 "embedded PDFs.";
180
Gary Kacmarcikfb69b212017-11-14 03:41:08181const char kClipboardContentSettingName[] = "Clipboard content setting";
182const char kClipboardContentSettingDescription[] =
183 "Enables a site-wide permission in the UI which controls access to the "
184 "asynchronous clipboard web API";
185
Peter Kastingb78046182018-06-29 20:15:13186const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
187const char kCloseButtonsInactiveTabsDescription[] =
188 "Shows close buttons on inactive tabs in non-touch mode.";
189
Brett Wilsonf27ff602017-07-07 22:28:47190const char kCloudImportName[] = "Cloud Import";
191const char kCloudImportDescription[] = "Allows the cloud-import feature.";
192
Christopher Cameronceb8727d2017-09-07 23:53:16193const char kForceColorProfileSRGB[] = "sRGB";
194const char kForceColorProfileP3[] = "Display P3 D65";
195const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
196const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
197
198const char kForceColorProfileName[] = "Force color profile";
199const char kForceColorProfileDescription[] =
200 "Forces Chrome to use a specific color profile instead of the color "
201 "of the window's current monitor, as specified by the operating system.";
202
Brett Wilsonf27ff602017-07-07 22:28:47203const char kCompositedLayerBordersName[] = "Composited render layer borders";
204const char kCompositedLayerBordersDescription[] =
205 "Renders a border around composited Render Layers to help debug and study "
206 "layer compositing.";
207
Theresaf39c1882018-03-21 18:18:07208const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07209 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07210const char kContextualSuggestionsBottomSheetDescription[] =
211 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47212
Theresac34db2d2018-06-28 00:03:11213const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
214const char kContextualSuggestionsButtonDescription[] =
215 "If enabled, shows a button to trigger contextual suggestions.";
216
Theresa818d3452018-05-22 00:08:07217const char kContextualSuggestionsSlimPeekUIName[] =
218 "Contextual Suggestions Slim Peek UI";
219const char kContextualSuggestionsSlimPeekUIDescription[] =
220 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
221
Theresa0f2947b92018-07-02 21:27:58222const char kContextualSuggestionsOptOutName[] =
223 "Contextual Suggestions Opt-out";
224const char kContextualSuggestionsOptOutDescription[] =
225 "If enabled, allows the user to opt out of contextual suggestions.";
226
Brett Wilsonf27ff602017-07-07 22:28:47227const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
228const char kCreditCardAssistDescription[] =
229 "Enable assisted credit card filling on certain sites.";
230
231const char kCrossProcessGuestViewIsolationName[] =
232 "Cross process frames for guests";
233const char kCrossProcessGuestViewIsolationDescription[] =
234 "Highly experimental where guests such as <webview> are implemented on "
235 "the out-of-process iframe infrastructure.";
236
Thanh Le659cb102017-12-20 22:00:19237const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
238const char kDataSaverServerPreviewsDescription[] =
239 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47240
241const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
242const char kDatasaverPromptDescription[] =
243 "Enables a prompt, which appears when a cellular network connection is "
244 "detected, to take the user to the Data Saver extension page on Chrome Web "
245 "Store.";
246const char kDatasaverPromptDemoMode[] = "Demo mode";
247
Wez54dc71b2018-04-17 00:42:34248#if DCHECK_IS_CONFIGURABLE
249const char kDcheckIsFatalName[] = "DCHECKs are fatal";
250const char kDcheckIsFatalDescription[] =
251 "By default Chrome will evaluate in this build, but only log failures, "
252 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
253#endif // DCHECK_IS_CONFIGURABLE
254
Brett Wilsonf27ff602017-07-07 22:28:47255const char kDebugPackedAppName[] = "Debugging for packed apps";
256const char kDebugPackedAppDescription[] =
257 "Enables debugging context menu options such as Inspect Element for packed "
258 "applications.";
259
260const char kDefaultTileHeightName[] = "Default tile height";
261const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
262const char kDefaultTileHeightShort[] = "128";
263const char kDefaultTileHeightTall[] = "256";
264const char kDefaultTileHeightGrande[] = "512";
265const char kDefaultTileHeightVenti[] = "1024";
266
267const char kDefaultTileWidthName[] = "Default tile width";
268const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
269const char kDefaultTileWidthShort[] = "128";
270const char kDefaultTileWidthTall[] = "256";
271const char kDefaultTileWidthGrande[] = "512";
272const char kDefaultTileWidthVenti[] = "1024";
273
274const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
275const char kDebugShortcutsDescription[] =
276 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
277
278const char kDeviceDiscoveryNotificationsName[] =
279 "Device Discovery Notifications";
280const char kDeviceDiscoveryNotificationsDescription[] =
281 "Device discovery notifications on local network.";
282
283const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
284const char kDevtoolsExperimentsDescription[] =
285 "Enables Developer Tools experiments. Use Settings panel in Developer "
286 "Tools to toggle individual experiments.";
287
288const char kDisableAudioForDesktopShareName[] =
289 "Disable Audio For Desktop Share";
290const char kDisableAudioForDesktopShareDescription[] =
291 "With this flag on, desktop share picker window will not let the user "
292 "choose whether to share audio.";
293
Chris Palmer917bc052018-03-14 19:28:31294const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
295const char kDisablePushStateThrottleDescription[] =
296 "Disables throttling of history.pushState and history.replaceState method "
297 "calls.";
298
Brett Wilsonf27ff602017-07-07 22:28:47299const char kDisableTabForDesktopShareName[] =
300 "Disable Desktop Share with tab source";
301const char kDisableTabForDesktopShareDescription[] =
302 "This flag controls whether users can choose a tab for desktop share.";
303
304const char kDisallowDocWrittenScriptsUiName[] =
305 "Block scripts loaded via document.write";
306const char kDisallowDocWrittenScriptsUiDescription[] =
307 "Disallows fetches for third-party parser-blocking scripts inserted into "
308 "the main frame via document.write.";
309
Christopher Thompson2ffffa2c2018-05-18 23:06:37310const char kDisallowUnsafeHttpDownloadsName[] =
311 "Block unsafe downloads over insecure connections";
312const char kDisallowUnsafeHttpDownloadsNameDescription[] =
313 "Disallows downloads of unsafe files (files that can potentially execute "
314 "code), where the final download origin or any origin in the redirect "
315 "chain is insecure.";
316
Brett Wilsonf27ff602017-07-07 22:28:47317const char kDriveSearchInChromeLauncherName[] =
318 "Drive Search in Chrome App Launcher";
319const char kDriveSearchInChromeLauncherDescription[] =
320 "Files from Drive will show up when searching the Chrome App Launcher.";
321
Brett Wilsonf27ff602017-07-07 22:28:47322const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
323const char kEmbeddedExtensionOptionsDescription[] =
324 "Display extension options as an embedded element in chrome://extensions "
325 "rather than opening a new tab.";
326
Dominic Mazzoni8ac98962018-05-25 05:44:55327const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
328const char kEnableAccessibilityObjectModelDescription[] =
329 "Enables experimental support for Accessibility Object Model APIs "
330 "that are in development.";
331
Brett Wilsonf27ff602017-07-07 22:28:47332const char kEnableAsmWasmName[] =
333 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
334const char kEnableAsmWasmDescription[] =
335 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
336 R"*(WebAssembly.)*";
337
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36338const char kEnableWebPaymentsSingleAppUiSkipName[] =
339 "Enable Web Payments single app UI skip";
340const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
341 "Enable Web Payments to skip showing its UI if the developer specifies a "
342 "single app.";
343
Shanfeng Zhang19c16562017-10-17 02:30:40344const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
345 "Credit card autofill ablation experiment.";
346const char kEnableAutofillCreditCardAblationExperimentDescription[] =
347 "If enabled, credit card autofill suggestions will not display.";
348
Jared Saulae93aa12018-03-23 19:04:39349const char kEnableAutofillCreditCardBankNameDisplayName[] =
350 "Display the issuer bank name of a credit card in autofill.";
351const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
352 "If enabled, displays the issuer bank name of a credit card in autofill.";
353
Brett Wilsonf27ff602017-07-07 22:28:47354const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
355 "Display the last used date of a credit card in autofill.";
356const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
357 "If enabled, display the last used date of a credit card in autofill.";
358
Jared Saulbc672a072018-06-16 05:22:12359const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
360 "Make cardholder name editable in dialog during credit card upload";
361const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
362 "If enabled, in certain situations when offering credit card upload to "
363 "Google Payments, the cardholder name can be edited within the "
364 "offer-to-save dialog, which is prefilled with the name from the signed-in "
365 "Google Account.";
366
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37367const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
368 "Enable Google Pay branding when offering credit card upload on Android";
369const char
370 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
371 "If enabled, shows the Google Pay logo and a shorter header message "
372 "when credit card upload to Google Payments is offered on Android.";
373
Jared Saul5c2a1482017-12-09 00:24:31374const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
375 "Send first six digits of PAN when deciding whether to offer Autofill "
376 "credit card upload";
377const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
378 "If enabled, when deciding whether to offer credit card upload to Google "
379 "Payments, sends the first six digits of the card number to avoid cases "
380 "where card upload is likely to fail.";
381
siyua7c4e97b42018-04-24 02:49:42382const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
383 "Enable updated prompt explanation when offering credit card upload";
384const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
385 "If enabled, changes the server save card prompt's explanation to mention "
386 "the saving of the billing address.";
387
tmartinocd414732018-02-12 19:01:01388const char kEnableAutofillNativeDropdownViewsName[] =
389 "Display Autofill Dropdown Using Views";
390const char kEnableAutofillNativeDropdownViewsDescription[] =
391 "If enabled, the Autofill Dropdown will be built natively using Views, "
392 "rather than painted directly to a canvas.";
393
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23394const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
395 "Send experiment flag IDs in calls to Google Payments";
396const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
397 "If enabled, adds the status of certain experiment variations when making "
398 "calls to Google Payments.";
399
Becca Hughes4d896c42018-05-29 16:58:51400const char kEnableAutoplayIgnoreWebAudioName[] =
401 "Autoplay ignores WebAudio playbacks";
402const char kEnableAutoplayIgnoreWebAudioDescription[] =
403 "If enabled, autoplay restrictions will be ignored for WebAudio.";
404
Vitalii Iarko4f9834ce2017-08-04 07:05:19405const char kEnableBreakingNewsPushName[] = "Breaking News Push";
406const char kEnableBreakingNewsPushDescription[] =
407 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
408 "through Google Cloud Messaging.";
409
Brett Wilsonf27ff602017-07-07 22:28:47410const char kEnableBrotliName[] = "Brotli Content-Encoding.";
411const char kEnableBrotliDescription[] =
412 "Enable Brotli Content-Encoding support.";
413
Qiang Xu0f602fe62017-12-22 01:31:20414const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
415const char kEnableCaptivePortalRandomUrlDescription[] =
416 "Enable Captive Portal URL randomization.";
417
sclittle50e4bb92017-07-08 02:23:03418const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
419
420const char kEnableClientLoFiDescription[] =
421 "Enable showing low fidelity images on some pages on slow networks.";
422
Patrick Noland8bc57472018-06-19 21:09:54423const char kEnableCSSFragmentIdentifiersName[] =
424 "Enable CSS Fragment Identifiers";
425const char kEnableCSSFragmentIdentifiersDescription[] =
426 "Enable support for specifying a target element using a css selector in "
427 "the fragment identifier.";
428
David Reveman87b4b692018-03-09 21:22:22429const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
430const char kEnableCursorMotionBlurDescription[] =
431 "Enable motion blur effect for the cursor.";
432
Ramin Halavati6f5d9852018-06-20 09:37:05433const char kEnableEphemeralFlashPermissionName[] =
434 "Enable Ephemeral Flash Permissions";
435const char kEnableEphemeralFlashPermissionDescription[] =
436 "When enabled, Flash plugin permissions are reset at the end of the "
437 "browser session.";
438
Doug Arnett08b4067b2017-10-12 20:14:44439const char kEnableNoScriptPreviewsName[] = "NoScript previews";
440
441const char kEnableNoScriptPreviewsDescription[] =
442 "Enable disabling JavaScript on some pages on slow networks.";
443
Thanh Le2c279fbc2017-11-21 01:25:40444const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
445const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
446const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
447const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
448const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
449const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
450const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
451const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
452const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
453const char kDataReductionProxyServerAlternative10[] =
454 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47455const char kEnableDataReductionProxyServerExperimentName[] =
456 "Use an alternative Data Saver back end configuration.";
457const char kEnableDataReductionProxyServerExperimentDescription[] =
458 "Enable a different approach to saving data by configuring the back end "
459 "server";
460
461const char kEnableDataReductionProxySavingsPromoName[] =
462 "Data Saver 1 MB Savings Promo";
463const char kEnableDataReductionProxySavingsPromoDescription[] =
464 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
465 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
466 "enabled for the promo to be shown.";
467
Matt Giucad4870432017-11-24 01:04:38468const char kEnableDesktopPWAsName[] = "Desktop PWAs";
469const char kEnableDesktopPWAsDescription[] =
470 "Experimental windowing and install banner treatment for Progressive Web "
471 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17472
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59473const char kEnableDesktopPWAsLinkCapturingName[] =
474 "Desktop PWAs Link Capturing";
475const char kEnableDesktopPWAsLinkCapturingDescription[] =
476 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
477 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
478 "#enable-desktop-pwas.";
479
Ahmed Fakhry0037de02018-01-29 19:58:31480const char kEnableDockedMagnifierName[] = "Docked Magnifier";
481const char kEnableDockedMagnifierDescription[] =
482 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
483
Ramya Nagarajan5b41d8d2018-04-02 19:53:02484const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
485const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09486 "Enables the Emoji picker item in context menus for editable text areas, if"
487 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02488
Brett Wilsonf27ff602017-07-07 22:28:47489const char kEnableEnumeratingAudioDevicesName[] =
490 "Experimentally enable enumerating audio devices.";
491const char kEnableEnumeratingAudioDevicesDescription[] =
492 "Experimentally enable the use of enumerating audio devices.";
493
494const char kEnableGenericSensorName[] = "Generic Sensor";
495const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25496 "Enables motion sensor classes based on Generic Sensor API, i.e. "
497 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
498 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
499
500const char kEnableGenericSensorExtraClassesName[] =
501 "Generic Sensor Extra Classes";
502const char kEnableGenericSensorExtraClassesDescription[] =
503 "Enables an extra set of sensor classes based on Generic Sensor API, which "
504 "expose previously unavailable platform features, i.e. AmbientLightSensor "
505 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47506
Brett Wilsonf27ff602017-07-07 22:28:47507const char kEnableHDRName[] = "HDR mode";
508const char kEnableHDRDescription[] =
509 "Enables HDR support on compatible displays.";
510
Ryan Sturm6a850902018-06-09 02:27:34511const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
512const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09513 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25514 "pause sub-resource request loading on the page. Using the 'Low' option "
515 "will reduce the triggering threshold 1MB.";
Ryan Sturm6a850902018-06-09 02:27:34516
Brett Wilsonf27ff602017-07-07 22:28:47517const char kEnableHttpFormWarningName[] =
518 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15519 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47520const char kEnableHttpFormWarningDescription[] =
521 "Attaches a warning UI to any password or credit card fields detected when "
522 "the top-level page is not HTTPS";
523
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41524const char kLayeredAPIName[] = "Experimental layered APIs";
525const char kLayeredAPIDescription[] =
526 "Enable layered API infrastructure, as well as several experimental "
527 "layered APIs. The syntax and the APIs exposed are experimental and will "
528 "change over time.";
529
Scott Littled0fd2d002018-04-13 03:37:26530const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
531const char kEnableLazyFrameLoadingDescription[] =
532 "Defers the loading of certain cross-origin frames until the page is "
533 "scrolled down near them.";
534
Sidney San Martín9375b892017-09-09 00:29:54535const char kEnableMacMaterialDesignDownloadShelfName[] =
536 "Enable Material Design download shelf";
537
538const char kEnableMacMaterialDesignDownloadShelfDescription[] =
539 "If enabled, the download shelf uses Material Design.";
540
Tatiana Gornakafb40452017-07-31 13:50:04541const char kEnableManualFallbacksFillingName[] =
542 "Manual fallbacks for password manager forms filling";
543const char kEnableManualFallbacksFillingDescription[] =
544 "If enabled, then if user clicks on the password field on a form, popup "
545 "might contain generation fallbacks or 'Show all saved passwords' "
546 "fallback.";
547
Anton Urusov47cd4932017-09-19 14:41:41548const char kEnablePolicyToolName[] = "Enable policy management page";
549const char kEnablePolicyToolDescription[] =
550 "If enabled, the chrome://policy-tool URL loads a page for managing "
551 "policies.";
552
Tsuyoshi Horoea7edb72017-11-12 04:14:00553const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
554const char kEnablePWAFullCodeCacheDescription[] =
555 "Generate V8 code cache in Cache Storage while installing Service Worker "
556 "for PWAs.";
557
Weidong Guof1e5a892018-01-06 02:26:39558const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28559 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39560const char kDisableMultiMirroringDescription[] =
561 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28562
Brett Wilsonf27ff602017-07-07 22:28:47563const char kEnableNavigationTracingName[] = "Enable navigation tracing";
564const char kEnableNavigationTracingDescription[] =
565 "This is to be used in conjunction with the trace-upload-url flag. "
566 "WARNING: When enabled, Chrome will record performance data for every "
567 "navigation and upload it to the URL specified by the trace-upload-url "
568 "flag. The trace may include personally identifiable information (PII) "
569 "such as the titles and URLs of websites you visit.";
570
Bernhard Bauer5533f9912017-11-06 17:56:02571const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
572const char kEnableNetworkLoggingToFileDescription[] =
573 "Enables network logging to a file named netlog.json in the user data "
574 "directory. The file can be imported into chrome://net-internals.";
575
Brett Wilsonf27ff602017-07-07 22:28:47576const char kEnableNetworkServiceName[] = "Enable network service";
577const char kEnableNetworkServiceDescription[] =
578 "Enables the network service, which makes network requests through a "
579 "separate service. Note: most features don't work with this yet.";
580
John Abd-El-Malek8067cc02017-12-04 23:23:20581const char kEnableNetworkServiceInProcessName[] =
582 "Runs network service in-process";
583const char kEnableNetworkServiceInProcessDescription[] =
584 "Runs the network service in the browser process.";
585
dpapaded8349472017-10-25 03:21:27586const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
587const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37588 "If enabled, Print Preview will display a newer UI. This feature is "
589 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27590
Ahmed Fakhry2fd8fc82017-07-28 16:31:12591const char kEnableNightLightName[] = "Enable Night Light";
592const char kEnableNightLightDescription[] =
593 "Enable the Night Light feature which controls the color temperature of "
594 "the screen.";
595
xlou8b56f672018-02-09 23:34:30596const char kEnableNupPrintingName[] = "Enable N-up printing";
597const char kEnableNupPrintingDescription[] =
598 "Enable N-up printing in the print preview panel.";
599
Sophie Chang117a3b22017-10-24 22:25:36600const char kEnableOptimizationHintsName[] = "Optimization Hints";
601const char kEnableOptimizationHintsDescription[] =
602 "Enable the Optimization Hints feature which incorporates server hints"
603 "into decisions for what optimizations to perform on some pages on slow "
604 "networks.";
605
Yutaka Hirano98be3272017-08-07 17:55:39606const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
607const char kEnableOutOfBlinkCORSDescription[] =
608 "CORS handling logic is moved out of blink.";
609
Sammie Quon0fbf0782018-05-01 22:11:08610const char kEnableOverviewSwipeToCloseName[] =
611 "Enable overview swipe to close.";
612const char kEnableOverviewSwipeToCloseDescription[] =
613 "Enables closing of items in overview mode by dragging or flinging "
614 "vertically.";
615
kylechar7051c092018-02-05 20:31:39616const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
617const char kVizDisplayCompositorDescription[] =
618 "If enabled, the display compositor runs as part of the viz service in the"
619 "GPU process.";
620
Ria Jiang6a129b982018-03-01 18:30:40621const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
622const char kVizHitTestDrawQuadDescription[] =
623 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
624 "with hit-test data computed from the CompositorFrame.";
625
Erik Chen49bbfa22017-08-18 08:49:56626const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23627 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56628const char kEnableOutOfProcessHeapProfilingDescription[] =
629 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19630 "malloced objects. Heap dumps can be obtained at chrome://tracing "
631 "[category:memory-infra] and chrome://memory-internals. This setting "
632 "controls which processes are profiled. As long as this setting is not "
633 "disabled, users can start profiling any given process in "
634 "chrome://memory-internals.";
635const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
636const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
637const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
638const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
639const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10640const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19641 "None by default. Visit chrome://memory-internals to choose which "
642 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15643const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
644 "Profile a random sampling of renderer processes, ensuring only one is "
645 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19646
Erik Chen8bb76b52017-12-06 19:06:25647const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19648 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25649const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
650 "By default, small allocations are pruned from the heap dump. This reduces "
651 "the size of the compressed trace by 100x. If pruning is disabled, the "
652 "chrome://tracing UI may be unable to take or load the trace. Save the "
653 "trace directly using chrome://memory-internals, and use other mechanisms "
654 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
655 "automatically uploaded traces will always be pruned. This only affects "
656 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56657
erikchen8bc20d82018-02-14 03:21:51658const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
659const char kOutOfProcessHeapProfilingSamplingDescription[] =
660 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22661 "10000. This results in low noise for large and/or frequent allocations ["
662 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
663 "total size of malloc-ed objects] and large and/or frequent allocations "
664 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51665
Erik Chen3303fd0232018-01-11 20:29:05666const char kOOPHPStackModeName[] =
667 "The type of stack to record for memlog heap dumps";
668const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19669 "By default, memlog heap dumps record native stacks, which requires a "
670 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55671 "pointers to work on Android. Native with thread names will add the thread "
672 "name as the first frame of each native stack. It's also possible to "
673 "record a pseudo stack using trace events as identifiers. It's also "
674 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19675const char kOOPHPStackModeMixed[] = "Mixed";
676const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55677const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19678const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05679
François Beaufort2e75f492018-02-08 20:44:46680const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47681const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46682 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47683
F#m59d036e2017-09-13 07:22:17684const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
685const char kEnablePixelCanvasRecordingDescription[] =
686 "Pixel canvas recording allows the compositor to raster contents aligned "
687 "with the pixel and improves text rendering. This should be enabled when a "
688 "device is using fractional scale factor.";
689
vitaliiid36191b2018-06-11 07:40:49690extern const char kEnableSyncUserConsentSeparateTypeName[] =
691 "Enable separate sync type for consents";
692extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
693 "Emit user consents as a separate sync type instead of user events.";
694
Mikel Astiz38837f82018-04-24 22:23:23695const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
696const char kEnableSyncUSSSessionsDescription[] =
697 "Enables the new, experimental implementation of session sync (aka tab "
698 "sync).";
699
Brett Wilsonf27ff602017-07-07 22:28:47700const char kEnableTokenBindingName[] = "Token Binding.";
701const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
702
Sahel Sharifyd732ab12017-11-29 23:03:16703extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
704 "Wheel Scroll Latching.";
705extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
706 "Wheel scroll latching enforces latching to a single element for the "
707 "duration of a scroll sequence.";
708
Brett Wilsonf27ff602017-07-07 22:28:47709const char kEnableUseZoomForDsfName[] =
710 "Use Blink's zoom for device scale factor.";
711const char kEnableUseZoomForDsfDescription[] =
712 "If enabled, Blink uses its zooming mechanism to scale content for device "
713 "scale factor.";
714const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
715const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
716const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
717
Patrick Noland8ee016e2018-01-24 11:44:53718const char kEnableScrollAnchorSerializationName[] =
719 "Scroll Anchor Serialization";
720const char kEnableScrollAnchorSerializationDescription[] =
721 "Save the scroll anchor and use it to restore the scroll position when "
722 "navigating.";
723
Brad Nelson5cd500e2018-01-04 00:50:19724const char kEnableSharedArrayBufferName[] =
725 "Experimental enabled SharedArrayBuffer support in JavaScript.";
726const char kEnableSharedArrayBufferDescription[] =
727 "Enable SharedArrayBuffer support in JavaScript.";
728
Brett Wilsonf27ff602017-07-07 22:28:47729const char kEnableWasmName[] = "WebAssembly structured cloning support.";
730const char kEnableWasmDescription[] =
731 "Enable web pages to use WebAssembly structured cloning.";
732
Kim Paulhamusae635a32018-06-27 07:30:54733const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
734const char kEnableWebAuthenticationAPIDescription[] =
735 "Enable Web Authentication API support";
736
Brett Wilsonf27ff602017-07-07 22:28:47737const char kEnableImageCaptureAPIName[] = "Image Capture API";
738const char kEnableImageCaptureAPIDescription[] =
739 "Enables the Web Platform Image Capture API: takePhoto(), "
740 "getPhotoCapabilities(), etc.";
741
742const char kEnableZeroSuggestRedirectToChromeName[] =
743 "Experimental contextual omnibox suggestion";
744const char kEnableZeroSuggestRedirectToChromeDescription[] =
745 "Change omnibox contextual suggestions to an experimental source. Note "
746 "that this is not an on/off switch for contextual omnibox and it only "
747 "applies to suggestions provided before the user starts typing a URL or a "
748 "search query (i.e. zero suggest).";
749
750const char kEnableWasmStreamingName[] =
751 "WebAssembly streaming compile/instantiate support.";
752const char kEnableWasmStreamingDescription[] =
753 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
754
Clemens Hammacher0c8a15a2018-04-27 13:45:32755const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
756const char kEnableWasmBaselineDescription[] =
757 "Enables WebAssembly baseline compilation and tier up.";
758
Ben Smith24c1e5c2018-06-20 01:09:02759const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
760const char kEnableWasmThreadsDescription[] =
761 "Enables support for the WebAssembly Threads proposal. Implies "
762 "#shared-array-buffer and #enable-webassembly.";
763
Brett Wilsonf27ff602017-07-07 22:28:47764const char kExpensiveBackgroundTimerThrottlingName[] =
765 "Throttle expensive background timers";
766const char kExpensiveBackgroundTimerThrottlingDescription[] =
767 "Enables intervention to limit CPU usage of background timers to 1%.";
768
769const char kExperimentalAppBannersName[] = "Experimental app banners";
770const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38771 "Enables a new experimental app banner flow and UI. Implies "
772 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47773
774const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
775const char kExperimentalCanvasFeaturesDescription[] =
776 "Enables the use of experimental canvas features which are still in "
777 "development.";
778
Nicholas Verneccd8259802018-02-22 01:22:04779const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
780const char kExperimentalCrostiniUIDescription[] =
781 "Enables in-development Crostini features.";
782
Brett Wilsonf27ff602017-07-07 22:28:47783const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
784const char kExperimentalExtensionApisDescription[] =
785 "Enables experimental extension APIs. Note that the extension gallery "
786 "doesn't allow you to upload extensions that use experimental APIs.";
787
788const char kExperimentalFullscreenExitUIName[] =
789 "Experimental fullscreen exit UI";
790const char kExperimentalFullscreenExitUIDescription[] =
791 "Displays experimental UI to allow mouse and touch input methods to exit "
792 "fullscreen mode.";
793
Ian Clelland37a985d2018-05-04 02:43:13794const char kExperimentalProductivityFeaturesName[] =
795 "Experimental Productivity Features";
796const char kExperimentalProductivityFeaturesDescription[] =
797 "Enable support for experimental developer productivity features, such as "
798 "Layered APIs and policies for avoiding slow rendering.";
799
Brett Wilsonf27ff602017-07-07 22:28:47800const char kExperimentalSecurityFeaturesName[] =
801 "Potentially annoying security features";
802const char kExperimentalSecurityFeaturesDescription[] =
803 "Enables several security features that will likely break one or more "
804 "pages that you visit on a daily basis. Strict mixed content checking, for "
805 "example. And locking powerful features to secure contexts. This flag will "
806 "probably annoy you.";
807
808const char kExperimentalWebPlatformFeaturesName[] =
809 "Experimental Web Platform features";
810const char kExperimentalWebPlatformFeaturesDescription[] =
811 "Enables experimental Web Platform features that are in development.";
812
813const char kExtensionContentVerificationName[] =
814 "Extension Content Verification";
815const char kExtensionContentVerificationDescription[] =
816 "This flag can be used to turn on verification that the contents of the "
817 "files on disk for extensions from the webstore match what they're "
818 "expected to be. This can be used to turn on this feature if it would not "
819 "otherwise have been turned on, but cannot be used to turn it off (because "
820 "this setting can be tampered with by malware).";
821const char kExtensionContentVerificationBootstrap[] =
822 "Bootstrap (get expected hashes, but do not enforce them)";
823const char kExtensionContentVerificationEnforce[] =
824 "Enforce (try to get hashes, and enforce them if successful)";
825const char kExtensionContentVerificationEnforceStrict[] =
826 "Enforce strict (hard fail if we can't get hashes)";
827
828const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
829const char kExtensionsOnChromeUrlsDescription[] =
830 "Enables running extensions on chrome:// URLs, where extensions explicitly "
831 "request this permission.";
galinapae72e152017-05-12 13:12:28832
Brett Wilsonecb80982017-07-12 20:34:51833const char kFastUnloadName[] = "Fast tab/window close";
834const char kFastUnloadDescription[] =
835 "Enables fast tab/window closing - runs a tab's onunload js handler "
836 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34837
Brett Wilsonecb80982017-07-12 20:34:51838const char kFeaturePolicyName[] = "Feature Policy";
839const char kFeaturePolicyDescription[] =
840 "Enables granting and removing access to features through the "
841 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34842
Brett Wilsonecb80982017-07-12 20:34:51843const char kFontCacheScalingName[] = "FontCache scaling";
844const char kFontCacheScalingDescription[] =
845 "Reuse a cached font in the renderer to serve different sizes of font for "
846 "faster layout.";
847
848const char kForceEffectiveConnectionTypeName[] =
849 "Override effective connection type";
850const char kForceEffectiveConnectionTypeDescription[] =
851 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30852 "returned by the network quality estimator. Slow 2G on Cellular returns "
853 "Slow 2G when connected to a cellular network, and the actual estimate "
854 "effective connection type when not on a cellular network. Previews are "
855 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51856const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
857const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
858const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30859const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
860 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51861const char kEffectiveConnectionType2GDescription[] = "2G";
862const char kEffectiveConnectionType3GDescription[] = "3G";
863const char kEffectiveConnectionType4GDescription[] = "4G";
864
865const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
866const char kFillOnAccountSelectDescription[] =
867 "Filling of passwords when an account is explicitly selected by the user "
868 "rather than autofilling credentials on page load.";
869
Brett Wilsonecb80982017-07-12 20:34:51870const char kForceTextDirectionName[] = "Force text direction";
871const char kForceTextDirectionDescription[] =
872 "Explicitly force the per-character directionality of UI text to "
873 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
874 "direction of the character language.";
875const char kForceDirectionLtr[] = "Left-to-right";
876const char kForceDirectionRtl[] = "Right-to-left";
877
878const char kForceUiDirectionName[] = "Force UI direction";
879const char kForceUiDirectionDescription[] =
880 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
881 "mode, overriding the default direction of the UI language.";
882
883const char kFramebustingName[] =
884 "Framebusting requires same-origin or a user gesture";
885const char kFramebustingDescription[] =
886 "Don't permit an iframe to navigate the top level browsing context unless "
887 "they are same-origin or the iframe is processing a user gesture.";
888
889const char kGamepadExtensionsName[] = "Gamepad Extensions";
890const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22891 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds660a47752018-06-28 19:42:48892const char kGamepadPollingRateName[] = "Gamepad Polling Rate";
893const char kGamepadPollingRateDescription[] =
894 "Changes the rate at which gamepad input devices are polled. Increasing "
895 "the polling rate improves the average latency of button and axis inputs "
896 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58897const char kGamepadVibrationName[] = "Gamepad Vibration";
898const char kGamepadVibrationDescription[] =
899 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51900
Brett Wilsonecb80982017-07-12 20:34:51901const char kGpuRasterizationMsaaSampleCountName[] =
902 "GPU rasterization MSAA sample count.";
903const char kGpuRasterizationMsaaSampleCountDescription[] =
904 "Specify the number of MSAA samples for GPU rasterization.";
905const char kGpuRasterizationMsaaSampleCountZero[] = "0";
906const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
907const char kGpuRasterizationMsaaSampleCountFour[] = "4";
908const char kGpuRasterizationMsaaSampleCountEight[] = "8";
909const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
910
911const char kGpuRasterizationName[] = "GPU rasterization";
912const char kGpuRasterizationDescription[] =
913 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28914const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51915
916const char kGoogleProfileInfoName[] = "Google profile name and icon";
917const char kGoogleProfileInfoDescription[] =
918 "Enables using Google information to populate the profile name and icon in "
919 "the avatar menu.";
920
921const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
922const char kHarfbuzzRendertextDescription[] =
923 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
924 "web content.";
925
Takumi Fujimotofb71e332018-03-31 14:04:08926const char kViewsCastDialogName[] = "Views Cast dialog";
927const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31928 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53929 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54930 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08931
Manu Cornet4a908de2018-04-09 04:32:27932const char kHideActiveAppsFromShelfName[] =
933 "Hide running apps (that are not pinned) from the shelf";
934const char kHideActiveAppsFromShelfDescription[] =
935 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25936
Brett Wilsonecb80982017-07-12 20:34:51937const char kHistoryRequiresUserGestureName[] =
938 "New history entries require a user gesture.";
939const char kHistoryRequiresUserGestureDescription[] =
940 "Require a user gesture to add a history entry.";
941const char kHyperlinkAuditingName[] = "Hyperlink auditing";
942const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
943
Ryan Landay4242dbc22018-04-04 01:47:33944const char kHorizontalTabSwitcherAndroidName[] =
945 "Enable horizontal tab switcher";
946const char kHorizontalTabSwitcherAndroidDescription[] =
947 "Changes the layout of the Android tab switcher so tabs scroll "
948 "horizontally instead of vertically.";
949
Brett Wilsonecb80982017-07-12 20:34:51950const char kHostedAppQuitNotificationName[] =
951 "Quit notification for hosted apps";
952const char kHostedAppQuitNotificationDescription[] =
953 "Display a notification when quitting Chrome if hosted apps are currently "
954 "running.";
955
956const char kHostedAppShimCreationName[] =
957 "Creation of app shims for hosted apps on Mac";
958const char kHostedAppShimCreationDescription[] =
959 "Create app shims on Mac when creating a hosted app.";
960
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48961const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
962const char kHtmlBasedUsernameDetectorDescription[] =
963 "Use HTML-based username detector for the password manager.";
964
Brett Wilsonecb80982017-07-12 20:34:51965const char kIconNtpName[] = "Large icons on the New Tab page";
966const char kIconNtpDescription[] =
967 "Enable the experimental New Tab page using large icons.";
968
969const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
970const char kIgnoreGpuBlacklistDescription[] =
971 "Overrides the built-in software rendering list and enables "
972 "GPU-acceleration on unsupported system configurations.";
973
Ryan Sturm8c3dbc92018-06-26 19:22:37974const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44975const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37976 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44977
Claudio Magni61c210922017-12-28 00:29:51978const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
979const char kImprovedLanguageSettingsDescription[] =
980 "Set of changes for Language Settings. These changes are intended to fix "
981 "the major bugs related to Language Settings.";
982
Brett Wilsonecb80982017-07-12 20:34:51983const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
984const char kInProductHelpDemoModeChoiceDescription[] =
985 "Selects the In-Product Help demo mode.";
986
987const char kJavascriptHarmonyName[] = "Experimental JavaScript";
988const char kJavascriptHarmonyDescription[] =
989 "Enable web pages to use experimental JavaScript features.";
990
991const char kJavascriptHarmonyShippingName[] =
992 "Latest stable JavaScript features";
993const char kJavascriptHarmonyShippingDescription[] =
994 "Some web pages use legacy or non-standard JavaScript extensions that may "
995 "conflict with the latest JavaScript features. This flag allows disabling "
996 "support of those features for compatibility with such pages.";
997
gogeraldfd7675d2018-06-19 22:57:35998const char kJustInTimeServiceWorkerPaymentAppName[] =
999 "Just-in-time service worker payment app";
1000const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1001 "Allow crawling just-in-time service worker payment app when there is no "
1002 "installed service worker payment app for a payment request.";
1003
Yutaka Hiranof7f2f632017-09-06 10:40:081004const char kKeepAliveRendererForKeepaliveRequestsName[] =
1005 "Keep a renderer alive for keepalive fetch requests";
1006const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1007 "Keep a render process alive when the process has a pending fetch request "
1008 "with `keepalive' specified.";
1009
Joe Downing095fd6d2018-02-01 18:40:361010const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1011const char kKeyboardLockApiDescription[] =
1012 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1013 "specific key events and have them routed directly to the webpage when in "
1014 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1015
Brett Wilsonecb80982017-07-12 20:34:511016const char kLcdTextName[] = "LCD text antialiasing";
1017const char kLcdTextDescription[] =
1018 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1019 "(subpixel) when doing accelerated compositing.";
1020
Matt Giucac399982f2017-10-06 07:51:291021const char kLeftToRightUrlsName[] =
1022 "Render bidirectional URLs from left to right";
1023const char kLeftToRightUrlsDescription[] =
1024 "An experimental Bidi URL rendering algorithm where the URL components are "
1025 "always shown in order from left to right, regardless of any RTL "
1026 "characters. (The contents of each component are still rendered with the "
1027 "normal Bidi algorithm.)";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kLoadMediaRouterComponentExtensionName[] =
1030 "Load Media Router Component Extension";
1031const char kLoadMediaRouterComponentExtensionDescription[] =
1032 "Loads the Media Router component extension at startup.";
1033
spqchanb87755692018-04-05 00:46:091034const char kMacViewsAutofillPopupName[] =
1035 "Uses the Views Autofill Popup on Mac";
1036const char kMacViewsAutofillPopupDescription[] =
1037 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321038
Brett Wilsonecb80982017-07-12 20:34:511039const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1040const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511041
Lei Zhang2eca9082017-10-17 20:42:501042const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1043const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511044 "If enabled, the Incognito New Tab page uses the new material design with "
1045 "a better readable text.";
1046
spqchanb87755692018-04-05 00:46:091047const char kMediaRouterCastAllowAllIPsName[] =
1048 "Connect to Cast devices on all IP addresses";
1049const char kMediaRouterCastAllowAllIPsDescription[] =
1050 "Have the Media Router connect to Cast devices on all IP addresses, not "
1051 "just RFC1918/RFC4913 private addresses.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kMemoryCoordinatorName[] = "Memory coordinator";
1054const char kMemoryCoordinatorDescription[] =
1055 "Enable memory coordinator instead of memory pressure listeners.";
1056
1057const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1058const char kMessageCenterNewStyleNotificationDescription[] =
1059 "Enables the experiment style of material-design notification";
1060
Brett Wilsonecb80982017-07-12 20:34:511061const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1062const char kMhtmlGeneratorOptionDescription[] =
1063 "Provides experimental options for MHTML file generator.";
1064const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1065const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1066
Kouhei Ueno08445c22017-09-05 03:58:301067const char kModuleScriptsDynamicImportName[] =
1068 "Enable ECMAScript 6 modules dynamic import";
1069const char kModuleScriptsDynamicImportDescription[] =
1070 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1071 "Blink.";
1072
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051073const char kModuleScriptsImportMetaUrlName[] =
1074 "Enable ECMAScript 6 modules import.meta.url";
1075const char kModuleScriptsImportMetaUrlDescription[] =
1076 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1077 "Blink.";
1078
Brett Wilsonecb80982017-07-12 20:34:511079const char kNewAudioRenderingMixingStrategyName[] =
1080 "New audio rendering mixing strategy";
1081const char kNewAudioRenderingMixingStrategyDescription[] =
1082 "Use the new audio rendering mixing strategy.";
1083
1084const char kNewBookmarkAppsName[] = "The new bookmark app system";
1085const char kNewBookmarkAppsDescription[] =
1086 "Enables the new system for creating bookmark apps.";
1087
Vadym Doroshenkof81e8bb2018-04-18 14:35:241088const char kNewPasswordFormParsingName[] = "New password form parsing";
1089const char kNewPasswordFormParsingDescription[] =
1090 "Replaces existing form parsing in password manager with a new version, "
1091 "currently under development. WARNING: when enabled Password Manager might "
1092 "stop working";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kNewRemotePlaybackPipelineName[] =
1095 "Enable the new remote playback pipeline.";
1096const char kNewRemotePlaybackPipelineDescription[] =
1097 "Enable the new pipeline for playing media element remotely via "
1098 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501099const char kUseSurfaceLayerForVideoName[] =
1100 "Enable the use of SurfaceLayer objects for videos.";
1101const char kUseSurfaceLayerForVideoDescription[] =
1102 "Enable compositing onto a Surface instead of a VideoLayer "
1103 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511104
1105const char kNewUsbBackendName[] = "Enable new USB backend";
1106const char kNewUsbBackendDescription[] =
1107 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341108
Sonny Sasaka2d200432018-03-22 17:43:161109const char kNewblueName[] = "Newblue";
1110const char kNewblueDescription[] =
1111 "Enables the use of newblue Bluetooth daemon.";
1112
Peter Kasting63097912018-06-30 02:09:031113const char kNewTabButtonPosition[] = "New tab button position";
1114const char kNewTabButtonPositionDescription[] =
1115 "Controls placement of the new tab button within the tabstrip.";
1116const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1117const char kNewTabButtonPositionLeading[] = "Leading";
1118const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1119const char kNewTabButtonPositionTrailing[] = "Trailing";
1120
Egor Pasko6fed3822018-05-30 10:33:141121const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341122const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141123 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341124
Alex Newcomerd7b0cc42018-05-25 22:58:481125const char kNotificationIndicatorName[] = "Notification Indicators";
1126const char kNotificationIndicatorDescription[] =
1127 "Enable notification indicators, which appear on app icons when a "
1128 "notification is active. This will also enable notifications in context "
1129 "menus.";
1130
Brett Wilsonecb80982017-07-12 20:34:511131const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1132const char kNotificationsNativeFlagDescription[] =
1133 "Enable support for using the native notification toasts and notification "
1134 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341135
Zentaro Kavanaghbad511c2017-10-18 22:29:001136#if defined(OS_POSIX)
1137const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1138const char kNtlmV2EnabledDescription[] =
1139 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1140#endif
1141
Ramya Nagarajane9f16b82018-05-03 01:05:341142const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1143const char kNtpBackgroundsDescription[] =
1144 "Allow selection of a custom background image on the New Tab Page.";
1145
1146const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1147const char kNtpIconsDescription[] =
1148 "Show custom link icons on the New Tab Page, instead of Most Visited "
1149 "tiles.";
1150
1151const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1152const char kNtpUIMdDescription[] =
1153 "Updates the New Tab Page with Material Design elements.";
1154
Brett Wilsonecb80982017-07-12 20:34:511155const char kNumRasterThreadsName[] = "Number of raster threads";
1156const char kNumRasterThreadsDescription[] =
1157 "Specify the number of raster threads.";
1158const char kNumRasterThreadsOne[] = "1";
1159const char kNumRasterThreadsTwo[] = "2";
1160const char kNumRasterThreadsThree[] = "3";
1161const char kNumRasterThreadsFour[] = "4";
1162
1163const char kOfferStoreUnmaskedWalletCardsName[] =
1164 "Google Payments card saving checkbox";
1165const char kOfferStoreUnmaskedWalletCardsDescription[] =
1166 "Show the checkbox to offer local saving of a credit card downloaded from "
1167 "the server.";
1168
1169const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1170const char kOfflineAutoReloadDescription[] =
1171 "Pages that fail to load while the browser is offline will be "
1172 "auto-reloaded when the browser is online again.";
1173
1174const char kOfflineAutoReloadVisibleOnlyName[] =
1175 "Only Auto-Reload Visible Tabs";
1176const char kOfflineAutoReloadVisibleOnlyDescription[] =
1177 "Pages that fail to load while the browser is offline will only be "
1178 "auto-reloaded if their tab is visible.";
1179
Brett Wilsonecb80982017-07-12 20:34:511180const char kOmniboxDisplayTitleForCurrentUrlName[] =
1181 "Include title for the current URL in the omnibox";
1182const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1183 "In the event that the omnibox provides suggestions on-focus, the URL of "
1184 "the current page is provided as the first suggestion without a title. "
1185 "Enabling this flag causes the title to be displayed.";
1186
Benoit Lizeab08362c2017-07-19 14:50:541187const char kOmniboxSpareRendererName[] =
1188 "Start spare renderer on omnibox focus";
1189const char kOmniboxSpareRendererDescription[] =
1190 "When the omnibox is focused, start an empty spare renderer. This can "
1191 "speed up the load of the navigation from the omnibox.";
1192
Tommy C. Li8875a442017-08-23 00:10:591193const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1194 "Omnibox UI Elide Suggestion URL After Host";
1195const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1196 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1197 "dropdown.";
1198
Tommy C. Lid79d4402017-12-22 22:49:121199const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1200 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1201const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1202 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221203 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1204 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121205
Brett Wilsonecb80982017-07-12 20:34:511206const char kOmniboxUIMaxAutocompleteMatchesName[] =
1207 "Omnibox UI Max Autocomplete Matches";
1208
1209const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1210 "Changes the maximum number of autocomplete matches displayed in the "
1211 "Omnibox UI.";
1212
Justin Donnelly65c9e8b2017-10-01 05:15:011213const char kOmniboxUIShowSuggestionFaviconsName[] =
1214 "Omnibox UI Show Suggestion Favicons";
1215const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1216 "Shows favicons instead of generic vector icons for URL suggestions in the "
1217 "Omnibox dropdown.";
1218
1219const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1220const char kOmniboxUISwapTitleAndUrlDescription[] =
1221 "In the omnibox dropdown, shows titles before URLs when both are "
1222 "available.";
1223
Brett Wilsonecb80982017-07-12 20:34:511224const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1225const char kOmniboxUIVerticalMarginDescription[] =
1226 "Changes the vertical margin in the Omnibox UI.";
1227
Troy Hildebrandtb32637ca2018-02-21 23:25:091228const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1229 "Omnibox Voice Search Always Visible";
1230const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1231 "Always displays voice search icon in focused omnibox as long as voice "
1232 "search is possible";
1233
Adrienne Walkerc87477e2018-06-06 22:28:211234const char kOopRasterizationName[] = "Out of process rasterization";
1235const char kOopRasterizationDescription[] =
1236 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1237 "Must also enable GPU rasterization";
1238
Brett Wilsonecb80982017-07-12 20:34:511239const char kOriginTrialsName[] = "Origin Trials";
1240const char kOriginTrialsDescription[] =
1241 "Enables origin trials for controlling access to feature/API experiments.";
1242
Becca Hughes930d8cd2017-10-02 11:09:121243const char kOverflowIconsForMediaControlsName[] =
1244 "Icons on Media Controls Overflow Menu";
1245const char kOverflowIconsForMediaControlsDescription[] =
1246 "Displays icons on the overflow menu of the native media controls";
1247
Brett Wilsonecb80982017-07-12 20:34:511248const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1249const char kOverlayScrollbarsDescription[] =
1250 "Enable the experimental overlay scrollbars implementation. You must also "
1251 "enable threaded compositing to have the scrollbars animate.";
1252
chaopenge8aa016b2017-08-24 15:20:191253const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1254 "Flash Overlay Scrollbars After Any Scroll Update";
1255const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1256 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1257 " must also enable Overlay Scrollbars.";
1258
chaopeng343678022017-08-24 18:45:001259const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1260 "Flash Overlay Scrollbars When Mouse Enter";
1261const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1262 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1263 " enable Overlay Scrollbars.";
1264
Daniele Castagna74ddb9c2018-06-21 22:59:021265const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1266const char kOverlayStrategiesDescription[] =
1267 "Select strategies used to promote quads to HW overlays.";
1268const char kOverlayStrategiesDefault[] = "Default";
1269const char kOverlayStrategiesNone[] = "None";
1270const char kOverlayStrategiesUnoccludedFullscreen[] =
1271 "Unoccluded fullscreen buffers (single-fullscreen)";
1272const char kOverlayStrategiesUnoccluded[] =
1273 "Unoccluded buffers (single-fullscreen,single-on-top)";
1274const char kOverlayStrategiesOccludedAndUnoccluded[] =
1275 "Occluded and unoccluded buffers "
1276 "(single-fullscreen,single-on-top,underlay)";
1277
Claudio Magni81326f92017-09-01 05:21:181278const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1279const char kUseNewAcceptLanguageHeaderDescription[] =
1280 "Adds the base language code after other corresponding language+region "
1281 "codes. This ensures that users receive content in their preferred "
1282 "language.";
1283
Brett Wilsonecb80982017-07-12 20:34:511284const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1285const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481286 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511287const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481288const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511289
1290const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1291const char kOverscrollStartThresholdDescription[] =
1292 "Changes overscroll start threshold relative to the default value.";
1293const char kOverscrollStartThreshold133Percent[] = "133%";
1294const char kOverscrollStartThreshold166Percent[] = "166%";
1295const char kOverscrollStartThreshold200Percent[] = "200%";
1296
chaopenge2b6e5f2018-05-08 16:40:451297const char kTouchpadOverscrollHistoryNavigationName[] =
1298 "Overscroll history navigation on Touchpad";
1299const char kTouchpadOverscrollHistoryNavigationDescription[] =
1300 "Allows swipe left/right from touchpad change browser navigation.";
1301
Xing Liu5400a002017-09-15 21:48:291302const char kParallelDownloadingName[] = "Parallel downloading";
1303const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061304 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291305
Brett Wilsonecb80982017-07-12 20:34:511306const char kPassiveEventListenerDefaultName[] =
1307 "Passive Event Listener Override";
1308const char kPassiveEventListenerDefaultDescription[] =
1309 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1310 "haven't requested otherwise) to be treated as passive. This will break "
1311 "touch/wheel behavior on some websites but is useful for demonstrating the "
1312 "potential performance benefits of adopting passive event listeners.";
1313const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1314const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1315
1316const char kPassiveEventListenersDueToFlingName[] =
1317 "Touch Event Listeners Passive Default During Fling";
1318const char kPassiveEventListenersDueToFlingDescription[] =
1319 "Forces touchstart, and first touchmove per scroll event listeners during "
1320 "fling to be treated as passive.";
1321
1322const char kPassiveDocumentEventListenersName[] =
1323 "Document Level Event Listeners Passive Default";
1324const char kPassiveDocumentEventListenersDescription[] =
1325 "Forces touchstart, and touchmove event listeners on document level "
1326 "targets (which haven't requested otherwise) to be treated as passive.";
1327
1328const char kPasswordForceSavingName[] = "Force-saving of passwords";
1329const char kPasswordForceSavingDescription[] =
1330 "Allow the user to manually enforce password saving instead of relying on "
1331 "password manager's heuristics.";
1332
Vaclav Brozekd8a3f542017-11-16 14:21:131333const char kPasswordExportName[] = "Password export";
1334const char kPasswordExportDescription[] =
1335 "Export functionality in password settings.";
1336
1337const char kPasswordImportName[] = "Password import";
1338const char kPasswordImportDescription[] =
1339 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511340
Friedrich Horschig03c91982018-01-25 14:21:281341const char kPasswordSearchMobileName[] = "Password search";
1342const char kPasswordSearchMobileDescription[] =
1343 "Search functionality in password settings.";
1344
Friedrich Horschige6c27742018-04-23 17:13:411345const char kPasswordsKeyboardAccessoryName[] =
1346 "Add password-related functions to keyboard accessory";
1347const char kPasswordsKeyboardAccessoryDescription[] =
1348 "Adds password generation button and toggle for the passwords bottom sheet "
1349 "to the keyboard accessory. Replaces password generation popups.";
1350
Tom Sepez92a2cd242018-03-13 19:23:091351const char kPdfIsolationName[] = "PDF Isolation";
1352const char kPdfIsolationDescription[] =
1353 "Render PDF files from different origins in different plugin processes.";
1354
Brett Wilsonecb80982017-07-12 20:34:511355const char kPinchScaleName[] = "Pinch scale";
1356const char kPinchScaleDescription[] =
1357 "Enables experimental support for scale using pinch.";
1358
Doug Arnett620ff542018-02-06 17:54:221359const char kPreviewsAllowedName[] = "Previews Allowed";
1360const char kPreviewsAllowedDescription[] =
1361 "Allows previews to be shown subject to specific preview types being "
1362 "enabled and the client experiencing specific triggering conditions. "
1363 "May be used as a kill-switch to turn off all potential preview types.";
1364
Brett Wilsonecb80982017-07-12 20:34:511365const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1366const char kPrintPdfAsImageDescription[] =
1367 "If enabled, an option to print PDF files as images will be available in "
1368 "print preview.";
1369
1370const char kPrintPreviewRegisterPromosName[] =
1371 "Print Preview Registration Promos";
1372const char kPrintPreviewRegisterPromosDescription[] =
1373 "Enable registering unregistered cloud printers from print preview.";
1374
1375const char kProtectSyncCredentialName[] = "Autofill sync credential";
1376const char kProtectSyncCredentialDescription[] =
1377 "How the password manager handles autofill for the sync credential.";
1378
1379const char kProtectSyncCredentialOnReauthName[] =
1380 "Autofill sync credential only for transactional reauth pages";
1381const char kProtectSyncCredentialOnReauthDescription[] =
1382 "How the password manager handles autofill for the sync credential only "
1383 "for transactional reauth pages.";
1384
Mohsen Izadi93faac12017-07-29 04:45:151385const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1386const char kPullToRefreshDescription[] =
1387 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011388const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151389
Troy Hildebrandt7228ad12018-02-23 21:18:241390const char kQueryInOmniboxName[] = "Query in Omnibox";
1391const char kQueryInOmniboxDescription[] =
1392 "Only display query terms in the omnibox when viewing a search results "
1393 "page.";
1394
Brett Wilsonecb80982017-07-12 20:34:511395const char kQuicName[] = "Experimental QUIC protocol";
1396const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1397
Emily Starke8878d52018-05-11 21:27:261398const char kRecurrentInterstitialName[] =
1399 "Show a message when the same SSL error recurs";
1400const char kRecurrentInterstitialDescription[] =
1401 "Enable a special message on the SSL certificate error page when the same "
1402 "SSL error occurs repeatedly.";
1403
Brett Wilsonecb80982017-07-12 20:34:511404const char kReducedReferrerGranularityName[] =
1405 "Reduce default 'referer' header granularity.";
1406const char kReducedReferrerGranularityDescription[] =
1407 "If a page hasn't set an explicit referrer policy, setting this flag will "
1408 "reduce the amount of information in the 'referer' header for cross-origin "
1409 "requests.";
1410
Claudio Magnie0a80bb2018-01-31 02:52:581411extern const char kRegionalLocalesAsDisplayUIName[] =
1412 "Allow regional locales as display UI";
1413extern const char kRegionalLocalesAsDisplayUIDescription[] =
1414 "This flag allows regional locales to be selected as display UI by the "
1415 "user in Language Settings. The actual locale of the system is derived "
1416 "from the user selection based on some simple fallback logic.";
1417
Christian Dullweber1af31e62018-02-22 11:49:481418const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141419 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481420const char kRemoveNavigationHistoryDescription[] =
1421 "Remove a navigation entry when the corresponding history entry has been "
1422 "deleted.";
1423
Mihai Sardarescu6d0f5b72017-10-30 11:24:381424const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1425 "Remove usage of the deprecated GAIA sign-in endpoint";
1426const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1427 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1428 "This flags controls wheter it should no longer be used during a sign-in "
1429 " flow.";
1430
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351431const char kRendererSideResourceSchedulerName[] =
1432 "Renderer side ResourceScheduler";
1433const char kRendererSideResourceSchedulerDescription[] =
1434 "Migrate some ResourceScheduler functionalities to renderer";
1435
Brett Wilsonecb80982017-07-12 20:34:511436const char kRequestTabletSiteName[] =
1437 "Request tablet site option in the settings menu";
1438const char kRequestTabletSiteDescription[] =
1439 "Allows the user to request tablet site. Web content is often optimized "
1440 "for tablet devices. When this option is selected the user agent string is "
1441 "changed to indicate a tablet device. Web content optimized for tablets is "
1442 "received there after for the current tab.";
1443
1444const char kResetAppListInstallStateName[] =
1445 "Reset the App Launcher install state on every restart.";
1446const char kResetAppListInstallStateDescription[] =
1447 "Reset the App Launcher install state on every restart. While this flag is "
1448 "set, Chrome will forget the launcher has been installed each time it "
1449 "starts. This is used for testing the App Launcher install flow.";
1450
Kinuko Yasuda33955082018-06-19 10:14:591451const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511452const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591453 "Uses the resource load scheduler in blink to throttle resource load "
1454 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511455
Brett Wilsonecb80982017-07-12 20:34:511456const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1457const char kSafeSearchUrlReportingDescription[] =
1458 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1459
Alexei Filippov98772752018-01-27 08:26:521460const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1461const char kSamplingHeapProfilerDescription[] =
1462 "Enables native memory sampling profiler with specified rate in KiB. "
1463 "If sampling rate is not provided the default value of 128 KiB is used.";
1464
Brett Wilsonecb80982017-07-12 20:34:511465const char kSaveasMenuLabelExperimentName[] =
1466 "Switch 'Save as' menu labels to 'Download'";
1467const char kSaveasMenuLabelExperimentDescription[] =
1468 "Enables an experiment to switch menu labels that use 'Save as...' to "
1469 "'Download'.";
1470
1471const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1472const char kSavePageAsMhtmlDescription[] =
1473 "Enables saving pages as MHTML: a single text file containing HTML and all "
1474 "sub-resources.";
1475
Nate Chapin9638e7102017-09-20 22:11:011476const char kSavePreviousDocumentResourcesName[] =
1477 "Save Previous Document Resources";
1478const char kSavePreviousDocumentResourcesDescription[] =
1479 "Saves an old document's cached resources until the specified point in the "
1480 "next document's lifecycle.";
1481const char kSavePreviousDocumentResourcesNever[] =
1482 "Don't explicitly save resources";
1483const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1484 "Save resources until onDOMContentLoaded completes";
1485const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1486 "Save resources until onload completes";
1487
Brett Wilsonecb80982017-07-12 20:34:511488const char kScrollPredictionName[] = "Scroll prediction";
1489const char kScrollPredictionDescription[] =
1490 "Predicts the finger's future position during scrolls allowing time to "
1491 "render the frame before the finger is there.";
1492
1493const char kSecondaryUiMd[] =
1494 "Material Design in the rest of the browser's native UI";
1495const char kSecondaryUiMdDescription[] =
1496 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1497 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341498 "browser dialogs. If --top-chrome-md is effectively Material Design "
1499 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511500
1501const char kServiceWorkerNavigationPreloadName[] =
1502 "Service worker navigation preload.";
1503const char kServiceWorkerNavigationPreloadDescription[] =
1504 "Enable web pages to use the experimental service worker navigation "
1505 "preload API.";
1506
gogeraldd5061b592017-09-06 23:39:551507const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1508const char kServiceWorkerPaymentAppsDescription[] =
1509 "Enable Service Worker applications to integrate as payment apps";
1510
Makoto Shimazu22078cc2018-02-21 03:01:441511extern const char kServiceWorkerServicificationName[] =
1512 "Servicified service workers";
1513extern const char kServiceWorkerServicificationDescription[] =
1514 "Enable the servicified service workers. A servicified service worker can "
1515 "have direct connection from its clients, so that fetch events can be "
1516 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171517
Tsuyoshi Horobcb1c642017-11-24 16:32:141518const char kServiceWorkerScriptFullCodeCacheName[] =
1519 "Service worker script full code cache.";
1520const char kServiceWorkerScriptFullCodeCacheDescription[] =
1521 "Generate V8 full code cache of Service Worker scripts while installing.";
1522
Brett Wilsonecb80982017-07-12 20:34:511523const char kSettingsWindowName[] = "Show settings in a window";
1524const char kSettingsWindowDescription[] =
1525 "Settings will be shown in a dedicated window instead of as a browser tab.";
1526
Manu Cornetd7ef7c52018-05-01 22:08:231527const char kShelfHoverPreviewsName[] =
1528 "Show previews of running apps when hovering over the shelf.";
1529const char kShelfHoverPreviewsDescription[] =
1530 "Shows previews of the open windows for a given running app when hovering "
1531 "over the shelf.";
1532
Trent Apted750ba7022017-10-23 13:36:251533const char kShowAllDialogsWithViewsToolkitName[] =
1534 "Show all dialogs with Views toolkit";
1535const char kShowAllDialogsWithViewsToolkitDescription[] =
1536 "All browser dialogs will be shown using the Views toolkit rather than "
1537 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1538
Naoki Fukino008a0022018-05-23 18:33:001539const char kShowAndroidFilesInFilesAppName[] =
1540 "Show Android files in Files app";
1541const char kShowAndroidFilesInFilesAppDescription[] =
1542 "Show Android files in Files app if Android is enabled on the device.";
1543
Luciano Pachecof1beaa82018-05-30 04:48:511544const char kFilesAppNewStyleNavigationName[] =
1545 "Use new-style navigation in the Files app";
1546const char kFilesAppNewStyleNavigationDescription[] =
1547 "Enables the new-style navigation in the Files app, which displays a "
1548 R"("My Files" root for Downloads, Linux and Play files)";
1549
Brett Wilsonecb80982017-07-12 20:34:511550const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1551const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381552 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1553 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511554
1555const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1556const char kShowAutofillTypePredictionsDescription[] =
1557 "Annotates web forms with Autofill field type predictions as placeholder "
1558 "text.";
1559
1560const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1561const char kShowOverdrawFeedbackDescription[] =
1562 "Visualize overdraw by color-coding elements based on if they have other "
1563 "elements drawn underneath.";
1564
Carlos IL89128732018-04-03 17:00:251565const char kSupervisedUserCommittedInterstitialsName[] =
1566 "Enable Supervised User Committed Interstitials";
1567const char kSupervisedUserCommittedInterstitialsDescription[] =
1568 "Use committed error pages instead of transient navigation entries for "
1569 "supervised user interstitials";
1570
yiyixbdfa9a0b2017-10-23 22:21:471571const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1572const char kEnableDrawOcclusionDescription[] =
1573 "Enable the system to use draw occlusion to skip draw quads when they are "
1574 "not shown on the screen.";
1575
Brett Wilsonecb80982017-07-12 20:34:511576const char kShowSavedCopyName[] = "Show Saved Copy Button";
1577const char kShowSavedCopyDescription[] =
1578 "When a page fails to load, if a stale copy of the page exists in the "
1579 "browser cache, a button will be presented to allow the user to load that "
1580 "stale copy. The primary enabling choice puts the button in the most "
1581 "salient position on the error page; the secondary enabling choice puts it "
1582 "secondary to the reload button.";
1583const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1584const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1585const char kDisableShowSavedCopy[] = "Disable";
1586
Brett Wilsonecb80982017-07-12 20:34:511587const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1588const char kSilentDebuggerExtensionApiDescription[] =
1589 "Do not show the infobar when an extension attaches to a page via "
1590 "chrome.debugger API. This is required to debug extension background "
1591 "pages.";
1592
Tsuyoshi Horo53895ba92018-03-14 04:06:481593const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1594const char kSignedHTTPExchangeDescription[] =
1595 "Enables Origin-Signed HTTP Exchanges support which is still in "
1596 "development. Warning: Enabling this may pose a security risk.";
1597
Brett Wilsonecb80982017-07-12 20:34:511598const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1599const char kSimpleCacheBackendDescription[] =
1600 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1601 "disk space allocation.";
1602
Christopher Thompson75ff845d2018-02-01 20:12:461603const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1604const char kSimplifyHttpsIndicatorDescription[] =
1605 "Change the UI treatment for HTTPS pages.";
1606
Brett Wilsonecb80982017-07-12 20:34:511607const char kSingleClickAutofillName[] = "Single-click autofill";
1608const char kSingleClickAutofillDescription[] =
1609 "Make autofill suggestions on initial mouse click on a form element.";
1610
Nick Carter855bc492018-03-10 00:44:571611const char kStrictSiteIsolationName[] = "Strict site isolation";
1612const char kStrictSiteIsolationDescription[] =
1613 "Security mode that enables site isolation for all sites. When enabled, "
1614 "each renderer process will contain pages from at most one site, using "
1615 "out-of-process iframes when needed. When enabled, this flag forces the "
1616 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1617 "isolation mode will be determined by enterprise policy or field trial.";
1618
1619const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1620const char kSiteIsolationTrialOptOutDescription[] =
1621 "Opts out of field trials that enable site isolation modes "
1622 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1623 "may be due to out-of-process iframes. Opt-out has no effect if site "
1624 "isolation is force-enabled via #enable-site-per-process or enterprise "
1625 "policy. Caution: this disables important mitigations for the Spectre CPU "
1626 "vulnerability affecting most computers.";
1627extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1628extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1629 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511630
Pattideade7972018-04-27 02:59:401631const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511632const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401633 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511634
Brett Wilsonecb80982017-07-12 20:34:511635const char kSmoothScrollingName[] = "Smooth Scrolling";
1636const char kSmoothScrollingDescription[] =
1637 "Animate smoothly when scrolling page content.";
1638
1639const char kSoftwareRasterizerName[] = "3D software rasterizer";
1640const char kSoftwareRasterizerDescription[] =
1641 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1642
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201643const char kSoleIntegrationName[] = "Sole integration";
1644const char kSoleIntegrationDescription[] =
1645 "Enable Sole integration for browser customization. You must restart "
1646 "the browser twice for changes to take effect.";
1647
Tommy Steimel77704be2017-08-28 22:14:401648const char kSoundContentSettingName[] = "Sound content setting";
1649const char kSoundContentSettingDescription[] =
1650 "Enable site-wide muting in content settings and tab strip context menu.";
1651
Alexandr Ilinf0500ed32017-09-27 21:12:361652const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1653const char kSpeculativePreconnectDescription[] =
1654 "Enable the new implementation of preconnect and DNS preresolve. "
1655 "\"Learning\" means that only database construction is enabled, "
1656 "\"Preconnect\" enables both learning and preconnect and disables the "
1657 "existing implementation. \"No preconnect\" disables both implementations.";
1658
Brett Wilsonecb80982017-07-12 20:34:511659const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341660const char kSpeculativePrefetchDescription[] =
1661 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1662 R"*(load times, based on a local database (see chrome://predictors). )*"
1663 R"*("Learning" means that only the database construction is enabled, )*"
1664 R"*("Prefetching" that learning and prefetching are enabled.)*";
1665
Justin Donnelly4e448cb2017-07-07 21:32:131666const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1667 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131668const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1669 "If enabled, when the user enters text in the omnibox that looks like a "
1670 "a query, any service worker associated with the search engine the query "
1671 "will be sent to is started early.";
1672
Brett Wilsonecb80982017-07-12 20:34:511673const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1674const char kSpellingFeedbackFieldTrialDescription[] =
1675 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401676
Shubhie Panickerfaf082ed2018-01-03 04:49:151677const char kStopInBackgroundName[] = "Stop in background";
1678const char kStopInBackgroundDescription[] =
1679 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281680 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151681
1682const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1683const char kStopLoadingInBackgroundDescription[] =
1684 "Stop loading tasks and loading "
1685 "resources, in the background, after certain grace time.";
1686
Shubhie Panicker56c99a22018-03-21 00:22:281687const char kStopNonTimersInBackgroundName[] =
1688 "Stop non-timer task queues background";
1689const char kStopNonTimersInBackgroundDescription[] =
1690 "Stop non-timer task queues, in the background, "
1691 "after a grace period.";
1692
Brett Wilsonecb80982017-07-12 20:34:511693const char kSuggestionsWithSubStringMatchName[] =
1694 "Substring matching for Autofill suggestions";
1695const char kSuggestionsWithSubStringMatchDescription[] =
1696 "Match Autofill suggestions based on substrings (token prefixes) rather "
1697 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341698
Brett Wilsonecb80982017-07-12 20:34:511699const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1700const char kSyncSandboxDescription[] =
1701 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341702
Joe Downing8cbbc192018-05-14 17:37:071703const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1704const char kSystemKeyboardLockDescription[] =
1705 "Enables websites to use the keyboard.lock() API to intercept system "
1706 "keyboard shortcuts and have the events routed directly to the website "
1707 "when in fullscreen mode.";
1708
Brett Wilsonecb80982017-07-12 20:34:511709const char kTabAudioMutingName[] = "Tab audio muting UI control";
1710const char kTabAudioMutingDescription[] =
1711 "When enabled, the audio indicators in the tab strip double as tab audio "
1712 "mute controls. This also adds commands in the tab context menu for "
1713 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341714
Christian Dullweberd0d96f02017-09-13 09:22:511715const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1716const char kTabsInCbdDescription[] =
1717 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1718
Becky Zhou99c22802017-10-19 05:09:271719const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1720const char kTabModalJsDialogDescription[] =
1721 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1722 " tab.";
1723
Brett Wilsonecb80982017-07-12 20:34:511724const char kTcpFastOpenName[] = "TCP Fast Open";
1725const char kTcpFastOpenDescription[] =
1726 "Enable the option to send extra authentication information in the initial "
1727 "SYN packet for a previously connected client, allowing faster data send "
1728 "start.";
vabr0215a8e2017-03-28 12:47:341729
Daniele Castagna0fead93e2018-01-10 20:40:291730const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1731const char kTintGlCompositedContentDescription[] =
1732 "Tint contents composited using GL with a shade of red to help debug and "
1733 "study overlay support.";
1734
Brett Wilsonecb80982017-07-12 20:34:511735const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1736const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581737 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401738 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431739 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341740 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541741 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511742const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531743const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461744const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581745const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401746const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431747const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341748
Brett Wilsonecb80982017-07-12 20:34:511749const char kThreadedScrollingName[] = "Threaded scrolling";
1750const char kThreadedScrollingDescription[] =
1751 "Threaded handling of scroll-related input events. Disabling this will "
1752 "force all such scroll events to be handled on the main thread. Note that "
1753 "this can dramatically hurt scrolling performance of most websites and is "
1754 "intended for testing purposes only.";
1755
Steven Valdez4584b2482017-07-14 01:11:571756const char kTLS13VariantName[] = "TLS 1.3";
1757const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1758const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111759const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041760const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381761const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571762
Brett Wilsonecb80982017-07-12 20:34:511763const char kTopDocumentIsolationName[] = "Top document isolation";
1764const char kTopDocumentIsolationDescription[] =
1765 "Highly experimental performance mode where cross-site iframes are kept in "
1766 "a separate process from the top document. In this mode, iframes from "
1767 "different third-party sites will be allowed to share a process.";
1768
Dominick Ng8896b1cd2017-10-17 23:24:361769const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1770const char kTopSitesFromSiteEngagementDescription[] =
1771 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1772 "engagement.";
1773
Brett Wilsonecb80982017-07-12 20:34:511774const char kTouchAdjustmentName[] = "Touch adjustment";
1775const char kTouchAdjustmentDescription[] =
1776 "Refine the position of a touch gesture in order to compensate for touches "
1777 "having poor resolution compared to a mouse.";
1778
Alex Newcomerb3d3c972018-05-03 14:59:401779const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1780const char kTouchableAppContextMenuDescription[] =
1781 "Enable the touchable app context menu, which enlarges app context menus "
1782 "in the Launcher and Shelf to make room for new features.";
1783
Brett Wilsonecb80982017-07-12 20:34:511784const char kTouchDragDropName[] = "Touch initiated drag and drop";
1785const char kTouchDragDropDescription[] =
1786 "Touch drag and drop can be initiated through long press on a draggable "
1787 "element.";
1788
1789const char kTouchEventsName[] = "Touch Events API";
1790const char kTouchEventsDescription[] =
1791 "Force Touch Events API feature detection to always be enabled or "
1792 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291793 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511794
1795const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1796const char kTouchSelectionStrategyDescription[] =
1797 "Controls how text selection granularity changes when touch text selection "
1798 "handles are dragged. Non-default behavior is experimental.";
1799const char kTouchSelectionStrategyCharacter[] = "Character";
1800const char kTouchSelectionStrategyDirection[] = "Direction";
1801
1802const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1803const char kTraceUploadUrlDescription[] =
1804 "This is to be used in conjunction with the enable-navigation-tracing "
1805 "flag. Please select the label that best describes the recorded traces. "
1806 "This will choose the destination the traces are uploaded to. If you are "
1807 "not sure, select other. If left empty, no traces will be uploaded.";
1808const char kTraceUploadUrlChoiceOther[] = "Other";
1809const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1810const char kTraceUploadUrlChoiceQa[] = "QA";
1811const char kTraceUploadUrlChoiceTesting[] = "Testing";
1812
Anthony Vallee-Dubois265c5692018-06-01 15:57:141813const char kTranslateForceTriggerOnEnglishName[] =
1814 "Select which language model to use to trigger translate on English "
1815 "content";
1816const char kTranslateForceTriggerOnEnglishDescription[] =
1817 "Force the Translate Triggering on English pages experiment to be enabled "
1818 "with the selected language model active.";
1819
Philippe Hamel7fdaa452017-09-29 17:22:491820const char kTranslateRankerEnforcementName[] =
1821 "Enforce TranslateRanker decisions";
1822const char kTranslateRankerEnforcementDescription[] =
1823 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1824 "or not Translate UI should be triggered in a given context.";
1825
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161826const char kTranslateUIName[] = "Enable Translate";
1827const char kTranslateUIDescription[] =
1828 "Enable the Translate popup when visiting webpages in other languages.";
1829
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051830const char kTreatInsecureOriginAsSecureName[] =
1831 "Insecure origins treated as secure";
1832const char kTreatInsecureOriginAsSecureDescription[] =
1833 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1834 "supplied as a comma-separated list. For the definition of secure "
1835 "contexts, "
1836 "see https://w3c.github.io/webappsec-secure-contexts/";
1837
Brett Wilsonecb80982017-07-12 20:34:511838const char kTrySupportedChannelLayoutsName[] =
1839 "Causes audio output streams to check if channel layouts other than the "
1840 "default hardware layout are available.";
1841const char kTrySupportedChannelLayoutsDescription[] =
1842 "Causes audio output streams to check if channel layouts other than the "
1843 "default hardware layout are available. Turning this on will allow the OS "
1844 "to do stereo to surround expansion if supported. May expose third party "
1845 "driver bugs, use with caution.";
1846
David Roger6762a092018-01-31 15:55:071847const char kUnifiedConsentName[] = "Unified Consent";
1848const char kUnifiedConsentDescription[] =
1849 "Enables a unified management of user consent for privacy-related "
1850 "features. This includes new confirmation screens and improved settings "
1851 "pages.";
1852
Brett Wilsonecb80982017-07-12 20:34:511853const char kUiPartialSwapName[] = "Partial swap";
1854const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1855
Chris Pickel3a227ae62017-08-24 10:47:261856const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1857const char kUseDdljsonApiDescription[] =
1858 "Enables the new ddljson API to fetch Doodles for the NTP.";
1859
Becca Hughes59c05b42017-11-03 13:11:581860const char kUseModernMediaControlsName[] = "New Media Controls";
1861const char kUseModernMediaControlsDescription[] =
1862 "Enables the new style native media controls.";
1863
Wei Li790e7a8572018-03-23 01:31:551864const char kUsePdfCompositorServiceName[] =
1865 "Use PDF compositor service for printing";
1866const char kUsePdfCompositorServiceDescription[] =
1867 "When enabled, use PDF compositor service to composite and generate PDF "
1868 "files for printing. When site isolation is enabled, disabling this will "
1869 "not stop using PDF compositor service since the service is required for "
1870 "printing out-of-process iframes correctly.";
1871
Mustaq Ahmedc646c0a2017-10-20 20:08:301872const char kUserActivationV2Name[] = "User Activation v2";
1873const char kUserActivationV2Description[] =
1874 "Enable simple user activation for APIs that are otherwise controlled by "
1875 "user gesture tokens.";
1876
Brett Wilsonecb80982017-07-12 20:34:511877const char kUserConsentForExtensionScriptsName[] =
1878 "User consent for extension scripts";
1879const char kUserConsentForExtensionScriptsDescription[] =
1880 "Require user consent for an extension running a script on the page, if "
1881 "the extension requested permission to run on all urls.";
1882
1883const char kUseSuggestionsEvenIfFewFeatureName[] =
1884 "Disable minimum for server-side tile suggestions on NTP.";
1885const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1886 "Request server-side suggestions even if there are only very few of them "
1887 "and use them for tiles on the New Tab Page.";
1888
1889const char kV8CacheOptionsName[] = "V8 caching mode.";
1890const char kV8CacheOptionsDescription[] =
1891 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511892const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1893
Hitoshi Yoshida3e5db562017-09-11 02:31:081894const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1895const char kV8ContextSnapshotDescription[] =
1896 "Sets to use a snapshot to create V8 contexts in frame creation.";
1897
Michael Hablich896d52662017-10-23 15:59:571898const char kV8VmFutureName[] = "Future V8 VM features";
1899const char kV8VmFutureDescription[] =
1900 "This enables upcoming and experimental V8 VM features. "
1901 "This flag does not enable experimental JavaScript features.";
1902
Hannes Payer1130d5672018-06-05 07:37:311903const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1904const char kV8OrinocoDescription[] =
1905 "This enables the V8 Orinoco garbage collection features.";
1906
Brett Wilsonecb80982017-07-12 20:34:511907const char kVideoFullscreenOrientationLockName[] =
1908 "Lock screen orientation when playing a video fullscreen.";
1909const char kVideoFullscreenOrientationLockDescription[] =
1910 "Lock the screen orientation of the device to match video orientation when "
1911 "a video goes fullscreen. Only on phones.";
1912
1913const char kVideoRotateToFullscreenName[] =
1914 "Rotate-to-fullscreen gesture for videos.";
1915const char kVideoRotateToFullscreenDescription[] =
1916 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1917 "the video. Only on phones.";
1918
Elly Fong-Jonesf4c79502018-03-23 19:21:531919const char kViewsBrowserWindowsName[] =
1920 "Use Views browser windows instead of Cocoa.";
1921const char kViewsBrowserWindowsDescription[] =
1922 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1923
Brett Wilsonecb80982017-07-12 20:34:511924const char kWalletServiceUseSandboxName[] =
1925 "Use Google Payments sandbox servers";
1926const char kWalletServiceUseSandboxDescription[] =
1927 "For developers: use the sandbox service for Google Payments API calls.";
1928
Brett Wilsonecb80982017-07-12 20:34:511929const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1930const char kWebglDraftExtensionsDescription[] =
1931 "Enabling this option allows web applications to access the WebGL "
1932 "Extensions that are still in draft status.";
1933
1934const char kWebMidiName[] = "Web MIDI API";
1935const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1936
1937const char kWebPaymentsName[] = "Web Payments";
1938const char kWebPaymentsDescription[] =
1939 "Enable Web Payments API integration, a JavaScript API for merchants.";
1940
Mathieu Perreault51339b82017-07-20 17:06:051941const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1942const char kWebPaymentsModifiersDescription[] =
1943 "If the website provides modifiers in the payment request, show the custom "
1944 "total for each payment instrument, update the shopping cart when "
1945 "instruments are switched, and send modified payment method specific data "
1946 "to the payment app.";
1947
Brett Wilsonecb80982017-07-12 20:34:511948const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1949const char kWebrtcEchoCanceller3Description[] =
1950 "Experimental WebRTC echo canceller (AEC3).";
1951
1952const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1953const char kWebrtcHwDecodingDescription[] =
1954 "Support in WebRTC for decoding video streams using platform hardware.";
1955
1956const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1957const char kWebrtcHwEncodingDescription[] =
1958 "Support in WebRTC for encoding video streams using platform hardware.";
1959
1960const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1961const char kWebrtcHwH264EncodingDescription[] =
1962 "Support in WebRTC for encoding h264 video streams using platform "
1963 "hardware.";
1964
1965const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1966const char kWebrtcHwVP8EncodingDescription[] =
1967 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1968
Niels Möller090866a2018-02-13 10:55:031969const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1970 "WebRTC new encode cpu load estimator";
1971const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1972 "Enable new estimator for the encoder cpu load, for evaluation and "
1973 "testing. Intended to improve accuracy when screen casting.";
1974
Elad Alon85e0d0be2018-06-26 10:38:371975const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1976const char kWebRtcRemoteEventLogDescription[] =
1977 "Allow collecting WebRTC event logs and uploading them to Crash. "
1978 "Please note that, even if enabled, this will still require "
1979 "a policy to be set, for it to have an effect.";
1980
Brett Wilsonecb80982017-07-12 20:34:511981const char kWebrtcSrtpAesGcmName[] =
1982 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1983const char kWebrtcSrtpAesGcmDescription[] =
1984 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1985
Joachim Bauch4a41d7512017-08-23 14:24:231986const char kWebrtcSrtpEncryptedHeadersName[] =
1987 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1988const char kWebrtcSrtpEncryptedHeadersDescription[] =
1989 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1990 "for SRTP.";
1991
Brett Wilsonecb80982017-07-12 20:34:511992const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1993const char kWebrtcStunOriginDescription[] =
1994 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1995 "header.";
1996
Adam Riceed63fc02018-06-20 05:57:461997const char kWebSocketHandshakeReuseConnectionName[] =
1998 "Enable WebSocket connection reuse for authentication";
1999const char kWebSocketHandshakeReuseConnectionDescription[] =
2000 "Permits the WebSocket handshake to keep the connection open after an "
2001 "authentication failure. The connection may be used for further requests "
2002 "to send credentials. This is sometimes needed for Windows authentication.";
2003
Brett Wilsonecb80982017-07-12 20:34:512004const char kWebvrName[] = "WebVR";
2005const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012006 "Enables access to experimental Virtual Reality functionality via the "
2007 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2008 "Device API. Warning: Enabling this will also allow WebVR content on "
2009 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222010 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512011
Brandon Jonese9d9b2b2017-12-11 22:20:112012const char kWebXrName[] = "WebXR Device API";
2013const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012014 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2015 "and Augmented Reality (AR) devices.";
2016
2017const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2018const char kWebXrGamepadSupportDescription[] =
2019 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222020 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2021 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432022
2023const char kWebXrHitTestName[] = "WebXR Hit Test";
2024const char kWebXrHitTestDescription[] =
2025 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112026
Anna Maria57ecf7592018-01-12 03:10:402027const char kWebXrOrientationSensorDeviceName[] =
2028 "WebXR orientation sensor device";
2029const char kWebXrOrientationSensorDeviceDescription[] =
2030 "When no VR platform device is available, expose a non-presenting device "
2031 "based on the device's orientation sensors, if available.";
2032
Brett Wilsonecb80982017-07-12 20:34:512033const char kWifiCredentialSyncName[] = "WiFi credential sync";
2034const char kWifiCredentialSyncDescription[] =
2035 "Enables synchronizing WiFi network settings across devices. When enabled, "
2036 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2037 "credentials are synchronized subject to user preferences. (See also, "
2038 "chrome://settings/syncSetup.)";
2039
2040const char kZeroCopyName[] = "Zero-copy rasterizer";
2041const char kZeroCopyDescription[] =
2042 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342043
Brett Wilsonff596952017-07-14 01:06:552044// Android ---------------------------------------------------------------------
2045
2046#if defined(OS_ANDROID)
2047
2048const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2049const char kAiaFetchingDescription[] =
2050 "Enable intermediate certificate fetching when a server does not provide "
2051 "sufficient certificates to build a chain to a trusted root.";
2052
2053const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2054const char kAccessibilityTabSwitcherDescription[] =
2055 "Enable the accessibility tab switcher for Android.";
2056
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252057const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2058const char kAllowReaderForAccessibilityDescription[] =
2059 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2060
Brett Wilsonff596952017-07-14 01:06:552061const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2062const char kAndroidAutofillAccessibilityDescription[] =
2063 "Enable accessibility for autofill popup.";
2064
2065const char kAndroidPaymentAppsName[] = "Android payment apps";
2066const char kAndroidPaymentAppsDescription[] =
2067 "Enable third party Android apps to integrate as payment apps";
2068
Miriam Gershenson8cf1397222018-01-23 22:48:292069const char kAsyncDnsName[] = "Async DNS resolver";
2070const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2071
Brett Wilsonff596952017-07-14 01:06:552072const char kAutofillAccessoryViewName[] =
2073 "Autofill suggestions as keyboard accessory view";
2074const char kAutofillAccessoryViewDescription[] =
2075 "Shows Autofill suggestions on top of the keyboard rather than in a "
2076 "dropdown.";
2077
2078const char kBackgroundLoaderForDownloadsName[] =
2079 "Enables background downloading of pages.";
2080const char kBackgroundLoaderForDownloadsDescription[] =
2081 "Enables downloading pages in the background in case page is not yet "
2082 "loaded in current tab.";
2083
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002084const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2085const char kCCTModuleDescription[] =
2086 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2087
Matthew Jones6c1f5e22018-02-06 18:19:532088const char kChromeDuplexName[] = "Chrome Duplex";
2089const char kChromeDuplexDescription[] =
2090 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052091
Brett Wilsonff596952017-07-14 01:06:552092const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2093const char kChromeHomeSwipeLogicDescription[] =
2094 "Various swipe logic options for Chrome Home for sheet expansion.";
2095const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152096const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552097
Theresa8e44a7132018-06-15 17:40:592098const char kChromeModernAlternateCardLayoutName[] =
2099 "Chrome Modern Alternate Card Layout";
2100const char kChromeModernAlternateCardLayoutDescription[] =
2101 "Enable the alternate card layout for Chrome Modern Design.";
2102
Matthew Jones5b7f1d62018-01-23 00:37:252103const char kChromeModernDesignName[] = "Chrome Modern Design";
2104const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452105 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2106 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252107
Donn Denman3e78c8d2018-06-28 22:51:422108const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2109const char kChromeModernFullRollDescription[] =
2110 "Enable modern full-roll animation for Chrome.";
2111
Megan Jablonskic61eb1b82017-10-02 18:03:062112const char kChromeMemexName[] = "Chrome Memex";
2113const char kChromeMemexDescription[] =
2114 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2115 "Googlers.";
2116
Sarath Singapati83aef1c2017-11-16 15:54:522117const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2118const char kClearOldBrowsingDataDescription[] =
2119 "Enables clearing of browsing data which is older than a given time "
2120 "period.";
2121
Brett Wilsonff596952017-07-14 01:06:552122const char kContentSuggestionsCategoryOrderName[] =
2123 "Default content suggestions category order (e.g. on NTP)";
2124const char kContentSuggestionsCategoryOrderDescription[] =
2125 "Set default order of content suggestion categories (e.g. on the NTP).";
2126
2127const char kContentSuggestionsCategoryRankerName[] =
2128 "Content suggestions category ranker (e.g. on NTP)";
2129const char kContentSuggestionsCategoryRankerDescription[] =
2130 "Set category ranker to order categories of content suggestions (e.g. on "
2131 "the NTP).";
2132
Vitalii Iarkof52ff802017-09-14 12:34:242133const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2134const char kContentSuggestionsDebugLogDescription[] =
2135 "Enable content suggestions debug log accessible through "
2136 "snippets-internals.";
2137
Donn Denman8e58ead2017-11-04 01:44:012138const char kContextualSearchMlTapSuppressionName[] =
2139 "Contextual Search ML tap suppression";
2140const char kContextualSearchMlTapSuppressionDescription[] =
2141 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022142 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2143 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552144
2145const char kContextualSearchName[] = "Contextual Search";
2146const char kContextualSearchDescription[] =
2147 "Whether or not Contextual Search is enabled.";
2148
Donn Denman59729812018-01-09 01:27:022149const char kContextualSearchRankerQueryName[] =
2150 "Contextual Search Ranker prediction";
2151const char kContextualSearchRankerQueryDescription[] =
2152 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2153
2154const char kContextualSearchSecondTapName[] =
2155 "Contextual Search second tap triggering";
2156const char kContextualSearchSecondTapDescription[] =
2157 "Enables triggering on a second tap gesture even when Ranker would "
2158 "normally suppress that tap.";
2159
Cathy Li2fb32bf82018-06-06 18:55:402160const char kExploreSitesName[] = "Explore websites";
2161const char kExploreSitesDescription[] =
2162 "Enables portal from new tab page to explore websites.";
2163
Dmitry Skiba9c3efa72017-07-20 22:01:142164const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2165const char kDontPrefetchLibrariesDescription[] =
2166 "Don't prefetch libraries after loading.";
2167
Joy Ming5fd29ca62017-10-02 22:51:222168const char kDownloadsForegroundName[] = "Enable downloads foreground";
2169const char kDownloadsForegroundDescription[] =
2170 "Enable downloads as a foreground service for all versions of Android.";
2171
Joy Ming189b0cc2017-12-08 19:42:432172const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2173const char kDownloadsLocationChangeDescription[] =
2174 "Enable changing default downloads storage location on Android.";
2175
Shakti Sahu32b2ee102018-05-17 00:04:462176const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2177const char kDownloadProgressInfoBarDescription[] =
2178 "Enables an infobar notifying users about status of current downloads.";
2179
Brett Wilsonff596952017-07-14 01:06:552180const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2181const char kEnableAndroidPayIntegrationV1Description[] =
2182 "Enable integration with Android Pay using the first version of the API";
2183
2184const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2185const char kEnableAndroidPayIntegrationV2Description[] =
2186 "Enable integration with Android Pay using the second version of the API";
2187
Vitalii Iarkof4ed32d2017-09-26 13:15:532188const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552189const char kEnableAndroidSpellcheckerDescription[] =
2190 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552191
Lei Tianbd5a3bf2018-02-28 19:01:162192const char kEnableCommandLineOnNonRootedName[] =
2193 "Enable command line on non-rooted devices";
2194const char kEnableCommandLineOnNoRootedDescription[] =
2195 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2196
Vitalii Iarkof4ed32d2017-09-26 13:15:532197const char kEnableContentSuggestionsNewFaviconServerName[] =
2198 "Get favicons for content suggestions from a new server.";
2199const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2200 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2201 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552202
2203const char kEnableContentSuggestionsSettingsName[] =
2204 "Show content suggestions settings.";
2205const char kEnableContentSuggestionsSettingsDescription[] =
2206 "If enabled, the content suggestions settings will be available from the "
2207 "main settings menu.";
2208
Vitalii Iarkof4ed32d2017-09-26 13:15:532209const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2210 "Use content suggestions thumbnail dominant color.";
2211const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2212 "Use content suggestions thumbnail dominant color as a placeholder before "
2213 "the real thumbnail is fetched (requires Chrome Home).";
2214
Brett Wilsonff596952017-07-14 01:06:552215const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2216const char kEnableCustomContextMenuDescription[] =
2217 "Enables a new context menu when a link, image, or video is pressed within "
2218 "Chrome.";
2219
2220const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2221const char kEnableCustomFeedbackUiDescription[] =
2222 "Enables a custom feedback UI when submitting feedback through Google "
2223 "Feedback. Works with Google Play Services v10.2+";
2224
2225const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472226 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552227const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472228 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552229
Becca Hughes6d73bac542018-06-18 20:38:502230const char kEnableMediaControlsExpandGestureName[] =
2231 "Enable Media Controls Expand Gesture";
2232const char kEnableMediaControlsExpandGestureDescription[] =
2233 "Enables a gesture to be used on the media controls to extend the video "
2234 "into the Display Cutout area.";
2235
Brett Wilsonff596952017-07-14 01:06:552236const char kEnableOmniboxClipboardProviderName[] =
2237 "Omnibox clipboard URL suggestions";
2238const char kEnableOmniboxClipboardProviderDescription[] =
2239 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2240 "focus in the omnibox.";
2241
Becky Zhoua7f11d62018-02-01 16:02:532242const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2243 "Show article suggestions expandable header on New Tab Page";
2244const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2245 "If enabled, the article suggestions content on New Tab Page can be "
2246 "toggled shown or hidden by clicking the expandable header.";
2247
Brett Wilsonff596952017-07-14 01:06:552248const char kEnableNtpAssetDownloadSuggestionsName[] =
2249 "Show asset downloads on the New Tab page";
2250const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2251 "If enabled, the list of content suggestions on the New Tab page will "
2252 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2253 "later use.";
2254
2255const char kEnableNtpBookmarkSuggestionsName[] =
2256 "Show recently visited bookmarks on the New Tab page";
2257const char kEnableNtpBookmarkSuggestionsDescription[] =
2258 "If enabled, the list of content suggestions on the New Tab page will "
2259 "contain recently visited bookmarks.";
2260
2261const char kEnableNtpForeignSessionsSuggestionsName[] =
2262 "Show recent foreign tabs on the New Tab page";
2263const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2264 "If enabled, the list of content suggestions on the New Tab page will "
2265 "contain recent foreign tabs.";
2266
Brett Wilsonff596952017-07-14 01:06:552267const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2268 "Show offline page downloads on the New Tab page";
2269const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2270 "If enabled, the list of content suggestions on the New Tab page will "
2271 "contain pages that the user downloaded for later use.";
2272
2273const char kEnableNtpRemoteSuggestionsName[] =
2274 "Show server-side suggestions on the New Tab page";
2275const char kEnableNtpRemoteSuggestionsDescription[] =
2276 "If enabled, the list of content suggestions on the New Tab page will "
2277 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2278 "allows to override the source used to retrieve these server-side "
2279 "suggestions.";
2280
2281const char kEnableNtpSnippetsVisibilityName[] =
2282 "Make New Tab Page Snippets more visible.";
2283const char kEnableNtpSnippetsVisibilityDescription[] =
2284 "If enabled, the NTP snippets will become more discoverable with a larger "
2285 "portion of the first card above the fold.";
2286
2287const char kEnableNtpSuggestionsNotificationsName[] =
2288 "Notify about new content suggestions available at the New Tab page";
2289const char kEnableNtpSuggestionsNotificationsDescription[] =
2290 "If enabled, notifications will inform about new content suggestions on "
2291 "the New Tab page.";
2292
Brett Wilsonff596952017-07-14 01:06:552293const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2294const char kEnableOfflinePreviewsDescription[] =
2295 "Enable showing offline page previews on slow networks.";
2296
2297const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2298const char kEnableOskOverscrollDescription[] =
2299 "Enable OSK overscroll support. With this flag on, the OSK will only "
2300 "resize the visual viewport.";
2301
2302const char kEnableSpecialLocaleName[] =
2303 "Enable custom logic for special locales.";
2304const char kEnableSpecialLocaleDescription[] =
2305 "Enable custom logic for special locales. In this mode, Chrome might "
2306 "behave differently in some locales.";
2307
Brett Wilsonff596952017-07-14 01:06:552308const char kEnableWebNfcName[] = "WebNFC";
2309const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2310
gogeraldf3cbb422017-07-26 14:37:122311const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2312 "Enable Web Payments method section order V2.";
2313const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2314 "Enable this option to display payment method section above address "
2315 "section instead of below it.";
2316
Raymes Khoury582b43132017-12-12 23:54:302317const char kGrantNotificationsToDSEName[] =
2318 "Grant notifications to the Default Search Engine";
2319const char kGrantNotificationsToDSENameDescription[] =
2320 "Automatically grant the notifications permission to the Default Search "
2321 "Engine";
2322
Daniel Parke74fcf862018-03-27 18:05:452323const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512324const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452325
Theresa920e0ed2018-03-07 18:12:442326const char kInterestFeedContentSuggestionsDescription[] =
2327 "Use the interest feed to render content suggestions. Currently content "
2328 "suggestions are shown on the New Tab Page.";
2329const char kInterestFeedContentSuggestionsName[] =
2330 "Interest Feed Content Suggestions";
2331
Brett Wilsonff596952017-07-14 01:06:552332const char kKeepPrefetchedContentSuggestionsName[] =
2333 "Keep prefetched content suggestions";
2334const char kKeepPrefetchedContentSuggestionsDescription[] =
2335 "If enabled, some of prefetched content suggestions are not replaced by "
2336 "the new fetched suggestions.";
2337
Leo Zhang051b75482017-12-20 03:28:302338const char kLanguagesPreferenceName[] = "Language Settings";
2339const char kLanguagesPreferenceDescription[] =
2340 "Enable this option for Language Settings feature on Android.";
2341
Brett Wilsonff596952017-07-14 01:06:552342const char kLsdPermissionPromptName[] =
2343 "Location Settings Dialog Permission Prompt";
2344const char kLsdPermissionPromptDescription[] =
2345 "Whether to use the Google Play Services Location Settings Dialog "
2346 "permission dialog.";
2347
Amirhossein Simjour97b4154f2018-02-20 03:49:592348const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2349const char kModalPermissionDialogViewDescription[] =
2350 "Enable this option to use ModalDialogManager for permission Dialogs.";
2351
Brett Wilsonff596952017-07-14 01:06:552352const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2353const char kMediaScreenCaptureDescription[] =
2354 "Enable this option for experimental ScreenCapture feature on Android.";
2355
2356const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2357const char kModalPermissionPromptsDescription[] =
2358 "Whether to use permission dialogs in place of permission infobars.";
2359
Brett Wilsonff596952017-07-14 01:06:552360const char kNewPhotoPickerName[] = "Enable new Photopicker";
2361const char kNewPhotoPickerDescription[] =
2362 "Activates the new picker for selecting photos.";
2363
2364const char kNoCreditCardAbort[] = "No Credit Card Abort";
2365const char kNoCreditCardAbortDescription[] =
2366 "Whether or not the No Credit Card Abort is enabled.";
2367
Daniel Park990d0992018-05-18 22:12:512368const char kNtpButtonName[] = "Enable NTP Button";
2369const char kNtpButtonDescription[] =
2370 "Displays a New Tab Page button in the toolbar if enabled.";
2371
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062372const char kNtpModernLayoutName[] = "Modern NTP layout";
2373const char kNtpModernLayoutDescription[] =
2374 "Show a modern layout on the New Tab Page.";
2375
Brett Wilsonff596952017-07-14 01:06:552376const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2377const char kNtpGoogleGInOmniboxDescription[] =
2378 "Show a Google G in the omnibox on the New Tab Page.";
2379
Brett Wilsonff596952017-07-14 01:06:552380const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2381const char kOfflineBookmarksDescription[] =
2382 "Enable saving bookmarked pages for offline viewing.";
2383
Jian Li1413ebf2018-06-14 20:46:322384const char kOfflineIndicatorName[] = "Enable offline indicator";
2385const char kOfflineIndicatorDescription[] =
2386 "Enable showing offline indicator while offline.";
2387
Brett Wilsonff596952017-07-14 01:06:552388const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2389const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2390
2391const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2392const char kOfflinePagesCtV2Description[] =
2393 "V2 features include attributing pages to the app that initiated the "
2394 "custom tabs, and being able to query for pages by page attribution.";
2395
Cathy Li7311d792018-04-05 00:34:162396const char kOfflinePagesCTSuppressNotificationsName[] =
2397 "Disable download complete notification for whitelisted CCT apps.";
2398const char kOfflinePagesCTSuppressNotificationsDescription[] =
2399 "Disable download complete notification for page downloads originating "
2400 "from a CCT app whitelisted to show their own download complete "
2401 "notification.";
2402
Candice Sy74fa7a352018-03-30 23:46:492403const char kOfflinePagesDescriptiveFailStatusName[] =
2404 "Enables descriptive failed download status text.";
2405const char kOfflinePagesDescriptiveFailStatusDescription[] =
2406 "Enables failed download status text in notifications and Downloads Home "
2407 "to state the reason the request failed if the failure is actionable.";
2408
2409const char kOfflinePagesDescriptivePendingStatusName[] =
2410 "Enables descriptive pending download status text.";
2411const char kOfflinePagesDescriptivePendingStatusDescription[] =
2412 "Enables pending download status text in notifications and Downloads Home "
2413 "to state the reason the request is pending.";
2414
2415const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2416 "Enables offline pages in the downloads home to be opened in CCT.";
2417const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2418 "When enabled offline pages launched from the Downloads Home will be "
2419 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2420
Carlos Knippschild09272ecd2017-12-09 03:29:362421const char kOfflinePagesLimitlessPrefetchingName[] =
2422 "Removes resource usage limits for the prefetching of offline pages.";
2423const char kOfflinePagesLimitlessPrefetchingDescription[] =
2424 "Allows the prefetching of suggested offline pages to ignore resource "
2425 "usage limits. This allows it to completely ignore data usage limitations "
2426 "and allows downloads to happen with any kind of connection.";
2427
Brett Wilsonff596952017-07-14 01:06:552428const char kOfflinePagesLoadSignalCollectingName[] =
2429 "Enables collecting load timing data for offline page snapshots.";
2430const char kOfflinePagesLoadSignalCollectingDescription[] =
2431 "Enables loading completeness data collection while writing an offline "
2432 "page. This data is collected in the snapshotted offline page to allow "
2433 "data analysis to improve deciding when to make the offline snapshot.";
2434
2435const char kOfflinePagesPrefetchingName[] =
2436 "Enables suggested offline pages to be prefetched.";
2437const char kOfflinePagesPrefetchingDescription[] =
2438 "Enables suggested offline pages to be prefetched, so useful content is "
2439 "available while offline.";
2440
Cathy Li3d5379e2017-09-07 00:11:092441const char kOfflinePagesPrefetchingUIName[] =
2442 "Enables prefetched offline pages to be shown in UI.";
2443const char kOfflinePagesPrefetchingUIDescription[] =
2444 "Enables prefetched offline pages to raise notifications and be shown in "
2445 "download home UI.";
2446
Pete Williamson7845dff2017-09-20 11:06:192447const char kOfflinePagesResourceBasedSnapshotName[] =
2448 "Enables offline page snapshots to be based on percentage of page loaded.";
2449const char kOfflinePagesResourceBasedSnapshotDescription[] =
2450 "Enables offline page snapshots to use a resource percentage based "
2451 "approach for determining when the page is loaded as opposed to a time "
2452 "based approach";
2453
Collin Baker17f92a52017-07-19 21:41:252454const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2455const char kOfflinePagesRenovationsDescription[] =
2456 "Enables offline page renovations which correct issues with dynamic "
2457 "content that occur when offlining pages that use JavaScript.";
2458
Brett Wilsonff596952017-07-14 01:06:552459const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2460const char kOfflinePagesSharingDescription[] =
2461 "Enables the saved offline pages to be shared via other applications.";
2462
Cathy Lie0d88762018-04-12 08:03:012463const char kOfflinePagesShowAlternateDinoPageName[] =
2464 "Enable alternate dino page with more user capabilities.";
2465const char kOfflinePagesShowAlternateDinoPageDescription[] =
2466 "Enables the dino page to show more buttons and offer existing offline "
2467 "content.";
2468
Brett Wilsonff596952017-07-14 01:06:552469const char kOfflinePagesSvelteConcurrentLoadingName[] =
2470 "Enables concurrent background loading on svelte.";
2471const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2472 "Enables concurrent background loading (or downloading) of pages on "
2473 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2474 "happen when the svelte device is idle.";
2475
2476const char kOffliningRecentPagesName[] =
2477 "Enable offlining of recently visited pages";
2478const char kOffliningRecentPagesDescription[] =
2479 "Enable storing recently visited pages locally for offline use. Requires "
2480 "Offline Pages to be enabled.";
2481
Lei Zhang2eca9082017-10-17 20:42:502482const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2483const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552484 "Enable Pay with Google integration into Web Payments with API version "
2485 "'1'.";
2486
Matthew Jonesa88b95852017-11-08 23:13:502487const char kProgressBarThrottleName[] = "Android progress update throttling.";
2488const char kProgressBarThrottleDescription[] =
2489 "Limit the maximum progress update to make progress appear smoother.";
2490
Brett Wilsonff596952017-07-14 01:06:552491const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2492const char kPullToRefreshEffectDescription[] =
2493 "Page reloads triggered by vertically overscrolling content.";
2494
Piotr Swigon7c296ef2017-08-29 04:32:002495const char kPwaImprovedSplashScreenName[] =
2496 "Improved Splash Screen for standalone PWAs";
2497const char kPwaImprovedSplashScreenDescription[] =
2498 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2499 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492500const char kPwaPersistentNotificationName[] =
2501 "Persistent notification in standalone PWA";
2502const char kPwaPersistentNotificationDescription[] =
2503 "Enables a persistent Android notification for standalone PWAs";
2504
Brett Wilsonff596952017-07-14 01:06:552505const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2506const char kReaderModeHeuristicsDescription[] =
2507 "Determines what pages the Reader Mode infobar is shown on.";
2508const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2509const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2510const char kReaderModeHeuristicsAllArticles[] = "All articles";
2511const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2512const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2513
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182514const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2515const char kReaderModeInCCTDescription[] =
2516 "Open Reader Mode in Chrome Custom Tabs.";
2517
Brett Wilsonff596952017-07-14 01:06:552518const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2519const char kSetMarketUrlForTestingDescription[] =
2520 "When enabled, sets the market URL for use in testing the update menu "
2521 "item.";
2522
2523const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2524const char kSpannableInlineAutocompleteDescription[] =
2525 "A new type of inline autocomplete for the omnibox that works with "
2526 "keyboards that compose text.";
2527
Theresaeea05a12018-05-09 21:01:592528const char kSimplifiedNtpName[] = "Simplified NTP";
2529const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2530
2531const char kSiteExplorationUiName[] = "Site Exploration UI";
2532const char kSiteExplorationUiDescription[] =
2533 "Show site suggestions in the Exploration UI";
2534
Brett Wilsonff596952017-07-14 01:06:552535const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2536const char kUpdateMenuBadgeDescription[] =
2537 "When enabled, an update badge will be shown on the app menu button.";
2538
2539const char kUpdateMenuItemCustomSummaryDescription[] =
2540 "When this flag and the force show update menu item flag are enabled, a "
2541 "custom summary string will be displayed below the update menu item.";
2542const char kUpdateMenuItemCustomSummaryName[] =
2543 "Update menu item custom summary";
2544
2545const char kUpdateMenuItemName[] = "Force show update menu item";
2546const char kUpdateMenuItemDescription[] =
2547 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2548 R"*(menu.)*";
2549
Amirhossein Simjourd78bbcf2018-02-02 16:23:392550const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2551const char kVrBrowsingNativeAndroidUiDescription[] =
2552 "Enable Android UI elements in VR.";
2553
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462554const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2555const char kVrBrowsingTabsViewDescription[] =
2556 "Enable tab overview (tab switcher) in VR.";
2557
Marc Treib93af46a2017-08-23 13:30:002558const char kThirdPartyDoodlesName[] =
2559 "Enable Doodles for third-party search engines";
2560const char kThirdPartyDoodlesDescription[] =
2561 "Enables fetching and displaying Doodles on the NTP for third-party search "
2562 "engines.";
2563
Klaus Weidneraaf697f2018-01-18 20:07:362564const char kWebXrRenderPathName[] = "WebXR presentation render path";
2565const char kWebXrRenderPathDescription[] =
2566 "Render path to use for WebXR presentation (including WebVR)";
2567const char kWebXrRenderPathChoiceClientWaitDescription[] =
2568 "ClientWait (Baseline)";
2569const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2570 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072571const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2572 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362573
Brett Wilson7b44537e2017-08-18 01:38:282574// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552575
Brett Wilson7b44537e2017-08-18 01:38:282576#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482577
Brett Wilson7b44537e2017-08-18 01:38:282578const char kAccountConsistencyName[] =
2579 "Identity consistency between browser and cookie jar";
2580const char kAccountConsistencyDescription[] =
2581 "When enabled, the browser manages signing in and out of Google accounts.";
2582const char kAccountConsistencyChoiceMirror[] = "Mirror";
2583const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342584
Chris Pickel3a227ae62017-08-24 10:47:262585const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2586const char kDoodlesOnLocalNtpDescription[] =
2587 "Show doodles on the local New Tab page if Google is the default search "
2588 "engine.";
2589
mlamouriff56c092017-05-11 15:31:392590const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392591const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342592 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392593const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392594const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392595const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342596 "Enabled (Flash lowers volume when interrupted by other sound, "
2597 "experimental)";
2598
Sebastien Marchandd33f7dc2018-06-22 22:07:062599const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2600const char kInfiniteSessionRestoreDescription[] =
2601 "Reduces the number of tabs being loaded simultaneously during session "
2602 "restore, to improve responsiveness of the foreground tab. This requires "
2603 "#enable-page-almost-idle.";
2604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2606const char kEnableNewAppMenuIconDescription[] =
2607 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342608
Sebastien Marchandd33f7dc2018-06-22 22:07:062609const char kEnableWebAuthenticationCtap2SupportName[] =
2610 "Enable Web Authentication API support for CTAP2 security keys";
2611const char kEnableWebAuthenticationCtap2SupportDescription[] =
2612 "Enable CTAP2 security keys for the Web Authenication API.";
2613
2614const char kEnableWebAuthenticationTestingAPIName[] =
2615 "Web Authentication Testing API";
2616const char kEnableWebAuthenticationTestingAPIDescription[] =
2617 "Enable Web Authentication Testing API support, which disconnects the API "
2618 "implementation from the real world, and allows configuring virtual "
2619 "authenticator devices for testing";
2620
Dave Schuyler598a4a42018-01-04 02:15:102621const char kOmniboxRichEntitySuggestionsName[] =
2622 "Omnibox rich entity suggestions";
2623const char kOmniboxRichEntitySuggestionsDescription[] =
2624 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212625 "more context and descriptive text about the entity. Has no effect unless "
2626 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2627 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102628
Dave Schuyler616273d2018-04-19 03:12:522629const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2630const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212631 "Display answers using an enhanced layout with larger images. Has no "
2632 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2633 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522634
Kevin Bailey898669972017-11-06 15:34:492635const char kOmniboxTabSwitchSuggestionsName[] =
2636 "Omnibox tab switch suggestions";
2637const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212638 "Enable suggestions for switching to open tabs within the Omnibox. "
2639 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2640 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492641
krbcc621412017-06-01 19:40:282642const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2643const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192644 "Enable receiving tail suggestions, a type of search suggestion based on "
2645 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342646
Brett Wilson7b44537e2017-08-18 01:38:282647const char kOneGoogleBarOnLocalNtpName[] =
2648 "Enable the OneGoogleBar on the local NTP";
2649const char kOneGoogleBarOnLocalNtpDescription[] =
2650 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2651 "search engine.";
2652
Sebastien Marchandd33f7dc2018-06-22 22:07:062653const char kPageAlmostIdleName[] = "Page Almost Idle";
2654const char kPageAlmostIdleDescription[] =
2655 "Make session restore use a definition of loading that waits for CPU and "
2656 "network quiescence.";
2657
2658const char kProactiveTabFreezeAndDiscardName[] =
2659 "Proactive Tab Freeze and Discard";
2660const char kProactiveTabFreezeAndDiscardDescription[] =
2661 "Enables proactive tab freezing and discarding. This requires "
2662 "#enable-page-almost-idle.";
2663
2664const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2665const char kSiteCharacteristicsDatabaseDescription[] =
2666 "Records usage of some features in a database while a tab is in background "
2667 "(title/favicon update, audio playback or usage of non-persistent "
2668 "notifications).";
2669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2671const char kUseGoogleLocalNtpDescription[] =
2672 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322673
Brett Wilson7b44537e2017-08-18 01:38:282674const char kVoiceSearchOnLocalNtpName[] =
2675 "Enable Voice Search on the local NTP";
2676const char kVoiceSearchOnLocalNtpDescription[] =
2677 "Show a microphone for voice search on the local New Tab page "
2678 "if Google is the default search engine.";
2679
2680#if defined(GOOGLE_CHROME_BUILD)
2681
2682const char kGoogleBrandedContextMenuName[] =
2683 "Google branding in the context menu";
2684const char kGoogleBrandedContextMenuDescription[] =
2685 "Shows a Google icon next to context menu items powered by Google "
2686 "services.";
2687
2688#endif // !defined(GOOGLE_CHROME_BUILD)
2689
2690#endif // !defined(OS_ANDROID)
2691
2692// Windows ---------------------------------------------------------------------
2693
2694#if defined(OS_WIN)
2695
2696const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2697const char kCloudPrintXpsDescription[] =
2698 "XPS enables advanced options for classic printers connected to the Cloud "
2699 "Print with Chrome. Printers must be re-connected after changing this "
2700 "flag.";
2701
2702const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2703const char kDisablePostscriptPrintingDescription[] =
2704 "Disables PostScript generation when printing to PostScript capable "
2705 "printers, and uses EMF generation in its place.";
2706
2707const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2708const char kEnableAppcontainerDescription[] =
2709 "Enables the use of an AppContainer on sandboxed processes to improve "
2710 "security.";
2711
Brett Wilson7b44537e2017-08-18 01:38:282712const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2713const char kEnableDesktopIosPromotionsDescription[] =
2714 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2715 "eligible.";
2716
James Forshawfd0ce342018-02-14 09:55:392717const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2718const char kEnableGpuAppcontainerDescription[] =
2719 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2720 "improve security.";
2721
Brett Wilson7b44537e2017-08-18 01:38:282722const char kGdiTextPrinting[] = "GDI Text Printing";
2723const char kGdiTextPrintingDescription[] =
2724 "Use GDI to print text as simply text";
2725
Henrik Grunell67e56ef2018-04-10 14:04:092726const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2727const char kIncreaseInputAudioBufferSizeDescription[] =
2728 "Increases the input audio endpoint buffer to 100 ms.";
2729
Brett Wilson7b44537e2017-08-18 01:38:282730const char kTraceExportEventsToEtwName[] =
2731 "Enable exporting of tracing events to ETW.";
2732const char kTraceExportEventsToEtwDesription[] =
2733 "If enabled, trace events will be exported to the Event Tracing for "
2734 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2735 "Xperf.";
2736
2737const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2738const char kUseWinrtMidiApiDescription[] =
2739 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2740 "later).";
2741
2742const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2743const char kWindows10CustomTitlebarDescription[] =
2744 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2745 "deferring to Windows.";
2746
2747#endif // defined(OS_WIN)
2748
2749// Mac -------------------------------------------------------------------------
2750
2751#if defined(OS_MACOSX)
2752
Brett Wilson7b44537e2017-08-18 01:38:282753const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2754const char kAppWindowCyclingDescription[] =
2755 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2756 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2757 "browser window, and browser windows will not be cycled when a Chrome App "
2758 "is active.";
2759
Brett Wilson7b44537e2017-08-18 01:38:282760const char kFullscreenToolbarRevealName[] =
2761 "Enables the toolbar in fullscreen to reveal itself.";
2762const char kFullscreenToolbarRevealDescription[] =
2763 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2764 "has changed.";
2765
2766const char kContentFullscreenName[] = "Improved Content Fullscreen";
2767const char kContentFullscreenDescription[] =
2768 "Fullscreen content window detaches from main browser window and goes to "
2769 "a new space without moving or changing the original browser window.";
2770
Lei Zhang2eca9082017-10-17 20:42:502771const char kDialogTouchBarName[] = "Dialog Touch Bar";
2772const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282773 "Shows Dialog buttons on the Touch Bar.";
2774
2775const char kHostedAppsInWindowsName[] =
2776 "Allow hosted apps to be opened in windows";
2777const char kHostedAppsInWindowsDescription[] =
2778 "Allows hosted apps to be opened in windows instead of being limited to "
2779 "tabs.";
2780
Lei Zhang2eca9082017-10-17 20:42:502781const char kMacRTLName[] = "Enable RTL";
2782const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282783
Lei Zhang2eca9082017-10-17 20:42:502784const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2785const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522786 "Enables sharing via macOS share extensions.";
2787
Lei Zhang2eca9082017-10-17 20:42:502788const char kMacTouchBarName[] = "Hardware Touch Bar";
2789const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282790
2791const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2792const char kMacV2SandboxDescription[] =
2793 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2794 "entire life cycle.";
2795
2796const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2797const char kMacViewsNativeAppWindowsDescription[] =
2798 "Controls whether to use Toolkit-Views based Chrome App windows.";
2799
2800const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2801const char kMacViewsTaskManagerDescription[] =
2802 "Controls whether to use the Toolkit-Views based Task Manager.";
2803
Tessa Nijssenc4b101232018-06-25 20:28:082804const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2805const char kSuggestedTextTouchBarDescription[] =
2806 "Enable suggested text touch bar for textfields.";
2807
Brett Wilson7b44537e2017-08-18 01:38:282808const char kTabDetachingInFullscreenName[] =
2809 "Allow tab detaching in fullscreen";
2810const char kTabDetachingInFullscreenDescription[] =
2811 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2812
2813const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2814const char kTabStripKeyboardFocusDescription[] =
2815 "Enable keyboard focus for the tabs in the tab strip.";
2816
Brett Wilson7b44537e2017-08-18 01:38:282817#endif
2818
2819// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342820
2821#if defined(OS_CHROMEOS)
2822
Brett Wilson7b44537e2017-08-18 01:38:282823const char kAcceleratedMjpegDecodeName[] =
2824 "Hardware-accelerated mjpeg decode for captured frame";
2825const char kAcceleratedMjpegDecodeDescription[] =
2826 "Enable hardware-accelerated mjpeg decode for captured frame where "
2827 "available.";
vabr0215a8e2017-03-28 12:47:342828
Brett Wilson7b44537e2017-08-18 01:38:282829const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2830const char kAllowTouchpadThreeFingerClickDescription[] =
2831 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342832
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522833const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2834const char kArcAvailableForChildDescription[] =
2835 "Allow child accounts to start Android apps.";
2836
Brett Wilson7b44537e2017-08-18 01:38:282837const char kArcBootCompleted[] = "Load Android apps automatically";
2838const char kArcBootCompletedDescription[] =
2839 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342840
Luum Habtemariamdaa8fd22018-06-25 22:39:432841const char kArcCupsApiName[] = "ARC CUPS API";
2842const char kArcCupsApiDescription[] =
2843 "Enables support of libcups APIs from ARC";
2844
Lev Rumyantsev7a8544312017-08-18 19:26:512845const char kArcNativeBridgeExperimentName[] =
2846 "Enable native bridge experiment for ARC";
2847const char kArcNativeBridgeExperimentDescription[] =
2848 "Enables experimental native bridge feature.";
2849
lgchengecd1c1a62018-01-09 02:59:462850const char kArcUsbHostName[] = "Enable ARC USB host integration";
2851const char kArcUsbHostDescription[] =
2852 "Allow Android apps to use USB host feature on ChromeOS devices.";
2853
Kevin Cernekeeb7f96a52017-10-25 17:40:182854const char kArcVpnName[] = "Enable ARC VPN integration";
2855const char kArcVpnDescription[] =
2856 "Allow Android VPN clients to tunnel Chrome traffic.";
2857
Qiang Xu045aff222018-05-21 23:21:012858const char kAshDisableLoginDimAndBlurName[] =
2859 "Disable dimming and blur on login screen.";
2860const char kAshDisableLoginDimAndBlurDescription[] =
2861 "Disable dimming and blur on login screen.";
2862
2863const char kAshDisableSmoothScreenRotationName[] =
2864 "Disable smooth rotation animations.";
2865const char kAshDisableSmoothScreenRotationDescription[] =
2866 "Disable smooth rotation animations.";
2867
2868const char kAshEnableDisplayMoveWindowAccelsName[] =
2869 "Enable shortcuts for moving window between displays.";
2870const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2871 "Enable shortcuts for moving window between displays.";
2872
2873const char kAshEnableKeyboardShortcutViewerName[] =
2874 "Enable keyboard shortcut viewer.";
2875const char kAshEnableKeyboardShortcutViewerDescription[] =
2876 "Enable keyboard shortcut viewer.";
2877
2878const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2879const char kAshEnableMirroredScreenDescription[] =
2880 "Enable the mirrored screen mode. This mode flips the screen image "
2881 "horizontally.";
2882
2883const char kAshEnableNewOverviewAnimationsName[] =
2884 "Enable new overview animations.";
2885const char kAshEnableNewOverviewAnimationsDescription[] =
2886 "Enables the new overview mode animations.";
2887
2888const char kAshEnablePersistentWindowBoundsName[] =
2889 "Enable persistent window bounds in multi-displays scenario.";
2890const char kAshEnablePersistentWindowBoundsDescription[] =
2891 "Enable persistent window bounds in multi-displays scenario.";
2892
2893const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2894const char kAshEnableTrilinearFilteringDescription[] =
2895 "Enable trilinear filtering.";
2896
Brett Wilson7b44537e2017-08-18 01:38:282897const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2898const char kAshEnableUnifiedDesktopDescription[] =
2899 "Enable unified desktop mode which allows a window to span multiple "
2900 "displays.";
vabr0215a8e2017-03-28 12:47:342901
Mike Wassermanfcc47e42018-06-14 21:24:422902const char kAshKeyboardShortcutViewerAppName[] =
2903 "Keyboard Shortcut Viewer mojo app";
2904const char kAshKeyboardShortcutViewerAppDescription[] =
2905 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2906
Qiang Xu045aff222018-05-21 23:21:012907const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2908const char kAshShelfColorDescription[] =
2909 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2910 "--ash-shelf-color-scheme flag defines how that color is derived.";
2911
2912const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2913const char kAshShelfColorSchemeDescription[] =
2914 "Specify how the color is derived from the wallpaper. This flag is only "
2915 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2916const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2917const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2918const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2919const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2920const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2921const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2922
Sean Kau5e956192017-10-06 22:25:172923const char kBulkPrintersName[] = "Bulk Printers Policy";
2924const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2925
Brett Wilson7b44537e2017-08-18 01:38:282926const char kCaptivePortalBypassProxyName[] =
2927 "Bypass proxy for Captive Portal Authorization";
2928const char kCaptivePortalBypassProxyDescription[] =
2929 "If proxy is configured, it usually prevents from authorization on "
2930 "different captive portals. This enables opening captive portal "
2931 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342932
Brett Wilson7b44537e2017-08-18 01:38:282933const char kCrOSComponentName[] = "Chrome OS Component";
2934const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082935 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342936
Xiaochu Liu51d03fd2017-09-08 23:51:022937const char kCrOSContainerName[] = "Chrome OS Container";
2938const char kCrOSContainerDescription[] =
2939 "Enable the use of Chrome OS Container utility.";
2940
Brett Wilson7b44537e2017-08-18 01:38:282941const char kCrosRegionsModeName[] = "Cros-regions load mode";
2942const char kCrosRegionsModeDescription[] =
2943 "This flag controls cros-regions load mode";
2944const char kCrosRegionsModeDefault[] = "Default";
2945const char kCrosRegionsModeOverride[] = "Override VPD values.";
2946const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342947
Jacob Dufault2becbc482017-08-25 00:36:352948const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2949const char kDisableLockScreenAppsDescription[] =
2950 "Disable new-note action handler apps on the lock screen. The user will "
2951 "not be able to launch the preferred note-taking action from the lock "
2952 "screen, provided that the app supports lock screen note taking.";
2953
Qiang Xu045aff222018-05-21 23:21:012954const char kDisableSystemTimezoneAutomaticDetectionName[] =
2955 "SystemTimezoneAutomaticDetection policy support";
2956const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2957 "Disable system timezone automatic detection device policy.";
2958
Sammie Quonef6b4882017-09-14 16:50:052959const char kDisableTabletAutohideTitlebarsName[] =
2960 "Disable autohide titlebars in tablet mode";
2961const char kDisableTabletAutohideTitlebarsDescription[] =
2962 "Disable tablet mode autohide titlebars functionality. The user will be "
2963 "able to see the titlebar in tablet mode.";
2964
Xiaoqian Dai24b33eb2018-04-10 21:01:572965const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2966const char kDisableTabletSplitViewDescription[] =
2967 "Disable split view for Chrome OS tablet mode.";
2968
Qiang Xu53d1a5832018-05-24 18:44:192969const char kEnableAppShortcutSearchName[] =
2970 "Enable app shortcut search in launcher";
2971const char kEnableAppShortcutSearchDescription[] =
2972 "Enables app shortcut search in launcher";
2973
Weidong Guo00d0b2b2018-06-07 00:39:302974const char kEnableAppsGridGapFeatureName[] =
2975 "Enable apps grid gap feature in launcher.";
2976const char kEnableAppsGridGapFeatureDescription[] =
2977 "Enables gaps at the end of each page and enables dragging an item to an "
2978 "empty page in launcher.";
2979
Lei Zhang2eca9082017-10-17 20:42:502980const char kEnableBackgroundBlurName[] = "Enable background blur.";
2981const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422982 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392983
Brett Wilson7b44537e2017-08-18 01:38:282984const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2985const char kEnableChromevoxArcSupportDescription[] =
2986 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342987
F#m75862c92018-01-25 19:10:472988const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2989const char kEnableDisplayZoomSettingDescription[] =
2990 "Allows the user to modify the display size or zoom via the chrome display "
2991 "settings page.";
2992
Min Chenc2ec7282018-06-29 21:38:462993const char kEnableDragAppsInTabletModeName[] =
2994 "Enable dragging apps in tablet mode";
2995const char kEnableDragAppsInTabletModeDescription[] =
2996 "If enabled, swiping down from the top of the screen when an app is opened "
2997 "in tablet mode can drag the app.";
2998
Xiaoqian Dai82d99192018-05-25 18:51:352999const char kEnableDragTabsInTabletModeName[] =
3000 "Enable dragging tabs in tablet mode";
3001const char kEnableDragTabsInTabletModeDescription[] =
3002 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3003
Sam McNally201fbf94e2018-07-04 03:15:203004const char kEnableDriveFsName[] = "Enable DriveFS";
3005const char kEnableDriveFsDescription[] =
3006 "Enables use of the new DriveFS-based Drive sync client.";
3007
Brett Wilson7b44537e2017-08-18 01:38:283008const char kEnableEhvInputName[] =
3009 "Emoji, handwriting and voice input on opt-in IME menu";
3010const char kEnableEhvInputDescription[] =
3011 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343012
Brett Wilson7b44537e2017-08-18 01:38:283013const char kEnableEncryptionMigrationName[] =
3014 "Enable encryption migration of user data";
3015const char kEnableEncryptionMigrationDescription[] =
3016 "If enabled and the device supports ARC, the user will be asked to update "
3017 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343018
Blake O'Hare9e9317b22017-10-24 02:49:353019const char kEnableFloatingVirtualKeyboardName[] =
3020 "Enable floating virtual keyboard";
3021const char kEnableFloatingVirtualKeyboardDescription[] =
3022 "If enabled, the keyboard will use floating behavior by default.";
3023
Qiang Xu045aff222018-05-21 23:21:013024const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3025 "Enable full screen handwriting virtual keyboard";
3026const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3027 "If enabled, the handwriting virtual keyboard will allow user to write "
3028 "anywhere on the screen";
3029
3030const char kEnableHomeLauncherName[] = "Enable home launcher";
3031const char kEnableHomeLauncherDescription[] =
3032 "Enable home launcher in tablet mode.";
3033
Brett Wilson7b44537e2017-08-18 01:38:283034const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3035const char kEnableImeMenuDescription[] =
3036 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343037
Weidong Guo45836d1b2018-06-27 23:51:163038const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3039const char kEnableNewStyleLauncherDescription[] =
3040 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3041 "in app launcher.";
3042
Qiang Xu045aff222018-05-21 23:21:013043const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3044const char kEnableNewWallpaperPickerDescription[] =
3045 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3046
3047const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3048const char kEnablePerUserTimezoneDescription[] =
3049 "Chrome OS system timezone preference is stored and handled for each user "
3050 "individually.";
3051
3052const char kEnableSettingsShortcutSearchName[] =
3053 "Enable Settings shortcut search";
3054const char kEnableSettingsShortcutSearchDescription[] =
3055 "Enable Settings shortcut search in launcher.";
3056
Darren Shen3e49c63d2018-03-28 04:45:503057const char kEnableStylusVirtualKeyboardName[] =
3058 "Enable stylus virtual keyboard";
3059const char kEnableStylusVirtualKeyboardDescription[] =
3060 "If enabled, tapping with a stylus will show the handwriting virtual "
3061 "keyboard.";
3062
Jordy Greenblatt2f23df22018-02-22 19:49:193063const char kEnableUnifiedMultiDeviceSettingsName[] =
3064 "Enable unified MultiDevice settings";
3065const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3066 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3067 "MultiDevice settings.";
3068
3069const char kEnableUnifiedMultiDeviceSetupName[] =
3070 "Enable unified MultiDevice setup";
3071const char kEnableUnifiedMultiDeviceSetupDescription[] =
3072 "Enable the device to setup all MultiDevice services in a single workflow.";
3073
Darren Shen11c770f312018-06-13 07:36:393074const char kEnableVirtualKeyboardMdUiName[] =
3075 "Enable Material Design virtual keyboard";
3076const char kEnableVirtualKeyboardMdUiDescription[] =
3077 "If enabled, loads the Material Design UI for the virtual keyboard.";
3078
Klemen Kozjek05fc4512017-10-18 12:51:103079const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3080const char kEnableZipArchiverPackerDescription[] =
3081 "Enable the ability to archive files on Drive in the Files app";
3082
Brett Wilson7b44537e2017-08-18 01:38:283083const char kEolNotificationName[] = "Disable Device End of Life notification.";
3084const char kEolNotificationDescription[] =
3085 "Disable Notifcation when Device is End of Life.";
3086
3087const char kExperimentalAccessibilityFeaturesName[] =
3088 "Experimental accessibility features";
3089const char kExperimentalAccessibilityFeaturesDescription[] =
3090 "Enable additional accessibility features in the Settings page.";
3091
3092const char kExperimentalInputViewFeaturesName[] =
3093 "Experimental input view features";
3094const char kExperimentalInputViewFeaturesDescription[] =
3095 "Enable experimental features for IME input views.";
3096
3097const char kFileManagerTouchModeName[] = "Files App. touch mode";
3098const char kFileManagerTouchModeDescription[] =
3099 "Touchscreen-specific interactions of the Files app.";
3100
3101const char kFirstRunUiTransitionsName[] =
3102 "Animated transitions in the first-run tutorial";
3103const char kFirstRunUiTransitionsDescription[] =
3104 "Transitions during first-run tutorial are animated.";
3105
Brett Wilson7b44537e2017-08-18 01:38:283106const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3107const char kForceEnableStylusToolsDescription[] =
3108 "Forces display of the stylus tools menu in the shelf and the stylus "
3109 "section in settings, even if there is no attached stylus device.";
3110
3111const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3112const char kGestureEditingDescription[] =
3113 "Enable/Disable gesture editing option in the settings page for the "
3114 "virtual keyboard.";
3115
3116const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3117const char kGestureTypingDescription[] =
3118 "Enable/Disable gesture typing option in the settings page for the virtual "
3119 "keyboard.";
3120
3121const char kInputViewName[] = "Input views";
3122const char kInputViewDescription[] =
3123 "Enable IME extensions to supply custom views for user input such as "
3124 "virtual keyboards.";
3125
Megumi Hattori5a0d4182018-03-06 11:09:503126const char kLockScreenNotificationName[] = "Lock screen notification";
3127const char kLockScreenNotificationDescription[] =
3128 "Enable notifications on the lock screen.";
3129
Qiang Xu045aff222018-05-21 23:21:013130const char kMaterialDesignInkDropAnimationSpeedName[] =
3131 "Material design ink drop animation speed";
3132const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3133 "Sets the speed of the experimental visual feedback animations for "
3134 "material design.";
3135const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3136const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3137
Brett Wilson7b44537e2017-08-18 01:38:283138const char kMemoryPressureThresholdName[] =
3139 "Memory discard strategy for advanced pressure handling";
3140const char kMemoryPressureThresholdDescription[] =
3141 "Memory discarding strategy to use";
3142const char kConservativeThresholds[] =
3143 "Conservative memory pressure release strategy";
3144const char kAggressiveCacheDiscardThresholds[] =
3145 "Aggressive cache release strategy";
3146const char kAggressiveTabDiscardThresholds[] =
3147 "Aggressive tab release strategy";
3148const char kAggressiveThresholds[] =
3149 "Aggressive tab and cache release strategy";
3150
3151const char kMtpWriteSupportName[] = "MTP write support";
3152const char kMtpWriteSupportDescription[] =
3153 "MTP write support in File System API (and file manager). In-place editing "
3154 "operations are not supported.";
3155
Kyle Horimoto027590fb2018-02-13 22:19:483156const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3157const char kMultiDeviceApiDescription[] =
3158 "Enable Mojo-based API which provides synced device metadata and the "
3159 "ability to connect to other devices associated the logged-in Google "
3160 "account.";
3161
Bailey Berrodca8eeca02017-11-18 00:49:123162const char kNativeSmbName[] = "Native Smb Client";
3163const char kNativeSmbDescription[] =
3164 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303165
vabr0215a8e2017-03-28 12:47:343166const char kNetworkPortalNotificationName[] =
3167 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343168const char kNetworkPortalNotificationDescription[] =
3169 "If enabled, notification is displayed when device is connected to a "
3170 "network behind captive portal.";
3171
Brett Wilson7b44537e2017-08-18 01:38:283172const char kNewKoreanImeName[] = "New Korean IME";
3173const char kNewKoreanImeDescription[] =
3174 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343175
Brett Wilson7b44537e2017-08-18 01:38:283176const char kNewZipUnpackerName[] = "New ZIP unpacker";
3177const char kNewZipUnpackerDescription[] =
3178 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343179
Qiang Xu045aff222018-05-21 23:21:013180const char kOfficeEditingComponentAppName[] =
3181 "Office Editing for Docs, Sheets & Slides";
3182const char kOfficeEditingComponentAppDescription[] =
3183 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3184
Brett Wilson7b44537e2017-08-18 01:38:283185const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3186const char kPhysicalKeyboardAutocorrectDescription[] =
3187 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3188 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343189
3190const char kPrinterProviderSearchAppName[] =
3191 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343192const char kPrinterProviderSearchAppDescription[] =
3193 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193194 "searches Chrome Web Store for extensions that support printing to a USB "
3195 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343196
Brett Wilson7b44537e2017-08-18 01:38:283197const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3198const char kQuickUnlockPinDescription[] =
3199 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3200 "device on the lock screen after you have signed into your device.";
3201const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3202const char kQuickUnlockPinSigninDescription[] =
3203 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3204 "device. After changing this flag PIN needs to be set up again.";
3205const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3206const char kQuickUnlockFingerprintDescription[] =
3207 "Enabling fingerprint quick unlock allows you to setup and use a "
3208 "fingerprint to unlock your Chromebook on the lock screen after you have "
3209 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343210
James Cook0ba192bf2017-12-01 20:53:113211const char kShowTapsName[] = "Show taps";
3212const char kShowTapsDescription[] =
3213 "Draws a circle at each touch point, which makes touch points more obvious "
3214 "when projecting or mirroring the display. Similar to the Android OS "
3215 "developer option.";
3216
3217const char kShowTouchHudName[] = "Show HUD for touch points";
3218const char kShowTouchHudDescription[] =
3219 "Shows a trail of colored dots for the last few touch points. Pressing "
3220 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3221 "debug hardware issues that generate spurious touch events.";
3222
Chung-Sheng Wu468b0b32017-09-01 14:41:573223const char kSysInternalsName[] = "Enable Sys-Internals";
3224const char kSysInternalsDescription[] =
3225 "If enabled, user can monitor system information at "
3226 "chrome://sys-internals.";
3227
James Cooka9384092018-05-23 02:54:263228const char kTapVisualizerAppName[] = "Show taps with mojo app";
3229const char kTapVisualizerAppDescription[] =
3230 "Use an out-of-process mojo app to show touch points.";
3231
Stuart Langleyc981ac62018-06-21 14:38:253232const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3233const char kDisableTeamDrivesDescription[] =
3234 "If disabled, files under Team Drives will no longer appear in the Files "
3235 "app.";
vabr0215a8e2017-03-28 12:47:343236
Brett Wilson7b44537e2017-08-18 01:38:283237const char kTetherName[] = "Instant Tethering";
3238const char kTetherDescription[] =
3239 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3240 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373241
Brett Wilson7b44537e2017-08-18 01:38:283242const char kTouchscreenCalibrationName[] =
3243 "Enable/disable touchscreen calibration option in material design settings";
3244const char kTouchscreenCalibrationDescription[] =
3245 "If enabled, the user can calibrate the touch screen displays in "
3246 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093247
Qiang Xu045aff222018-05-21 23:21:013248const char kUiDevToolsName[] = "Enable native UI inspection";
3249const char kUiDevToolsDescription[] =
3250 "Enables inspection of native UI elements. For local inspection use "
3251 "chrome://inspect#other";
3252
3253const char kUiShowCompositedLayerBordersName[] =
3254 "Show UI composited layer borders";
3255const char kUiShowCompositedLayerBordersDescription[] =
3256 "Show border around composited layers created by UI.";
3257const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3258const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3259const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3260const char kUiShowCompositedLayerBordersAll[] = "All";
3261
3262const char kUiSlowAnimationsName[] = "Slow UI animations";
3263const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3264
Mitsuru Oshima63d3f2a2017-08-23 00:12:113265// Force UI Mode
3266const char kUiModeName[] = "Force Ui Mode";
3267const char kUiModeDescription[] =
3268 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3269 R"*(despite its current orientation. "Tablet" means that the )*"
3270 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3271 R"*(means that the chromebook will act as if it were in clamshell )*"
3272 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3273 R"*(the two, based on its orientation.)*";
3274const char kUiModeTablet[] = "TouchView";
3275const char kUiModeClamshell[] = "Clamshell";
3276const char kUiModeAuto[] = "Auto (default)";
3277
James Cooka1bcfa9a2018-01-30 00:18:403278const char kUseMashName[] = "Out-of-process system UI (mash)";
3279const char kUseMashDescription[] =
3280 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3281 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283282
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343283// TODO(mcasas): remove after https://crbug.com/771345.
3284const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3285const char kUseMonitorColorSpaceDescription[] =
3286 "Enables Chrome to use the color space information provided by the monitor"
3287 " instead of the default sRGB color space.";
3288
Brett Wilson7b44537e2017-08-18 01:38:283289const char kVideoPlayerChromecastSupportName[] =
3290 "Experimental Chromecast support for Video Player";
3291const char kVideoPlayerChromecastSupportDescription[] =
3292 "This option enables experimental Chromecast support for Video Player app "
3293 "on ChromeOS.";
3294
3295const char kVirtualKeyboardName[] = "Virtual Keyboard";
3296const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3297
3298const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3299const char kVirtualKeyboardOverscrollDescription[] =
3300 "Enables virtual keyboard overscroll support.";
3301
3302const char kVoiceInputName[] = "Voice input on virtual keyboard";
3303const char kVoiceInputDescription[] =
3304 "Enables voice input on virtual keyboard.";
3305
3306const char kWakeOnPacketsName[] = "Wake On Packets";
3307const char kWakeOnPacketsDescription[] =
3308 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203309
Qiang Xu53d1a5832018-05-24 18:44:193310const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3311const char kZipArchiverUnpackerDescription[] =
3312 "Enable or disable the ability to unpack archives in incognito mode";
3313
yhanadac5bff5b2017-05-18 06:37:093314#endif // defined(OS_CHROMEOS)
3315
Brett Wilson7b44537e2017-08-18 01:38:283316// Random platform combinations -----------------------------------------------
3317
3318#if defined(OS_WIN) || defined(OS_LINUX)
3319
3320const char kEnableInputImeApiName[] = "Enable Input IME API";
3321const char kEnableInputImeApiDescription[] =
3322 "Enable the use of chrome.input.ime API.";
3323
Tom Anderson6cbd5052018-05-03 23:49:543324#if !defined(OS_CHROMEOS)
3325
3326const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3327const char kWarnBeforeQuittingFlagDescription[] =
3328 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3329
3330#endif // !defined(OS_CHROMEOS)
3331
Brett Wilson7b44537e2017-08-18 01:38:283332#endif // defined(OS_WIN) || defined(OS_LINUX)
3333
3334#if defined(OS_WIN) || defined(OS_MACOSX)
3335
3336const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3337const char kAutomaticTabDiscardingDescription[] =
3338 "If enabled, tabs get automatically discarded from memory when the system "
3339 "memory is low. Discarded tabs are still visible on the tab strip and get "
3340 "reloaded when clicked on. Info about discarded tabs can be found at "
3341 "chrome://discards.";
3342
3343#endif // defined(OS_WIN) || defined(OS_MACOSX)
3344
lanwei83f54452018-06-21 23:51:043345#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3346
3347const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3348const char kDirectManipulationStylusDescription[] =
3349 "If enabled, Chrome will scroll web pages on stylus drag.";
3350
3351#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3352
Justin Donnelly110e40c2018-06-01 21:48:433353const char kExperimentalUiName[] = "Use all upcoming UI features";
3354const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483355
Brett Wilson7b44537e2017-08-18 01:38:283356// Feature flags --------------------------------------------------------------
3357
3358#if BUILDFLAG(ENABLE_VR)
3359
David Dorwin5a496c32017-11-17 01:45:053360const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3361const char kWebVrVsyncAlignDescription[] =
3362 "Align WebVR application rendering with VSync for smoother animations.";
3363
Brett Wilson7b44537e2017-08-18 01:38:283364#if defined(OS_ANDROID)
3365
Yash Malikb78e72a72018-02-21 09:14:103366const char kVrWebInputEditingName[] = "VR browsing web input editing";
3367const char kVrWebInputEditingDescription[] =
3368 "Allow editing web input fields while in VR mode.";
3369
David Dorwin5a496c32017-11-17 01:45:053370const char kVrBrowsingExperimentalFeaturesName[] =
3371 "VR browsing experimental features";
3372const char kVrBrowsingExperimentalFeaturesDescription[] =
3373 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283374
David Dorwin5a496c32017-11-17 01:45:053375const char kVrBrowsingExperimentalRenderingName[] =
3376 "VR browsing experimental rendering features";
3377const char kVrBrowsingExperimentalRenderingDescription[] =
3378 "Experimental rendering features for VR browsing (e.g. power-saving "
3379 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103380
David Dorwin5a496c32017-11-17 01:45:053381const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3382const char kVrBrowsingInCustomTabDescription[] =
3383 "Allow browsing within a VR headset while in a Custom Tab.";
3384
David Dorwin5a496c32017-11-17 01:45:053385const char kWebVrAutopresentFromIntentName[] =
3386 "WebVR auto presentation from intents";
3387const char kWebVrAutopresentFromIntentDescription[] =
3388 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283389
3390#endif // OS_ANDROID
3391
Bill Orr103ed272018-02-14 21:23:053392#if BUILDFLAG(ENABLE_OCULUS_VR)
3393const char kOculusVRName[] = "Oculus hardware support";
3394const char kOculusVRDescription[] =
3395 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3396 "Windows 10 or later).";
3397#endif // ENABLE_OCULUS_VR
3398
Bill Orr49527562017-11-22 16:58:483399#if BUILDFLAG(ENABLE_OPENVR)
3400const char kOpenVRName[] = "OpenVR hardware support";
3401const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073402 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3403 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483404#endif // ENABLE_OPENVR
3405
Brett Wilson7b44537e2017-08-18 01:38:283406#endif // ENABLE_VR
3407
Nico Weberaf3b00b2017-09-11 17:58:173408#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283409
3410const char kNaclDebugMaskName[] =
3411 "Restrict Native Client GDB-based debugging by pattern";
3412const char kNaclDebugMaskDescription[] =
3413 "Restricts Native Client application GDB-based debugging by URL of "
3414 "manifest file. Native Client GDB-based debugging must be enabled for this "
3415 "option to work.";
3416const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3417const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3418 "Debug everything except secure shell and the PNaCl translator.";
3419const char kNaclDebugMaskChoiceIncludeDebug[] =
3420 "Debug only if manifest URL ends with debug.nmf.";
3421
3422const char kNaclDebugName[] = "Native Client GDB-based debugging";
3423const char kNaclDebugDescription[] =
3424 "Enable GDB debug stub. This will stop a Native Client application on "
3425 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3426
3427const char kNaclName[] = "Native Client";
3428const char kNaclDescription[] =
3429 "Support Native Client for all web applications, even those that were not "
3430 "installed from the Chrome Web Store.";
3431
3432const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3433const char kPnaclSubzeroDescription[] =
3434 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3435
Nico Weberaf3b00b2017-09-11 17:58:173436#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283437
Brett Wilson7b44537e2017-08-18 01:38:283438const char kWebrtcH264WithOpenh264FfmpegName[] =
3439 "WebRTC H.264 software video encoder/decoder";
3440const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3441 "When enabled, an H.264 software video encoder/decoder pair is included. "
3442 "If a hardware encoder/decoder is also available it may be used instead of "
3443 "this encoder/decoder.";
3444
Brett Wilson7b44537e2017-08-18 01:38:283445#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3446
3447const char kAutofillCreditCardUploadName[] =
3448 "Enable offering upload of Autofilled credit cards";
3449const char kAutofillCreditCardUploadDescription[] =
3450 "Enables a new option to upload credit cards to Google Payments for sync "
3451 "to all Chrome devices.";
3452
3453#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3454
Becca Hughesdc96e842018-05-04 22:48:283455#if defined(OS_ANDROID)
3456
3457const char kDisplayCutoutAPIName[] =
3458 "Enable support for the Display Cutout API";
3459const char kDisplayCutoutAPIDescription[] =
3460 "Enables developers to support devices that have a display cutout.";
3461
3462#endif // defined(OS_ANDROID)
3463
Brett Wilson7b44537e2017-08-18 01:38:283464// ============================================================================
3465// Don't just add flags to the end, put them in the right section in
3466// alphabetical order just like the header file.
3467// ============================================================================
3468
vabr0215a8e2017-03-28 12:47:343469} // namespace flag_descriptions