blob: 97eda8d98fe02433d6812143c7fd7b51448a1c5e [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
Jared Saulc4f37ecd2018-07-20 03:28:53423const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
424 "Show Sign-In/Sync promo after saving a card locally";
425const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
426 "If enabled, shows a sign in prompt to the user after the user "
427 "saves a card locally. This also introduces a Manage Cards bubble "
428 "which you can access from the card icon after saving a card.";
429
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23430const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
431 "Send experiment flag IDs in calls to Google Payments";
432const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
433 "If enabled, adds the status of certain experiment variations when making "
434 "calls to Google Payments.";
435
Becca Hughes4d896c42018-05-29 16:58:51436const char kEnableAutoplayIgnoreWebAudioName[] =
437 "Autoplay ignores WebAudio playbacks";
438const char kEnableAutoplayIgnoreWebAudioDescription[] =
439 "If enabled, autoplay restrictions will be ignored for WebAudio.";
440
Vitalii Iarko4f9834ce2017-08-04 07:05:19441const char kEnableBreakingNewsPushName[] = "Breaking News Push";
442const char kEnableBreakingNewsPushDescription[] =
443 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
444 "through Google Cloud Messaging.";
445
Brett Wilsonf27ff602017-07-07 22:28:47446const char kEnableBrotliName[] = "Brotli Content-Encoding.";
447const char kEnableBrotliDescription[] =
448 "Enable Brotli Content-Encoding support.";
449
Qiang Xu0f602fe62017-12-22 01:31:20450const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
451const char kEnableCaptivePortalRandomUrlDescription[] =
452 "Enable Captive Portal URL randomization.";
453
sclittle50e4bb92017-07-08 02:23:03454const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
455
456const char kEnableClientLoFiDescription[] =
457 "Enable showing low fidelity images on some pages on slow networks.";
458
Patrick Noland8bc57472018-06-19 21:09:54459const char kEnableCSSFragmentIdentifiersName[] =
460 "Enable CSS Fragment Identifiers";
461const char kEnableCSSFragmentIdentifiersDescription[] =
462 "Enable support for specifying a target element using a css selector in "
463 "the fragment identifier.";
464
David Reveman87b4b692018-03-09 21:22:22465const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
466const char kEnableCursorMotionBlurDescription[] =
467 "Enable motion blur effect for the cursor.";
468
Ramin Halavati6f5d9852018-06-20 09:37:05469const char kEnableEphemeralFlashPermissionName[] =
470 "Enable Ephemeral Flash Permissions";
471const char kEnableEphemeralFlashPermissionDescription[] =
472 "When enabled, Flash plugin permissions are reset at the end of the "
473 "browser session.";
474
Doug Arnett08b4067b2017-10-12 20:14:44475const char kEnableNoScriptPreviewsName[] = "NoScript previews";
476
477const char kEnableNoScriptPreviewsDescription[] =
478 "Enable disabling JavaScript on some pages on slow networks.";
479
Thanh Le2c279fbc2017-11-21 01:25:40480const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
481const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
482const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
483const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
484const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
485const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
486const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
487const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
488const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
489const char kDataReductionProxyServerAlternative10[] =
490 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47491const char kEnableDataReductionProxyServerExperimentName[] =
492 "Use an alternative Data Saver back end configuration.";
493const char kEnableDataReductionProxyServerExperimentDescription[] =
494 "Enable a different approach to saving data by configuring the back end "
495 "server";
496
497const char kEnableDataReductionProxySavingsPromoName[] =
498 "Data Saver 1 MB Savings Promo";
499const char kEnableDataReductionProxySavingsPromoDescription[] =
500 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
501 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
502 "enabled for the promo to be shown.";
503
Matt Giucad4870432017-11-24 01:04:38504const char kEnableDesktopPWAsName[] = "Desktop PWAs";
505const char kEnableDesktopPWAsDescription[] =
506 "Experimental windowing and install banner treatment for Progressive Web "
507 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17508
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59509const char kEnableDesktopPWAsLinkCapturingName[] =
510 "Desktop PWAs Link Capturing";
511const char kEnableDesktopPWAsLinkCapturingDescription[] =
512 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
513 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
514 "#enable-desktop-pwas.";
515
Ahmed Fakhry0037de02018-01-29 19:58:31516const char kEnableDockedMagnifierName[] = "Docked Magnifier";
517const char kEnableDockedMagnifierDescription[] =
518 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
519
Ramya Nagarajan5b41d8d2018-04-02 19:53:02520const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
521const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09522 "Enables the Emoji picker item in context menus for editable text areas, if"
523 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02524
Brett Wilsonf27ff602017-07-07 22:28:47525const char kEnableEnumeratingAudioDevicesName[] =
526 "Experimentally enable enumerating audio devices.";
527const char kEnableEnumeratingAudioDevicesDescription[] =
528 "Experimentally enable the use of enumerating audio devices.";
529
530const char kEnableGenericSensorName[] = "Generic Sensor";
531const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25532 "Enables motion sensor classes based on Generic Sensor API, i.e. "
533 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
534 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
535
536const char kEnableGenericSensorExtraClassesName[] =
537 "Generic Sensor Extra Classes";
538const char kEnableGenericSensorExtraClassesDescription[] =
539 "Enables an extra set of sensor classes based on Generic Sensor API, which "
540 "expose previously unavailable platform features, i.e. AmbientLightSensor "
541 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47542
Brett Wilsonf27ff602017-07-07 22:28:47543const char kEnableHDRName[] = "HDR mode";
544const char kEnableHDRDescription[] =
545 "Enables HDR support on compatible displays.";
546
Ryan Sturm6a850902018-06-09 02:27:34547const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
548const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09549 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25550 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01551 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
552 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34553
Brett Wilsonf27ff602017-07-07 22:28:47554const char kEnableHttpFormWarningName[] =
555 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15556 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47557const char kEnableHttpFormWarningDescription[] =
558 "Attaches a warning UI to any password or credit card fields detected when "
559 "the top-level page is not HTTPS";
560
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41561const char kLayeredAPIName[] = "Experimental layered APIs";
562const char kLayeredAPIDescription[] =
563 "Enable layered API infrastructure, as well as several experimental "
564 "layered APIs. The syntax and the APIs exposed are experimental and will "
565 "change over time.";
566
Ian Kilpatricke68ef11a2018-07-04 03:52:10567const char kEnableLayoutNGName[] = "Enable LayoutNG";
568const char kEnableLayoutNGDescription[] =
569 "Enable Blink's next generation layout engine.";
570
Scott Littled0fd2d002018-04-13 03:37:26571const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
572const char kEnableLazyFrameLoadingDescription[] =
573 "Defers the loading of certain cross-origin frames until the page is "
574 "scrolled down near them.";
575
Sidney San Martín9375b892017-09-09 00:29:54576const char kEnableMacMaterialDesignDownloadShelfName[] =
577 "Enable Material Design download shelf";
578
579const char kEnableMacMaterialDesignDownloadShelfDescription[] =
580 "If enabled, the download shelf uses Material Design.";
581
Anton Urusov47cd4932017-09-19 14:41:41582const char kEnablePolicyToolName[] = "Enable policy management page";
583const char kEnablePolicyToolDescription[] =
584 "If enabled, the chrome://policy-tool URL loads a page for managing "
585 "policies.";
586
Tsuyoshi Horoea7edb72017-11-12 04:14:00587const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
588const char kEnablePWAFullCodeCacheDescription[] =
589 "Generate V8 code cache in Cache Storage while installing Service Worker "
590 "for PWAs.";
591
Weidong Guof1e5a892018-01-06 02:26:39592const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28593 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39594const char kDisableMultiMirroringDescription[] =
595 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28596
Brett Wilsonf27ff602017-07-07 22:28:47597const char kEnableNavigationTracingName[] = "Enable navigation tracing";
598const char kEnableNavigationTracingDescription[] =
599 "This is to be used in conjunction with the trace-upload-url flag. "
600 "WARNING: When enabled, Chrome will record performance data for every "
601 "navigation and upload it to the URL specified by the trace-upload-url "
602 "flag. The trace may include personally identifiable information (PII) "
603 "such as the titles and URLs of websites you visit.";
604
Bernhard Bauer5533f9912017-11-06 17:56:02605const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
606const char kEnableNetworkLoggingToFileDescription[] =
607 "Enables network logging to a file named netlog.json in the user data "
608 "directory. The file can be imported into chrome://net-internals.";
609
Brett Wilsonf27ff602017-07-07 22:28:47610const char kEnableNetworkServiceName[] = "Enable network service";
611const char kEnableNetworkServiceDescription[] =
612 "Enables the network service, which makes network requests through a "
613 "separate service. Note: most features don't work with this yet.";
614
John Abd-El-Malek8067cc02017-12-04 23:23:20615const char kEnableNetworkServiceInProcessName[] =
616 "Runs network service in-process";
617const char kEnableNetworkServiceInProcessDescription[] =
618 "Runs the network service in the browser process.";
619
dpapaded8349472017-10-25 03:21:27620const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
621const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37622 "If enabled, Print Preview will display a newer UI. This feature is "
623 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27624
Ahmed Fakhry2fd8fc82017-07-28 16:31:12625const char kEnableNightLightName[] = "Enable Night Light";
626const char kEnableNightLightDescription[] =
627 "Enable the Night Light feature which controls the color temperature of "
628 "the screen.";
629
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28630const char kEnableNotificationScrollBarName[] =
631 "Enable notification list scroll bar";
632const char kEnableNotificationScrollBarDescription[] =
633 "Enable the scroll bar of the notification list in Unified System Tray.";
634
xlou8b56f672018-02-09 23:34:30635const char kEnableNupPrintingName[] = "Enable N-up printing";
636const char kEnableNupPrintingDescription[] =
637 "Enable N-up printing in the print preview panel.";
638
Sophie Chang117a3b22017-10-24 22:25:36639const char kEnableOptimizationHintsName[] = "Optimization Hints";
640const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50641 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36642 "into decisions for what optimizations to perform on some pages on slow "
643 "networks.";
644
Yutaka Hirano98be3272017-08-07 17:55:39645const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
646const char kEnableOutOfBlinkCORSDescription[] =
647 "CORS handling logic is moved out of blink.";
648
Sammie Quon0fbf0782018-05-01 22:11:08649const char kEnableOverviewSwipeToCloseName[] =
650 "Enable overview swipe to close.";
651const char kEnableOverviewSwipeToCloseDescription[] =
652 "Enables closing of items in overview mode by dragging or flinging "
653 "vertically.";
654
kylechar7051c092018-02-05 20:31:39655const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
656const char kVizDisplayCompositorDescription[] =
657 "If enabled, the display compositor runs as part of the viz service in the"
658 "GPU process.";
659
Ria Jiang6a129b982018-03-01 18:30:40660const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
661const char kVizHitTestDrawQuadDescription[] =
662 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
663 "with hit-test data computed from the CompositorFrame.";
664
Erik Chen49bbfa22017-08-18 08:49:56665const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23666 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56667const char kEnableOutOfProcessHeapProfilingDescription[] =
668 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19669 "malloced objects. Heap dumps can be obtained at chrome://tracing "
670 "[category:memory-infra] and chrome://memory-internals. This setting "
671 "controls which processes are profiled. As long as this setting is not "
672 "disabled, users can start profiling any given process in "
673 "chrome://memory-internals.";
674const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
675const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
676const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
677const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
678const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10679const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19680 "None by default. Visit chrome://memory-internals to choose which "
681 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15682const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
683 "Profile a random sampling of renderer processes, ensuring only one is "
684 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19685
Erik Chen8bb76b52017-12-06 19:06:25686const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19687 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25688const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
689 "By default, small allocations are pruned from the heap dump. This reduces "
690 "the size of the compressed trace by 100x. If pruning is disabled, the "
691 "chrome://tracing UI may be unable to take or load the trace. Save the "
692 "trace directly using chrome://memory-internals, and use other mechanisms "
693 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
694 "automatically uploaded traces will always be pruned. This only affects "
695 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56696
erikchen8bc20d82018-02-14 03:21:51697const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
698const char kOutOfProcessHeapProfilingSamplingDescription[] =
699 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22700 "10000. This results in low noise for large and/or frequent allocations ["
701 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
702 "total size of malloc-ed objects] and large and/or frequent allocations "
703 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51704
Erik Chen3303fd0232018-01-11 20:29:05705const char kOOPHPStackModeName[] =
706 "The type of stack to record for memlog heap dumps";
707const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19708 "By default, memlog heap dumps record native stacks, which requires a "
709 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55710 "pointers to work on Android. Native with thread names will add the thread "
711 "name as the first frame of each native stack. It's also possible to "
712 "record a pseudo stack using trace events as identifiers. It's also "
713 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19714const char kOOPHPStackModeMixed[] = "Mixed";
715const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55716const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19717const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05718
François Beaufort2e75f492018-02-08 20:44:46719const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47720const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46721 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47722
F#m59d036e2017-09-13 07:22:17723const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
724const char kEnablePixelCanvasRecordingDescription[] =
725 "Pixel canvas recording allows the compositor to raster contents aligned "
726 "with the pixel and improves text rendering. This should be enabled when a "
727 "device is using fractional scale factor.";
728
vitaliiid36191b2018-06-11 07:40:49729extern const char kEnableSyncUserConsentSeparateTypeName[] =
730 "Enable separate sync type for consents";
731extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
732 "Emit user consents as a separate sync type instead of user events.";
733
Mohamed Amir Yosef0178fa892018-07-23 17:43:52734const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
735const char kEnableSyncUSSBookmarksDescription[] =
736 "Enables the new, experimental implementation of bookmark sync";
737
Mikel Astiz38837f82018-04-24 22:23:23738const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
739const char kEnableSyncUSSSessionsDescription[] =
740 "Enables the new, experimental implementation of session sync (aka tab "
741 "sync).";
742
Brett Wilsonf27ff602017-07-07 22:28:47743const char kEnableTokenBindingName[] = "Token Binding.";
744const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
745
746const char kEnableUseZoomForDsfName[] =
747 "Use Blink's zoom for device scale factor.";
748const char kEnableUseZoomForDsfDescription[] =
749 "If enabled, Blink uses its zooming mechanism to scale content for device "
750 "scale factor.";
751const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
752const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
753const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
754
Patrick Noland8ee016e2018-01-24 11:44:53755const char kEnableScrollAnchorSerializationName[] =
756 "Scroll Anchor Serialization";
757const char kEnableScrollAnchorSerializationDescription[] =
758 "Save the scroll anchor and use it to restore the scroll position when "
759 "navigating.";
760
Brad Nelson5cd500e2018-01-04 00:50:19761const char kEnableSharedArrayBufferName[] =
762 "Experimental enabled SharedArrayBuffer support in JavaScript.";
763const char kEnableSharedArrayBufferDescription[] =
764 "Enable SharedArrayBuffer support in JavaScript.";
765
Brett Wilsonf27ff602017-07-07 22:28:47766const char kEnableWasmName[] = "WebAssembly structured cloning support.";
767const char kEnableWasmDescription[] =
768 "Enable web pages to use WebAssembly structured cloning.";
769
Kim Paulhamusae635a32018-06-27 07:30:54770const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
771const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47772 "Enable Web Authentication API support.";
773
774extern const char kEnableWebAuthenticationCableSupportName[] =
775 "Web Authentication caBLE support";
776extern const char kEnableWebAuthenticationCableSupportDescription[] =
777 "Enable the cloud-assisted pairingless BLE protocol for use with "
778 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54779
Brett Wilsonf27ff602017-07-07 22:28:47780const char kEnableImageCaptureAPIName[] = "Image Capture API";
781const char kEnableImageCaptureAPIDescription[] =
782 "Enables the Web Platform Image Capture API: takePhoto(), "
783 "getPhotoCapabilities(), etc.";
784
785const char kEnableZeroSuggestRedirectToChromeName[] =
786 "Experimental contextual omnibox suggestion";
787const char kEnableZeroSuggestRedirectToChromeDescription[] =
788 "Change omnibox contextual suggestions to an experimental source. Note "
789 "that this is not an on/off switch for contextual omnibox and it only "
790 "applies to suggestions provided before the user starts typing a URL or a "
791 "search query (i.e. zero suggest).";
792
793const char kEnableWasmStreamingName[] =
794 "WebAssembly streaming compile/instantiate support.";
795const char kEnableWasmStreamingDescription[] =
796 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
797
Clemens Hammacher0c8a15a2018-04-27 13:45:32798const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
799const char kEnableWasmBaselineDescription[] =
800 "Enables WebAssembly baseline compilation and tier up.";
801
Ben Smith24c1e5c2018-06-20 01:09:02802const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
803const char kEnableWasmThreadsDescription[] =
804 "Enables support for the WebAssembly Threads proposal. Implies "
805 "#shared-array-buffer and #enable-webassembly.";
806
Brett Wilsonf27ff602017-07-07 22:28:47807const char kExpensiveBackgroundTimerThrottlingName[] =
808 "Throttle expensive background timers";
809const char kExpensiveBackgroundTimerThrottlingDescription[] =
810 "Enables intervention to limit CPU usage of background timers to 1%.";
811
812const char kExperimentalAppBannersName[] = "Experimental app banners";
813const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38814 "Enables a new experimental app banner flow and UI. Implies "
815 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47816
817const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
818const char kExperimentalCanvasFeaturesDescription[] =
819 "Enables the use of experimental canvas features which are still in "
820 "development.";
821
Nicholas Verneccd8259802018-02-22 01:22:04822const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
823const char kExperimentalCrostiniUIDescription[] =
824 "Enables in-development Crostini features.";
825
Brett Wilsonf27ff602017-07-07 22:28:47826const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
827const char kExperimentalExtensionApisDescription[] =
828 "Enables experimental extension APIs. Note that the extension gallery "
829 "doesn't allow you to upload extensions that use experimental APIs.";
830
831const char kExperimentalFullscreenExitUIName[] =
832 "Experimental fullscreen exit UI";
833const char kExperimentalFullscreenExitUIDescription[] =
834 "Displays experimental UI to allow mouse and touch input methods to exit "
835 "fullscreen mode.";
836
Ian Clelland37a985d2018-05-04 02:43:13837const char kExperimentalProductivityFeaturesName[] =
838 "Experimental Productivity Features";
839const char kExperimentalProductivityFeaturesDescription[] =
840 "Enable support for experimental developer productivity features, such as "
841 "Layered APIs and policies for avoiding slow rendering.";
842
Brett Wilsonf27ff602017-07-07 22:28:47843const char kExperimentalSecurityFeaturesName[] =
844 "Potentially annoying security features";
845const char kExperimentalSecurityFeaturesDescription[] =
846 "Enables several security features that will likely break one or more "
847 "pages that you visit on a daily basis. Strict mixed content checking, for "
848 "example. And locking powerful features to secure contexts. This flag will "
849 "probably annoy you.";
850
851const char kExperimentalWebPlatformFeaturesName[] =
852 "Experimental Web Platform features";
853const char kExperimentalWebPlatformFeaturesDescription[] =
854 "Enables experimental Web Platform features that are in development.";
855
856const char kExtensionContentVerificationName[] =
857 "Extension Content Verification";
858const char kExtensionContentVerificationDescription[] =
859 "This flag can be used to turn on verification that the contents of the "
860 "files on disk for extensions from the webstore match what they're "
861 "expected to be. This can be used to turn on this feature if it would not "
862 "otherwise have been turned on, but cannot be used to turn it off (because "
863 "this setting can be tampered with by malware).";
864const char kExtensionContentVerificationBootstrap[] =
865 "Bootstrap (get expected hashes, but do not enforce them)";
866const char kExtensionContentVerificationEnforce[] =
867 "Enforce (try to get hashes, and enforce them if successful)";
868const char kExtensionContentVerificationEnforceStrict[] =
869 "Enforce strict (hard fail if we can't get hashes)";
870
871const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
872const char kExtensionsOnChromeUrlsDescription[] =
873 "Enables running extensions on chrome:// URLs, where extensions explicitly "
874 "request this permission.";
galinapae72e152017-05-12 13:12:28875
Brett Wilsonecb80982017-07-12 20:34:51876const char kFastUnloadName[] = "Fast tab/window close";
877const char kFastUnloadDescription[] =
878 "Enables fast tab/window closing - runs a tab's onunload js handler "
879 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34880
Brett Wilsonecb80982017-07-12 20:34:51881const char kFeaturePolicyName[] = "Feature Policy";
882const char kFeaturePolicyDescription[] =
883 "Enables granting and removing access to features through the "
884 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34885
Brett Wilsonecb80982017-07-12 20:34:51886const char kFontCacheScalingName[] = "FontCache scaling";
887const char kFontCacheScalingDescription[] =
888 "Reuse a cached font in the renderer to serve different sizes of font for "
889 "faster layout.";
890
891const char kForceEffectiveConnectionTypeName[] =
892 "Override effective connection type";
893const char kForceEffectiveConnectionTypeDescription[] =
894 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30895 "returned by the network quality estimator. Slow 2G on Cellular returns "
896 "Slow 2G when connected to a cellular network, and the actual estimate "
897 "effective connection type when not on a cellular network. Previews are "
898 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51899const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
900const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
901const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30902const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
903 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51904const char kEffectiveConnectionType2GDescription[] = "2G";
905const char kEffectiveConnectionType3GDescription[] = "3G";
906const char kEffectiveConnectionType4GDescription[] = "4G";
907
908const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
909const char kFillOnAccountSelectDescription[] =
910 "Filling of passwords when an account is explicitly selected by the user "
911 "rather than autofilling credentials on page load.";
912
Brett Wilsonecb80982017-07-12 20:34:51913const char kForceTextDirectionName[] = "Force text direction";
914const char kForceTextDirectionDescription[] =
915 "Explicitly force the per-character directionality of UI text to "
916 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
917 "direction of the character language.";
918const char kForceDirectionLtr[] = "Left-to-right";
919const char kForceDirectionRtl[] = "Right-to-left";
920
921const char kForceUiDirectionName[] = "Force UI direction";
922const char kForceUiDirectionDescription[] =
923 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
924 "mode, overriding the default direction of the UI language.";
925
926const char kFramebustingName[] =
927 "Framebusting requires same-origin or a user gesture";
928const char kFramebustingDescription[] =
929 "Don't permit an iframe to navigate the top level browsing context unless "
930 "they are same-origin or the iframe is processing a user gesture.";
931
932const char kGamepadExtensionsName[] = "Gamepad Extensions";
933const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22934 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06935const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48936const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06937 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48938 "the polling rate improves the average latency of button and axis inputs "
939 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58940const char kGamepadVibrationName[] = "Gamepad Vibration";
941const char kGamepadVibrationDescription[] =
942 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51943
Brett Wilsonecb80982017-07-12 20:34:51944const char kGpuRasterizationMsaaSampleCountName[] =
945 "GPU rasterization MSAA sample count.";
946const char kGpuRasterizationMsaaSampleCountDescription[] =
947 "Specify the number of MSAA samples for GPU rasterization.";
948const char kGpuRasterizationMsaaSampleCountZero[] = "0";
949const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
950const char kGpuRasterizationMsaaSampleCountFour[] = "4";
951const char kGpuRasterizationMsaaSampleCountEight[] = "8";
952const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
953
954const char kGpuRasterizationName[] = "GPU rasterization";
955const char kGpuRasterizationDescription[] =
956 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28957const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51958
959const char kGoogleProfileInfoName[] = "Google profile name and icon";
960const char kGoogleProfileInfoDescription[] =
961 "Enables using Google information to populate the profile name and icon in "
962 "the avatar menu.";
963
964const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
965const char kHarfbuzzRendertextDescription[] =
966 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
967 "web content.";
968
Takumi Fujimotofb71e332018-03-31 14:04:08969const char kViewsCastDialogName[] = "Views Cast dialog";
970const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31971 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53972 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54973 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08974
Manu Cornet4a908de2018-04-09 04:32:27975const char kHideActiveAppsFromShelfName[] =
976 "Hide running apps (that are not pinned) from the shelf";
977const char kHideActiveAppsFromShelfDescription[] =
978 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25979
Brett Wilsonecb80982017-07-12 20:34:51980const char kHistoryRequiresUserGestureName[] =
981 "New history entries require a user gesture.";
982const char kHistoryRequiresUserGestureDescription[] =
983 "Require a user gesture to add a history entry.";
984const char kHyperlinkAuditingName[] = "Hyperlink auditing";
985const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
986
Ryan Landay4242dbc22018-04-04 01:47:33987const char kHorizontalTabSwitcherAndroidName[] =
988 "Enable horizontal tab switcher";
989const char kHorizontalTabSwitcherAndroidDescription[] =
990 "Changes the layout of the Android tab switcher so tabs scroll "
991 "horizontally instead of vertically.";
992
Brett Wilsonecb80982017-07-12 20:34:51993const char kHostedAppQuitNotificationName[] =
994 "Quit notification for hosted apps";
995const char kHostedAppQuitNotificationDescription[] =
996 "Display a notification when quitting Chrome if hosted apps are currently "
997 "running.";
998
999const char kHostedAppShimCreationName[] =
1000 "Creation of app shims for hosted apps on Mac";
1001const char kHostedAppShimCreationDescription[] =
1002 "Create app shims on Mac when creating a hosted app.";
1003
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481004const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1005const char kHtmlBasedUsernameDetectorDescription[] =
1006 "Use HTML-based username detector for the password manager.";
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kIconNtpName[] = "Large icons on the New Tab page";
1009const char kIconNtpDescription[] =
1010 "Enable the experimental New Tab page using large icons.";
1011
1012const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1013const char kIgnoreGpuBlacklistDescription[] =
1014 "Overrides the built-in software rendering list and enables "
1015 "GPU-acceleration on unsupported system configurations.";
1016
Ryan Sturm8c3dbc92018-06-26 19:22:371017const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441018const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371019 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441020
Claudio Magni61c210922017-12-28 00:29:511021const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1022const char kImprovedLanguageSettingsDescription[] =
1023 "Set of changes for Language Settings. These changes are intended to fix "
1024 "the major bugs related to Language Settings.";
1025
Brett Wilsonecb80982017-07-12 20:34:511026const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1027const char kInProductHelpDemoModeChoiceDescription[] =
1028 "Selects the In-Product Help demo mode.";
1029
1030const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1031const char kJavascriptHarmonyDescription[] =
1032 "Enable web pages to use experimental JavaScript features.";
1033
1034const char kJavascriptHarmonyShippingName[] =
1035 "Latest stable JavaScript features";
1036const char kJavascriptHarmonyShippingDescription[] =
1037 "Some web pages use legacy or non-standard JavaScript extensions that may "
1038 "conflict with the latest JavaScript features. This flag allows disabling "
1039 "support of those features for compatibility with such pages.";
1040
gogeraldfd7675d2018-06-19 22:57:351041const char kJustInTimeServiceWorkerPaymentAppName[] =
1042 "Just-in-time service worker payment app";
1043const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1044 "Allow crawling just-in-time service worker payment app when there is no "
1045 "installed service worker payment app for a payment request.";
1046
Yutaka Hiranof7f2f632017-09-06 10:40:081047const char kKeepAliveRendererForKeepaliveRequestsName[] =
1048 "Keep a renderer alive for keepalive fetch requests";
1049const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1050 "Keep a render process alive when the process has a pending fetch request "
1051 "with `keepalive' specified.";
1052
Joe Downing095fd6d2018-02-01 18:40:361053const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1054const char kKeyboardLockApiDescription[] =
1055 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1056 "specific key events and have them routed directly to the webpage when in "
1057 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1058
Brett Wilsonecb80982017-07-12 20:34:511059const char kLcdTextName[] = "LCD text antialiasing";
1060const char kLcdTextDescription[] =
1061 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1062 "(subpixel) when doing accelerated compositing.";
1063
Matt Giucac399982f2017-10-06 07:51:291064const char kLeftToRightUrlsName[] =
1065 "Render bidirectional URLs from left to right";
1066const char kLeftToRightUrlsDescription[] =
1067 "An experimental Bidi URL rendering algorithm where the URL components are "
1068 "always shown in order from left to right, regardless of any RTL "
1069 "characters. (The contents of each component are still rendered with the "
1070 "normal Bidi algorithm.)";
1071
Brett Wilsonecb80982017-07-12 20:34:511072const char kLoadMediaRouterComponentExtensionName[] =
1073 "Load Media Router Component Extension";
1074const char kLoadMediaRouterComponentExtensionDescription[] =
1075 "Loads the Media Router component extension at startup.";
1076
spqchanb87755692018-04-05 00:46:091077const char kMacViewsAutofillPopupName[] =
1078 "Uses the Views Autofill Popup on Mac";
1079const char kMacViewsAutofillPopupDescription[] =
1080 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321081
Brett Wilsonecb80982017-07-12 20:34:511082const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1083const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511084
Lei Zhang2eca9082017-10-17 20:42:501085const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1086const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511087 "If enabled, the Incognito New Tab page uses the new material design with "
1088 "a better readable text.";
1089
spqchanb87755692018-04-05 00:46:091090const char kMediaRouterCastAllowAllIPsName[] =
1091 "Connect to Cast devices on all IP addresses";
1092const char kMediaRouterCastAllowAllIPsDescription[] =
1093 "Have the Media Router connect to Cast devices on all IP addresses, not "
1094 "just RFC1918/RFC4913 private addresses.";
1095
Brett Wilsonecb80982017-07-12 20:34:511096const char kMemoryCoordinatorName[] = "Memory coordinator";
1097const char kMemoryCoordinatorDescription[] =
1098 "Enable memory coordinator instead of memory pressure listeners.";
1099
1100const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1101const char kMessageCenterNewStyleNotificationDescription[] =
1102 "Enables the experiment style of material-design notification";
1103
Brett Wilsonecb80982017-07-12 20:34:511104const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1105const char kMhtmlGeneratorOptionDescription[] =
1106 "Provides experimental options for MHTML file generator.";
1107const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1108const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1109
Kouhei Ueno08445c22017-09-05 03:58:301110const char kModuleScriptsDynamicImportName[] =
1111 "Enable ECMAScript 6 modules dynamic import";
1112const char kModuleScriptsDynamicImportDescription[] =
1113 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1114 "Blink.";
1115
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051116const char kModuleScriptsImportMetaUrlName[] =
1117 "Enable ECMAScript 6 modules import.meta.url";
1118const char kModuleScriptsImportMetaUrlDescription[] =
1119 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1120 "Blink.";
1121
Brett Wilsonecb80982017-07-12 20:34:511122const char kNewAudioRenderingMixingStrategyName[] =
1123 "New audio rendering mixing strategy";
1124const char kNewAudioRenderingMixingStrategyDescription[] =
1125 "Use the new audio rendering mixing strategy.";
1126
1127const char kNewBookmarkAppsName[] = "The new bookmark app system";
1128const char kNewBookmarkAppsDescription[] =
1129 "Enables the new system for creating bookmark apps.";
1130
Vadym Doroshenkof81e8bb2018-04-18 14:35:241131const char kNewPasswordFormParsingName[] = "New password form parsing";
1132const char kNewPasswordFormParsingDescription[] =
1133 "Replaces existing form parsing in password manager with a new version, "
1134 "currently under development. WARNING: when enabled Password Manager might "
1135 "stop working";
1136
Brett Wilsonecb80982017-07-12 20:34:511137const char kNewRemotePlaybackPipelineName[] =
1138 "Enable the new remote playback pipeline.";
1139const char kNewRemotePlaybackPipelineDescription[] =
1140 "Enable the new pipeline for playing media element remotely via "
1141 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501142const char kUseSurfaceLayerForVideoName[] =
1143 "Enable the use of SurfaceLayer objects for videos.";
1144const char kUseSurfaceLayerForVideoDescription[] =
1145 "Enable compositing onto a Surface instead of a VideoLayer "
1146 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511147
1148const char kNewUsbBackendName[] = "Enable new USB backend";
1149const char kNewUsbBackendDescription[] =
1150 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341151
Sonny Sasaka2d200432018-03-22 17:43:161152const char kNewblueName[] = "Newblue";
1153const char kNewblueDescription[] =
1154 "Enables the use of newblue Bluetooth daemon.";
1155
Peter Kasting63097912018-06-30 02:09:031156const char kNewTabButtonPosition[] = "New tab button position";
1157const char kNewTabButtonPositionDescription[] =
1158 "Controls placement of the new tab button within the tabstrip.";
1159const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1160const char kNewTabButtonPositionLeading[] = "Leading";
1161const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1162const char kNewTabButtonPositionTrailing[] = "Trailing";
1163
Egor Pasko6fed3822018-05-30 10:33:141164const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341165const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141166 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341167
Alex Newcomerd7b0cc42018-05-25 22:58:481168const char kNotificationIndicatorName[] = "Notification Indicators";
1169const char kNotificationIndicatorDescription[] =
1170 "Enable notification indicators, which appear on app icons when a "
1171 "notification is active. This will also enable notifications in context "
1172 "menus.";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1175const char kNotificationsNativeFlagDescription[] =
1176 "Enable support for using the native notification toasts and notification "
1177 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341178
Zentaro Kavanaghbad511c2017-10-18 22:29:001179#if defined(OS_POSIX)
1180const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1181const char kNtlmV2EnabledDescription[] =
1182 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1183#endif
1184
Ramya Nagarajane9f16b82018-05-03 01:05:341185const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1186const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301187 "Allow selection of a custom background image on the New Tab Page. "
1188 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341189
kristipark037abce12018-07-13 19:49:301190const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1191const char kNtpCustomLinksDescription[] =
1192 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1193 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1194
1195const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341196const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301197 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1198 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341199
1200const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1201const char kNtpUIMdDescription[] =
1202 "Updates the New Tab Page with Material Design elements.";
1203
Brett Wilsonecb80982017-07-12 20:34:511204const char kNumRasterThreadsName[] = "Number of raster threads";
1205const char kNumRasterThreadsDescription[] =
1206 "Specify the number of raster threads.";
1207const char kNumRasterThreadsOne[] = "1";
1208const char kNumRasterThreadsTwo[] = "2";
1209const char kNumRasterThreadsThree[] = "3";
1210const char kNumRasterThreadsFour[] = "4";
1211
1212const char kOfferStoreUnmaskedWalletCardsName[] =
1213 "Google Payments card saving checkbox";
1214const char kOfferStoreUnmaskedWalletCardsDescription[] =
1215 "Show the checkbox to offer local saving of a credit card downloaded from "
1216 "the server.";
1217
1218const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1219const char kOfflineAutoReloadDescription[] =
1220 "Pages that fail to load while the browser is offline will be "
1221 "auto-reloaded when the browser is online again.";
1222
1223const char kOfflineAutoReloadVisibleOnlyName[] =
1224 "Only Auto-Reload Visible Tabs";
1225const char kOfflineAutoReloadVisibleOnlyDescription[] =
1226 "Pages that fail to load while the browser is offline will only be "
1227 "auto-reloaded if their tab is visible.";
1228
Brett Wilsonecb80982017-07-12 20:34:511229const char kOmniboxDisplayTitleForCurrentUrlName[] =
1230 "Include title for the current URL in the omnibox";
1231const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1232 "In the event that the omnibox provides suggestions on-focus, the URL of "
1233 "the current page is provided as the first suggestion without a title. "
1234 "Enabling this flag causes the title to be displayed.";
1235
Benoit Lizeab08362c2017-07-19 14:50:541236const char kOmniboxSpareRendererName[] =
1237 "Start spare renderer on omnibox focus";
1238const char kOmniboxSpareRendererDescription[] =
1239 "When the omnibox is focused, start an empty spare renderer. This can "
1240 "speed up the load of the navigation from the omnibox.";
1241
Tommy C. Li8875a442017-08-23 00:10:591242const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1243 "Omnibox UI Elide Suggestion URL After Host";
1244const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1245 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1246 "dropdown.";
1247
Tommy C. Lid79d4402017-12-22 22:49:121248const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1249 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1250const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1251 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221252 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1253 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121254
Brett Wilsonecb80982017-07-12 20:34:511255const char kOmniboxUIMaxAutocompleteMatchesName[] =
1256 "Omnibox UI Max Autocomplete Matches";
1257
1258const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1259 "Changes the maximum number of autocomplete matches displayed in the "
1260 "Omnibox UI.";
1261
Justin Donnelly65c9e8b2017-10-01 05:15:011262const char kOmniboxUIShowSuggestionFaviconsName[] =
1263 "Omnibox UI Show Suggestion Favicons";
1264const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1265 "Shows favicons instead of generic vector icons for URL suggestions in the "
1266 "Omnibox dropdown.";
1267
1268const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1269const char kOmniboxUISwapTitleAndUrlDescription[] =
1270 "In the omnibox dropdown, shows titles before URLs when both are "
1271 "available.";
1272
Brett Wilsonecb80982017-07-12 20:34:511273const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1274const char kOmniboxUIVerticalMarginDescription[] =
1275 "Changes the vertical margin in the Omnibox UI.";
1276
Troy Hildebrandtb32637ca2018-02-21 23:25:091277const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1278 "Omnibox Voice Search Always Visible";
1279const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1280 "Always displays voice search icon in focused omnibox as long as voice "
1281 "search is possible";
1282
Adrienne Walkerc87477e2018-06-06 22:28:211283const char kOopRasterizationName[] = "Out of process rasterization";
1284const char kOopRasterizationDescription[] =
1285 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1286 "Must also enable GPU rasterization";
1287
Brett Wilsonecb80982017-07-12 20:34:511288const char kOriginTrialsName[] = "Origin Trials";
1289const char kOriginTrialsDescription[] =
1290 "Enables origin trials for controlling access to feature/API experiments.";
1291
Becca Hughes930d8cd2017-10-02 11:09:121292const char kOverflowIconsForMediaControlsName[] =
1293 "Icons on Media Controls Overflow Menu";
1294const char kOverflowIconsForMediaControlsDescription[] =
1295 "Displays icons on the overflow menu of the native media controls";
1296
Brett Wilsonecb80982017-07-12 20:34:511297const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1298const char kOverlayScrollbarsDescription[] =
1299 "Enable the experimental overlay scrollbars implementation. You must also "
1300 "enable threaded compositing to have the scrollbars animate.";
1301
chaopenge8aa016b2017-08-24 15:20:191302const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1303 "Flash Overlay Scrollbars After Any Scroll Update";
1304const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1305 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1306 " must also enable Overlay Scrollbars.";
1307
chaopeng343678022017-08-24 18:45:001308const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1309 "Flash Overlay Scrollbars When Mouse Enter";
1310const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1311 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1312 " enable Overlay Scrollbars.";
1313
Daniele Castagna74ddb9c2018-06-21 22:59:021314const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1315const char kOverlayStrategiesDescription[] =
1316 "Select strategies used to promote quads to HW overlays.";
1317const char kOverlayStrategiesDefault[] = "Default";
1318const char kOverlayStrategiesNone[] = "None";
1319const char kOverlayStrategiesUnoccludedFullscreen[] =
1320 "Unoccluded fullscreen buffers (single-fullscreen)";
1321const char kOverlayStrategiesUnoccluded[] =
1322 "Unoccluded buffers (single-fullscreen,single-on-top)";
1323const char kOverlayStrategiesOccludedAndUnoccluded[] =
1324 "Occluded and unoccluded buffers "
1325 "(single-fullscreen,single-on-top,underlay)";
1326
Claudio Magni81326f92017-09-01 05:21:181327const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1328const char kUseNewAcceptLanguageHeaderDescription[] =
1329 "Adds the base language code after other corresponding language+region "
1330 "codes. This ensures that users receive content in their preferred "
1331 "language.";
1332
Brett Wilsonecb80982017-07-12 20:34:511333const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1334const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481335 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511336const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481337const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511338
1339const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1340const char kOverscrollStartThresholdDescription[] =
1341 "Changes overscroll start threshold relative to the default value.";
1342const char kOverscrollStartThreshold133Percent[] = "133%";
1343const char kOverscrollStartThreshold166Percent[] = "166%";
1344const char kOverscrollStartThreshold200Percent[] = "200%";
1345
chaopenge2b6e5f2018-05-08 16:40:451346const char kTouchpadOverscrollHistoryNavigationName[] =
1347 "Overscroll history navigation on Touchpad";
1348const char kTouchpadOverscrollHistoryNavigationDescription[] =
1349 "Allows swipe left/right from touchpad change browser navigation.";
1350
Xing Liu5400a002017-09-15 21:48:291351const char kParallelDownloadingName[] = "Parallel downloading";
1352const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061353 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291354
Brett Wilsonecb80982017-07-12 20:34:511355const char kPassiveEventListenerDefaultName[] =
1356 "Passive Event Listener Override";
1357const char kPassiveEventListenerDefaultDescription[] =
1358 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1359 "haven't requested otherwise) to be treated as passive. This will break "
1360 "touch/wheel behavior on some websites but is useful for demonstrating the "
1361 "potential performance benefits of adopting passive event listeners.";
1362const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1363const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1364
1365const char kPassiveEventListenersDueToFlingName[] =
1366 "Touch Event Listeners Passive Default During Fling";
1367const char kPassiveEventListenersDueToFlingDescription[] =
1368 "Forces touchstart, and first touchmove per scroll event listeners during "
1369 "fling to be treated as passive.";
1370
1371const char kPassiveDocumentEventListenersName[] =
1372 "Document Level Event Listeners Passive Default";
1373const char kPassiveDocumentEventListenersDescription[] =
1374 "Forces touchstart, and touchmove event listeners on document level "
1375 "targets (which haven't requested otherwise) to be treated as passive.";
1376
1377const char kPasswordForceSavingName[] = "Force-saving of passwords";
1378const char kPasswordForceSavingDescription[] =
1379 "Allow the user to manually enforce password saving instead of relying on "
1380 "password manager's heuristics.";
1381
Vaclav Brozekd8a3f542017-11-16 14:21:131382const char kPasswordExportName[] = "Password export";
1383const char kPasswordExportDescription[] =
1384 "Export functionality in password settings.";
1385
1386const char kPasswordImportName[] = "Password import";
1387const char kPasswordImportDescription[] =
1388 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511389
Friedrich Horschig03c91982018-01-25 14:21:281390const char kPasswordSearchMobileName[] = "Password search";
1391const char kPasswordSearchMobileDescription[] =
1392 "Search functionality in password settings.";
1393
Friedrich Horschige6c27742018-04-23 17:13:411394const char kPasswordsKeyboardAccessoryName[] =
1395 "Add password-related functions to keyboard accessory";
1396const char kPasswordsKeyboardAccessoryDescription[] =
1397 "Adds password generation button and toggle for the passwords bottom sheet "
1398 "to the keyboard accessory. Replaces password generation popups.";
1399
Tom Sepez92a2cd242018-03-13 19:23:091400const char kPdfIsolationName[] = "PDF Isolation";
1401const char kPdfIsolationDescription[] =
1402 "Render PDF files from different origins in different plugin processes.";
1403
Brett Wilsonecb80982017-07-12 20:34:511404const char kPinchScaleName[] = "Pinch scale";
1405const char kPinchScaleDescription[] =
1406 "Enables experimental support for scale using pinch.";
1407
Doug Arnett620ff542018-02-06 17:54:221408const char kPreviewsAllowedName[] = "Previews Allowed";
1409const char kPreviewsAllowedDescription[] =
1410 "Allows previews to be shown subject to specific preview types being "
1411 "enabled and the client experiencing specific triggering conditions. "
1412 "May be used as a kill-switch to turn off all potential preview types.";
1413
Brett Wilsonecb80982017-07-12 20:34:511414const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1415const char kPrintPdfAsImageDescription[] =
1416 "If enabled, an option to print PDF files as images will be available in "
1417 "print preview.";
1418
1419const char kPrintPreviewRegisterPromosName[] =
1420 "Print Preview Registration Promos";
1421const char kPrintPreviewRegisterPromosDescription[] =
1422 "Enable registering unregistered cloud printers from print preview.";
1423
1424const char kProtectSyncCredentialName[] = "Autofill sync credential";
1425const char kProtectSyncCredentialDescription[] =
1426 "How the password manager handles autofill for the sync credential.";
1427
1428const char kProtectSyncCredentialOnReauthName[] =
1429 "Autofill sync credential only for transactional reauth pages";
1430const char kProtectSyncCredentialOnReauthDescription[] =
1431 "How the password manager handles autofill for the sync credential only "
1432 "for transactional reauth pages.";
1433
Mohsen Izadi93faac12017-07-29 04:45:151434const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1435const char kPullToRefreshDescription[] =
1436 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011437const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151438
Troy Hildebrandt7228ad12018-02-23 21:18:241439const char kQueryInOmniboxName[] = "Query in Omnibox";
1440const char kQueryInOmniboxDescription[] =
1441 "Only display query terms in the omnibox when viewing a search results "
1442 "page.";
1443
Brett Wilsonecb80982017-07-12 20:34:511444const char kQuicName[] = "Experimental QUIC protocol";
1445const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1446
Emily Starke8878d52018-05-11 21:27:261447const char kRecurrentInterstitialName[] =
1448 "Show a message when the same SSL error recurs";
1449const char kRecurrentInterstitialDescription[] =
1450 "Enable a special message on the SSL certificate error page when the same "
1451 "SSL error occurs repeatedly.";
1452
Brett Wilsonecb80982017-07-12 20:34:511453const char kReducedReferrerGranularityName[] =
1454 "Reduce default 'referer' header granularity.";
1455const char kReducedReferrerGranularityDescription[] =
1456 "If a page hasn't set an explicit referrer policy, setting this flag will "
1457 "reduce the amount of information in the 'referer' header for cross-origin "
1458 "requests.";
1459
Claudio Magnie0a80bb2018-01-31 02:52:581460extern const char kRegionalLocalesAsDisplayUIName[] =
1461 "Allow regional locales as display UI";
1462extern const char kRegionalLocalesAsDisplayUIDescription[] =
1463 "This flag allows regional locales to be selected as display UI by the "
1464 "user in Language Settings. The actual locale of the system is derived "
1465 "from the user selection based on some simple fallback logic.";
1466
Christian Dullweber1af31e62018-02-22 11:49:481467const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141468 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481469const char kRemoveNavigationHistoryDescription[] =
1470 "Remove a navigation entry when the corresponding history entry has been "
1471 "deleted.";
1472
Mihai Sardarescu6d0f5b72017-10-30 11:24:381473const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1474 "Remove usage of the deprecated GAIA sign-in endpoint";
1475const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1476 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1477 "This flags controls wheter it should no longer be used during a sign-in "
1478 " flow.";
1479
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351480const char kRendererSideResourceSchedulerName[] =
1481 "Renderer side ResourceScheduler";
1482const char kRendererSideResourceSchedulerDescription[] =
1483 "Migrate some ResourceScheduler functionalities to renderer";
1484
Brett Wilsonecb80982017-07-12 20:34:511485const char kRequestTabletSiteName[] =
1486 "Request tablet site option in the settings menu";
1487const char kRequestTabletSiteDescription[] =
1488 "Allows the user to request tablet site. Web content is often optimized "
1489 "for tablet devices. When this option is selected the user agent string is "
1490 "changed to indicate a tablet device. Web content optimized for tablets is "
1491 "received there after for the current tab.";
1492
1493const char kResetAppListInstallStateName[] =
1494 "Reset the App Launcher install state on every restart.";
1495const char kResetAppListInstallStateDescription[] =
1496 "Reset the App Launcher install state on every restart. While this flag is "
1497 "set, Chrome will forget the launcher has been installed each time it "
1498 "starts. This is used for testing the App Launcher install flow.";
1499
Kinuko Yasuda33955082018-06-19 10:14:591500const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511501const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591502 "Uses the resource load scheduler in blink to throttle resource load "
1503 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511504
Brett Wilsonecb80982017-07-12 20:34:511505const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1506const char kSafeSearchUrlReportingDescription[] =
1507 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1508
Alexei Filippov98772752018-01-27 08:26:521509const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1510const char kSamplingHeapProfilerDescription[] =
1511 "Enables native memory sampling profiler with specified rate in KiB. "
1512 "If sampling rate is not provided the default value of 128 KiB is used.";
1513
Brett Wilsonecb80982017-07-12 20:34:511514const char kSaveasMenuLabelExperimentName[] =
1515 "Switch 'Save as' menu labels to 'Download'";
1516const char kSaveasMenuLabelExperimentDescription[] =
1517 "Enables an experiment to switch menu labels that use 'Save as...' to "
1518 "'Download'.";
1519
1520const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1521const char kSavePageAsMhtmlDescription[] =
1522 "Enables saving pages as MHTML: a single text file containing HTML and all "
1523 "sub-resources.";
1524
Nate Chapin9638e7102017-09-20 22:11:011525const char kSavePreviousDocumentResourcesName[] =
1526 "Save Previous Document Resources";
1527const char kSavePreviousDocumentResourcesDescription[] =
1528 "Saves an old document's cached resources until the specified point in the "
1529 "next document's lifecycle.";
1530const char kSavePreviousDocumentResourcesNever[] =
1531 "Don't explicitly save resources";
1532const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1533 "Save resources until onDOMContentLoaded completes";
1534const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1535 "Save resources until onload completes";
1536
Brett Wilsonecb80982017-07-12 20:34:511537const char kScrollPredictionName[] = "Scroll prediction";
1538const char kScrollPredictionDescription[] =
1539 "Predicts the finger's future position during scrolls allowing time to "
1540 "render the frame before the finger is there.";
1541
1542const char kSecondaryUiMd[] =
1543 "Material Design in the rest of the browser's native UI";
1544const char kSecondaryUiMdDescription[] =
1545 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1546 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341547 "browser dialogs. If --top-chrome-md is effectively Material Design "
1548 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511549
1550const char kServiceWorkerNavigationPreloadName[] =
1551 "Service worker navigation preload.";
1552const char kServiceWorkerNavigationPreloadDescription[] =
1553 "Enable web pages to use the experimental service worker navigation "
1554 "preload API.";
1555
gogeraldd5061b592017-09-06 23:39:551556const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1557const char kServiceWorkerPaymentAppsDescription[] =
1558 "Enable Service Worker applications to integrate as payment apps";
1559
Makoto Shimazu22078cc2018-02-21 03:01:441560extern const char kServiceWorkerServicificationName[] =
1561 "Servicified service workers";
1562extern const char kServiceWorkerServicificationDescription[] =
1563 "Enable the servicified service workers. A servicified service worker can "
1564 "have direct connection from its clients, so that fetch events can be "
1565 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171566
Tsuyoshi Horobcb1c642017-11-24 16:32:141567const char kServiceWorkerScriptFullCodeCacheName[] =
1568 "Service worker script full code cache.";
1569const char kServiceWorkerScriptFullCodeCacheDescription[] =
1570 "Generate V8 full code cache of Service Worker scripts while installing.";
1571
Brett Wilsonecb80982017-07-12 20:34:511572const char kSettingsWindowName[] = "Show settings in a window";
1573const char kSettingsWindowDescription[] =
1574 "Settings will be shown in a dedicated window instead of as a browser tab.";
1575
Manu Cornetd7ef7c52018-05-01 22:08:231576const char kShelfHoverPreviewsName[] =
1577 "Show previews of running apps when hovering over the shelf.";
1578const char kShelfHoverPreviewsDescription[] =
1579 "Shows previews of the open windows for a given running app when hovering "
1580 "over the shelf.";
1581
Manu Cornet683e14b2018-07-16 17:39:431582const char kShelfNewUiName[] = "Newest shelf redesign.";
1583const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1584
Trent Apted750ba7022017-10-23 13:36:251585const char kShowAllDialogsWithViewsToolkitName[] =
1586 "Show all dialogs with Views toolkit";
1587const char kShowAllDialogsWithViewsToolkitDescription[] =
1588 "All browser dialogs will be shown using the Views toolkit rather than "
1589 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1590
Naoki Fukino008a0022018-05-23 18:33:001591const char kShowAndroidFilesInFilesAppName[] =
1592 "Show Android files in Files app";
1593const char kShowAndroidFilesInFilesAppDescription[] =
1594 "Show Android files in Files app if Android is enabled on the device.";
1595
Luciano Pachecoa0e2753f2018-07-16 07:41:101596const char kFilesAppDisableMyFilesNavigationName[] =
1597 "Disable the My Files on the navigation in the Files app";
1598const char kFilesAppDisableMyFilesNavigationDescription[] =
1599 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511600 R"("My Files" root for Downloads, Linux and Play files)";
1601
Brett Wilsonecb80982017-07-12 20:34:511602const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1603const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381604 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1605 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511606
1607const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1608const char kShowAutofillTypePredictionsDescription[] =
1609 "Annotates web forms with Autofill field type predictions as placeholder "
1610 "text.";
1611
1612const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1613const char kShowOverdrawFeedbackDescription[] =
1614 "Visualize overdraw by color-coding elements based on if they have other "
1615 "elements drawn underneath.";
1616
Carlos IL89128732018-04-03 17:00:251617const char kSupervisedUserCommittedInterstitialsName[] =
1618 "Enable Supervised User Committed Interstitials";
1619const char kSupervisedUserCommittedInterstitialsDescription[] =
1620 "Use committed error pages instead of transient navigation entries for "
1621 "supervised user interstitials";
1622
yiyixbdfa9a0b2017-10-23 22:21:471623const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1624const char kEnableDrawOcclusionDescription[] =
1625 "Enable the system to use draw occlusion to skip draw quads when they are "
1626 "not shown on the screen.";
1627
Brett Wilsonecb80982017-07-12 20:34:511628const char kShowSavedCopyName[] = "Show Saved Copy Button";
1629const char kShowSavedCopyDescription[] =
1630 "When a page fails to load, if a stale copy of the page exists in the "
1631 "browser cache, a button will be presented to allow the user to load that "
1632 "stale copy. The primary enabling choice puts the button in the most "
1633 "salient position on the error page; the secondary enabling choice puts it "
1634 "secondary to the reload button.";
1635const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1636const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1637const char kDisableShowSavedCopy[] = "Disable";
1638
Brett Wilsonecb80982017-07-12 20:34:511639const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1640const char kSilentDebuggerExtensionApiDescription[] =
1641 "Do not show the infobar when an extension attaches to a page via "
1642 "chrome.debugger API. This is required to debug extension background "
1643 "pages.";
1644
Tsuyoshi Horo53895ba92018-03-14 04:06:481645const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1646const char kSignedHTTPExchangeDescription[] =
1647 "Enables Origin-Signed HTTP Exchanges support which is still in "
1648 "development. Warning: Enabling this may pose a security risk.";
1649
Brett Wilsonecb80982017-07-12 20:34:511650const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1651const char kSimpleCacheBackendDescription[] =
1652 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1653 "disk space allocation.";
1654
Christopher Thompson75ff845d2018-02-01 20:12:461655const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1656const char kSimplifyHttpsIndicatorDescription[] =
1657 "Change the UI treatment for HTTPS pages.";
1658
Brett Wilsonecb80982017-07-12 20:34:511659const char kSingleClickAutofillName[] = "Single-click autofill";
1660const char kSingleClickAutofillDescription[] =
1661 "Make autofill suggestions on initial mouse click on a form element.";
1662
Bret Sepulveda4f891da2018-07-16 19:10:301663const char kSingleTabMode[] = "Single-tab mode";
1664const char kSingleTabModeDescription[] =
1665 "Windows with a single tab receive a special, minimal visual treatment.";
1666
Nick Carter855bc492018-03-10 00:44:571667const char kStrictSiteIsolationName[] = "Strict site isolation";
1668const char kStrictSiteIsolationDescription[] =
1669 "Security mode that enables site isolation for all sites. When enabled, "
1670 "each renderer process will contain pages from at most one site, using "
1671 "out-of-process iframes when needed. When enabled, this flag forces the "
1672 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1673 "isolation mode will be determined by enterprise policy or field trial.";
1674
1675const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1676const char kSiteIsolationTrialOptOutDescription[] =
1677 "Opts out of field trials that enable site isolation modes "
1678 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1679 "may be due to out-of-process iframes. Opt-out has no effect if site "
1680 "isolation is force-enabled via #enable-site-per-process or enterprise "
1681 "policy. Caution: this disables important mitigations for the Spectre CPU "
1682 "vulnerability affecting most computers.";
1683extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1684extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1685 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511686
Pattideade7972018-04-27 02:59:401687const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511688const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401689 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511690
Brett Wilsonecb80982017-07-12 20:34:511691const char kSmoothScrollingName[] = "Smooth Scrolling";
1692const char kSmoothScrollingDescription[] =
1693 "Animate smoothly when scrolling page content.";
1694
1695const char kSoftwareRasterizerName[] = "3D software rasterizer";
1696const char kSoftwareRasterizerDescription[] =
1697 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1698
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201699const char kSoleIntegrationName[] = "Sole integration";
1700const char kSoleIntegrationDescription[] =
1701 "Enable Sole integration for browser customization. You must restart "
1702 "the browser twice for changes to take effect.";
1703
Tommy Steimel77704be2017-08-28 22:14:401704const char kSoundContentSettingName[] = "Sound content setting";
1705const char kSoundContentSettingDescription[] =
1706 "Enable site-wide muting in content settings and tab strip context menu.";
1707
Alexandr Ilinf0500ed32017-09-27 21:12:361708const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1709const char kSpeculativePreconnectDescription[] =
1710 "Enable the new implementation of preconnect and DNS preresolve. "
1711 "\"Learning\" means that only database construction is enabled, "
1712 "\"Preconnect\" enables both learning and preconnect and disables the "
1713 "existing implementation. \"No preconnect\" disables both implementations.";
1714
Brett Wilsonecb80982017-07-12 20:34:511715const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341716const char kSpeculativePrefetchDescription[] =
1717 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1718 R"*(load times, based on a local database (see chrome://predictors). )*"
1719 R"*("Learning" means that only the database construction is enabled, )*"
1720 R"*("Prefetching" that learning and prefetching are enabled.)*";
1721
Justin Donnelly4e448cb2017-07-07 21:32:131722const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1723 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131724const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1725 "If enabled, when the user enters text in the omnibox that looks like a "
1726 "a query, any service worker associated with the search engine the query "
1727 "will be sent to is started early.";
1728
Brett Wilsonecb80982017-07-12 20:34:511729const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1730const char kSpellingFeedbackFieldTrialDescription[] =
1731 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401732
Shubhie Panickerfaf082ed2018-01-03 04:49:151733const char kStopInBackgroundName[] = "Stop in background";
1734const char kStopInBackgroundDescription[] =
1735 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281736 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151737
Shubhie Panicker56c99a22018-03-21 00:22:281738const char kStopNonTimersInBackgroundName[] =
1739 "Stop non-timer task queues background";
1740const char kStopNonTimersInBackgroundDescription[] =
1741 "Stop non-timer task queues, in the background, "
1742 "after a grace period.";
1743
Brett Wilsonecb80982017-07-12 20:34:511744const char kSuggestionsWithSubStringMatchName[] =
1745 "Substring matching for Autofill suggestions";
1746const char kSuggestionsWithSubStringMatchDescription[] =
1747 "Match Autofill suggestions based on substrings (token prefixes) rather "
1748 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341749
Brett Wilsonecb80982017-07-12 20:34:511750const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1751const char kSyncSandboxDescription[] =
1752 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341753
Joe Downing8cbbc192018-05-14 17:37:071754const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1755const char kSystemKeyboardLockDescription[] =
1756 "Enables websites to use the keyboard.lock() API to intercept system "
1757 "keyboard shortcuts and have the events routed directly to the website "
1758 "when in fullscreen mode.";
1759
Brett Wilsonecb80982017-07-12 20:34:511760const char kTabAudioMutingName[] = "Tab audio muting UI control";
1761const char kTabAudioMutingDescription[] =
1762 "When enabled, the audio indicators in the tab strip double as tab audio "
1763 "mute controls. This also adds commands in the tab context menu for "
1764 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341765
Christian Dullweberd0d96f02017-09-13 09:22:511766const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1767const char kTabsInCbdDescription[] =
1768 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1769
Becky Zhou99c22802017-10-19 05:09:271770const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1771const char kTabModalJsDialogDescription[] =
1772 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1773 " tab.";
1774
Brett Wilsonecb80982017-07-12 20:34:511775const char kTcpFastOpenName[] = "TCP Fast Open";
1776const char kTcpFastOpenDescription[] =
1777 "Enable the option to send extra authentication information in the initial "
1778 "SYN packet for a previously connected client, allowing faster data send "
1779 "start.";
vabr0215a8e2017-03-28 12:47:341780
Daniele Castagna0fead93e2018-01-10 20:40:291781const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1782const char kTintGlCompositedContentDescription[] =
1783 "Tint contents composited using GL with a shade of red to help debug and "
1784 "study overlay support.";
1785
Brett Wilsonecb80982017-07-12 20:34:511786const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1787const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581788 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401789 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431790 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341791 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541792 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511793const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531794const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461795const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581796const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401797const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431798const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341799
Brett Wilsonecb80982017-07-12 20:34:511800const char kThreadedScrollingName[] = "Threaded scrolling";
1801const char kThreadedScrollingDescription[] =
1802 "Threaded handling of scroll-related input events. Disabling this will "
1803 "force all such scroll events to be handled on the main thread. Note that "
1804 "this can dramatically hurt scrolling performance of most websites and is "
1805 "intended for testing purposes only.";
1806
Steven Valdez4584b2482017-07-14 01:11:571807const char kTLS13VariantName[] = "TLS 1.3";
1808const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1809const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111810const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041811const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381812const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571813
Brett Wilsonecb80982017-07-12 20:34:511814const char kTopDocumentIsolationName[] = "Top document isolation";
1815const char kTopDocumentIsolationDescription[] =
1816 "Highly experimental performance mode where cross-site iframes are kept in "
1817 "a separate process from the top document. In this mode, iframes from "
1818 "different third-party sites will be allowed to share a process.";
1819
Dominick Ng8896b1cd2017-10-17 23:24:361820const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1821const char kTopSitesFromSiteEngagementDescription[] =
1822 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1823 "engagement.";
1824
Brett Wilsonecb80982017-07-12 20:34:511825const char kTouchAdjustmentName[] = "Touch adjustment";
1826const char kTouchAdjustmentDescription[] =
1827 "Refine the position of a touch gesture in order to compensate for touches "
1828 "having poor resolution compared to a mouse.";
1829
Alex Newcomerb3d3c972018-05-03 14:59:401830const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1831const char kTouchableAppContextMenuDescription[] =
1832 "Enable the touchable app context menu, which enlarges app context menus "
1833 "in the Launcher and Shelf to make room for new features.";
1834
Brett Wilsonecb80982017-07-12 20:34:511835const char kTouchDragDropName[] = "Touch initiated drag and drop";
1836const char kTouchDragDropDescription[] =
1837 "Touch drag and drop can be initiated through long press on a draggable "
1838 "element.";
1839
1840const char kTouchEventsName[] = "Touch Events API";
1841const char kTouchEventsDescription[] =
1842 "Force Touch Events API feature detection to always be enabled or "
1843 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291844 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511845
1846const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1847const char kTouchSelectionStrategyDescription[] =
1848 "Controls how text selection granularity changes when touch text selection "
1849 "handles are dragged. Non-default behavior is experimental.";
1850const char kTouchSelectionStrategyCharacter[] = "Character";
1851const char kTouchSelectionStrategyDirection[] = "Direction";
1852
1853const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1854const char kTraceUploadUrlDescription[] =
1855 "This is to be used in conjunction with the enable-navigation-tracing "
1856 "flag. Please select the label that best describes the recorded traces. "
1857 "This will choose the destination the traces are uploaded to. If you are "
1858 "not sure, select other. If left empty, no traces will be uploaded.";
1859const char kTraceUploadUrlChoiceOther[] = "Other";
1860const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1861const char kTraceUploadUrlChoiceQa[] = "QA";
1862const char kTraceUploadUrlChoiceTesting[] = "Testing";
1863
Anthony Vallee-Dubois265c5692018-06-01 15:57:141864const char kTranslateForceTriggerOnEnglishName[] =
1865 "Select which language model to use to trigger translate on English "
1866 "content";
1867const char kTranslateForceTriggerOnEnglishDescription[] =
1868 "Force the Translate Triggering on English pages experiment to be enabled "
1869 "with the selected language model active.";
1870
Philippe Hamel7fdaa452017-09-29 17:22:491871const char kTranslateRankerEnforcementName[] =
1872 "Enforce TranslateRanker decisions";
1873const char kTranslateRankerEnforcementDescription[] =
1874 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1875 "or not Translate UI should be triggered in a given context.";
1876
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161877const char kTranslateUIName[] = "Enable Translate";
1878const char kTranslateUIDescription[] =
1879 "Enable the Translate popup when visiting webpages in other languages.";
1880
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051881const char kTreatInsecureOriginAsSecureName[] =
1882 "Insecure origins treated as secure";
1883const char kTreatInsecureOriginAsSecureDescription[] =
1884 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1885 "supplied as a comma-separated list. For the definition of secure "
1886 "contexts, "
1887 "see https://w3c.github.io/webappsec-secure-contexts/";
1888
Brett Wilsonecb80982017-07-12 20:34:511889const char kTrySupportedChannelLayoutsName[] =
1890 "Causes audio output streams to check if channel layouts other than the "
1891 "default hardware layout are available.";
1892const char kTrySupportedChannelLayoutsDescription[] =
1893 "Causes audio output streams to check if channel layouts other than the "
1894 "default hardware layout are available. Turning this on will allow the OS "
1895 "to do stereo to surround expansion if supported. May expose third party "
1896 "driver bugs, use with caution.";
1897
David Roger6762a092018-01-31 15:55:071898const char kUnifiedConsentName[] = "Unified Consent";
1899const char kUnifiedConsentDescription[] =
1900 "Enables a unified management of user consent for privacy-related "
1901 "features. This includes new confirmation screens and improved settings "
1902 "pages.";
1903
Brett Wilsonecb80982017-07-12 20:34:511904const char kUiPartialSwapName[] = "Partial swap";
1905const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1906
Chris Pickel3a227ae62017-08-24 10:47:261907const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1908const char kUseDdljsonApiDescription[] =
1909 "Enables the new ddljson API to fetch Doodles for the NTP.";
1910
Becca Hughes59c05b42017-11-03 13:11:581911const char kUseModernMediaControlsName[] = "New Media Controls";
1912const char kUseModernMediaControlsDescription[] =
1913 "Enables the new style native media controls.";
1914
Wei Li790e7a8572018-03-23 01:31:551915const char kUsePdfCompositorServiceName[] =
1916 "Use PDF compositor service for printing";
1917const char kUsePdfCompositorServiceDescription[] =
1918 "When enabled, use PDF compositor service to composite and generate PDF "
1919 "files for printing. When site isolation is enabled, disabling this will "
1920 "not stop using PDF compositor service since the service is required for "
1921 "printing out-of-process iframes correctly.";
1922
Mustaq Ahmedc646c0a2017-10-20 20:08:301923const char kUserActivationV2Name[] = "User Activation v2";
1924const char kUserActivationV2Description[] =
1925 "Enable simple user activation for APIs that are otherwise controlled by "
1926 "user gesture tokens.";
1927
Brett Wilsonecb80982017-07-12 20:34:511928const char kUserConsentForExtensionScriptsName[] =
1929 "User consent for extension scripts";
1930const char kUserConsentForExtensionScriptsDescription[] =
1931 "Require user consent for an extension running a script on the page, if "
1932 "the extension requested permission to run on all urls.";
1933
1934const char kUseSuggestionsEvenIfFewFeatureName[] =
1935 "Disable minimum for server-side tile suggestions on NTP.";
1936const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1937 "Request server-side suggestions even if there are only very few of them "
1938 "and use them for tiles on the New Tab Page.";
1939
1940const char kV8CacheOptionsName[] = "V8 caching mode.";
1941const char kV8CacheOptionsDescription[] =
1942 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511943const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1944
Hitoshi Yoshida3e5db562017-09-11 02:31:081945const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1946const char kV8ContextSnapshotDescription[] =
1947 "Sets to use a snapshot to create V8 contexts in frame creation.";
1948
Michael Hablich896d52662017-10-23 15:59:571949const char kV8VmFutureName[] = "Future V8 VM features";
1950const char kV8VmFutureDescription[] =
1951 "This enables upcoming and experimental V8 VM features. "
1952 "This flag does not enable experimental JavaScript features.";
1953
Hannes Payer1130d5672018-06-05 07:37:311954const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1955const char kV8OrinocoDescription[] =
1956 "This enables the V8 Orinoco garbage collection features.";
1957
Brett Wilsonecb80982017-07-12 20:34:511958const char kVideoFullscreenOrientationLockName[] =
1959 "Lock screen orientation when playing a video fullscreen.";
1960const char kVideoFullscreenOrientationLockDescription[] =
1961 "Lock the screen orientation of the device to match video orientation when "
1962 "a video goes fullscreen. Only on phones.";
1963
1964const char kVideoRotateToFullscreenName[] =
1965 "Rotate-to-fullscreen gesture for videos.";
1966const char kVideoRotateToFullscreenDescription[] =
1967 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1968 "the video. Only on phones.";
1969
Elly Fong-Jonesf4c79502018-03-23 19:21:531970const char kViewsBrowserWindowsName[] =
1971 "Use Views browser windows instead of Cocoa.";
1972const char kViewsBrowserWindowsDescription[] =
1973 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1974
Brett Wilsonecb80982017-07-12 20:34:511975const char kWalletServiceUseSandboxName[] =
1976 "Use Google Payments sandbox servers";
1977const char kWalletServiceUseSandboxDescription[] =
1978 "For developers: use the sandbox service for Google Payments API calls.";
1979
Brett Wilsonecb80982017-07-12 20:34:511980const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1981const char kWebglDraftExtensionsDescription[] =
1982 "Enabling this option allows web applications to access the WebGL "
1983 "Extensions that are still in draft status.";
1984
1985const char kWebMidiName[] = "Web MIDI API";
1986const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1987
1988const char kWebPaymentsName[] = "Web Payments";
1989const char kWebPaymentsDescription[] =
1990 "Enable Web Payments API integration, a JavaScript API for merchants.";
1991
Mathieu Perreault51339b82017-07-20 17:06:051992const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1993const char kWebPaymentsModifiersDescription[] =
1994 "If the website provides modifiers in the payment request, show the custom "
1995 "total for each payment instrument, update the shopping cart when "
1996 "instruments are switched, and send modified payment method specific data "
1997 "to the payment app.";
1998
Brett Wilsonecb80982017-07-12 20:34:511999const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2000const char kWebrtcEchoCanceller3Description[] =
2001 "Experimental WebRTC echo canceller (AEC3).";
2002
2003const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2004const char kWebrtcHwDecodingDescription[] =
2005 "Support in WebRTC for decoding video streams using platform hardware.";
2006
2007const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2008const char kWebrtcHwEncodingDescription[] =
2009 "Support in WebRTC for encoding video streams using platform hardware.";
2010
2011const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2012const char kWebrtcHwH264EncodingDescription[] =
2013 "Support in WebRTC for encoding h264 video streams using platform "
2014 "hardware.";
2015
2016const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2017const char kWebrtcHwVP8EncodingDescription[] =
2018 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2019
Niels Möller090866a2018-02-13 10:55:032020const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2021 "WebRTC new encode cpu load estimator";
2022const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2023 "Enable new estimator for the encoder cpu load, for evaluation and "
2024 "testing. Intended to improve accuracy when screen casting.";
2025
Elad Alon85e0d0be2018-06-26 10:38:372026const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2027const char kWebRtcRemoteEventLogDescription[] =
2028 "Allow collecting WebRTC event logs and uploading them to Crash. "
2029 "Please note that, even if enabled, this will still require "
2030 "a policy to be set, for it to have an effect.";
2031
Brett Wilsonecb80982017-07-12 20:34:512032const char kWebrtcSrtpAesGcmName[] =
2033 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2034const char kWebrtcSrtpAesGcmDescription[] =
2035 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2036
Joachim Bauch4a41d7512017-08-23 14:24:232037const char kWebrtcSrtpEncryptedHeadersName[] =
2038 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2039const char kWebrtcSrtpEncryptedHeadersDescription[] =
2040 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2041 "for SRTP.";
2042
Brett Wilsonecb80982017-07-12 20:34:512043const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2044const char kWebrtcStunOriginDescription[] =
2045 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2046 "header.";
2047
Adam Riceed63fc02018-06-20 05:57:462048const char kWebSocketHandshakeReuseConnectionName[] =
2049 "Enable WebSocket connection reuse for authentication";
2050const char kWebSocketHandshakeReuseConnectionDescription[] =
2051 "Permits the WebSocket handshake to keep the connection open after an "
2052 "authentication failure. The connection may be used for further requests "
2053 "to send credentials. This is sometimes needed for Windows authentication.";
2054
Brett Wilsonecb80982017-07-12 20:34:512055const char kWebvrName[] = "WebVR";
2056const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012057 "Enables access to experimental Virtual Reality functionality via the "
2058 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2059 "Device API. Warning: Enabling this will also allow WebVR content on "
2060 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222061 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512062
Brandon Jonese9d9b2b2017-12-11 22:20:112063const char kWebXrName[] = "WebXR Device API";
2064const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012065 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2066 "and Augmented Reality (AR) devices.";
2067
2068const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2069const char kWebXrGamepadSupportDescription[] =
2070 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222071 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2072 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432073
2074const char kWebXrHitTestName[] = "WebXR Hit Test";
2075const char kWebXrHitTestDescription[] =
2076 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112077
Anna Maria57ecf7592018-01-12 03:10:402078const char kWebXrOrientationSensorDeviceName[] =
2079 "WebXR orientation sensor device";
2080const char kWebXrOrientationSensorDeviceDescription[] =
2081 "When no VR platform device is available, expose a non-presenting device "
2082 "based on the device's orientation sensors, if available.";
2083
Brett Wilsonecb80982017-07-12 20:34:512084const char kWifiCredentialSyncName[] = "WiFi credential sync";
2085const char kWifiCredentialSyncDescription[] =
2086 "Enables synchronizing WiFi network settings across devices. When enabled, "
2087 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2088 "credentials are synchronized subject to user preferences. (See also, "
2089 "chrome://settings/syncSetup.)";
2090
2091const char kZeroCopyName[] = "Zero-copy rasterizer";
2092const char kZeroCopyDescription[] =
2093 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342094
Brett Wilsonff596952017-07-14 01:06:552095// Android ---------------------------------------------------------------------
2096
2097#if defined(OS_ANDROID)
2098
2099const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2100const char kAiaFetchingDescription[] =
2101 "Enable intermediate certificate fetching when a server does not provide "
2102 "sufficient certificates to build a chain to a trusted root.";
2103
2104const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2105const char kAccessibilityTabSwitcherDescription[] =
2106 "Enable the accessibility tab switcher for Android.";
2107
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252108const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2109const char kAllowReaderForAccessibilityDescription[] =
2110 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2111
Brett Wilsonff596952017-07-14 01:06:552112const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2113const char kAndroidAutofillAccessibilityDescription[] =
2114 "Enable accessibility for autofill popup.";
2115
Anita Woodruffbfcd1e52018-07-16 12:00:512116const char kAppNotificationStatusMessagingName[] =
2117 "App notification status messaging";
2118const char kAppNotificationStatusMessagingDescription[] =
2119 "Enables messaging in site permissions UI informing user when "
2120 "notifications are disabled for the entire app.";
2121
Brett Wilsonff596952017-07-14 01:06:552122const char kAndroidPaymentAppsName[] = "Android payment apps";
2123const char kAndroidPaymentAppsDescription[] =
2124 "Enable third party Android apps to integrate as payment apps";
2125
Miriam Gershenson8cf1397222018-01-23 22:48:292126const char kAsyncDnsName[] = "Async DNS resolver";
2127const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2128
Brett Wilsonff596952017-07-14 01:06:552129const char kAutofillAccessoryViewName[] =
2130 "Autofill suggestions as keyboard accessory view";
2131const char kAutofillAccessoryViewDescription[] =
2132 "Shows Autofill suggestions on top of the keyboard rather than in a "
2133 "dropdown.";
2134
2135const char kBackgroundLoaderForDownloadsName[] =
2136 "Enables background downloading of pages.";
2137const char kBackgroundLoaderForDownloadsDescription[] =
2138 "Enables downloading pages in the background in case page is not yet "
2139 "loaded in current tab.";
2140
Tibor Goldschwendt11b3cf22018-07-04 15:32:442141const char kBackgroundTaskComponentUpdateName[] =
2142 "Background Task Component Updates";
2143const char kBackgroundTaskComponentUpdateDescription[] =
2144 "Schedule component updates with BackgroundTaskScheduler";
2145
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002146const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2147const char kCCTModuleDescription[] =
2148 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2149
Matthew Jones1abcb132018-07-09 17:59:462150const char kChromeDuetName[] = "Chrome Duet";
2151const char kChromeDuetDescription[] =
2152 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052153
Brett Wilsonff596952017-07-14 01:06:552154const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2155const char kChromeHomeSwipeLogicDescription[] =
2156 "Various swipe logic options for Chrome Home for sheet expansion.";
2157const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152158const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552159
Theresa8e44a7132018-06-15 17:40:592160const char kChromeModernAlternateCardLayoutName[] =
2161 "Chrome Modern Alternate Card Layout";
2162const char kChromeModernAlternateCardLayoutDescription[] =
2163 "Enable the alternate card layout for Chrome Modern Design.";
2164
Matthew Jones5b7f1d62018-01-23 00:37:252165const char kChromeModernDesignName[] = "Chrome Modern Design";
2166const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452167 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2168 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252169
Donn Denman3e78c8d2018-06-28 22:51:422170const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2171const char kChromeModernFullRollDescription[] =
2172 "Enable modern full-roll animation for Chrome.";
2173
Megan Jablonskic61eb1b82017-10-02 18:03:062174const char kChromeMemexName[] = "Chrome Memex";
2175const char kChromeMemexDescription[] =
2176 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2177 "Googlers.";
2178
Sarath Singapati83aef1c2017-11-16 15:54:522179const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2180const char kClearOldBrowsingDataDescription[] =
2181 "Enables clearing of browsing data which is older than a given time "
2182 "period.";
2183
Brett Wilsonff596952017-07-14 01:06:552184const char kContentSuggestionsCategoryOrderName[] =
2185 "Default content suggestions category order (e.g. on NTP)";
2186const char kContentSuggestionsCategoryOrderDescription[] =
2187 "Set default order of content suggestion categories (e.g. on the NTP).";
2188
2189const char kContentSuggestionsCategoryRankerName[] =
2190 "Content suggestions category ranker (e.g. on NTP)";
2191const char kContentSuggestionsCategoryRankerDescription[] =
2192 "Set category ranker to order categories of content suggestions (e.g. on "
2193 "the NTP).";
2194
Vitalii Iarkof52ff802017-09-14 12:34:242195const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2196const char kContentSuggestionsDebugLogDescription[] =
2197 "Enable content suggestions debug log accessible through "
2198 "snippets-internals.";
2199
Donn Denman8e58ead2017-11-04 01:44:012200const char kContextualSearchMlTapSuppressionName[] =
2201 "Contextual Search ML tap suppression";
2202const char kContextualSearchMlTapSuppressionDescription[] =
2203 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022204 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2205 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552206
2207const char kContextualSearchName[] = "Contextual Search";
2208const char kContextualSearchDescription[] =
2209 "Whether or not Contextual Search is enabled.";
2210
Donn Denman59729812018-01-09 01:27:022211const char kContextualSearchRankerQueryName[] =
2212 "Contextual Search Ranker prediction";
2213const char kContextualSearchRankerQueryDescription[] =
2214 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2215
2216const char kContextualSearchSecondTapName[] =
2217 "Contextual Search second tap triggering";
2218const char kContextualSearchSecondTapDescription[] =
2219 "Enables triggering on a second tap gesture even when Ranker would "
2220 "normally suppress that tap.";
2221
Cathy Li2fb32bf82018-06-06 18:55:402222const char kExploreSitesName[] = "Explore websites";
2223const char kExploreSitesDescription[] =
2224 "Enables portal from new tab page to explore websites.";
2225
Dmitry Skiba9c3efa72017-07-20 22:01:142226const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2227const char kDontPrefetchLibrariesDescription[] =
2228 "Don't prefetch libraries after loading.";
2229
Joy Ming5fd29ca62017-10-02 22:51:222230const char kDownloadsForegroundName[] = "Enable downloads foreground";
2231const char kDownloadsForegroundDescription[] =
2232 "Enable downloads as a foreground service for all versions of Android.";
2233
Joy Ming189b0cc2017-12-08 19:42:432234const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2235const char kDownloadsLocationChangeDescription[] =
2236 "Enable changing default downloads storage location on Android.";
2237
Shakti Sahu32b2ee102018-05-17 00:04:462238const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2239const char kDownloadProgressInfoBarDescription[] =
2240 "Enables an infobar notifying users about status of current downloads.";
2241
Shakti Sahu9ec8cfd2018-07-17 13:29:292242const char kDownloadHomeV2Name[] = "Enable download home v2";
2243const char kDownloadHomeV2Description[] =
2244 "Enables the new UI for download home";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2247const char kEnableAndroidPayIntegrationV1Description[] =
2248 "Enable integration with Android Pay using the first version of the API";
2249
2250const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2251const char kEnableAndroidPayIntegrationV2Description[] =
2252 "Enable integration with Android Pay using the second version of the API";
2253
Vitalii Iarkof4ed32d2017-09-26 13:15:532254const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552255const char kEnableAndroidSpellcheckerDescription[] =
2256 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552257
Lei Tianbd5a3bf2018-02-28 19:01:162258const char kEnableCommandLineOnNonRootedName[] =
2259 "Enable command line on non-rooted devices";
2260const char kEnableCommandLineOnNoRootedDescription[] =
2261 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2262
Vitalii Iarkof4ed32d2017-09-26 13:15:532263const char kEnableContentSuggestionsNewFaviconServerName[] =
2264 "Get favicons for content suggestions from a new server.";
2265const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2266 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2267 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552268
2269const char kEnableContentSuggestionsSettingsName[] =
2270 "Show content suggestions settings.";
2271const char kEnableContentSuggestionsSettingsDescription[] =
2272 "If enabled, the content suggestions settings will be available from the "
2273 "main settings menu.";
2274
Vitalii Iarkof4ed32d2017-09-26 13:15:532275const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2276 "Use content suggestions thumbnail dominant color.";
2277const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2278 "Use content suggestions thumbnail dominant color as a placeholder before "
2279 "the real thumbnail is fetched (requires Chrome Home).";
2280
Brett Wilsonff596952017-07-14 01:06:552281const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2282const char kEnableCustomContextMenuDescription[] =
2283 "Enables a new context menu when a link, image, or video is pressed within "
2284 "Chrome.";
2285
2286const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2287const char kEnableCustomFeedbackUiDescription[] =
2288 "Enables a custom feedback UI when submitting feedback through Google "
2289 "Feedback. Works with Google Play Services v10.2+";
2290
2291const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472292 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552293const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472294 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552295
Becca Hughes6d73bac542018-06-18 20:38:502296const char kEnableMediaControlsExpandGestureName[] =
2297 "Enable Media Controls Expand Gesture";
2298const char kEnableMediaControlsExpandGestureDescription[] =
2299 "Enables a gesture to be used on the media controls to extend the video "
2300 "into the Display Cutout area.";
2301
Brett Wilsonff596952017-07-14 01:06:552302const char kEnableOmniboxClipboardProviderName[] =
2303 "Omnibox clipboard URL suggestions";
2304const char kEnableOmniboxClipboardProviderDescription[] =
2305 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2306 "focus in the omnibox.";
2307
Becky Zhoua7f11d62018-02-01 16:02:532308const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2309 "Show article suggestions expandable header on New Tab Page";
2310const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2311 "If enabled, the article suggestions content on New Tab Page can be "
2312 "toggled shown or hidden by clicking the expandable header.";
2313
Brett Wilsonff596952017-07-14 01:06:552314const char kEnableNtpAssetDownloadSuggestionsName[] =
2315 "Show asset downloads on the New Tab page";
2316const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2317 "If enabled, the list of content suggestions on the New Tab page will "
2318 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2319 "later use.";
2320
2321const char kEnableNtpBookmarkSuggestionsName[] =
2322 "Show recently visited bookmarks on the New Tab page";
2323const char kEnableNtpBookmarkSuggestionsDescription[] =
2324 "If enabled, the list of content suggestions on the New Tab page will "
2325 "contain recently visited bookmarks.";
2326
2327const char kEnableNtpForeignSessionsSuggestionsName[] =
2328 "Show recent foreign tabs on the New Tab page";
2329const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2330 "If enabled, the list of content suggestions on the New Tab page will "
2331 "contain recent foreign tabs.";
2332
Brett Wilsonff596952017-07-14 01:06:552333const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2334 "Show offline page downloads on the New Tab page";
2335const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2336 "If enabled, the list of content suggestions on the New Tab page will "
2337 "contain pages that the user downloaded for later use.";
2338
2339const char kEnableNtpRemoteSuggestionsName[] =
2340 "Show server-side suggestions on the New Tab page";
2341const char kEnableNtpRemoteSuggestionsDescription[] =
2342 "If enabled, the list of content suggestions on the New Tab page will "
2343 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2344 "allows to override the source used to retrieve these server-side "
2345 "suggestions.";
2346
2347const char kEnableNtpSnippetsVisibilityName[] =
2348 "Make New Tab Page Snippets more visible.";
2349const char kEnableNtpSnippetsVisibilityDescription[] =
2350 "If enabled, the NTP snippets will become more discoverable with a larger "
2351 "portion of the first card above the fold.";
2352
2353const char kEnableNtpSuggestionsNotificationsName[] =
2354 "Notify about new content suggestions available at the New Tab page";
2355const char kEnableNtpSuggestionsNotificationsDescription[] =
2356 "If enabled, notifications will inform about new content suggestions on "
2357 "the New Tab page.";
2358
Brett Wilsonff596952017-07-14 01:06:552359const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2360const char kEnableOfflinePreviewsDescription[] =
2361 "Enable showing offline page previews on slow networks.";
2362
2363const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2364const char kEnableOskOverscrollDescription[] =
2365 "Enable OSK overscroll support. With this flag on, the OSK will only "
2366 "resize the visual viewport.";
2367
2368const char kEnableSpecialLocaleName[] =
2369 "Enable custom logic for special locales.";
2370const char kEnableSpecialLocaleDescription[] =
2371 "Enable custom logic for special locales. In this mode, Chrome might "
2372 "behave differently in some locales.";
2373
Brett Wilsonff596952017-07-14 01:06:552374const char kEnableWebNfcName[] = "WebNFC";
2375const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2376
gogeraldf3cbb422017-07-26 14:37:122377const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2378 "Enable Web Payments method section order V2.";
2379const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2380 "Enable this option to display payment method section above address "
2381 "section instead of below it.";
2382
Raymes Khoury582b43132017-12-12 23:54:302383const char kGrantNotificationsToDSEName[] =
2384 "Grant notifications to the Default Search Engine";
2385const char kGrantNotificationsToDSENameDescription[] =
2386 "Automatically grant the notifications permission to the Default Search "
2387 "Engine";
2388
Daniel Parke74fcf862018-03-27 18:05:452389const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512390const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452391
Yafei Duanbb7663f32018-07-17 01:33:152392const char kHomepageTileName[] =
2393 "Enable Homepage tile shown in Suggested Tiles";
2394const char kHomepageTileDescription[] =
2395 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2396 "used for homepage. It will not have an effect when NTPButton is disabled.";
2397
Jian Li4b252642018-07-23 19:49:072398const char kIncognitoStringsName[] = "Alternate incognito strings";
2399const char kIncognitoStringsDescription[] =
2400 "Show alternate incognito strings if enabled.";
2401
Theresa920e0ed2018-03-07 18:12:442402const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152403 "Use the interest feed to render content suggestions. Currently "
2404 "content "
Theresa920e0ed2018-03-07 18:12:442405 "suggestions are shown on the New Tab Page.";
2406const char kInterestFeedContentSuggestionsName[] =
2407 "Interest Feed Content Suggestions";
2408
Brett Wilsonff596952017-07-14 01:06:552409const char kKeepPrefetchedContentSuggestionsName[] =
2410 "Keep prefetched content suggestions";
2411const char kKeepPrefetchedContentSuggestionsDescription[] =
2412 "If enabled, some of prefetched content suggestions are not replaced by "
2413 "the new fetched suggestions.";
2414
Leo Zhang051b75482017-12-20 03:28:302415const char kLanguagesPreferenceName[] = "Language Settings";
2416const char kLanguagesPreferenceDescription[] =
2417 "Enable this option for Language Settings feature on Android.";
2418
Brett Wilsonff596952017-07-14 01:06:552419const char kLsdPermissionPromptName[] =
2420 "Location Settings Dialog Permission Prompt";
2421const char kLsdPermissionPromptDescription[] =
2422 "Whether to use the Google Play Services Location Settings Dialog "
2423 "permission dialog.";
2424
Amirhossein Simjour97b4154f2018-02-20 03:49:592425const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2426const char kModalPermissionDialogViewDescription[] =
2427 "Enable this option to use ModalDialogManager for permission Dialogs.";
2428
Brett Wilsonff596952017-07-14 01:06:552429const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2430const char kMediaScreenCaptureDescription[] =
2431 "Enable this option for experimental ScreenCapture feature on Android.";
2432
2433const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2434const char kModalPermissionPromptsDescription[] =
2435 "Whether to use permission dialogs in place of permission infobars.";
2436
Finnur Thorarinssonc1488fc62018-07-09 19:21:572437const char kNewContactsPickerName[] = "Enable new contacts picker";
2438const char kNewContactsPickerDescription[] =
2439 "Activates the new picker for selecting contacts.";
2440
Brett Wilsonff596952017-07-14 01:06:552441const char kNewPhotoPickerName[] = "Enable new Photopicker";
2442const char kNewPhotoPickerDescription[] =
2443 "Activates the new picker for selecting photos.";
2444
2445const char kNoCreditCardAbort[] = "No Credit Card Abort";
2446const char kNoCreditCardAbortDescription[] =
2447 "Whether or not the No Credit Card Abort is enabled.";
2448
Daniel Park990d0992018-05-18 22:12:512449const char kNtpButtonName[] = "Enable NTP Button";
2450const char kNtpButtonDescription[] =
2451 "Displays a New Tab Page button in the toolbar if enabled.";
2452
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062453const char kNtpModernLayoutName[] = "Modern NTP layout";
2454const char kNtpModernLayoutDescription[] =
2455 "Show a modern layout on the New Tab Page.";
2456
Brett Wilsonff596952017-07-14 01:06:552457const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2458const char kNtpGoogleGInOmniboxDescription[] =
2459 "Show a Google G in the omnibox on the New Tab Page.";
2460
Brett Wilsonff596952017-07-14 01:06:552461const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2462const char kOfflineBookmarksDescription[] =
2463 "Enable saving bookmarked pages for offline viewing.";
2464
Jian Li1413ebf2018-06-14 20:46:322465const char kOfflineIndicatorName[] = "Enable offline indicator";
2466const char kOfflineIndicatorDescription[] =
2467 "Enable showing offline indicator while offline.";
2468
Brett Wilsonff596952017-07-14 01:06:552469const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2470const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2471
2472const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2473const char kOfflinePagesCtV2Description[] =
2474 "V2 features include attributing pages to the app that initiated the "
2475 "custom tabs, and being able to query for pages by page attribution.";
2476
Cathy Li7311d792018-04-05 00:34:162477const char kOfflinePagesCTSuppressNotificationsName[] =
2478 "Disable download complete notification for whitelisted CCT apps.";
2479const char kOfflinePagesCTSuppressNotificationsDescription[] =
2480 "Disable download complete notification for page downloads originating "
2481 "from a CCT app whitelisted to show their own download complete "
2482 "notification.";
2483
Candice Sy74fa7a352018-03-30 23:46:492484const char kOfflinePagesDescriptiveFailStatusName[] =
2485 "Enables descriptive failed download status text.";
2486const char kOfflinePagesDescriptiveFailStatusDescription[] =
2487 "Enables failed download status text in notifications and Downloads Home "
2488 "to state the reason the request failed if the failure is actionable.";
2489
2490const char kOfflinePagesDescriptivePendingStatusName[] =
2491 "Enables descriptive pending download status text.";
2492const char kOfflinePagesDescriptivePendingStatusDescription[] =
2493 "Enables pending download status text in notifications and Downloads Home "
2494 "to state the reason the request is pending.";
2495
2496const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2497 "Enables offline pages in the downloads home to be opened in CCT.";
2498const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2499 "When enabled offline pages launched from the Downloads Home will be "
2500 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2501
Carlos Knippschild09272ecd2017-12-09 03:29:362502const char kOfflinePagesLimitlessPrefetchingName[] =
2503 "Removes resource usage limits for the prefetching of offline pages.";
2504const char kOfflinePagesLimitlessPrefetchingDescription[] =
2505 "Allows the prefetching of suggested offline pages to ignore resource "
2506 "usage limits. This allows it to completely ignore data usage limitations "
2507 "and allows downloads to happen with any kind of connection.";
2508
Brett Wilsonff596952017-07-14 01:06:552509const char kOfflinePagesLoadSignalCollectingName[] =
2510 "Enables collecting load timing data for offline page snapshots.";
2511const char kOfflinePagesLoadSignalCollectingDescription[] =
2512 "Enables loading completeness data collection while writing an offline "
2513 "page. This data is collected in the snapshotted offline page to allow "
2514 "data analysis to improve deciding when to make the offline snapshot.";
2515
2516const char kOfflinePagesPrefetchingName[] =
2517 "Enables suggested offline pages to be prefetched.";
2518const char kOfflinePagesPrefetchingDescription[] =
2519 "Enables suggested offline pages to be prefetched, so useful content is "
2520 "available while offline.";
2521
Cathy Li3d5379e2017-09-07 00:11:092522const char kOfflinePagesPrefetchingUIName[] =
2523 "Enables prefetched offline pages to be shown in UI.";
2524const char kOfflinePagesPrefetchingUIDescription[] =
2525 "Enables prefetched offline pages to raise notifications and be shown in "
2526 "download home UI.";
2527
Pete Williamson7845dff2017-09-20 11:06:192528const char kOfflinePagesResourceBasedSnapshotName[] =
2529 "Enables offline page snapshots to be based on percentage of page loaded.";
2530const char kOfflinePagesResourceBasedSnapshotDescription[] =
2531 "Enables offline page snapshots to use a resource percentage based "
2532 "approach for determining when the page is loaded as opposed to a time "
2533 "based approach";
2534
Collin Baker17f92a52017-07-19 21:41:252535const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2536const char kOfflinePagesRenovationsDescription[] =
2537 "Enables offline page renovations which correct issues with dynamic "
2538 "content that occur when offlining pages that use JavaScript.";
2539
Brett Wilsonff596952017-07-14 01:06:552540const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2541const char kOfflinePagesSharingDescription[] =
2542 "Enables the saved offline pages to be shared via other applications.";
2543
Cathy Lie0d88762018-04-12 08:03:012544const char kOfflinePagesShowAlternateDinoPageName[] =
2545 "Enable alternate dino page with more user capabilities.";
2546const char kOfflinePagesShowAlternateDinoPageDescription[] =
2547 "Enables the dino page to show more buttons and offer existing offline "
2548 "content.";
2549
Brett Wilsonff596952017-07-14 01:06:552550const char kOfflinePagesSvelteConcurrentLoadingName[] =
2551 "Enables concurrent background loading on svelte.";
2552const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2553 "Enables concurrent background loading (or downloading) of pages on "
2554 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2555 "happen when the svelte device is idle.";
2556
2557const char kOffliningRecentPagesName[] =
2558 "Enable offlining of recently visited pages";
2559const char kOffliningRecentPagesDescription[] =
2560 "Enable storing recently visited pages locally for offline use. Requires "
2561 "Offline Pages to be enabled.";
2562
Lei Zhang2eca9082017-10-17 20:42:502563const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2564const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552565 "Enable Pay with Google integration into Web Payments with API version "
2566 "'1'.";
2567
Matthew Jonesa88b95852017-11-08 23:13:502568const char kProgressBarThrottleName[] = "Android progress update throttling.";
2569const char kProgressBarThrottleDescription[] =
2570 "Limit the maximum progress update to make progress appear smoother.";
2571
Brett Wilsonff596952017-07-14 01:06:552572const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2573const char kPullToRefreshEffectDescription[] =
2574 "Page reloads triggered by vertically overscrolling content.";
2575
Piotr Swigon7c296ef2017-08-29 04:32:002576const char kPwaImprovedSplashScreenName[] =
2577 "Improved Splash Screen for standalone PWAs";
2578const char kPwaImprovedSplashScreenDescription[] =
2579 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2580 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492581const char kPwaPersistentNotificationName[] =
2582 "Persistent notification in standalone PWA";
2583const char kPwaPersistentNotificationDescription[] =
2584 "Enables a persistent Android notification for standalone PWAs";
2585
Brett Wilsonff596952017-07-14 01:06:552586const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2587const char kReaderModeHeuristicsDescription[] =
2588 "Determines what pages the Reader Mode infobar is shown on.";
2589const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2590const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2591const char kReaderModeHeuristicsAllArticles[] = "All articles";
2592const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2593const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2594
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182595const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2596const char kReaderModeInCCTDescription[] =
2597 "Open Reader Mode in Chrome Custom Tabs.";
2598
Brett Wilsonff596952017-07-14 01:06:552599const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2600const char kSetMarketUrlForTestingDescription[] =
2601 "When enabled, sets the market URL for use in testing the update menu "
2602 "item.";
2603
2604const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2605const char kSpannableInlineAutocompleteDescription[] =
2606 "A new type of inline autocomplete for the omnibox that works with "
2607 "keyboards that compose text.";
2608
Theresaeea05a12018-05-09 21:01:592609const char kSimplifiedNtpName[] = "Simplified NTP";
2610const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2611
2612const char kSiteExplorationUiName[] = "Site Exploration UI";
2613const char kSiteExplorationUiDescription[] =
2614 "Show site suggestions in the Exploration UI";
2615
Brett Wilsonff596952017-07-14 01:06:552616const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2617const char kUpdateMenuBadgeDescription[] =
2618 "When enabled, an update badge will be shown on the app menu button.";
2619
2620const char kUpdateMenuItemCustomSummaryDescription[] =
2621 "When this flag and the force show update menu item flag are enabled, a "
2622 "custom summary string will be displayed below the update menu item.";
2623const char kUpdateMenuItemCustomSummaryName[] =
2624 "Update menu item custom summary";
2625
2626const char kUpdateMenuItemName[] = "Force show update menu item";
2627const char kUpdateMenuItemDescription[] =
2628 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2629 R"*(menu.)*";
2630
Amirhossein Simjourd78bbcf2018-02-02 16:23:392631const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2632const char kVrBrowsingNativeAndroidUiDescription[] =
2633 "Enable Android UI elements in VR.";
2634
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462635const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2636const char kVrBrowsingTabsViewDescription[] =
2637 "Enable tab overview (tab switcher) in VR.";
2638
Marc Treib93af46a2017-08-23 13:30:002639const char kThirdPartyDoodlesName[] =
2640 "Enable Doodles for third-party search engines";
2641const char kThirdPartyDoodlesDescription[] =
2642 "Enables fetching and displaying Doodles on the NTP for third-party search "
2643 "engines.";
2644
Klaus Weidneraaf697f2018-01-18 20:07:362645const char kWebXrRenderPathName[] = "WebXR presentation render path";
2646const char kWebXrRenderPathDescription[] =
2647 "Render path to use for WebXR presentation (including WebVR)";
2648const char kWebXrRenderPathChoiceClientWaitDescription[] =
2649 "ClientWait (Baseline)";
2650const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2651 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072652const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2653 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362654
Brett Wilson7b44537e2017-08-18 01:38:282655// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552656
Brett Wilson7b44537e2017-08-18 01:38:282657#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482658
Brett Wilson7b44537e2017-08-18 01:38:282659const char kAccountConsistencyName[] =
2660 "Identity consistency between browser and cookie jar";
2661const char kAccountConsistencyDescription[] =
2662 "When enabled, the browser manages signing in and out of Google accounts.";
2663const char kAccountConsistencyChoiceMirror[] = "Mirror";
2664const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342665
Chris Pickel3a227ae62017-08-24 10:47:262666const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2667const char kDoodlesOnLocalNtpDescription[] =
2668 "Show doodles on the local New Tab page if Google is the default search "
2669 "engine.";
2670
mlamouriff56c092017-05-11 15:31:392671const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392672const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342673 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392674const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392675const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392676const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342677 "Enabled (Flash lowers volume when interrupted by other sound, "
2678 "experimental)";
2679
Sebastien Marchandd33f7dc2018-06-22 22:07:062680const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2681const char kInfiniteSessionRestoreDescription[] =
2682 "Reduces the number of tabs being loaded simultaneously during session "
2683 "restore, to improve responsiveness of the foreground tab. This requires "
2684 "#enable-page-almost-idle.";
2685
Brett Wilson7b44537e2017-08-18 01:38:282686const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2687const char kEnableNewAppMenuIconDescription[] =
2688 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342689
Sebastien Marchandd33f7dc2018-06-22 22:07:062690const char kEnableWebAuthenticationCtap2SupportName[] =
2691 "Enable Web Authentication API support for CTAP2 security keys";
2692const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472693 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062694
2695const char kEnableWebAuthenticationTestingAPIName[] =
2696 "Web Authentication Testing API";
2697const char kEnableWebAuthenticationTestingAPIDescription[] =
2698 "Enable Web Authentication Testing API support, which disconnects the API "
2699 "implementation from the real world, and allows configuring virtual "
2700 "authenticator devices for testing";
2701
Dave Schuyler598a4a42018-01-04 02:15:102702const char kOmniboxRichEntitySuggestionsName[] =
2703 "Omnibox rich entity suggestions";
2704const char kOmniboxRichEntitySuggestionsDescription[] =
2705 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212706 "more context and descriptive text about the entity. Has no effect unless "
2707 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2708 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102709
Dave Schuyler616273d2018-04-19 03:12:522710const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2711const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212712 "Display answers using an enhanced layout with larger images. Has no "
2713 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2714 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522715
Orin Jaworski04c08b42018-07-11 02:39:562716const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2717const char kOmniboxReverseAnswersDescription[] =
2718 "Display answers with rows reversed (swapped); except definitions. Has no "
2719 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2720 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2721
Kevin Bailey898669972017-11-06 15:34:492722const char kOmniboxTabSwitchSuggestionsName[] =
2723 "Omnibox tab switch suggestions";
2724const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212725 "Enable suggestions for switching to open tabs within the Omnibox. "
2726 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2727 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492728
krbcc621412017-06-01 19:40:282729const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2730const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192731 "Enable receiving tail suggestions, a type of search suggestion based on "
2732 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342733
Brett Wilson7b44537e2017-08-18 01:38:282734const char kOneGoogleBarOnLocalNtpName[] =
2735 "Enable the OneGoogleBar on the local NTP";
2736const char kOneGoogleBarOnLocalNtpDescription[] =
2737 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2738 "search engine.";
2739
Sebastien Marchandd33f7dc2018-06-22 22:07:062740const char kPageAlmostIdleName[] = "Page Almost Idle";
2741const char kPageAlmostIdleDescription[] =
2742 "Make session restore use a definition of loading that waits for CPU and "
2743 "network quiescence.";
2744
2745const char kProactiveTabFreezeAndDiscardName[] =
2746 "Proactive Tab Freeze and Discard";
2747const char kProactiveTabFreezeAndDiscardDescription[] =
2748 "Enables proactive tab freezing and discarding. This requires "
2749 "#enable-page-almost-idle.";
2750
2751const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2752const char kSiteCharacteristicsDatabaseDescription[] =
2753 "Records usage of some features in a database while a tab is in background "
2754 "(title/favicon update, audio playback or usage of non-persistent "
2755 "notifications).";
2756
Brett Wilson7b44537e2017-08-18 01:38:282757const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2758const char kUseGoogleLocalNtpDescription[] =
2759 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322760
Brett Wilson7b44537e2017-08-18 01:38:282761const char kVoiceSearchOnLocalNtpName[] =
2762 "Enable Voice Search on the local NTP";
2763const char kVoiceSearchOnLocalNtpDescription[] =
2764 "Show a microphone for voice search on the local New Tab page "
2765 "if Google is the default search engine.";
2766
2767#if defined(GOOGLE_CHROME_BUILD)
2768
2769const char kGoogleBrandedContextMenuName[] =
2770 "Google branding in the context menu";
2771const char kGoogleBrandedContextMenuDescription[] =
2772 "Shows a Google icon next to context menu items powered by Google "
2773 "services.";
2774
2775#endif // !defined(GOOGLE_CHROME_BUILD)
2776
2777#endif // !defined(OS_ANDROID)
2778
2779// Windows ---------------------------------------------------------------------
2780
2781#if defined(OS_WIN)
2782
2783const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2784const char kCloudPrintXpsDescription[] =
2785 "XPS enables advanced options for classic printers connected to the Cloud "
2786 "Print with Chrome. Printers must be re-connected after changing this "
2787 "flag.";
2788
2789const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2790const char kDisablePostscriptPrintingDescription[] =
2791 "Disables PostScript generation when printing to PostScript capable "
2792 "printers, and uses EMF generation in its place.";
2793
2794const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2795const char kEnableAppcontainerDescription[] =
2796 "Enables the use of an AppContainer on sandboxed processes to improve "
2797 "security.";
2798
Brett Wilson7b44537e2017-08-18 01:38:282799const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2800const char kEnableDesktopIosPromotionsDescription[] =
2801 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2802 "eligible.";
2803
James Forshawfd0ce342018-02-14 09:55:392804const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2805const char kEnableGpuAppcontainerDescription[] =
2806 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2807 "improve security.";
2808
Brett Wilson7b44537e2017-08-18 01:38:282809const char kGdiTextPrinting[] = "GDI Text Printing";
2810const char kGdiTextPrintingDescription[] =
2811 "Use GDI to print text as simply text";
2812
Henrik Grunell67e56ef2018-04-10 14:04:092813const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2814const char kIncreaseInputAudioBufferSizeDescription[] =
2815 "Increases the input audio endpoint buffer to 100 ms.";
2816
Brett Wilson7b44537e2017-08-18 01:38:282817const char kTraceExportEventsToEtwName[] =
2818 "Enable exporting of tracing events to ETW.";
2819const char kTraceExportEventsToEtwDesription[] =
2820 "If enabled, trace events will be exported to the Event Tracing for "
2821 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2822 "Xperf.";
2823
2824const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2825const char kUseWinrtMidiApiDescription[] =
2826 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2827 "later).";
2828
2829const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2830const char kWindows10CustomTitlebarDescription[] =
2831 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2832 "deferring to Windows.";
2833
2834#endif // defined(OS_WIN)
2835
2836// Mac -------------------------------------------------------------------------
2837
2838#if defined(OS_MACOSX)
2839
Brett Wilson7b44537e2017-08-18 01:38:282840const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2841const char kAppWindowCyclingDescription[] =
2842 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2843 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2844 "browser window, and browser windows will not be cycled when a Chrome App "
2845 "is active.";
2846
Brett Wilson7b44537e2017-08-18 01:38:282847const char kFullscreenToolbarRevealName[] =
2848 "Enables the toolbar in fullscreen to reveal itself.";
2849const char kFullscreenToolbarRevealDescription[] =
2850 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2851 "has changed.";
2852
2853const char kContentFullscreenName[] = "Improved Content Fullscreen";
2854const char kContentFullscreenDescription[] =
2855 "Fullscreen content window detaches from main browser window and goes to "
2856 "a new space without moving or changing the original browser window.";
2857
Lei Zhang2eca9082017-10-17 20:42:502858const char kDialogTouchBarName[] = "Dialog Touch Bar";
2859const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282860 "Shows Dialog buttons on the Touch Bar.";
2861
Martin Kreichgauer1ca416d2018-07-11 00:43:192862const char kEnableWebAuthenticationTouchIdName[] =
2863 "Web Authentication API Touch ID support";
2864const char kEnableWebAuthenticationTouchIdDescription[] =
2865 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2866
Brett Wilson7b44537e2017-08-18 01:38:282867const char kHostedAppsInWindowsName[] =
2868 "Allow hosted apps to be opened in windows";
2869const char kHostedAppsInWindowsDescription[] =
2870 "Allows hosted apps to be opened in windows instead of being limited to "
2871 "tabs.";
2872
Lei Zhang2eca9082017-10-17 20:42:502873const char kMacRTLName[] = "Enable RTL";
2874const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282875
Lei Zhang2eca9082017-10-17 20:42:502876const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2877const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522878 "Enables sharing via macOS share extensions.";
2879
Lei Zhang2eca9082017-10-17 20:42:502880const char kMacTouchBarName[] = "Hardware Touch Bar";
2881const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282882
2883const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2884const char kMacV2SandboxDescription[] =
2885 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2886 "entire life cycle.";
2887
2888const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2889const char kMacViewsNativeAppWindowsDescription[] =
2890 "Controls whether to use Toolkit-Views based Chrome App windows.";
2891
2892const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2893const char kMacViewsTaskManagerDescription[] =
2894 "Controls whether to use the Toolkit-Views based Task Manager.";
2895
Tessa Nijssenc4b101232018-06-25 20:28:082896const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2897const char kSuggestedTextTouchBarDescription[] =
2898 "Enable suggested text touch bar for textfields.";
2899
Brett Wilson7b44537e2017-08-18 01:38:282900const char kTabDetachingInFullscreenName[] =
2901 "Allow tab detaching in fullscreen";
2902const char kTabDetachingInFullscreenDescription[] =
2903 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2904
2905const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2906const char kTabStripKeyboardFocusDescription[] =
2907 "Enable keyboard focus for the tabs in the tab strip.";
2908
Brett Wilson7b44537e2017-08-18 01:38:282909#endif
2910
2911// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342912
2913#if defined(OS_CHROMEOS)
2914
Brett Wilson7b44537e2017-08-18 01:38:282915const char kAcceleratedMjpegDecodeName[] =
2916 "Hardware-accelerated mjpeg decode for captured frame";
2917const char kAcceleratedMjpegDecodeDescription[] =
2918 "Enable hardware-accelerated mjpeg decode for captured frame where "
2919 "available.";
vabr0215a8e2017-03-28 12:47:342920
Brett Wilson7b44537e2017-08-18 01:38:282921const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2922const char kAllowTouchpadThreeFingerClickDescription[] =
2923 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342924
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522925const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2926const char kArcAvailableForChildDescription[] =
2927 "Allow child accounts to start Android apps.";
2928
Brett Wilson7b44537e2017-08-18 01:38:282929const char kArcBootCompleted[] = "Load Android apps automatically";
2930const char kArcBootCompletedDescription[] =
2931 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342932
Luum Habtemariamdaa8fd22018-06-25 22:39:432933const char kArcCupsApiName[] = "ARC CUPS API";
2934const char kArcCupsApiDescription[] =
2935 "Enables support of libcups APIs from ARC";
2936
Yuichiro Hanada0b63f062018-07-12 02:18:332937const char kArcInputMethodName[] = "Enable ARC input methods.";
2938const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2939
Lev Rumyantsev7a8544312017-08-18 19:26:512940const char kArcNativeBridgeExperimentName[] =
2941 "Enable native bridge experiment for ARC";
2942const char kArcNativeBridgeExperimentDescription[] =
2943 "Enables experimental native bridge feature.";
2944
lgchengecd1c1a62018-01-09 02:59:462945const char kArcUsbHostName[] = "Enable ARC USB host integration";
2946const char kArcUsbHostDescription[] =
2947 "Allow Android apps to use USB host feature on ChromeOS devices.";
2948
Kevin Cernekeeb7f96a52017-10-25 17:40:182949const char kArcVpnName[] = "Enable ARC VPN integration";
2950const char kArcVpnDescription[] =
2951 "Allow Android VPN clients to tunnel Chrome traffic.";
2952
Qiang Xu045aff222018-05-21 23:21:012953const char kAshDisableLoginDimAndBlurName[] =
2954 "Disable dimming and blur on login screen.";
2955const char kAshDisableLoginDimAndBlurDescription[] =
2956 "Disable dimming and blur on login screen.";
2957
2958const char kAshDisableSmoothScreenRotationName[] =
2959 "Disable smooth rotation animations.";
2960const char kAshDisableSmoothScreenRotationDescription[] =
2961 "Disable smooth rotation animations.";
2962
2963const char kAshEnableDisplayMoveWindowAccelsName[] =
2964 "Enable shortcuts for moving window between displays.";
2965const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2966 "Enable shortcuts for moving window between displays.";
2967
2968const char kAshEnableKeyboardShortcutViewerName[] =
2969 "Enable keyboard shortcut viewer.";
2970const char kAshEnableKeyboardShortcutViewerDescription[] =
2971 "Enable keyboard shortcut viewer.";
2972
2973const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2974const char kAshEnableMirroredScreenDescription[] =
2975 "Enable the mirrored screen mode. This mode flips the screen image "
2976 "horizontally.";
2977
Qiang Xu045aff222018-05-21 23:21:012978const char kAshEnablePersistentWindowBoundsName[] =
2979 "Enable persistent window bounds in multi-displays scenario.";
2980const char kAshEnablePersistentWindowBoundsDescription[] =
2981 "Enable persistent window bounds in multi-displays scenario.";
2982
2983const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2984const char kAshEnableTrilinearFilteringDescription[] =
2985 "Enable trilinear filtering.";
2986
Brett Wilson7b44537e2017-08-18 01:38:282987const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2988const char kAshEnableUnifiedDesktopDescription[] =
2989 "Enable unified desktop mode which allows a window to span multiple "
2990 "displays.";
vabr0215a8e2017-03-28 12:47:342991
Mike Wassermanfcc47e42018-06-14 21:24:422992const char kAshKeyboardShortcutViewerAppName[] =
2993 "Keyboard Shortcut Viewer mojo app";
2994const char kAshKeyboardShortcutViewerAppDescription[] =
2995 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
2996
Qiang Xu045aff222018-05-21 23:21:012997const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2998const char kAshShelfColorDescription[] =
2999 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3000 "--ash-shelf-color-scheme flag defines how that color is derived.";
3001
3002const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3003const char kAshShelfColorSchemeDescription[] =
3004 "Specify how the color is derived from the wallpaper. This flag is only "
3005 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3006const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3007const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3008const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3009const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3010const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3011const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3012
Sean Kau5e956192017-10-06 22:25:173013const char kBulkPrintersName[] = "Bulk Printers Policy";
3014const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3015
Brett Wilson7b44537e2017-08-18 01:38:283016const char kCaptivePortalBypassProxyName[] =
3017 "Bypass proxy for Captive Portal Authorization";
3018const char kCaptivePortalBypassProxyDescription[] =
3019 "If proxy is configured, it usually prevents from authorization on "
3020 "different captive portals. This enables opening captive portal "
3021 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343022
Yuki Awanob51d3252018-07-11 23:45:553023const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3024const char kChromeVoxArcSupportDescription[] =
3025 "Use ChromeVox screen reader features in ARC";
3026
Brett Wilson7b44537e2017-08-18 01:38:283027const char kCrOSComponentName[] = "Chrome OS Component";
3028const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083029 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343030
Xiaochu Liu51d03fd2017-09-08 23:51:023031const char kCrOSContainerName[] = "Chrome OS Container";
3032const char kCrOSContainerDescription[] =
3033 "Enable the use of Chrome OS Container utility.";
3034
Brett Wilson7b44537e2017-08-18 01:38:283035const char kCrosRegionsModeName[] = "Cros-regions load mode";
3036const char kCrosRegionsModeDescription[] =
3037 "This flag controls cros-regions load mode";
3038const char kCrosRegionsModeDefault[] = "Default";
3039const char kCrosRegionsModeOverride[] = "Override VPD values.";
3040const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343041
Jacob Dufault2becbc482017-08-25 00:36:353042const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3043const char kDisableLockScreenAppsDescription[] =
3044 "Disable new-note action handler apps on the lock screen. The user will "
3045 "not be able to launch the preferred note-taking action from the lock "
3046 "screen, provided that the app supports lock screen note taking.";
3047
Qiang Xu045aff222018-05-21 23:21:013048const char kDisableSystemTimezoneAutomaticDetectionName[] =
3049 "SystemTimezoneAutomaticDetection policy support";
3050const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3051 "Disable system timezone automatic detection device policy.";
3052
Sammie Quonef6b4882017-09-14 16:50:053053const char kDisableTabletAutohideTitlebarsName[] =
3054 "Disable autohide titlebars in tablet mode";
3055const char kDisableTabletAutohideTitlebarsDescription[] =
3056 "Disable tablet mode autohide titlebars functionality. The user will be "
3057 "able to see the titlebar in tablet mode.";
3058
Xiaoqian Dai24b33eb2018-04-10 21:01:573059const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3060const char kDisableTabletSplitViewDescription[] =
3061 "Disable split view for Chrome OS tablet mode.";
3062
Qiang Xu53d1a5832018-05-24 18:44:193063const char kEnableAppShortcutSearchName[] =
3064 "Enable app shortcut search in launcher";
3065const char kEnableAppShortcutSearchDescription[] =
3066 "Enables app shortcut search in launcher";
3067
Weidong Guo00d0b2b2018-06-07 00:39:303068const char kEnableAppsGridGapFeatureName[] =
3069 "Enable apps grid gap feature in launcher.";
3070const char kEnableAppsGridGapFeatureDescription[] =
3071 "Enables gaps at the end of each page and enables dragging an item to an "
3072 "empty page in launcher.";
3073
Lei Zhang2eca9082017-10-17 20:42:503074const char kEnableBackgroundBlurName[] = "Enable background blur.";
3075const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423076 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393077
F#m75862c92018-01-25 19:10:473078const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3079const char kEnableDisplayZoomSettingDescription[] =
3080 "Allows the user to modify the display size or zoom via the chrome display "
3081 "settings page.";
3082
Min Chenc2ec7282018-06-29 21:38:463083const char kEnableDragAppsInTabletModeName[] =
3084 "Enable dragging apps in tablet mode";
3085const char kEnableDragAppsInTabletModeDescription[] =
3086 "If enabled, swiping down from the top of the screen when an app is opened "
3087 "in tablet mode can drag the app.";
3088
Xiaoqian Dai82d99192018-05-25 18:51:353089const char kEnableDragTabsInTabletModeName[] =
3090 "Enable dragging tabs in tablet mode";
3091const char kEnableDragTabsInTabletModeDescription[] =
3092 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3093
Sam McNally201fbf94e2018-07-04 03:15:203094const char kEnableDriveFsName[] = "Enable DriveFS";
3095const char kEnableDriveFsDescription[] =
3096 "Enables use of the new DriveFS-based Drive sync client.";
3097
Brett Wilson7b44537e2017-08-18 01:38:283098const char kEnableEhvInputName[] =
3099 "Emoji, handwriting and voice input on opt-in IME menu";
3100const char kEnableEhvInputDescription[] =
3101 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343102
Brett Wilson7b44537e2017-08-18 01:38:283103const char kEnableEncryptionMigrationName[] =
3104 "Enable encryption migration of user data";
3105const char kEnableEncryptionMigrationDescription[] =
3106 "If enabled and the device supports ARC, the user will be asked to update "
3107 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343108
Blake O'Hare9e9317b22017-10-24 02:49:353109const char kEnableFloatingVirtualKeyboardName[] =
3110 "Enable floating virtual keyboard";
3111const char kEnableFloatingVirtualKeyboardDescription[] =
3112 "If enabled, the keyboard will use floating behavior by default.";
3113
Qiang Xu045aff222018-05-21 23:21:013114const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3115 "Enable full screen handwriting virtual keyboard";
3116const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3117 "If enabled, the handwriting virtual keyboard will allow user to write "
3118 "anywhere on the screen";
3119
3120const char kEnableHomeLauncherName[] = "Enable home launcher";
3121const char kEnableHomeLauncherDescription[] =
3122 "Enable home launcher in tablet mode.";
3123
Brett Wilson7b44537e2017-08-18 01:38:283124const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3125const char kEnableImeMenuDescription[] =
3126 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343127
Weidong Guo45836d1b2018-06-27 23:51:163128const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3129const char kEnableNewStyleLauncherDescription[] =
3130 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3131 "in app launcher.";
3132
Qiang Xu045aff222018-05-21 23:21:013133const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3134const char kEnableNewWallpaperPickerDescription[] =
3135 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3136
3137const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3138const char kEnablePerUserTimezoneDescription[] =
3139 "Chrome OS system timezone preference is stored and handled for each user "
3140 "individually.";
3141
3142const char kEnableSettingsShortcutSearchName[] =
3143 "Enable Settings shortcut search";
3144const char kEnableSettingsShortcutSearchDescription[] =
3145 "Enable Settings shortcut search in launcher.";
3146
Darren Shen3e49c63d2018-03-28 04:45:503147const char kEnableStylusVirtualKeyboardName[] =
3148 "Enable stylus virtual keyboard";
3149const char kEnableStylusVirtualKeyboardDescription[] =
3150 "If enabled, tapping with a stylus will show the handwriting virtual "
3151 "keyboard.";
3152
Jordy Greenblatt2f23df22018-02-22 19:49:193153const char kEnableUnifiedMultiDeviceSettingsName[] =
3154 "Enable unified MultiDevice settings";
3155const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3156 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3157 "MultiDevice settings.";
3158
3159const char kEnableUnifiedMultiDeviceSetupName[] =
3160 "Enable unified MultiDevice setup";
3161const char kEnableUnifiedMultiDeviceSetupDescription[] =
3162 "Enable the device to setup all MultiDevice services in a single workflow.";
3163
Darren Shen11c770f312018-06-13 07:36:393164const char kEnableVirtualKeyboardMdUiName[] =
3165 "Enable Material Design virtual keyboard";
3166const char kEnableVirtualKeyboardMdUiDescription[] =
3167 "If enabled, loads the Material Design UI for the virtual keyboard.";
3168
Darren Shen0b4e5802018-07-10 03:12:263169const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3170const char kEnableVirtualKeyboardUkmDescription[] =
3171 "Enables UKM for virtual keyboard";
3172
Klemen Kozjek05fc4512017-10-18 12:51:103173const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3174const char kEnableZipArchiverPackerDescription[] =
3175 "Enable the ability to archive files on Drive in the Files app";
3176
Brett Wilson7b44537e2017-08-18 01:38:283177const char kEolNotificationName[] = "Disable Device End of Life notification.";
3178const char kEolNotificationDescription[] =
3179 "Disable Notifcation when Device is End of Life.";
3180
3181const char kExperimentalAccessibilityFeaturesName[] =
3182 "Experimental accessibility features";
3183const char kExperimentalAccessibilityFeaturesDescription[] =
3184 "Enable additional accessibility features in the Settings page.";
3185
3186const char kExperimentalInputViewFeaturesName[] =
3187 "Experimental input view features";
3188const char kExperimentalInputViewFeaturesDescription[] =
3189 "Enable experimental features for IME input views.";
3190
3191const char kFileManagerTouchModeName[] = "Files App. touch mode";
3192const char kFileManagerTouchModeDescription[] =
3193 "Touchscreen-specific interactions of the Files app.";
3194
3195const char kFirstRunUiTransitionsName[] =
3196 "Animated transitions in the first-run tutorial";
3197const char kFirstRunUiTransitionsDescription[] =
3198 "Transitions during first-run tutorial are animated.";
3199
Brett Wilson7b44537e2017-08-18 01:38:283200const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3201const char kForceEnableStylusToolsDescription[] =
3202 "Forces display of the stylus tools menu in the shelf and the stylus "
3203 "section in settings, even if there is no attached stylus device.";
3204
3205const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3206const char kGestureEditingDescription[] =
3207 "Enable/Disable gesture editing option in the settings page for the "
3208 "virtual keyboard.";
3209
3210const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3211const char kGestureTypingDescription[] =
3212 "Enable/Disable gesture typing option in the settings page for the virtual "
3213 "keyboard.";
3214
3215const char kInputViewName[] = "Input views";
3216const char kInputViewDescription[] =
3217 "Enable IME extensions to supply custom views for user input such as "
3218 "virtual keyboards.";
3219
Megumi Hattori5a0d4182018-03-06 11:09:503220const char kLockScreenNotificationName[] = "Lock screen notification";
3221const char kLockScreenNotificationDescription[] =
3222 "Enable notifications on the lock screen.";
3223
Qiang Xu045aff222018-05-21 23:21:013224const char kMaterialDesignInkDropAnimationSpeedName[] =
3225 "Material design ink drop animation speed";
3226const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3227 "Sets the speed of the experimental visual feedback animations for "
3228 "material design.";
3229const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3230const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3231
Brett Wilson7b44537e2017-08-18 01:38:283232const char kMemoryPressureThresholdName[] =
3233 "Memory discard strategy for advanced pressure handling";
3234const char kMemoryPressureThresholdDescription[] =
3235 "Memory discarding strategy to use";
3236const char kConservativeThresholds[] =
3237 "Conservative memory pressure release strategy";
3238const char kAggressiveCacheDiscardThresholds[] =
3239 "Aggressive cache release strategy";
3240const char kAggressiveTabDiscardThresholds[] =
3241 "Aggressive tab release strategy";
3242const char kAggressiveThresholds[] =
3243 "Aggressive tab and cache release strategy";
3244
3245const char kMtpWriteSupportName[] = "MTP write support";
3246const char kMtpWriteSupportDescription[] =
3247 "MTP write support in File System API (and file manager). In-place editing "
3248 "operations are not supported.";
3249
Kyle Horimoto027590fb2018-02-13 22:19:483250const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3251const char kMultiDeviceApiDescription[] =
3252 "Enable Mojo-based API which provides synced device metadata and the "
3253 "ability to connect to other devices associated the logged-in Google "
3254 "account.";
3255
Bailey Berrodca8eeca02017-11-18 00:49:123256const char kNativeSmbName[] = "Native Smb Client";
3257const char kNativeSmbDescription[] =
3258 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303259
vabr0215a8e2017-03-28 12:47:343260const char kNetworkPortalNotificationName[] =
3261 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343262const char kNetworkPortalNotificationDescription[] =
3263 "If enabled, notification is displayed when device is connected to a "
3264 "network behind captive portal.";
3265
Brett Wilson7b44537e2017-08-18 01:38:283266const char kNewKoreanImeName[] = "New Korean IME";
3267const char kNewKoreanImeDescription[] =
3268 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343269
Brett Wilson7b44537e2017-08-18 01:38:283270const char kNewZipUnpackerName[] = "New ZIP unpacker";
3271const char kNewZipUnpackerDescription[] =
3272 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343273
Qiang Xu045aff222018-05-21 23:21:013274const char kOfficeEditingComponentAppName[] =
3275 "Office Editing for Docs, Sheets & Slides";
3276const char kOfficeEditingComponentAppDescription[] =
3277 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3278
Brett Wilson7b44537e2017-08-18 01:38:283279const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3280const char kPhysicalKeyboardAutocorrectDescription[] =
3281 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3282 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343283
3284const char kPrinterProviderSearchAppName[] =
3285 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343286const char kPrinterProviderSearchAppDescription[] =
3287 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193288 "searches Chrome Web Store for extensions that support printing to a USB "
3289 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343290
Brett Wilson7b44537e2017-08-18 01:38:283291const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3292const char kQuickUnlockPinDescription[] =
3293 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3294 "device on the lock screen after you have signed into your device.";
3295const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3296const char kQuickUnlockPinSigninDescription[] =
3297 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3298 "device. After changing this flag PIN needs to be set up again.";
3299const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3300const char kQuickUnlockFingerprintDescription[] =
3301 "Enabling fingerprint quick unlock allows you to setup and use a "
3302 "fingerprint to unlock your Chromebook on the lock screen after you have "
3303 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343304
James Cook0ba192bf2017-12-01 20:53:113305const char kShowTapsName[] = "Show taps";
3306const char kShowTapsDescription[] =
3307 "Draws a circle at each touch point, which makes touch points more obvious "
3308 "when projecting or mirroring the display. Similar to the Android OS "
3309 "developer option.";
3310
3311const char kShowTouchHudName[] = "Show HUD for touch points";
3312const char kShowTouchHudDescription[] =
3313 "Shows a trail of colored dots for the last few touch points. Pressing "
3314 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3315 "debug hardware issues that generate spurious touch events.";
3316
Jorge Gil5a8ccde2018-07-10 01:46:213317const char kSmartTextSelectionName[] = "Smart Text Selection";
3318const char kSmartTextSelectionDescription[] =
3319 "Shows quick actions for text "
3320 "selections in the context menu.";
3321
Chung-Sheng Wu468b0b32017-09-01 14:41:573322const char kSysInternalsName[] = "Enable Sys-Internals";
3323const char kSysInternalsDescription[] =
3324 "If enabled, user can monitor system information at "
3325 "chrome://sys-internals.";
3326
James Cooka9384092018-05-23 02:54:263327const char kTapVisualizerAppName[] = "Show taps with mojo app";
3328const char kTapVisualizerAppDescription[] =
3329 "Use an out-of-process mojo app to show touch points.";
3330
Stuart Langleyc981ac62018-06-21 14:38:253331const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3332const char kDisableTeamDrivesDescription[] =
3333 "If disabled, files under Team Drives will no longer appear in the Files "
3334 "app.";
vabr0215a8e2017-03-28 12:47:343335
Brett Wilson7b44537e2017-08-18 01:38:283336const char kTetherName[] = "Instant Tethering";
3337const char kTetherDescription[] =
3338 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3339 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373340
Brett Wilson7b44537e2017-08-18 01:38:283341const char kTouchscreenCalibrationName[] =
3342 "Enable/disable touchscreen calibration option in material design settings";
3343const char kTouchscreenCalibrationDescription[] =
3344 "If enabled, the user can calibrate the touch screen displays in "
3345 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093346
Qiang Xu045aff222018-05-21 23:21:013347const char kUiDevToolsName[] = "Enable native UI inspection";
3348const char kUiDevToolsDescription[] =
3349 "Enables inspection of native UI elements. For local inspection use "
3350 "chrome://inspect#other";
3351
3352const char kUiShowCompositedLayerBordersName[] =
3353 "Show UI composited layer borders";
3354const char kUiShowCompositedLayerBordersDescription[] =
3355 "Show border around composited layers created by UI.";
3356const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3357const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3358const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3359const char kUiShowCompositedLayerBordersAll[] = "All";
3360
3361const char kUiSlowAnimationsName[] = "Slow UI animations";
3362const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3363
Mitsuru Oshima63d3f2a2017-08-23 00:12:113364// Force UI Mode
3365const char kUiModeName[] = "Force Ui Mode";
3366const char kUiModeDescription[] =
3367 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3368 R"*(despite its current orientation. "Tablet" means that the )*"
3369 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3370 R"*(means that the chromebook will act as if it were in clamshell )*"
3371 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3372 R"*(the two, based on its orientation.)*";
3373const char kUiModeTablet[] = "TouchView";
3374const char kUiModeClamshell[] = "Clamshell";
3375const char kUiModeAuto[] = "Auto (default)";
3376
Sonny Sasaka7fecfeda2018-07-11 23:47:553377const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3378const char kUnfilteredBluetoothDevicesDescription[] =
3379 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3380
James Cooka1bcfa9a2018-01-30 00:18:403381const char kUseMashName[] = "Out-of-process system UI (mash)";
3382const char kUseMashDescription[] =
3383 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3384 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283385
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343386// TODO(mcasas): remove after https://crbug.com/771345.
3387const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3388const char kUseMonitorColorSpaceDescription[] =
3389 "Enables Chrome to use the color space information provided by the monitor"
3390 " instead of the default sRGB color space.";
3391
Brett Wilson7b44537e2017-08-18 01:38:283392const char kVideoPlayerChromecastSupportName[] =
3393 "Experimental Chromecast support for Video Player";
3394const char kVideoPlayerChromecastSupportDescription[] =
3395 "This option enables experimental Chromecast support for Video Player app "
3396 "on ChromeOS.";
3397
3398const char kVirtualKeyboardName[] = "Virtual Keyboard";
3399const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3400
3401const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3402const char kVirtualKeyboardOverscrollDescription[] =
3403 "Enables virtual keyboard overscroll support.";
3404
3405const char kVoiceInputName[] = "Voice input on virtual keyboard";
3406const char kVoiceInputDescription[] =
3407 "Enables voice input on virtual keyboard.";
3408
3409const char kWakeOnPacketsName[] = "Wake On Packets";
3410const char kWakeOnPacketsDescription[] =
3411 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203412
Qiang Xu53d1a5832018-05-24 18:44:193413const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3414const char kZipArchiverUnpackerDescription[] =
3415 "Enable or disable the ability to unpack archives in incognito mode";
3416
wutao42ee9daa2018-07-19 00:12:173417extern const char kEnableContinueReadingName[] = "Enable continue reading";
3418extern const char kEnableContinueReadingDescription[] =
3419 "Enable continue reading feature in Launcher, which allows users to "
3420 "seamlessly continue reading a web page when they switch devices from "
3421 "phones or tablets to Chromebooks.";
3422
yhanadac5bff5b2017-05-18 06:37:093423#endif // defined(OS_CHROMEOS)
3424
Brett Wilson7b44537e2017-08-18 01:38:283425// Random platform combinations -----------------------------------------------
3426
3427#if defined(OS_WIN) || defined(OS_LINUX)
3428
3429const char kEnableInputImeApiName[] = "Enable Input IME API";
3430const char kEnableInputImeApiDescription[] =
3431 "Enable the use of chrome.input.ime API.";
3432
Tom Anderson6cbd5052018-05-03 23:49:543433#if !defined(OS_CHROMEOS)
3434
3435const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3436const char kWarnBeforeQuittingFlagDescription[] =
3437 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3438
3439#endif // !defined(OS_CHROMEOS)
3440
Brett Wilson7b44537e2017-08-18 01:38:283441#endif // defined(OS_WIN) || defined(OS_LINUX)
3442
3443#if defined(OS_WIN) || defined(OS_MACOSX)
3444
3445const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3446const char kAutomaticTabDiscardingDescription[] =
3447 "If enabled, tabs get automatically discarded from memory when the system "
3448 "memory is low. Discarded tabs are still visible on the tab strip and get "
3449 "reloaded when clicked on. Info about discarded tabs can be found at "
3450 "chrome://discards.";
3451
3452#endif // defined(OS_WIN) || defined(OS_MACOSX)
3453
lanwei83f54452018-06-21 23:51:043454#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3455
3456const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3457const char kDirectManipulationStylusDescription[] =
3458 "If enabled, Chrome will scroll web pages on stylus drag.";
3459
3460#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3461
Justin Donnelly110e40c2018-06-01 21:48:433462const char kExperimentalUiName[] = "Use all upcoming UI features";
3463const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483464
Brett Wilson7b44537e2017-08-18 01:38:283465// Feature flags --------------------------------------------------------------
3466
3467#if BUILDFLAG(ENABLE_VR)
3468
David Dorwin5a496c32017-11-17 01:45:053469const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3470const char kWebVrVsyncAlignDescription[] =
3471 "Align WebVR application rendering with VSync for smoother animations.";
3472
Bill Orr103ed272018-02-14 21:23:053473#if BUILDFLAG(ENABLE_OCULUS_VR)
3474const char kOculusVRName[] = "Oculus hardware support";
3475const char kOculusVRDescription[] =
3476 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3477 "Windows 10 or later).";
3478#endif // ENABLE_OCULUS_VR
3479
Bill Orr49527562017-11-22 16:58:483480#if BUILDFLAG(ENABLE_OPENVR)
3481const char kOpenVRName[] = "OpenVR hardware support";
3482const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073483 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3484 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483485#endif // ENABLE_OPENVR
3486
Brett Wilson7b44537e2017-08-18 01:38:283487#endif // ENABLE_VR
3488
Nico Weberaf3b00b2017-09-11 17:58:173489#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283490
3491const char kNaclDebugMaskName[] =
3492 "Restrict Native Client GDB-based debugging by pattern";
3493const char kNaclDebugMaskDescription[] =
3494 "Restricts Native Client application GDB-based debugging by URL of "
3495 "manifest file. Native Client GDB-based debugging must be enabled for this "
3496 "option to work.";
3497const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3498const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3499 "Debug everything except secure shell and the PNaCl translator.";
3500const char kNaclDebugMaskChoiceIncludeDebug[] =
3501 "Debug only if manifest URL ends with debug.nmf.";
3502
3503const char kNaclDebugName[] = "Native Client GDB-based debugging";
3504const char kNaclDebugDescription[] =
3505 "Enable GDB debug stub. This will stop a Native Client application on "
3506 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3507
3508const char kNaclName[] = "Native Client";
3509const char kNaclDescription[] =
3510 "Support Native Client for all web applications, even those that were not "
3511 "installed from the Chrome Web Store.";
3512
3513const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3514const char kPnaclSubzeroDescription[] =
3515 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3516
Nico Weberaf3b00b2017-09-11 17:58:173517#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283518
Brett Wilson7b44537e2017-08-18 01:38:283519const char kWebrtcH264WithOpenh264FfmpegName[] =
3520 "WebRTC H.264 software video encoder/decoder";
3521const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3522 "When enabled, an H.264 software video encoder/decoder pair is included. "
3523 "If a hardware encoder/decoder is also available it may be used instead of "
3524 "this encoder/decoder.";
3525
Brett Wilson7b44537e2017-08-18 01:38:283526#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3527
3528const char kAutofillCreditCardUploadName[] =
3529 "Enable offering upload of Autofilled credit cards";
3530const char kAutofillCreditCardUploadDescription[] =
3531 "Enables a new option to upload credit cards to Google Payments for sync "
3532 "to all Chrome devices.";
3533
3534#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3535
Becca Hughesdc96e842018-05-04 22:48:283536#if defined(OS_ANDROID)
3537
3538const char kDisplayCutoutAPIName[] =
3539 "Enable support for the Display Cutout API";
3540const char kDisplayCutoutAPIDescription[] =
3541 "Enables developers to support devices that have a display cutout.";
3542
3543#endif // defined(OS_ANDROID)
3544
Brett Wilson7b44537e2017-08-18 01:38:283545// ============================================================================
3546// Don't just add flags to the end, put them in the right section in
3547// alphabetical order just like the header file.
3548// ============================================================================
3549
vabr0215a8e2017-03-28 12:47:343550} // namespace flag_descriptions