blob: f384d7bbfb36441de5560303b8c354164d9c1e60 [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
Ian Kilpatricke68ef11a2018-07-04 03:52:10530const char kEnableLayoutNGName[] = "Enable LayoutNG";
531const char kEnableLayoutNGDescription[] =
532 "Enable Blink's next generation layout engine.";
533
Scott Littled0fd2d002018-04-13 03:37:26534const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
535const char kEnableLazyFrameLoadingDescription[] =
536 "Defers the loading of certain cross-origin frames until the page is "
537 "scrolled down near them.";
538
Sidney San Martín9375b892017-09-09 00:29:54539const char kEnableMacMaterialDesignDownloadShelfName[] =
540 "Enable Material Design download shelf";
541
542const char kEnableMacMaterialDesignDownloadShelfDescription[] =
543 "If enabled, the download shelf uses Material Design.";
544
Tatiana Gornakafb40452017-07-31 13:50:04545const char kEnableManualFallbacksFillingName[] =
546 "Manual fallbacks for password manager forms filling";
547const char kEnableManualFallbacksFillingDescription[] =
548 "If enabled, then if user clicks on the password field on a form, popup "
549 "might contain generation fallbacks or 'Show all saved passwords' "
550 "fallback.";
551
Anton Urusov47cd4932017-09-19 14:41:41552const char kEnablePolicyToolName[] = "Enable policy management page";
553const char kEnablePolicyToolDescription[] =
554 "If enabled, the chrome://policy-tool URL loads a page for managing "
555 "policies.";
556
Tsuyoshi Horoea7edb72017-11-12 04:14:00557const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
558const char kEnablePWAFullCodeCacheDescription[] =
559 "Generate V8 code cache in Cache Storage while installing Service Worker "
560 "for PWAs.";
561
Weidong Guof1e5a892018-01-06 02:26:39562const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28563 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39564const char kDisableMultiMirroringDescription[] =
565 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28566
Brett Wilsonf27ff602017-07-07 22:28:47567const char kEnableNavigationTracingName[] = "Enable navigation tracing";
568const char kEnableNavigationTracingDescription[] =
569 "This is to be used in conjunction with the trace-upload-url flag. "
570 "WARNING: When enabled, Chrome will record performance data for every "
571 "navigation and upload it to the URL specified by the trace-upload-url "
572 "flag. The trace may include personally identifiable information (PII) "
573 "such as the titles and URLs of websites you visit.";
574
Bernhard Bauer5533f9912017-11-06 17:56:02575const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
576const char kEnableNetworkLoggingToFileDescription[] =
577 "Enables network logging to a file named netlog.json in the user data "
578 "directory. The file can be imported into chrome://net-internals.";
579
Brett Wilsonf27ff602017-07-07 22:28:47580const char kEnableNetworkServiceName[] = "Enable network service";
581const char kEnableNetworkServiceDescription[] =
582 "Enables the network service, which makes network requests through a "
583 "separate service. Note: most features don't work with this yet.";
584
John Abd-El-Malek8067cc02017-12-04 23:23:20585const char kEnableNetworkServiceInProcessName[] =
586 "Runs network service in-process";
587const char kEnableNetworkServiceInProcessDescription[] =
588 "Runs the network service in the browser process.";
589
dpapaded8349472017-10-25 03:21:27590const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
591const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37592 "If enabled, Print Preview will display a newer UI. This feature is "
593 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27594
Ahmed Fakhry2fd8fc82017-07-28 16:31:12595const char kEnableNightLightName[] = "Enable Night Light";
596const char kEnableNightLightDescription[] =
597 "Enable the Night Light feature which controls the color temperature of "
598 "the screen.";
599
xlou8b56f672018-02-09 23:34:30600const char kEnableNupPrintingName[] = "Enable N-up printing";
601const char kEnableNupPrintingDescription[] =
602 "Enable N-up printing in the print preview panel.";
603
Sophie Chang117a3b22017-10-24 22:25:36604const char kEnableOptimizationHintsName[] = "Optimization Hints";
605const char kEnableOptimizationHintsDescription[] =
606 "Enable the Optimization Hints feature which incorporates server hints"
607 "into decisions for what optimizations to perform on some pages on slow "
608 "networks.";
609
Yutaka Hirano98be3272017-08-07 17:55:39610const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
611const char kEnableOutOfBlinkCORSDescription[] =
612 "CORS handling logic is moved out of blink.";
613
Sammie Quon0fbf0782018-05-01 22:11:08614const char kEnableOverviewSwipeToCloseName[] =
615 "Enable overview swipe to close.";
616const char kEnableOverviewSwipeToCloseDescription[] =
617 "Enables closing of items in overview mode by dragging or flinging "
618 "vertically.";
619
kylechar7051c092018-02-05 20:31:39620const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
621const char kVizDisplayCompositorDescription[] =
622 "If enabled, the display compositor runs as part of the viz service in the"
623 "GPU process.";
624
Ria Jiang6a129b982018-03-01 18:30:40625const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
626const char kVizHitTestDrawQuadDescription[] =
627 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
628 "with hit-test data computed from the CompositorFrame.";
629
Erik Chen49bbfa22017-08-18 08:49:56630const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23631 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56632const char kEnableOutOfProcessHeapProfilingDescription[] =
633 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19634 "malloced objects. Heap dumps can be obtained at chrome://tracing "
635 "[category:memory-infra] and chrome://memory-internals. This setting "
636 "controls which processes are profiled. As long as this setting is not "
637 "disabled, users can start profiling any given process in "
638 "chrome://memory-internals.";
639const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
640const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
641const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
642const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
643const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10644const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19645 "None by default. Visit chrome://memory-internals to choose which "
646 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15647const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
648 "Profile a random sampling of renderer processes, ensuring only one is "
649 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19650
Erik Chen8bb76b52017-12-06 19:06:25651const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19652 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25653const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
654 "By default, small allocations are pruned from the heap dump. This reduces "
655 "the size of the compressed trace by 100x. If pruning is disabled, the "
656 "chrome://tracing UI may be unable to take or load the trace. Save the "
657 "trace directly using chrome://memory-internals, and use other mechanisms "
658 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
659 "automatically uploaded traces will always be pruned. This only affects "
660 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56661
erikchen8bc20d82018-02-14 03:21:51662const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
663const char kOutOfProcessHeapProfilingSamplingDescription[] =
664 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22665 "10000. This results in low noise for large and/or frequent allocations ["
666 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
667 "total size of malloc-ed objects] and large and/or frequent allocations "
668 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51669
Erik Chen3303fd0232018-01-11 20:29:05670const char kOOPHPStackModeName[] =
671 "The type of stack to record for memlog heap dumps";
672const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19673 "By default, memlog heap dumps record native stacks, which requires a "
674 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55675 "pointers to work on Android. Native with thread names will add the thread "
676 "name as the first frame of each native stack. It's also possible to "
677 "record a pseudo stack using trace events as identifiers. It's also "
678 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19679const char kOOPHPStackModeMixed[] = "Mixed";
680const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55681const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19682const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05683
François Beaufort2e75f492018-02-08 20:44:46684const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47685const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46686 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47687
F#m59d036e2017-09-13 07:22:17688const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
689const char kEnablePixelCanvasRecordingDescription[] =
690 "Pixel canvas recording allows the compositor to raster contents aligned "
691 "with the pixel and improves text rendering. This should be enabled when a "
692 "device is using fractional scale factor.";
693
vitaliiid36191b2018-06-11 07:40:49694extern const char kEnableSyncUserConsentSeparateTypeName[] =
695 "Enable separate sync type for consents";
696extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
697 "Emit user consents as a separate sync type instead of user events.";
698
Mikel Astiz38837f82018-04-24 22:23:23699const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
700const char kEnableSyncUSSSessionsDescription[] =
701 "Enables the new, experimental implementation of session sync (aka tab "
702 "sync).";
703
Brett Wilsonf27ff602017-07-07 22:28:47704const char kEnableTokenBindingName[] = "Token Binding.";
705const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
706
Sahel Sharifyd732ab12017-11-29 23:03:16707extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
708 "Wheel Scroll Latching.";
709extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
710 "Wheel scroll latching enforces latching to a single element for the "
711 "duration of a scroll sequence.";
712
Brett Wilsonf27ff602017-07-07 22:28:47713const char kEnableUseZoomForDsfName[] =
714 "Use Blink's zoom for device scale factor.";
715const char kEnableUseZoomForDsfDescription[] =
716 "If enabled, Blink uses its zooming mechanism to scale content for device "
717 "scale factor.";
718const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
719const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
720const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
721
Patrick Noland8ee016e2018-01-24 11:44:53722const char kEnableScrollAnchorSerializationName[] =
723 "Scroll Anchor Serialization";
724const char kEnableScrollAnchorSerializationDescription[] =
725 "Save the scroll anchor and use it to restore the scroll position when "
726 "navigating.";
727
Brad Nelson5cd500e2018-01-04 00:50:19728const char kEnableSharedArrayBufferName[] =
729 "Experimental enabled SharedArrayBuffer support in JavaScript.";
730const char kEnableSharedArrayBufferDescription[] =
731 "Enable SharedArrayBuffer support in JavaScript.";
732
Brett Wilsonf27ff602017-07-07 22:28:47733const char kEnableWasmName[] = "WebAssembly structured cloning support.";
734const char kEnableWasmDescription[] =
735 "Enable web pages to use WebAssembly structured cloning.";
736
Kim Paulhamusae635a32018-06-27 07:30:54737const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
738const char kEnableWebAuthenticationAPIDescription[] =
739 "Enable Web Authentication API support";
740
Brett Wilsonf27ff602017-07-07 22:28:47741const char kEnableImageCaptureAPIName[] = "Image Capture API";
742const char kEnableImageCaptureAPIDescription[] =
743 "Enables the Web Platform Image Capture API: takePhoto(), "
744 "getPhotoCapabilities(), etc.";
745
746const char kEnableZeroSuggestRedirectToChromeName[] =
747 "Experimental contextual omnibox suggestion";
748const char kEnableZeroSuggestRedirectToChromeDescription[] =
749 "Change omnibox contextual suggestions to an experimental source. Note "
750 "that this is not an on/off switch for contextual omnibox and it only "
751 "applies to suggestions provided before the user starts typing a URL or a "
752 "search query (i.e. zero suggest).";
753
754const char kEnableWasmStreamingName[] =
755 "WebAssembly streaming compile/instantiate support.";
756const char kEnableWasmStreamingDescription[] =
757 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
758
Clemens Hammacher0c8a15a2018-04-27 13:45:32759const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
760const char kEnableWasmBaselineDescription[] =
761 "Enables WebAssembly baseline compilation and tier up.";
762
Ben Smith24c1e5c2018-06-20 01:09:02763const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
764const char kEnableWasmThreadsDescription[] =
765 "Enables support for the WebAssembly Threads proposal. Implies "
766 "#shared-array-buffer and #enable-webassembly.";
767
Brett Wilsonf27ff602017-07-07 22:28:47768const char kExpensiveBackgroundTimerThrottlingName[] =
769 "Throttle expensive background timers";
770const char kExpensiveBackgroundTimerThrottlingDescription[] =
771 "Enables intervention to limit CPU usage of background timers to 1%.";
772
773const char kExperimentalAppBannersName[] = "Experimental app banners";
774const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38775 "Enables a new experimental app banner flow and UI. Implies "
776 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47777
778const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
779const char kExperimentalCanvasFeaturesDescription[] =
780 "Enables the use of experimental canvas features which are still in "
781 "development.";
782
Nicholas Verneccd8259802018-02-22 01:22:04783const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
784const char kExperimentalCrostiniUIDescription[] =
785 "Enables in-development Crostini features.";
786
Brett Wilsonf27ff602017-07-07 22:28:47787const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
788const char kExperimentalExtensionApisDescription[] =
789 "Enables experimental extension APIs. Note that the extension gallery "
790 "doesn't allow you to upload extensions that use experimental APIs.";
791
792const char kExperimentalFullscreenExitUIName[] =
793 "Experimental fullscreen exit UI";
794const char kExperimentalFullscreenExitUIDescription[] =
795 "Displays experimental UI to allow mouse and touch input methods to exit "
796 "fullscreen mode.";
797
Ian Clelland37a985d2018-05-04 02:43:13798const char kExperimentalProductivityFeaturesName[] =
799 "Experimental Productivity Features";
800const char kExperimentalProductivityFeaturesDescription[] =
801 "Enable support for experimental developer productivity features, such as "
802 "Layered APIs and policies for avoiding slow rendering.";
803
Brett Wilsonf27ff602017-07-07 22:28:47804const char kExperimentalSecurityFeaturesName[] =
805 "Potentially annoying security features";
806const char kExperimentalSecurityFeaturesDescription[] =
807 "Enables several security features that will likely break one or more "
808 "pages that you visit on a daily basis. Strict mixed content checking, for "
809 "example. And locking powerful features to secure contexts. This flag will "
810 "probably annoy you.";
811
812const char kExperimentalWebPlatformFeaturesName[] =
813 "Experimental Web Platform features";
814const char kExperimentalWebPlatformFeaturesDescription[] =
815 "Enables experimental Web Platform features that are in development.";
816
817const char kExtensionContentVerificationName[] =
818 "Extension Content Verification";
819const char kExtensionContentVerificationDescription[] =
820 "This flag can be used to turn on verification that the contents of the "
821 "files on disk for extensions from the webstore match what they're "
822 "expected to be. This can be used to turn on this feature if it would not "
823 "otherwise have been turned on, but cannot be used to turn it off (because "
824 "this setting can be tampered with by malware).";
825const char kExtensionContentVerificationBootstrap[] =
826 "Bootstrap (get expected hashes, but do not enforce them)";
827const char kExtensionContentVerificationEnforce[] =
828 "Enforce (try to get hashes, and enforce them if successful)";
829const char kExtensionContentVerificationEnforceStrict[] =
830 "Enforce strict (hard fail if we can't get hashes)";
831
832const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
833const char kExtensionsOnChromeUrlsDescription[] =
834 "Enables running extensions on chrome:// URLs, where extensions explicitly "
835 "request this permission.";
galinapae72e152017-05-12 13:12:28836
Brett Wilsonecb80982017-07-12 20:34:51837const char kFastUnloadName[] = "Fast tab/window close";
838const char kFastUnloadDescription[] =
839 "Enables fast tab/window closing - runs a tab's onunload js handler "
840 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34841
Brett Wilsonecb80982017-07-12 20:34:51842const char kFeaturePolicyName[] = "Feature Policy";
843const char kFeaturePolicyDescription[] =
844 "Enables granting and removing access to features through the "
845 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34846
Brett Wilsonecb80982017-07-12 20:34:51847const char kFontCacheScalingName[] = "FontCache scaling";
848const char kFontCacheScalingDescription[] =
849 "Reuse a cached font in the renderer to serve different sizes of font for "
850 "faster layout.";
851
852const char kForceEffectiveConnectionTypeName[] =
853 "Override effective connection type";
854const char kForceEffectiveConnectionTypeDescription[] =
855 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30856 "returned by the network quality estimator. Slow 2G on Cellular returns "
857 "Slow 2G when connected to a cellular network, and the actual estimate "
858 "effective connection type when not on a cellular network. Previews are "
859 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51860const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
861const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
862const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30863const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
864 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51865const char kEffectiveConnectionType2GDescription[] = "2G";
866const char kEffectiveConnectionType3GDescription[] = "3G";
867const char kEffectiveConnectionType4GDescription[] = "4G";
868
869const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
870const char kFillOnAccountSelectDescription[] =
871 "Filling of passwords when an account is explicitly selected by the user "
872 "rather than autofilling credentials on page load.";
873
Brett Wilsonecb80982017-07-12 20:34:51874const char kForceTextDirectionName[] = "Force text direction";
875const char kForceTextDirectionDescription[] =
876 "Explicitly force the per-character directionality of UI text to "
877 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
878 "direction of the character language.";
879const char kForceDirectionLtr[] = "Left-to-right";
880const char kForceDirectionRtl[] = "Right-to-left";
881
882const char kForceUiDirectionName[] = "Force UI direction";
883const char kForceUiDirectionDescription[] =
884 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
885 "mode, overriding the default direction of the UI language.";
886
887const char kFramebustingName[] =
888 "Framebusting requires same-origin or a user gesture";
889const char kFramebustingDescription[] =
890 "Don't permit an iframe to navigate the top level browsing context unless "
891 "they are same-origin or the iframe is processing a user gesture.";
892
893const char kGamepadExtensionsName[] = "Gamepad Extensions";
894const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22895 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds660a47752018-06-28 19:42:48896const char kGamepadPollingRateName[] = "Gamepad Polling Rate";
897const char kGamepadPollingRateDescription[] =
898 "Changes the rate at which gamepad input devices are polled. Increasing "
899 "the polling rate improves the average latency of button and axis inputs "
900 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58901const char kGamepadVibrationName[] = "Gamepad Vibration";
902const char kGamepadVibrationDescription[] =
903 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51904
Brett Wilsonecb80982017-07-12 20:34:51905const char kGpuRasterizationMsaaSampleCountName[] =
906 "GPU rasterization MSAA sample count.";
907const char kGpuRasterizationMsaaSampleCountDescription[] =
908 "Specify the number of MSAA samples for GPU rasterization.";
909const char kGpuRasterizationMsaaSampleCountZero[] = "0";
910const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
911const char kGpuRasterizationMsaaSampleCountFour[] = "4";
912const char kGpuRasterizationMsaaSampleCountEight[] = "8";
913const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
914
915const char kGpuRasterizationName[] = "GPU rasterization";
916const char kGpuRasterizationDescription[] =
917 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28918const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51919
920const char kGoogleProfileInfoName[] = "Google profile name and icon";
921const char kGoogleProfileInfoDescription[] =
922 "Enables using Google information to populate the profile name and icon in "
923 "the avatar menu.";
924
925const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
926const char kHarfbuzzRendertextDescription[] =
927 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
928 "web content.";
929
Takumi Fujimotofb71e332018-03-31 14:04:08930const char kViewsCastDialogName[] = "Views Cast dialog";
931const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31932 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53933 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54934 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08935
Manu Cornet4a908de2018-04-09 04:32:27936const char kHideActiveAppsFromShelfName[] =
937 "Hide running apps (that are not pinned) from the shelf";
938const char kHideActiveAppsFromShelfDescription[] =
939 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25940
Brett Wilsonecb80982017-07-12 20:34:51941const char kHistoryRequiresUserGestureName[] =
942 "New history entries require a user gesture.";
943const char kHistoryRequiresUserGestureDescription[] =
944 "Require a user gesture to add a history entry.";
945const char kHyperlinkAuditingName[] = "Hyperlink auditing";
946const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
947
Ryan Landay4242dbc22018-04-04 01:47:33948const char kHorizontalTabSwitcherAndroidName[] =
949 "Enable horizontal tab switcher";
950const char kHorizontalTabSwitcherAndroidDescription[] =
951 "Changes the layout of the Android tab switcher so tabs scroll "
952 "horizontally instead of vertically.";
953
Brett Wilsonecb80982017-07-12 20:34:51954const char kHostedAppQuitNotificationName[] =
955 "Quit notification for hosted apps";
956const char kHostedAppQuitNotificationDescription[] =
957 "Display a notification when quitting Chrome if hosted apps are currently "
958 "running.";
959
960const char kHostedAppShimCreationName[] =
961 "Creation of app shims for hosted apps on Mac";
962const char kHostedAppShimCreationDescription[] =
963 "Create app shims on Mac when creating a hosted app.";
964
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48965const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
966const char kHtmlBasedUsernameDetectorDescription[] =
967 "Use HTML-based username detector for the password manager.";
968
Brett Wilsonecb80982017-07-12 20:34:51969const char kIconNtpName[] = "Large icons on the New Tab page";
970const char kIconNtpDescription[] =
971 "Enable the experimental New Tab page using large icons.";
972
973const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
974const char kIgnoreGpuBlacklistDescription[] =
975 "Overrides the built-in software rendering list and enables "
976 "GPU-acceleration on unsupported system configurations.";
977
Ryan Sturm8c3dbc92018-06-26 19:22:37978const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44979const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37980 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44981
Claudio Magni61c210922017-12-28 00:29:51982const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
983const char kImprovedLanguageSettingsDescription[] =
984 "Set of changes for Language Settings. These changes are intended to fix "
985 "the major bugs related to Language Settings.";
986
Brett Wilsonecb80982017-07-12 20:34:51987const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
988const char kInProductHelpDemoModeChoiceDescription[] =
989 "Selects the In-Product Help demo mode.";
990
991const char kJavascriptHarmonyName[] = "Experimental JavaScript";
992const char kJavascriptHarmonyDescription[] =
993 "Enable web pages to use experimental JavaScript features.";
994
995const char kJavascriptHarmonyShippingName[] =
996 "Latest stable JavaScript features";
997const char kJavascriptHarmonyShippingDescription[] =
998 "Some web pages use legacy or non-standard JavaScript extensions that may "
999 "conflict with the latest JavaScript features. This flag allows disabling "
1000 "support of those features for compatibility with such pages.";
1001
gogeraldfd7675d2018-06-19 22:57:351002const char kJustInTimeServiceWorkerPaymentAppName[] =
1003 "Just-in-time service worker payment app";
1004const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1005 "Allow crawling just-in-time service worker payment app when there is no "
1006 "installed service worker payment app for a payment request.";
1007
Yutaka Hiranof7f2f632017-09-06 10:40:081008const char kKeepAliveRendererForKeepaliveRequestsName[] =
1009 "Keep a renderer alive for keepalive fetch requests";
1010const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1011 "Keep a render process alive when the process has a pending fetch request "
1012 "with `keepalive' specified.";
1013
Joe Downing095fd6d2018-02-01 18:40:361014const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1015const char kKeyboardLockApiDescription[] =
1016 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1017 "specific key events and have them routed directly to the webpage when in "
1018 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1019
Brett Wilsonecb80982017-07-12 20:34:511020const char kLcdTextName[] = "LCD text antialiasing";
1021const char kLcdTextDescription[] =
1022 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1023 "(subpixel) when doing accelerated compositing.";
1024
Matt Giucac399982f2017-10-06 07:51:291025const char kLeftToRightUrlsName[] =
1026 "Render bidirectional URLs from left to right";
1027const char kLeftToRightUrlsDescription[] =
1028 "An experimental Bidi URL rendering algorithm where the URL components are "
1029 "always shown in order from left to right, regardless of any RTL "
1030 "characters. (The contents of each component are still rendered with the "
1031 "normal Bidi algorithm.)";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kLoadMediaRouterComponentExtensionName[] =
1034 "Load Media Router Component Extension";
1035const char kLoadMediaRouterComponentExtensionDescription[] =
1036 "Loads the Media Router component extension at startup.";
1037
spqchanb87755692018-04-05 00:46:091038const char kMacViewsAutofillPopupName[] =
1039 "Uses the Views Autofill Popup on Mac";
1040const char kMacViewsAutofillPopupDescription[] =
1041 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321042
Brett Wilsonecb80982017-07-12 20:34:511043const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1044const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511045
Lei Zhang2eca9082017-10-17 20:42:501046const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1047const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511048 "If enabled, the Incognito New Tab page uses the new material design with "
1049 "a better readable text.";
1050
spqchanb87755692018-04-05 00:46:091051const char kMediaRouterCastAllowAllIPsName[] =
1052 "Connect to Cast devices on all IP addresses";
1053const char kMediaRouterCastAllowAllIPsDescription[] =
1054 "Have the Media Router connect to Cast devices on all IP addresses, not "
1055 "just RFC1918/RFC4913 private addresses.";
1056
Brett Wilsonecb80982017-07-12 20:34:511057const char kMemoryCoordinatorName[] = "Memory coordinator";
1058const char kMemoryCoordinatorDescription[] =
1059 "Enable memory coordinator instead of memory pressure listeners.";
1060
1061const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1062const char kMessageCenterNewStyleNotificationDescription[] =
1063 "Enables the experiment style of material-design notification";
1064
Brett Wilsonecb80982017-07-12 20:34:511065const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1066const char kMhtmlGeneratorOptionDescription[] =
1067 "Provides experimental options for MHTML file generator.";
1068const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1069const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1070
Kouhei Ueno08445c22017-09-05 03:58:301071const char kModuleScriptsDynamicImportName[] =
1072 "Enable ECMAScript 6 modules dynamic import";
1073const char kModuleScriptsDynamicImportDescription[] =
1074 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1075 "Blink.";
1076
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051077const char kModuleScriptsImportMetaUrlName[] =
1078 "Enable ECMAScript 6 modules import.meta.url";
1079const char kModuleScriptsImportMetaUrlDescription[] =
1080 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1081 "Blink.";
1082
Brett Wilsonecb80982017-07-12 20:34:511083const char kNewAudioRenderingMixingStrategyName[] =
1084 "New audio rendering mixing strategy";
1085const char kNewAudioRenderingMixingStrategyDescription[] =
1086 "Use the new audio rendering mixing strategy.";
1087
1088const char kNewBookmarkAppsName[] = "The new bookmark app system";
1089const char kNewBookmarkAppsDescription[] =
1090 "Enables the new system for creating bookmark apps.";
1091
Vadym Doroshenkof81e8bb2018-04-18 14:35:241092const char kNewPasswordFormParsingName[] = "New password form parsing";
1093const char kNewPasswordFormParsingDescription[] =
1094 "Replaces existing form parsing in password manager with a new version, "
1095 "currently under development. WARNING: when enabled Password Manager might "
1096 "stop working";
1097
Brett Wilsonecb80982017-07-12 20:34:511098const char kNewRemotePlaybackPipelineName[] =
1099 "Enable the new remote playback pipeline.";
1100const char kNewRemotePlaybackPipelineDescription[] =
1101 "Enable the new pipeline for playing media element remotely via "
1102 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501103const char kUseSurfaceLayerForVideoName[] =
1104 "Enable the use of SurfaceLayer objects for videos.";
1105const char kUseSurfaceLayerForVideoDescription[] =
1106 "Enable compositing onto a Surface instead of a VideoLayer "
1107 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511108
1109const char kNewUsbBackendName[] = "Enable new USB backend";
1110const char kNewUsbBackendDescription[] =
1111 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341112
Sonny Sasaka2d200432018-03-22 17:43:161113const char kNewblueName[] = "Newblue";
1114const char kNewblueDescription[] =
1115 "Enables the use of newblue Bluetooth daemon.";
1116
Peter Kasting63097912018-06-30 02:09:031117const char kNewTabButtonPosition[] = "New tab button position";
1118const char kNewTabButtonPositionDescription[] =
1119 "Controls placement of the new tab button within the tabstrip.";
1120const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1121const char kNewTabButtonPositionLeading[] = "Leading";
1122const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1123const char kNewTabButtonPositionTrailing[] = "Trailing";
1124
Egor Pasko6fed3822018-05-30 10:33:141125const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341126const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141127 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341128
Alex Newcomerd7b0cc42018-05-25 22:58:481129const char kNotificationIndicatorName[] = "Notification Indicators";
1130const char kNotificationIndicatorDescription[] =
1131 "Enable notification indicators, which appear on app icons when a "
1132 "notification is active. This will also enable notifications in context "
1133 "menus.";
1134
Brett Wilsonecb80982017-07-12 20:34:511135const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1136const char kNotificationsNativeFlagDescription[] =
1137 "Enable support for using the native notification toasts and notification "
1138 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341139
Zentaro Kavanaghbad511c2017-10-18 22:29:001140#if defined(OS_POSIX)
1141const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1142const char kNtlmV2EnabledDescription[] =
1143 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1144#endif
1145
Ramya Nagarajane9f16b82018-05-03 01:05:341146const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1147const char kNtpBackgroundsDescription[] =
1148 "Allow selection of a custom background image on the New Tab Page.";
1149
1150const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1151const char kNtpIconsDescription[] =
1152 "Show custom link icons on the New Tab Page, instead of Most Visited "
1153 "tiles.";
1154
1155const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1156const char kNtpUIMdDescription[] =
1157 "Updates the New Tab Page with Material Design elements.";
1158
Brett Wilsonecb80982017-07-12 20:34:511159const char kNumRasterThreadsName[] = "Number of raster threads";
1160const char kNumRasterThreadsDescription[] =
1161 "Specify the number of raster threads.";
1162const char kNumRasterThreadsOne[] = "1";
1163const char kNumRasterThreadsTwo[] = "2";
1164const char kNumRasterThreadsThree[] = "3";
1165const char kNumRasterThreadsFour[] = "4";
1166
1167const char kOfferStoreUnmaskedWalletCardsName[] =
1168 "Google Payments card saving checkbox";
1169const char kOfferStoreUnmaskedWalletCardsDescription[] =
1170 "Show the checkbox to offer local saving of a credit card downloaded from "
1171 "the server.";
1172
1173const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1174const char kOfflineAutoReloadDescription[] =
1175 "Pages that fail to load while the browser is offline will be "
1176 "auto-reloaded when the browser is online again.";
1177
1178const char kOfflineAutoReloadVisibleOnlyName[] =
1179 "Only Auto-Reload Visible Tabs";
1180const char kOfflineAutoReloadVisibleOnlyDescription[] =
1181 "Pages that fail to load while the browser is offline will only be "
1182 "auto-reloaded if their tab is visible.";
1183
Brett Wilsonecb80982017-07-12 20:34:511184const char kOmniboxDisplayTitleForCurrentUrlName[] =
1185 "Include title for the current URL in the omnibox";
1186const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1187 "In the event that the omnibox provides suggestions on-focus, the URL of "
1188 "the current page is provided as the first suggestion without a title. "
1189 "Enabling this flag causes the title to be displayed.";
1190
Benoit Lizeab08362c2017-07-19 14:50:541191const char kOmniboxSpareRendererName[] =
1192 "Start spare renderer on omnibox focus";
1193const char kOmniboxSpareRendererDescription[] =
1194 "When the omnibox is focused, start an empty spare renderer. This can "
1195 "speed up the load of the navigation from the omnibox.";
1196
Tommy C. Li8875a442017-08-23 00:10:591197const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1198 "Omnibox UI Elide Suggestion URL After Host";
1199const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1200 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1201 "dropdown.";
1202
Tommy C. Lid79d4402017-12-22 22:49:121203const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1204 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1205const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1206 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221207 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1208 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121209
Brett Wilsonecb80982017-07-12 20:34:511210const char kOmniboxUIMaxAutocompleteMatchesName[] =
1211 "Omnibox UI Max Autocomplete Matches";
1212
1213const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1214 "Changes the maximum number of autocomplete matches displayed in the "
1215 "Omnibox UI.";
1216
Justin Donnelly65c9e8b2017-10-01 05:15:011217const char kOmniboxUIShowSuggestionFaviconsName[] =
1218 "Omnibox UI Show Suggestion Favicons";
1219const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1220 "Shows favicons instead of generic vector icons for URL suggestions in the "
1221 "Omnibox dropdown.";
1222
1223const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1224const char kOmniboxUISwapTitleAndUrlDescription[] =
1225 "In the omnibox dropdown, shows titles before URLs when both are "
1226 "available.";
1227
Brett Wilsonecb80982017-07-12 20:34:511228const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1229const char kOmniboxUIVerticalMarginDescription[] =
1230 "Changes the vertical margin in the Omnibox UI.";
1231
Troy Hildebrandtb32637ca2018-02-21 23:25:091232const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1233 "Omnibox Voice Search Always Visible";
1234const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1235 "Always displays voice search icon in focused omnibox as long as voice "
1236 "search is possible";
1237
Adrienne Walkerc87477e2018-06-06 22:28:211238const char kOopRasterizationName[] = "Out of process rasterization";
1239const char kOopRasterizationDescription[] =
1240 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1241 "Must also enable GPU rasterization";
1242
Brett Wilsonecb80982017-07-12 20:34:511243const char kOriginTrialsName[] = "Origin Trials";
1244const char kOriginTrialsDescription[] =
1245 "Enables origin trials for controlling access to feature/API experiments.";
1246
Becca Hughes930d8cd2017-10-02 11:09:121247const char kOverflowIconsForMediaControlsName[] =
1248 "Icons on Media Controls Overflow Menu";
1249const char kOverflowIconsForMediaControlsDescription[] =
1250 "Displays icons on the overflow menu of the native media controls";
1251
Brett Wilsonecb80982017-07-12 20:34:511252const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1253const char kOverlayScrollbarsDescription[] =
1254 "Enable the experimental overlay scrollbars implementation. You must also "
1255 "enable threaded compositing to have the scrollbars animate.";
1256
chaopenge8aa016b2017-08-24 15:20:191257const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1258 "Flash Overlay Scrollbars After Any Scroll Update";
1259const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1260 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1261 " must also enable Overlay Scrollbars.";
1262
chaopeng343678022017-08-24 18:45:001263const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1264 "Flash Overlay Scrollbars When Mouse Enter";
1265const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1266 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1267 " enable Overlay Scrollbars.";
1268
Daniele Castagna74ddb9c2018-06-21 22:59:021269const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1270const char kOverlayStrategiesDescription[] =
1271 "Select strategies used to promote quads to HW overlays.";
1272const char kOverlayStrategiesDefault[] = "Default";
1273const char kOverlayStrategiesNone[] = "None";
1274const char kOverlayStrategiesUnoccludedFullscreen[] =
1275 "Unoccluded fullscreen buffers (single-fullscreen)";
1276const char kOverlayStrategiesUnoccluded[] =
1277 "Unoccluded buffers (single-fullscreen,single-on-top)";
1278const char kOverlayStrategiesOccludedAndUnoccluded[] =
1279 "Occluded and unoccluded buffers "
1280 "(single-fullscreen,single-on-top,underlay)";
1281
Claudio Magni81326f92017-09-01 05:21:181282const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1283const char kUseNewAcceptLanguageHeaderDescription[] =
1284 "Adds the base language code after other corresponding language+region "
1285 "codes. This ensures that users receive content in their preferred "
1286 "language.";
1287
Brett Wilsonecb80982017-07-12 20:34:511288const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1289const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481290 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511291const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481292const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511293
1294const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1295const char kOverscrollStartThresholdDescription[] =
1296 "Changes overscroll start threshold relative to the default value.";
1297const char kOverscrollStartThreshold133Percent[] = "133%";
1298const char kOverscrollStartThreshold166Percent[] = "166%";
1299const char kOverscrollStartThreshold200Percent[] = "200%";
1300
chaopenge2b6e5f2018-05-08 16:40:451301const char kTouchpadOverscrollHistoryNavigationName[] =
1302 "Overscroll history navigation on Touchpad";
1303const char kTouchpadOverscrollHistoryNavigationDescription[] =
1304 "Allows swipe left/right from touchpad change browser navigation.";
1305
Xing Liu5400a002017-09-15 21:48:291306const char kParallelDownloadingName[] = "Parallel downloading";
1307const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061308 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291309
Brett Wilsonecb80982017-07-12 20:34:511310const char kPassiveEventListenerDefaultName[] =
1311 "Passive Event Listener Override";
1312const char kPassiveEventListenerDefaultDescription[] =
1313 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1314 "haven't requested otherwise) to be treated as passive. This will break "
1315 "touch/wheel behavior on some websites but is useful for demonstrating the "
1316 "potential performance benefits of adopting passive event listeners.";
1317const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1318const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1319
1320const char kPassiveEventListenersDueToFlingName[] =
1321 "Touch Event Listeners Passive Default During Fling";
1322const char kPassiveEventListenersDueToFlingDescription[] =
1323 "Forces touchstart, and first touchmove per scroll event listeners during "
1324 "fling to be treated as passive.";
1325
1326const char kPassiveDocumentEventListenersName[] =
1327 "Document Level Event Listeners Passive Default";
1328const char kPassiveDocumentEventListenersDescription[] =
1329 "Forces touchstart, and touchmove event listeners on document level "
1330 "targets (which haven't requested otherwise) to be treated as passive.";
1331
1332const char kPasswordForceSavingName[] = "Force-saving of passwords";
1333const char kPasswordForceSavingDescription[] =
1334 "Allow the user to manually enforce password saving instead of relying on "
1335 "password manager's heuristics.";
1336
Vaclav Brozekd8a3f542017-11-16 14:21:131337const char kPasswordExportName[] = "Password export";
1338const char kPasswordExportDescription[] =
1339 "Export functionality in password settings.";
1340
1341const char kPasswordImportName[] = "Password import";
1342const char kPasswordImportDescription[] =
1343 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511344
Friedrich Horschig03c91982018-01-25 14:21:281345const char kPasswordSearchMobileName[] = "Password search";
1346const char kPasswordSearchMobileDescription[] =
1347 "Search functionality in password settings.";
1348
Friedrich Horschige6c27742018-04-23 17:13:411349const char kPasswordsKeyboardAccessoryName[] =
1350 "Add password-related functions to keyboard accessory";
1351const char kPasswordsKeyboardAccessoryDescription[] =
1352 "Adds password generation button and toggle for the passwords bottom sheet "
1353 "to the keyboard accessory. Replaces password generation popups.";
1354
Tom Sepez92a2cd242018-03-13 19:23:091355const char kPdfIsolationName[] = "PDF Isolation";
1356const char kPdfIsolationDescription[] =
1357 "Render PDF files from different origins in different plugin processes.";
1358
Brett Wilsonecb80982017-07-12 20:34:511359const char kPinchScaleName[] = "Pinch scale";
1360const char kPinchScaleDescription[] =
1361 "Enables experimental support for scale using pinch.";
1362
Doug Arnett620ff542018-02-06 17:54:221363const char kPreviewsAllowedName[] = "Previews Allowed";
1364const char kPreviewsAllowedDescription[] =
1365 "Allows previews to be shown subject to specific preview types being "
1366 "enabled and the client experiencing specific triggering conditions. "
1367 "May be used as a kill-switch to turn off all potential preview types.";
1368
Brett Wilsonecb80982017-07-12 20:34:511369const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1370const char kPrintPdfAsImageDescription[] =
1371 "If enabled, an option to print PDF files as images will be available in "
1372 "print preview.";
1373
1374const char kPrintPreviewRegisterPromosName[] =
1375 "Print Preview Registration Promos";
1376const char kPrintPreviewRegisterPromosDescription[] =
1377 "Enable registering unregistered cloud printers from print preview.";
1378
1379const char kProtectSyncCredentialName[] = "Autofill sync credential";
1380const char kProtectSyncCredentialDescription[] =
1381 "How the password manager handles autofill for the sync credential.";
1382
1383const char kProtectSyncCredentialOnReauthName[] =
1384 "Autofill sync credential only for transactional reauth pages";
1385const char kProtectSyncCredentialOnReauthDescription[] =
1386 "How the password manager handles autofill for the sync credential only "
1387 "for transactional reauth pages.";
1388
Mohsen Izadi93faac12017-07-29 04:45:151389const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1390const char kPullToRefreshDescription[] =
1391 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011392const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151393
Troy Hildebrandt7228ad12018-02-23 21:18:241394const char kQueryInOmniboxName[] = "Query in Omnibox";
1395const char kQueryInOmniboxDescription[] =
1396 "Only display query terms in the omnibox when viewing a search results "
1397 "page.";
1398
Brett Wilsonecb80982017-07-12 20:34:511399const char kQuicName[] = "Experimental QUIC protocol";
1400const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1401
Emily Starke8878d52018-05-11 21:27:261402const char kRecurrentInterstitialName[] =
1403 "Show a message when the same SSL error recurs";
1404const char kRecurrentInterstitialDescription[] =
1405 "Enable a special message on the SSL certificate error page when the same "
1406 "SSL error occurs repeatedly.";
1407
Brett Wilsonecb80982017-07-12 20:34:511408const char kReducedReferrerGranularityName[] =
1409 "Reduce default 'referer' header granularity.";
1410const char kReducedReferrerGranularityDescription[] =
1411 "If a page hasn't set an explicit referrer policy, setting this flag will "
1412 "reduce the amount of information in the 'referer' header for cross-origin "
1413 "requests.";
1414
Claudio Magnie0a80bb2018-01-31 02:52:581415extern const char kRegionalLocalesAsDisplayUIName[] =
1416 "Allow regional locales as display UI";
1417extern const char kRegionalLocalesAsDisplayUIDescription[] =
1418 "This flag allows regional locales to be selected as display UI by the "
1419 "user in Language Settings. The actual locale of the system is derived "
1420 "from the user selection based on some simple fallback logic.";
1421
Christian Dullweber1af31e62018-02-22 11:49:481422const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141423 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481424const char kRemoveNavigationHistoryDescription[] =
1425 "Remove a navigation entry when the corresponding history entry has been "
1426 "deleted.";
1427
Mihai Sardarescu6d0f5b72017-10-30 11:24:381428const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1429 "Remove usage of the deprecated GAIA sign-in endpoint";
1430const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1431 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1432 "This flags controls wheter it should no longer be used during a sign-in "
1433 " flow.";
1434
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351435const char kRendererSideResourceSchedulerName[] =
1436 "Renderer side ResourceScheduler";
1437const char kRendererSideResourceSchedulerDescription[] =
1438 "Migrate some ResourceScheduler functionalities to renderer";
1439
Brett Wilsonecb80982017-07-12 20:34:511440const char kRequestTabletSiteName[] =
1441 "Request tablet site option in the settings menu";
1442const char kRequestTabletSiteDescription[] =
1443 "Allows the user to request tablet site. Web content is often optimized "
1444 "for tablet devices. When this option is selected the user agent string is "
1445 "changed to indicate a tablet device. Web content optimized for tablets is "
1446 "received there after for the current tab.";
1447
1448const char kResetAppListInstallStateName[] =
1449 "Reset the App Launcher install state on every restart.";
1450const char kResetAppListInstallStateDescription[] =
1451 "Reset the App Launcher install state on every restart. While this flag is "
1452 "set, Chrome will forget the launcher has been installed each time it "
1453 "starts. This is used for testing the App Launcher install flow.";
1454
Kinuko Yasuda33955082018-06-19 10:14:591455const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511456const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591457 "Uses the resource load scheduler in blink to throttle resource load "
1458 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511459
Brett Wilsonecb80982017-07-12 20:34:511460const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1461const char kSafeSearchUrlReportingDescription[] =
1462 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1463
Alexei Filippov98772752018-01-27 08:26:521464const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1465const char kSamplingHeapProfilerDescription[] =
1466 "Enables native memory sampling profiler with specified rate in KiB. "
1467 "If sampling rate is not provided the default value of 128 KiB is used.";
1468
Brett Wilsonecb80982017-07-12 20:34:511469const char kSaveasMenuLabelExperimentName[] =
1470 "Switch 'Save as' menu labels to 'Download'";
1471const char kSaveasMenuLabelExperimentDescription[] =
1472 "Enables an experiment to switch menu labels that use 'Save as...' to "
1473 "'Download'.";
1474
1475const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1476const char kSavePageAsMhtmlDescription[] =
1477 "Enables saving pages as MHTML: a single text file containing HTML and all "
1478 "sub-resources.";
1479
Nate Chapin9638e7102017-09-20 22:11:011480const char kSavePreviousDocumentResourcesName[] =
1481 "Save Previous Document Resources";
1482const char kSavePreviousDocumentResourcesDescription[] =
1483 "Saves an old document's cached resources until the specified point in the "
1484 "next document's lifecycle.";
1485const char kSavePreviousDocumentResourcesNever[] =
1486 "Don't explicitly save resources";
1487const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1488 "Save resources until onDOMContentLoaded completes";
1489const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1490 "Save resources until onload completes";
1491
Brett Wilsonecb80982017-07-12 20:34:511492const char kScrollPredictionName[] = "Scroll prediction";
1493const char kScrollPredictionDescription[] =
1494 "Predicts the finger's future position during scrolls allowing time to "
1495 "render the frame before the finger is there.";
1496
1497const char kSecondaryUiMd[] =
1498 "Material Design in the rest of the browser's native UI";
1499const char kSecondaryUiMdDescription[] =
1500 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1501 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341502 "browser dialogs. If --top-chrome-md is effectively Material Design "
1503 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511504
1505const char kServiceWorkerNavigationPreloadName[] =
1506 "Service worker navigation preload.";
1507const char kServiceWorkerNavigationPreloadDescription[] =
1508 "Enable web pages to use the experimental service worker navigation "
1509 "preload API.";
1510
gogeraldd5061b592017-09-06 23:39:551511const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1512const char kServiceWorkerPaymentAppsDescription[] =
1513 "Enable Service Worker applications to integrate as payment apps";
1514
Makoto Shimazu22078cc2018-02-21 03:01:441515extern const char kServiceWorkerServicificationName[] =
1516 "Servicified service workers";
1517extern const char kServiceWorkerServicificationDescription[] =
1518 "Enable the servicified service workers. A servicified service worker can "
1519 "have direct connection from its clients, so that fetch events can be "
1520 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171521
Tsuyoshi Horobcb1c642017-11-24 16:32:141522const char kServiceWorkerScriptFullCodeCacheName[] =
1523 "Service worker script full code cache.";
1524const char kServiceWorkerScriptFullCodeCacheDescription[] =
1525 "Generate V8 full code cache of Service Worker scripts while installing.";
1526
Brett Wilsonecb80982017-07-12 20:34:511527const char kSettingsWindowName[] = "Show settings in a window";
1528const char kSettingsWindowDescription[] =
1529 "Settings will be shown in a dedicated window instead of as a browser tab.";
1530
Manu Cornetd7ef7c52018-05-01 22:08:231531const char kShelfHoverPreviewsName[] =
1532 "Show previews of running apps when hovering over the shelf.";
1533const char kShelfHoverPreviewsDescription[] =
1534 "Shows previews of the open windows for a given running app when hovering "
1535 "over the shelf.";
1536
Trent Apted750ba7022017-10-23 13:36:251537const char kShowAllDialogsWithViewsToolkitName[] =
1538 "Show all dialogs with Views toolkit";
1539const char kShowAllDialogsWithViewsToolkitDescription[] =
1540 "All browser dialogs will be shown using the Views toolkit rather than "
1541 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1542
Naoki Fukino008a0022018-05-23 18:33:001543const char kShowAndroidFilesInFilesAppName[] =
1544 "Show Android files in Files app";
1545const char kShowAndroidFilesInFilesAppDescription[] =
1546 "Show Android files in Files app if Android is enabled on the device.";
1547
Luciano Pachecof1beaa82018-05-30 04:48:511548const char kFilesAppNewStyleNavigationName[] =
1549 "Use new-style navigation in the Files app";
1550const char kFilesAppNewStyleNavigationDescription[] =
1551 "Enables the new-style navigation in the Files app, which displays a "
1552 R"("My Files" root for Downloads, Linux and Play files)";
1553
Brett Wilsonecb80982017-07-12 20:34:511554const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1555const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381556 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1557 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511558
1559const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1560const char kShowAutofillTypePredictionsDescription[] =
1561 "Annotates web forms with Autofill field type predictions as placeholder "
1562 "text.";
1563
1564const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1565const char kShowOverdrawFeedbackDescription[] =
1566 "Visualize overdraw by color-coding elements based on if they have other "
1567 "elements drawn underneath.";
1568
Carlos IL89128732018-04-03 17:00:251569const char kSupervisedUserCommittedInterstitialsName[] =
1570 "Enable Supervised User Committed Interstitials";
1571const char kSupervisedUserCommittedInterstitialsDescription[] =
1572 "Use committed error pages instead of transient navigation entries for "
1573 "supervised user interstitials";
1574
yiyixbdfa9a0b2017-10-23 22:21:471575const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1576const char kEnableDrawOcclusionDescription[] =
1577 "Enable the system to use draw occlusion to skip draw quads when they are "
1578 "not shown on the screen.";
1579
Brett Wilsonecb80982017-07-12 20:34:511580const char kShowSavedCopyName[] = "Show Saved Copy Button";
1581const char kShowSavedCopyDescription[] =
1582 "When a page fails to load, if a stale copy of the page exists in the "
1583 "browser cache, a button will be presented to allow the user to load that "
1584 "stale copy. The primary enabling choice puts the button in the most "
1585 "salient position on the error page; the secondary enabling choice puts it "
1586 "secondary to the reload button.";
1587const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1588const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1589const char kDisableShowSavedCopy[] = "Disable";
1590
Brett Wilsonecb80982017-07-12 20:34:511591const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1592const char kSilentDebuggerExtensionApiDescription[] =
1593 "Do not show the infobar when an extension attaches to a page via "
1594 "chrome.debugger API. This is required to debug extension background "
1595 "pages.";
1596
Tsuyoshi Horo53895ba92018-03-14 04:06:481597const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1598const char kSignedHTTPExchangeDescription[] =
1599 "Enables Origin-Signed HTTP Exchanges support which is still in "
1600 "development. Warning: Enabling this may pose a security risk.";
1601
Brett Wilsonecb80982017-07-12 20:34:511602const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1603const char kSimpleCacheBackendDescription[] =
1604 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1605 "disk space allocation.";
1606
Christopher Thompson75ff845d2018-02-01 20:12:461607const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1608const char kSimplifyHttpsIndicatorDescription[] =
1609 "Change the UI treatment for HTTPS pages.";
1610
Brett Wilsonecb80982017-07-12 20:34:511611const char kSingleClickAutofillName[] = "Single-click autofill";
1612const char kSingleClickAutofillDescription[] =
1613 "Make autofill suggestions on initial mouse click on a form element.";
1614
Nick Carter855bc492018-03-10 00:44:571615const char kStrictSiteIsolationName[] = "Strict site isolation";
1616const char kStrictSiteIsolationDescription[] =
1617 "Security mode that enables site isolation for all sites. When enabled, "
1618 "each renderer process will contain pages from at most one site, using "
1619 "out-of-process iframes when needed. When enabled, this flag forces the "
1620 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1621 "isolation mode will be determined by enterprise policy or field trial.";
1622
1623const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1624const char kSiteIsolationTrialOptOutDescription[] =
1625 "Opts out of field trials that enable site isolation modes "
1626 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1627 "may be due to out-of-process iframes. Opt-out has no effect if site "
1628 "isolation is force-enabled via #enable-site-per-process or enterprise "
1629 "policy. Caution: this disables important mitigations for the Spectre CPU "
1630 "vulnerability affecting most computers.";
1631extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1632extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1633 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511634
Pattideade7972018-04-27 02:59:401635const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511636const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401637 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511638
Brett Wilsonecb80982017-07-12 20:34:511639const char kSmoothScrollingName[] = "Smooth Scrolling";
1640const char kSmoothScrollingDescription[] =
1641 "Animate smoothly when scrolling page content.";
1642
1643const char kSoftwareRasterizerName[] = "3D software rasterizer";
1644const char kSoftwareRasterizerDescription[] =
1645 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1646
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201647const char kSoleIntegrationName[] = "Sole integration";
1648const char kSoleIntegrationDescription[] =
1649 "Enable Sole integration for browser customization. You must restart "
1650 "the browser twice for changes to take effect.";
1651
Tommy Steimel77704be2017-08-28 22:14:401652const char kSoundContentSettingName[] = "Sound content setting";
1653const char kSoundContentSettingDescription[] =
1654 "Enable site-wide muting in content settings and tab strip context menu.";
1655
Alexandr Ilinf0500ed32017-09-27 21:12:361656const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1657const char kSpeculativePreconnectDescription[] =
1658 "Enable the new implementation of preconnect and DNS preresolve. "
1659 "\"Learning\" means that only database construction is enabled, "
1660 "\"Preconnect\" enables both learning and preconnect and disables the "
1661 "existing implementation. \"No preconnect\" disables both implementations.";
1662
Brett Wilsonecb80982017-07-12 20:34:511663const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341664const char kSpeculativePrefetchDescription[] =
1665 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1666 R"*(load times, based on a local database (see chrome://predictors). )*"
1667 R"*("Learning" means that only the database construction is enabled, )*"
1668 R"*("Prefetching" that learning and prefetching are enabled.)*";
1669
Justin Donnelly4e448cb2017-07-07 21:32:131670const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1671 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131672const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1673 "If enabled, when the user enters text in the omnibox that looks like a "
1674 "a query, any service worker associated with the search engine the query "
1675 "will be sent to is started early.";
1676
Brett Wilsonecb80982017-07-12 20:34:511677const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1678const char kSpellingFeedbackFieldTrialDescription[] =
1679 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401680
Shubhie Panickerfaf082ed2018-01-03 04:49:151681const char kStopInBackgroundName[] = "Stop in background";
1682const char kStopInBackgroundDescription[] =
1683 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281684 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151685
1686const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1687const char kStopLoadingInBackgroundDescription[] =
1688 "Stop loading tasks and loading "
1689 "resources, in the background, after certain grace time.";
1690
Shubhie Panicker56c99a22018-03-21 00:22:281691const char kStopNonTimersInBackgroundName[] =
1692 "Stop non-timer task queues background";
1693const char kStopNonTimersInBackgroundDescription[] =
1694 "Stop non-timer task queues, in the background, "
1695 "after a grace period.";
1696
Brett Wilsonecb80982017-07-12 20:34:511697const char kSuggestionsWithSubStringMatchName[] =
1698 "Substring matching for Autofill suggestions";
1699const char kSuggestionsWithSubStringMatchDescription[] =
1700 "Match Autofill suggestions based on substrings (token prefixes) rather "
1701 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341702
Brett Wilsonecb80982017-07-12 20:34:511703const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1704const char kSyncSandboxDescription[] =
1705 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341706
Joe Downing8cbbc192018-05-14 17:37:071707const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1708const char kSystemKeyboardLockDescription[] =
1709 "Enables websites to use the keyboard.lock() API to intercept system "
1710 "keyboard shortcuts and have the events routed directly to the website "
1711 "when in fullscreen mode.";
1712
Brett Wilsonecb80982017-07-12 20:34:511713const char kTabAudioMutingName[] = "Tab audio muting UI control";
1714const char kTabAudioMutingDescription[] =
1715 "When enabled, the audio indicators in the tab strip double as tab audio "
1716 "mute controls. This also adds commands in the tab context menu for "
1717 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341718
Christian Dullweberd0d96f02017-09-13 09:22:511719const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1720const char kTabsInCbdDescription[] =
1721 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1722
Becky Zhou99c22802017-10-19 05:09:271723const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1724const char kTabModalJsDialogDescription[] =
1725 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1726 " tab.";
1727
Brett Wilsonecb80982017-07-12 20:34:511728const char kTcpFastOpenName[] = "TCP Fast Open";
1729const char kTcpFastOpenDescription[] =
1730 "Enable the option to send extra authentication information in the initial "
1731 "SYN packet for a previously connected client, allowing faster data send "
1732 "start.";
vabr0215a8e2017-03-28 12:47:341733
Daniele Castagna0fead93e2018-01-10 20:40:291734const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1735const char kTintGlCompositedContentDescription[] =
1736 "Tint contents composited using GL with a shade of red to help debug and "
1737 "study overlay support.";
1738
Brett Wilsonecb80982017-07-12 20:34:511739const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1740const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581741 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401742 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431743 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341744 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541745 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511746const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531747const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461748const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581749const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401750const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431751const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341752
Brett Wilsonecb80982017-07-12 20:34:511753const char kThreadedScrollingName[] = "Threaded scrolling";
1754const char kThreadedScrollingDescription[] =
1755 "Threaded handling of scroll-related input events. Disabling this will "
1756 "force all such scroll events to be handled on the main thread. Note that "
1757 "this can dramatically hurt scrolling performance of most websites and is "
1758 "intended for testing purposes only.";
1759
Steven Valdez4584b2482017-07-14 01:11:571760const char kTLS13VariantName[] = "TLS 1.3";
1761const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1762const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111763const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041764const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381765const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571766
Brett Wilsonecb80982017-07-12 20:34:511767const char kTopDocumentIsolationName[] = "Top document isolation";
1768const char kTopDocumentIsolationDescription[] =
1769 "Highly experimental performance mode where cross-site iframes are kept in "
1770 "a separate process from the top document. In this mode, iframes from "
1771 "different third-party sites will be allowed to share a process.";
1772
Dominick Ng8896b1cd2017-10-17 23:24:361773const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1774const char kTopSitesFromSiteEngagementDescription[] =
1775 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1776 "engagement.";
1777
Brett Wilsonecb80982017-07-12 20:34:511778const char kTouchAdjustmentName[] = "Touch adjustment";
1779const char kTouchAdjustmentDescription[] =
1780 "Refine the position of a touch gesture in order to compensate for touches "
1781 "having poor resolution compared to a mouse.";
1782
Alex Newcomerb3d3c972018-05-03 14:59:401783const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1784const char kTouchableAppContextMenuDescription[] =
1785 "Enable the touchable app context menu, which enlarges app context menus "
1786 "in the Launcher and Shelf to make room for new features.";
1787
Brett Wilsonecb80982017-07-12 20:34:511788const char kTouchDragDropName[] = "Touch initiated drag and drop";
1789const char kTouchDragDropDescription[] =
1790 "Touch drag and drop can be initiated through long press on a draggable "
1791 "element.";
1792
1793const char kTouchEventsName[] = "Touch Events API";
1794const char kTouchEventsDescription[] =
1795 "Force Touch Events API feature detection to always be enabled or "
1796 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291797 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511798
1799const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1800const char kTouchSelectionStrategyDescription[] =
1801 "Controls how text selection granularity changes when touch text selection "
1802 "handles are dragged. Non-default behavior is experimental.";
1803const char kTouchSelectionStrategyCharacter[] = "Character";
1804const char kTouchSelectionStrategyDirection[] = "Direction";
1805
1806const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1807const char kTraceUploadUrlDescription[] =
1808 "This is to be used in conjunction with the enable-navigation-tracing "
1809 "flag. Please select the label that best describes the recorded traces. "
1810 "This will choose the destination the traces are uploaded to. If you are "
1811 "not sure, select other. If left empty, no traces will be uploaded.";
1812const char kTraceUploadUrlChoiceOther[] = "Other";
1813const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1814const char kTraceUploadUrlChoiceQa[] = "QA";
1815const char kTraceUploadUrlChoiceTesting[] = "Testing";
1816
Anthony Vallee-Dubois265c5692018-06-01 15:57:141817const char kTranslateForceTriggerOnEnglishName[] =
1818 "Select which language model to use to trigger translate on English "
1819 "content";
1820const char kTranslateForceTriggerOnEnglishDescription[] =
1821 "Force the Translate Triggering on English pages experiment to be enabled "
1822 "with the selected language model active.";
1823
Philippe Hamel7fdaa4592017-09-29 17:22:491824const char kTranslateRankerEnforcementName[] =
1825 "Enforce TranslateRanker decisions";
1826const char kTranslateRankerEnforcementDescription[] =
1827 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1828 "or not Translate UI should be triggered in a given context.";
1829
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161830const char kTranslateUIName[] = "Enable Translate";
1831const char kTranslateUIDescription[] =
1832 "Enable the Translate popup when visiting webpages in other languages.";
1833
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051834const char kTreatInsecureOriginAsSecureName[] =
1835 "Insecure origins treated as secure";
1836const char kTreatInsecureOriginAsSecureDescription[] =
1837 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1838 "supplied as a comma-separated list. For the definition of secure "
1839 "contexts, "
1840 "see https://w3c.github.io/webappsec-secure-contexts/";
1841
Brett Wilsonecb80982017-07-12 20:34:511842const char kTrySupportedChannelLayoutsName[] =
1843 "Causes audio output streams to check if channel layouts other than the "
1844 "default hardware layout are available.";
1845const char kTrySupportedChannelLayoutsDescription[] =
1846 "Causes audio output streams to check if channel layouts other than the "
1847 "default hardware layout are available. Turning this on will allow the OS "
1848 "to do stereo to surround expansion if supported. May expose third party "
1849 "driver bugs, use with caution.";
1850
David Roger6762a092018-01-31 15:55:071851const char kUnifiedConsentName[] = "Unified Consent";
1852const char kUnifiedConsentDescription[] =
1853 "Enables a unified management of user consent for privacy-related "
1854 "features. This includes new confirmation screens and improved settings "
1855 "pages.";
1856
Brett Wilsonecb80982017-07-12 20:34:511857const char kUiPartialSwapName[] = "Partial swap";
1858const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1859
Chris Pickel3a227ae62017-08-24 10:47:261860const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1861const char kUseDdljsonApiDescription[] =
1862 "Enables the new ddljson API to fetch Doodles for the NTP.";
1863
Becca Hughes59c05b42017-11-03 13:11:581864const char kUseModernMediaControlsName[] = "New Media Controls";
1865const char kUseModernMediaControlsDescription[] =
1866 "Enables the new style native media controls.";
1867
Wei Li790e7a8572018-03-23 01:31:551868const char kUsePdfCompositorServiceName[] =
1869 "Use PDF compositor service for printing";
1870const char kUsePdfCompositorServiceDescription[] =
1871 "When enabled, use PDF compositor service to composite and generate PDF "
1872 "files for printing. When site isolation is enabled, disabling this will "
1873 "not stop using PDF compositor service since the service is required for "
1874 "printing out-of-process iframes correctly.";
1875
Mustaq Ahmedc646c0a2017-10-20 20:08:301876const char kUserActivationV2Name[] = "User Activation v2";
1877const char kUserActivationV2Description[] =
1878 "Enable simple user activation for APIs that are otherwise controlled by "
1879 "user gesture tokens.";
1880
Brett Wilsonecb80982017-07-12 20:34:511881const char kUserConsentForExtensionScriptsName[] =
1882 "User consent for extension scripts";
1883const char kUserConsentForExtensionScriptsDescription[] =
1884 "Require user consent for an extension running a script on the page, if "
1885 "the extension requested permission to run on all urls.";
1886
1887const char kUseSuggestionsEvenIfFewFeatureName[] =
1888 "Disable minimum for server-side tile suggestions on NTP.";
1889const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1890 "Request server-side suggestions even if there are only very few of them "
1891 "and use them for tiles on the New Tab Page.";
1892
1893const char kV8CacheOptionsName[] = "V8 caching mode.";
1894const char kV8CacheOptionsDescription[] =
1895 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511896const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1897
Hitoshi Yoshida3e5db562017-09-11 02:31:081898const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1899const char kV8ContextSnapshotDescription[] =
1900 "Sets to use a snapshot to create V8 contexts in frame creation.";
1901
Michael Hablich896d52662017-10-23 15:59:571902const char kV8VmFutureName[] = "Future V8 VM features";
1903const char kV8VmFutureDescription[] =
1904 "This enables upcoming and experimental V8 VM features. "
1905 "This flag does not enable experimental JavaScript features.";
1906
Hannes Payer1130d5672018-06-05 07:37:311907const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1908const char kV8OrinocoDescription[] =
1909 "This enables the V8 Orinoco garbage collection features.";
1910
Brett Wilsonecb80982017-07-12 20:34:511911const char kVideoFullscreenOrientationLockName[] =
1912 "Lock screen orientation when playing a video fullscreen.";
1913const char kVideoFullscreenOrientationLockDescription[] =
1914 "Lock the screen orientation of the device to match video orientation when "
1915 "a video goes fullscreen. Only on phones.";
1916
1917const char kVideoRotateToFullscreenName[] =
1918 "Rotate-to-fullscreen gesture for videos.";
1919const char kVideoRotateToFullscreenDescription[] =
1920 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1921 "the video. Only on phones.";
1922
Elly Fong-Jonesf4c79502018-03-23 19:21:531923const char kViewsBrowserWindowsName[] =
1924 "Use Views browser windows instead of Cocoa.";
1925const char kViewsBrowserWindowsDescription[] =
1926 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1927
Brett Wilsonecb80982017-07-12 20:34:511928const char kWalletServiceUseSandboxName[] =
1929 "Use Google Payments sandbox servers";
1930const char kWalletServiceUseSandboxDescription[] =
1931 "For developers: use the sandbox service for Google Payments API calls.";
1932
Brett Wilsonecb80982017-07-12 20:34:511933const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1934const char kWebglDraftExtensionsDescription[] =
1935 "Enabling this option allows web applications to access the WebGL "
1936 "Extensions that are still in draft status.";
1937
1938const char kWebMidiName[] = "Web MIDI API";
1939const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1940
1941const char kWebPaymentsName[] = "Web Payments";
1942const char kWebPaymentsDescription[] =
1943 "Enable Web Payments API integration, a JavaScript API for merchants.";
1944
Mathieu Perreault51339b82017-07-20 17:06:051945const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1946const char kWebPaymentsModifiersDescription[] =
1947 "If the website provides modifiers in the payment request, show the custom "
1948 "total for each payment instrument, update the shopping cart when "
1949 "instruments are switched, and send modified payment method specific data "
1950 "to the payment app.";
1951
Brett Wilsonecb80982017-07-12 20:34:511952const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1953const char kWebrtcEchoCanceller3Description[] =
1954 "Experimental WebRTC echo canceller (AEC3).";
1955
1956const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1957const char kWebrtcHwDecodingDescription[] =
1958 "Support in WebRTC for decoding video streams using platform hardware.";
1959
1960const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1961const char kWebrtcHwEncodingDescription[] =
1962 "Support in WebRTC for encoding video streams using platform hardware.";
1963
1964const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1965const char kWebrtcHwH264EncodingDescription[] =
1966 "Support in WebRTC for encoding h264 video streams using platform "
1967 "hardware.";
1968
1969const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1970const char kWebrtcHwVP8EncodingDescription[] =
1971 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1972
Niels Möller090866a2018-02-13 10:55:031973const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1974 "WebRTC new encode cpu load estimator";
1975const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1976 "Enable new estimator for the encoder cpu load, for evaluation and "
1977 "testing. Intended to improve accuracy when screen casting.";
1978
Elad Alon85e0d0be2018-06-26 10:38:371979const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
1980const char kWebRtcRemoteEventLogDescription[] =
1981 "Allow collecting WebRTC event logs and uploading them to Crash. "
1982 "Please note that, even if enabled, this will still require "
1983 "a policy to be set, for it to have an effect.";
1984
Brett Wilsonecb80982017-07-12 20:34:511985const char kWebrtcSrtpAesGcmName[] =
1986 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1987const char kWebrtcSrtpAesGcmDescription[] =
1988 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1989
Joachim Bauch4a41d7512017-08-23 14:24:231990const char kWebrtcSrtpEncryptedHeadersName[] =
1991 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1992const char kWebrtcSrtpEncryptedHeadersDescription[] =
1993 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1994 "for SRTP.";
1995
Brett Wilsonecb80982017-07-12 20:34:511996const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1997const char kWebrtcStunOriginDescription[] =
1998 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1999 "header.";
2000
Adam Riceed63fc02018-06-20 05:57:462001const char kWebSocketHandshakeReuseConnectionName[] =
2002 "Enable WebSocket connection reuse for authentication";
2003const char kWebSocketHandshakeReuseConnectionDescription[] =
2004 "Permits the WebSocket handshake to keep the connection open after an "
2005 "authentication failure. The connection may be used for further requests "
2006 "to send credentials. This is sometimes needed for Windows authentication.";
2007
Brett Wilsonecb80982017-07-12 20:34:512008const char kWebvrName[] = "WebVR";
2009const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012010 "Enables access to experimental Virtual Reality functionality via the "
2011 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2012 "Device API. Warning: Enabling this will also allow WebVR content on "
2013 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222014 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512015
Brandon Jonese9d9b2b2017-12-11 22:20:112016const char kWebXrName[] = "WebXR Device API";
2017const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012018 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2019 "and Augmented Reality (AR) devices.";
2020
2021const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2022const char kWebXrGamepadSupportDescription[] =
2023 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222024 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2025 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432026
2027const char kWebXrHitTestName[] = "WebXR Hit Test";
2028const char kWebXrHitTestDescription[] =
2029 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112030
Anna Maria57ecf7592018-01-12 03:10:402031const char kWebXrOrientationSensorDeviceName[] =
2032 "WebXR orientation sensor device";
2033const char kWebXrOrientationSensorDeviceDescription[] =
2034 "When no VR platform device is available, expose a non-presenting device "
2035 "based on the device's orientation sensors, if available.";
2036
Brett Wilsonecb80982017-07-12 20:34:512037const char kWifiCredentialSyncName[] = "WiFi credential sync";
2038const char kWifiCredentialSyncDescription[] =
2039 "Enables synchronizing WiFi network settings across devices. When enabled, "
2040 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2041 "credentials are synchronized subject to user preferences. (See also, "
2042 "chrome://settings/syncSetup.)";
2043
2044const char kZeroCopyName[] = "Zero-copy rasterizer";
2045const char kZeroCopyDescription[] =
2046 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342047
Brett Wilsonff596952017-07-14 01:06:552048// Android ---------------------------------------------------------------------
2049
2050#if defined(OS_ANDROID)
2051
2052const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2053const char kAiaFetchingDescription[] =
2054 "Enable intermediate certificate fetching when a server does not provide "
2055 "sufficient certificates to build a chain to a trusted root.";
2056
2057const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2058const char kAccessibilityTabSwitcherDescription[] =
2059 "Enable the accessibility tab switcher for Android.";
2060
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252061const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2062const char kAllowReaderForAccessibilityDescription[] =
2063 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2064
Brett Wilsonff596952017-07-14 01:06:552065const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2066const char kAndroidAutofillAccessibilityDescription[] =
2067 "Enable accessibility for autofill popup.";
2068
2069const char kAndroidPaymentAppsName[] = "Android payment apps";
2070const char kAndroidPaymentAppsDescription[] =
2071 "Enable third party Android apps to integrate as payment apps";
2072
Miriam Gershenson8cf1397222018-01-23 22:48:292073const char kAsyncDnsName[] = "Async DNS resolver";
2074const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2075
Brett Wilsonff596952017-07-14 01:06:552076const char kAutofillAccessoryViewName[] =
2077 "Autofill suggestions as keyboard accessory view";
2078const char kAutofillAccessoryViewDescription[] =
2079 "Shows Autofill suggestions on top of the keyboard rather than in a "
2080 "dropdown.";
2081
2082const char kBackgroundLoaderForDownloadsName[] =
2083 "Enables background downloading of pages.";
2084const char kBackgroundLoaderForDownloadsDescription[] =
2085 "Enables downloading pages in the background in case page is not yet "
2086 "loaded in current tab.";
2087
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002088const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2089const char kCCTModuleDescription[] =
2090 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2091
Matthew Jones6c1f5e22018-02-06 18:19:532092const char kChromeDuplexName[] = "Chrome Duplex";
2093const char kChromeDuplexDescription[] =
2094 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052095
Brett Wilsonff596952017-07-14 01:06:552096const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2097const char kChromeHomeSwipeLogicDescription[] =
2098 "Various swipe logic options for Chrome Home for sheet expansion.";
2099const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152100const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552101
Theresa8e44a7132018-06-15 17:40:592102const char kChromeModernAlternateCardLayoutName[] =
2103 "Chrome Modern Alternate Card Layout";
2104const char kChromeModernAlternateCardLayoutDescription[] =
2105 "Enable the alternate card layout for Chrome Modern Design.";
2106
Matthew Jones5b7f1d62018-01-23 00:37:252107const char kChromeModernDesignName[] = "Chrome Modern Design";
2108const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452109 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2110 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252111
Donn Denman3e78c8d2018-06-28 22:51:422112const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2113const char kChromeModernFullRollDescription[] =
2114 "Enable modern full-roll animation for Chrome.";
2115
Megan Jablonskic61eb1b82017-10-02 18:03:062116const char kChromeMemexName[] = "Chrome Memex";
2117const char kChromeMemexDescription[] =
2118 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2119 "Googlers.";
2120
Sarath Singapati83aef1c2017-11-16 15:54:522121const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2122const char kClearOldBrowsingDataDescription[] =
2123 "Enables clearing of browsing data which is older than a given time "
2124 "period.";
2125
Brett Wilsonff596952017-07-14 01:06:552126const char kContentSuggestionsCategoryOrderName[] =
2127 "Default content suggestions category order (e.g. on NTP)";
2128const char kContentSuggestionsCategoryOrderDescription[] =
2129 "Set default order of content suggestion categories (e.g. on the NTP).";
2130
2131const char kContentSuggestionsCategoryRankerName[] =
2132 "Content suggestions category ranker (e.g. on NTP)";
2133const char kContentSuggestionsCategoryRankerDescription[] =
2134 "Set category ranker to order categories of content suggestions (e.g. on "
2135 "the NTP).";
2136
Vitalii Iarkof52ff802017-09-14 12:34:242137const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2138const char kContentSuggestionsDebugLogDescription[] =
2139 "Enable content suggestions debug log accessible through "
2140 "snippets-internals.";
2141
Donn Denman8e58ead2017-11-04 01:44:012142const char kContextualSearchMlTapSuppressionName[] =
2143 "Contextual Search ML tap suppression";
2144const char kContextualSearchMlTapSuppressionDescription[] =
2145 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022146 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2147 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552148
2149const char kContextualSearchName[] = "Contextual Search";
2150const char kContextualSearchDescription[] =
2151 "Whether or not Contextual Search is enabled.";
2152
Donn Denman59729812018-01-09 01:27:022153const char kContextualSearchRankerQueryName[] =
2154 "Contextual Search Ranker prediction";
2155const char kContextualSearchRankerQueryDescription[] =
2156 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2157
2158const char kContextualSearchSecondTapName[] =
2159 "Contextual Search second tap triggering";
2160const char kContextualSearchSecondTapDescription[] =
2161 "Enables triggering on a second tap gesture even when Ranker would "
2162 "normally suppress that tap.";
2163
Cathy Li2fb32bf82018-06-06 18:55:402164const char kExploreSitesName[] = "Explore websites";
2165const char kExploreSitesDescription[] =
2166 "Enables portal from new tab page to explore websites.";
2167
Dmitry Skiba9c3efa72017-07-20 22:01:142168const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2169const char kDontPrefetchLibrariesDescription[] =
2170 "Don't prefetch libraries after loading.";
2171
Joy Ming5fd29ca62017-10-02 22:51:222172const char kDownloadsForegroundName[] = "Enable downloads foreground";
2173const char kDownloadsForegroundDescription[] =
2174 "Enable downloads as a foreground service for all versions of Android.";
2175
Joy Ming189b0cc2017-12-08 19:42:432176const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2177const char kDownloadsLocationChangeDescription[] =
2178 "Enable changing default downloads storage location on Android.";
2179
Shakti Sahu32b2ee102018-05-17 00:04:462180const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2181const char kDownloadProgressInfoBarDescription[] =
2182 "Enables an infobar notifying users about status of current downloads.";
2183
Brett Wilsonff596952017-07-14 01:06:552184const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2185const char kEnableAndroidPayIntegrationV1Description[] =
2186 "Enable integration with Android Pay using the first version of the API";
2187
2188const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2189const char kEnableAndroidPayIntegrationV2Description[] =
2190 "Enable integration with Android Pay using the second version of the API";
2191
Vitalii Iarkof4ed32d2017-09-26 13:15:532192const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552193const char kEnableAndroidSpellcheckerDescription[] =
2194 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552195
Lei Tianbd5a3bf2018-02-28 19:01:162196const char kEnableCommandLineOnNonRootedName[] =
2197 "Enable command line on non-rooted devices";
2198const char kEnableCommandLineOnNoRootedDescription[] =
2199 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2200
Vitalii Iarkof4ed32d2017-09-26 13:15:532201const char kEnableContentSuggestionsNewFaviconServerName[] =
2202 "Get favicons for content suggestions from a new server.";
2203const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2204 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2205 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552206
2207const char kEnableContentSuggestionsSettingsName[] =
2208 "Show content suggestions settings.";
2209const char kEnableContentSuggestionsSettingsDescription[] =
2210 "If enabled, the content suggestions settings will be available from the "
2211 "main settings menu.";
2212
Vitalii Iarkof4ed32d2017-09-26 13:15:532213const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2214 "Use content suggestions thumbnail dominant color.";
2215const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2216 "Use content suggestions thumbnail dominant color as a placeholder before "
2217 "the real thumbnail is fetched (requires Chrome Home).";
2218
Brett Wilsonff596952017-07-14 01:06:552219const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2220const char kEnableCustomContextMenuDescription[] =
2221 "Enables a new context menu when a link, image, or video is pressed within "
2222 "Chrome.";
2223
2224const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2225const char kEnableCustomFeedbackUiDescription[] =
2226 "Enables a custom feedback UI when submitting feedback through Google "
2227 "Feedback. Works with Google Play Services v10.2+";
2228
2229const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472230 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552231const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472232 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552233
Becca Hughes6d73bac542018-06-18 20:38:502234const char kEnableMediaControlsExpandGestureName[] =
2235 "Enable Media Controls Expand Gesture";
2236const char kEnableMediaControlsExpandGestureDescription[] =
2237 "Enables a gesture to be used on the media controls to extend the video "
2238 "into the Display Cutout area.";
2239
Brett Wilsonff596952017-07-14 01:06:552240const char kEnableOmniboxClipboardProviderName[] =
2241 "Omnibox clipboard URL suggestions";
2242const char kEnableOmniboxClipboardProviderDescription[] =
2243 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2244 "focus in the omnibox.";
2245
Becky Zhoua7f11d62018-02-01 16:02:532246const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2247 "Show article suggestions expandable header on New Tab Page";
2248const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2249 "If enabled, the article suggestions content on New Tab Page can be "
2250 "toggled shown or hidden by clicking the expandable header.";
2251
Brett Wilsonff596952017-07-14 01:06:552252const char kEnableNtpAssetDownloadSuggestionsName[] =
2253 "Show asset downloads on the New Tab page";
2254const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2255 "If enabled, the list of content suggestions on the New Tab page will "
2256 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2257 "later use.";
2258
2259const char kEnableNtpBookmarkSuggestionsName[] =
2260 "Show recently visited bookmarks on the New Tab page";
2261const char kEnableNtpBookmarkSuggestionsDescription[] =
2262 "If enabled, the list of content suggestions on the New Tab page will "
2263 "contain recently visited bookmarks.";
2264
2265const char kEnableNtpForeignSessionsSuggestionsName[] =
2266 "Show recent foreign tabs on the New Tab page";
2267const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2268 "If enabled, the list of content suggestions on the New Tab page will "
2269 "contain recent foreign tabs.";
2270
Brett Wilsonff596952017-07-14 01:06:552271const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2272 "Show offline page downloads on the New Tab page";
2273const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2274 "If enabled, the list of content suggestions on the New Tab page will "
2275 "contain pages that the user downloaded for later use.";
2276
2277const char kEnableNtpRemoteSuggestionsName[] =
2278 "Show server-side suggestions on the New Tab page";
2279const char kEnableNtpRemoteSuggestionsDescription[] =
2280 "If enabled, the list of content suggestions on the New Tab page will "
2281 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2282 "allows to override the source used to retrieve these server-side "
2283 "suggestions.";
2284
2285const char kEnableNtpSnippetsVisibilityName[] =
2286 "Make New Tab Page Snippets more visible.";
2287const char kEnableNtpSnippetsVisibilityDescription[] =
2288 "If enabled, the NTP snippets will become more discoverable with a larger "
2289 "portion of the first card above the fold.";
2290
2291const char kEnableNtpSuggestionsNotificationsName[] =
2292 "Notify about new content suggestions available at the New Tab page";
2293const char kEnableNtpSuggestionsNotificationsDescription[] =
2294 "If enabled, notifications will inform about new content suggestions on "
2295 "the New Tab page.";
2296
Brett Wilsonff596952017-07-14 01:06:552297const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2298const char kEnableOfflinePreviewsDescription[] =
2299 "Enable showing offline page previews on slow networks.";
2300
2301const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2302const char kEnableOskOverscrollDescription[] =
2303 "Enable OSK overscroll support. With this flag on, the OSK will only "
2304 "resize the visual viewport.";
2305
2306const char kEnableSpecialLocaleName[] =
2307 "Enable custom logic for special locales.";
2308const char kEnableSpecialLocaleDescription[] =
2309 "Enable custom logic for special locales. In this mode, Chrome might "
2310 "behave differently in some locales.";
2311
Brett Wilsonff596952017-07-14 01:06:552312const char kEnableWebNfcName[] = "WebNFC";
2313const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2314
gogeraldf3cbb422017-07-26 14:37:122315const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2316 "Enable Web Payments method section order V2.";
2317const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2318 "Enable this option to display payment method section above address "
2319 "section instead of below it.";
2320
Raymes Khoury582b43132017-12-12 23:54:302321const char kGrantNotificationsToDSEName[] =
2322 "Grant notifications to the Default Search Engine";
2323const char kGrantNotificationsToDSENameDescription[] =
2324 "Automatically grant the notifications permission to the Default Search "
2325 "Engine";
2326
Daniel Parke74fcf862018-03-27 18:05:452327const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512328const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452329
Theresa920e0ed2018-03-07 18:12:442330const char kInterestFeedContentSuggestionsDescription[] =
2331 "Use the interest feed to render content suggestions. Currently content "
2332 "suggestions are shown on the New Tab Page.";
2333const char kInterestFeedContentSuggestionsName[] =
2334 "Interest Feed Content Suggestions";
2335
Brett Wilsonff596952017-07-14 01:06:552336const char kKeepPrefetchedContentSuggestionsName[] =
2337 "Keep prefetched content suggestions";
2338const char kKeepPrefetchedContentSuggestionsDescription[] =
2339 "If enabled, some of prefetched content suggestions are not replaced by "
2340 "the new fetched suggestions.";
2341
Leo Zhang051b75482017-12-20 03:28:302342const char kLanguagesPreferenceName[] = "Language Settings";
2343const char kLanguagesPreferenceDescription[] =
2344 "Enable this option for Language Settings feature on Android.";
2345
Brett Wilsonff596952017-07-14 01:06:552346const char kLsdPermissionPromptName[] =
2347 "Location Settings Dialog Permission Prompt";
2348const char kLsdPermissionPromptDescription[] =
2349 "Whether to use the Google Play Services Location Settings Dialog "
2350 "permission dialog.";
2351
Amirhossein Simjour97b4154f2018-02-20 03:49:592352const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2353const char kModalPermissionDialogViewDescription[] =
2354 "Enable this option to use ModalDialogManager for permission Dialogs.";
2355
Brett Wilsonff596952017-07-14 01:06:552356const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2357const char kMediaScreenCaptureDescription[] =
2358 "Enable this option for experimental ScreenCapture feature on Android.";
2359
2360const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2361const char kModalPermissionPromptsDescription[] =
2362 "Whether to use permission dialogs in place of permission infobars.";
2363
Brett Wilsonff596952017-07-14 01:06:552364const char kNewPhotoPickerName[] = "Enable new Photopicker";
2365const char kNewPhotoPickerDescription[] =
2366 "Activates the new picker for selecting photos.";
2367
2368const char kNoCreditCardAbort[] = "No Credit Card Abort";
2369const char kNoCreditCardAbortDescription[] =
2370 "Whether or not the No Credit Card Abort is enabled.";
2371
Daniel Park990d0992018-05-18 22:12:512372const char kNtpButtonName[] = "Enable NTP Button";
2373const char kNtpButtonDescription[] =
2374 "Displays a New Tab Page button in the toolbar if enabled.";
2375
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062376const char kNtpModernLayoutName[] = "Modern NTP layout";
2377const char kNtpModernLayoutDescription[] =
2378 "Show a modern layout on the New Tab Page.";
2379
Brett Wilsonff596952017-07-14 01:06:552380const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2381const char kNtpGoogleGInOmniboxDescription[] =
2382 "Show a Google G in the omnibox on the New Tab Page.";
2383
Brett Wilsonff596952017-07-14 01:06:552384const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2385const char kOfflineBookmarksDescription[] =
2386 "Enable saving bookmarked pages for offline viewing.";
2387
Jian Li1413ebf2018-06-14 20:46:322388const char kOfflineIndicatorName[] = "Enable offline indicator";
2389const char kOfflineIndicatorDescription[] =
2390 "Enable showing offline indicator while offline.";
2391
Brett Wilsonff596952017-07-14 01:06:552392const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2393const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2394
2395const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2396const char kOfflinePagesCtV2Description[] =
2397 "V2 features include attributing pages to the app that initiated the "
2398 "custom tabs, and being able to query for pages by page attribution.";
2399
Cathy Li7311d792018-04-05 00:34:162400const char kOfflinePagesCTSuppressNotificationsName[] =
2401 "Disable download complete notification for whitelisted CCT apps.";
2402const char kOfflinePagesCTSuppressNotificationsDescription[] =
2403 "Disable download complete notification for page downloads originating "
2404 "from a CCT app whitelisted to show their own download complete "
2405 "notification.";
2406
Candice Sy74fa7a352018-03-30 23:46:492407const char kOfflinePagesDescriptiveFailStatusName[] =
2408 "Enables descriptive failed download status text.";
2409const char kOfflinePagesDescriptiveFailStatusDescription[] =
2410 "Enables failed download status text in notifications and Downloads Home "
2411 "to state the reason the request failed if the failure is actionable.";
2412
2413const char kOfflinePagesDescriptivePendingStatusName[] =
2414 "Enables descriptive pending download status text.";
2415const char kOfflinePagesDescriptivePendingStatusDescription[] =
2416 "Enables pending download status text in notifications and Downloads Home "
2417 "to state the reason the request is pending.";
2418
2419const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2420 "Enables offline pages in the downloads home to be opened in CCT.";
2421const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2422 "When enabled offline pages launched from the Downloads Home will be "
2423 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2424
Carlos Knippschild09272ecd2017-12-09 03:29:362425const char kOfflinePagesLimitlessPrefetchingName[] =
2426 "Removes resource usage limits for the prefetching of offline pages.";
2427const char kOfflinePagesLimitlessPrefetchingDescription[] =
2428 "Allows the prefetching of suggested offline pages to ignore resource "
2429 "usage limits. This allows it to completely ignore data usage limitations "
2430 "and allows downloads to happen with any kind of connection.";
2431
Brett Wilsonff596952017-07-14 01:06:552432const char kOfflinePagesLoadSignalCollectingName[] =
2433 "Enables collecting load timing data for offline page snapshots.";
2434const char kOfflinePagesLoadSignalCollectingDescription[] =
2435 "Enables loading completeness data collection while writing an offline "
2436 "page. This data is collected in the snapshotted offline page to allow "
2437 "data analysis to improve deciding when to make the offline snapshot.";
2438
2439const char kOfflinePagesPrefetchingName[] =
2440 "Enables suggested offline pages to be prefetched.";
2441const char kOfflinePagesPrefetchingDescription[] =
2442 "Enables suggested offline pages to be prefetched, so useful content is "
2443 "available while offline.";
2444
Cathy Li3d5379e2017-09-07 00:11:092445const char kOfflinePagesPrefetchingUIName[] =
2446 "Enables prefetched offline pages to be shown in UI.";
2447const char kOfflinePagesPrefetchingUIDescription[] =
2448 "Enables prefetched offline pages to raise notifications and be shown in "
2449 "download home UI.";
2450
Pete Williamson7845dff2017-09-20 11:06:192451const char kOfflinePagesResourceBasedSnapshotName[] =
2452 "Enables offline page snapshots to be based on percentage of page loaded.";
2453const char kOfflinePagesResourceBasedSnapshotDescription[] =
2454 "Enables offline page snapshots to use a resource percentage based "
2455 "approach for determining when the page is loaded as opposed to a time "
2456 "based approach";
2457
Collin Baker17f92a52017-07-19 21:41:252458const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2459const char kOfflinePagesRenovationsDescription[] =
2460 "Enables offline page renovations which correct issues with dynamic "
2461 "content that occur when offlining pages that use JavaScript.";
2462
Brett Wilsonff596952017-07-14 01:06:552463const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2464const char kOfflinePagesSharingDescription[] =
2465 "Enables the saved offline pages to be shared via other applications.";
2466
Cathy Lie0d88762018-04-12 08:03:012467const char kOfflinePagesShowAlternateDinoPageName[] =
2468 "Enable alternate dino page with more user capabilities.";
2469const char kOfflinePagesShowAlternateDinoPageDescription[] =
2470 "Enables the dino page to show more buttons and offer existing offline "
2471 "content.";
2472
Brett Wilsonff596952017-07-14 01:06:552473const char kOfflinePagesSvelteConcurrentLoadingName[] =
2474 "Enables concurrent background loading on svelte.";
2475const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2476 "Enables concurrent background loading (or downloading) of pages on "
2477 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2478 "happen when the svelte device is idle.";
2479
2480const char kOffliningRecentPagesName[] =
2481 "Enable offlining of recently visited pages";
2482const char kOffliningRecentPagesDescription[] =
2483 "Enable storing recently visited pages locally for offline use. Requires "
2484 "Offline Pages to be enabled.";
2485
Lei Zhang2eca9082017-10-17 20:42:502486const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2487const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552488 "Enable Pay with Google integration into Web Payments with API version "
2489 "'1'.";
2490
Matthew Jonesa88b95852017-11-08 23:13:502491const char kProgressBarThrottleName[] = "Android progress update throttling.";
2492const char kProgressBarThrottleDescription[] =
2493 "Limit the maximum progress update to make progress appear smoother.";
2494
Brett Wilsonff596952017-07-14 01:06:552495const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2496const char kPullToRefreshEffectDescription[] =
2497 "Page reloads triggered by vertically overscrolling content.";
2498
Piotr Swigon7c296ef2017-08-29 04:32:002499const char kPwaImprovedSplashScreenName[] =
2500 "Improved Splash Screen for standalone PWAs";
2501const char kPwaImprovedSplashScreenDescription[] =
2502 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2503 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492504const char kPwaPersistentNotificationName[] =
2505 "Persistent notification in standalone PWA";
2506const char kPwaPersistentNotificationDescription[] =
2507 "Enables a persistent Android notification for standalone PWAs";
2508
Brett Wilsonff596952017-07-14 01:06:552509const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2510const char kReaderModeHeuristicsDescription[] =
2511 "Determines what pages the Reader Mode infobar is shown on.";
2512const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2513const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2514const char kReaderModeHeuristicsAllArticles[] = "All articles";
2515const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2516const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2517
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182518const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2519const char kReaderModeInCCTDescription[] =
2520 "Open Reader Mode in Chrome Custom Tabs.";
2521
Brett Wilsonff596952017-07-14 01:06:552522const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2523const char kSetMarketUrlForTestingDescription[] =
2524 "When enabled, sets the market URL for use in testing the update menu "
2525 "item.";
2526
2527const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2528const char kSpannableInlineAutocompleteDescription[] =
2529 "A new type of inline autocomplete for the omnibox that works with "
2530 "keyboards that compose text.";
2531
Theresaeea05a12018-05-09 21:01:592532const char kSimplifiedNtpName[] = "Simplified NTP";
2533const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2534
2535const char kSiteExplorationUiName[] = "Site Exploration UI";
2536const char kSiteExplorationUiDescription[] =
2537 "Show site suggestions in the Exploration UI";
2538
Brett Wilsonff596952017-07-14 01:06:552539const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2540const char kUpdateMenuBadgeDescription[] =
2541 "When enabled, an update badge will be shown on the app menu button.";
2542
2543const char kUpdateMenuItemCustomSummaryDescription[] =
2544 "When this flag and the force show update menu item flag are enabled, a "
2545 "custom summary string will be displayed below the update menu item.";
2546const char kUpdateMenuItemCustomSummaryName[] =
2547 "Update menu item custom summary";
2548
2549const char kUpdateMenuItemName[] = "Force show update menu item";
2550const char kUpdateMenuItemDescription[] =
2551 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2552 R"*(menu.)*";
2553
Amirhossein Simjourd78bbcf2018-02-02 16:23:392554const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2555const char kVrBrowsingNativeAndroidUiDescription[] =
2556 "Enable Android UI elements in VR.";
2557
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462558const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2559const char kVrBrowsingTabsViewDescription[] =
2560 "Enable tab overview (tab switcher) in VR.";
2561
Marc Treib93af46a2017-08-23 13:30:002562const char kThirdPartyDoodlesName[] =
2563 "Enable Doodles for third-party search engines";
2564const char kThirdPartyDoodlesDescription[] =
2565 "Enables fetching and displaying Doodles on the NTP for third-party search "
2566 "engines.";
2567
Klaus Weidneraaf697f2018-01-18 20:07:362568const char kWebXrRenderPathName[] = "WebXR presentation render path";
2569const char kWebXrRenderPathDescription[] =
2570 "Render path to use for WebXR presentation (including WebVR)";
2571const char kWebXrRenderPathChoiceClientWaitDescription[] =
2572 "ClientWait (Baseline)";
2573const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2574 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072575const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2576 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362577
Brett Wilson7b44537e2017-08-18 01:38:282578// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552579
Brett Wilson7b44537e2017-08-18 01:38:282580#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482581
Brett Wilson7b44537e2017-08-18 01:38:282582const char kAccountConsistencyName[] =
2583 "Identity consistency between browser and cookie jar";
2584const char kAccountConsistencyDescription[] =
2585 "When enabled, the browser manages signing in and out of Google accounts.";
2586const char kAccountConsistencyChoiceMirror[] = "Mirror";
2587const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342588
Chris Pickel3a227ae62017-08-24 10:47:262589const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2590const char kDoodlesOnLocalNtpDescription[] =
2591 "Show doodles on the local New Tab page if Google is the default search "
2592 "engine.";
2593
mlamouriff56c092017-05-11 15:31:392594const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392595const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342596 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392597const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392598const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392599const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342600 "Enabled (Flash lowers volume when interrupted by other sound, "
2601 "experimental)";
2602
Sebastien Marchandd33f7dc2018-06-22 22:07:062603const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2604const char kInfiniteSessionRestoreDescription[] =
2605 "Reduces the number of tabs being loaded simultaneously during session "
2606 "restore, to improve responsiveness of the foreground tab. This requires "
2607 "#enable-page-almost-idle.";
2608
Brett Wilson7b44537e2017-08-18 01:38:282609const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2610const char kEnableNewAppMenuIconDescription[] =
2611 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342612
Sebastien Marchandd33f7dc2018-06-22 22:07:062613const char kEnableWebAuthenticationCtap2SupportName[] =
2614 "Enable Web Authentication API support for CTAP2 security keys";
2615const char kEnableWebAuthenticationCtap2SupportDescription[] =
2616 "Enable CTAP2 security keys for the Web Authenication API.";
2617
2618const char kEnableWebAuthenticationTestingAPIName[] =
2619 "Web Authentication Testing API";
2620const char kEnableWebAuthenticationTestingAPIDescription[] =
2621 "Enable Web Authentication Testing API support, which disconnects the API "
2622 "implementation from the real world, and allows configuring virtual "
2623 "authenticator devices for testing";
2624
Dave Schuyler598a4a42018-01-04 02:15:102625const char kOmniboxRichEntitySuggestionsName[] =
2626 "Omnibox rich entity suggestions";
2627const char kOmniboxRichEntitySuggestionsDescription[] =
2628 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212629 "more context and descriptive text about the entity. Has no effect unless "
2630 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2631 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102632
Dave Schuyler616273d2018-04-19 03:12:522633const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2634const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212635 "Display answers using an enhanced layout with larger images. Has no "
2636 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2637 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522638
Kevin Bailey898669972017-11-06 15:34:492639const char kOmniboxTabSwitchSuggestionsName[] =
2640 "Omnibox tab switch suggestions";
2641const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212642 "Enable suggestions for switching to open tabs within the Omnibox. "
2643 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2644 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492645
krbcc621412017-06-01 19:40:282646const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2647const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192648 "Enable receiving tail suggestions, a type of search suggestion based on "
2649 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342650
Brett Wilson7b44537e2017-08-18 01:38:282651const char kOneGoogleBarOnLocalNtpName[] =
2652 "Enable the OneGoogleBar on the local NTP";
2653const char kOneGoogleBarOnLocalNtpDescription[] =
2654 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2655 "search engine.";
2656
Sebastien Marchandd33f7dc2018-06-22 22:07:062657const char kPageAlmostIdleName[] = "Page Almost Idle";
2658const char kPageAlmostIdleDescription[] =
2659 "Make session restore use a definition of loading that waits for CPU and "
2660 "network quiescence.";
2661
2662const char kProactiveTabFreezeAndDiscardName[] =
2663 "Proactive Tab Freeze and Discard";
2664const char kProactiveTabFreezeAndDiscardDescription[] =
2665 "Enables proactive tab freezing and discarding. This requires "
2666 "#enable-page-almost-idle.";
2667
2668const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2669const char kSiteCharacteristicsDatabaseDescription[] =
2670 "Records usage of some features in a database while a tab is in background "
2671 "(title/favicon update, audio playback or usage of non-persistent "
2672 "notifications).";
2673
Brett Wilson7b44537e2017-08-18 01:38:282674const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2675const char kUseGoogleLocalNtpDescription[] =
2676 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322677
Brett Wilson7b44537e2017-08-18 01:38:282678const char kVoiceSearchOnLocalNtpName[] =
2679 "Enable Voice Search on the local NTP";
2680const char kVoiceSearchOnLocalNtpDescription[] =
2681 "Show a microphone for voice search on the local New Tab page "
2682 "if Google is the default search engine.";
2683
2684#if defined(GOOGLE_CHROME_BUILD)
2685
2686const char kGoogleBrandedContextMenuName[] =
2687 "Google branding in the context menu";
2688const char kGoogleBrandedContextMenuDescription[] =
2689 "Shows a Google icon next to context menu items powered by Google "
2690 "services.";
2691
2692#endif // !defined(GOOGLE_CHROME_BUILD)
2693
2694#endif // !defined(OS_ANDROID)
2695
2696// Windows ---------------------------------------------------------------------
2697
2698#if defined(OS_WIN)
2699
2700const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2701const char kCloudPrintXpsDescription[] =
2702 "XPS enables advanced options for classic printers connected to the Cloud "
2703 "Print with Chrome. Printers must be re-connected after changing this "
2704 "flag.";
2705
2706const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2707const char kDisablePostscriptPrintingDescription[] =
2708 "Disables PostScript generation when printing to PostScript capable "
2709 "printers, and uses EMF generation in its place.";
2710
2711const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2712const char kEnableAppcontainerDescription[] =
2713 "Enables the use of an AppContainer on sandboxed processes to improve "
2714 "security.";
2715
Brett Wilson7b44537e2017-08-18 01:38:282716const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2717const char kEnableDesktopIosPromotionsDescription[] =
2718 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2719 "eligible.";
2720
James Forshawfd0ce342018-02-14 09:55:392721const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2722const char kEnableGpuAppcontainerDescription[] =
2723 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2724 "improve security.";
2725
Brett Wilson7b44537e2017-08-18 01:38:282726const char kGdiTextPrinting[] = "GDI Text Printing";
2727const char kGdiTextPrintingDescription[] =
2728 "Use GDI to print text as simply text";
2729
Henrik Grunell67e56ef2018-04-10 14:04:092730const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2731const char kIncreaseInputAudioBufferSizeDescription[] =
2732 "Increases the input audio endpoint buffer to 100 ms.";
2733
Brett Wilson7b44537e2017-08-18 01:38:282734const char kTraceExportEventsToEtwName[] =
2735 "Enable exporting of tracing events to ETW.";
2736const char kTraceExportEventsToEtwDesription[] =
2737 "If enabled, trace events will be exported to the Event Tracing for "
2738 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2739 "Xperf.";
2740
2741const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2742const char kUseWinrtMidiApiDescription[] =
2743 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2744 "later).";
2745
2746const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2747const char kWindows10CustomTitlebarDescription[] =
2748 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2749 "deferring to Windows.";
2750
2751#endif // defined(OS_WIN)
2752
2753// Mac -------------------------------------------------------------------------
2754
2755#if defined(OS_MACOSX)
2756
Brett Wilson7b44537e2017-08-18 01:38:282757const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2758const char kAppWindowCyclingDescription[] =
2759 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2760 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2761 "browser window, and browser windows will not be cycled when a Chrome App "
2762 "is active.";
2763
Brett Wilson7b44537e2017-08-18 01:38:282764const char kFullscreenToolbarRevealName[] =
2765 "Enables the toolbar in fullscreen to reveal itself.";
2766const char kFullscreenToolbarRevealDescription[] =
2767 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2768 "has changed.";
2769
2770const char kContentFullscreenName[] = "Improved Content Fullscreen";
2771const char kContentFullscreenDescription[] =
2772 "Fullscreen content window detaches from main browser window and goes to "
2773 "a new space without moving or changing the original browser window.";
2774
Lei Zhang2eca9082017-10-17 20:42:502775const char kDialogTouchBarName[] = "Dialog Touch Bar";
2776const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282777 "Shows Dialog buttons on the Touch Bar.";
2778
2779const char kHostedAppsInWindowsName[] =
2780 "Allow hosted apps to be opened in windows";
2781const char kHostedAppsInWindowsDescription[] =
2782 "Allows hosted apps to be opened in windows instead of being limited to "
2783 "tabs.";
2784
Lei Zhang2eca9082017-10-17 20:42:502785const char kMacRTLName[] = "Enable RTL";
2786const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282787
Lei Zhang2eca9082017-10-17 20:42:502788const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2789const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522790 "Enables sharing via macOS share extensions.";
2791
Lei Zhang2eca9082017-10-17 20:42:502792const char kMacTouchBarName[] = "Hardware Touch Bar";
2793const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282794
2795const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2796const char kMacV2SandboxDescription[] =
2797 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2798 "entire life cycle.";
2799
2800const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2801const char kMacViewsNativeAppWindowsDescription[] =
2802 "Controls whether to use Toolkit-Views based Chrome App windows.";
2803
2804const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2805const char kMacViewsTaskManagerDescription[] =
2806 "Controls whether to use the Toolkit-Views based Task Manager.";
2807
Tessa Nijssenc4b101232018-06-25 20:28:082808const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2809const char kSuggestedTextTouchBarDescription[] =
2810 "Enable suggested text touch bar for textfields.";
2811
Brett Wilson7b44537e2017-08-18 01:38:282812const char kTabDetachingInFullscreenName[] =
2813 "Allow tab detaching in fullscreen";
2814const char kTabDetachingInFullscreenDescription[] =
2815 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2816
2817const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2818const char kTabStripKeyboardFocusDescription[] =
2819 "Enable keyboard focus for the tabs in the tab strip.";
2820
Brett Wilson7b44537e2017-08-18 01:38:282821#endif
2822
2823// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342824
2825#if defined(OS_CHROMEOS)
2826
Brett Wilson7b44537e2017-08-18 01:38:282827const char kAcceleratedMjpegDecodeName[] =
2828 "Hardware-accelerated mjpeg decode for captured frame";
2829const char kAcceleratedMjpegDecodeDescription[] =
2830 "Enable hardware-accelerated mjpeg decode for captured frame where "
2831 "available.";
vabr0215a8e2017-03-28 12:47:342832
Brett Wilson7b44537e2017-08-18 01:38:282833const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2834const char kAllowTouchpadThreeFingerClickDescription[] =
2835 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342836
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522837const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2838const char kArcAvailableForChildDescription[] =
2839 "Allow child accounts to start Android apps.";
2840
Brett Wilson7b44537e2017-08-18 01:38:282841const char kArcBootCompleted[] = "Load Android apps automatically";
2842const char kArcBootCompletedDescription[] =
2843 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342844
Luum Habtemariamdaa8fd22018-06-25 22:39:432845const char kArcCupsApiName[] = "ARC CUPS API";
2846const char kArcCupsApiDescription[] =
2847 "Enables support of libcups APIs from ARC";
2848
Lev Rumyantsev7a8544312017-08-18 19:26:512849const char kArcNativeBridgeExperimentName[] =
2850 "Enable native bridge experiment for ARC";
2851const char kArcNativeBridgeExperimentDescription[] =
2852 "Enables experimental native bridge feature.";
2853
lgchengecd1c1a62018-01-09 02:59:462854const char kArcUsbHostName[] = "Enable ARC USB host integration";
2855const char kArcUsbHostDescription[] =
2856 "Allow Android apps to use USB host feature on ChromeOS devices.";
2857
Kevin Cernekeeb7f96a52017-10-25 17:40:182858const char kArcVpnName[] = "Enable ARC VPN integration";
2859const char kArcVpnDescription[] =
2860 "Allow Android VPN clients to tunnel Chrome traffic.";
2861
Qiang Xu045aff222018-05-21 23:21:012862const char kAshDisableLoginDimAndBlurName[] =
2863 "Disable dimming and blur on login screen.";
2864const char kAshDisableLoginDimAndBlurDescription[] =
2865 "Disable dimming and blur on login screen.";
2866
2867const char kAshDisableSmoothScreenRotationName[] =
2868 "Disable smooth rotation animations.";
2869const char kAshDisableSmoothScreenRotationDescription[] =
2870 "Disable smooth rotation animations.";
2871
2872const char kAshEnableDisplayMoveWindowAccelsName[] =
2873 "Enable shortcuts for moving window between displays.";
2874const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2875 "Enable shortcuts for moving window between displays.";
2876
2877const char kAshEnableKeyboardShortcutViewerName[] =
2878 "Enable keyboard shortcut viewer.";
2879const char kAshEnableKeyboardShortcutViewerDescription[] =
2880 "Enable keyboard shortcut viewer.";
2881
2882const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2883const char kAshEnableMirroredScreenDescription[] =
2884 "Enable the mirrored screen mode. This mode flips the screen image "
2885 "horizontally.";
2886
2887const char kAshEnableNewOverviewAnimationsName[] =
2888 "Enable new overview animations.";
2889const char kAshEnableNewOverviewAnimationsDescription[] =
2890 "Enables the new overview mode animations.";
2891
2892const char kAshEnablePersistentWindowBoundsName[] =
2893 "Enable persistent window bounds in multi-displays scenario.";
2894const char kAshEnablePersistentWindowBoundsDescription[] =
2895 "Enable persistent window bounds in multi-displays scenario.";
2896
2897const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2898const char kAshEnableTrilinearFilteringDescription[] =
2899 "Enable trilinear filtering.";
2900
Brett Wilson7b44537e2017-08-18 01:38:282901const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2902const char kAshEnableUnifiedDesktopDescription[] =
2903 "Enable unified desktop mode which allows a window to span multiple "
2904 "displays.";
vabr0215a8e2017-03-28 12:47:342905
Mike Wassermanfcc47e42018-06-14 21:24:422906const char kAshKeyboardShortcutViewerAppName[] =
2907 "Keyboard Shortcut Viewer mojo app";
2908const char kAshKeyboardShortcutViewerAppDescription[] =
2909 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2910
Qiang Xu045aff222018-05-21 23:21:012911const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2912const char kAshShelfColorDescription[] =
2913 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2914 "--ash-shelf-color-scheme flag defines how that color is derived.";
2915
2916const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2917const char kAshShelfColorSchemeDescription[] =
2918 "Specify how the color is derived from the wallpaper. This flag is only "
2919 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2920const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2921const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2922const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2923const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2924const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2925const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2926
Sean Kau5e956192017-10-06 22:25:172927const char kBulkPrintersName[] = "Bulk Printers Policy";
2928const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2929
Brett Wilson7b44537e2017-08-18 01:38:282930const char kCaptivePortalBypassProxyName[] =
2931 "Bypass proxy for Captive Portal Authorization";
2932const char kCaptivePortalBypassProxyDescription[] =
2933 "If proxy is configured, it usually prevents from authorization on "
2934 "different captive portals. This enables opening captive portal "
2935 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342936
Brett Wilson7b44537e2017-08-18 01:38:282937const char kCrOSComponentName[] = "Chrome OS Component";
2938const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082939 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342940
Xiaochu Liu51d03fd2017-09-08 23:51:022941const char kCrOSContainerName[] = "Chrome OS Container";
2942const char kCrOSContainerDescription[] =
2943 "Enable the use of Chrome OS Container utility.";
2944
Brett Wilson7b44537e2017-08-18 01:38:282945const char kCrosRegionsModeName[] = "Cros-regions load mode";
2946const char kCrosRegionsModeDescription[] =
2947 "This flag controls cros-regions load mode";
2948const char kCrosRegionsModeDefault[] = "Default";
2949const char kCrosRegionsModeOverride[] = "Override VPD values.";
2950const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342951
Jacob Dufault2becbc482017-08-25 00:36:352952const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2953const char kDisableLockScreenAppsDescription[] =
2954 "Disable new-note action handler apps on the lock screen. The user will "
2955 "not be able to launch the preferred note-taking action from the lock "
2956 "screen, provided that the app supports lock screen note taking.";
2957
Qiang Xu045aff222018-05-21 23:21:012958const char kDisableSystemTimezoneAutomaticDetectionName[] =
2959 "SystemTimezoneAutomaticDetection policy support";
2960const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2961 "Disable system timezone automatic detection device policy.";
2962
Sammie Quonef6b4882017-09-14 16:50:052963const char kDisableTabletAutohideTitlebarsName[] =
2964 "Disable autohide titlebars in tablet mode";
2965const char kDisableTabletAutohideTitlebarsDescription[] =
2966 "Disable tablet mode autohide titlebars functionality. The user will be "
2967 "able to see the titlebar in tablet mode.";
2968
Xiaoqian Dai24b33eb2018-04-10 21:01:572969const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2970const char kDisableTabletSplitViewDescription[] =
2971 "Disable split view for Chrome OS tablet mode.";
2972
Qiang Xu53d1a5832018-05-24 18:44:192973const char kEnableAppShortcutSearchName[] =
2974 "Enable app shortcut search in launcher";
2975const char kEnableAppShortcutSearchDescription[] =
2976 "Enables app shortcut search in launcher";
2977
Weidong Guo00d0b2b2018-06-07 00:39:302978const char kEnableAppsGridGapFeatureName[] =
2979 "Enable apps grid gap feature in launcher.";
2980const char kEnableAppsGridGapFeatureDescription[] =
2981 "Enables gaps at the end of each page and enables dragging an item to an "
2982 "empty page in launcher.";
2983
Lei Zhang2eca9082017-10-17 20:42:502984const char kEnableBackgroundBlurName[] = "Enable background blur.";
2985const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422986 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392987
Brett Wilson7b44537e2017-08-18 01:38:282988const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2989const char kEnableChromevoxArcSupportDescription[] =
2990 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342991
F#m75862c92018-01-25 19:10:472992const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2993const char kEnableDisplayZoomSettingDescription[] =
2994 "Allows the user to modify the display size or zoom via the chrome display "
2995 "settings page.";
2996
Min Chenc2ec7282018-06-29 21:38:462997const char kEnableDragAppsInTabletModeName[] =
2998 "Enable dragging apps in tablet mode";
2999const char kEnableDragAppsInTabletModeDescription[] =
3000 "If enabled, swiping down from the top of the screen when an app is opened "
3001 "in tablet mode can drag the app.";
3002
Xiaoqian Dai82d99192018-05-25 18:51:353003const char kEnableDragTabsInTabletModeName[] =
3004 "Enable dragging tabs in tablet mode";
3005const char kEnableDragTabsInTabletModeDescription[] =
3006 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3007
Sam McNally201fbf94e2018-07-04 03:15:203008const char kEnableDriveFsName[] = "Enable DriveFS";
3009const char kEnableDriveFsDescription[] =
3010 "Enables use of the new DriveFS-based Drive sync client.";
3011
Brett Wilson7b44537e2017-08-18 01:38:283012const char kEnableEhvInputName[] =
3013 "Emoji, handwriting and voice input on opt-in IME menu";
3014const char kEnableEhvInputDescription[] =
3015 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343016
Brett Wilson7b44537e2017-08-18 01:38:283017const char kEnableEncryptionMigrationName[] =
3018 "Enable encryption migration of user data";
3019const char kEnableEncryptionMigrationDescription[] =
3020 "If enabled and the device supports ARC, the user will be asked to update "
3021 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343022
Blake O'Hare9e9317b22017-10-24 02:49:353023const char kEnableFloatingVirtualKeyboardName[] =
3024 "Enable floating virtual keyboard";
3025const char kEnableFloatingVirtualKeyboardDescription[] =
3026 "If enabled, the keyboard will use floating behavior by default.";
3027
Qiang Xu045aff222018-05-21 23:21:013028const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3029 "Enable full screen handwriting virtual keyboard";
3030const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3031 "If enabled, the handwriting virtual keyboard will allow user to write "
3032 "anywhere on the screen";
3033
3034const char kEnableHomeLauncherName[] = "Enable home launcher";
3035const char kEnableHomeLauncherDescription[] =
3036 "Enable home launcher in tablet mode.";
3037
Brett Wilson7b44537e2017-08-18 01:38:283038const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3039const char kEnableImeMenuDescription[] =
3040 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343041
Weidong Guo45836d1b2018-06-27 23:51:163042const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3043const char kEnableNewStyleLauncherDescription[] =
3044 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3045 "in app launcher.";
3046
Qiang Xu045aff222018-05-21 23:21:013047const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3048const char kEnableNewWallpaperPickerDescription[] =
3049 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3050
3051const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3052const char kEnablePerUserTimezoneDescription[] =
3053 "Chrome OS system timezone preference is stored and handled for each user "
3054 "individually.";
3055
3056const char kEnableSettingsShortcutSearchName[] =
3057 "Enable Settings shortcut search";
3058const char kEnableSettingsShortcutSearchDescription[] =
3059 "Enable Settings shortcut search in launcher.";
3060
Darren Shen3e49c63d2018-03-28 04:45:503061const char kEnableStylusVirtualKeyboardName[] =
3062 "Enable stylus virtual keyboard";
3063const char kEnableStylusVirtualKeyboardDescription[] =
3064 "If enabled, tapping with a stylus will show the handwriting virtual "
3065 "keyboard.";
3066
Jordy Greenblatt2f23df22018-02-22 19:49:193067const char kEnableUnifiedMultiDeviceSettingsName[] =
3068 "Enable unified MultiDevice settings";
3069const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3070 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3071 "MultiDevice settings.";
3072
3073const char kEnableUnifiedMultiDeviceSetupName[] =
3074 "Enable unified MultiDevice setup";
3075const char kEnableUnifiedMultiDeviceSetupDescription[] =
3076 "Enable the device to setup all MultiDevice services in a single workflow.";
3077
Darren Shen11c770f312018-06-13 07:36:393078const char kEnableVirtualKeyboardMdUiName[] =
3079 "Enable Material Design virtual keyboard";
3080const char kEnableVirtualKeyboardMdUiDescription[] =
3081 "If enabled, loads the Material Design UI for the virtual keyboard.";
3082
Klemen Kozjek05fc4512017-10-18 12:51:103083const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3084const char kEnableZipArchiverPackerDescription[] =
3085 "Enable the ability to archive files on Drive in the Files app";
3086
Brett Wilson7b44537e2017-08-18 01:38:283087const char kEolNotificationName[] = "Disable Device End of Life notification.";
3088const char kEolNotificationDescription[] =
3089 "Disable Notifcation when Device is End of Life.";
3090
3091const char kExperimentalAccessibilityFeaturesName[] =
3092 "Experimental accessibility features";
3093const char kExperimentalAccessibilityFeaturesDescription[] =
3094 "Enable additional accessibility features in the Settings page.";
3095
3096const char kExperimentalInputViewFeaturesName[] =
3097 "Experimental input view features";
3098const char kExperimentalInputViewFeaturesDescription[] =
3099 "Enable experimental features for IME input views.";
3100
3101const char kFileManagerTouchModeName[] = "Files App. touch mode";
3102const char kFileManagerTouchModeDescription[] =
3103 "Touchscreen-specific interactions of the Files app.";
3104
3105const char kFirstRunUiTransitionsName[] =
3106 "Animated transitions in the first-run tutorial";
3107const char kFirstRunUiTransitionsDescription[] =
3108 "Transitions during first-run tutorial are animated.";
3109
Brett Wilson7b44537e2017-08-18 01:38:283110const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3111const char kForceEnableStylusToolsDescription[] =
3112 "Forces display of the stylus tools menu in the shelf and the stylus "
3113 "section in settings, even if there is no attached stylus device.";
3114
3115const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3116const char kGestureEditingDescription[] =
3117 "Enable/Disable gesture editing option in the settings page for the "
3118 "virtual keyboard.";
3119
3120const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3121const char kGestureTypingDescription[] =
3122 "Enable/Disable gesture typing option in the settings page for the virtual "
3123 "keyboard.";
3124
3125const char kInputViewName[] = "Input views";
3126const char kInputViewDescription[] =
3127 "Enable IME extensions to supply custom views for user input such as "
3128 "virtual keyboards.";
3129
Megumi Hattori5a0d4182018-03-06 11:09:503130const char kLockScreenNotificationName[] = "Lock screen notification";
3131const char kLockScreenNotificationDescription[] =
3132 "Enable notifications on the lock screen.";
3133
Qiang Xu045aff222018-05-21 23:21:013134const char kMaterialDesignInkDropAnimationSpeedName[] =
3135 "Material design ink drop animation speed";
3136const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3137 "Sets the speed of the experimental visual feedback animations for "
3138 "material design.";
3139const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3140const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3141
Brett Wilson7b44537e2017-08-18 01:38:283142const char kMemoryPressureThresholdName[] =
3143 "Memory discard strategy for advanced pressure handling";
3144const char kMemoryPressureThresholdDescription[] =
3145 "Memory discarding strategy to use";
3146const char kConservativeThresholds[] =
3147 "Conservative memory pressure release strategy";
3148const char kAggressiveCacheDiscardThresholds[] =
3149 "Aggressive cache release strategy";
3150const char kAggressiveTabDiscardThresholds[] =
3151 "Aggressive tab release strategy";
3152const char kAggressiveThresholds[] =
3153 "Aggressive tab and cache release strategy";
3154
3155const char kMtpWriteSupportName[] = "MTP write support";
3156const char kMtpWriteSupportDescription[] =
3157 "MTP write support in File System API (and file manager). In-place editing "
3158 "operations are not supported.";
3159
Kyle Horimoto027590fb2018-02-13 22:19:483160const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3161const char kMultiDeviceApiDescription[] =
3162 "Enable Mojo-based API which provides synced device metadata and the "
3163 "ability to connect to other devices associated the logged-in Google "
3164 "account.";
3165
Bailey Berrodca8eeca02017-11-18 00:49:123166const char kNativeSmbName[] = "Native Smb Client";
3167const char kNativeSmbDescription[] =
3168 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303169
vabr0215a8e2017-03-28 12:47:343170const char kNetworkPortalNotificationName[] =
3171 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343172const char kNetworkPortalNotificationDescription[] =
3173 "If enabled, notification is displayed when device is connected to a "
3174 "network behind captive portal.";
3175
Brett Wilson7b44537e2017-08-18 01:38:283176const char kNewKoreanImeName[] = "New Korean IME";
3177const char kNewKoreanImeDescription[] =
3178 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343179
Brett Wilson7b44537e2017-08-18 01:38:283180const char kNewZipUnpackerName[] = "New ZIP unpacker";
3181const char kNewZipUnpackerDescription[] =
3182 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343183
Qiang Xu045aff222018-05-21 23:21:013184const char kOfficeEditingComponentAppName[] =
3185 "Office Editing for Docs, Sheets & Slides";
3186const char kOfficeEditingComponentAppDescription[] =
3187 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3188
Brett Wilson7b44537e2017-08-18 01:38:283189const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3190const char kPhysicalKeyboardAutocorrectDescription[] =
3191 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3192 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343193
3194const char kPrinterProviderSearchAppName[] =
3195 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343196const char kPrinterProviderSearchAppDescription[] =
3197 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193198 "searches Chrome Web Store for extensions that support printing to a USB "
3199 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343200
Brett Wilson7b44537e2017-08-18 01:38:283201const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3202const char kQuickUnlockPinDescription[] =
3203 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3204 "device on the lock screen after you have signed into your device.";
3205const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3206const char kQuickUnlockPinSigninDescription[] =
3207 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3208 "device. After changing this flag PIN needs to be set up again.";
3209const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3210const char kQuickUnlockFingerprintDescription[] =
3211 "Enabling fingerprint quick unlock allows you to setup and use a "
3212 "fingerprint to unlock your Chromebook on the lock screen after you have "
3213 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343214
James Cook0ba192bf2017-12-01 20:53:113215const char kShowTapsName[] = "Show taps";
3216const char kShowTapsDescription[] =
3217 "Draws a circle at each touch point, which makes touch points more obvious "
3218 "when projecting or mirroring the display. Similar to the Android OS "
3219 "developer option.";
3220
3221const char kShowTouchHudName[] = "Show HUD for touch points";
3222const char kShowTouchHudDescription[] =
3223 "Shows a trail of colored dots for the last few touch points. Pressing "
3224 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3225 "debug hardware issues that generate spurious touch events.";
3226
Chung-Sheng Wu468b0b32017-09-01 14:41:573227const char kSysInternalsName[] = "Enable Sys-Internals";
3228const char kSysInternalsDescription[] =
3229 "If enabled, user can monitor system information at "
3230 "chrome://sys-internals.";
3231
James Cooka9384092018-05-23 02:54:263232const char kTapVisualizerAppName[] = "Show taps with mojo app";
3233const char kTapVisualizerAppDescription[] =
3234 "Use an out-of-process mojo app to show touch points.";
3235
Stuart Langleyc981ac62018-06-21 14:38:253236const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3237const char kDisableTeamDrivesDescription[] =
3238 "If disabled, files under Team Drives will no longer appear in the Files "
3239 "app.";
vabr0215a8e2017-03-28 12:47:343240
Brett Wilson7b44537e2017-08-18 01:38:283241const char kTetherName[] = "Instant Tethering";
3242const char kTetherDescription[] =
3243 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3244 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373245
Brett Wilson7b44537e2017-08-18 01:38:283246const char kTouchscreenCalibrationName[] =
3247 "Enable/disable touchscreen calibration option in material design settings";
3248const char kTouchscreenCalibrationDescription[] =
3249 "If enabled, the user can calibrate the touch screen displays in "
3250 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093251
Qiang Xu045aff222018-05-21 23:21:013252const char kUiDevToolsName[] = "Enable native UI inspection";
3253const char kUiDevToolsDescription[] =
3254 "Enables inspection of native UI elements. For local inspection use "
3255 "chrome://inspect#other";
3256
3257const char kUiShowCompositedLayerBordersName[] =
3258 "Show UI composited layer borders";
3259const char kUiShowCompositedLayerBordersDescription[] =
3260 "Show border around composited layers created by UI.";
3261const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3262const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3263const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3264const char kUiShowCompositedLayerBordersAll[] = "All";
3265
3266const char kUiSlowAnimationsName[] = "Slow UI animations";
3267const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3268
Mitsuru Oshima63d3f2a2017-08-23 00:12:113269// Force UI Mode
3270const char kUiModeName[] = "Force Ui Mode";
3271const char kUiModeDescription[] =
3272 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3273 R"*(despite its current orientation. "Tablet" means that the )*"
3274 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3275 R"*(means that the chromebook will act as if it were in clamshell )*"
3276 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3277 R"*(the two, based on its orientation.)*";
3278const char kUiModeTablet[] = "TouchView";
3279const char kUiModeClamshell[] = "Clamshell";
3280const char kUiModeAuto[] = "Auto (default)";
3281
James Cooka1bcfa9a2018-01-30 00:18:403282const char kUseMashName[] = "Out-of-process system UI (mash)";
3283const char kUseMashDescription[] =
3284 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3285 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283286
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343287// TODO(mcasas): remove after https://crbug.com/771345.
3288const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3289const char kUseMonitorColorSpaceDescription[] =
3290 "Enables Chrome to use the color space information provided by the monitor"
3291 " instead of the default sRGB color space.";
3292
Brett Wilson7b44537e2017-08-18 01:38:283293const char kVideoPlayerChromecastSupportName[] =
3294 "Experimental Chromecast support for Video Player";
3295const char kVideoPlayerChromecastSupportDescription[] =
3296 "This option enables experimental Chromecast support for Video Player app "
3297 "on ChromeOS.";
3298
3299const char kVirtualKeyboardName[] = "Virtual Keyboard";
3300const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3301
3302const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3303const char kVirtualKeyboardOverscrollDescription[] =
3304 "Enables virtual keyboard overscroll support.";
3305
3306const char kVoiceInputName[] = "Voice input on virtual keyboard";
3307const char kVoiceInputDescription[] =
3308 "Enables voice input on virtual keyboard.";
3309
3310const char kWakeOnPacketsName[] = "Wake On Packets";
3311const char kWakeOnPacketsDescription[] =
3312 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203313
Qiang Xu53d1a5832018-05-24 18:44:193314const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3315const char kZipArchiverUnpackerDescription[] =
3316 "Enable or disable the ability to unpack archives in incognito mode";
3317
yhanadac5bff5b2017-05-18 06:37:093318#endif // defined(OS_CHROMEOS)
3319
Brett Wilson7b44537e2017-08-18 01:38:283320// Random platform combinations -----------------------------------------------
3321
3322#if defined(OS_WIN) || defined(OS_LINUX)
3323
3324const char kEnableInputImeApiName[] = "Enable Input IME API";
3325const char kEnableInputImeApiDescription[] =
3326 "Enable the use of chrome.input.ime API.";
3327
Tom Anderson6cbd5052018-05-03 23:49:543328#if !defined(OS_CHROMEOS)
3329
3330const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3331const char kWarnBeforeQuittingFlagDescription[] =
3332 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3333
3334#endif // !defined(OS_CHROMEOS)
3335
Brett Wilson7b44537e2017-08-18 01:38:283336#endif // defined(OS_WIN) || defined(OS_LINUX)
3337
3338#if defined(OS_WIN) || defined(OS_MACOSX)
3339
3340const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3341const char kAutomaticTabDiscardingDescription[] =
3342 "If enabled, tabs get automatically discarded from memory when the system "
3343 "memory is low. Discarded tabs are still visible on the tab strip and get "
3344 "reloaded when clicked on. Info about discarded tabs can be found at "
3345 "chrome://discards.";
3346
3347#endif // defined(OS_WIN) || defined(OS_MACOSX)
3348
lanwei83f54452018-06-21 23:51:043349#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3350
3351const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3352const char kDirectManipulationStylusDescription[] =
3353 "If enabled, Chrome will scroll web pages on stylus drag.";
3354
3355#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3356
Justin Donnelly110e40c2018-06-01 21:48:433357const char kExperimentalUiName[] = "Use all upcoming UI features";
3358const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483359
Brett Wilson7b44537e2017-08-18 01:38:283360// Feature flags --------------------------------------------------------------
3361
3362#if BUILDFLAG(ENABLE_VR)
3363
David Dorwin5a496c32017-11-17 01:45:053364const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3365const char kWebVrVsyncAlignDescription[] =
3366 "Align WebVR application rendering with VSync for smoother animations.";
3367
Brett Wilson7b44537e2017-08-18 01:38:283368#if defined(OS_ANDROID)
3369
Yash Malikb78e72a72018-02-21 09:14:103370const char kVrWebInputEditingName[] = "VR browsing web input editing";
3371const char kVrWebInputEditingDescription[] =
3372 "Allow editing web input fields while in VR mode.";
3373
David Dorwin5a496c32017-11-17 01:45:053374const char kVrBrowsingExperimentalFeaturesName[] =
3375 "VR browsing experimental features";
3376const char kVrBrowsingExperimentalFeaturesDescription[] =
3377 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283378
David Dorwin5a496c32017-11-17 01:45:053379const char kVrBrowsingExperimentalRenderingName[] =
3380 "VR browsing experimental rendering features";
3381const char kVrBrowsingExperimentalRenderingDescription[] =
3382 "Experimental rendering features for VR browsing (e.g. power-saving "
3383 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103384
David Dorwin5a496c32017-11-17 01:45:053385const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3386const char kVrBrowsingInCustomTabDescription[] =
3387 "Allow browsing within a VR headset while in a Custom Tab.";
3388
David Dorwin5a496c32017-11-17 01:45:053389const char kWebVrAutopresentFromIntentName[] =
3390 "WebVR auto presentation from intents";
3391const char kWebVrAutopresentFromIntentDescription[] =
3392 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283393
3394#endif // OS_ANDROID
3395
Bill Orr103ed272018-02-14 21:23:053396#if BUILDFLAG(ENABLE_OCULUS_VR)
3397const char kOculusVRName[] = "Oculus hardware support";
3398const char kOculusVRDescription[] =
3399 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3400 "Windows 10 or later).";
3401#endif // ENABLE_OCULUS_VR
3402
Bill Orr49527562017-11-22 16:58:483403#if BUILDFLAG(ENABLE_OPENVR)
3404const char kOpenVRName[] = "OpenVR hardware support";
3405const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073406 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3407 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483408#endif // ENABLE_OPENVR
3409
Brett Wilson7b44537e2017-08-18 01:38:283410#endif // ENABLE_VR
3411
Nico Weberaf3b00b2017-09-11 17:58:173412#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283413
3414const char kNaclDebugMaskName[] =
3415 "Restrict Native Client GDB-based debugging by pattern";
3416const char kNaclDebugMaskDescription[] =
3417 "Restricts Native Client application GDB-based debugging by URL of "
3418 "manifest file. Native Client GDB-based debugging must be enabled for this "
3419 "option to work.";
3420const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3421const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3422 "Debug everything except secure shell and the PNaCl translator.";
3423const char kNaclDebugMaskChoiceIncludeDebug[] =
3424 "Debug only if manifest URL ends with debug.nmf.";
3425
3426const char kNaclDebugName[] = "Native Client GDB-based debugging";
3427const char kNaclDebugDescription[] =
3428 "Enable GDB debug stub. This will stop a Native Client application on "
3429 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3430
3431const char kNaclName[] = "Native Client";
3432const char kNaclDescription[] =
3433 "Support Native Client for all web applications, even those that were not "
3434 "installed from the Chrome Web Store.";
3435
3436const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3437const char kPnaclSubzeroDescription[] =
3438 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3439
Nico Weberaf3b00b2017-09-11 17:58:173440#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283441
Brett Wilson7b44537e2017-08-18 01:38:283442const char kWebrtcH264WithOpenh264FfmpegName[] =
3443 "WebRTC H.264 software video encoder/decoder";
3444const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3445 "When enabled, an H.264 software video encoder/decoder pair is included. "
3446 "If a hardware encoder/decoder is also available it may be used instead of "
3447 "this encoder/decoder.";
3448
Brett Wilson7b44537e2017-08-18 01:38:283449#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3450
3451const char kAutofillCreditCardUploadName[] =
3452 "Enable offering upload of Autofilled credit cards";
3453const char kAutofillCreditCardUploadDescription[] =
3454 "Enables a new option to upload credit cards to Google Payments for sync "
3455 "to all Chrome devices.";
3456
3457#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3458
Becca Hughesdc96e842018-05-04 22:48:283459#if defined(OS_ANDROID)
3460
3461const char kDisplayCutoutAPIName[] =
3462 "Enable support for the Display Cutout API";
3463const char kDisplayCutoutAPIDescription[] =
3464 "Enables developers to support devices that have a display cutout.";
3465
3466#endif // defined(OS_ANDROID)
3467
Brett Wilson7b44537e2017-08-18 01:38:283468// ============================================================================
3469// Don't just add flags to the end, put them in the right section in
3470// alphabetical order just like the header file.
3471// ============================================================================
3472
vabr0215a8e2017-03-28 12:47:343473} // namespace flag_descriptions