blob: 3857967545f02b2251773fed9d5e3d92891a5555 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
Kunihiko Sakamoto4d407982018-07-10 04:56:2938const char kAllowSignedHTTPExchangeCertsWithoutExtensionName[] =
39 "Allow Signed HTTP Exchange certificates without extension";
40const char kAllowSignedHTTPExchangeCertsWithoutExtensionDescription[] =
41 "Accepts Origin-Signed HTTP Exchanges to be signed with certificates "
42 "that do not have CanSignHttpExchangesDraft extension. Requires "
43 "#enable-signed-http-exchange. Warning: Enabling this may pose a security "
44 "risk.";
45
Jeremy Klein586b4ccc2018-06-09 21:05:4846const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
47const char kAndroidMessagesIntegrationDescription[] =
48 "Enables Chrome OS integration with Android messages.";
49
Brett Wilsonf27ff602017-07-07 22:28:4750const char kAppBannersName[] = "App Banners";
51const char kAppBannersDescription[] =
52 "Enable the display of Progressive Web App banners, which prompt a user to "
53 "add a web app to their shelf, or other platform-specific equivalent.";
54
yoshiki iguchi4a10c5f2017-11-29 20:16:5455const char kAshSidebarName[] = "Sidebar";
56const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
57
Ioana Pandelef9689a062018-06-22 15:35:5158const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
59const char kAutomaticPasswordGenerationDescription[] =
60 "Allow Chrome to offer to generate passwords when it detects account "
61 "creation pages.";
62
Michael Lippautzebbc5a82018-05-30 10:41:4263const char kEnableBlinkHeapIncrementalMarkingName[] =
64 "Blink Heap Incremental Marking";
65const char kEnableBlinkHeapIncrementalMarkingDescription[] =
66 "Enable incremental marking in Blink";
67
Ulan Degenbaevb5466a92018-07-19 12:35:3468const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
69const char kEnableBloatedRendererDetectionDescription[] =
70 "Enable bloated renderer detection";
71
Tetsui Ohkubo2852b952018-02-23 04:12:0172const char kSystemTrayUnifiedName[] = "New system menu";
73const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5574 "Enable the experimental system menu.";
75
Khushalba202212017-07-12 19:53:4976const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
77const char kAsyncImageDecodingDescription[] =
78 "Enables asynchronous decoding of images from raster for web content";
79
Roger McFarlane2eceba982018-05-18 01:37:1180const char kAutofillCacheQueryResponsesName[] =
81 "Cache Autofill Query Responses";
82const char kAutofillCacheQueryResponsesDescription[] =
83 "When enabled, autofill will cache the responses it receives from the "
84 "crowd-sourced field type prediction server.";
85
sebsge35b762c2018-03-29 20:33:2786const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
87const char kAutofillDynamicFormsDescription[] =
88 "Allows autofill to fill dynamically changing forms";
89
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3990const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
91const char kAutofillPrefilledFieldsDescription[] =
92 "Allows autofill to fill fields previously filled by the website";
93
Parastoo Geranmayeh071d725c2018-06-26 17:35:2294const char kAutofillRationalizeRepeatedServerPredictionsName[] =
95 "Autofill Rationalization of Repeated Server Field Type Predictions";
96const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
97 "Allows autofill to rationalize repeated server field type predictions.";
98
Roger McFarlane1a37d7b2018-04-20 22:45:1999const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
100 "Autofill Enforce Min Required Fields For Heuristics";
101const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
102 "When enabled, autofill will generally require a form to have at least 3 "
103 "fields before allowing heuristic field-type prediction to occur.";
104
105const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
106 "Autofill Enforce Min Required Fields For Query";
107const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
108 "When enabled, autofill will generally require a form to have at least 3 "
109 "fields before querying the autofill server for field-type predictions.";
110
111const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
112 "Autofill Enforce Min Required Fields For Upload";
113const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
114 "When enabled, autofill will generally require a form to have at least 3 "
115 "fillable fields before uploading field-type votes for that form.";
116
Moe Ahmadid3ddfcb2018-04-20 19:51:08117const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
118 "Restrict formless form extraction";
119const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
120 "Restrict extraction of formless forms to checkout flows";
121
Brett Wilsonf27ff602017-07-07 22:28:47122const char kAutoplayPolicyName[] = "Autoplay policy";
123const char kAutoplayPolicyDescription[] =
124 "Policy used when deciding if audio or video is allowed to autoplay.";
125
126const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
127 "User gesture is required for cross-origin iframes.";
128const char kAutoplayPolicyNoUserGestureRequired[] =
129 "No user gesture is required.";
130const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
131const char kAutoplayPolicyDocumentUserActivation[] =
132 "Document user activation is required.";
133
Johanne0cc6902017-11-16 00:23:50134extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
135extern const char kAv1DecoderDescription[] =
136 "Allow decoding of files with the AV1 video codec.";
137
Brett Wilsonf27ff602017-07-07 22:28:47138const char kBackgroundVideoTrackOptimizationName[] =
139 "Optimize background video playback.";
140const char kBackgroundVideoTrackOptimizationDescription[] =
141 "Disable video tracks when the video is played in the background to "
142 "optimize performance.";
143
144const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
145const char kBleAdvertisingInExtensionsDescription[] =
146 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
147 "with regular use of Bluetooth Low Energy features.";
148
Charles Harrisond629cc62017-10-05 01:39:54149const char kBlockTabUndersName[] = "Block tab-unders";
150const char kBlockTabUndersDescription[] =
151 "Blocks tab-unders in Chrome with some native UI to allow the user to "
152 "proceed.";
153
Brett Wilsonf27ff602017-07-07 22:28:47154const char kBrowserTaskSchedulerName[] = "Task Scheduler";
155const char kBrowserTaskSchedulerDescription[] =
156 "Enables redirection of some task posting APIs to the task scheduler.";
157
Carlos IL766fbc882018-02-16 02:34:52158const char kBundledConnectionHelpName[] = "Bundled Connection Help";
159const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37160 "Enables or disables redirection to local help content for users who get "
161 "an interstitial after clicking the 'Learn More' link on a previous "
162 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52163
Brett Wilsonf27ff602017-07-07 22:28:47164const char kBypassAppBannerEngagementChecksName[] =
165 "Bypass user engagement checks";
166const char kBypassAppBannerEngagementChecksDescription[] =
167 "Bypasses user engagement checks for displaying app banners, such as "
168 "requiring that users have visited the site before and that the banner "
169 "hasn't been shown recently. This allows developers to test that other "
170 "eligibility requirements for showing app banners, such as having a "
171 "manifest, are met.";
172
Mike Westd27b4a82018-07-13 09:53:38173const char kCommittedInterstitialsName[] = "Committed Interstitials";
174const char kCommittedInterstitialsDescription[] =
175 "Use committed error pages instead of transient navigation entries "
176 "for interstitial error pages (e.g. certificate errors).";
177
Miguel Casas454d9cf2018-06-28 16:25:00178const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
179const char kCanvas2DImageChromiumDescription[] =
180 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
181
Brett Wilsonf27ff602017-07-07 22:28:47182const char kCastStreamingHwEncodingName[] =
183 "Cast Streaming hardware video encoding";
184const char kCastStreamingHwEncodingDescription[] =
185 "This option enables support in Cast Streaming for encoding video streams "
186 "using platform hardware.";
187
Amber Won478561d2017-08-19 01:02:59188const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
189const char kClickToOpenPDFDescription[] =
190 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
191 "embedded PDFs.";
192
Gary Kacmarcikfb69b212017-11-14 03:41:08193const char kClipboardContentSettingName[] = "Clipboard content setting";
194const char kClipboardContentSettingDescription[] =
195 "Enables a site-wide permission in the UI which controls access to the "
196 "asynchronous clipboard web API";
197
Peter Kastingb78046182018-06-29 20:15:13198const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
199const char kCloseButtonsInactiveTabsDescription[] =
200 "Shows close buttons on inactive tabs in non-touch mode.";
201
Brett Wilsonf27ff602017-07-07 22:28:47202const char kCloudImportName[] = "Cloud Import";
203const char kCloudImportDescription[] = "Allows the cloud-import feature.";
204
rbpotter9990eb42018-07-12 05:34:59205const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
206const char kCloudPrinterHandlerDescription[] =
207 "Use the new cloud printer handler for communicating with the cloud "
208 "print server, instead of the cloud print interface in the Print "
209 "Preview WebUI.";
210
Christopher Cameronceb8727d2017-09-07 23:53:16211const char kForceColorProfileSRGB[] = "sRGB";
212const char kForceColorProfileP3[] = "Display P3 D65";
213const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
214const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
215
216const char kForceColorProfileName[] = "Force color profile";
217const char kForceColorProfileDescription[] =
218 "Forces Chrome to use a specific color profile instead of the color "
219 "of the window's current monitor, as specified by the operating system.";
220
Brett Wilsonf27ff602017-07-07 22:28:47221const char kCompositedLayerBordersName[] = "Composited render layer borders";
222const char kCompositedLayerBordersDescription[] =
223 "Renders a border around composited Render Layers to help debug and study "
224 "layer compositing.";
225
Theresaf39c1882018-03-21 18:18:07226const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07227 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07228const char kContextualSuggestionsBottomSheetDescription[] =
229 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47230
Theresac34db2d2018-06-28 00:03:11231const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
232const char kContextualSuggestionsButtonDescription[] =
233 "If enabled, shows a button to trigger contextual suggestions.";
234
Theresa818d3452018-05-22 00:08:07235const char kContextualSuggestionsSlimPeekUIName[] =
236 "Contextual Suggestions Slim Peek UI";
237const char kContextualSuggestionsSlimPeekUIDescription[] =
238 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
239
Theresa0f2947b92018-07-02 21:27:58240const char kContextualSuggestionsOptOutName[] =
241 "Contextual Suggestions Opt-out";
242const char kContextualSuggestionsOptOutDescription[] =
243 "If enabled, allows the user to opt out of contextual suggestions.";
244
Brett Wilsonf27ff602017-07-07 22:28:47245const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
246const char kCreditCardAssistDescription[] =
247 "Enable assisted credit card filling on certain sites.";
248
249const char kCrossProcessGuestViewIsolationName[] =
250 "Cross process frames for guests";
251const char kCrossProcessGuestViewIsolationDescription[] =
252 "Highly experimental where guests such as <webview> are implemented on "
253 "the out-of-process iframe infrastructure.";
254
Thanh Le659cb102017-12-20 22:00:19255const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
256const char kDataSaverServerPreviewsDescription[] =
257 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47258
259const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
260const char kDatasaverPromptDescription[] =
261 "Enables a prompt, which appears when a cellular network connection is "
262 "detected, to take the user to the Data Saver extension page on Chrome Web "
263 "Store.";
264const char kDatasaverPromptDemoMode[] = "Demo mode";
265
Wez54dc71b2018-04-17 00:42:34266#if DCHECK_IS_CONFIGURABLE
267const char kDcheckIsFatalName[] = "DCHECKs are fatal";
268const char kDcheckIsFatalDescription[] =
269 "By default Chrome will evaluate in this build, but only log failures, "
270 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
271#endif // DCHECK_IS_CONFIGURABLE
272
Brett Wilsonf27ff602017-07-07 22:28:47273const char kDebugPackedAppName[] = "Debugging for packed apps";
274const char kDebugPackedAppDescription[] =
275 "Enables debugging context menu options such as Inspect Element for packed "
276 "applications.";
277
278const char kDefaultTileHeightName[] = "Default tile height";
279const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
280const char kDefaultTileHeightShort[] = "128";
281const char kDefaultTileHeightTall[] = "256";
282const char kDefaultTileHeightGrande[] = "512";
283const char kDefaultTileHeightVenti[] = "1024";
284
285const char kDefaultTileWidthName[] = "Default tile width";
286const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
287const char kDefaultTileWidthShort[] = "128";
288const char kDefaultTileWidthTall[] = "256";
289const char kDefaultTileWidthGrande[] = "512";
290const char kDefaultTileWidthVenti[] = "1024";
291
292const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
293const char kDebugShortcutsDescription[] =
294 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
295
296const char kDeviceDiscoveryNotificationsName[] =
297 "Device Discovery Notifications";
298const char kDeviceDiscoveryNotificationsDescription[] =
299 "Device discovery notifications on local network.";
300
301const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
302const char kDevtoolsExperimentsDescription[] =
303 "Enables Developer Tools experiments. Use Settings panel in Developer "
304 "Tools to toggle individual experiments.";
305
306const char kDisableAudioForDesktopShareName[] =
307 "Disable Audio For Desktop Share";
308const char kDisableAudioForDesktopShareDescription[] =
309 "With this flag on, desktop share picker window will not let the user "
310 "choose whether to share audio.";
311
Chris Palmer917bc052018-03-14 19:28:31312const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
313const char kDisablePushStateThrottleDescription[] =
314 "Disables throttling of history.pushState and history.replaceState method "
315 "calls.";
316
Brett Wilsonf27ff602017-07-07 22:28:47317const char kDisableTabForDesktopShareName[] =
318 "Disable Desktop Share with tab source";
319const char kDisableTabForDesktopShareDescription[] =
320 "This flag controls whether users can choose a tab for desktop share.";
321
322const char kDisallowDocWrittenScriptsUiName[] =
323 "Block scripts loaded via document.write";
324const char kDisallowDocWrittenScriptsUiDescription[] =
325 "Disallows fetches for third-party parser-blocking scripts inserted into "
326 "the main frame via document.write.";
327
Christopher Thompson2ffffa2c2018-05-18 23:06:37328const char kDisallowUnsafeHttpDownloadsName[] =
329 "Block unsafe downloads over insecure connections";
330const char kDisallowUnsafeHttpDownloadsNameDescription[] =
331 "Disallows downloads of unsafe files (files that can potentially execute "
332 "code), where the final download origin or any origin in the redirect "
333 "chain is insecure.";
334
Brett Wilsonf27ff602017-07-07 22:28:47335const char kDriveSearchInChromeLauncherName[] =
336 "Drive Search in Chrome App Launcher";
337const char kDriveSearchInChromeLauncherDescription[] =
338 "Files from Drive will show up when searching the Chrome App Launcher.";
339
Brett Wilsonf27ff602017-07-07 22:28:47340const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
341const char kEmbeddedExtensionOptionsDescription[] =
342 "Display extension options as an embedded element in chrome://extensions "
343 "rather than opening a new tab.";
344
Dominic Mazzoni8ac98962018-05-25 05:44:55345const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
346const char kEnableAccessibilityObjectModelDescription[] =
347 "Enables experimental support for Accessibility Object Model APIs "
348 "that are in development.";
349
Brett Wilsonf27ff602017-07-07 22:28:47350const char kEnableAsmWasmName[] =
351 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
352const char kEnableAsmWasmDescription[] =
353 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
354 R"*(WebAssembly.)*";
355
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36356const char kEnableWebPaymentsSingleAppUiSkipName[] =
357 "Enable Web Payments single app UI skip";
358const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
359 "Enable Web Payments to skip showing its UI if the developer specifies a "
360 "single app.";
361
Florian Uunk8c428ea2018-07-18 11:12:52362const char kEnableAutofillAccountWalletStorageName[] =
363 "Enable the account data storage for autofill";
364const char kEnableAutofillAccountWalletStorageDescription[] =
365 "Enable the ephemeral storage for account data for autofill.";
366
Shanfeng Zhang19c16562017-10-17 02:30:40367const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
368 "Credit card autofill ablation experiment.";
369const char kEnableAutofillCreditCardAblationExperimentDescription[] =
370 "If enabled, credit card autofill suggestions will not display.";
371
Brett Wilsonf27ff602017-07-07 22:28:47372const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
373 "Display the last used date of a credit card in autofill.";
374const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
375 "If enabled, display the last used date of a credit card in autofill.";
376
Sujie Zhu2cf0e5c2018-07-17 18:00:27377const char kEnableAutofillCreditCardLocalCardMigrationName[] =
378 "Enable migrating local cards to Google Pay";
379const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
380 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
381
Jared Saulbc672a072018-06-16 05:22:12382const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
383 "Make cardholder name editable in dialog during credit card upload";
384const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
385 "If enabled, in certain situations when offering credit card upload to "
386 "Google Payments, the cardholder name can be edited within the "
387 "offer-to-save dialog, which is prefilled with the name from the signed-in "
388 "Google Account.";
389
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37390const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
391 "Enable Google Pay branding when offering credit card upload on Android";
392const char
393 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
394 "If enabled, shows the Google Pay logo and a shorter header message "
395 "when credit card upload to Google Payments is offered on Android.";
396
Jared Saul5c2a1482017-12-09 00:24:31397const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
398 "Send first six digits of PAN when deciding whether to offer Autofill "
399 "credit card upload";
400const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
401 "If enabled, when deciding whether to offer credit card upload to Google "
402 "Payments, sends the first six digits of the card number to avoid cases "
403 "where card upload is likely to fail.";
404
siyua7c4e97b42018-04-24 02:49:42405const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
406 "Enable updated prompt explanation when offering credit card upload";
407const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
408 "If enabled, changes the server save card prompt's explanation to mention "
409 "the saving of the billing address.";
410
tmartinocd414732018-02-12 19:01:01411const char kEnableAutofillNativeDropdownViewsName[] =
412 "Display Autofill Dropdown Using Views";
413const char kEnableAutofillNativeDropdownViewsDescription[] =
414 "If enabled, the Autofill Dropdown will be built natively using Views, "
415 "rather than painted directly to a canvas.";
416
Fabio Tirelo87552e02018-07-06 15:43:21417const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
418 "Show unlabeled expiration dates on the save card dialog";
419const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
420 "If enabled, expiration dates on the save card dialog (both local and "
421 "upstream) are shown without an 'Exp:' label.";
422
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23423const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
424 "Send experiment flag IDs in calls to Google Payments";
425const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
426 "If enabled, adds the status of certain experiment variations when making "
427 "calls to Google Payments.";
428
Becca Hughes4d896c42018-05-29 16:58:51429const char kEnableAutoplayIgnoreWebAudioName[] =
430 "Autoplay ignores WebAudio playbacks";
431const char kEnableAutoplayIgnoreWebAudioDescription[] =
432 "If enabled, autoplay restrictions will be ignored for WebAudio.";
433
Vitalii Iarko4f9834ce2017-08-04 07:05:19434const char kEnableBreakingNewsPushName[] = "Breaking News Push";
435const char kEnableBreakingNewsPushDescription[] =
436 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
437 "through Google Cloud Messaging.";
438
Brett Wilsonf27ff602017-07-07 22:28:47439const char kEnableBrotliName[] = "Brotli Content-Encoding.";
440const char kEnableBrotliDescription[] =
441 "Enable Brotli Content-Encoding support.";
442
Qiang Xu0f602fe62017-12-22 01:31:20443const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
444const char kEnableCaptivePortalRandomUrlDescription[] =
445 "Enable Captive Portal URL randomization.";
446
sclittle50e4bb92017-07-08 02:23:03447const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
448
449const char kEnableClientLoFiDescription[] =
450 "Enable showing low fidelity images on some pages on slow networks.";
451
Patrick Noland8bc57472018-06-19 21:09:54452const char kEnableCSSFragmentIdentifiersName[] =
453 "Enable CSS Fragment Identifiers";
454const char kEnableCSSFragmentIdentifiersDescription[] =
455 "Enable support for specifying a target element using a css selector in "
456 "the fragment identifier.";
457
David Reveman87b4b692018-03-09 21:22:22458const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
459const char kEnableCursorMotionBlurDescription[] =
460 "Enable motion blur effect for the cursor.";
461
Ramin Halavati6f5d9852018-06-20 09:37:05462const char kEnableEphemeralFlashPermissionName[] =
463 "Enable Ephemeral Flash Permissions";
464const char kEnableEphemeralFlashPermissionDescription[] =
465 "When enabled, Flash plugin permissions are reset at the end of the "
466 "browser session.";
467
Doug Arnett08b4067b2017-10-12 20:14:44468const char kEnableNoScriptPreviewsName[] = "NoScript previews";
469
470const char kEnableNoScriptPreviewsDescription[] =
471 "Enable disabling JavaScript on some pages on slow networks.";
472
Thanh Le2c279fbc2017-11-21 01:25:40473const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
474const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
475const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
476const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
477const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
478const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
479const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
480const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
481const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
482const char kDataReductionProxyServerAlternative10[] =
483 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47484const char kEnableDataReductionProxyServerExperimentName[] =
485 "Use an alternative Data Saver back end configuration.";
486const char kEnableDataReductionProxyServerExperimentDescription[] =
487 "Enable a different approach to saving data by configuring the back end "
488 "server";
489
490const char kEnableDataReductionProxySavingsPromoName[] =
491 "Data Saver 1 MB Savings Promo";
492const char kEnableDataReductionProxySavingsPromoDescription[] =
493 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
494 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
495 "enabled for the promo to be shown.";
496
Matt Giucad4870432017-11-24 01:04:38497const char kEnableDesktopPWAsName[] = "Desktop PWAs";
498const char kEnableDesktopPWAsDescription[] =
499 "Experimental windowing and install banner treatment for Progressive Web "
500 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17501
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59502const char kEnableDesktopPWAsLinkCapturingName[] =
503 "Desktop PWAs Link Capturing";
504const char kEnableDesktopPWAsLinkCapturingDescription[] =
505 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
506 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
507 "#enable-desktop-pwas.";
508
Ahmed Fakhry0037de02018-01-29 19:58:31509const char kEnableDockedMagnifierName[] = "Docked Magnifier";
510const char kEnableDockedMagnifierDescription[] =
511 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
512
Ramya Nagarajan5b41d8d2018-04-02 19:53:02513const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
514const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09515 "Enables the Emoji picker item in context menus for editable text areas, if"
516 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02517
Brett Wilsonf27ff602017-07-07 22:28:47518const char kEnableEnumeratingAudioDevicesName[] =
519 "Experimentally enable enumerating audio devices.";
520const char kEnableEnumeratingAudioDevicesDescription[] =
521 "Experimentally enable the use of enumerating audio devices.";
522
523const char kEnableGenericSensorName[] = "Generic Sensor";
524const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25525 "Enables motion sensor classes based on Generic Sensor API, i.e. "
526 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
527 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
528
529const char kEnableGenericSensorExtraClassesName[] =
530 "Generic Sensor Extra Classes";
531const char kEnableGenericSensorExtraClassesDescription[] =
532 "Enables an extra set of sensor classes based on Generic Sensor API, which "
533 "expose previously unavailable platform features, i.e. AmbientLightSensor "
534 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47535
Brett Wilsonf27ff602017-07-07 22:28:47536const char kEnableHDRName[] = "HDR mode";
537const char kEnableHDRDescription[] =
538 "Enables HDR support on compatible displays.";
539
Ryan Sturm6a850902018-06-09 02:27:34540const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
541const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09542 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25543 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01544 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
545 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34546
Brett Wilsonf27ff602017-07-07 22:28:47547const char kEnableHttpFormWarningName[] =
548 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15549 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47550const char kEnableHttpFormWarningDescription[] =
551 "Attaches a warning UI to any password or credit card fields detected when "
552 "the top-level page is not HTTPS";
553
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41554const char kLayeredAPIName[] = "Experimental layered APIs";
555const char kLayeredAPIDescription[] =
556 "Enable layered API infrastructure, as well as several experimental "
557 "layered APIs. The syntax and the APIs exposed are experimental and will "
558 "change over time.";
559
Ian Kilpatricke68ef11a2018-07-04 03:52:10560const char kEnableLayoutNGName[] = "Enable LayoutNG";
561const char kEnableLayoutNGDescription[] =
562 "Enable Blink's next generation layout engine.";
563
Scott Littled0fd2d002018-04-13 03:37:26564const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
565const char kEnableLazyFrameLoadingDescription[] =
566 "Defers the loading of certain cross-origin frames until the page is "
567 "scrolled down near them.";
568
Sidney San Martín9375b892017-09-09 00:29:54569const char kEnableMacMaterialDesignDownloadShelfName[] =
570 "Enable Material Design download shelf";
571
572const char kEnableMacMaterialDesignDownloadShelfDescription[] =
573 "If enabled, the download shelf uses Material Design.";
574
Anton Urusov47cd4932017-09-19 14:41:41575const char kEnablePolicyToolName[] = "Enable policy management page";
576const char kEnablePolicyToolDescription[] =
577 "If enabled, the chrome://policy-tool URL loads a page for managing "
578 "policies.";
579
Tsuyoshi Horoea7edb72017-11-12 04:14:00580const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
581const char kEnablePWAFullCodeCacheDescription[] =
582 "Generate V8 code cache in Cache Storage while installing Service Worker "
583 "for PWAs.";
584
Weidong Guof1e5a892018-01-06 02:26:39585const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28586 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39587const char kDisableMultiMirroringDescription[] =
588 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28589
Brett Wilsonf27ff602017-07-07 22:28:47590const char kEnableNavigationTracingName[] = "Enable navigation tracing";
591const char kEnableNavigationTracingDescription[] =
592 "This is to be used in conjunction with the trace-upload-url flag. "
593 "WARNING: When enabled, Chrome will record performance data for every "
594 "navigation and upload it to the URL specified by the trace-upload-url "
595 "flag. The trace may include personally identifiable information (PII) "
596 "such as the titles and URLs of websites you visit.";
597
Bernhard Bauer5533f9912017-11-06 17:56:02598const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
599const char kEnableNetworkLoggingToFileDescription[] =
600 "Enables network logging to a file named netlog.json in the user data "
601 "directory. The file can be imported into chrome://net-internals.";
602
Brett Wilsonf27ff602017-07-07 22:28:47603const char kEnableNetworkServiceName[] = "Enable network service";
604const char kEnableNetworkServiceDescription[] =
605 "Enables the network service, which makes network requests through a "
606 "separate service. Note: most features don't work with this yet.";
607
John Abd-El-Malek8067cc02017-12-04 23:23:20608const char kEnableNetworkServiceInProcessName[] =
609 "Runs network service in-process";
610const char kEnableNetworkServiceInProcessDescription[] =
611 "Runs the network service in the browser process.";
612
dpapaded8349472017-10-25 03:21:27613const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
614const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37615 "If enabled, Print Preview will display a newer UI. This feature is "
616 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27617
Ahmed Fakhry2fd8fc82017-07-28 16:31:12618const char kEnableNightLightName[] = "Enable Night Light";
619const char kEnableNightLightDescription[] =
620 "Enable the Night Light feature which controls the color temperature of "
621 "the screen.";
622
xlou8b56f672018-02-09 23:34:30623const char kEnableNupPrintingName[] = "Enable N-up printing";
624const char kEnableNupPrintingDescription[] =
625 "Enable N-up printing in the print preview panel.";
626
Sophie Chang117a3b22017-10-24 22:25:36627const char kEnableOptimizationHintsName[] = "Optimization Hints";
628const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50629 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36630 "into decisions for what optimizations to perform on some pages on slow "
631 "networks.";
632
Yutaka Hirano98be3272017-08-07 17:55:39633const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
634const char kEnableOutOfBlinkCORSDescription[] =
635 "CORS handling logic is moved out of blink.";
636
Sammie Quon0fbf0782018-05-01 22:11:08637const char kEnableOverviewSwipeToCloseName[] =
638 "Enable overview swipe to close.";
639const char kEnableOverviewSwipeToCloseDescription[] =
640 "Enables closing of items in overview mode by dragging or flinging "
641 "vertically.";
642
kylechar7051c092018-02-05 20:31:39643const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
644const char kVizDisplayCompositorDescription[] =
645 "If enabled, the display compositor runs as part of the viz service in the"
646 "GPU process.";
647
Ria Jiang6a129b982018-03-01 18:30:40648const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
649const char kVizHitTestDrawQuadDescription[] =
650 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
651 "with hit-test data computed from the CompositorFrame.";
652
Erik Chen49bbfa22017-08-18 08:49:56653const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23654 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56655const char kEnableOutOfProcessHeapProfilingDescription[] =
656 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19657 "malloced objects. Heap dumps can be obtained at chrome://tracing "
658 "[category:memory-infra] and chrome://memory-internals. This setting "
659 "controls which processes are profiled. As long as this setting is not "
660 "disabled, users can start profiling any given process in "
661 "chrome://memory-internals.";
662const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
663const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
664const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
665const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
666const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10667const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19668 "None by default. Visit chrome://memory-internals to choose which "
669 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15670const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
671 "Profile a random sampling of renderer processes, ensuring only one is "
672 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19673
Erik Chen8bb76b52017-12-06 19:06:25674const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19675 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25676const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
677 "By default, small allocations are pruned from the heap dump. This reduces "
678 "the size of the compressed trace by 100x. If pruning is disabled, the "
679 "chrome://tracing UI may be unable to take or load the trace. Save the "
680 "trace directly using chrome://memory-internals, and use other mechanisms "
681 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
682 "automatically uploaded traces will always be pruned. This only affects "
683 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56684
erikchen8bc20d82018-02-14 03:21:51685const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
686const char kOutOfProcessHeapProfilingSamplingDescription[] =
687 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22688 "10000. This results in low noise for large and/or frequent allocations ["
689 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
690 "total size of malloc-ed objects] and large and/or frequent allocations "
691 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51692
Erik Chen3303fd0232018-01-11 20:29:05693const char kOOPHPStackModeName[] =
694 "The type of stack to record for memlog heap dumps";
695const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19696 "By default, memlog heap dumps record native stacks, which requires a "
697 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55698 "pointers to work on Android. Native with thread names will add the thread "
699 "name as the first frame of each native stack. It's also possible to "
700 "record a pseudo stack using trace events as identifiers. It's also "
701 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19702const char kOOPHPStackModeMixed[] = "Mixed";
703const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55704const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19705const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05706
François Beaufort2e75f492018-02-08 20:44:46707const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47708const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46709 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47710
F#m59d036e2017-09-13 07:22:17711const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
712const char kEnablePixelCanvasRecordingDescription[] =
713 "Pixel canvas recording allows the compositor to raster contents aligned "
714 "with the pixel and improves text rendering. This should be enabled when a "
715 "device is using fractional scale factor.";
716
vitaliiid36191b2018-06-11 07:40:49717extern const char kEnableSyncUserConsentSeparateTypeName[] =
718 "Enable separate sync type for consents";
719extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
720 "Emit user consents as a separate sync type instead of user events.";
721
Mikel Astiz38837f82018-04-24 22:23:23722const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
723const char kEnableSyncUSSSessionsDescription[] =
724 "Enables the new, experimental implementation of session sync (aka tab "
725 "sync).";
726
Brett Wilsonf27ff602017-07-07 22:28:47727const char kEnableTokenBindingName[] = "Token Binding.";
728const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
729
730const char kEnableUseZoomForDsfName[] =
731 "Use Blink's zoom for device scale factor.";
732const char kEnableUseZoomForDsfDescription[] =
733 "If enabled, Blink uses its zooming mechanism to scale content for device "
734 "scale factor.";
735const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
736const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
737const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
738
Patrick Noland8ee016e2018-01-24 11:44:53739const char kEnableScrollAnchorSerializationName[] =
740 "Scroll Anchor Serialization";
741const char kEnableScrollAnchorSerializationDescription[] =
742 "Save the scroll anchor and use it to restore the scroll position when "
743 "navigating.";
744
Brad Nelson5cd500e2018-01-04 00:50:19745const char kEnableSharedArrayBufferName[] =
746 "Experimental enabled SharedArrayBuffer support in JavaScript.";
747const char kEnableSharedArrayBufferDescription[] =
748 "Enable SharedArrayBuffer support in JavaScript.";
749
Brett Wilsonf27ff602017-07-07 22:28:47750const char kEnableWasmName[] = "WebAssembly structured cloning support.";
751const char kEnableWasmDescription[] =
752 "Enable web pages to use WebAssembly structured cloning.";
753
Kim Paulhamusae635a32018-06-27 07:30:54754const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
755const char kEnableWebAuthenticationAPIDescription[] =
756 "Enable Web Authentication API support";
757
Brett Wilsonf27ff602017-07-07 22:28:47758const char kEnableImageCaptureAPIName[] = "Image Capture API";
759const char kEnableImageCaptureAPIDescription[] =
760 "Enables the Web Platform Image Capture API: takePhoto(), "
761 "getPhotoCapabilities(), etc.";
762
763const char kEnableZeroSuggestRedirectToChromeName[] =
764 "Experimental contextual omnibox suggestion";
765const char kEnableZeroSuggestRedirectToChromeDescription[] =
766 "Change omnibox contextual suggestions to an experimental source. Note "
767 "that this is not an on/off switch for contextual omnibox and it only "
768 "applies to suggestions provided before the user starts typing a URL or a "
769 "search query (i.e. zero suggest).";
770
771const char kEnableWasmStreamingName[] =
772 "WebAssembly streaming compile/instantiate support.";
773const char kEnableWasmStreamingDescription[] =
774 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
775
Clemens Hammacher0c8a15a2018-04-27 13:45:32776const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
777const char kEnableWasmBaselineDescription[] =
778 "Enables WebAssembly baseline compilation and tier up.";
779
Ben Smith24c1e5c2018-06-20 01:09:02780const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
781const char kEnableWasmThreadsDescription[] =
782 "Enables support for the WebAssembly Threads proposal. Implies "
783 "#shared-array-buffer and #enable-webassembly.";
784
Brett Wilsonf27ff602017-07-07 22:28:47785const char kExpensiveBackgroundTimerThrottlingName[] =
786 "Throttle expensive background timers";
787const char kExpensiveBackgroundTimerThrottlingDescription[] =
788 "Enables intervention to limit CPU usage of background timers to 1%.";
789
790const char kExperimentalAppBannersName[] = "Experimental app banners";
791const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38792 "Enables a new experimental app banner flow and UI. Implies "
793 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47794
795const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
796const char kExperimentalCanvasFeaturesDescription[] =
797 "Enables the use of experimental canvas features which are still in "
798 "development.";
799
Nicholas Verneccd8259802018-02-22 01:22:04800const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
801const char kExperimentalCrostiniUIDescription[] =
802 "Enables in-development Crostini features.";
803
Brett Wilsonf27ff602017-07-07 22:28:47804const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
805const char kExperimentalExtensionApisDescription[] =
806 "Enables experimental extension APIs. Note that the extension gallery "
807 "doesn't allow you to upload extensions that use experimental APIs.";
808
809const char kExperimentalFullscreenExitUIName[] =
810 "Experimental fullscreen exit UI";
811const char kExperimentalFullscreenExitUIDescription[] =
812 "Displays experimental UI to allow mouse and touch input methods to exit "
813 "fullscreen mode.";
814
Ian Clelland37a985d2018-05-04 02:43:13815const char kExperimentalProductivityFeaturesName[] =
816 "Experimental Productivity Features";
817const char kExperimentalProductivityFeaturesDescription[] =
818 "Enable support for experimental developer productivity features, such as "
819 "Layered APIs and policies for avoiding slow rendering.";
820
Brett Wilsonf27ff602017-07-07 22:28:47821const char kExperimentalSecurityFeaturesName[] =
822 "Potentially annoying security features";
823const char kExperimentalSecurityFeaturesDescription[] =
824 "Enables several security features that will likely break one or more "
825 "pages that you visit on a daily basis. Strict mixed content checking, for "
826 "example. And locking powerful features to secure contexts. This flag will "
827 "probably annoy you.";
828
829const char kExperimentalWebPlatformFeaturesName[] =
830 "Experimental Web Platform features";
831const char kExperimentalWebPlatformFeaturesDescription[] =
832 "Enables experimental Web Platform features that are in development.";
833
834const char kExtensionContentVerificationName[] =
835 "Extension Content Verification";
836const char kExtensionContentVerificationDescription[] =
837 "This flag can be used to turn on verification that the contents of the "
838 "files on disk for extensions from the webstore match what they're "
839 "expected to be. This can be used to turn on this feature if it would not "
840 "otherwise have been turned on, but cannot be used to turn it off (because "
841 "this setting can be tampered with by malware).";
842const char kExtensionContentVerificationBootstrap[] =
843 "Bootstrap (get expected hashes, but do not enforce them)";
844const char kExtensionContentVerificationEnforce[] =
845 "Enforce (try to get hashes, and enforce them if successful)";
846const char kExtensionContentVerificationEnforceStrict[] =
847 "Enforce strict (hard fail if we can't get hashes)";
848
849const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
850const char kExtensionsOnChromeUrlsDescription[] =
851 "Enables running extensions on chrome:// URLs, where extensions explicitly "
852 "request this permission.";
galinapae72e152017-05-12 13:12:28853
Brett Wilsonecb80982017-07-12 20:34:51854const char kFastUnloadName[] = "Fast tab/window close";
855const char kFastUnloadDescription[] =
856 "Enables fast tab/window closing - runs a tab's onunload js handler "
857 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34858
Brett Wilsonecb80982017-07-12 20:34:51859const char kFeaturePolicyName[] = "Feature Policy";
860const char kFeaturePolicyDescription[] =
861 "Enables granting and removing access to features through the "
862 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34863
Brett Wilsonecb80982017-07-12 20:34:51864const char kFontCacheScalingName[] = "FontCache scaling";
865const char kFontCacheScalingDescription[] =
866 "Reuse a cached font in the renderer to serve different sizes of font for "
867 "faster layout.";
868
869const char kForceEffectiveConnectionTypeName[] =
870 "Override effective connection type";
871const char kForceEffectiveConnectionTypeDescription[] =
872 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30873 "returned by the network quality estimator. Slow 2G on Cellular returns "
874 "Slow 2G when connected to a cellular network, and the actual estimate "
875 "effective connection type when not on a cellular network. Previews are "
876 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51877const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
878const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
879const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30880const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
881 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51882const char kEffectiveConnectionType2GDescription[] = "2G";
883const char kEffectiveConnectionType3GDescription[] = "3G";
884const char kEffectiveConnectionType4GDescription[] = "4G";
885
886const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
887const char kFillOnAccountSelectDescription[] =
888 "Filling of passwords when an account is explicitly selected by the user "
889 "rather than autofilling credentials on page load.";
890
Brett Wilsonecb80982017-07-12 20:34:51891const char kForceTextDirectionName[] = "Force text direction";
892const char kForceTextDirectionDescription[] =
893 "Explicitly force the per-character directionality of UI text to "
894 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
895 "direction of the character language.";
896const char kForceDirectionLtr[] = "Left-to-right";
897const char kForceDirectionRtl[] = "Right-to-left";
898
899const char kForceUiDirectionName[] = "Force UI direction";
900const char kForceUiDirectionDescription[] =
901 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
902 "mode, overriding the default direction of the UI language.";
903
904const char kFramebustingName[] =
905 "Framebusting requires same-origin or a user gesture";
906const char kFramebustingDescription[] =
907 "Don't permit an iframe to navigate the top level browsing context unless "
908 "they are same-origin or the iframe is processing a user gesture.";
909
910const char kGamepadExtensionsName[] = "Gamepad Extensions";
911const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22912 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06913const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48914const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06915 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48916 "the polling rate improves the average latency of button and axis inputs "
917 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58918const char kGamepadVibrationName[] = "Gamepad Vibration";
919const char kGamepadVibrationDescription[] =
920 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51921
Brett Wilsonecb80982017-07-12 20:34:51922const char kGpuRasterizationMsaaSampleCountName[] =
923 "GPU rasterization MSAA sample count.";
924const char kGpuRasterizationMsaaSampleCountDescription[] =
925 "Specify the number of MSAA samples for GPU rasterization.";
926const char kGpuRasterizationMsaaSampleCountZero[] = "0";
927const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
928const char kGpuRasterizationMsaaSampleCountFour[] = "4";
929const char kGpuRasterizationMsaaSampleCountEight[] = "8";
930const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
931
932const char kGpuRasterizationName[] = "GPU rasterization";
933const char kGpuRasterizationDescription[] =
934 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28935const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51936
937const char kGoogleProfileInfoName[] = "Google profile name and icon";
938const char kGoogleProfileInfoDescription[] =
939 "Enables using Google information to populate the profile name and icon in "
940 "the avatar menu.";
941
942const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
943const char kHarfbuzzRendertextDescription[] =
944 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
945 "web content.";
946
Takumi Fujimotofb71e332018-03-31 14:04:08947const char kViewsCastDialogName[] = "Views Cast dialog";
948const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31949 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53950 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54951 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08952
Manu Cornet4a908de2018-04-09 04:32:27953const char kHideActiveAppsFromShelfName[] =
954 "Hide running apps (that are not pinned) from the shelf";
955const char kHideActiveAppsFromShelfDescription[] =
956 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25957
Brett Wilsonecb80982017-07-12 20:34:51958const char kHistoryRequiresUserGestureName[] =
959 "New history entries require a user gesture.";
960const char kHistoryRequiresUserGestureDescription[] =
961 "Require a user gesture to add a history entry.";
962const char kHyperlinkAuditingName[] = "Hyperlink auditing";
963const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
964
Ryan Landay4242dbc22018-04-04 01:47:33965const char kHorizontalTabSwitcherAndroidName[] =
966 "Enable horizontal tab switcher";
967const char kHorizontalTabSwitcherAndroidDescription[] =
968 "Changes the layout of the Android tab switcher so tabs scroll "
969 "horizontally instead of vertically.";
970
Brett Wilsonecb80982017-07-12 20:34:51971const char kHostedAppQuitNotificationName[] =
972 "Quit notification for hosted apps";
973const char kHostedAppQuitNotificationDescription[] =
974 "Display a notification when quitting Chrome if hosted apps are currently "
975 "running.";
976
977const char kHostedAppShimCreationName[] =
978 "Creation of app shims for hosted apps on Mac";
979const char kHostedAppShimCreationDescription[] =
980 "Create app shims on Mac when creating a hosted app.";
981
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48982const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
983const char kHtmlBasedUsernameDetectorDescription[] =
984 "Use HTML-based username detector for the password manager.";
985
Brett Wilsonecb80982017-07-12 20:34:51986const char kIconNtpName[] = "Large icons on the New Tab page";
987const char kIconNtpDescription[] =
988 "Enable the experimental New Tab page using large icons.";
989
990const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
991const char kIgnoreGpuBlacklistDescription[] =
992 "Overrides the built-in software rendering list and enables "
993 "GPU-acceleration on unsupported system configurations.";
994
Ryan Sturm8c3dbc92018-06-26 19:22:37995const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:44996const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:37997 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:44998
Claudio Magni61c210922017-12-28 00:29:51999const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1000const char kImprovedLanguageSettingsDescription[] =
1001 "Set of changes for Language Settings. These changes are intended to fix "
1002 "the major bugs related to Language Settings.";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1005const char kInProductHelpDemoModeChoiceDescription[] =
1006 "Selects the In-Product Help demo mode.";
1007
1008const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1009const char kJavascriptHarmonyDescription[] =
1010 "Enable web pages to use experimental JavaScript features.";
1011
1012const char kJavascriptHarmonyShippingName[] =
1013 "Latest stable JavaScript features";
1014const char kJavascriptHarmonyShippingDescription[] =
1015 "Some web pages use legacy or non-standard JavaScript extensions that may "
1016 "conflict with the latest JavaScript features. This flag allows disabling "
1017 "support of those features for compatibility with such pages.";
1018
gogeraldfd7675d2018-06-19 22:57:351019const char kJustInTimeServiceWorkerPaymentAppName[] =
1020 "Just-in-time service worker payment app";
1021const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1022 "Allow crawling just-in-time service worker payment app when there is no "
1023 "installed service worker payment app for a payment request.";
1024
Yutaka Hiranof7f2f632017-09-06 10:40:081025const char kKeepAliveRendererForKeepaliveRequestsName[] =
1026 "Keep a renderer alive for keepalive fetch requests";
1027const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1028 "Keep a render process alive when the process has a pending fetch request "
1029 "with `keepalive' specified.";
1030
Joe Downing095fd6d2018-02-01 18:40:361031const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1032const char kKeyboardLockApiDescription[] =
1033 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1034 "specific key events and have them routed directly to the webpage when in "
1035 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1036
Brett Wilsonecb80982017-07-12 20:34:511037const char kLcdTextName[] = "LCD text antialiasing";
1038const char kLcdTextDescription[] =
1039 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1040 "(subpixel) when doing accelerated compositing.";
1041
Matt Giucac399982f2017-10-06 07:51:291042const char kLeftToRightUrlsName[] =
1043 "Render bidirectional URLs from left to right";
1044const char kLeftToRightUrlsDescription[] =
1045 "An experimental Bidi URL rendering algorithm where the URL components are "
1046 "always shown in order from left to right, regardless of any RTL "
1047 "characters. (The contents of each component are still rendered with the "
1048 "normal Bidi algorithm.)";
1049
Brett Wilsonecb80982017-07-12 20:34:511050const char kLoadMediaRouterComponentExtensionName[] =
1051 "Load Media Router Component Extension";
1052const char kLoadMediaRouterComponentExtensionDescription[] =
1053 "Loads the Media Router component extension at startup.";
1054
spqchanb87755692018-04-05 00:46:091055const char kMacViewsAutofillPopupName[] =
1056 "Uses the Views Autofill Popup on Mac";
1057const char kMacViewsAutofillPopupDescription[] =
1058 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321059
Brett Wilsonecb80982017-07-12 20:34:511060const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1061const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511062
Lei Zhang2eca9082017-10-17 20:42:501063const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1064const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511065 "If enabled, the Incognito New Tab page uses the new material design with "
1066 "a better readable text.";
1067
spqchanb87755692018-04-05 00:46:091068const char kMediaRouterCastAllowAllIPsName[] =
1069 "Connect to Cast devices on all IP addresses";
1070const char kMediaRouterCastAllowAllIPsDescription[] =
1071 "Have the Media Router connect to Cast devices on all IP addresses, not "
1072 "just RFC1918/RFC4913 private addresses.";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kMemoryCoordinatorName[] = "Memory coordinator";
1075const char kMemoryCoordinatorDescription[] =
1076 "Enable memory coordinator instead of memory pressure listeners.";
1077
1078const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1079const char kMessageCenterNewStyleNotificationDescription[] =
1080 "Enables the experiment style of material-design notification";
1081
Brett Wilsonecb80982017-07-12 20:34:511082const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1083const char kMhtmlGeneratorOptionDescription[] =
1084 "Provides experimental options for MHTML file generator.";
1085const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1086const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1087
Kouhei Ueno08445c22017-09-05 03:58:301088const char kModuleScriptsDynamicImportName[] =
1089 "Enable ECMAScript 6 modules dynamic import";
1090const char kModuleScriptsDynamicImportDescription[] =
1091 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1092 "Blink.";
1093
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051094const char kModuleScriptsImportMetaUrlName[] =
1095 "Enable ECMAScript 6 modules import.meta.url";
1096const char kModuleScriptsImportMetaUrlDescription[] =
1097 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1098 "Blink.";
1099
Brett Wilsonecb80982017-07-12 20:34:511100const char kNewAudioRenderingMixingStrategyName[] =
1101 "New audio rendering mixing strategy";
1102const char kNewAudioRenderingMixingStrategyDescription[] =
1103 "Use the new audio rendering mixing strategy.";
1104
1105const char kNewBookmarkAppsName[] = "The new bookmark app system";
1106const char kNewBookmarkAppsDescription[] =
1107 "Enables the new system for creating bookmark apps.";
1108
Vadym Doroshenkof81e8bb2018-04-18 14:35:241109const char kNewPasswordFormParsingName[] = "New password form parsing";
1110const char kNewPasswordFormParsingDescription[] =
1111 "Replaces existing form parsing in password manager with a new version, "
1112 "currently under development. WARNING: when enabled Password Manager might "
1113 "stop working";
1114
Brett Wilsonecb80982017-07-12 20:34:511115const char kNewRemotePlaybackPipelineName[] =
1116 "Enable the new remote playback pipeline.";
1117const char kNewRemotePlaybackPipelineDescription[] =
1118 "Enable the new pipeline for playing media element remotely via "
1119 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501120const char kUseSurfaceLayerForVideoName[] =
1121 "Enable the use of SurfaceLayer objects for videos.";
1122const char kUseSurfaceLayerForVideoDescription[] =
1123 "Enable compositing onto a Surface instead of a VideoLayer "
1124 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511125
1126const char kNewUsbBackendName[] = "Enable new USB backend";
1127const char kNewUsbBackendDescription[] =
1128 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341129
Sonny Sasaka2d200432018-03-22 17:43:161130const char kNewblueName[] = "Newblue";
1131const char kNewblueDescription[] =
1132 "Enables the use of newblue Bluetooth daemon.";
1133
Peter Kasting63097912018-06-30 02:09:031134const char kNewTabButtonPosition[] = "New tab button position";
1135const char kNewTabButtonPositionDescription[] =
1136 "Controls placement of the new tab button within the tabstrip.";
1137const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1138const char kNewTabButtonPositionLeading[] = "Leading";
1139const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1140const char kNewTabButtonPositionTrailing[] = "Trailing";
1141
Egor Pasko6fed3822018-05-30 10:33:141142const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341143const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141144 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341145
Alex Newcomerd7b0cc42018-05-25 22:58:481146const char kNotificationIndicatorName[] = "Notification Indicators";
1147const char kNotificationIndicatorDescription[] =
1148 "Enable notification indicators, which appear on app icons when a "
1149 "notification is active. This will also enable notifications in context "
1150 "menus.";
1151
Brett Wilsonecb80982017-07-12 20:34:511152const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1153const char kNotificationsNativeFlagDescription[] =
1154 "Enable support for using the native notification toasts and notification "
1155 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341156
Zentaro Kavanaghbad511c2017-10-18 22:29:001157#if defined(OS_POSIX)
1158const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1159const char kNtlmV2EnabledDescription[] =
1160 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1161#endif
1162
Ramya Nagarajane9f16b82018-05-03 01:05:341163const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1164const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301165 "Allow selection of a custom background image on the New Tab Page. "
1166 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341167
kristipark037abce12018-07-13 19:49:301168const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1169const char kNtpCustomLinksDescription[] =
1170 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1171 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1172
1173const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341174const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301175 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1176 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341177
1178const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1179const char kNtpUIMdDescription[] =
1180 "Updates the New Tab Page with Material Design elements.";
1181
Brett Wilsonecb80982017-07-12 20:34:511182const char kNumRasterThreadsName[] = "Number of raster threads";
1183const char kNumRasterThreadsDescription[] =
1184 "Specify the number of raster threads.";
1185const char kNumRasterThreadsOne[] = "1";
1186const char kNumRasterThreadsTwo[] = "2";
1187const char kNumRasterThreadsThree[] = "3";
1188const char kNumRasterThreadsFour[] = "4";
1189
1190const char kOfferStoreUnmaskedWalletCardsName[] =
1191 "Google Payments card saving checkbox";
1192const char kOfferStoreUnmaskedWalletCardsDescription[] =
1193 "Show the checkbox to offer local saving of a credit card downloaded from "
1194 "the server.";
1195
1196const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1197const char kOfflineAutoReloadDescription[] =
1198 "Pages that fail to load while the browser is offline will be "
1199 "auto-reloaded when the browser is online again.";
1200
1201const char kOfflineAutoReloadVisibleOnlyName[] =
1202 "Only Auto-Reload Visible Tabs";
1203const char kOfflineAutoReloadVisibleOnlyDescription[] =
1204 "Pages that fail to load while the browser is offline will only be "
1205 "auto-reloaded if their tab is visible.";
1206
Brett Wilsonecb80982017-07-12 20:34:511207const char kOmniboxDisplayTitleForCurrentUrlName[] =
1208 "Include title for the current URL in the omnibox";
1209const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1210 "In the event that the omnibox provides suggestions on-focus, the URL of "
1211 "the current page is provided as the first suggestion without a title. "
1212 "Enabling this flag causes the title to be displayed.";
1213
Benoit Lizeab08362c2017-07-19 14:50:541214const char kOmniboxSpareRendererName[] =
1215 "Start spare renderer on omnibox focus";
1216const char kOmniboxSpareRendererDescription[] =
1217 "When the omnibox is focused, start an empty spare renderer. This can "
1218 "speed up the load of the navigation from the omnibox.";
1219
Tommy C. Li8875a442017-08-23 00:10:591220const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1221 "Omnibox UI Elide Suggestion URL After Host";
1222const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1223 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1224 "dropdown.";
1225
Tommy C. Lid79d4402017-12-22 22:49:121226const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1227 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1228const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1229 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221230 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1231 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121232
Brett Wilsonecb80982017-07-12 20:34:511233const char kOmniboxUIMaxAutocompleteMatchesName[] =
1234 "Omnibox UI Max Autocomplete Matches";
1235
1236const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1237 "Changes the maximum number of autocomplete matches displayed in the "
1238 "Omnibox UI.";
1239
Justin Donnelly65c9e8b2017-10-01 05:15:011240const char kOmniboxUIShowSuggestionFaviconsName[] =
1241 "Omnibox UI Show Suggestion Favicons";
1242const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1243 "Shows favicons instead of generic vector icons for URL suggestions in the "
1244 "Omnibox dropdown.";
1245
1246const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1247const char kOmniboxUISwapTitleAndUrlDescription[] =
1248 "In the omnibox dropdown, shows titles before URLs when both are "
1249 "available.";
1250
Brett Wilsonecb80982017-07-12 20:34:511251const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1252const char kOmniboxUIVerticalMarginDescription[] =
1253 "Changes the vertical margin in the Omnibox UI.";
1254
Troy Hildebrandtb32637ca2018-02-21 23:25:091255const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1256 "Omnibox Voice Search Always Visible";
1257const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1258 "Always displays voice search icon in focused omnibox as long as voice "
1259 "search is possible";
1260
Adrienne Walkerc87477e2018-06-06 22:28:211261const char kOopRasterizationName[] = "Out of process rasterization";
1262const char kOopRasterizationDescription[] =
1263 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1264 "Must also enable GPU rasterization";
1265
Brett Wilsonecb80982017-07-12 20:34:511266const char kOriginTrialsName[] = "Origin Trials";
1267const char kOriginTrialsDescription[] =
1268 "Enables origin trials for controlling access to feature/API experiments.";
1269
Becca Hughes930d8cd2017-10-02 11:09:121270const char kOverflowIconsForMediaControlsName[] =
1271 "Icons on Media Controls Overflow Menu";
1272const char kOverflowIconsForMediaControlsDescription[] =
1273 "Displays icons on the overflow menu of the native media controls";
1274
Brett Wilsonecb80982017-07-12 20:34:511275const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1276const char kOverlayScrollbarsDescription[] =
1277 "Enable the experimental overlay scrollbars implementation. You must also "
1278 "enable threaded compositing to have the scrollbars animate.";
1279
chaopenge8aa016b2017-08-24 15:20:191280const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1281 "Flash Overlay Scrollbars After Any Scroll Update";
1282const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1283 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1284 " must also enable Overlay Scrollbars.";
1285
chaopeng343678022017-08-24 18:45:001286const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1287 "Flash Overlay Scrollbars When Mouse Enter";
1288const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1289 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1290 " enable Overlay Scrollbars.";
1291
Daniele Castagna74ddb9c2018-06-21 22:59:021292const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1293const char kOverlayStrategiesDescription[] =
1294 "Select strategies used to promote quads to HW overlays.";
1295const char kOverlayStrategiesDefault[] = "Default";
1296const char kOverlayStrategiesNone[] = "None";
1297const char kOverlayStrategiesUnoccludedFullscreen[] =
1298 "Unoccluded fullscreen buffers (single-fullscreen)";
1299const char kOverlayStrategiesUnoccluded[] =
1300 "Unoccluded buffers (single-fullscreen,single-on-top)";
1301const char kOverlayStrategiesOccludedAndUnoccluded[] =
1302 "Occluded and unoccluded buffers "
1303 "(single-fullscreen,single-on-top,underlay)";
1304
Claudio Magni81326f92017-09-01 05:21:181305const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1306const char kUseNewAcceptLanguageHeaderDescription[] =
1307 "Adds the base language code after other corresponding language+region "
1308 "codes. This ensures that users receive content in their preferred "
1309 "language.";
1310
Brett Wilsonecb80982017-07-12 20:34:511311const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1312const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481313 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511314const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481315const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511316
1317const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1318const char kOverscrollStartThresholdDescription[] =
1319 "Changes overscroll start threshold relative to the default value.";
1320const char kOverscrollStartThreshold133Percent[] = "133%";
1321const char kOverscrollStartThreshold166Percent[] = "166%";
1322const char kOverscrollStartThreshold200Percent[] = "200%";
1323
chaopenge2b6e5f2018-05-08 16:40:451324const char kTouchpadOverscrollHistoryNavigationName[] =
1325 "Overscroll history navigation on Touchpad";
1326const char kTouchpadOverscrollHistoryNavigationDescription[] =
1327 "Allows swipe left/right from touchpad change browser navigation.";
1328
Xing Liu5400a002017-09-15 21:48:291329const char kParallelDownloadingName[] = "Parallel downloading";
1330const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061331 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291332
Brett Wilsonecb80982017-07-12 20:34:511333const char kPassiveEventListenerDefaultName[] =
1334 "Passive Event Listener Override";
1335const char kPassiveEventListenerDefaultDescription[] =
1336 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1337 "haven't requested otherwise) to be treated as passive. This will break "
1338 "touch/wheel behavior on some websites but is useful for demonstrating the "
1339 "potential performance benefits of adopting passive event listeners.";
1340const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1341const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1342
1343const char kPassiveEventListenersDueToFlingName[] =
1344 "Touch Event Listeners Passive Default During Fling";
1345const char kPassiveEventListenersDueToFlingDescription[] =
1346 "Forces touchstart, and first touchmove per scroll event listeners during "
1347 "fling to be treated as passive.";
1348
1349const char kPassiveDocumentEventListenersName[] =
1350 "Document Level Event Listeners Passive Default";
1351const char kPassiveDocumentEventListenersDescription[] =
1352 "Forces touchstart, and touchmove event listeners on document level "
1353 "targets (which haven't requested otherwise) to be treated as passive.";
1354
1355const char kPasswordForceSavingName[] = "Force-saving of passwords";
1356const char kPasswordForceSavingDescription[] =
1357 "Allow the user to manually enforce password saving instead of relying on "
1358 "password manager's heuristics.";
1359
Vaclav Brozekd8a3f542017-11-16 14:21:131360const char kPasswordExportName[] = "Password export";
1361const char kPasswordExportDescription[] =
1362 "Export functionality in password settings.";
1363
1364const char kPasswordImportName[] = "Password import";
1365const char kPasswordImportDescription[] =
1366 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511367
Friedrich Horschig03c91982018-01-25 14:21:281368const char kPasswordSearchMobileName[] = "Password search";
1369const char kPasswordSearchMobileDescription[] =
1370 "Search functionality in password settings.";
1371
Friedrich Horschige6c27742018-04-23 17:13:411372const char kPasswordsKeyboardAccessoryName[] =
1373 "Add password-related functions to keyboard accessory";
1374const char kPasswordsKeyboardAccessoryDescription[] =
1375 "Adds password generation button and toggle for the passwords bottom sheet "
1376 "to the keyboard accessory. Replaces password generation popups.";
1377
Tom Sepez92a2cd242018-03-13 19:23:091378const char kPdfIsolationName[] = "PDF Isolation";
1379const char kPdfIsolationDescription[] =
1380 "Render PDF files from different origins in different plugin processes.";
1381
Brett Wilsonecb80982017-07-12 20:34:511382const char kPinchScaleName[] = "Pinch scale";
1383const char kPinchScaleDescription[] =
1384 "Enables experimental support for scale using pinch.";
1385
Doug Arnett620ff542018-02-06 17:54:221386const char kPreviewsAllowedName[] = "Previews Allowed";
1387const char kPreviewsAllowedDescription[] =
1388 "Allows previews to be shown subject to specific preview types being "
1389 "enabled and the client experiencing specific triggering conditions. "
1390 "May be used as a kill-switch to turn off all potential preview types.";
1391
Brett Wilsonecb80982017-07-12 20:34:511392const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1393const char kPrintPdfAsImageDescription[] =
1394 "If enabled, an option to print PDF files as images will be available in "
1395 "print preview.";
1396
1397const char kPrintPreviewRegisterPromosName[] =
1398 "Print Preview Registration Promos";
1399const char kPrintPreviewRegisterPromosDescription[] =
1400 "Enable registering unregistered cloud printers from print preview.";
1401
1402const char kProtectSyncCredentialName[] = "Autofill sync credential";
1403const char kProtectSyncCredentialDescription[] =
1404 "How the password manager handles autofill for the sync credential.";
1405
1406const char kProtectSyncCredentialOnReauthName[] =
1407 "Autofill sync credential only for transactional reauth pages";
1408const char kProtectSyncCredentialOnReauthDescription[] =
1409 "How the password manager handles autofill for the sync credential only "
1410 "for transactional reauth pages.";
1411
Mohsen Izadi93faac12017-07-29 04:45:151412const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1413const char kPullToRefreshDescription[] =
1414 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011415const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151416
Troy Hildebrandt7228ad12018-02-23 21:18:241417const char kQueryInOmniboxName[] = "Query in Omnibox";
1418const char kQueryInOmniboxDescription[] =
1419 "Only display query terms in the omnibox when viewing a search results "
1420 "page.";
1421
Brett Wilsonecb80982017-07-12 20:34:511422const char kQuicName[] = "Experimental QUIC protocol";
1423const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1424
Emily Starke8878d52018-05-11 21:27:261425const char kRecurrentInterstitialName[] =
1426 "Show a message when the same SSL error recurs";
1427const char kRecurrentInterstitialDescription[] =
1428 "Enable a special message on the SSL certificate error page when the same "
1429 "SSL error occurs repeatedly.";
1430
Brett Wilsonecb80982017-07-12 20:34:511431const char kReducedReferrerGranularityName[] =
1432 "Reduce default 'referer' header granularity.";
1433const char kReducedReferrerGranularityDescription[] =
1434 "If a page hasn't set an explicit referrer policy, setting this flag will "
1435 "reduce the amount of information in the 'referer' header for cross-origin "
1436 "requests.";
1437
Claudio Magnie0a80bb2018-01-31 02:52:581438extern const char kRegionalLocalesAsDisplayUIName[] =
1439 "Allow regional locales as display UI";
1440extern const char kRegionalLocalesAsDisplayUIDescription[] =
1441 "This flag allows regional locales to be selected as display UI by the "
1442 "user in Language Settings. The actual locale of the system is derived "
1443 "from the user selection based on some simple fallback logic.";
1444
Christian Dullweber1af31e62018-02-22 11:49:481445const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141446 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481447const char kRemoveNavigationHistoryDescription[] =
1448 "Remove a navigation entry when the corresponding history entry has been "
1449 "deleted.";
1450
Mihai Sardarescu6d0f5b72017-10-30 11:24:381451const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1452 "Remove usage of the deprecated GAIA sign-in endpoint";
1453const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1454 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1455 "This flags controls wheter it should no longer be used during a sign-in "
1456 " flow.";
1457
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351458const char kRendererSideResourceSchedulerName[] =
1459 "Renderer side ResourceScheduler";
1460const char kRendererSideResourceSchedulerDescription[] =
1461 "Migrate some ResourceScheduler functionalities to renderer";
1462
Brett Wilsonecb80982017-07-12 20:34:511463const char kRequestTabletSiteName[] =
1464 "Request tablet site option in the settings menu";
1465const char kRequestTabletSiteDescription[] =
1466 "Allows the user to request tablet site. Web content is often optimized "
1467 "for tablet devices. When this option is selected the user agent string is "
1468 "changed to indicate a tablet device. Web content optimized for tablets is "
1469 "received there after for the current tab.";
1470
1471const char kResetAppListInstallStateName[] =
1472 "Reset the App Launcher install state on every restart.";
1473const char kResetAppListInstallStateDescription[] =
1474 "Reset the App Launcher install state on every restart. While this flag is "
1475 "set, Chrome will forget the launcher has been installed each time it "
1476 "starts. This is used for testing the App Launcher install flow.";
1477
Kinuko Yasuda33955082018-06-19 10:14:591478const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511479const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591480 "Uses the resource load scheduler in blink to throttle resource load "
1481 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511482
Brett Wilsonecb80982017-07-12 20:34:511483const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1484const char kSafeSearchUrlReportingDescription[] =
1485 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1486
Alexei Filippov98772752018-01-27 08:26:521487const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1488const char kSamplingHeapProfilerDescription[] =
1489 "Enables native memory sampling profiler with specified rate in KiB. "
1490 "If sampling rate is not provided the default value of 128 KiB is used.";
1491
Brett Wilsonecb80982017-07-12 20:34:511492const char kSaveasMenuLabelExperimentName[] =
1493 "Switch 'Save as' menu labels to 'Download'";
1494const char kSaveasMenuLabelExperimentDescription[] =
1495 "Enables an experiment to switch menu labels that use 'Save as...' to "
1496 "'Download'.";
1497
1498const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1499const char kSavePageAsMhtmlDescription[] =
1500 "Enables saving pages as MHTML: a single text file containing HTML and all "
1501 "sub-resources.";
1502
Nate Chapin9638e7102017-09-20 22:11:011503const char kSavePreviousDocumentResourcesName[] =
1504 "Save Previous Document Resources";
1505const char kSavePreviousDocumentResourcesDescription[] =
1506 "Saves an old document's cached resources until the specified point in the "
1507 "next document's lifecycle.";
1508const char kSavePreviousDocumentResourcesNever[] =
1509 "Don't explicitly save resources";
1510const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1511 "Save resources until onDOMContentLoaded completes";
1512const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1513 "Save resources until onload completes";
1514
Brett Wilsonecb80982017-07-12 20:34:511515const char kScrollPredictionName[] = "Scroll prediction";
1516const char kScrollPredictionDescription[] =
1517 "Predicts the finger's future position during scrolls allowing time to "
1518 "render the frame before the finger is there.";
1519
1520const char kSecondaryUiMd[] =
1521 "Material Design in the rest of the browser's native UI";
1522const char kSecondaryUiMdDescription[] =
1523 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1524 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341525 "browser dialogs. If --top-chrome-md is effectively Material Design "
1526 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511527
1528const char kServiceWorkerNavigationPreloadName[] =
1529 "Service worker navigation preload.";
1530const char kServiceWorkerNavigationPreloadDescription[] =
1531 "Enable web pages to use the experimental service worker navigation "
1532 "preload API.";
1533
gogeraldd5061b592017-09-06 23:39:551534const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1535const char kServiceWorkerPaymentAppsDescription[] =
1536 "Enable Service Worker applications to integrate as payment apps";
1537
Makoto Shimazu22078cc2018-02-21 03:01:441538extern const char kServiceWorkerServicificationName[] =
1539 "Servicified service workers";
1540extern const char kServiceWorkerServicificationDescription[] =
1541 "Enable the servicified service workers. A servicified service worker can "
1542 "have direct connection from its clients, so that fetch events can be "
1543 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171544
Tsuyoshi Horobcb1c642017-11-24 16:32:141545const char kServiceWorkerScriptFullCodeCacheName[] =
1546 "Service worker script full code cache.";
1547const char kServiceWorkerScriptFullCodeCacheDescription[] =
1548 "Generate V8 full code cache of Service Worker scripts while installing.";
1549
Brett Wilsonecb80982017-07-12 20:34:511550const char kSettingsWindowName[] = "Show settings in a window";
1551const char kSettingsWindowDescription[] =
1552 "Settings will be shown in a dedicated window instead of as a browser tab.";
1553
Manu Cornetd7ef7c52018-05-01 22:08:231554const char kShelfHoverPreviewsName[] =
1555 "Show previews of running apps when hovering over the shelf.";
1556const char kShelfHoverPreviewsDescription[] =
1557 "Shows previews of the open windows for a given running app when hovering "
1558 "over the shelf.";
1559
Manu Cornet683e14b2018-07-16 17:39:431560const char kShelfNewUiName[] = "Newest shelf redesign.";
1561const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1562
Trent Apted750ba7022017-10-23 13:36:251563const char kShowAllDialogsWithViewsToolkitName[] =
1564 "Show all dialogs with Views toolkit";
1565const char kShowAllDialogsWithViewsToolkitDescription[] =
1566 "All browser dialogs will be shown using the Views toolkit rather than "
1567 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1568
Naoki Fukino008a0022018-05-23 18:33:001569const char kShowAndroidFilesInFilesAppName[] =
1570 "Show Android files in Files app";
1571const char kShowAndroidFilesInFilesAppDescription[] =
1572 "Show Android files in Files app if Android is enabled on the device.";
1573
Luciano Pachecoa0e2753f2018-07-16 07:41:101574const char kFilesAppDisableMyFilesNavigationName[] =
1575 "Disable the My Files on the navigation in the Files app";
1576const char kFilesAppDisableMyFilesNavigationDescription[] =
1577 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511578 R"("My Files" root for Downloads, Linux and Play files)";
1579
Brett Wilsonecb80982017-07-12 20:34:511580const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1581const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381582 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1583 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511584
1585const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1586const char kShowAutofillTypePredictionsDescription[] =
1587 "Annotates web forms with Autofill field type predictions as placeholder "
1588 "text.";
1589
1590const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1591const char kShowOverdrawFeedbackDescription[] =
1592 "Visualize overdraw by color-coding elements based on if they have other "
1593 "elements drawn underneath.";
1594
Carlos IL89128732018-04-03 17:00:251595const char kSupervisedUserCommittedInterstitialsName[] =
1596 "Enable Supervised User Committed Interstitials";
1597const char kSupervisedUserCommittedInterstitialsDescription[] =
1598 "Use committed error pages instead of transient navigation entries for "
1599 "supervised user interstitials";
1600
yiyixbdfa9a0b2017-10-23 22:21:471601const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1602const char kEnableDrawOcclusionDescription[] =
1603 "Enable the system to use draw occlusion to skip draw quads when they are "
1604 "not shown on the screen.";
1605
Brett Wilsonecb80982017-07-12 20:34:511606const char kShowSavedCopyName[] = "Show Saved Copy Button";
1607const char kShowSavedCopyDescription[] =
1608 "When a page fails to load, if a stale copy of the page exists in the "
1609 "browser cache, a button will be presented to allow the user to load that "
1610 "stale copy. The primary enabling choice puts the button in the most "
1611 "salient position on the error page; the secondary enabling choice puts it "
1612 "secondary to the reload button.";
1613const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1614const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1615const char kDisableShowSavedCopy[] = "Disable";
1616
Brett Wilsonecb80982017-07-12 20:34:511617const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1618const char kSilentDebuggerExtensionApiDescription[] =
1619 "Do not show the infobar when an extension attaches to a page via "
1620 "chrome.debugger API. This is required to debug extension background "
1621 "pages.";
1622
Tsuyoshi Horo53895ba92018-03-14 04:06:481623const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1624const char kSignedHTTPExchangeDescription[] =
1625 "Enables Origin-Signed HTTP Exchanges support which is still in "
1626 "development. Warning: Enabling this may pose a security risk.";
1627
Brett Wilsonecb80982017-07-12 20:34:511628const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1629const char kSimpleCacheBackendDescription[] =
1630 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1631 "disk space allocation.";
1632
Christopher Thompson75ff845d2018-02-01 20:12:461633const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1634const char kSimplifyHttpsIndicatorDescription[] =
1635 "Change the UI treatment for HTTPS pages.";
1636
Brett Wilsonecb80982017-07-12 20:34:511637const char kSingleClickAutofillName[] = "Single-click autofill";
1638const char kSingleClickAutofillDescription[] =
1639 "Make autofill suggestions on initial mouse click on a form element.";
1640
Bret Sepulveda4f891da2018-07-16 19:10:301641const char kSingleTabMode[] = "Single-tab mode";
1642const char kSingleTabModeDescription[] =
1643 "Windows with a single tab receive a special, minimal visual treatment.";
1644
Nick Carter855bc492018-03-10 00:44:571645const char kStrictSiteIsolationName[] = "Strict site isolation";
1646const char kStrictSiteIsolationDescription[] =
1647 "Security mode that enables site isolation for all sites. When enabled, "
1648 "each renderer process will contain pages from at most one site, using "
1649 "out-of-process iframes when needed. When enabled, this flag forces the "
1650 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1651 "isolation mode will be determined by enterprise policy or field trial.";
1652
1653const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1654const char kSiteIsolationTrialOptOutDescription[] =
1655 "Opts out of field trials that enable site isolation modes "
1656 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1657 "may be due to out-of-process iframes. Opt-out has no effect if site "
1658 "isolation is force-enabled via #enable-site-per-process or enterprise "
1659 "policy. Caution: this disables important mitigations for the Spectre CPU "
1660 "vulnerability affecting most computers.";
1661extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1662extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1663 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511664
Pattideade7972018-04-27 02:59:401665const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511666const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401667 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511668
Brett Wilsonecb80982017-07-12 20:34:511669const char kSmoothScrollingName[] = "Smooth Scrolling";
1670const char kSmoothScrollingDescription[] =
1671 "Animate smoothly when scrolling page content.";
1672
1673const char kSoftwareRasterizerName[] = "3D software rasterizer";
1674const char kSoftwareRasterizerDescription[] =
1675 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1676
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201677const char kSoleIntegrationName[] = "Sole integration";
1678const char kSoleIntegrationDescription[] =
1679 "Enable Sole integration for browser customization. You must restart "
1680 "the browser twice for changes to take effect.";
1681
Tommy Steimel77704be2017-08-28 22:14:401682const char kSoundContentSettingName[] = "Sound content setting";
1683const char kSoundContentSettingDescription[] =
1684 "Enable site-wide muting in content settings and tab strip context menu.";
1685
Alexandr Ilinf0500ed32017-09-27 21:12:361686const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1687const char kSpeculativePreconnectDescription[] =
1688 "Enable the new implementation of preconnect and DNS preresolve. "
1689 "\"Learning\" means that only database construction is enabled, "
1690 "\"Preconnect\" enables both learning and preconnect and disables the "
1691 "existing implementation. \"No preconnect\" disables both implementations.";
1692
Brett Wilsonecb80982017-07-12 20:34:511693const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341694const char kSpeculativePrefetchDescription[] =
1695 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1696 R"*(load times, based on a local database (see chrome://predictors). )*"
1697 R"*("Learning" means that only the database construction is enabled, )*"
1698 R"*("Prefetching" that learning and prefetching are enabled.)*";
1699
Justin Donnelly4e448cb2017-07-07 21:32:131700const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1701 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131702const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1703 "If enabled, when the user enters text in the omnibox that looks like a "
1704 "a query, any service worker associated with the search engine the query "
1705 "will be sent to is started early.";
1706
Brett Wilsonecb80982017-07-12 20:34:511707const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1708const char kSpellingFeedbackFieldTrialDescription[] =
1709 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401710
Shubhie Panickerfaf082ed2018-01-03 04:49:151711const char kStopInBackgroundName[] = "Stop in background";
1712const char kStopInBackgroundDescription[] =
1713 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281714 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151715
Shubhie Panicker56c99a22018-03-21 00:22:281716const char kStopNonTimersInBackgroundName[] =
1717 "Stop non-timer task queues background";
1718const char kStopNonTimersInBackgroundDescription[] =
1719 "Stop non-timer task queues, in the background, "
1720 "after a grace period.";
1721
Brett Wilsonecb80982017-07-12 20:34:511722const char kSuggestionsWithSubStringMatchName[] =
1723 "Substring matching for Autofill suggestions";
1724const char kSuggestionsWithSubStringMatchDescription[] =
1725 "Match Autofill suggestions based on substrings (token prefixes) rather "
1726 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341727
Brett Wilsonecb80982017-07-12 20:34:511728const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1729const char kSyncSandboxDescription[] =
1730 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341731
Joe Downing8cbbc192018-05-14 17:37:071732const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1733const char kSystemKeyboardLockDescription[] =
1734 "Enables websites to use the keyboard.lock() API to intercept system "
1735 "keyboard shortcuts and have the events routed directly to the website "
1736 "when in fullscreen mode.";
1737
Brett Wilsonecb80982017-07-12 20:34:511738const char kTabAudioMutingName[] = "Tab audio muting UI control";
1739const char kTabAudioMutingDescription[] =
1740 "When enabled, the audio indicators in the tab strip double as tab audio "
1741 "mute controls. This also adds commands in the tab context menu for "
1742 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341743
Christian Dullweberd0d96f02017-09-13 09:22:511744const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1745const char kTabsInCbdDescription[] =
1746 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1747
Becky Zhou99c22802017-10-19 05:09:271748const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1749const char kTabModalJsDialogDescription[] =
1750 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1751 " tab.";
1752
Brett Wilsonecb80982017-07-12 20:34:511753const char kTcpFastOpenName[] = "TCP Fast Open";
1754const char kTcpFastOpenDescription[] =
1755 "Enable the option to send extra authentication information in the initial "
1756 "SYN packet for a previously connected client, allowing faster data send "
1757 "start.";
vabr0215a8e2017-03-28 12:47:341758
Daniele Castagna0fead93e2018-01-10 20:40:291759const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1760const char kTintGlCompositedContentDescription[] =
1761 "Tint contents composited using GL with a shade of red to help debug and "
1762 "study overlay support.";
1763
Brett Wilsonecb80982017-07-12 20:34:511764const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1765const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581766 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401767 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431768 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341769 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541770 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511771const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531772const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461773const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581774const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401775const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431776const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341777
Brett Wilsonecb80982017-07-12 20:34:511778const char kThreadedScrollingName[] = "Threaded scrolling";
1779const char kThreadedScrollingDescription[] =
1780 "Threaded handling of scroll-related input events. Disabling this will "
1781 "force all such scroll events to be handled on the main thread. Note that "
1782 "this can dramatically hurt scrolling performance of most websites and is "
1783 "intended for testing purposes only.";
1784
Steven Valdez4584b2482017-07-14 01:11:571785const char kTLS13VariantName[] = "TLS 1.3";
1786const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1787const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111788const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041789const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381790const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571791
Brett Wilsonecb80982017-07-12 20:34:511792const char kTopDocumentIsolationName[] = "Top document isolation";
1793const char kTopDocumentIsolationDescription[] =
1794 "Highly experimental performance mode where cross-site iframes are kept in "
1795 "a separate process from the top document. In this mode, iframes from "
1796 "different third-party sites will be allowed to share a process.";
1797
Dominick Ng8896b1cd2017-10-17 23:24:361798const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1799const char kTopSitesFromSiteEngagementDescription[] =
1800 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1801 "engagement.";
1802
Brett Wilsonecb80982017-07-12 20:34:511803const char kTouchAdjustmentName[] = "Touch adjustment";
1804const char kTouchAdjustmentDescription[] =
1805 "Refine the position of a touch gesture in order to compensate for touches "
1806 "having poor resolution compared to a mouse.";
1807
Alex Newcomerb3d3c972018-05-03 14:59:401808const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1809const char kTouchableAppContextMenuDescription[] =
1810 "Enable the touchable app context menu, which enlarges app context menus "
1811 "in the Launcher and Shelf to make room for new features.";
1812
Brett Wilsonecb80982017-07-12 20:34:511813const char kTouchDragDropName[] = "Touch initiated drag and drop";
1814const char kTouchDragDropDescription[] =
1815 "Touch drag and drop can be initiated through long press on a draggable "
1816 "element.";
1817
1818const char kTouchEventsName[] = "Touch Events API";
1819const char kTouchEventsDescription[] =
1820 "Force Touch Events API feature detection to always be enabled or "
1821 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291822 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511823
1824const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1825const char kTouchSelectionStrategyDescription[] =
1826 "Controls how text selection granularity changes when touch text selection "
1827 "handles are dragged. Non-default behavior is experimental.";
1828const char kTouchSelectionStrategyCharacter[] = "Character";
1829const char kTouchSelectionStrategyDirection[] = "Direction";
1830
1831const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1832const char kTraceUploadUrlDescription[] =
1833 "This is to be used in conjunction with the enable-navigation-tracing "
1834 "flag. Please select the label that best describes the recorded traces. "
1835 "This will choose the destination the traces are uploaded to. If you are "
1836 "not sure, select other. If left empty, no traces will be uploaded.";
1837const char kTraceUploadUrlChoiceOther[] = "Other";
1838const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1839const char kTraceUploadUrlChoiceQa[] = "QA";
1840const char kTraceUploadUrlChoiceTesting[] = "Testing";
1841
Anthony Vallee-Dubois265c5692018-06-01 15:57:141842const char kTranslateForceTriggerOnEnglishName[] =
1843 "Select which language model to use to trigger translate on English "
1844 "content";
1845const char kTranslateForceTriggerOnEnglishDescription[] =
1846 "Force the Translate Triggering on English pages experiment to be enabled "
1847 "with the selected language model active.";
1848
Philippe Hamel7fdaa452017-09-29 17:22:491849const char kTranslateRankerEnforcementName[] =
1850 "Enforce TranslateRanker decisions";
1851const char kTranslateRankerEnforcementDescription[] =
1852 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1853 "or not Translate UI should be triggered in a given context.";
1854
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161855const char kTranslateUIName[] = "Enable Translate";
1856const char kTranslateUIDescription[] =
1857 "Enable the Translate popup when visiting webpages in other languages.";
1858
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051859const char kTreatInsecureOriginAsSecureName[] =
1860 "Insecure origins treated as secure";
1861const char kTreatInsecureOriginAsSecureDescription[] =
1862 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1863 "supplied as a comma-separated list. For the definition of secure "
1864 "contexts, "
1865 "see https://w3c.github.io/webappsec-secure-contexts/";
1866
Brett Wilsonecb80982017-07-12 20:34:511867const char kTrySupportedChannelLayoutsName[] =
1868 "Causes audio output streams to check if channel layouts other than the "
1869 "default hardware layout are available.";
1870const char kTrySupportedChannelLayoutsDescription[] =
1871 "Causes audio output streams to check if channel layouts other than the "
1872 "default hardware layout are available. Turning this on will allow the OS "
1873 "to do stereo to surround expansion if supported. May expose third party "
1874 "driver bugs, use with caution.";
1875
David Roger6762a092018-01-31 15:55:071876const char kUnifiedConsentName[] = "Unified Consent";
1877const char kUnifiedConsentDescription[] =
1878 "Enables a unified management of user consent for privacy-related "
1879 "features. This includes new confirmation screens and improved settings "
1880 "pages.";
1881
Brett Wilsonecb80982017-07-12 20:34:511882const char kUiPartialSwapName[] = "Partial swap";
1883const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1884
Chris Pickel3a227ae62017-08-24 10:47:261885const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1886const char kUseDdljsonApiDescription[] =
1887 "Enables the new ddljson API to fetch Doodles for the NTP.";
1888
Becca Hughes59c05b42017-11-03 13:11:581889const char kUseModernMediaControlsName[] = "New Media Controls";
1890const char kUseModernMediaControlsDescription[] =
1891 "Enables the new style native media controls.";
1892
Wei Li790e7a8572018-03-23 01:31:551893const char kUsePdfCompositorServiceName[] =
1894 "Use PDF compositor service for printing";
1895const char kUsePdfCompositorServiceDescription[] =
1896 "When enabled, use PDF compositor service to composite and generate PDF "
1897 "files for printing. When site isolation is enabled, disabling this will "
1898 "not stop using PDF compositor service since the service is required for "
1899 "printing out-of-process iframes correctly.";
1900
Mustaq Ahmedc646c0a2017-10-20 20:08:301901const char kUserActivationV2Name[] = "User Activation v2";
1902const char kUserActivationV2Description[] =
1903 "Enable simple user activation for APIs that are otherwise controlled by "
1904 "user gesture tokens.";
1905
Brett Wilsonecb80982017-07-12 20:34:511906const char kUserConsentForExtensionScriptsName[] =
1907 "User consent for extension scripts";
1908const char kUserConsentForExtensionScriptsDescription[] =
1909 "Require user consent for an extension running a script on the page, if "
1910 "the extension requested permission to run on all urls.";
1911
1912const char kUseSuggestionsEvenIfFewFeatureName[] =
1913 "Disable minimum for server-side tile suggestions on NTP.";
1914const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1915 "Request server-side suggestions even if there are only very few of them "
1916 "and use them for tiles on the New Tab Page.";
1917
1918const char kV8CacheOptionsName[] = "V8 caching mode.";
1919const char kV8CacheOptionsDescription[] =
1920 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511921const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1922
Hitoshi Yoshida3e5db562017-09-11 02:31:081923const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1924const char kV8ContextSnapshotDescription[] =
1925 "Sets to use a snapshot to create V8 contexts in frame creation.";
1926
Michael Hablich896d52662017-10-23 15:59:571927const char kV8VmFutureName[] = "Future V8 VM features";
1928const char kV8VmFutureDescription[] =
1929 "This enables upcoming and experimental V8 VM features. "
1930 "This flag does not enable experimental JavaScript features.";
1931
Hannes Payer1130d5672018-06-05 07:37:311932const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1933const char kV8OrinocoDescription[] =
1934 "This enables the V8 Orinoco garbage collection features.";
1935
Brett Wilsonecb80982017-07-12 20:34:511936const char kVideoFullscreenOrientationLockName[] =
1937 "Lock screen orientation when playing a video fullscreen.";
1938const char kVideoFullscreenOrientationLockDescription[] =
1939 "Lock the screen orientation of the device to match video orientation when "
1940 "a video goes fullscreen. Only on phones.";
1941
1942const char kVideoRotateToFullscreenName[] =
1943 "Rotate-to-fullscreen gesture for videos.";
1944const char kVideoRotateToFullscreenDescription[] =
1945 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1946 "the video. Only on phones.";
1947
Elly Fong-Jonesf4c79502018-03-23 19:21:531948const char kViewsBrowserWindowsName[] =
1949 "Use Views browser windows instead of Cocoa.";
1950const char kViewsBrowserWindowsDescription[] =
1951 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1952
Brett Wilsonecb80982017-07-12 20:34:511953const char kWalletServiceUseSandboxName[] =
1954 "Use Google Payments sandbox servers";
1955const char kWalletServiceUseSandboxDescription[] =
1956 "For developers: use the sandbox service for Google Payments API calls.";
1957
Brett Wilsonecb80982017-07-12 20:34:511958const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1959const char kWebglDraftExtensionsDescription[] =
1960 "Enabling this option allows web applications to access the WebGL "
1961 "Extensions that are still in draft status.";
1962
1963const char kWebMidiName[] = "Web MIDI API";
1964const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1965
1966const char kWebPaymentsName[] = "Web Payments";
1967const char kWebPaymentsDescription[] =
1968 "Enable Web Payments API integration, a JavaScript API for merchants.";
1969
Mathieu Perreault51339b82017-07-20 17:06:051970const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1971const char kWebPaymentsModifiersDescription[] =
1972 "If the website provides modifiers in the payment request, show the custom "
1973 "total for each payment instrument, update the shopping cart when "
1974 "instruments are switched, and send modified payment method specific data "
1975 "to the payment app.";
1976
Brett Wilsonecb80982017-07-12 20:34:511977const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1978const char kWebrtcEchoCanceller3Description[] =
1979 "Experimental WebRTC echo canceller (AEC3).";
1980
1981const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1982const char kWebrtcHwDecodingDescription[] =
1983 "Support in WebRTC for decoding video streams using platform hardware.";
1984
1985const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1986const char kWebrtcHwEncodingDescription[] =
1987 "Support in WebRTC for encoding video streams using platform hardware.";
1988
1989const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1990const char kWebrtcHwH264EncodingDescription[] =
1991 "Support in WebRTC for encoding h264 video streams using platform "
1992 "hardware.";
1993
1994const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1995const char kWebrtcHwVP8EncodingDescription[] =
1996 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1997
Niels Möller090866a2018-02-13 10:55:031998const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1999 "WebRTC new encode cpu load estimator";
2000const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2001 "Enable new estimator for the encoder cpu load, for evaluation and "
2002 "testing. Intended to improve accuracy when screen casting.";
2003
Elad Alon85e0d0be2018-06-26 10:38:372004const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2005const char kWebRtcRemoteEventLogDescription[] =
2006 "Allow collecting WebRTC event logs and uploading them to Crash. "
2007 "Please note that, even if enabled, this will still require "
2008 "a policy to be set, for it to have an effect.";
2009
Brett Wilsonecb80982017-07-12 20:34:512010const char kWebrtcSrtpAesGcmName[] =
2011 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2012const char kWebrtcSrtpAesGcmDescription[] =
2013 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2014
Joachim Bauch4a41d7512017-08-23 14:24:232015const char kWebrtcSrtpEncryptedHeadersName[] =
2016 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2017const char kWebrtcSrtpEncryptedHeadersDescription[] =
2018 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2019 "for SRTP.";
2020
Brett Wilsonecb80982017-07-12 20:34:512021const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2022const char kWebrtcStunOriginDescription[] =
2023 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2024 "header.";
2025
Adam Riceed63fc02018-06-20 05:57:462026const char kWebSocketHandshakeReuseConnectionName[] =
2027 "Enable WebSocket connection reuse for authentication";
2028const char kWebSocketHandshakeReuseConnectionDescription[] =
2029 "Permits the WebSocket handshake to keep the connection open after an "
2030 "authentication failure. The connection may be used for further requests "
2031 "to send credentials. This is sometimes needed for Windows authentication.";
2032
Brett Wilsonecb80982017-07-12 20:34:512033const char kWebvrName[] = "WebVR";
2034const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012035 "Enables access to experimental Virtual Reality functionality via the "
2036 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2037 "Device API. Warning: Enabling this will also allow WebVR content on "
2038 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222039 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512040
Brandon Jonese9d9b2b2017-12-11 22:20:112041const char kWebXrName[] = "WebXR Device API";
2042const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012043 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2044 "and Augmented Reality (AR) devices.";
2045
2046const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2047const char kWebXrGamepadSupportDescription[] =
2048 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222049 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2050 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432051
2052const char kWebXrHitTestName[] = "WebXR Hit Test";
2053const char kWebXrHitTestDescription[] =
2054 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112055
Anna Maria57ecf7592018-01-12 03:10:402056const char kWebXrOrientationSensorDeviceName[] =
2057 "WebXR orientation sensor device";
2058const char kWebXrOrientationSensorDeviceDescription[] =
2059 "When no VR platform device is available, expose a non-presenting device "
2060 "based on the device's orientation sensors, if available.";
2061
Brett Wilsonecb80982017-07-12 20:34:512062const char kWifiCredentialSyncName[] = "WiFi credential sync";
2063const char kWifiCredentialSyncDescription[] =
2064 "Enables synchronizing WiFi network settings across devices. When enabled, "
2065 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2066 "credentials are synchronized subject to user preferences. (See also, "
2067 "chrome://settings/syncSetup.)";
2068
2069const char kZeroCopyName[] = "Zero-copy rasterizer";
2070const char kZeroCopyDescription[] =
2071 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342072
Brett Wilsonff596952017-07-14 01:06:552073// Android ---------------------------------------------------------------------
2074
2075#if defined(OS_ANDROID)
2076
2077const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2078const char kAiaFetchingDescription[] =
2079 "Enable intermediate certificate fetching when a server does not provide "
2080 "sufficient certificates to build a chain to a trusted root.";
2081
2082const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2083const char kAccessibilityTabSwitcherDescription[] =
2084 "Enable the accessibility tab switcher for Android.";
2085
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252086const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2087const char kAllowReaderForAccessibilityDescription[] =
2088 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2089
Brett Wilsonff596952017-07-14 01:06:552090const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2091const char kAndroidAutofillAccessibilityDescription[] =
2092 "Enable accessibility for autofill popup.";
2093
Anita Woodruffbfcd1e52018-07-16 12:00:512094const char kAppNotificationStatusMessagingName[] =
2095 "App notification status messaging";
2096const char kAppNotificationStatusMessagingDescription[] =
2097 "Enables messaging in site permissions UI informing user when "
2098 "notifications are disabled for the entire app.";
2099
Brett Wilsonff596952017-07-14 01:06:552100const char kAndroidPaymentAppsName[] = "Android payment apps";
2101const char kAndroidPaymentAppsDescription[] =
2102 "Enable third party Android apps to integrate as payment apps";
2103
Miriam Gershenson8cf1397222018-01-23 22:48:292104const char kAsyncDnsName[] = "Async DNS resolver";
2105const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2106
Brett Wilsonff596952017-07-14 01:06:552107const char kAutofillAccessoryViewName[] =
2108 "Autofill suggestions as keyboard accessory view";
2109const char kAutofillAccessoryViewDescription[] =
2110 "Shows Autofill suggestions on top of the keyboard rather than in a "
2111 "dropdown.";
2112
2113const char kBackgroundLoaderForDownloadsName[] =
2114 "Enables background downloading of pages.";
2115const char kBackgroundLoaderForDownloadsDescription[] =
2116 "Enables downloading pages in the background in case page is not yet "
2117 "loaded in current tab.";
2118
Tibor Goldschwendt11b3cf22018-07-04 15:32:442119const char kBackgroundTaskComponentUpdateName[] =
2120 "Background Task Component Updates";
2121const char kBackgroundTaskComponentUpdateDescription[] =
2122 "Schedule component updates with BackgroundTaskScheduler";
2123
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002124const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2125const char kCCTModuleDescription[] =
2126 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2127
Matthew Jones1abcb132018-07-09 17:59:462128const char kChromeDuetName[] = "Chrome Duet";
2129const char kChromeDuetDescription[] =
2130 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052131
Brett Wilsonff596952017-07-14 01:06:552132const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2133const char kChromeHomeSwipeLogicDescription[] =
2134 "Various swipe logic options for Chrome Home for sheet expansion.";
2135const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152136const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552137
Theresa8e44a7132018-06-15 17:40:592138const char kChromeModernAlternateCardLayoutName[] =
2139 "Chrome Modern Alternate Card Layout";
2140const char kChromeModernAlternateCardLayoutDescription[] =
2141 "Enable the alternate card layout for Chrome Modern Design.";
2142
Matthew Jones5b7f1d62018-01-23 00:37:252143const char kChromeModernDesignName[] = "Chrome Modern Design";
2144const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452145 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2146 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252147
Donn Denman3e78c8d2018-06-28 22:51:422148const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2149const char kChromeModernFullRollDescription[] =
2150 "Enable modern full-roll animation for Chrome.";
2151
Megan Jablonskic61eb1b82017-10-02 18:03:062152const char kChromeMemexName[] = "Chrome Memex";
2153const char kChromeMemexDescription[] =
2154 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2155 "Googlers.";
2156
Sarath Singapati83aef1c2017-11-16 15:54:522157const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2158const char kClearOldBrowsingDataDescription[] =
2159 "Enables clearing of browsing data which is older than a given time "
2160 "period.";
2161
Brett Wilsonff596952017-07-14 01:06:552162const char kContentSuggestionsCategoryOrderName[] =
2163 "Default content suggestions category order (e.g. on NTP)";
2164const char kContentSuggestionsCategoryOrderDescription[] =
2165 "Set default order of content suggestion categories (e.g. on the NTP).";
2166
2167const char kContentSuggestionsCategoryRankerName[] =
2168 "Content suggestions category ranker (e.g. on NTP)";
2169const char kContentSuggestionsCategoryRankerDescription[] =
2170 "Set category ranker to order categories of content suggestions (e.g. on "
2171 "the NTP).";
2172
Vitalii Iarkof52ff802017-09-14 12:34:242173const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2174const char kContentSuggestionsDebugLogDescription[] =
2175 "Enable content suggestions debug log accessible through "
2176 "snippets-internals.";
2177
Donn Denman8e58ead2017-11-04 01:44:012178const char kContextualSearchMlTapSuppressionName[] =
2179 "Contextual Search ML tap suppression";
2180const char kContextualSearchMlTapSuppressionDescription[] =
2181 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022182 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2183 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552184
2185const char kContextualSearchName[] = "Contextual Search";
2186const char kContextualSearchDescription[] =
2187 "Whether or not Contextual Search is enabled.";
2188
Donn Denman59729812018-01-09 01:27:022189const char kContextualSearchRankerQueryName[] =
2190 "Contextual Search Ranker prediction";
2191const char kContextualSearchRankerQueryDescription[] =
2192 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2193
2194const char kContextualSearchSecondTapName[] =
2195 "Contextual Search second tap triggering";
2196const char kContextualSearchSecondTapDescription[] =
2197 "Enables triggering on a second tap gesture even when Ranker would "
2198 "normally suppress that tap.";
2199
Cathy Li2fb32bf82018-06-06 18:55:402200const char kExploreSitesName[] = "Explore websites";
2201const char kExploreSitesDescription[] =
2202 "Enables portal from new tab page to explore websites.";
2203
Dmitry Skiba9c3efa72017-07-20 22:01:142204const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2205const char kDontPrefetchLibrariesDescription[] =
2206 "Don't prefetch libraries after loading.";
2207
Joy Ming5fd29ca62017-10-02 22:51:222208const char kDownloadsForegroundName[] = "Enable downloads foreground";
2209const char kDownloadsForegroundDescription[] =
2210 "Enable downloads as a foreground service for all versions of Android.";
2211
Joy Ming189b0cc2017-12-08 19:42:432212const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2213const char kDownloadsLocationChangeDescription[] =
2214 "Enable changing default downloads storage location on Android.";
2215
Shakti Sahu32b2ee102018-05-17 00:04:462216const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2217const char kDownloadProgressInfoBarDescription[] =
2218 "Enables an infobar notifying users about status of current downloads.";
2219
Shakti Sahu9ec8cfd2018-07-17 13:29:292220const char kDownloadHomeV2Name[] = "Enable download home v2";
2221const char kDownloadHomeV2Description[] =
2222 "Enables the new UI for download home";
2223
Brett Wilsonff596952017-07-14 01:06:552224const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2225const char kEnableAndroidPayIntegrationV1Description[] =
2226 "Enable integration with Android Pay using the first version of the API";
2227
2228const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2229const char kEnableAndroidPayIntegrationV2Description[] =
2230 "Enable integration with Android Pay using the second version of the API";
2231
Vitalii Iarkof4ed32d2017-09-26 13:15:532232const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552233const char kEnableAndroidSpellcheckerDescription[] =
2234 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552235
Lei Tianbd5a3bf2018-02-28 19:01:162236const char kEnableCommandLineOnNonRootedName[] =
2237 "Enable command line on non-rooted devices";
2238const char kEnableCommandLineOnNoRootedDescription[] =
2239 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2240
Vitalii Iarkof4ed32d2017-09-26 13:15:532241const char kEnableContentSuggestionsNewFaviconServerName[] =
2242 "Get favicons for content suggestions from a new server.";
2243const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2244 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2245 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552246
2247const char kEnableContentSuggestionsSettingsName[] =
2248 "Show content suggestions settings.";
2249const char kEnableContentSuggestionsSettingsDescription[] =
2250 "If enabled, the content suggestions settings will be available from the "
2251 "main settings menu.";
2252
Vitalii Iarkof4ed32d2017-09-26 13:15:532253const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2254 "Use content suggestions thumbnail dominant color.";
2255const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2256 "Use content suggestions thumbnail dominant color as a placeholder before "
2257 "the real thumbnail is fetched (requires Chrome Home).";
2258
Brett Wilsonff596952017-07-14 01:06:552259const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2260const char kEnableCustomContextMenuDescription[] =
2261 "Enables a new context menu when a link, image, or video is pressed within "
2262 "Chrome.";
2263
2264const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2265const char kEnableCustomFeedbackUiDescription[] =
2266 "Enables a custom feedback UI when submitting feedback through Google "
2267 "Feedback. Works with Google Play Services v10.2+";
2268
2269const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472270 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552271const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472272 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552273
Becca Hughes6d73bac542018-06-18 20:38:502274const char kEnableMediaControlsExpandGestureName[] =
2275 "Enable Media Controls Expand Gesture";
2276const char kEnableMediaControlsExpandGestureDescription[] =
2277 "Enables a gesture to be used on the media controls to extend the video "
2278 "into the Display Cutout area.";
2279
Brett Wilsonff596952017-07-14 01:06:552280const char kEnableOmniboxClipboardProviderName[] =
2281 "Omnibox clipboard URL suggestions";
2282const char kEnableOmniboxClipboardProviderDescription[] =
2283 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2284 "focus in the omnibox.";
2285
Becky Zhoua7f11d62018-02-01 16:02:532286const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2287 "Show article suggestions expandable header on New Tab Page";
2288const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2289 "If enabled, the article suggestions content on New Tab Page can be "
2290 "toggled shown or hidden by clicking the expandable header.";
2291
Brett Wilsonff596952017-07-14 01:06:552292const char kEnableNtpAssetDownloadSuggestionsName[] =
2293 "Show asset downloads on the New Tab page";
2294const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2295 "If enabled, the list of content suggestions on the New Tab page will "
2296 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2297 "later use.";
2298
2299const char kEnableNtpBookmarkSuggestionsName[] =
2300 "Show recently visited bookmarks on the New Tab page";
2301const char kEnableNtpBookmarkSuggestionsDescription[] =
2302 "If enabled, the list of content suggestions on the New Tab page will "
2303 "contain recently visited bookmarks.";
2304
2305const char kEnableNtpForeignSessionsSuggestionsName[] =
2306 "Show recent foreign tabs on the New Tab page";
2307const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2308 "If enabled, the list of content suggestions on the New Tab page will "
2309 "contain recent foreign tabs.";
2310
Brett Wilsonff596952017-07-14 01:06:552311const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2312 "Show offline page downloads on the New Tab page";
2313const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2314 "If enabled, the list of content suggestions on the New Tab page will "
2315 "contain pages that the user downloaded for later use.";
2316
2317const char kEnableNtpRemoteSuggestionsName[] =
2318 "Show server-side suggestions on the New Tab page";
2319const char kEnableNtpRemoteSuggestionsDescription[] =
2320 "If enabled, the list of content suggestions on the New Tab page will "
2321 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2322 "allows to override the source used to retrieve these server-side "
2323 "suggestions.";
2324
2325const char kEnableNtpSnippetsVisibilityName[] =
2326 "Make New Tab Page Snippets more visible.";
2327const char kEnableNtpSnippetsVisibilityDescription[] =
2328 "If enabled, the NTP snippets will become more discoverable with a larger "
2329 "portion of the first card above the fold.";
2330
2331const char kEnableNtpSuggestionsNotificationsName[] =
2332 "Notify about new content suggestions available at the New Tab page";
2333const char kEnableNtpSuggestionsNotificationsDescription[] =
2334 "If enabled, notifications will inform about new content suggestions on "
2335 "the New Tab page.";
2336
Brett Wilsonff596952017-07-14 01:06:552337const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2338const char kEnableOfflinePreviewsDescription[] =
2339 "Enable showing offline page previews on slow networks.";
2340
2341const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2342const char kEnableOskOverscrollDescription[] =
2343 "Enable OSK overscroll support. With this flag on, the OSK will only "
2344 "resize the visual viewport.";
2345
2346const char kEnableSpecialLocaleName[] =
2347 "Enable custom logic for special locales.";
2348const char kEnableSpecialLocaleDescription[] =
2349 "Enable custom logic for special locales. In this mode, Chrome might "
2350 "behave differently in some locales.";
2351
Brett Wilsonff596952017-07-14 01:06:552352const char kEnableWebNfcName[] = "WebNFC";
2353const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2354
gogeraldf3cbb422017-07-26 14:37:122355const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2356 "Enable Web Payments method section order V2.";
2357const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2358 "Enable this option to display payment method section above address "
2359 "section instead of below it.";
2360
Raymes Khoury582b43132017-12-12 23:54:302361const char kGrantNotificationsToDSEName[] =
2362 "Grant notifications to the Default Search Engine";
2363const char kGrantNotificationsToDSENameDescription[] =
2364 "Automatically grant the notifications permission to the Default Search "
2365 "Engine";
2366
Daniel Parke74fcf862018-03-27 18:05:452367const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512368const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452369
Yafei Duanbb7663f32018-07-17 01:33:152370const char kHomepageTileName[] =
2371 "Enable Homepage tile shown in Suggested Tiles";
2372const char kHomepageTileDescription[] =
2373 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2374 "used for homepage. It will not have an effect when NTPButton is disabled.";
2375
Theresa920e0ed2018-03-07 18:12:442376const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152377 "Use the interest feed to render content suggestions. Currently "
2378 "content "
Theresa920e0ed2018-03-07 18:12:442379 "suggestions are shown on the New Tab Page.";
2380const char kInterestFeedContentSuggestionsName[] =
2381 "Interest Feed Content Suggestions";
2382
Brett Wilsonff596952017-07-14 01:06:552383const char kKeepPrefetchedContentSuggestionsName[] =
2384 "Keep prefetched content suggestions";
2385const char kKeepPrefetchedContentSuggestionsDescription[] =
2386 "If enabled, some of prefetched content suggestions are not replaced by "
2387 "the new fetched suggestions.";
2388
Leo Zhang051b75482017-12-20 03:28:302389const char kLanguagesPreferenceName[] = "Language Settings";
2390const char kLanguagesPreferenceDescription[] =
2391 "Enable this option for Language Settings feature on Android.";
2392
Brett Wilsonff596952017-07-14 01:06:552393const char kLsdPermissionPromptName[] =
2394 "Location Settings Dialog Permission Prompt";
2395const char kLsdPermissionPromptDescription[] =
2396 "Whether to use the Google Play Services Location Settings Dialog "
2397 "permission dialog.";
2398
Amirhossein Simjour97b4154f2018-02-20 03:49:592399const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2400const char kModalPermissionDialogViewDescription[] =
2401 "Enable this option to use ModalDialogManager for permission Dialogs.";
2402
Brett Wilsonff596952017-07-14 01:06:552403const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2404const char kMediaScreenCaptureDescription[] =
2405 "Enable this option for experimental ScreenCapture feature on Android.";
2406
2407const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2408const char kModalPermissionPromptsDescription[] =
2409 "Whether to use permission dialogs in place of permission infobars.";
2410
Finnur Thorarinssonc1488fc62018-07-09 19:21:572411const char kNewContactsPickerName[] = "Enable new contacts picker";
2412const char kNewContactsPickerDescription[] =
2413 "Activates the new picker for selecting contacts.";
2414
Brett Wilsonff596952017-07-14 01:06:552415const char kNewPhotoPickerName[] = "Enable new Photopicker";
2416const char kNewPhotoPickerDescription[] =
2417 "Activates the new picker for selecting photos.";
2418
2419const char kNoCreditCardAbort[] = "No Credit Card Abort";
2420const char kNoCreditCardAbortDescription[] =
2421 "Whether or not the No Credit Card Abort is enabled.";
2422
Daniel Park990d0992018-05-18 22:12:512423const char kNtpButtonName[] = "Enable NTP Button";
2424const char kNtpButtonDescription[] =
2425 "Displays a New Tab Page button in the toolbar if enabled.";
2426
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062427const char kNtpModernLayoutName[] = "Modern NTP layout";
2428const char kNtpModernLayoutDescription[] =
2429 "Show a modern layout on the New Tab Page.";
2430
Brett Wilsonff596952017-07-14 01:06:552431const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2432const char kNtpGoogleGInOmniboxDescription[] =
2433 "Show a Google G in the omnibox on the New Tab Page.";
2434
Brett Wilsonff596952017-07-14 01:06:552435const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2436const char kOfflineBookmarksDescription[] =
2437 "Enable saving bookmarked pages for offline viewing.";
2438
Jian Li1413ebf2018-06-14 20:46:322439const char kOfflineIndicatorName[] = "Enable offline indicator";
2440const char kOfflineIndicatorDescription[] =
2441 "Enable showing offline indicator while offline.";
2442
Brett Wilsonff596952017-07-14 01:06:552443const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2444const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2445
2446const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2447const char kOfflinePagesCtV2Description[] =
2448 "V2 features include attributing pages to the app that initiated the "
2449 "custom tabs, and being able to query for pages by page attribution.";
2450
Cathy Li7311d792018-04-05 00:34:162451const char kOfflinePagesCTSuppressNotificationsName[] =
2452 "Disable download complete notification for whitelisted CCT apps.";
2453const char kOfflinePagesCTSuppressNotificationsDescription[] =
2454 "Disable download complete notification for page downloads originating "
2455 "from a CCT app whitelisted to show their own download complete "
2456 "notification.";
2457
Candice Sy74fa7a352018-03-30 23:46:492458const char kOfflinePagesDescriptiveFailStatusName[] =
2459 "Enables descriptive failed download status text.";
2460const char kOfflinePagesDescriptiveFailStatusDescription[] =
2461 "Enables failed download status text in notifications and Downloads Home "
2462 "to state the reason the request failed if the failure is actionable.";
2463
2464const char kOfflinePagesDescriptivePendingStatusName[] =
2465 "Enables descriptive pending download status text.";
2466const char kOfflinePagesDescriptivePendingStatusDescription[] =
2467 "Enables pending download status text in notifications and Downloads Home "
2468 "to state the reason the request is pending.";
2469
2470const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2471 "Enables offline pages in the downloads home to be opened in CCT.";
2472const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2473 "When enabled offline pages launched from the Downloads Home will be "
2474 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2475
Carlos Knippschild09272ecd2017-12-09 03:29:362476const char kOfflinePagesLimitlessPrefetchingName[] =
2477 "Removes resource usage limits for the prefetching of offline pages.";
2478const char kOfflinePagesLimitlessPrefetchingDescription[] =
2479 "Allows the prefetching of suggested offline pages to ignore resource "
2480 "usage limits. This allows it to completely ignore data usage limitations "
2481 "and allows downloads to happen with any kind of connection.";
2482
Brett Wilsonff596952017-07-14 01:06:552483const char kOfflinePagesLoadSignalCollectingName[] =
2484 "Enables collecting load timing data for offline page snapshots.";
2485const char kOfflinePagesLoadSignalCollectingDescription[] =
2486 "Enables loading completeness data collection while writing an offline "
2487 "page. This data is collected in the snapshotted offline page to allow "
2488 "data analysis to improve deciding when to make the offline snapshot.";
2489
2490const char kOfflinePagesPrefetchingName[] =
2491 "Enables suggested offline pages to be prefetched.";
2492const char kOfflinePagesPrefetchingDescription[] =
2493 "Enables suggested offline pages to be prefetched, so useful content is "
2494 "available while offline.";
2495
Cathy Li3d5379e2017-09-07 00:11:092496const char kOfflinePagesPrefetchingUIName[] =
2497 "Enables prefetched offline pages to be shown in UI.";
2498const char kOfflinePagesPrefetchingUIDescription[] =
2499 "Enables prefetched offline pages to raise notifications and be shown in "
2500 "download home UI.";
2501
Pete Williamson7845dff2017-09-20 11:06:192502const char kOfflinePagesResourceBasedSnapshotName[] =
2503 "Enables offline page snapshots to be based on percentage of page loaded.";
2504const char kOfflinePagesResourceBasedSnapshotDescription[] =
2505 "Enables offline page snapshots to use a resource percentage based "
2506 "approach for determining when the page is loaded as opposed to a time "
2507 "based approach";
2508
Collin Baker17f92a52017-07-19 21:41:252509const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2510const char kOfflinePagesRenovationsDescription[] =
2511 "Enables offline page renovations which correct issues with dynamic "
2512 "content that occur when offlining pages that use JavaScript.";
2513
Brett Wilsonff596952017-07-14 01:06:552514const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2515const char kOfflinePagesSharingDescription[] =
2516 "Enables the saved offline pages to be shared via other applications.";
2517
Cathy Lie0d88762018-04-12 08:03:012518const char kOfflinePagesShowAlternateDinoPageName[] =
2519 "Enable alternate dino page with more user capabilities.";
2520const char kOfflinePagesShowAlternateDinoPageDescription[] =
2521 "Enables the dino page to show more buttons and offer existing offline "
2522 "content.";
2523
Brett Wilsonff596952017-07-14 01:06:552524const char kOfflinePagesSvelteConcurrentLoadingName[] =
2525 "Enables concurrent background loading on svelte.";
2526const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2527 "Enables concurrent background loading (or downloading) of pages on "
2528 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2529 "happen when the svelte device is idle.";
2530
2531const char kOffliningRecentPagesName[] =
2532 "Enable offlining of recently visited pages";
2533const char kOffliningRecentPagesDescription[] =
2534 "Enable storing recently visited pages locally for offline use. Requires "
2535 "Offline Pages to be enabled.";
2536
Lei Zhang2eca9082017-10-17 20:42:502537const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2538const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552539 "Enable Pay with Google integration into Web Payments with API version "
2540 "'1'.";
2541
Matthew Jonesa88b95852017-11-08 23:13:502542const char kProgressBarThrottleName[] = "Android progress update throttling.";
2543const char kProgressBarThrottleDescription[] =
2544 "Limit the maximum progress update to make progress appear smoother.";
2545
Brett Wilsonff596952017-07-14 01:06:552546const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2547const char kPullToRefreshEffectDescription[] =
2548 "Page reloads triggered by vertically overscrolling content.";
2549
Piotr Swigon7c296ef2017-08-29 04:32:002550const char kPwaImprovedSplashScreenName[] =
2551 "Improved Splash Screen for standalone PWAs";
2552const char kPwaImprovedSplashScreenDescription[] =
2553 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2554 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492555const char kPwaPersistentNotificationName[] =
2556 "Persistent notification in standalone PWA";
2557const char kPwaPersistentNotificationDescription[] =
2558 "Enables a persistent Android notification for standalone PWAs";
2559
Brett Wilsonff596952017-07-14 01:06:552560const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2561const char kReaderModeHeuristicsDescription[] =
2562 "Determines what pages the Reader Mode infobar is shown on.";
2563const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2564const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2565const char kReaderModeHeuristicsAllArticles[] = "All articles";
2566const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2567const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2568
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182569const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2570const char kReaderModeInCCTDescription[] =
2571 "Open Reader Mode in Chrome Custom Tabs.";
2572
Brett Wilsonff596952017-07-14 01:06:552573const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2574const char kSetMarketUrlForTestingDescription[] =
2575 "When enabled, sets the market URL for use in testing the update menu "
2576 "item.";
2577
2578const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2579const char kSpannableInlineAutocompleteDescription[] =
2580 "A new type of inline autocomplete for the omnibox that works with "
2581 "keyboards that compose text.";
2582
Theresaeea05a12018-05-09 21:01:592583const char kSimplifiedNtpName[] = "Simplified NTP";
2584const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2585
2586const char kSiteExplorationUiName[] = "Site Exploration UI";
2587const char kSiteExplorationUiDescription[] =
2588 "Show site suggestions in the Exploration UI";
2589
Brett Wilsonff596952017-07-14 01:06:552590const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2591const char kUpdateMenuBadgeDescription[] =
2592 "When enabled, an update badge will be shown on the app menu button.";
2593
2594const char kUpdateMenuItemCustomSummaryDescription[] =
2595 "When this flag and the force show update menu item flag are enabled, a "
2596 "custom summary string will be displayed below the update menu item.";
2597const char kUpdateMenuItemCustomSummaryName[] =
2598 "Update menu item custom summary";
2599
2600const char kUpdateMenuItemName[] = "Force show update menu item";
2601const char kUpdateMenuItemDescription[] =
2602 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2603 R"*(menu.)*";
2604
Amirhossein Simjourd78bbcf2018-02-02 16:23:392605const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2606const char kVrBrowsingNativeAndroidUiDescription[] =
2607 "Enable Android UI elements in VR.";
2608
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462609const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2610const char kVrBrowsingTabsViewDescription[] =
2611 "Enable tab overview (tab switcher) in VR.";
2612
Marc Treib93af46a2017-08-23 13:30:002613const char kThirdPartyDoodlesName[] =
2614 "Enable Doodles for third-party search engines";
2615const char kThirdPartyDoodlesDescription[] =
2616 "Enables fetching and displaying Doodles on the NTP for third-party search "
2617 "engines.";
2618
Klaus Weidneraaf697f2018-01-18 20:07:362619const char kWebXrRenderPathName[] = "WebXR presentation render path";
2620const char kWebXrRenderPathDescription[] =
2621 "Render path to use for WebXR presentation (including WebVR)";
2622const char kWebXrRenderPathChoiceClientWaitDescription[] =
2623 "ClientWait (Baseline)";
2624const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2625 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072626const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2627 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362628
Brett Wilson7b44537e2017-08-18 01:38:282629// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552630
Brett Wilson7b44537e2017-08-18 01:38:282631#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482632
Brett Wilson7b44537e2017-08-18 01:38:282633const char kAccountConsistencyName[] =
2634 "Identity consistency between browser and cookie jar";
2635const char kAccountConsistencyDescription[] =
2636 "When enabled, the browser manages signing in and out of Google accounts.";
2637const char kAccountConsistencyChoiceMirror[] = "Mirror";
2638const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342639
Chris Pickel3a227ae62017-08-24 10:47:262640const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2641const char kDoodlesOnLocalNtpDescription[] =
2642 "Show doodles on the local New Tab page if Google is the default search "
2643 "engine.";
2644
mlamouriff56c092017-05-11 15:31:392645const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392646const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342647 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392648const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392649const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392650const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342651 "Enabled (Flash lowers volume when interrupted by other sound, "
2652 "experimental)";
2653
Sebastien Marchandd33f7dc2018-06-22 22:07:062654const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2655const char kInfiniteSessionRestoreDescription[] =
2656 "Reduces the number of tabs being loaded simultaneously during session "
2657 "restore, to improve responsiveness of the foreground tab. This requires "
2658 "#enable-page-almost-idle.";
2659
Brett Wilson7b44537e2017-08-18 01:38:282660const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2661const char kEnableNewAppMenuIconDescription[] =
2662 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342663
Sebastien Marchandd33f7dc2018-06-22 22:07:062664const char kEnableWebAuthenticationCtap2SupportName[] =
2665 "Enable Web Authentication API support for CTAP2 security keys";
2666const char kEnableWebAuthenticationCtap2SupportDescription[] =
2667 "Enable CTAP2 security keys for the Web Authenication API.";
2668
2669const char kEnableWebAuthenticationTestingAPIName[] =
2670 "Web Authentication Testing API";
2671const char kEnableWebAuthenticationTestingAPIDescription[] =
2672 "Enable Web Authentication Testing API support, which disconnects the API "
2673 "implementation from the real world, and allows configuring virtual "
2674 "authenticator devices for testing";
2675
Dave Schuyler598a4a42018-01-04 02:15:102676const char kOmniboxRichEntitySuggestionsName[] =
2677 "Omnibox rich entity suggestions";
2678const char kOmniboxRichEntitySuggestionsDescription[] =
2679 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212680 "more context and descriptive text about the entity. Has no effect unless "
2681 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2682 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102683
Dave Schuyler616273d2018-04-19 03:12:522684const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2685const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212686 "Display answers using an enhanced layout with larger images. Has no "
2687 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2688 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522689
Orin Jaworski04c08b42018-07-11 02:39:562690const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2691const char kOmniboxReverseAnswersDescription[] =
2692 "Display answers with rows reversed (swapped); except definitions. Has no "
2693 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2694 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2695
Kevin Bailey898669972017-11-06 15:34:492696const char kOmniboxTabSwitchSuggestionsName[] =
2697 "Omnibox tab switch suggestions";
2698const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212699 "Enable suggestions for switching to open tabs within the Omnibox. "
2700 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2701 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492702
krbcc621412017-06-01 19:40:282703const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2704const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192705 "Enable receiving tail suggestions, a type of search suggestion based on "
2706 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342707
Brett Wilson7b44537e2017-08-18 01:38:282708const char kOneGoogleBarOnLocalNtpName[] =
2709 "Enable the OneGoogleBar on the local NTP";
2710const char kOneGoogleBarOnLocalNtpDescription[] =
2711 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2712 "search engine.";
2713
Sebastien Marchandd33f7dc2018-06-22 22:07:062714const char kPageAlmostIdleName[] = "Page Almost Idle";
2715const char kPageAlmostIdleDescription[] =
2716 "Make session restore use a definition of loading that waits for CPU and "
2717 "network quiescence.";
2718
2719const char kProactiveTabFreezeAndDiscardName[] =
2720 "Proactive Tab Freeze and Discard";
2721const char kProactiveTabFreezeAndDiscardDescription[] =
2722 "Enables proactive tab freezing and discarding. This requires "
2723 "#enable-page-almost-idle.";
2724
2725const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2726const char kSiteCharacteristicsDatabaseDescription[] =
2727 "Records usage of some features in a database while a tab is in background "
2728 "(title/favicon update, audio playback or usage of non-persistent "
2729 "notifications).";
2730
Brett Wilson7b44537e2017-08-18 01:38:282731const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2732const char kUseGoogleLocalNtpDescription[] =
2733 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322734
Brett Wilson7b44537e2017-08-18 01:38:282735const char kVoiceSearchOnLocalNtpName[] =
2736 "Enable Voice Search on the local NTP";
2737const char kVoiceSearchOnLocalNtpDescription[] =
2738 "Show a microphone for voice search on the local New Tab page "
2739 "if Google is the default search engine.";
2740
2741#if defined(GOOGLE_CHROME_BUILD)
2742
2743const char kGoogleBrandedContextMenuName[] =
2744 "Google branding in the context menu";
2745const char kGoogleBrandedContextMenuDescription[] =
2746 "Shows a Google icon next to context menu items powered by Google "
2747 "services.";
2748
2749#endif // !defined(GOOGLE_CHROME_BUILD)
2750
2751#endif // !defined(OS_ANDROID)
2752
2753// Windows ---------------------------------------------------------------------
2754
2755#if defined(OS_WIN)
2756
2757const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2758const char kCloudPrintXpsDescription[] =
2759 "XPS enables advanced options for classic printers connected to the Cloud "
2760 "Print with Chrome. Printers must be re-connected after changing this "
2761 "flag.";
2762
2763const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2764const char kDisablePostscriptPrintingDescription[] =
2765 "Disables PostScript generation when printing to PostScript capable "
2766 "printers, and uses EMF generation in its place.";
2767
2768const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2769const char kEnableAppcontainerDescription[] =
2770 "Enables the use of an AppContainer on sandboxed processes to improve "
2771 "security.";
2772
Brett Wilson7b44537e2017-08-18 01:38:282773const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2774const char kEnableDesktopIosPromotionsDescription[] =
2775 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2776 "eligible.";
2777
James Forshawfd0ce342018-02-14 09:55:392778const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2779const char kEnableGpuAppcontainerDescription[] =
2780 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2781 "improve security.";
2782
Brett Wilson7b44537e2017-08-18 01:38:282783const char kGdiTextPrinting[] = "GDI Text Printing";
2784const char kGdiTextPrintingDescription[] =
2785 "Use GDI to print text as simply text";
2786
Henrik Grunell67e56ef2018-04-10 14:04:092787const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2788const char kIncreaseInputAudioBufferSizeDescription[] =
2789 "Increases the input audio endpoint buffer to 100 ms.";
2790
Brett Wilson7b44537e2017-08-18 01:38:282791const char kTraceExportEventsToEtwName[] =
2792 "Enable exporting of tracing events to ETW.";
2793const char kTraceExportEventsToEtwDesription[] =
2794 "If enabled, trace events will be exported to the Event Tracing for "
2795 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2796 "Xperf.";
2797
2798const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2799const char kUseWinrtMidiApiDescription[] =
2800 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2801 "later).";
2802
2803const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2804const char kWindows10CustomTitlebarDescription[] =
2805 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2806 "deferring to Windows.";
2807
2808#endif // defined(OS_WIN)
2809
2810// Mac -------------------------------------------------------------------------
2811
2812#if defined(OS_MACOSX)
2813
Brett Wilson7b44537e2017-08-18 01:38:282814const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2815const char kAppWindowCyclingDescription[] =
2816 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2817 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2818 "browser window, and browser windows will not be cycled when a Chrome App "
2819 "is active.";
2820
Brett Wilson7b44537e2017-08-18 01:38:282821const char kFullscreenToolbarRevealName[] =
2822 "Enables the toolbar in fullscreen to reveal itself.";
2823const char kFullscreenToolbarRevealDescription[] =
2824 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2825 "has changed.";
2826
2827const char kContentFullscreenName[] = "Improved Content Fullscreen";
2828const char kContentFullscreenDescription[] =
2829 "Fullscreen content window detaches from main browser window and goes to "
2830 "a new space without moving or changing the original browser window.";
2831
Lei Zhang2eca9082017-10-17 20:42:502832const char kDialogTouchBarName[] = "Dialog Touch Bar";
2833const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282834 "Shows Dialog buttons on the Touch Bar.";
2835
Martin Kreichgauer1ca416d2018-07-11 00:43:192836const char kEnableWebAuthenticationTouchIdName[] =
2837 "Web Authentication API Touch ID support";
2838const char kEnableWebAuthenticationTouchIdDescription[] =
2839 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2840
Brett Wilson7b44537e2017-08-18 01:38:282841const char kHostedAppsInWindowsName[] =
2842 "Allow hosted apps to be opened in windows";
2843const char kHostedAppsInWindowsDescription[] =
2844 "Allows hosted apps to be opened in windows instead of being limited to "
2845 "tabs.";
2846
Lei Zhang2eca9082017-10-17 20:42:502847const char kMacRTLName[] = "Enable RTL";
2848const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282849
Lei Zhang2eca9082017-10-17 20:42:502850const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2851const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522852 "Enables sharing via macOS share extensions.";
2853
Lei Zhang2eca9082017-10-17 20:42:502854const char kMacTouchBarName[] = "Hardware Touch Bar";
2855const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282856
2857const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2858const char kMacV2SandboxDescription[] =
2859 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2860 "entire life cycle.";
2861
2862const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2863const char kMacViewsNativeAppWindowsDescription[] =
2864 "Controls whether to use Toolkit-Views based Chrome App windows.";
2865
2866const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2867const char kMacViewsTaskManagerDescription[] =
2868 "Controls whether to use the Toolkit-Views based Task Manager.";
2869
Tessa Nijssenc4b101232018-06-25 20:28:082870const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2871const char kSuggestedTextTouchBarDescription[] =
2872 "Enable suggested text touch bar for textfields.";
2873
Brett Wilson7b44537e2017-08-18 01:38:282874const char kTabDetachingInFullscreenName[] =
2875 "Allow tab detaching in fullscreen";
2876const char kTabDetachingInFullscreenDescription[] =
2877 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2878
2879const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2880const char kTabStripKeyboardFocusDescription[] =
2881 "Enable keyboard focus for the tabs in the tab strip.";
2882
Brett Wilson7b44537e2017-08-18 01:38:282883#endif
2884
2885// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342886
2887#if defined(OS_CHROMEOS)
2888
Brett Wilson7b44537e2017-08-18 01:38:282889const char kAcceleratedMjpegDecodeName[] =
2890 "Hardware-accelerated mjpeg decode for captured frame";
2891const char kAcceleratedMjpegDecodeDescription[] =
2892 "Enable hardware-accelerated mjpeg decode for captured frame where "
2893 "available.";
vabr0215a8e2017-03-28 12:47:342894
Brett Wilson7b44537e2017-08-18 01:38:282895const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2896const char kAllowTouchpadThreeFingerClickDescription[] =
2897 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342898
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522899const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2900const char kArcAvailableForChildDescription[] =
2901 "Allow child accounts to start Android apps.";
2902
Brett Wilson7b44537e2017-08-18 01:38:282903const char kArcBootCompleted[] = "Load Android apps automatically";
2904const char kArcBootCompletedDescription[] =
2905 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342906
Luum Habtemariamdaa8fd22018-06-25 22:39:432907const char kArcCupsApiName[] = "ARC CUPS API";
2908const char kArcCupsApiDescription[] =
2909 "Enables support of libcups APIs from ARC";
2910
Yuichiro Hanada0b63f062018-07-12 02:18:332911const char kArcInputMethodName[] = "Enable ARC input methods.";
2912const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2913
Lev Rumyantsev7a8544312017-08-18 19:26:512914const char kArcNativeBridgeExperimentName[] =
2915 "Enable native bridge experiment for ARC";
2916const char kArcNativeBridgeExperimentDescription[] =
2917 "Enables experimental native bridge feature.";
2918
lgchengecd1c1a62018-01-09 02:59:462919const char kArcUsbHostName[] = "Enable ARC USB host integration";
2920const char kArcUsbHostDescription[] =
2921 "Allow Android apps to use USB host feature on ChromeOS devices.";
2922
Kevin Cernekeeb7f96a52017-10-25 17:40:182923const char kArcVpnName[] = "Enable ARC VPN integration";
2924const char kArcVpnDescription[] =
2925 "Allow Android VPN clients to tunnel Chrome traffic.";
2926
Qiang Xu045aff222018-05-21 23:21:012927const char kAshDisableLoginDimAndBlurName[] =
2928 "Disable dimming and blur on login screen.";
2929const char kAshDisableLoginDimAndBlurDescription[] =
2930 "Disable dimming and blur on login screen.";
2931
2932const char kAshDisableSmoothScreenRotationName[] =
2933 "Disable smooth rotation animations.";
2934const char kAshDisableSmoothScreenRotationDescription[] =
2935 "Disable smooth rotation animations.";
2936
2937const char kAshEnableDisplayMoveWindowAccelsName[] =
2938 "Enable shortcuts for moving window between displays.";
2939const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2940 "Enable shortcuts for moving window between displays.";
2941
2942const char kAshEnableKeyboardShortcutViewerName[] =
2943 "Enable keyboard shortcut viewer.";
2944const char kAshEnableKeyboardShortcutViewerDescription[] =
2945 "Enable keyboard shortcut viewer.";
2946
2947const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2948const char kAshEnableMirroredScreenDescription[] =
2949 "Enable the mirrored screen mode. This mode flips the screen image "
2950 "horizontally.";
2951
2952const char kAshEnableNewOverviewAnimationsName[] =
2953 "Enable new overview animations.";
2954const char kAshEnableNewOverviewAnimationsDescription[] =
2955 "Enables the new overview mode animations.";
2956
2957const char kAshEnablePersistentWindowBoundsName[] =
2958 "Enable persistent window bounds in multi-displays scenario.";
2959const char kAshEnablePersistentWindowBoundsDescription[] =
2960 "Enable persistent window bounds in multi-displays scenario.";
2961
2962const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2963const char kAshEnableTrilinearFilteringDescription[] =
2964 "Enable trilinear filtering.";
2965
Brett Wilson7b44537e2017-08-18 01:38:282966const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2967const char kAshEnableUnifiedDesktopDescription[] =
2968 "Enable unified desktop mode which allows a window to span multiple "
2969 "displays.";
vabr0215a8e2017-03-28 12:47:342970
Mike Wassermanfcc47e42018-06-14 21:24:422971const char kAshKeyboardShortcutViewerAppName[] =
2972 "Keyboard Shortcut Viewer mojo app";
2973const char kAshKeyboardShortcutViewerAppDescription[] =
2974 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2975
Qiang Xu045aff222018-05-21 23:21:012976const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2977const char kAshShelfColorDescription[] =
2978 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2979 "--ash-shelf-color-scheme flag defines how that color is derived.";
2980
2981const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2982const char kAshShelfColorSchemeDescription[] =
2983 "Specify how the color is derived from the wallpaper. This flag is only "
2984 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2985const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2986const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2987const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2988const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2989const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2990const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2991
Sean Kau5e956192017-10-06 22:25:172992const char kBulkPrintersName[] = "Bulk Printers Policy";
2993const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2994
Brett Wilson7b44537e2017-08-18 01:38:282995const char kCaptivePortalBypassProxyName[] =
2996 "Bypass proxy for Captive Portal Authorization";
2997const char kCaptivePortalBypassProxyDescription[] =
2998 "If proxy is configured, it usually prevents from authorization on "
2999 "different captive portals. This enables opening captive portal "
3000 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343001
Yuki Awanob51d3252018-07-11 23:45:553002const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3003const char kChromeVoxArcSupportDescription[] =
3004 "Use ChromeVox screen reader features in ARC";
3005
Brett Wilson7b44537e2017-08-18 01:38:283006const char kCrOSComponentName[] = "Chrome OS Component";
3007const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083008 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343009
Xiaochu Liu51d03fd2017-09-08 23:51:023010const char kCrOSContainerName[] = "Chrome OS Container";
3011const char kCrOSContainerDescription[] =
3012 "Enable the use of Chrome OS Container utility.";
3013
Brett Wilson7b44537e2017-08-18 01:38:283014const char kCrosRegionsModeName[] = "Cros-regions load mode";
3015const char kCrosRegionsModeDescription[] =
3016 "This flag controls cros-regions load mode";
3017const char kCrosRegionsModeDefault[] = "Default";
3018const char kCrosRegionsModeOverride[] = "Override VPD values.";
3019const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343020
Jacob Dufault2becbc482017-08-25 00:36:353021const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3022const char kDisableLockScreenAppsDescription[] =
3023 "Disable new-note action handler apps on the lock screen. The user will "
3024 "not be able to launch the preferred note-taking action from the lock "
3025 "screen, provided that the app supports lock screen note taking.";
3026
Qiang Xu045aff222018-05-21 23:21:013027const char kDisableSystemTimezoneAutomaticDetectionName[] =
3028 "SystemTimezoneAutomaticDetection policy support";
3029const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3030 "Disable system timezone automatic detection device policy.";
3031
Sammie Quonef6b4882017-09-14 16:50:053032const char kDisableTabletAutohideTitlebarsName[] =
3033 "Disable autohide titlebars in tablet mode";
3034const char kDisableTabletAutohideTitlebarsDescription[] =
3035 "Disable tablet mode autohide titlebars functionality. The user will be "
3036 "able to see the titlebar in tablet mode.";
3037
Xiaoqian Dai24b33eb2018-04-10 21:01:573038const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3039const char kDisableTabletSplitViewDescription[] =
3040 "Disable split view for Chrome OS tablet mode.";
3041
Qiang Xu53d1a5832018-05-24 18:44:193042const char kEnableAppShortcutSearchName[] =
3043 "Enable app shortcut search in launcher";
3044const char kEnableAppShortcutSearchDescription[] =
3045 "Enables app shortcut search in launcher";
3046
Weidong Guo00d0b2b2018-06-07 00:39:303047const char kEnableAppsGridGapFeatureName[] =
3048 "Enable apps grid gap feature in launcher.";
3049const char kEnableAppsGridGapFeatureDescription[] =
3050 "Enables gaps at the end of each page and enables dragging an item to an "
3051 "empty page in launcher.";
3052
Lei Zhang2eca9082017-10-17 20:42:503053const char kEnableBackgroundBlurName[] = "Enable background blur.";
3054const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423055 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393056
F#m75862c92018-01-25 19:10:473057const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3058const char kEnableDisplayZoomSettingDescription[] =
3059 "Allows the user to modify the display size or zoom via the chrome display "
3060 "settings page.";
3061
Min Chenc2ec7282018-06-29 21:38:463062const char kEnableDragAppsInTabletModeName[] =
3063 "Enable dragging apps in tablet mode";
3064const char kEnableDragAppsInTabletModeDescription[] =
3065 "If enabled, swiping down from the top of the screen when an app is opened "
3066 "in tablet mode can drag the app.";
3067
Xiaoqian Dai82d99192018-05-25 18:51:353068const char kEnableDragTabsInTabletModeName[] =
3069 "Enable dragging tabs in tablet mode";
3070const char kEnableDragTabsInTabletModeDescription[] =
3071 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3072
Sam McNally201fbf94e2018-07-04 03:15:203073const char kEnableDriveFsName[] = "Enable DriveFS";
3074const char kEnableDriveFsDescription[] =
3075 "Enables use of the new DriveFS-based Drive sync client.";
3076
Brett Wilson7b44537e2017-08-18 01:38:283077const char kEnableEhvInputName[] =
3078 "Emoji, handwriting and voice input on opt-in IME menu";
3079const char kEnableEhvInputDescription[] =
3080 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343081
Brett Wilson7b44537e2017-08-18 01:38:283082const char kEnableEncryptionMigrationName[] =
3083 "Enable encryption migration of user data";
3084const char kEnableEncryptionMigrationDescription[] =
3085 "If enabled and the device supports ARC, the user will be asked to update "
3086 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343087
Blake O'Hare9e9317b22017-10-24 02:49:353088const char kEnableFloatingVirtualKeyboardName[] =
3089 "Enable floating virtual keyboard";
3090const char kEnableFloatingVirtualKeyboardDescription[] =
3091 "If enabled, the keyboard will use floating behavior by default.";
3092
Qiang Xu045aff222018-05-21 23:21:013093const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3094 "Enable full screen handwriting virtual keyboard";
3095const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3096 "If enabled, the handwriting virtual keyboard will allow user to write "
3097 "anywhere on the screen";
3098
3099const char kEnableHomeLauncherName[] = "Enable home launcher";
3100const char kEnableHomeLauncherDescription[] =
3101 "Enable home launcher in tablet mode.";
3102
Brett Wilson7b44537e2017-08-18 01:38:283103const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3104const char kEnableImeMenuDescription[] =
3105 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343106
Weidong Guo45836d1b2018-06-27 23:51:163107const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3108const char kEnableNewStyleLauncherDescription[] =
3109 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3110 "in app launcher.";
3111
Qiang Xu045aff222018-05-21 23:21:013112const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3113const char kEnableNewWallpaperPickerDescription[] =
3114 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3115
3116const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3117const char kEnablePerUserTimezoneDescription[] =
3118 "Chrome OS system timezone preference is stored and handled for each user "
3119 "individually.";
3120
3121const char kEnableSettingsShortcutSearchName[] =
3122 "Enable Settings shortcut search";
3123const char kEnableSettingsShortcutSearchDescription[] =
3124 "Enable Settings shortcut search in launcher.";
3125
Darren Shen3e49c63d2018-03-28 04:45:503126const char kEnableStylusVirtualKeyboardName[] =
3127 "Enable stylus virtual keyboard";
3128const char kEnableStylusVirtualKeyboardDescription[] =
3129 "If enabled, tapping with a stylus will show the handwriting virtual "
3130 "keyboard.";
3131
Jordy Greenblatt2f23df22018-02-22 19:49:193132const char kEnableUnifiedMultiDeviceSettingsName[] =
3133 "Enable unified MultiDevice settings";
3134const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3135 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3136 "MultiDevice settings.";
3137
3138const char kEnableUnifiedMultiDeviceSetupName[] =
3139 "Enable unified MultiDevice setup";
3140const char kEnableUnifiedMultiDeviceSetupDescription[] =
3141 "Enable the device to setup all MultiDevice services in a single workflow.";
3142
Darren Shen11c770f312018-06-13 07:36:393143const char kEnableVirtualKeyboardMdUiName[] =
3144 "Enable Material Design virtual keyboard";
3145const char kEnableVirtualKeyboardMdUiDescription[] =
3146 "If enabled, loads the Material Design UI for the virtual keyboard.";
3147
Darren Shen0b4e5802018-07-10 03:12:263148const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3149const char kEnableVirtualKeyboardUkmDescription[] =
3150 "Enables UKM for virtual keyboard";
3151
Klemen Kozjek05fc4512017-10-18 12:51:103152const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3153const char kEnableZipArchiverPackerDescription[] =
3154 "Enable the ability to archive files on Drive in the Files app";
3155
Brett Wilson7b44537e2017-08-18 01:38:283156const char kEolNotificationName[] = "Disable Device End of Life notification.";
3157const char kEolNotificationDescription[] =
3158 "Disable Notifcation when Device is End of Life.";
3159
3160const char kExperimentalAccessibilityFeaturesName[] =
3161 "Experimental accessibility features";
3162const char kExperimentalAccessibilityFeaturesDescription[] =
3163 "Enable additional accessibility features in the Settings page.";
3164
3165const char kExperimentalInputViewFeaturesName[] =
3166 "Experimental input view features";
3167const char kExperimentalInputViewFeaturesDescription[] =
3168 "Enable experimental features for IME input views.";
3169
3170const char kFileManagerTouchModeName[] = "Files App. touch mode";
3171const char kFileManagerTouchModeDescription[] =
3172 "Touchscreen-specific interactions of the Files app.";
3173
3174const char kFirstRunUiTransitionsName[] =
3175 "Animated transitions in the first-run tutorial";
3176const char kFirstRunUiTransitionsDescription[] =
3177 "Transitions during first-run tutorial are animated.";
3178
Brett Wilson7b44537e2017-08-18 01:38:283179const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3180const char kForceEnableStylusToolsDescription[] =
3181 "Forces display of the stylus tools menu in the shelf and the stylus "
3182 "section in settings, even if there is no attached stylus device.";
3183
3184const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3185const char kGestureEditingDescription[] =
3186 "Enable/Disable gesture editing option in the settings page for the "
3187 "virtual keyboard.";
3188
3189const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3190const char kGestureTypingDescription[] =
3191 "Enable/Disable gesture typing option in the settings page for the virtual "
3192 "keyboard.";
3193
3194const char kInputViewName[] = "Input views";
3195const char kInputViewDescription[] =
3196 "Enable IME extensions to supply custom views for user input such as "
3197 "virtual keyboards.";
3198
Megumi Hattori5a0d4182018-03-06 11:09:503199const char kLockScreenNotificationName[] = "Lock screen notification";
3200const char kLockScreenNotificationDescription[] =
3201 "Enable notifications on the lock screen.";
3202
Qiang Xu045aff222018-05-21 23:21:013203const char kMaterialDesignInkDropAnimationSpeedName[] =
3204 "Material design ink drop animation speed";
3205const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3206 "Sets the speed of the experimental visual feedback animations for "
3207 "material design.";
3208const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3209const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3210
Brett Wilson7b44537e2017-08-18 01:38:283211const char kMemoryPressureThresholdName[] =
3212 "Memory discard strategy for advanced pressure handling";
3213const char kMemoryPressureThresholdDescription[] =
3214 "Memory discarding strategy to use";
3215const char kConservativeThresholds[] =
3216 "Conservative memory pressure release strategy";
3217const char kAggressiveCacheDiscardThresholds[] =
3218 "Aggressive cache release strategy";
3219const char kAggressiveTabDiscardThresholds[] =
3220 "Aggressive tab release strategy";
3221const char kAggressiveThresholds[] =
3222 "Aggressive tab and cache release strategy";
3223
3224const char kMtpWriteSupportName[] = "MTP write support";
3225const char kMtpWriteSupportDescription[] =
3226 "MTP write support in File System API (and file manager). In-place editing "
3227 "operations are not supported.";
3228
Kyle Horimoto027590fb2018-02-13 22:19:483229const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3230const char kMultiDeviceApiDescription[] =
3231 "Enable Mojo-based API which provides synced device metadata and the "
3232 "ability to connect to other devices associated the logged-in Google "
3233 "account.";
3234
Bailey Berrodca8eeca02017-11-18 00:49:123235const char kNativeSmbName[] = "Native Smb Client";
3236const char kNativeSmbDescription[] =
3237 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303238
vabr0215a8e2017-03-28 12:47:343239const char kNetworkPortalNotificationName[] =
3240 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343241const char kNetworkPortalNotificationDescription[] =
3242 "If enabled, notification is displayed when device is connected to a "
3243 "network behind captive portal.";
3244
Brett Wilson7b44537e2017-08-18 01:38:283245const char kNewKoreanImeName[] = "New Korean IME";
3246const char kNewKoreanImeDescription[] =
3247 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343248
Brett Wilson7b44537e2017-08-18 01:38:283249const char kNewZipUnpackerName[] = "New ZIP unpacker";
3250const char kNewZipUnpackerDescription[] =
3251 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343252
Qiang Xu045aff222018-05-21 23:21:013253const char kOfficeEditingComponentAppName[] =
3254 "Office Editing for Docs, Sheets & Slides";
3255const char kOfficeEditingComponentAppDescription[] =
3256 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3257
Brett Wilson7b44537e2017-08-18 01:38:283258const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3259const char kPhysicalKeyboardAutocorrectDescription[] =
3260 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3261 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343262
3263const char kPrinterProviderSearchAppName[] =
3264 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343265const char kPrinterProviderSearchAppDescription[] =
3266 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193267 "searches Chrome Web Store for extensions that support printing to a USB "
3268 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343269
Brett Wilson7b44537e2017-08-18 01:38:283270const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3271const char kQuickUnlockPinDescription[] =
3272 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3273 "device on the lock screen after you have signed into your device.";
3274const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3275const char kQuickUnlockPinSigninDescription[] =
3276 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3277 "device. After changing this flag PIN needs to be set up again.";
3278const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3279const char kQuickUnlockFingerprintDescription[] =
3280 "Enabling fingerprint quick unlock allows you to setup and use a "
3281 "fingerprint to unlock your Chromebook on the lock screen after you have "
3282 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343283
James Cook0ba192bf2017-12-01 20:53:113284const char kShowTapsName[] = "Show taps";
3285const char kShowTapsDescription[] =
3286 "Draws a circle at each touch point, which makes touch points more obvious "
3287 "when projecting or mirroring the display. Similar to the Android OS "
3288 "developer option.";
3289
3290const char kShowTouchHudName[] = "Show HUD for touch points";
3291const char kShowTouchHudDescription[] =
3292 "Shows a trail of colored dots for the last few touch points. Pressing "
3293 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3294 "debug hardware issues that generate spurious touch events.";
3295
Jorge Gil5a8ccde2018-07-10 01:46:213296const char kSmartTextSelectionName[] = "Smart Text Selection";
3297const char kSmartTextSelectionDescription[] =
3298 "Shows quick actions for text "
3299 "selections in the context menu.";
3300
Chung-Sheng Wu468b0b32017-09-01 14:41:573301const char kSysInternalsName[] = "Enable Sys-Internals";
3302const char kSysInternalsDescription[] =
3303 "If enabled, user can monitor system information at "
3304 "chrome://sys-internals.";
3305
James Cooka9384092018-05-23 02:54:263306const char kTapVisualizerAppName[] = "Show taps with mojo app";
3307const char kTapVisualizerAppDescription[] =
3308 "Use an out-of-process mojo app to show touch points.";
3309
Stuart Langleyc981ac62018-06-21 14:38:253310const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3311const char kDisableTeamDrivesDescription[] =
3312 "If disabled, files under Team Drives will no longer appear in the Files "
3313 "app.";
vabr0215a8e2017-03-28 12:47:343314
Brett Wilson7b44537e2017-08-18 01:38:283315const char kTetherName[] = "Instant Tethering";
3316const char kTetherDescription[] =
3317 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3318 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373319
Brett Wilson7b44537e2017-08-18 01:38:283320const char kTouchscreenCalibrationName[] =
3321 "Enable/disable touchscreen calibration option in material design settings";
3322const char kTouchscreenCalibrationDescription[] =
3323 "If enabled, the user can calibrate the touch screen displays in "
3324 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093325
Qiang Xu045aff222018-05-21 23:21:013326const char kUiDevToolsName[] = "Enable native UI inspection";
3327const char kUiDevToolsDescription[] =
3328 "Enables inspection of native UI elements. For local inspection use "
3329 "chrome://inspect#other";
3330
3331const char kUiShowCompositedLayerBordersName[] =
3332 "Show UI composited layer borders";
3333const char kUiShowCompositedLayerBordersDescription[] =
3334 "Show border around composited layers created by UI.";
3335const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3336const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3337const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3338const char kUiShowCompositedLayerBordersAll[] = "All";
3339
3340const char kUiSlowAnimationsName[] = "Slow UI animations";
3341const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3342
Mitsuru Oshima63d3f2a2017-08-23 00:12:113343// Force UI Mode
3344const char kUiModeName[] = "Force Ui Mode";
3345const char kUiModeDescription[] =
3346 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3347 R"*(despite its current orientation. "Tablet" means that the )*"
3348 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3349 R"*(means that the chromebook will act as if it were in clamshell )*"
3350 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3351 R"*(the two, based on its orientation.)*";
3352const char kUiModeTablet[] = "TouchView";
3353const char kUiModeClamshell[] = "Clamshell";
3354const char kUiModeAuto[] = "Auto (default)";
3355
Sonny Sasaka7fecfeda2018-07-11 23:47:553356const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3357const char kUnfilteredBluetoothDevicesDescription[] =
3358 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3359
James Cooka1bcfa9a2018-01-30 00:18:403360const char kUseMashName[] = "Out-of-process system UI (mash)";
3361const char kUseMashDescription[] =
3362 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3363 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283364
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343365// TODO(mcasas): remove after https://crbug.com/771345.
3366const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3367const char kUseMonitorColorSpaceDescription[] =
3368 "Enables Chrome to use the color space information provided by the monitor"
3369 " instead of the default sRGB color space.";
3370
Brett Wilson7b44537e2017-08-18 01:38:283371const char kVideoPlayerChromecastSupportName[] =
3372 "Experimental Chromecast support for Video Player";
3373const char kVideoPlayerChromecastSupportDescription[] =
3374 "This option enables experimental Chromecast support for Video Player app "
3375 "on ChromeOS.";
3376
3377const char kVirtualKeyboardName[] = "Virtual Keyboard";
3378const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3379
3380const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3381const char kVirtualKeyboardOverscrollDescription[] =
3382 "Enables virtual keyboard overscroll support.";
3383
3384const char kVoiceInputName[] = "Voice input on virtual keyboard";
3385const char kVoiceInputDescription[] =
3386 "Enables voice input on virtual keyboard.";
3387
3388const char kWakeOnPacketsName[] = "Wake On Packets";
3389const char kWakeOnPacketsDescription[] =
3390 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203391
Qiang Xu53d1a5832018-05-24 18:44:193392const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3393const char kZipArchiverUnpackerDescription[] =
3394 "Enable or disable the ability to unpack archives in incognito mode";
3395
wutao42ee9daa2018-07-19 00:12:173396extern const char kEnableContinueReadingName[] = "Enable continue reading";
3397extern const char kEnableContinueReadingDescription[] =
3398 "Enable continue reading feature in Launcher, which allows users to "
3399 "seamlessly continue reading a web page when they switch devices from "
3400 "phones or tablets to Chromebooks.";
3401
yhanadac5bff5b2017-05-18 06:37:093402#endif // defined(OS_CHROMEOS)
3403
Brett Wilson7b44537e2017-08-18 01:38:283404// Random platform combinations -----------------------------------------------
3405
3406#if defined(OS_WIN) || defined(OS_LINUX)
3407
3408const char kEnableInputImeApiName[] = "Enable Input IME API";
3409const char kEnableInputImeApiDescription[] =
3410 "Enable the use of chrome.input.ime API.";
3411
Tom Anderson6cbd5052018-05-03 23:49:543412#if !defined(OS_CHROMEOS)
3413
3414const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3415const char kWarnBeforeQuittingFlagDescription[] =
3416 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3417
3418#endif // !defined(OS_CHROMEOS)
3419
Brett Wilson7b44537e2017-08-18 01:38:283420#endif // defined(OS_WIN) || defined(OS_LINUX)
3421
3422#if defined(OS_WIN) || defined(OS_MACOSX)
3423
3424const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3425const char kAutomaticTabDiscardingDescription[] =
3426 "If enabled, tabs get automatically discarded from memory when the system "
3427 "memory is low. Discarded tabs are still visible on the tab strip and get "
3428 "reloaded when clicked on. Info about discarded tabs can be found at "
3429 "chrome://discards.";
3430
3431#endif // defined(OS_WIN) || defined(OS_MACOSX)
3432
lanwei83f54452018-06-21 23:51:043433#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3434
3435const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3436const char kDirectManipulationStylusDescription[] =
3437 "If enabled, Chrome will scroll web pages on stylus drag.";
3438
3439#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3440
Justin Donnelly110e40c2018-06-01 21:48:433441const char kExperimentalUiName[] = "Use all upcoming UI features";
3442const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483443
Brett Wilson7b44537e2017-08-18 01:38:283444// Feature flags --------------------------------------------------------------
3445
3446#if BUILDFLAG(ENABLE_VR)
3447
David Dorwin5a496c32017-11-17 01:45:053448const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3449const char kWebVrVsyncAlignDescription[] =
3450 "Align WebVR application rendering with VSync for smoother animations.";
3451
Bill Orr103ed272018-02-14 21:23:053452#if BUILDFLAG(ENABLE_OCULUS_VR)
3453const char kOculusVRName[] = "Oculus hardware support";
3454const char kOculusVRDescription[] =
3455 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3456 "Windows 10 or later).";
3457#endif // ENABLE_OCULUS_VR
3458
Bill Orr49527562017-11-22 16:58:483459#if BUILDFLAG(ENABLE_OPENVR)
3460const char kOpenVRName[] = "OpenVR hardware support";
3461const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073462 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3463 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483464#endif // ENABLE_OPENVR
3465
Brett Wilson7b44537e2017-08-18 01:38:283466#endif // ENABLE_VR
3467
Nico Weberaf3b00b2017-09-11 17:58:173468#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283469
3470const char kNaclDebugMaskName[] =
3471 "Restrict Native Client GDB-based debugging by pattern";
3472const char kNaclDebugMaskDescription[] =
3473 "Restricts Native Client application GDB-based debugging by URL of "
3474 "manifest file. Native Client GDB-based debugging must be enabled for this "
3475 "option to work.";
3476const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3477const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3478 "Debug everything except secure shell and the PNaCl translator.";
3479const char kNaclDebugMaskChoiceIncludeDebug[] =
3480 "Debug only if manifest URL ends with debug.nmf.";
3481
3482const char kNaclDebugName[] = "Native Client GDB-based debugging";
3483const char kNaclDebugDescription[] =
3484 "Enable GDB debug stub. This will stop a Native Client application on "
3485 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3486
3487const char kNaclName[] = "Native Client";
3488const char kNaclDescription[] =
3489 "Support Native Client for all web applications, even those that were not "
3490 "installed from the Chrome Web Store.";
3491
3492const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3493const char kPnaclSubzeroDescription[] =
3494 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3495
Nico Weberaf3b00b2017-09-11 17:58:173496#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283497
Brett Wilson7b44537e2017-08-18 01:38:283498const char kWebrtcH264WithOpenh264FfmpegName[] =
3499 "WebRTC H.264 software video encoder/decoder";
3500const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3501 "When enabled, an H.264 software video encoder/decoder pair is included. "
3502 "If a hardware encoder/decoder is also available it may be used instead of "
3503 "this encoder/decoder.";
3504
Brett Wilson7b44537e2017-08-18 01:38:283505#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3506
3507const char kAutofillCreditCardUploadName[] =
3508 "Enable offering upload of Autofilled credit cards";
3509const char kAutofillCreditCardUploadDescription[] =
3510 "Enables a new option to upload credit cards to Google Payments for sync "
3511 "to all Chrome devices.";
3512
3513#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3514
Becca Hughesdc96e842018-05-04 22:48:283515#if defined(OS_ANDROID)
3516
3517const char kDisplayCutoutAPIName[] =
3518 "Enable support for the Display Cutout API";
3519const char kDisplayCutoutAPIDescription[] =
3520 "Enables developers to support devices that have a display cutout.";
3521
3522#endif // defined(OS_ANDROID)
3523
Brett Wilson7b44537e2017-08-18 01:38:283524// ============================================================================
3525// Don't just add flags to the end, put them in the right section in
3526// alphabetical order just like the header file.
3527// ============================================================================
3528
vabr0215a8e2017-03-28 12:47:343529} // namespace flag_descriptions