blob: f3e8c0e4cb910d217eb968f75fa14441c8d9ee5b [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
Ioana Pandelef9689a062018-06-22 15:35:5155const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
56const char kAutomaticPasswordGenerationDescription[] =
57 "Allow Chrome to offer to generate passwords when it detects account "
58 "creation pages.";
59
Michael Lippautzebbc5a82018-05-30 10:41:4260const char kEnableBlinkHeapIncrementalMarkingName[] =
61 "Blink Heap Incremental Marking";
62const char kEnableBlinkHeapIncrementalMarkingDescription[] =
63 "Enable incremental marking in Blink";
64
Ulan Degenbaevb5466a92018-07-19 12:35:3465const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
66const char kEnableBloatedRendererDetectionDescription[] =
67 "Enable bloated renderer detection";
68
Tetsui Ohkubo2852b952018-02-23 04:12:0169const char kSystemTrayUnifiedName[] = "New system menu";
70const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5571 "Enable the experimental system menu.";
72
Khushalba202212017-07-12 19:53:4973const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
74const char kAsyncImageDecodingDescription[] =
75 "Enables asynchronous decoding of images from raster for web content";
76
Roger McFarlane2eceba982018-05-18 01:37:1177const char kAutofillCacheQueryResponsesName[] =
78 "Cache Autofill Query Responses";
79const char kAutofillCacheQueryResponsesDescription[] =
80 "When enabled, autofill will cache the responses it receives from the "
81 "crowd-sourced field type prediction server.";
82
Jeffrey Cohen05cdafa392018-08-15 20:49:1783const char kAutofillEnableCompanyNameName[] =
84 "Enable Autofill Company Name field";
85const char kAutofillEnableCompanyNameDescription[] =
86 "When enabled, Company Name fields will be auto filled";
87
sebsge35b762c2018-03-29 20:33:2788const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
89const char kAutofillDynamicFormsDescription[] =
90 "Allows autofill to fill dynamically changing forms";
91
Anne Lime625362e2018-08-29 03:13:2592const char kAutofillNoLocalSaveOnUploadSuccessName[] =
93 "Disable locally saving card when credit card upload succeeds";
94const char kAutofillNoLocalSaveOnUploadSuccessDescription[] =
95 "When enabled, no local copy of server card will be saved when credit card "
96 "upload succeeds.";
97
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3998const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
99const char kAutofillPrefilledFieldsDescription[] =
100 "Allows autofill to fill fields previously filled by the website";
101
Fabio Tirelo9b423c7b2018-08-15 14:32:18102extern const char kAutofillPreviewStyleExperimentName[] =
103 "Autofill Preview Style Experiment";
104extern const char kAutofillPreviewStyleExperimentDescription[] =
105 "Allows experimentation with the Autofill field preview's style.";
106
Parastoo Geranmayeh071d725c2018-06-26 17:35:22107const char kAutofillRationalizeRepeatedServerPredictionsName[] =
108 "Autofill Rationalization of Repeated Server Field Type Predictions";
109const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
110 "Allows autofill to rationalize repeated server field type predictions.";
111
Roger McFarlane1a37d7b2018-04-20 22:45:19112const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
113 "Autofill Enforce Min Required Fields For Heuristics";
114const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
115 "When enabled, autofill will generally require a form to have at least 3 "
116 "fields before allowing heuristic field-type prediction to occur.";
117
118const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
119 "Autofill Enforce Min Required Fields For Query";
120const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
121 "When enabled, autofill will generally require a form to have at least 3 "
122 "fields before querying the autofill server for field-type predictions.";
123
124const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
125 "Autofill Enforce Min Required Fields For Upload";
126const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
127 "When enabled, autofill will generally require a form to have at least 3 "
128 "fillable fields before uploading field-type votes for that form.";
129
Moe Ahmadid3ddfcb2018-04-20 19:51:08130const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
131 "Restrict formless form extraction";
132const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
133 "Restrict extraction of formless forms to checkout flows";
134
Brett Wilsonf27ff602017-07-07 22:28:47135const char kAutoplayPolicyName[] = "Autoplay policy";
136const char kAutoplayPolicyDescription[] =
137 "Policy used when deciding if audio or video is allowed to autoplay.";
138
139const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
140 "User gesture is required for cross-origin iframes.";
141const char kAutoplayPolicyNoUserGestureRequired[] =
142 "No user gesture is required.";
143const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
144const char kAutoplayPolicyDocumentUserActivation[] =
145 "Document user activation is required.";
146
Johanne0cc6902017-11-16 00:23:50147extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
148extern const char kAv1DecoderDescription[] =
149 "Allow decoding of files with the AV1 video codec.";
150
Brett Wilsonf27ff602017-07-07 22:28:47151const char kBackgroundVideoTrackOptimizationName[] =
152 "Optimize background video playback.";
153const char kBackgroundVideoTrackOptimizationDescription[] =
154 "Disable video tracks when the video is played in the background to "
155 "optimize performance.";
156
157const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
158const char kBleAdvertisingInExtensionsDescription[] =
159 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
160 "with regular use of Bluetooth Low Energy features.";
161
Charles Harrisond629cc62017-10-05 01:39:54162const char kBlockTabUndersName[] = "Block tab-unders";
163const char kBlockTabUndersDescription[] =
164 "Blocks tab-unders in Chrome with some native UI to allow the user to "
165 "proceed.";
166
Brett Wilsonf27ff602017-07-07 22:28:47167const char kBrowserTaskSchedulerName[] = "Task Scheduler";
168const char kBrowserTaskSchedulerDescription[] =
169 "Enables redirection of some task posting APIs to the task scheduler.";
170
Carlos IL766fbc882018-02-16 02:34:52171const char kBundledConnectionHelpName[] = "Bundled Connection Help";
172const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37173 "Enables or disables redirection to local help content for users who get "
174 "an interstitial after clicking the 'Learn More' link on a previous "
175 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52176
Brett Wilsonf27ff602017-07-07 22:28:47177const char kBypassAppBannerEngagementChecksName[] =
178 "Bypass user engagement checks";
179const char kBypassAppBannerEngagementChecksDescription[] =
180 "Bypasses user engagement checks for displaying app banners, such as "
181 "requiring that users have visited the site before and that the banner "
182 "hasn't been shown recently. This allows developers to test that other "
183 "eligibility requirements for showing app banners, such as having a "
184 "manifest, are met.";
185
Miguel Casas454d9cf2018-06-28 16:25:00186const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
187const char kCanvas2DImageChromiumDescription[] =
188 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
189
Brett Wilsonf27ff602017-07-07 22:28:47190const char kCastStreamingHwEncodingName[] =
191 "Cast Streaming hardware video encoding";
192const char kCastStreamingHwEncodingDescription[] =
193 "This option enables support in Cast Streaming for encoding video streams "
194 "using platform hardware.";
195
Amber Won478561d2017-08-19 01:02:59196const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
197const char kClickToOpenPDFDescription[] =
198 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
199 "embedded PDFs.";
200
Gary Kacmarcikfb69b212017-11-14 03:41:08201const char kClipboardContentSettingName[] = "Clipboard content setting";
202const char kClipboardContentSettingDescription[] =
203 "Enables a site-wide permission in the UI which controls access to the "
204 "asynchronous clipboard web API";
205
Peter Kastingb78046182018-06-29 20:15:13206const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
207const char kCloseButtonsInactiveTabsDescription[] =
208 "Shows close buttons on inactive tabs in non-touch mode.";
209
Brett Wilsonf27ff602017-07-07 22:28:47210const char kCloudImportName[] = "Cloud Import";
211const char kCloudImportDescription[] = "Allows the cloud-import feature.";
212
rbpotter9990eb42018-07-12 05:34:59213const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
214const char kCloudPrinterHandlerDescription[] =
215 "Use the new cloud printer handler for communicating with the cloud "
216 "print server, instead of the cloud print interface in the Print "
217 "Preview WebUI.";
218
Christopher Cameronceb8727d2017-09-07 23:53:16219const char kForceColorProfileSRGB[] = "sRGB";
220const char kForceColorProfileP3[] = "Display P3 D65";
221const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
222const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
223
224const char kForceColorProfileName[] = "Force color profile";
225const char kForceColorProfileDescription[] =
226 "Forces Chrome to use a specific color profile instead of the color "
227 "of the window's current monitor, as specified by the operating system.";
228
Brett Wilsonf27ff602017-07-07 22:28:47229const char kCompositedLayerBordersName[] = "Composited render layer borders";
230const char kCompositedLayerBordersDescription[] =
231 "Renders a border around composited Render Layers to help debug and study "
232 "layer compositing.";
233
Theresacd5aaec2018-08-27 20:32:13234const char kContextualSuggestionsAlternateCardLayoutName[] =
235 "Contextual Suggestions Alternate Card Layout";
236const char kContextualSuggestionsAlternateCardLayoutDescription[] =
237 "If enabled, use an alternate card layout for contextual suggestions.";
238
Theresaf39c1882018-03-21 18:18:07239const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07240 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07241const char kContextualSuggestionsBottomSheetDescription[] =
242 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47243
Theresac34db2d2018-06-28 00:03:11244const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
245const char kContextualSuggestionsButtonDescription[] =
246 "If enabled, shows a button to trigger contextual suggestions.";
247
Theresa818d3452018-05-22 00:08:07248const char kContextualSuggestionsSlimPeekUIName[] =
249 "Contextual Suggestions Slim Peek UI";
250const char kContextualSuggestionsSlimPeekUIDescription[] =
251 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
252
Theresa0f2947b92018-07-02 21:27:58253const char kContextualSuggestionsOptOutName[] =
254 "Contextual Suggestions Opt-out";
255const char kContextualSuggestionsOptOutDescription[] =
256 "If enabled, allows the user to opt out of contextual suggestions.";
257
Brett Wilsonf27ff602017-07-07 22:28:47258const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
259const char kCreditCardAssistDescription[] =
260 "Enable assisted credit card filling on certain sites.";
261
262const char kCrossProcessGuestViewIsolationName[] =
263 "Cross process frames for guests";
264const char kCrossProcessGuestViewIsolationDescription[] =
265 "Highly experimental where guests such as <webview> are implemented on "
266 "the out-of-process iframe infrastructure.";
267
Thanh Le659cb102017-12-20 22:00:19268const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
269const char kDataSaverServerPreviewsDescription[] =
270 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47271
272const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
273const char kDatasaverPromptDescription[] =
274 "Enables a prompt, which appears when a cellular network connection is "
275 "detected, to take the user to the Data Saver extension page on Chrome Web "
276 "Store.";
277const char kDatasaverPromptDemoMode[] = "Demo mode";
278
Wez54dc71b2018-04-17 00:42:34279#if DCHECK_IS_CONFIGURABLE
280const char kDcheckIsFatalName[] = "DCHECKs are fatal";
281const char kDcheckIsFatalDescription[] =
282 "By default Chrome will evaluate in this build, but only log failures, "
283 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
284#endif // DCHECK_IS_CONFIGURABLE
285
Brett Wilsonf27ff602017-07-07 22:28:47286const char kDebugPackedAppName[] = "Debugging for packed apps";
287const char kDebugPackedAppDescription[] =
288 "Enables debugging context menu options such as Inspect Element for packed "
289 "applications.";
290
291const char kDefaultTileHeightName[] = "Default tile height";
292const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
293const char kDefaultTileHeightShort[] = "128";
294const char kDefaultTileHeightTall[] = "256";
295const char kDefaultTileHeightGrande[] = "512";
296const char kDefaultTileHeightVenti[] = "1024";
297
298const char kDefaultTileWidthName[] = "Default tile width";
299const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
300const char kDefaultTileWidthShort[] = "128";
301const char kDefaultTileWidthTall[] = "256";
302const char kDefaultTileWidthGrande[] = "512";
303const char kDefaultTileWidthVenti[] = "1024";
304
305const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
306const char kDebugShortcutsDescription[] =
307 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
308
309const char kDeviceDiscoveryNotificationsName[] =
310 "Device Discovery Notifications";
311const char kDeviceDiscoveryNotificationsDescription[] =
312 "Device discovery notifications on local network.";
313
314const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
315const char kDevtoolsExperimentsDescription[] =
316 "Enables Developer Tools experiments. Use Settings panel in Developer "
317 "Tools to toggle individual experiments.";
318
319const char kDisableAudioForDesktopShareName[] =
320 "Disable Audio For Desktop Share";
321const char kDisableAudioForDesktopShareDescription[] =
322 "With this flag on, desktop share picker window will not let the user "
323 "choose whether to share audio.";
324
Chris Palmer917bc052018-03-14 19:28:31325const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
326const char kDisablePushStateThrottleDescription[] =
327 "Disables throttling of history.pushState and history.replaceState method "
328 "calls.";
329
Brett Wilsonf27ff602017-07-07 22:28:47330const char kDisableTabForDesktopShareName[] =
331 "Disable Desktop Share with tab source";
332const char kDisableTabForDesktopShareDescription[] =
333 "This flag controls whether users can choose a tab for desktop share.";
334
335const char kDisallowDocWrittenScriptsUiName[] =
336 "Block scripts loaded via document.write";
337const char kDisallowDocWrittenScriptsUiDescription[] =
338 "Disallows fetches for third-party parser-blocking scripts inserted into "
339 "the main frame via document.write.";
340
Christopher Thompson2ffffa2c2018-05-18 23:06:37341const char kDisallowUnsafeHttpDownloadsName[] =
342 "Block unsafe downloads over insecure connections";
343const char kDisallowUnsafeHttpDownloadsNameDescription[] =
344 "Disallows downloads of unsafe files (files that can potentially execute "
345 "code), where the final download origin or any origin in the redirect "
346 "chain is insecure.";
347
Brett Wilsonf27ff602017-07-07 22:28:47348const char kDriveSearchInChromeLauncherName[] =
349 "Drive Search in Chrome App Launcher";
350const char kDriveSearchInChromeLauncherDescription[] =
351 "Files from Drive will show up when searching the Chrome App Launcher.";
352
Brett Wilsonf27ff602017-07-07 22:28:47353const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
354const char kEmbeddedExtensionOptionsDescription[] =
355 "Display extension options as an embedded element in chrome://extensions "
356 "rather than opening a new tab.";
357
Dominic Mazzoni8ac98962018-05-25 05:44:55358const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
359const char kEnableAccessibilityObjectModelDescription[] =
360 "Enables experimental support for Accessibility Object Model APIs "
361 "that are in development.";
362
Brett Wilsonf27ff602017-07-07 22:28:47363const char kEnableAsmWasmName[] =
364 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
365const char kEnableAsmWasmDescription[] =
366 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
367 R"*(WebAssembly.)*";
368
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36369const char kEnableWebPaymentsSingleAppUiSkipName[] =
370 "Enable Web Payments single app UI skip";
371const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
372 "Enable Web Payments to skip showing its UI if the developer specifies a "
373 "single app.";
374
Florian Uunk8c428ea2018-07-18 11:12:52375const char kEnableAutofillAccountWalletStorageName[] =
376 "Enable the account data storage for autofill";
377const char kEnableAutofillAccountWalletStorageDescription[] =
378 "Enable the ephemeral storage for account data for autofill.";
379
Shanfeng Zhang19c16562017-10-17 02:30:40380const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
381 "Credit card autofill ablation experiment.";
382const char kEnableAutofillCreditCardAblationExperimentDescription[] =
383 "If enabled, credit card autofill suggestions will not display.";
384
Brett Wilsonf27ff602017-07-07 22:28:47385const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
386 "Display the last used date of a credit card in autofill.";
387const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
388 "If enabled, display the last used date of a credit card in autofill.";
389
Sujie Zhu2cf0e5c2018-07-17 18:00:27390const char kEnableAutofillCreditCardLocalCardMigrationName[] =
391 "Enable migrating local cards to Google Pay";
392const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
393 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
394
Jared Saulbc672a072018-06-16 05:22:12395const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
396 "Make cardholder name editable in dialog during credit card upload";
397const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
398 "If enabled, in certain situations when offering credit card upload to "
399 "Google Payments, the cardholder name can be edited within the "
400 "offer-to-save dialog, which is prefilled with the name from the signed-in "
401 "Google Account.";
402
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37403const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
404 "Enable Google Pay branding when offering credit card upload on Android";
405const char
406 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
407 "If enabled, shows the Google Pay logo and a shorter header message "
408 "when credit card upload to Google Payments is offered on Android.";
409
Jared Saul5c2a1482017-12-09 00:24:31410const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
411 "Send first six digits of PAN when deciding whether to offer Autofill "
412 "credit card upload";
413const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
414 "If enabled, when deciding whether to offer credit card upload to Google "
415 "Payments, sends the first six digits of the card number to avoid cases "
416 "where card upload is likely to fail.";
417
siyua7c4e97b42018-04-24 02:49:42418const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
419 "Enable updated prompt explanation when offering credit card upload";
420const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
421 "If enabled, changes the server save card prompt's explanation to mention "
422 "the saving of the billing address.";
423
tmartinocd414732018-02-12 19:01:01424const char kEnableAutofillNativeDropdownViewsName[] =
425 "Display Autofill Dropdown Using Views";
426const char kEnableAutofillNativeDropdownViewsDescription[] =
427 "If enabled, the Autofill Dropdown will be built natively using Views, "
428 "rather than painted directly to a canvas.";
429
Fabio Tirelo87552e02018-07-06 15:43:21430const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
431 "Show unlabeled expiration dates on the save card dialog";
432const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
433 "If enabled, expiration dates on the save card dialog (both local and "
434 "upstream) are shown without an 'Exp:' label.";
435
Manas Verma99541e52018-08-03 20:37:23436const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
437 "Show Sign-In/Sync promo after saving a card locally";
438const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
439 "If enabled, shows a sign in prompt to the user after the user "
440 "saves a card locally. This also introduces a Manage Cards bubble "
441 "which you can access from the card icon after saving a card.";
442
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23443const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
444 "Send experiment flag IDs in calls to Google Payments";
445const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
446 "If enabled, adds the status of certain experiment variations when making "
447 "calls to Google Payments.";
448
Becca Hughes4d896c42018-05-29 16:58:51449const char kEnableAutoplayIgnoreWebAudioName[] =
450 "Autoplay ignores WebAudio playbacks";
451const char kEnableAutoplayIgnoreWebAudioDescription[] =
452 "If enabled, autoplay restrictions will be ignored for WebAudio.";
453
Becca Hughesc62f6a1d2018-08-16 15:59:47454const char kEnableAutoplayUnifiedSoundSettingsName[] =
455 "Autoplay unified sound settings UI";
456const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
457 "If enabled, shows the new unified autoplay sound settings UI.";
458
Vitalii Iarko4f9834ce2017-08-04 07:05:19459const char kEnableBreakingNewsPushName[] = "Breaking News Push";
460const char kEnableBreakingNewsPushDescription[] =
461 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
462 "through Google Cloud Messaging.";
463
Brett Wilsonf27ff602017-07-07 22:28:47464const char kEnableBrotliName[] = "Brotli Content-Encoding.";
465const char kEnableBrotliDescription[] =
466 "Enable Brotli Content-Encoding support.";
467
Qiang Xu0f602fe62017-12-22 01:31:20468const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
469const char kEnableCaptivePortalRandomUrlDescription[] =
470 "Enable Captive Portal URL randomization.";
471
Eriko Kurimoto36975992018-08-09 07:15:13472const char kEnableChromevoxDeveloperOptionName[] =
473 "Enable Chromevox developer option";
474const char kEnableChromevoxDeveloperOptionDescription[] =
475 "This option provides tools for developing in chromevox.";
476
sclittle50e4bb92017-07-08 02:23:03477const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
478
479const char kEnableClientLoFiDescription[] =
480 "Enable showing low fidelity images on some pages on slow networks.";
481
Patrick Noland8bc57472018-06-19 21:09:54482const char kEnableCSSFragmentIdentifiersName[] =
483 "Enable CSS Fragment Identifiers";
484const char kEnableCSSFragmentIdentifiersDescription[] =
485 "Enable support for specifying a target element using a css selector in "
486 "the fragment identifier.";
487
David Reveman87b4b692018-03-09 21:22:22488const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
489const char kEnableCursorMotionBlurDescription[] =
490 "Enable motion blur effect for the cursor.";
491
Ramin Halavati6f5d9852018-06-20 09:37:05492const char kEnableEphemeralFlashPermissionName[] =
493 "Enable Ephemeral Flash Permissions";
494const char kEnableEphemeralFlashPermissionDescription[] =
495 "When enabled, Flash plugin permissions are reset at the end of the "
496 "browser session.";
497
Doug Arnett08b4067b2017-10-12 20:14:44498const char kEnableNoScriptPreviewsName[] = "NoScript previews";
499
500const char kEnableNoScriptPreviewsDescription[] =
501 "Enable disabling JavaScript on some pages on slow networks.";
502
Thanh Le2c279fbc2017-11-21 01:25:40503const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
504const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
505const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
506const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
507const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
508const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
509const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
510const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
511const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
512const char kDataReductionProxyServerAlternative10[] =
513 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47514const char kEnableDataReductionProxyServerExperimentName[] =
515 "Use an alternative Data Saver back end configuration.";
516const char kEnableDataReductionProxyServerExperimentDescription[] =
517 "Enable a different approach to saving data by configuring the back end "
518 "server";
519
520const char kEnableDataReductionProxySavingsPromoName[] =
521 "Data Saver 1 MB Savings Promo";
522const char kEnableDataReductionProxySavingsPromoDescription[] =
523 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
524 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
525 "enabled for the promo to be shown.";
526
Matt Giucad4870432017-11-24 01:04:38527const char kEnableDesktopPWAsName[] = "Desktop PWAs";
528const char kEnableDesktopPWAsDescription[] =
529 "Experimental windowing and install banner treatment for Progressive Web "
530 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17531
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59532const char kEnableDesktopPWAsLinkCapturingName[] =
533 "Desktop PWAs Link Capturing";
534const char kEnableDesktopPWAsLinkCapturingDescription[] =
535 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
536 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
537 "#enable-desktop-pwas.";
538
Ahmed Fakhry0037de02018-01-29 19:58:31539const char kEnableDockedMagnifierName[] = "Docked Magnifier";
540const char kEnableDockedMagnifierDescription[] =
541 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
542
Ramya Nagarajan5b41d8d2018-04-02 19:53:02543const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
544const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09545 "Enables the Emoji picker item in context menus for editable text areas, if"
546 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02547
Brett Wilsonf27ff602017-07-07 22:28:47548const char kEnableEnumeratingAudioDevicesName[] =
549 "Experimentally enable enumerating audio devices.";
550const char kEnableEnumeratingAudioDevicesDescription[] =
551 "Experimentally enable the use of enumerating audio devices.";
552
553const char kEnableGenericSensorName[] = "Generic Sensor";
554const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25555 "Enables motion sensor classes based on Generic Sensor API, i.e. "
556 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
557 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
558
559const char kEnableGenericSensorExtraClassesName[] =
560 "Generic Sensor Extra Classes";
561const char kEnableGenericSensorExtraClassesDescription[] =
562 "Enables an extra set of sensor classes based on Generic Sensor API, which "
563 "expose previously unavailable platform features, i.e. AmbientLightSensor "
564 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47565
Brett Wilsonf27ff602017-07-07 22:28:47566const char kEnableHDRName[] = "HDR mode";
567const char kEnableHDRDescription[] =
568 "Enables HDR support on compatible displays.";
569
Ryan Sturm6a850902018-06-09 02:27:34570const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
571const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09572 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25573 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01574 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
575 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34576
Brett Wilsonf27ff602017-07-07 22:28:47577const char kEnableHttpFormWarningName[] =
578 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15579 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47580const char kEnableHttpFormWarningDescription[] =
581 "Attaches a warning UI to any password or credit card fields detected when "
582 "the top-level page is not HTTPS";
583
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41584const char kLayeredAPIName[] = "Experimental layered APIs";
585const char kLayeredAPIDescription[] =
586 "Enable layered API infrastructure, as well as several experimental "
587 "layered APIs. The syntax and the APIs exposed are experimental and will "
588 "change over time.";
589
Ian Kilpatricke68ef11a2018-07-04 03:52:10590const char kEnableLayoutNGName[] = "Enable LayoutNG";
591const char kEnableLayoutNGDescription[] =
592 "Enable Blink's next generation layout engine.";
593
Scott Littled0fd2d002018-04-13 03:37:26594const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
595const char kEnableLazyFrameLoadingDescription[] =
596 "Defers the loading of certain cross-origin frames until the page is "
597 "scrolled down near them.";
598
rajendrant793ff512018-08-10 17:07:59599const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
600const char kEnableLazyImageLoadingDescription[] =
601 "Defers the loading of images until the page is scrolled down near them.";
602
Sidney San Martín9375b892017-09-09 00:29:54603const char kEnableMacMaterialDesignDownloadShelfName[] =
604 "Enable Material Design download shelf";
605
606const char kEnableMacMaterialDesignDownloadShelfDescription[] =
607 "If enabled, the download shelf uses Material Design.";
608
Anton Urusov47cd4932017-09-19 14:41:41609const char kEnablePolicyToolName[] = "Enable policy management page";
610const char kEnablePolicyToolDescription[] =
611 "If enabled, the chrome://policy-tool URL loads a page for managing "
612 "policies.";
613
Tsuyoshi Horoea7edb72017-11-12 04:14:00614const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
615const char kEnablePWAFullCodeCacheDescription[] =
616 "Generate V8 code cache in Cache Storage while installing Service Worker "
617 "for PWAs.";
618
Weidong Guof1e5a892018-01-06 02:26:39619const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28620 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39621const char kDisableMultiMirroringDescription[] =
622 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kEnableNavigationTracingName[] = "Enable navigation tracing";
625const char kEnableNavigationTracingDescription[] =
626 "This is to be used in conjunction with the trace-upload-url flag. "
627 "WARNING: When enabled, Chrome will record performance data for every "
628 "navigation and upload it to the URL specified by the trace-upload-url "
629 "flag. The trace may include personally identifiable information (PII) "
630 "such as the titles and URLs of websites you visit.";
631
Bernhard Bauer5533f9912017-11-06 17:56:02632const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
633const char kEnableNetworkLoggingToFileDescription[] =
634 "Enables network logging to a file named netlog.json in the user data "
635 "directory. The file can be imported into chrome://net-internals.";
636
Brett Wilsonf27ff602017-07-07 22:28:47637const char kEnableNetworkServiceName[] = "Enable network service";
638const char kEnableNetworkServiceDescription[] =
639 "Enables the network service, which makes network requests through a "
640 "separate service. Note: most features don't work with this yet.";
641
John Abd-El-Malek8067cc02017-12-04 23:23:20642const char kEnableNetworkServiceInProcessName[] =
643 "Runs network service in-process";
644const char kEnableNetworkServiceInProcessDescription[] =
645 "Runs the network service in the browser process.";
646
dpapaded8349472017-10-25 03:21:27647const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
648const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37649 "If enabled, Print Preview will display a newer UI. This feature is "
650 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27651
Ahmed Fakhry2fd8fc82017-07-28 16:31:12652const char kEnableNightLightName[] = "Enable Night Light";
653const char kEnableNightLightDescription[] =
654 "Enable the Night Light feature which controls the color temperature of "
655 "the screen.";
656
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28657const char kEnableNotificationScrollBarName[] =
658 "Enable notification list scroll bar";
659const char kEnableNotificationScrollBarDescription[] =
660 "Enable the scroll bar of the notification list in Unified System Tray.";
661
xlou8b56f672018-02-09 23:34:30662const char kEnableNupPrintingName[] = "Enable N-up printing";
663const char kEnableNupPrintingDescription[] =
664 "Enable N-up printing in the print preview panel.";
665
Sophie Chang117a3b22017-10-24 22:25:36666const char kEnableOptimizationHintsName[] = "Optimization Hints";
667const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50668 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36669 "into decisions for what optimizations to perform on some pages on slow "
670 "networks.";
671
Yutaka Hirano98be3272017-08-07 17:55:39672const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
673const char kEnableOutOfBlinkCORSDescription[] =
674 "CORS handling logic is moved out of blink.";
675
Sammie Quon0fbf0782018-05-01 22:11:08676const char kEnableOverviewSwipeToCloseName[] =
677 "Enable overview swipe to close.";
678const char kEnableOverviewSwipeToCloseDescription[] =
679 "Enables closing of items in overview mode by dragging or flinging "
680 "vertically.";
681
kylechar7051c092018-02-05 20:31:39682const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
683const char kVizDisplayCompositorDescription[] =
684 "If enabled, the display compositor runs as part of the viz service in the"
685 "GPU process.";
686
Ria Jiang6a129b982018-03-01 18:30:40687const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
688const char kVizHitTestDrawQuadDescription[] =
689 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
690 "with hit-test data computed from the CompositorFrame.";
691
Erik Chen49bbfa22017-08-18 08:49:56692const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23693 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56694const char kEnableOutOfProcessHeapProfilingDescription[] =
695 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19696 "malloced objects. Heap dumps can be obtained at chrome://tracing "
697 "[category:memory-infra] and chrome://memory-internals. This setting "
698 "controls which processes are profiled. As long as this setting is not "
699 "disabled, users can start profiling any given process in "
700 "chrome://memory-internals.";
701const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
702const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
703const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
704const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
705const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10706const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19707 "None by default. Visit chrome://memory-internals to choose which "
708 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15709const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
710 "Profile a random sampling of renderer processes, ensuring only one is "
711 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19712
Erik Chen8bb76b52017-12-06 19:06:25713const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19714 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25715const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
716 "By default, small allocations are pruned from the heap dump. This reduces "
717 "the size of the compressed trace by 100x. If pruning is disabled, the "
718 "chrome://tracing UI may be unable to take or load the trace. Save the "
719 "trace directly using chrome://memory-internals, and use other mechanisms "
720 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
721 "automatically uploaded traces will always be pruned. This only affects "
722 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56723
erikchen8bc20d82018-02-14 03:21:51724const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
725const char kOutOfProcessHeapProfilingSamplingDescription[] =
726 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22727 "10000. This results in low noise for large and/or frequent allocations ["
728 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
729 "total size of malloc-ed objects] and large and/or frequent allocations "
730 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51731
Erik Chen3303fd0232018-01-11 20:29:05732const char kOOPHPStackModeName[] =
733 "The type of stack to record for memlog heap dumps";
734const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19735 "By default, memlog heap dumps record native stacks, which requires a "
736 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55737 "pointers to work on Android. Native with thread names will add the thread "
738 "name as the first frame of each native stack. It's also possible to "
739 "record a pseudo stack using trace events as identifiers. It's also "
740 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19741const char kOOPHPStackModeMixed[] = "Mixed";
742const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55743const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19744const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05745
François Beaufort2e75f492018-02-08 20:44:46746const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47747const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46748 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47749
F#m59d036e2017-09-13 07:22:17750const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
751const char kEnablePixelCanvasRecordingDescription[] =
752 "Pixel canvas recording allows the compositor to raster contents aligned "
753 "with the pixel and improves text rendering. This should be enabled when a "
754 "device is using fractional scale factor.";
755
Ella Gebee81c92018-08-14 15:51:09756const char kEnableResamplingInputEventsName[] =
757 "Enable resampling input events";
758const char kEnableResamplingInputEventsDescription[] =
759 "Predicts mouse and touch inputs position at rAF time based on previous "
760 "input";
761const char kEnableResamplingScrollEventsName[] =
762 "Enable resampling scroll events";
763const char kEnableResamplingScrollEventsDescription[] =
764 "Predicts the scroll amount at vsync time based on previous input";
765
Doug Arnettaa0bf202018-08-27 19:42:11766const char kEnableResourceLoadingHintsName[] = "Enable resource loading hints";
767const char kEnableResourceLoadingHintsDescription[] =
768 "Enable using server-provided resource loading hints to provide a preview "
769 "over slow network connections.";
770
vitaliiid36191b2018-06-11 07:40:49771extern const char kEnableSyncUserConsentSeparateTypeName[] =
772 "Enable separate sync type for consents";
773extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
774 "Emit user consents as a separate sync type instead of user events.";
775
Mohamed Amir Yosef0178fa892018-07-23 17:43:52776const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
777const char kEnableSyncUSSBookmarksDescription[] =
778 "Enables the new, experimental implementation of bookmark sync";
779
Mikel Astiz38837f82018-04-24 22:23:23780const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
781const char kEnableSyncUSSSessionsDescription[] =
782 "Enables the new, experimental implementation of session sync (aka tab "
783 "sync).";
784
Brett Wilsonf27ff602017-07-07 22:28:47785const char kEnableUseZoomForDsfName[] =
786 "Use Blink's zoom for device scale factor.";
787const char kEnableUseZoomForDsfDescription[] =
788 "If enabled, Blink uses its zooming mechanism to scale content for device "
789 "scale factor.";
790const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
791const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
792const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
793
Patrick Noland8ee016e2018-01-24 11:44:53794const char kEnableScrollAnchorSerializationName[] =
795 "Scroll Anchor Serialization";
796const char kEnableScrollAnchorSerializationDescription[] =
797 "Save the scroll anchor and use it to restore the scroll position when "
798 "navigating.";
799
Brad Nelson5cd500e2018-01-04 00:50:19800const char kEnableSharedArrayBufferName[] =
801 "Experimental enabled SharedArrayBuffer support in JavaScript.";
802const char kEnableSharedArrayBufferDescription[] =
803 "Enable SharedArrayBuffer support in JavaScript.";
804
Brett Wilsonf27ff602017-07-07 22:28:47805const char kEnableWasmName[] = "WebAssembly structured cloning support.";
806const char kEnableWasmDescription[] =
807 "Enable web pages to use WebAssembly structured cloning.";
808
Kim Paulhamusae635a32018-06-27 07:30:54809const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
810const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47811 "Enable Web Authentication API support.";
812
813extern const char kEnableWebAuthenticationCableSupportName[] =
814 "Web Authentication caBLE support";
815extern const char kEnableWebAuthenticationCableSupportDescription[] =
816 "Enable the cloud-assisted pairingless BLE protocol for use with "
817 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54818
Brett Wilsonf27ff602017-07-07 22:28:47819const char kEnableImageCaptureAPIName[] = "Image Capture API";
820const char kEnableImageCaptureAPIDescription[] =
821 "Enables the Web Platform Image Capture API: takePhoto(), "
822 "getPhotoCapabilities(), etc.";
823
824const char kEnableZeroSuggestRedirectToChromeName[] =
825 "Experimental contextual omnibox suggestion";
826const char kEnableZeroSuggestRedirectToChromeDescription[] =
827 "Change omnibox contextual suggestions to an experimental source. Note "
828 "that this is not an on/off switch for contextual omnibox and it only "
829 "applies to suggestions provided before the user starts typing a URL or a "
830 "search query (i.e. zero suggest).";
831
832const char kEnableWasmStreamingName[] =
833 "WebAssembly streaming compile/instantiate support.";
834const char kEnableWasmStreamingDescription[] =
835 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
836
Clemens Hammacher0c8a15a2018-04-27 13:45:32837const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
838const char kEnableWasmBaselineDescription[] =
839 "Enables WebAssembly baseline compilation and tier up.";
840
Ben Smith24c1e5c2018-06-20 01:09:02841const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
842const char kEnableWasmThreadsDescription[] =
843 "Enables support for the WebAssembly Threads proposal. Implies "
844 "#shared-array-buffer and #enable-webassembly.";
845
Brett Wilsonf27ff602017-07-07 22:28:47846const char kExpensiveBackgroundTimerThrottlingName[] =
847 "Throttle expensive background timers";
848const char kExpensiveBackgroundTimerThrottlingDescription[] =
849 "Enables intervention to limit CPU usage of background timers to 1%.";
850
851const char kExperimentalAppBannersName[] = "Experimental app banners";
852const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38853 "Enables a new experimental app banner flow and UI. Implies "
854 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47855
856const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
857const char kExperimentalCanvasFeaturesDescription[] =
858 "Enables the use of experimental canvas features which are still in "
859 "development.";
860
Nicholas Verneccd8259802018-02-22 01:22:04861const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
862const char kExperimentalCrostiniUIDescription[] =
863 "Enables in-development Crostini features.";
864
Brett Wilsonf27ff602017-07-07 22:28:47865const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
866const char kExperimentalExtensionApisDescription[] =
867 "Enables experimental extension APIs. Note that the extension gallery "
868 "doesn't allow you to upload extensions that use experimental APIs.";
869
870const char kExperimentalFullscreenExitUIName[] =
871 "Experimental fullscreen exit UI";
872const char kExperimentalFullscreenExitUIDescription[] =
873 "Displays experimental UI to allow mouse and touch input methods to exit "
874 "fullscreen mode.";
875
Ian Clelland37a985d2018-05-04 02:43:13876const char kExperimentalProductivityFeaturesName[] =
877 "Experimental Productivity Features";
878const char kExperimentalProductivityFeaturesDescription[] =
879 "Enable support for experimental developer productivity features, such as "
880 "Layered APIs and policies for avoiding slow rendering.";
881
Brett Wilsonf27ff602017-07-07 22:28:47882const char kExperimentalSecurityFeaturesName[] =
883 "Potentially annoying security features";
884const char kExperimentalSecurityFeaturesDescription[] =
885 "Enables several security features that will likely break one or more "
886 "pages that you visit on a daily basis. Strict mixed content checking, for "
887 "example. And locking powerful features to secure contexts. This flag will "
888 "probably annoy you.";
889
890const char kExperimentalWebPlatformFeaturesName[] =
891 "Experimental Web Platform features";
892const char kExperimentalWebPlatformFeaturesDescription[] =
893 "Enables experimental Web Platform features that are in development.";
894
895const char kExtensionContentVerificationName[] =
896 "Extension Content Verification";
897const char kExtensionContentVerificationDescription[] =
898 "This flag can be used to turn on verification that the contents of the "
899 "files on disk for extensions from the webstore match what they're "
900 "expected to be. This can be used to turn on this feature if it would not "
901 "otherwise have been turned on, but cannot be used to turn it off (because "
902 "this setting can be tampered with by malware).";
903const char kExtensionContentVerificationBootstrap[] =
904 "Bootstrap (get expected hashes, but do not enforce them)";
905const char kExtensionContentVerificationEnforce[] =
906 "Enforce (try to get hashes, and enforce them if successful)";
907const char kExtensionContentVerificationEnforceStrict[] =
908 "Enforce strict (hard fail if we can't get hashes)";
909
910const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
911const char kExtensionsOnChromeUrlsDescription[] =
912 "Enables running extensions on chrome:// URLs, where extensions explicitly "
913 "request this permission.";
galinapae72e152017-05-12 13:12:28914
Brett Wilsonecb80982017-07-12 20:34:51915const char kFastUnloadName[] = "Fast tab/window close";
916const char kFastUnloadDescription[] =
917 "Enables fast tab/window closing - runs a tab's onunload js handler "
918 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34919
Brett Wilsonecb80982017-07-12 20:34:51920const char kFeaturePolicyName[] = "Feature Policy";
921const char kFeaturePolicyDescription[] =
922 "Enables granting and removing access to features through the "
923 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34924
Brett Wilsonecb80982017-07-12 20:34:51925const char kFontCacheScalingName[] = "FontCache scaling";
926const char kFontCacheScalingDescription[] =
927 "Reuse a cached font in the renderer to serve different sizes of font for "
928 "faster layout.";
929
930const char kForceEffectiveConnectionTypeName[] =
931 "Override effective connection type";
932const char kForceEffectiveConnectionTypeDescription[] =
933 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30934 "returned by the network quality estimator. Slow 2G on Cellular returns "
935 "Slow 2G when connected to a cellular network, and the actual estimate "
936 "effective connection type when not on a cellular network. Previews are "
937 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51938const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
939const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
940const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30941const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
942 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51943const char kEffectiveConnectionType2GDescription[] = "2G";
944const char kEffectiveConnectionType3GDescription[] = "3G";
945const char kEffectiveConnectionType4GDescription[] = "4G";
946
947const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
948const char kFillOnAccountSelectDescription[] =
949 "Filling of passwords when an account is explicitly selected by the user "
950 "rather than autofilling credentials on page load.";
951
Brett Wilsonecb80982017-07-12 20:34:51952const char kForceTextDirectionName[] = "Force text direction";
953const char kForceTextDirectionDescription[] =
954 "Explicitly force the per-character directionality of UI text to "
955 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
956 "direction of the character language.";
957const char kForceDirectionLtr[] = "Left-to-right";
958const char kForceDirectionRtl[] = "Right-to-left";
959
960const char kForceUiDirectionName[] = "Force UI direction";
961const char kForceUiDirectionDescription[] =
962 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
963 "mode, overriding the default direction of the UI language.";
964
965const char kFramebustingName[] =
966 "Framebusting requires same-origin or a user gesture";
967const char kFramebustingDescription[] =
968 "Don't permit an iframe to navigate the top level browsing context unless "
969 "they are same-origin or the iframe is processing a user gesture.";
970
971const char kGamepadExtensionsName[] = "Gamepad Extensions";
972const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22973 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06974const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48975const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06976 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48977 "the polling rate improves the average latency of button and axis inputs "
978 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58979const char kGamepadVibrationName[] = "Gamepad Vibration";
980const char kGamepadVibrationDescription[] =
981 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51982
Brett Wilsonecb80982017-07-12 20:34:51983const char kGpuRasterizationMsaaSampleCountName[] =
984 "GPU rasterization MSAA sample count.";
985const char kGpuRasterizationMsaaSampleCountDescription[] =
986 "Specify the number of MSAA samples for GPU rasterization.";
987const char kGpuRasterizationMsaaSampleCountZero[] = "0";
988const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
989const char kGpuRasterizationMsaaSampleCountFour[] = "4";
990const char kGpuRasterizationMsaaSampleCountEight[] = "8";
991const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
992
993const char kGpuRasterizationName[] = "GPU rasterization";
994const char kGpuRasterizationDescription[] =
995 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28996const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51997
998const char kGoogleProfileInfoName[] = "Google profile name and icon";
999const char kGoogleProfileInfoDescription[] =
1000 "Enables using Google information to populate the profile name and icon in "
1001 "the avatar menu.";
1002
1003const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
1004const char kHarfbuzzRendertextDescription[] =
1005 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
1006 "web content.";
1007
Takumi Fujimotofb71e332018-03-31 14:04:081008const char kViewsCastDialogName[] = "Views Cast dialog";
1009const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:311010 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:531011 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:541012 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081013
Manu Cornet4a908de2018-04-09 04:32:271014const char kHideActiveAppsFromShelfName[] =
1015 "Hide running apps (that are not pinned) from the shelf";
1016const char kHideActiveAppsFromShelfDescription[] =
1017 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251018
Brett Wilsonecb80982017-07-12 20:34:511019const char kHistoryRequiresUserGestureName[] =
1020 "New history entries require a user gesture.";
1021const char kHistoryRequiresUserGestureDescription[] =
1022 "Require a user gesture to add a history entry.";
1023const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1024const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1025
Ryan Landay4242dbc22018-04-04 01:47:331026const char kHorizontalTabSwitcherAndroidName[] =
1027 "Enable horizontal tab switcher";
1028const char kHorizontalTabSwitcherAndroidDescription[] =
1029 "Changes the layout of the Android tab switcher so tabs scroll "
1030 "horizontally instead of vertically.";
1031
Brett Wilsonecb80982017-07-12 20:34:511032const char kHostedAppQuitNotificationName[] =
1033 "Quit notification for hosted apps";
1034const char kHostedAppQuitNotificationDescription[] =
1035 "Display a notification when quitting Chrome if hosted apps are currently "
1036 "running.";
1037
1038const char kHostedAppShimCreationName[] =
1039 "Creation of app shims for hosted apps on Mac";
1040const char kHostedAppShimCreationDescription[] =
1041 "Create app shims on Mac when creating a hosted app.";
1042
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481043const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1044const char kHtmlBasedUsernameDetectorDescription[] =
1045 "Use HTML-based username detector for the password manager.";
1046
Brett Wilsonecb80982017-07-12 20:34:511047const char kIconNtpName[] = "Large icons on the New Tab page";
1048const char kIconNtpDescription[] =
1049 "Enable the experimental New Tab page using large icons.";
1050
1051const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1052const char kIgnoreGpuBlacklistDescription[] =
1053 "Overrides the built-in software rendering list and enables "
1054 "GPU-acceleration on unsupported system configurations.";
1055
Ryan Sturm8c3dbc92018-06-26 19:22:371056const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441057const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371058 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441059
Claudio Magni61c210922017-12-28 00:29:511060const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1061const char kImprovedLanguageSettingsDescription[] =
1062 "Set of changes for Language Settings. These changes are intended to fix "
1063 "the major bugs related to Language Settings.";
1064
Brett Wilsonecb80982017-07-12 20:34:511065const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1066const char kInProductHelpDemoModeChoiceDescription[] =
1067 "Selects the In-Product Help demo mode.";
1068
1069const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1070const char kJavascriptHarmonyDescription[] =
1071 "Enable web pages to use experimental JavaScript features.";
1072
1073const char kJavascriptHarmonyShippingName[] =
1074 "Latest stable JavaScript features";
1075const char kJavascriptHarmonyShippingDescription[] =
1076 "Some web pages use legacy or non-standard JavaScript extensions that may "
1077 "conflict with the latest JavaScript features. This flag allows disabling "
1078 "support of those features for compatibility with such pages.";
1079
gogeraldfd7675d2018-06-19 22:57:351080const char kJustInTimeServiceWorkerPaymentAppName[] =
1081 "Just-in-time service worker payment app";
1082const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1083 "Allow crawling just-in-time service worker payment app when there is no "
1084 "installed service worker payment app for a payment request.";
1085
Yutaka Hiranof7f2f632017-09-06 10:40:081086const char kKeepAliveRendererForKeepaliveRequestsName[] =
1087 "Keep a renderer alive for keepalive fetch requests";
1088const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1089 "Keep a render process alive when the process has a pending fetch request "
1090 "with `keepalive' specified.";
1091
Joe Downing095fd6d2018-02-01 18:40:361092const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1093const char kKeyboardLockApiDescription[] =
1094 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1095 "specific key events and have them routed directly to the webpage when in "
1096 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1097
Brett Wilsonecb80982017-07-12 20:34:511098const char kLcdTextName[] = "LCD text antialiasing";
1099const char kLcdTextDescription[] =
1100 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1101 "(subpixel) when doing accelerated compositing.";
1102
Matt Giucac399982f2017-10-06 07:51:291103const char kLeftToRightUrlsName[] =
1104 "Render bidirectional URLs from left to right";
1105const char kLeftToRightUrlsDescription[] =
1106 "An experimental Bidi URL rendering algorithm where the URL components are "
1107 "always shown in order from left to right, regardless of any RTL "
1108 "characters. (The contents of each component are still rendered with the "
1109 "normal Bidi algorithm.)";
1110
Brett Wilsonecb80982017-07-12 20:34:511111const char kLoadMediaRouterComponentExtensionName[] =
1112 "Load Media Router Component Extension";
1113const char kLoadMediaRouterComponentExtensionDescription[] =
1114 "Loads the Media Router component extension at startup.";
1115
Mustafa Emre Acer137dc8b2018-08-29 20:38:131116const char kLookalikeUrlNavigationSuggestionsName[] =
1117 "Navigation suggestions for lookalike URLs";
1118const char kLookalikeUrlNavigationSuggestionsDescription[] =
1119 "Enable navigation suggestions for URLs that are visually similar to "
1120 "popular domains or to domains with a site engagement score.";
1121
spqchanb87755692018-04-05 00:46:091122const char kMacViewsAutofillPopupName[] =
1123 "Uses the Views Autofill Popup on Mac";
1124const char kMacViewsAutofillPopupDescription[] =
1125 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321126
Brett Wilsonecb80982017-07-12 20:34:511127const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1128const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511129
Lei Zhang2eca9082017-10-17 20:42:501130const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1131const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511132 "If enabled, the Incognito New Tab page uses the new material design with "
1133 "a better readable text.";
1134
spqchanb87755692018-04-05 00:46:091135const char kMediaRouterCastAllowAllIPsName[] =
1136 "Connect to Cast devices on all IP addresses";
1137const char kMediaRouterCastAllowAllIPsDescription[] =
1138 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311139 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091140
Brett Wilsonecb80982017-07-12 20:34:511141const char kMemoryCoordinatorName[] = "Memory coordinator";
1142const char kMemoryCoordinatorDescription[] =
1143 "Enable memory coordinator instead of memory pressure listeners.";
1144
1145const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1146const char kMessageCenterNewStyleNotificationDescription[] =
1147 "Enables the experiment style of material-design notification";
1148
Brett Wilsonecb80982017-07-12 20:34:511149const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1150const char kMhtmlGeneratorOptionDescription[] =
1151 "Provides experimental options for MHTML file generator.";
1152const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1153const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1154
Kouhei Ueno08445c22017-09-05 03:58:301155const char kModuleScriptsDynamicImportName[] =
1156 "Enable ECMAScript 6 modules dynamic import";
1157const char kModuleScriptsDynamicImportDescription[] =
1158 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1159 "Blink.";
1160
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051161const char kModuleScriptsImportMetaUrlName[] =
1162 "Enable ECMAScript 6 modules import.meta.url";
1163const char kModuleScriptsImportMetaUrlDescription[] =
1164 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1165 "Blink.";
1166
Brett Wilsonecb80982017-07-12 20:34:511167const char kNewAudioRenderingMixingStrategyName[] =
1168 "New audio rendering mixing strategy";
1169const char kNewAudioRenderingMixingStrategyDescription[] =
1170 "Use the new audio rendering mixing strategy.";
1171
1172const char kNewBookmarkAppsName[] = "The new bookmark app system";
1173const char kNewBookmarkAppsDescription[] =
1174 "Enables the new system for creating bookmark apps.";
1175
Vadym Doroshenkocd4ff782018-07-24 13:41:021176const char kNewPasswordFormParsingName[] =
1177 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241178const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021179 "Replaces existing form parsing for filling in password manager with a new "
1180 "version, currently under development. WARNING: when enabled, Password "
1181 "Manager might stop working";
1182
1183const char kNewPasswordFormParsingForSavingName[] =
1184 "New password form parsing for saving passwords";
1185const char kNewPasswordFormParsingForSavingDescription[] =
1186 "Replaces existing form parsing for saving in password manager with a new "
1187 "version, currently under development. WARNING: when enabled, Password "
1188 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241189
Brett Wilsonecb80982017-07-12 20:34:511190const char kNewRemotePlaybackPipelineName[] =
1191 "Enable the new remote playback pipeline.";
1192const char kNewRemotePlaybackPipelineDescription[] =
1193 "Enable the new pipeline for playing media element remotely via "
1194 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501195const char kUseSurfaceLayerForVideoName[] =
1196 "Enable the use of SurfaceLayer objects for videos.";
1197const char kUseSurfaceLayerForVideoDescription[] =
1198 "Enable compositing onto a Surface instead of a VideoLayer "
1199 "for videos.";
CJ DiMeglioe6e258a2018-08-10 21:41:571200const char kUseSurfaceLayerForVideoMSName[] =
1201 "Enable the use of SurfaceLayer objects for media stream videos.";
1202const char kUseSurfaceLayerForVideoMSDescription[] =
1203 "Enable compositing onto a Surface instead of a VideoLayer "
1204 "for media stream videos.";
Brett Wilsonecb80982017-07-12 20:34:511205
1206const char kNewUsbBackendName[] = "Enable new USB backend";
1207const char kNewUsbBackendDescription[] =
1208 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341209
Sonny Sasaka2d200432018-03-22 17:43:161210const char kNewblueName[] = "Newblue";
1211const char kNewblueDescription[] =
1212 "Enables the use of newblue Bluetooth daemon.";
1213
Peter Kasting63097912018-06-30 02:09:031214const char kNewTabButtonPosition[] = "New tab button position";
1215const char kNewTabButtonPositionDescription[] =
1216 "Controls placement of the new tab button within the tabstrip.";
1217const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1218const char kNewTabButtonPositionLeading[] = "Leading";
1219const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1220const char kNewTabButtonPositionTrailing[] = "Trailing";
1221
Egor Pasko6fed3822018-05-30 10:33:141222const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341223const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141224 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341225
Alex Newcomerd7b0cc42018-05-25 22:58:481226const char kNotificationIndicatorName[] = "Notification Indicators";
1227const char kNotificationIndicatorDescription[] =
1228 "Enable notification indicators, which appear on app icons when a "
1229 "notification is active. This will also enable notifications in context "
1230 "menus.";
1231
Brett Wilsonecb80982017-07-12 20:34:511232const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1233const char kNotificationsNativeFlagDescription[] =
1234 "Enable support for using the native notification toasts and notification "
1235 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341236
Zentaro Kavanaghbad511c2017-10-18 22:29:001237#if defined(OS_POSIX)
1238const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1239const char kNtlmV2EnabledDescription[] =
1240 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1241#endif
1242
Ramya Nagarajane9f16b82018-05-03 01:05:341243const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1244const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301245 "Allow selection of a custom background image on the New Tab Page. "
1246 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341247
kristipark037abce12018-07-13 19:49:301248const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1249const char kNtpCustomLinksDescription[] =
1250 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1251 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1252
1253const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341254const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301255 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1256 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341257
1258const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1259const char kNtpUIMdDescription[] =
1260 "Updates the New Tab Page with Material Design elements.";
1261
Brett Wilsonecb80982017-07-12 20:34:511262const char kNumRasterThreadsName[] = "Number of raster threads";
1263const char kNumRasterThreadsDescription[] =
1264 "Specify the number of raster threads.";
1265const char kNumRasterThreadsOne[] = "1";
1266const char kNumRasterThreadsTwo[] = "2";
1267const char kNumRasterThreadsThree[] = "3";
1268const char kNumRasterThreadsFour[] = "4";
1269
1270const char kOfferStoreUnmaskedWalletCardsName[] =
1271 "Google Payments card saving checkbox";
1272const char kOfferStoreUnmaskedWalletCardsDescription[] =
1273 "Show the checkbox to offer local saving of a credit card downloaded from "
1274 "the server.";
1275
1276const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1277const char kOfflineAutoReloadDescription[] =
1278 "Pages that fail to load while the browser is offline will be "
1279 "auto-reloaded when the browser is online again.";
1280
1281const char kOfflineAutoReloadVisibleOnlyName[] =
1282 "Only Auto-Reload Visible Tabs";
1283const char kOfflineAutoReloadVisibleOnlyDescription[] =
1284 "Pages that fail to load while the browser is offline will only be "
1285 "auto-reloaded if their tab is visible.";
1286
Brett Wilsonecb80982017-07-12 20:34:511287const char kOmniboxDisplayTitleForCurrentUrlName[] =
1288 "Include title for the current URL in the omnibox";
1289const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1290 "In the event that the omnibox provides suggestions on-focus, the URL of "
1291 "the current page is provided as the first suggestion without a title. "
1292 "Enabling this flag causes the title to be displayed.";
1293
Benoit Lizeab08362c2017-07-19 14:50:541294const char kOmniboxSpareRendererName[] =
1295 "Start spare renderer on omnibox focus";
1296const char kOmniboxSpareRendererDescription[] =
1297 "When the omnibox is focused, start an empty spare renderer. This can "
1298 "speed up the load of the navigation from the omnibox.";
1299
Tommy C. Li8875a442017-08-23 00:10:591300const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1301 "Omnibox UI Elide Suggestion URL After Host";
1302const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1303 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1304 "dropdown.";
1305
Tommy C. Lid79d4402017-12-22 22:49:121306const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1307 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1308const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1309 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221310 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1311 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121312
Tommy C. Licc5e53022018-07-27 16:30:351313const char kOmniboxUIJogTextfieldOnPopupName[] =
1314 "Omnibox UI Jog Textfield on Popup";
1315const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1316 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1317 "text when the popup is opened. When this feature is disabled, the "
1318 "textfield is always aligned with the suggestions text, and a separator "
1319 "fills the gap. If Material Refresh is disabled, this has no effect.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kOmniboxUIMaxAutocompleteMatchesName[] =
1322 "Omnibox UI Max Autocomplete Matches";
1323
1324const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1325 "Changes the maximum number of autocomplete matches displayed in the "
1326 "Omnibox UI.";
1327
Justin Donnelly65c9e8b2017-10-01 05:15:011328const char kOmniboxUIShowSuggestionFaviconsName[] =
1329 "Omnibox UI Show Suggestion Favicons";
1330const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1331 "Shows favicons instead of generic vector icons for URL suggestions in the "
1332 "Omnibox dropdown.";
1333
1334const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1335const char kOmniboxUISwapTitleAndUrlDescription[] =
1336 "In the omnibox dropdown, shows titles before URLs when both are "
1337 "available.";
1338
Brett Wilsonecb80982017-07-12 20:34:511339const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1340const char kOmniboxUIVerticalMarginDescription[] =
1341 "Changes the vertical margin in the Omnibox UI.";
1342
Troy Hildebrandtb32637ca2018-02-21 23:25:091343const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1344 "Omnibox Voice Search Always Visible";
1345const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1346 "Always displays voice search icon in focused omnibox as long as voice "
1347 "search is possible";
1348
Adrienne Walkerc87477e2018-06-06 22:28:211349const char kOopRasterizationName[] = "Out of process rasterization";
1350const char kOopRasterizationDescription[] =
1351 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1352 "Must also enable GPU rasterization";
1353
Brett Wilsonecb80982017-07-12 20:34:511354const char kOriginTrialsName[] = "Origin Trials";
1355const char kOriginTrialsDescription[] =
1356 "Enables origin trials for controlling access to feature/API experiments.";
1357
Becca Hughes930d8cd2017-10-02 11:09:121358const char kOverflowIconsForMediaControlsName[] =
1359 "Icons on Media Controls Overflow Menu";
1360const char kOverflowIconsForMediaControlsDescription[] =
1361 "Displays icons on the overflow menu of the native media controls";
1362
Brett Wilsonecb80982017-07-12 20:34:511363const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1364const char kOverlayScrollbarsDescription[] =
1365 "Enable the experimental overlay scrollbars implementation. You must also "
1366 "enable threaded compositing to have the scrollbars animate.";
1367
chaopenge8aa016b2017-08-24 15:20:191368const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1369 "Flash Overlay Scrollbars After Any Scroll Update";
1370const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1371 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1372 " must also enable Overlay Scrollbars.";
1373
chaopeng343678022017-08-24 18:45:001374const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1375 "Flash Overlay Scrollbars When Mouse Enter";
1376const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1377 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1378 " enable Overlay Scrollbars.";
1379
Daniele Castagna74ddb9c2018-06-21 22:59:021380const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1381const char kOverlayStrategiesDescription[] =
1382 "Select strategies used to promote quads to HW overlays.";
1383const char kOverlayStrategiesDefault[] = "Default";
1384const char kOverlayStrategiesNone[] = "None";
1385const char kOverlayStrategiesUnoccludedFullscreen[] =
1386 "Unoccluded fullscreen buffers (single-fullscreen)";
1387const char kOverlayStrategiesUnoccluded[] =
1388 "Unoccluded buffers (single-fullscreen,single-on-top)";
1389const char kOverlayStrategiesOccludedAndUnoccluded[] =
1390 "Occluded and unoccluded buffers "
1391 "(single-fullscreen,single-on-top,underlay)";
1392
Claudio Magni81326f92017-09-01 05:21:181393const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1394const char kUseNewAcceptLanguageHeaderDescription[] =
1395 "Adds the base language code after other corresponding language+region "
1396 "codes. This ensures that users receive content in their preferred "
1397 "language.";
1398
Brett Wilsonecb80982017-07-12 20:34:511399const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1400const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481401 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511402const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481403const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511404
1405const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1406const char kOverscrollStartThresholdDescription[] =
1407 "Changes overscroll start threshold relative to the default value.";
1408const char kOverscrollStartThreshold133Percent[] = "133%";
1409const char kOverscrollStartThreshold166Percent[] = "166%";
1410const char kOverscrollStartThreshold200Percent[] = "200%";
1411
chaopenge2b6e5f2018-05-08 16:40:451412const char kTouchpadOverscrollHistoryNavigationName[] =
1413 "Overscroll history navigation on Touchpad";
1414const char kTouchpadOverscrollHistoryNavigationDescription[] =
1415 "Allows swipe left/right from touchpad change browser navigation.";
1416
Xing Liu5400a002017-09-15 21:48:291417const char kParallelDownloadingName[] = "Parallel downloading";
1418const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061419 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291420
Brett Wilsonecb80982017-07-12 20:34:511421const char kPassiveEventListenerDefaultName[] =
1422 "Passive Event Listener Override";
1423const char kPassiveEventListenerDefaultDescription[] =
1424 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1425 "haven't requested otherwise) to be treated as passive. This will break "
1426 "touch/wheel behavior on some websites but is useful for demonstrating the "
1427 "potential performance benefits of adopting passive event listeners.";
1428const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1429const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1430
1431const char kPassiveEventListenersDueToFlingName[] =
1432 "Touch Event Listeners Passive Default During Fling";
1433const char kPassiveEventListenersDueToFlingDescription[] =
1434 "Forces touchstart, and first touchmove per scroll event listeners during "
1435 "fling to be treated as passive.";
1436
1437const char kPassiveDocumentEventListenersName[] =
1438 "Document Level Event Listeners Passive Default";
1439const char kPassiveDocumentEventListenersDescription[] =
1440 "Forces touchstart, and touchmove event listeners on document level "
1441 "targets (which haven't requested otherwise) to be treated as passive.";
1442
Sahel Sharify7400e882018-08-13 17:13:211443const char kPassiveDocumentWheelEventListenersName[] =
1444 "Document Level Wheel Event Listeners Passive Default";
1445const char kPassiveDocumentWheelEventListenersDescription[] =
1446 "Forces wheel, and mousewheel event listeners on document level targets "
1447 "(which haven't requested otherwise) to be treated as passive.";
1448
Brett Wilsonecb80982017-07-12 20:34:511449const char kPasswordForceSavingName[] = "Force-saving of passwords";
1450const char kPasswordForceSavingDescription[] =
1451 "Allow the user to manually enforce password saving instead of relying on "
1452 "password manager's heuristics.";
1453
Vaclav Brozekd8a3f542017-11-16 14:21:131454const char kPasswordExportName[] = "Password export";
1455const char kPasswordExportDescription[] =
1456 "Export functionality in password settings.";
1457
1458const char kPasswordImportName[] = "Password import";
1459const char kPasswordImportDescription[] =
1460 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511461
Friedrich Horschig03c91982018-01-25 14:21:281462const char kPasswordSearchMobileName[] = "Password search";
1463const char kPasswordSearchMobileDescription[] =
1464 "Search functionality in password settings.";
1465
Friedrich Horschige6c27742018-04-23 17:13:411466const char kPasswordsKeyboardAccessoryName[] =
1467 "Add password-related functions to keyboard accessory";
1468const char kPasswordsKeyboardAccessoryDescription[] =
1469 "Adds password generation button and toggle for the passwords bottom sheet "
1470 "to the keyboard accessory. Replaces password generation popups.";
1471
Christos Froussios6e060c42018-07-31 16:17:191472const char kPasswordsMigrateLinuxToLoginDBName[] =
1473 "Migrate passwords to \"Login Data\"";
1474const char kPasswordsMigrateLinuxToLoginDBDescription[] =
1475 "Performs a one-off migration (with retries) of passwords from the "
1476 "gnome-keyring or kwallet into the profile directory.";
1477
Tom Sepez92a2cd242018-03-13 19:23:091478const char kPdfIsolationName[] = "PDF Isolation";
1479const char kPdfIsolationDescription[] =
1480 "Render PDF files from different origins in different plugin processes.";
1481
Brett Wilsonecb80982017-07-12 20:34:511482const char kPinchScaleName[] = "Pinch scale";
1483const char kPinchScaleDescription[] =
1484 "Enables experimental support for scale using pinch.";
1485
Doug Arnett620ff542018-02-06 17:54:221486const char kPreviewsAllowedName[] = "Previews Allowed";
1487const char kPreviewsAllowedDescription[] =
1488 "Allows previews to be shown subject to specific preview types being "
1489 "enabled and the client experiencing specific triggering conditions. "
1490 "May be used as a kill-switch to turn off all potential preview types.";
1491
Brett Wilsonecb80982017-07-12 20:34:511492const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1493const char kPrintPdfAsImageDescription[] =
1494 "If enabled, an option to print PDF files as images will be available in "
1495 "print preview.";
1496
1497const char kPrintPreviewRegisterPromosName[] =
1498 "Print Preview Registration Promos";
1499const char kPrintPreviewRegisterPromosDescription[] =
1500 "Enable registering unregistered cloud printers from print preview.";
1501
1502const char kProtectSyncCredentialName[] = "Autofill sync credential";
1503const char kProtectSyncCredentialDescription[] =
1504 "How the password manager handles autofill for the sync credential.";
1505
1506const char kProtectSyncCredentialOnReauthName[] =
1507 "Autofill sync credential only for transactional reauth pages";
1508const char kProtectSyncCredentialOnReauthDescription[] =
1509 "How the password manager handles autofill for the sync credential only "
1510 "for transactional reauth pages.";
1511
Mohsen Izadi93faac12017-07-29 04:45:151512const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1513const char kPullToRefreshDescription[] =
1514 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011515const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151516
Troy Hildebrandt7228ad12018-02-23 21:18:241517const char kQueryInOmniboxName[] = "Query in Omnibox";
1518const char kQueryInOmniboxDescription[] =
1519 "Only display query terms in the omnibox when viewing a search results "
1520 "page.";
1521
Brett Wilsonecb80982017-07-12 20:34:511522const char kQuicName[] = "Experimental QUIC protocol";
1523const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1524
Emily Starke8878d52018-05-11 21:27:261525const char kRecurrentInterstitialName[] =
1526 "Show a message when the same SSL error recurs";
1527const char kRecurrentInterstitialDescription[] =
1528 "Enable a special message on the SSL certificate error page when the same "
1529 "SSL error occurs repeatedly.";
1530
Brett Wilsonecb80982017-07-12 20:34:511531const char kReducedReferrerGranularityName[] =
1532 "Reduce default 'referer' header granularity.";
1533const char kReducedReferrerGranularityDescription[] =
1534 "If a page hasn't set an explicit referrer policy, setting this flag will "
1535 "reduce the amount of information in the 'referer' header for cross-origin "
1536 "requests.";
1537
Claudio Magnie0a80bb2018-01-31 02:52:581538extern const char kRegionalLocalesAsDisplayUIName[] =
1539 "Allow regional locales as display UI";
1540extern const char kRegionalLocalesAsDisplayUIDescription[] =
1541 "This flag allows regional locales to be selected as display UI by the "
1542 "user in Language Settings. The actual locale of the system is derived "
1543 "from the user selection based on some simple fallback logic.";
1544
Christian Dullweber1af31e62018-02-22 11:49:481545const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141546 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481547const char kRemoveNavigationHistoryDescription[] =
1548 "Remove a navigation entry when the corresponding history entry has been "
1549 "deleted.";
1550
Mihai Sardarescu6d0f5b72017-10-30 11:24:381551const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1552 "Remove usage of the deprecated GAIA sign-in endpoint";
1553const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1554 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1555 "This flags controls wheter it should no longer be used during a sign-in "
1556 " flow.";
1557
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351558const char kRendererSideResourceSchedulerName[] =
1559 "Renderer side ResourceScheduler";
1560const char kRendererSideResourceSchedulerDescription[] =
1561 "Migrate some ResourceScheduler functionalities to renderer";
1562
Brett Wilsonecb80982017-07-12 20:34:511563const char kRequestTabletSiteName[] =
1564 "Request tablet site option in the settings menu";
1565const char kRequestTabletSiteDescription[] =
1566 "Allows the user to request tablet site. Web content is often optimized "
1567 "for tablet devices. When this option is selected the user agent string is "
1568 "changed to indicate a tablet device. Web content optimized for tablets is "
1569 "received there after for the current tab.";
1570
1571const char kResetAppListInstallStateName[] =
1572 "Reset the App Launcher install state on every restart.";
1573const char kResetAppListInstallStateDescription[] =
1574 "Reset the App Launcher install state on every restart. While this flag is "
1575 "set, Chrome will forget the launcher has been installed each time it "
1576 "starts. This is used for testing the App Launcher install flow.";
1577
Kinuko Yasuda33955082018-06-19 10:14:591578const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511579const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591580 "Uses the resource load scheduler in blink to throttle resource load "
1581 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511582
Brett Wilsonecb80982017-07-12 20:34:511583const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1584const char kSafeSearchUrlReportingDescription[] =
1585 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1586
Alexei Filippov98772752018-01-27 08:26:521587const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1588const char kSamplingHeapProfilerDescription[] =
1589 "Enables native memory sampling profiler with specified rate in KiB. "
1590 "If sampling rate is not provided the default value of 128 KiB is used.";
1591
Brett Wilsonecb80982017-07-12 20:34:511592const char kSaveasMenuLabelExperimentName[] =
1593 "Switch 'Save as' menu labels to 'Download'";
1594const char kSaveasMenuLabelExperimentDescription[] =
1595 "Enables an experiment to switch menu labels that use 'Save as...' to "
1596 "'Download'.";
1597
1598const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1599const char kSavePageAsMhtmlDescription[] =
1600 "Enables saving pages as MHTML: a single text file containing HTML and all "
1601 "sub-resources.";
1602
Nate Chapin9638e7102017-09-20 22:11:011603const char kSavePreviousDocumentResourcesName[] =
1604 "Save Previous Document Resources";
1605const char kSavePreviousDocumentResourcesDescription[] =
1606 "Saves an old document's cached resources until the specified point in the "
1607 "next document's lifecycle.";
1608const char kSavePreviousDocumentResourcesNever[] =
1609 "Don't explicitly save resources";
1610const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1611 "Save resources until onDOMContentLoaded completes";
1612const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1613 "Save resources until onload completes";
1614
gogeraldd5061b592017-09-06 23:39:551615const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1616const char kServiceWorkerPaymentAppsDescription[] =
1617 "Enable Service Worker applications to integrate as payment apps";
1618
momohattfc352292018-08-29 05:12:361619const char kServiceWorkerImportedScriptUpdateCheckName[] =
1620 "Enable update check for service worker importScripts() resources";
1621const char kServiceWorkerImportedScriptUpdateCheckDescription[] =
1622 "Extend byte-for-byte update check for scripts that are imported by the "
1623 "service worker script via importScripts().";
1624
Makoto Shimazu22078cc2018-02-21 03:01:441625extern const char kServiceWorkerServicificationName[] =
1626 "Servicified service workers";
1627extern const char kServiceWorkerServicificationDescription[] =
1628 "Enable the servicified service workers. A servicified service worker can "
1629 "have direct connection from its clients, so that fetch events can be "
1630 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171631
Tsuyoshi Horobcb1c642017-11-24 16:32:141632const char kServiceWorkerScriptFullCodeCacheName[] =
1633 "Service worker script full code cache.";
1634const char kServiceWorkerScriptFullCodeCacheDescription[] =
1635 "Generate V8 full code cache of Service Worker scripts while installing.";
1636
Azeem Arshad3b1ef73122018-08-30 02:04:151637const char kServiceWorkerLongRunningMessageName[] =
1638 "Service worker long running message dispatch.";
1639const char kServiceWorkerLongRunningMessageDescription[] =
1640 "Enables long running message dispatch method for service workers. "
1641 "Messages sent with this method do not timeout, allowing the service "
1642 "worker to run indefinitely.";
1643
Brett Wilsonecb80982017-07-12 20:34:511644const char kSettingsWindowName[] = "Show settings in a window";
1645const char kSettingsWindowDescription[] =
1646 "Settings will be shown in a dedicated window instead of as a browser tab.";
1647
Manu Cornetd7ef7c52018-05-01 22:08:231648const char kShelfHoverPreviewsName[] =
1649 "Show previews of running apps when hovering over the shelf.";
1650const char kShelfHoverPreviewsDescription[] =
1651 "Shows previews of the open windows for a given running app when hovering "
1652 "over the shelf.";
1653
Manu Cornet683e14b2018-07-16 17:39:431654const char kShelfNewUiName[] = "Newest shelf redesign.";
1655const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1656
Trent Apted750ba7022017-10-23 13:36:251657const char kShowAllDialogsWithViewsToolkitName[] =
1658 "Show all dialogs with Views toolkit";
1659const char kShowAllDialogsWithViewsToolkitDescription[] =
1660 "All browser dialogs will be shown using the Views toolkit rather than "
1661 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1662
Naoki Fukino008a0022018-05-23 18:33:001663const char kShowAndroidFilesInFilesAppName[] =
1664 "Show Android files in Files app";
1665const char kShowAndroidFilesInFilesAppDescription[] =
1666 "Show Android files in Files app if Android is enabled on the device.";
1667
Luciano Pachecoa0e2753f2018-07-16 07:41:101668const char kFilesAppDisableMyFilesNavigationName[] =
1669 "Disable the My Files on the navigation in the Files app";
1670const char kFilesAppDisableMyFilesNavigationDescription[] =
1671 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511672 R"("My Files" root for Downloads, Linux and Play files)";
1673
Brett Wilsonecb80982017-07-12 20:34:511674const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1675const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381676 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1677 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511678
1679const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1680const char kShowAutofillTypePredictionsDescription[] =
1681 "Annotates web forms with Autofill field type predictions as placeholder "
1682 "text.";
1683
1684const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1685const char kShowOverdrawFeedbackDescription[] =
1686 "Visualize overdraw by color-coding elements based on if they have other "
1687 "elements drawn underneath.";
1688
Carlos IL89128732018-04-03 17:00:251689const char kSupervisedUserCommittedInterstitialsName[] =
1690 "Enable Supervised User Committed Interstitials";
1691const char kSupervisedUserCommittedInterstitialsDescription[] =
1692 "Use committed error pages instead of transient navigation entries for "
1693 "supervised user interstitials";
1694
yiyixbdfa9a0b2017-10-23 22:21:471695const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1696const char kEnableDrawOcclusionDescription[] =
1697 "Enable the system to use draw occlusion to skip draw quads when they are "
1698 "not shown on the screen.";
1699
Brett Wilsonecb80982017-07-12 20:34:511700const char kShowSavedCopyName[] = "Show Saved Copy Button";
1701const char kShowSavedCopyDescription[] =
1702 "When a page fails to load, if a stale copy of the page exists in the "
1703 "browser cache, a button will be presented to allow the user to load that "
1704 "stale copy. The primary enabling choice puts the button in the most "
1705 "salient position on the error page; the secondary enabling choice puts it "
1706 "secondary to the reload button.";
1707const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1708const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1709const char kDisableShowSavedCopy[] = "Disable";
1710
Brett Wilsonecb80982017-07-12 20:34:511711const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1712const char kSilentDebuggerExtensionApiDescription[] =
1713 "Do not show the infobar when an extension attaches to a page via "
1714 "chrome.debugger API. This is required to debug extension background "
1715 "pages.";
1716
Tsuyoshi Horo53895ba92018-03-14 04:06:481717const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1718const char kSignedHTTPExchangeDescription[] =
1719 "Enables Origin-Signed HTTP Exchanges support which is still in "
1720 "development. Warning: Enabling this may pose a security risk.";
1721
Brett Wilsonecb80982017-07-12 20:34:511722const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1723const char kSimpleCacheBackendDescription[] =
1724 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1725 "disk space allocation.";
1726
Christopher Thompson75ff845d2018-02-01 20:12:461727const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1728const char kSimplifyHttpsIndicatorDescription[] =
1729 "Change the UI treatment for HTTPS pages.";
1730
Brett Wilsonecb80982017-07-12 20:34:511731const char kSingleClickAutofillName[] = "Single-click autofill";
1732const char kSingleClickAutofillDescription[] =
1733 "Make autofill suggestions on initial mouse click on a form element.";
1734
Bret Sepulveda4f891da2018-07-16 19:10:301735const char kSingleTabMode[] = "Single-tab mode";
1736const char kSingleTabModeDescription[] =
1737 "Windows with a single tab receive a special, minimal visual treatment.";
1738
Nick Carter855bc492018-03-10 00:44:571739const char kStrictSiteIsolationName[] = "Strict site isolation";
1740const char kStrictSiteIsolationDescription[] =
1741 "Security mode that enables site isolation for all sites. When enabled, "
1742 "each renderer process will contain pages from at most one site, using "
1743 "out-of-process iframes when needed. When enabled, this flag forces the "
1744 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1745 "isolation mode will be determined by enterprise policy or field trial.";
1746
1747const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1748const char kSiteIsolationTrialOptOutDescription[] =
1749 "Opts out of field trials that enable site isolation modes "
1750 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1751 "may be due to out-of-process iframes. Opt-out has no effect if site "
1752 "isolation is force-enabled via #enable-site-per-process or enterprise "
1753 "policy. Caution: this disables important mitigations for the Spectre CPU "
1754 "vulnerability affecting most computers.";
1755extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1756extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1757 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511758
Pattideade7972018-04-27 02:59:401759const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511760const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401761 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511762
Brett Wilsonecb80982017-07-12 20:34:511763const char kSmoothScrollingName[] = "Smooth Scrolling";
1764const char kSmoothScrollingDescription[] =
1765 "Animate smoothly when scrolling page content.";
1766
1767const char kSoftwareRasterizerName[] = "3D software rasterizer";
1768const char kSoftwareRasterizerDescription[] =
1769 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1770
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201771const char kSoleIntegrationName[] = "Sole integration";
1772const char kSoleIntegrationDescription[] =
1773 "Enable Sole integration for browser customization. You must restart "
1774 "the browser twice for changes to take effect.";
1775
Tommy Steimel77704be2017-08-28 22:14:401776const char kSoundContentSettingName[] = "Sound content setting";
1777const char kSoundContentSettingDescription[] =
1778 "Enable site-wide muting in content settings and tab strip context menu.";
1779
Alexandr Ilinf0500ed32017-09-27 21:12:361780const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1781const char kSpeculativePreconnectDescription[] =
1782 "Enable the new implementation of preconnect and DNS preresolve. "
1783 "\"Learning\" means that only database construction is enabled, "
1784 "\"Preconnect\" enables both learning and preconnect and disables the "
1785 "existing implementation. \"No preconnect\" disables both implementations.";
1786
Brett Wilsonecb80982017-07-12 20:34:511787const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341788const char kSpeculativePrefetchDescription[] =
1789 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1790 R"*(load times, based on a local database (see chrome://predictors). )*"
1791 R"*("Learning" means that only the database construction is enabled, )*"
1792 R"*("Prefetching" that learning and prefetching are enabled.)*";
1793
Justin Donnelly4e448cb2017-07-07 21:32:131794const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1795 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131796const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1797 "If enabled, when the user enters text in the omnibox that looks like a "
1798 "a query, any service worker associated with the search engine the query "
1799 "will be sent to is started early.";
1800
Brett Wilsonecb80982017-07-12 20:34:511801const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1802const char kSpellingFeedbackFieldTrialDescription[] =
1803 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401804
Carlos ILe5fa0a12018-08-03 16:08:321805const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1806const char kSSLCommittedInterstitialsDescription[] =
1807 "Use committed error pages instead of transient navigation entries "
1808 "for SSL interstitial error pages (i.e. certificate errors).";
1809
Shubhie Panickerfaf082ed2018-01-03 04:49:151810const char kStopInBackgroundName[] = "Stop in background";
1811const char kStopInBackgroundDescription[] =
1812 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281813 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151814
Shubhie Panicker56c99a22018-03-21 00:22:281815const char kStopNonTimersInBackgroundName[] =
1816 "Stop non-timer task queues background";
1817const char kStopNonTimersInBackgroundDescription[] =
1818 "Stop non-timer task queues, in the background, "
1819 "after a grace period.";
1820
Brett Wilsonecb80982017-07-12 20:34:511821const char kSuggestionsWithSubStringMatchName[] =
1822 "Substring matching for Autofill suggestions";
1823const char kSuggestionsWithSubStringMatchDescription[] =
1824 "Match Autofill suggestions based on substrings (token prefixes) rather "
1825 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341826
Marc Treibf65fb002018-08-03 11:17:161827const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1828const char kSyncStandaloneTransportDescription[] =
1829 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1830 "this mode, the Sync machinery can start without user opt-in, but only a "
1831 "subset of data types are supported.";
1832
Marc Treib4bd95e72018-08-30 06:30:581833const char kSyncSupportSecondaryAccountName[] =
1834 "Support secondary accounts for Sync standalone transport";
1835const char kSyncSupportSecondaryAccountDescription[] =
1836 "If enabled, allows Chrome Sync to start in standalone transport mode for "
1837 "a signed-in account that has not been chosen as Chrome's primary account. "
1838 "This only has an effect if sync-standalone-transport is also enabled.";
1839
Jan Krcale3641b92018-08-10 17:53:311840const char kSyncUSSAutofillWalletDataName[] =
1841 "Enable USS for autofill wallet data";
1842const char kSyncUSSAutofillWalletDataDescription[] =
1843 "Enables the new implementation of autofill walet data sync";
1844
Brett Wilsonecb80982017-07-12 20:34:511845const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1846const char kSyncSandboxDescription[] =
1847 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341848
Joe Downing8cbbc192018-05-14 17:37:071849const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1850const char kSystemKeyboardLockDescription[] =
1851 "Enables websites to use the keyboard.lock() API to intercept system "
1852 "keyboard shortcuts and have the events routed directly to the website "
1853 "when in fullscreen mode.";
1854
Brett Wilsonecb80982017-07-12 20:34:511855const char kTabAudioMutingName[] = "Tab audio muting UI control";
1856const char kTabAudioMutingDescription[] =
1857 "When enabled, the audio indicators in the tab strip double as tab audio "
1858 "mute controls. This also adds commands in the tab context menu for "
1859 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341860
Christian Dullweberd0d96f02017-09-13 09:22:511861const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1862const char kTabsInCbdDescription[] =
1863 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1864
Becky Zhou99c22802017-10-19 05:09:271865const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1866const char kTabModalJsDialogDescription[] =
1867 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1868 " tab.";
1869
Brett Wilsonecb80982017-07-12 20:34:511870const char kTcpFastOpenName[] = "TCP Fast Open";
1871const char kTcpFastOpenDescription[] =
1872 "Enable the option to send extra authentication information in the initial "
1873 "SYN packet for a previously connected client, allowing faster data send "
1874 "start.";
vabr0215a8e2017-03-28 12:47:341875
Daniele Castagna0fead93e2018-01-10 20:40:291876const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1877const char kTintGlCompositedContentDescription[] =
1878 "Tint contents composited using GL with a shade of red to help debug and "
1879 "study overlay support.";
1880
Brett Wilsonecb80982017-07-12 20:34:511881const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1882const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581883 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401884 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431885 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341886 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541887 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511888const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531889const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461890const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581891const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401892const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431893const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341894
Brett Wilsonecb80982017-07-12 20:34:511895const char kThreadedScrollingName[] = "Threaded scrolling";
1896const char kThreadedScrollingDescription[] =
1897 "Threaded handling of scroll-related input events. Disabling this will "
1898 "force all such scroll events to be handled on the main thread. Note that "
1899 "this can dramatically hurt scrolling performance of most websites and is "
1900 "intended for testing purposes only.";
1901
Steven Valdez4584b2482017-07-14 01:11:571902const char kTLS13VariantName[] = "TLS 1.3";
1903const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1904const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111905const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041906const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381907const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdezf27cb7f2018-08-21 18:34:331908const char kTLS13VariantFinal[] = "Enabled (Final)";
Steven Valdez4584b2482017-07-14 01:11:571909
Brett Wilsonecb80982017-07-12 20:34:511910const char kTopDocumentIsolationName[] = "Top document isolation";
1911const char kTopDocumentIsolationDescription[] =
1912 "Highly experimental performance mode where cross-site iframes are kept in "
1913 "a separate process from the top document. In this mode, iframes from "
1914 "different third-party sites will be allowed to share a process.";
1915
Dominick Ng8896b1cd2017-10-17 23:24:361916const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1917const char kTopSitesFromSiteEngagementDescription[] =
1918 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1919 "engagement.";
1920
Brett Wilsonecb80982017-07-12 20:34:511921const char kTouchAdjustmentName[] = "Touch adjustment";
1922const char kTouchAdjustmentDescription[] =
1923 "Refine the position of a touch gesture in order to compensate for touches "
1924 "having poor resolution compared to a mouse.";
1925
Alex Newcomerb3d3c972018-05-03 14:59:401926const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1927const char kTouchableAppContextMenuDescription[] =
1928 "Enable the touchable app context menu, which enlarges app context menus "
1929 "in the Launcher and Shelf to make room for new features.";
1930
Brett Wilsonecb80982017-07-12 20:34:511931const char kTouchDragDropName[] = "Touch initiated drag and drop";
1932const char kTouchDragDropDescription[] =
1933 "Touch drag and drop can be initiated through long press on a draggable "
1934 "element.";
1935
1936const char kTouchEventsName[] = "Touch Events API";
1937const char kTouchEventsDescription[] =
1938 "Force Touch Events API feature detection to always be enabled or "
1939 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291940 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511941
1942const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1943const char kTouchSelectionStrategyDescription[] =
1944 "Controls how text selection granularity changes when touch text selection "
1945 "handles are dragged. Non-default behavior is experimental.";
1946const char kTouchSelectionStrategyCharacter[] = "Character";
1947const char kTouchSelectionStrategyDirection[] = "Direction";
1948
1949const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1950const char kTraceUploadUrlDescription[] =
1951 "This is to be used in conjunction with the enable-navigation-tracing "
1952 "flag. Please select the label that best describes the recorded traces. "
1953 "This will choose the destination the traces are uploaded to. If you are "
1954 "not sure, select other. If left empty, no traces will be uploaded.";
1955const char kTraceUploadUrlChoiceOther[] = "Other";
1956const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1957const char kTraceUploadUrlChoiceQa[] = "QA";
1958const char kTraceUploadUrlChoiceTesting[] = "Testing";
1959
Anthony Vallee-Duboisc0a027d72018-08-30 17:11:561960const char kTranslateExplicitLanguageAskName[] =
1961 "Explicitly ask for language preferences";
1962const char kTranslateExplicitLanguageAskDescription[] =
1963 "Explicitly ask the user which languages they can read on Chrome startup, "
1964 "on the first run that doesn't already have a promo.";
1965
Anthony Vallee-Dubois265c5692018-06-01 15:57:141966const char kTranslateForceTriggerOnEnglishName[] =
1967 "Select which language model to use to trigger translate on English "
1968 "content";
1969const char kTranslateForceTriggerOnEnglishDescription[] =
1970 "Force the Translate Triggering on English pages experiment to be enabled "
1971 "with the selected language model active.";
1972
Philippe Hamel7fdaa452017-09-29 17:22:491973const char kTranslateRankerEnforcementName[] =
1974 "Enforce TranslateRanker decisions";
1975const char kTranslateRankerEnforcementDescription[] =
1976 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1977 "or not Translate UI should be triggered in a given context.";
1978
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161979const char kTranslateUIName[] = "Enable Translate";
1980const char kTranslateUIDescription[] =
1981 "Enable the Translate popup when visiting webpages in other languages.";
1982
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051983const char kTreatInsecureOriginAsSecureName[] =
1984 "Insecure origins treated as secure";
1985const char kTreatInsecureOriginAsSecureDescription[] =
1986 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1987 "supplied as a comma-separated list. For the definition of secure "
1988 "contexts, "
1989 "see https://w3c.github.io/webappsec-secure-contexts/";
1990
Brett Wilsonecb80982017-07-12 20:34:511991const char kTrySupportedChannelLayoutsName[] =
1992 "Causes audio output streams to check if channel layouts other than the "
1993 "default hardware layout are available.";
1994const char kTrySupportedChannelLayoutsDescription[] =
1995 "Causes audio output streams to check if channel layouts other than the "
1996 "default hardware layout are available. Turning this on will allow the OS "
1997 "to do stereo to surround expansion if supported. May expose third party "
1998 "driver bugs, use with caution.";
1999
David Roger6762a092018-01-31 15:55:072000const char kUnifiedConsentName[] = "Unified Consent";
2001const char kUnifiedConsentDescription[] =
2002 "Enables a unified management of user consent for privacy-related "
2003 "features. This includes new confirmation screens and improved settings "
2004 "pages.";
2005
Jérôme Lebelfe1b2e02018-08-03 12:26:202006const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
2007const char kForceUnifiedConsentBumpDescription[] =
2008 "Force the unified consent bump UI to be shown on every start-up. This "
2009 "flag is for debug purpose, to test the UI.";
2010
Brett Wilsonecb80982017-07-12 20:34:512011const char kUiPartialSwapName[] = "Partial swap";
2012const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
2013
Chris Pickel3a227ae62017-08-24 10:47:262014const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
2015const char kUseDdljsonApiDescription[] =
2016 "Enables the new ddljson API to fetch Doodles for the NTP.";
2017
Becca Hughes59c05b42017-11-03 13:11:582018const char kUseModernMediaControlsName[] = "New Media Controls";
2019const char kUseModernMediaControlsDescription[] =
2020 "Enables the new style native media controls.";
2021
Wei Li790e7a8572018-03-23 01:31:552022const char kUsePdfCompositorServiceName[] =
2023 "Use PDF compositor service for printing";
2024const char kUsePdfCompositorServiceDescription[] =
2025 "When enabled, use PDF compositor service to composite and generate PDF "
2026 "files for printing. When site isolation is enabled, disabling this will "
2027 "not stop using PDF compositor service since the service is required for "
2028 "printing out-of-process iframes correctly.";
2029
Mustaq Ahmedc646c0a2017-10-20 20:08:302030const char kUserActivationV2Name[] = "User Activation v2";
2031const char kUserActivationV2Description[] =
2032 "Enable simple user activation for APIs that are otherwise controlled by "
2033 "user gesture tokens.";
2034
Brett Wilsonecb80982017-07-12 20:34:512035const char kUserConsentForExtensionScriptsName[] =
2036 "User consent for extension scripts";
2037const char kUserConsentForExtensionScriptsDescription[] =
2038 "Require user consent for an extension running a script on the page, if "
2039 "the extension requested permission to run on all urls.";
2040
2041const char kUseSuggestionsEvenIfFewFeatureName[] =
2042 "Disable minimum for server-side tile suggestions on NTP.";
2043const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2044 "Request server-side suggestions even if there are only very few of them "
2045 "and use them for tiles on the New Tab Page.";
2046
2047const char kV8CacheOptionsName[] = "V8 caching mode.";
2048const char kV8CacheOptionsDescription[] =
2049 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512050const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2051
Hitoshi Yoshida3e5db562017-09-11 02:31:082052const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2053const char kV8ContextSnapshotDescription[] =
2054 "Sets to use a snapshot to create V8 contexts in frame creation.";
2055
Michael Hablich896d52662017-10-23 15:59:572056const char kV8VmFutureName[] = "Future V8 VM features";
2057const char kV8VmFutureDescription[] =
2058 "This enables upcoming and experimental V8 VM features. "
2059 "This flag does not enable experimental JavaScript features.";
2060
Hannes Payer1130d5672018-06-05 07:37:312061const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2062const char kV8OrinocoDescription[] =
2063 "This enables the V8 Orinoco garbage collection features.";
2064
Brett Wilsonecb80982017-07-12 20:34:512065const char kVideoFullscreenOrientationLockName[] =
2066 "Lock screen orientation when playing a video fullscreen.";
2067const char kVideoFullscreenOrientationLockDescription[] =
2068 "Lock the screen orientation of the device to match video orientation when "
2069 "a video goes fullscreen. Only on phones.";
2070
2071const char kVideoRotateToFullscreenName[] =
2072 "Rotate-to-fullscreen gesture for videos.";
2073const char kVideoRotateToFullscreenDescription[] =
2074 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2075 "the video. Only on phones.";
2076
Elly Fong-Jonesf4c79502018-03-23 19:21:532077const char kViewsBrowserWindowsName[] =
2078 "Use Views browser windows instead of Cocoa.";
2079const char kViewsBrowserWindowsDescription[] =
2080 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
2081
Brett Wilsonecb80982017-07-12 20:34:512082const char kWalletServiceUseSandboxName[] =
2083 "Use Google Payments sandbox servers";
2084const char kWalletServiceUseSandboxDescription[] =
2085 "For developers: use the sandbox service for Google Payments API calls.";
2086
Brett Wilsonecb80982017-07-12 20:34:512087const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2088const char kWebglDraftExtensionsDescription[] =
2089 "Enabling this option allows web applications to access the WebGL "
2090 "Extensions that are still in draft status.";
2091
2092const char kWebMidiName[] = "Web MIDI API";
2093const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2094
2095const char kWebPaymentsName[] = "Web Payments";
2096const char kWebPaymentsDescription[] =
2097 "Enable Web Payments API integration, a JavaScript API for merchants.";
2098
Mathieu Perreault51339b82017-07-20 17:06:052099const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2100const char kWebPaymentsModifiersDescription[] =
2101 "If the website provides modifiers in the payment request, show the custom "
2102 "total for each payment instrument, update the shopping cart when "
2103 "instruments are switched, and send modified payment method specific data "
2104 "to the payment app.";
2105
Brett Wilsonecb80982017-07-12 20:34:512106const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2107const char kWebrtcEchoCanceller3Description[] =
2108 "Experimental WebRTC echo canceller (AEC3).";
2109
Alex Loikob5fb1282018-08-14 10:04:402110const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2111const char kWebrtcHybridAgcDescription[] =
2112 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2113
Brett Wilsonecb80982017-07-12 20:34:512114const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2115const char kWebrtcHwDecodingDescription[] =
2116 "Support in WebRTC for decoding video streams using platform hardware.";
2117
2118const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2119const char kWebrtcHwEncodingDescription[] =
2120 "Support in WebRTC for encoding video streams using platform hardware.";
2121
2122const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2123const char kWebrtcHwH264EncodingDescription[] =
2124 "Support in WebRTC for encoding h264 video streams using platform "
2125 "hardware.";
2126
2127const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2128const char kWebrtcHwVP8EncodingDescription[] =
2129 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2130
Niels Möller090866a2018-02-13 10:55:032131const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2132 "WebRTC new encode cpu load estimator";
2133const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2134 "Enable new estimator for the encoder cpu load, for evaluation and "
2135 "testing. Intended to improve accuracy when screen casting.";
2136
Elad Alon85e0d0be2018-06-26 10:38:372137const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2138const char kWebRtcRemoteEventLogDescription[] =
2139 "Allow collecting WebRTC event logs and uploading them to Crash. "
2140 "Please note that, even if enabled, this will still require "
2141 "a policy to be set, for it to have an effect.";
2142
Brett Wilsonecb80982017-07-12 20:34:512143const char kWebrtcSrtpAesGcmName[] =
2144 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2145const char kWebrtcSrtpAesGcmDescription[] =
2146 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2147
Joachim Bauch4a41d7512017-08-23 14:24:232148const char kWebrtcSrtpEncryptedHeadersName[] =
2149 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2150const char kWebrtcSrtpEncryptedHeadersDescription[] =
2151 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2152 "for SRTP.";
2153
Brett Wilsonecb80982017-07-12 20:34:512154const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2155const char kWebrtcStunOriginDescription[] =
2156 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2157 "header.";
2158
Adam Riceed63fc02018-06-20 05:57:462159const char kWebSocketHandshakeReuseConnectionName[] =
2160 "Enable WebSocket connection reuse for authentication";
2161const char kWebSocketHandshakeReuseConnectionDescription[] =
2162 "Permits the WebSocket handshake to keep the connection open after an "
2163 "authentication failure. The connection may be used for further requests "
2164 "to send credentials. This is sometimes needed for Windows authentication.";
2165
Brett Wilsonecb80982017-07-12 20:34:512166const char kWebvrName[] = "WebVR";
2167const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012168 "Enables access to experimental Virtual Reality functionality via the "
2169 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2170 "Device API. Warning: Enabling this will also allow WebVR content on "
2171 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222172 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512173
Brandon Jonese9d9b2b2017-12-11 22:20:112174const char kWebXrName[] = "WebXR Device API";
2175const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012176 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2177 "and Augmented Reality (AR) devices.";
2178
2179const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2180const char kWebXrGamepadSupportDescription[] =
2181 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222182 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2183 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432184
2185const char kWebXrHitTestName[] = "WebXR Hit Test";
2186const char kWebXrHitTestDescription[] =
2187 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112188
Anna Maria57ecf7592018-01-12 03:10:402189const char kWebXrOrientationSensorDeviceName[] =
2190 "WebXR orientation sensor device";
2191const char kWebXrOrientationSensorDeviceDescription[] =
2192 "When no VR platform device is available, expose a non-presenting device "
2193 "based on the device's orientation sensors, if available.";
2194
Brett Wilsonecb80982017-07-12 20:34:512195const char kWifiCredentialSyncName[] = "WiFi credential sync";
2196const char kWifiCredentialSyncDescription[] =
2197 "Enables synchronizing WiFi network settings across devices. When enabled, "
2198 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2199 "credentials are synchronized subject to user preferences. (See also, "
2200 "chrome://settings/syncSetup.)";
2201
2202const char kZeroCopyName[] = "Zero-copy rasterizer";
2203const char kZeroCopyDescription[] =
2204 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342205
Brett Wilsonff596952017-07-14 01:06:552206// Android ---------------------------------------------------------------------
2207
2208#if defined(OS_ANDROID)
2209
2210const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2211const char kAiaFetchingDescription[] =
2212 "Enable intermediate certificate fetching when a server does not provide "
2213 "sufficient certificates to build a chain to a trusted root.";
2214
2215const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2216const char kAccessibilityTabSwitcherDescription[] =
2217 "Enable the accessibility tab switcher for Android.";
2218
2219const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2220const char kAndroidAutofillAccessibilityDescription[] =
2221 "Enable accessibility for autofill popup.";
2222
Anita Woodruffbfcd1e52018-07-16 12:00:512223const char kAppNotificationStatusMessagingName[] =
2224 "App notification status messaging";
2225const char kAppNotificationStatusMessagingDescription[] =
2226 "Enables messaging in site permissions UI informing user when "
2227 "notifications are disabled for the entire app.";
2228
Brett Wilsonff596952017-07-14 01:06:552229const char kAndroidPaymentAppsName[] = "Android payment apps";
2230const char kAndroidPaymentAppsDescription[] =
2231 "Enable third party Android apps to integrate as payment apps";
2232
Miriam Gershenson8cf1397222018-01-23 22:48:292233const char kAsyncDnsName[] = "Async DNS resolver";
2234const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2235
Brett Wilsonff596952017-07-14 01:06:552236const char kAutofillAccessoryViewName[] =
2237 "Autofill suggestions as keyboard accessory view";
2238const char kAutofillAccessoryViewDescription[] =
2239 "Shows Autofill suggestions on top of the keyboard rather than in a "
2240 "dropdown.";
2241
2242const char kBackgroundLoaderForDownloadsName[] =
2243 "Enables background downloading of pages.";
2244const char kBackgroundLoaderForDownloadsDescription[] =
2245 "Enables downloading pages in the background in case page is not yet "
2246 "loaded in current tab.";
2247
Tibor Goldschwendt11b3cf22018-07-04 15:32:442248const char kBackgroundTaskComponentUpdateName[] =
2249 "Background Task Component Updates";
2250const char kBackgroundTaskComponentUpdateDescription[] =
2251 "Schedule component updates with BackgroundTaskScheduler";
2252
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002253const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2254const char kCCTModuleDescription[] =
2255 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2256
Matthew Jones1abcb132018-07-09 17:59:462257const char kChromeDuetName[] = "Chrome Duet";
2258const char kChromeDuetDescription[] =
2259 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052260
Brett Wilsonff596952017-07-14 01:06:552261const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2262const char kChromeHomeSwipeLogicDescription[] =
2263 "Various swipe logic options for Chrome Home for sheet expansion.";
2264const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152265const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552266
Theresa8e44a7132018-06-15 17:40:592267const char kChromeModernAlternateCardLayoutName[] =
2268 "Chrome Modern Alternate Card Layout";
2269const char kChromeModernAlternateCardLayoutDescription[] =
2270 "Enable the alternate card layout for Chrome Modern Design.";
2271
Donn Denman3e78c8d2018-06-28 22:51:422272const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2273const char kChromeModernFullRollDescription[] =
2274 "Enable modern full-roll animation for Chrome.";
2275
Megan Jablonskic61eb1b82017-10-02 18:03:062276const char kChromeMemexName[] = "Chrome Memex";
2277const char kChromeMemexDescription[] =
2278 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2279 "Googlers.";
2280
Sarath Singapati83aef1c2017-11-16 15:54:522281const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2282const char kClearOldBrowsingDataDescription[] =
2283 "Enables clearing of browsing data which is older than a given time "
2284 "period.";
2285
Brett Wilsonff596952017-07-14 01:06:552286const char kContentSuggestionsCategoryOrderName[] =
2287 "Default content suggestions category order (e.g. on NTP)";
2288const char kContentSuggestionsCategoryOrderDescription[] =
2289 "Set default order of content suggestion categories (e.g. on the NTP).";
2290
2291const char kContentSuggestionsCategoryRankerName[] =
2292 "Content suggestions category ranker (e.g. on NTP)";
2293const char kContentSuggestionsCategoryRankerDescription[] =
2294 "Set category ranker to order categories of content suggestions (e.g. on "
2295 "the NTP).";
2296
Vitalii Iarkof52ff802017-09-14 12:34:242297const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2298const char kContentSuggestionsDebugLogDescription[] =
2299 "Enable content suggestions debug log accessible through "
2300 "snippets-internals.";
2301
Donn Denman8e58ead2017-11-04 01:44:012302const char kContextualSearchMlTapSuppressionName[] =
2303 "Contextual Search ML tap suppression";
2304const char kContextualSearchMlTapSuppressionDescription[] =
2305 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022306 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2307 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552308
2309const char kContextualSearchName[] = "Contextual Search";
2310const char kContextualSearchDescription[] =
2311 "Whether or not Contextual Search is enabled.";
2312
Donn Denman59729812018-01-09 01:27:022313const char kContextualSearchRankerQueryName[] =
2314 "Contextual Search Ranker prediction";
2315const char kContextualSearchRankerQueryDescription[] =
2316 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2317
2318const char kContextualSearchSecondTapName[] =
2319 "Contextual Search second tap triggering";
2320const char kContextualSearchSecondTapDescription[] =
2321 "Enables triggering on a second tap gesture even when Ranker would "
2322 "normally suppress that tap.";
2323
Donn Denmane9b5b7fb2018-07-24 22:19:492324const char kContextualSearchUnityIntegrationName[] =
2325 "Contextual Search integration with Unified Consent";
2326const char kContextualSearchUnityIntegrationDescription[] =
2327 "Enables integration of Tap to Search with Unified Consent.";
2328
Cathy Li2fb32bf82018-06-06 18:55:402329const char kExploreSitesName[] = "Explore websites";
2330const char kExploreSitesDescription[] =
2331 "Enables portal from new tab page to explore websites.";
2332
Dmitry Skiba9c3efa72017-07-20 22:01:142333const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2334const char kDontPrefetchLibrariesDescription[] =
2335 "Don't prefetch libraries after loading.";
2336
Joy Ming5fd29ca62017-10-02 22:51:222337const char kDownloadsForegroundName[] = "Enable downloads foreground";
2338const char kDownloadsForegroundDescription[] =
2339 "Enable downloads as a foreground service for all versions of Android.";
2340
Joy Ming189b0cc2017-12-08 19:42:432341const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2342const char kDownloadsLocationChangeDescription[] =
2343 "Enable changing default downloads storage location on Android.";
2344
Shakti Sahu32b2ee102018-05-17 00:04:462345const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2346const char kDownloadProgressInfoBarDescription[] =
2347 "Enables an infobar notifying users about status of current downloads.";
2348
Shakti Sahu9ec8cfd2018-07-17 13:29:292349const char kDownloadHomeV2Name[] = "Enable download home v2";
2350const char kDownloadHomeV2Description[] =
2351 "Enables the new UI for download home";
2352
Brett Wilsonff596952017-07-14 01:06:552353const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2354const char kEnableAndroidPayIntegrationV1Description[] =
2355 "Enable integration with Android Pay using the first version of the API";
2356
2357const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2358const char kEnableAndroidPayIntegrationV2Description[] =
2359 "Enable integration with Android Pay using the second version of the API";
2360
Vitalii Iarkof4ed32d2017-09-26 13:15:532361const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552362const char kEnableAndroidSpellcheckerDescription[] =
2363 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552364
Lei Tianbd5a3bf2018-02-28 19:01:162365const char kEnableCommandLineOnNonRootedName[] =
2366 "Enable command line on non-rooted devices";
2367const char kEnableCommandLineOnNoRootedDescription[] =
2368 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2369
Vitalii Iarkof4ed32d2017-09-26 13:15:532370const char kEnableContentSuggestionsNewFaviconServerName[] =
2371 "Get favicons for content suggestions from a new server.";
2372const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2373 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2374 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552375
2376const char kEnableContentSuggestionsSettingsName[] =
2377 "Show content suggestions settings.";
2378const char kEnableContentSuggestionsSettingsDescription[] =
2379 "If enabled, the content suggestions settings will be available from the "
2380 "main settings menu.";
2381
Vitalii Iarkof4ed32d2017-09-26 13:15:532382const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2383 "Use content suggestions thumbnail dominant color.";
2384const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2385 "Use content suggestions thumbnail dominant color as a placeholder before "
2386 "the real thumbnail is fetched (requires Chrome Home).";
2387
Brett Wilsonff596952017-07-14 01:06:552388const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2389const char kEnableCustomContextMenuDescription[] =
2390 "Enables a new context menu when a link, image, or video is pressed within "
2391 "Chrome.";
2392
2393const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2394const char kEnableCustomFeedbackUiDescription[] =
2395 "Enables a custom feedback UI when submitting feedback through Google "
2396 "Feedback. Works with Google Play Services v10.2+";
2397
2398const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472399 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552400const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472401 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552402
Becca Hughes6d73bac542018-06-18 20:38:502403const char kEnableMediaControlsExpandGestureName[] =
2404 "Enable Media Controls Expand Gesture";
2405const char kEnableMediaControlsExpandGestureDescription[] =
2406 "Enables a gesture to be used on the media controls to extend the video "
2407 "into the Display Cutout area.";
2408
Brett Wilsonff596952017-07-14 01:06:552409const char kEnableOmniboxClipboardProviderName[] =
2410 "Omnibox clipboard URL suggestions";
2411const char kEnableOmniboxClipboardProviderDescription[] =
2412 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2413 "focus in the omnibox.";
2414
Becky Zhoua7f11d62018-02-01 16:02:532415const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2416 "Show article suggestions expandable header on New Tab Page";
2417const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2418 "If enabled, the article suggestions content on New Tab Page can be "
2419 "toggled shown or hidden by clicking the expandable header.";
2420
Brett Wilsonff596952017-07-14 01:06:552421const char kEnableNtpAssetDownloadSuggestionsName[] =
2422 "Show asset downloads on the New Tab page";
2423const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2424 "If enabled, the list of content suggestions on the New Tab page will "
2425 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2426 "later use.";
2427
2428const char kEnableNtpBookmarkSuggestionsName[] =
2429 "Show recently visited bookmarks on the New Tab page";
2430const char kEnableNtpBookmarkSuggestionsDescription[] =
2431 "If enabled, the list of content suggestions on the New Tab page will "
2432 "contain recently visited bookmarks.";
2433
2434const char kEnableNtpForeignSessionsSuggestionsName[] =
2435 "Show recent foreign tabs on the New Tab page";
2436const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2437 "If enabled, the list of content suggestions on the New Tab page will "
2438 "contain recent foreign tabs.";
2439
Brett Wilsonff596952017-07-14 01:06:552440const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2441 "Show offline page downloads on the New Tab page";
2442const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2443 "If enabled, the list of content suggestions on the New Tab page will "
2444 "contain pages that the user downloaded for later use.";
2445
2446const char kEnableNtpRemoteSuggestionsName[] =
2447 "Show server-side suggestions on the New Tab page";
2448const char kEnableNtpRemoteSuggestionsDescription[] =
2449 "If enabled, the list of content suggestions on the New Tab page will "
2450 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2451 "allows to override the source used to retrieve these server-side "
2452 "suggestions.";
2453
2454const char kEnableNtpSnippetsVisibilityName[] =
2455 "Make New Tab Page Snippets more visible.";
2456const char kEnableNtpSnippetsVisibilityDescription[] =
2457 "If enabled, the NTP snippets will become more discoverable with a larger "
2458 "portion of the first card above the fold.";
2459
2460const char kEnableNtpSuggestionsNotificationsName[] =
2461 "Notify about new content suggestions available at the New Tab page";
2462const char kEnableNtpSuggestionsNotificationsDescription[] =
2463 "If enabled, notifications will inform about new content suggestions on "
2464 "the New Tab page.";
2465
Brett Wilsonff596952017-07-14 01:06:552466const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2467const char kEnableOfflinePreviewsDescription[] =
2468 "Enable showing offline page previews on slow networks.";
2469
2470const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2471const char kEnableOskOverscrollDescription[] =
2472 "Enable OSK overscroll support. With this flag on, the OSK will only "
2473 "resize the visual viewport.";
2474
2475const char kEnableSpecialLocaleName[] =
2476 "Enable custom logic for special locales.";
2477const char kEnableSpecialLocaleDescription[] =
2478 "Enable custom logic for special locales. In this mode, Chrome might "
2479 "behave differently in some locales.";
2480
Brett Wilsonff596952017-07-14 01:06:552481const char kEnableWebNfcName[] = "WebNFC";
2482const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2483
gogeraldf3cbb422017-07-26 14:37:122484const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2485 "Enable Web Payments method section order V2.";
2486const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2487 "Enable this option to display payment method section above address "
2488 "section instead of below it.";
2489
Raymes Khoury582b43132017-12-12 23:54:302490const char kGrantNotificationsToDSEName[] =
2491 "Grant notifications to the Default Search Engine";
2492const char kGrantNotificationsToDSENameDescription[] =
2493 "Automatically grant the notifications permission to the Default Search "
2494 "Engine";
2495
Daniel Parke74fcf862018-03-27 18:05:452496const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512497const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452498
Yafei Duanbb7663f32018-07-17 01:33:152499const char kHomepageTileName[] =
2500 "Enable Homepage tile shown in Suggested Tiles";
2501const char kHomepageTileDescription[] =
2502 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2503 "used for homepage. It will not have an effect when NTPButton is disabled.";
2504
Jian Li4b252642018-07-23 19:49:072505const char kIncognitoStringsName[] = "Alternate incognito strings";
2506const char kIncognitoStringsDescription[] =
2507 "Show alternate incognito strings if enabled.";
2508
Theresa920e0ed2018-03-07 18:12:442509const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152510 "Use the interest feed to render content suggestions. Currently "
2511 "content "
Theresa920e0ed2018-03-07 18:12:442512 "suggestions are shown on the New Tab Page.";
2513const char kInterestFeedContentSuggestionsName[] =
2514 "Interest Feed Content Suggestions";
2515
Brett Wilsonff596952017-07-14 01:06:552516const char kKeepPrefetchedContentSuggestionsName[] =
2517 "Keep prefetched content suggestions";
2518const char kKeepPrefetchedContentSuggestionsDescription[] =
2519 "If enabled, some of prefetched content suggestions are not replaced by "
2520 "the new fetched suggestions.";
2521
Leo Zhang051b75482017-12-20 03:28:302522const char kLanguagesPreferenceName[] = "Language Settings";
2523const char kLanguagesPreferenceDescription[] =
2524 "Enable this option for Language Settings feature on Android.";
2525
Charlie Ma8c2846e2018-07-27 18:44:392526const char kLongPressBackForHistoryName[] =
2527 "Long Press Back Button for History";
2528const char kLongPressBackForHistoryDescription[] =
2529 "Long press system back button to show navigation history if enabled";
2530
Charlie Ma85b22bdb2018-08-01 03:50:452531const char kLongPressBackNewDesignName[] = "Long Press Back New Design";
2532const char kLongPressBackNewDesignDescription[] =
2533 "Long press system back button to show material design refreshed navigation"
2534 " popup if enabled";
2535
Brett Wilsonff596952017-07-14 01:06:552536const char kLsdPermissionPromptName[] =
2537 "Location Settings Dialog Permission Prompt";
2538const char kLsdPermissionPromptDescription[] =
2539 "Whether to use the Google Play Services Location Settings Dialog "
2540 "permission dialog.";
2541
Amirhossein Simjour97b4154f2018-02-20 03:49:592542const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2543const char kModalPermissionDialogViewDescription[] =
2544 "Enable this option to use ModalDialogManager for permission Dialogs.";
2545
Brett Wilsonff596952017-07-14 01:06:552546const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2547const char kMediaScreenCaptureDescription[] =
2548 "Enable this option for experimental ScreenCapture feature on Android.";
2549
2550const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2551const char kModalPermissionPromptsDescription[] =
2552 "Whether to use permission dialogs in place of permission infobars.";
2553
Finnur Thorarinssonc1488fc62018-07-09 19:21:572554const char kNewContactsPickerName[] = "Enable new contacts picker";
2555const char kNewContactsPickerDescription[] =
2556 "Activates the new picker for selecting contacts.";
2557
Dan Harrington541db9e2018-07-30 18:36:302558const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2559const char kNewNetErrorPageUIDescription[] =
2560 "Selects which new UI experience to show on the net-error (Dino) page";
2561
Brett Wilsonff596952017-07-14 01:06:552562const char kNewPhotoPickerName[] = "Enable new Photopicker";
2563const char kNewPhotoPickerDescription[] =
2564 "Activates the new picker for selecting photos.";
2565
2566const char kNoCreditCardAbort[] = "No Credit Card Abort";
2567const char kNoCreditCardAbortDescription[] =
2568 "Whether or not the No Credit Card Abort is enabled.";
2569
Daniel Park990d0992018-05-18 22:12:512570const char kNtpButtonName[] = "Enable NTP Button";
2571const char kNtpButtonDescription[] =
2572 "Displays a New Tab Page button in the toolbar if enabled.";
2573
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062574const char kNtpModernLayoutName[] = "Modern NTP layout";
2575const char kNtpModernLayoutDescription[] =
2576 "Show a modern layout on the New Tab Page.";
2577
Brett Wilsonff596952017-07-14 01:06:552578const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2579const char kNtpGoogleGInOmniboxDescription[] =
2580 "Show a Google G in the omnibox on the New Tab Page.";
2581
Brett Wilsonff596952017-07-14 01:06:552582const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2583const char kOfflineBookmarksDescription[] =
2584 "Enable saving bookmarked pages for offline viewing.";
2585
Jian Li1413ebf2018-06-14 20:46:322586const char kOfflineIndicatorName[] = "Enable offline indicator";
2587const char kOfflineIndicatorDescription[] =
2588 "Enable showing offline indicator while offline.";
2589
Brett Wilsonff596952017-07-14 01:06:552590const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2591const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2592
2593const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2594const char kOfflinePagesCtV2Description[] =
2595 "V2 features include attributing pages to the app that initiated the "
2596 "custom tabs, and being able to query for pages by page attribution.";
2597
Cathy Li7311d792018-04-05 00:34:162598const char kOfflinePagesCTSuppressNotificationsName[] =
2599 "Disable download complete notification for whitelisted CCT apps.";
2600const char kOfflinePagesCTSuppressNotificationsDescription[] =
2601 "Disable download complete notification for page downloads originating "
2602 "from a CCT app whitelisted to show their own download complete "
2603 "notification.";
2604
Candice Sy74fa7a352018-03-30 23:46:492605const char kOfflinePagesDescriptiveFailStatusName[] =
2606 "Enables descriptive failed download status text.";
2607const char kOfflinePagesDescriptiveFailStatusDescription[] =
2608 "Enables failed download status text in notifications and Downloads Home "
2609 "to state the reason the request failed if the failure is actionable.";
2610
2611const char kOfflinePagesDescriptivePendingStatusName[] =
2612 "Enables descriptive pending download status text.";
2613const char kOfflinePagesDescriptivePendingStatusDescription[] =
2614 "Enables pending download status text in notifications and Downloads Home "
2615 "to state the reason the request is pending.";
2616
2617const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2618 "Enables offline pages in the downloads home to be opened in CCT.";
2619const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2620 "When enabled offline pages launched from the Downloads Home will be "
2621 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2622
Carlos Knippschild09272ecd2017-12-09 03:29:362623const char kOfflinePagesLimitlessPrefetchingName[] =
2624 "Removes resource usage limits for the prefetching of offline pages.";
2625const char kOfflinePagesLimitlessPrefetchingDescription[] =
2626 "Allows the prefetching of suggested offline pages to ignore resource "
2627 "usage limits. This allows it to completely ignore data usage limitations "
2628 "and allows downloads to happen with any kind of connection.";
2629
Brett Wilsonff596952017-07-14 01:06:552630const char kOfflinePagesLoadSignalCollectingName[] =
2631 "Enables collecting load timing data for offline page snapshots.";
2632const char kOfflinePagesLoadSignalCollectingDescription[] =
2633 "Enables loading completeness data collection while writing an offline "
2634 "page. This data is collected in the snapshotted offline page to allow "
2635 "data analysis to improve deciding when to make the offline snapshot.";
2636
2637const char kOfflinePagesPrefetchingName[] =
2638 "Enables suggested offline pages to be prefetched.";
2639const char kOfflinePagesPrefetchingDescription[] =
2640 "Enables suggested offline pages to be prefetched, so useful content is "
2641 "available while offline.";
2642
Pete Williamson7845dff2017-09-20 11:06:192643const char kOfflinePagesResourceBasedSnapshotName[] =
2644 "Enables offline page snapshots to be based on percentage of page loaded.";
2645const char kOfflinePagesResourceBasedSnapshotDescription[] =
2646 "Enables offline page snapshots to use a resource percentage based "
2647 "approach for determining when the page is loaded as opposed to a time "
2648 "based approach";
2649
Collin Baker17f92a52017-07-19 21:41:252650const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2651const char kOfflinePagesRenovationsDescription[] =
2652 "Enables offline page renovations which correct issues with dynamic "
2653 "content that occur when offlining pages that use JavaScript.";
2654
Brett Wilsonff596952017-07-14 01:06:552655const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2656const char kOfflinePagesSharingDescription[] =
2657 "Enables the saved offline pages to be shared via other applications.";
2658
Yafei Duan36b4b5b2018-08-07 00:40:032659const char kOfflinePagesLivePageSharingName[] =
2660 "Enables live page sharing of offline pages";
2661const char kOfflinePagesLivePageSharingDescription[] =
2662 "Enables to share current loaded page as offline page by saving as MHTML "
2663 "first.";
2664
Cathy Lie0d88762018-04-12 08:03:012665const char kOfflinePagesShowAlternateDinoPageName[] =
2666 "Enable alternate dino page with more user capabilities.";
2667const char kOfflinePagesShowAlternateDinoPageDescription[] =
2668 "Enables the dino page to show more buttons and offer existing offline "
2669 "content.";
2670
Brett Wilsonff596952017-07-14 01:06:552671const char kOfflinePagesSvelteConcurrentLoadingName[] =
2672 "Enables concurrent background loading on svelte.";
2673const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2674 "Enables concurrent background loading (or downloading) of pages on "
2675 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2676 "happen when the svelte device is idle.";
2677
2678const char kOffliningRecentPagesName[] =
2679 "Enable offlining of recently visited pages";
2680const char kOffliningRecentPagesDescription[] =
2681 "Enable storing recently visited pages locally for offline use. Requires "
2682 "Offline Pages to be enabled.";
2683
Lei Zhang2eca9082017-10-17 20:42:502684const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2685const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552686 "Enable Pay with Google integration into Web Payments with API version "
2687 "'1'.";
2688
Matthew Jonesa88b95852017-11-08 23:13:502689const char kProgressBarThrottleName[] = "Android progress update throttling.";
2690const char kProgressBarThrottleDescription[] =
2691 "Limit the maximum progress update to make progress appear smoother.";
2692
Brett Wilsonff596952017-07-14 01:06:552693const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2694const char kPullToRefreshEffectDescription[] =
2695 "Page reloads triggered by vertically overscrolling content.";
2696
Piotr Swigon7c296ef2017-08-29 04:32:002697const char kPwaImprovedSplashScreenName[] =
2698 "Improved Splash Screen for standalone PWAs";
2699const char kPwaImprovedSplashScreenDescription[] =
2700 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2701 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492702const char kPwaPersistentNotificationName[] =
2703 "Persistent notification in standalone PWA";
2704const char kPwaPersistentNotificationDescription[] =
2705 "Enables a persistent Android notification for standalone PWAs";
2706
Brett Wilsonff596952017-07-14 01:06:552707const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2708const char kReaderModeHeuristicsDescription[] =
2709 "Determines what pages the Reader Mode infobar is shown on.";
2710const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2711const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2712const char kReaderModeHeuristicsAllArticles[] = "All articles";
2713const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2714const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2715
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182716const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2717const char kReaderModeInCCTDescription[] =
2718 "Open Reader Mode in Chrome Custom Tabs.";
2719
Brett Wilsonff596952017-07-14 01:06:552720const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2721const char kSetMarketUrlForTestingDescription[] =
2722 "When enabled, sets the market URL for use in testing the update menu "
2723 "item.";
2724
2725const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2726const char kSpannableInlineAutocompleteDescription[] =
2727 "A new type of inline autocomplete for the omnibox that works with "
2728 "keyboards that compose text.";
2729
Theresaeea05a12018-05-09 21:01:592730const char kSimplifiedNtpName[] = "Simplified NTP";
2731const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2732
2733const char kSiteExplorationUiName[] = "Site Exploration UI";
2734const char kSiteExplorationUiDescription[] =
2735 "Show site suggestions in the Exploration UI";
2736
Brett Wilsonff596952017-07-14 01:06:552737const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2738const char kUpdateMenuBadgeDescription[] =
2739 "When enabled, an update badge will be shown on the app menu button.";
2740
2741const char kUpdateMenuItemCustomSummaryDescription[] =
2742 "When this flag and the force show update menu item flag are enabled, a "
2743 "custom summary string will be displayed below the update menu item.";
2744const char kUpdateMenuItemCustomSummaryName[] =
2745 "Update menu item custom summary";
2746
2747const char kUpdateMenuItemName[] = "Force show update menu item";
2748const char kUpdateMenuItemDescription[] =
2749 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2750 R"*(menu.)*";
2751
Amirhossein Simjourd78bbcf2018-02-02 16:23:392752const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2753const char kVrBrowsingNativeAndroidUiDescription[] =
2754 "Enable Android UI elements in VR.";
2755
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462756const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2757const char kVrBrowsingTabsViewDescription[] =
2758 "Enable tab overview (tab switcher) in VR.";
2759
Marc Treib93af46a2017-08-23 13:30:002760const char kThirdPartyDoodlesName[] =
2761 "Enable Doodles for third-party search engines";
2762const char kThirdPartyDoodlesDescription[] =
2763 "Enables fetching and displaying Doodles on the NTP for third-party search "
2764 "engines.";
2765
Klaus Weidneraaf697f2018-01-18 20:07:362766const char kWebXrRenderPathName[] = "WebXR presentation render path";
2767const char kWebXrRenderPathDescription[] =
2768 "Render path to use for WebXR presentation (including WebVR)";
2769const char kWebXrRenderPathChoiceClientWaitDescription[] =
2770 "ClientWait (Baseline)";
2771const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2772 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072773const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2774 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362775
Brett Wilson7b44537e2017-08-18 01:38:282776// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552777
Brett Wilson7b44537e2017-08-18 01:38:282778#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482779
Brett Wilson7b44537e2017-08-18 01:38:282780const char kAccountConsistencyName[] =
2781 "Identity consistency between browser and cookie jar";
2782const char kAccountConsistencyDescription[] =
2783 "When enabled, the browser manages signing in and out of Google accounts.";
2784const char kAccountConsistencyChoiceMirror[] = "Mirror";
2785const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342786
Tommy Martino3fa3df52018-08-20 21:45:442787const char kAutofillDropdownLayoutName[] =
2788 "Autofill Dropdown Layout Experiment";
2789const char kAutofillDropdownLayoutDescription[] =
2790 "Alternate visual designs for the Autofill dropdown.";
2791
Chris Pickel3a227ae62017-08-24 10:47:262792const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2793const char kDoodlesOnLocalNtpDescription[] =
2794 "Show doodles on the local New Tab page if Google is the default search "
2795 "engine.";
2796
mlamouriff56c092017-05-11 15:31:392797const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392798const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342799 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392800const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392801const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392802const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342803 "Enabled (Flash lowers volume when interrupted by other sound, "
2804 "experimental)";
2805
Sebastien Marchandd33f7dc2018-06-22 22:07:062806const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2807const char kInfiniteSessionRestoreDescription[] =
2808 "Reduces the number of tabs being loaded simultaneously during session "
2809 "restore, to improve responsiveness of the foreground tab. This requires "
2810 "#enable-page-almost-idle.";
2811
Brett Wilson7b44537e2017-08-18 01:38:282812const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2813const char kEnableNewAppMenuIconDescription[] =
2814 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342815
Sebastien Marchandd33f7dc2018-06-22 22:07:062816const char kEnableWebAuthenticationCtap2SupportName[] =
2817 "Enable Web Authentication API support for CTAP2 security keys";
2818const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472819 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062820
2821const char kEnableWebAuthenticationTestingAPIName[] =
2822 "Web Authentication Testing API";
2823const char kEnableWebAuthenticationTestingAPIDescription[] =
2824 "Enable Web Authentication Testing API support, which disconnects the API "
2825 "implementation from the real world, and allows configuring virtual "
2826 "authenticator devices for testing";
2827
Jeffrey Cohenf04130a42018-08-29 00:22:272828const char kHappinessTrackingSurveysForDesktopName[] =
2829 "Happiness Tracking Surveys";
2830const char kHappinessTrackingSurveysForDesktopDescription[] =
2831 "Enable showing Happiness Tracking Surveys to users on Desktop";
2832
Dave Schuyler598a4a42018-01-04 02:15:102833const char kOmniboxRichEntitySuggestionsName[] =
2834 "Omnibox rich entity suggestions";
2835const char kOmniboxRichEntitySuggestionsDescription[] =
2836 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212837 "more context and descriptive text about the entity. Has no effect unless "
2838 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2839 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102840
Travis Skarebcdb5ed32018-08-17 01:49:402841const char kOmniboxDriveSuggestionsName[] =
2842 "Omnibox Google Drive Document suggestions";
2843const char kOmniboxDriveSuggestionsDescriptions[] =
2844 "Display suggestions for Google Drive documents in the omnibox when Google "
2845 "is the default search engine.";
2846
Dave Schuyler616273d2018-04-19 03:12:522847const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2848const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212849 "Display answers using an enhanced layout with larger images. Has no "
2850 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2851 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522852
Orin Jaworski04c08b42018-07-11 02:39:562853const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2854const char kOmniboxReverseAnswersDescription[] =
2855 "Display answers with rows reversed (swapped); except definitions. Has no "
2856 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2857 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2858
Kevin Bailey898669972017-11-06 15:34:492859const char kOmniboxTabSwitchSuggestionsName[] =
2860 "Omnibox tab switch suggestions";
2861const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212862 "Enable suggestions for switching to open tabs within the Omnibox. "
2863 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2864 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492865
krbcc621412017-06-01 19:40:282866const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2867const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192868 "Enable receiving tail suggestions, a type of search suggestion based on "
2869 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342870
Sebastien Marchandd33f7dc2018-06-22 22:07:062871const char kPageAlmostIdleName[] = "Page Almost Idle";
2872const char kPageAlmostIdleDescription[] =
2873 "Make session restore use a definition of loading that waits for CPU and "
2874 "network quiescence.";
2875
2876const char kProactiveTabFreezeAndDiscardName[] =
2877 "Proactive Tab Freeze and Discard";
2878const char kProactiveTabFreezeAndDiscardDescription[] =
2879 "Enables proactive tab freezing and discarding. This requires "
2880 "#enable-page-almost-idle.";
2881
2882const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2883const char kSiteCharacteristicsDatabaseDescription[] =
2884 "Records usage of some features in a database while a tab is in background "
2885 "(title/favicon update, audio playback or usage of non-persistent "
2886 "notifications).";
2887
Brett Wilson7b44537e2017-08-18 01:38:282888const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2889const char kUseGoogleLocalNtpDescription[] =
2890 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322891
Brett Wilson7b44537e2017-08-18 01:38:282892const char kVoiceSearchOnLocalNtpName[] =
2893 "Enable Voice Search on the local NTP";
2894const char kVoiceSearchOnLocalNtpDescription[] =
2895 "Show a microphone for voice search on the local New Tab page "
2896 "if Google is the default search engine.";
2897
2898#if defined(GOOGLE_CHROME_BUILD)
2899
2900const char kGoogleBrandedContextMenuName[] =
2901 "Google branding in the context menu";
2902const char kGoogleBrandedContextMenuDescription[] =
2903 "Shows a Google icon next to context menu items powered by Google "
2904 "services.";
2905
2906#endif // !defined(GOOGLE_CHROME_BUILD)
2907
2908#endif // !defined(OS_ANDROID)
2909
2910// Windows ---------------------------------------------------------------------
2911
2912#if defined(OS_WIN)
2913
2914const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2915const char kCloudPrintXpsDescription[] =
2916 "XPS enables advanced options for classic printers connected to the Cloud "
2917 "Print with Chrome. Printers must be re-connected after changing this "
2918 "flag.";
2919
2920const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2921const char kDisablePostscriptPrintingDescription[] =
2922 "Disables PostScript generation when printing to PostScript capable "
2923 "printers, and uses EMF generation in its place.";
2924
2925const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2926const char kEnableAppcontainerDescription[] =
2927 "Enables the use of an AppContainer on sandboxed processes to improve "
2928 "security.";
2929
Brett Wilson7b44537e2017-08-18 01:38:282930const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2931const char kEnableDesktopIosPromotionsDescription[] =
2932 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2933 "eligible.";
2934
James Forshawfd0ce342018-02-14 09:55:392935const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2936const char kEnableGpuAppcontainerDescription[] =
2937 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2938 "improve security.";
2939
Brett Wilson7b44537e2017-08-18 01:38:282940const char kGdiTextPrinting[] = "GDI Text Printing";
2941const char kGdiTextPrintingDescription[] =
2942 "Use GDI to print text as simply text";
2943
Henrik Grunell67e56ef2018-04-10 14:04:092944const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2945const char kIncreaseInputAudioBufferSizeDescription[] =
2946 "Increases the input audio endpoint buffer to 100 ms.";
2947
Brett Wilson7b44537e2017-08-18 01:38:282948const char kTraceExportEventsToEtwName[] =
2949 "Enable exporting of tracing events to ETW.";
2950const char kTraceExportEventsToEtwDesription[] =
2951 "If enabled, trace events will be exported to the Event Tracing for "
2952 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2953 "Xperf.";
2954
2955const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2956const char kUseWinrtMidiApiDescription[] =
2957 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2958 "later).";
2959
2960const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2961const char kWindows10CustomTitlebarDescription[] =
2962 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2963 "deferring to Windows.";
2964
2965#endif // defined(OS_WIN)
2966
2967// Mac -------------------------------------------------------------------------
2968
2969#if defined(OS_MACOSX)
2970
Brett Wilson7b44537e2017-08-18 01:38:282971const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2972const char kAppWindowCyclingDescription[] =
2973 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2974 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2975 "browser window, and browser windows will not be cycled when a Chrome App "
2976 "is active.";
2977
Brett Wilson7b44537e2017-08-18 01:38:282978const char kFullscreenToolbarRevealName[] =
2979 "Enables the toolbar in fullscreen to reveal itself.";
2980const char kFullscreenToolbarRevealDescription[] =
2981 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2982 "has changed.";
2983
2984const char kContentFullscreenName[] = "Improved Content Fullscreen";
2985const char kContentFullscreenDescription[] =
2986 "Fullscreen content window detaches from main browser window and goes to "
2987 "a new space without moving or changing the original browser window.";
2988
Lei Zhang2eca9082017-10-17 20:42:502989const char kDialogTouchBarName[] = "Dialog Touch Bar";
2990const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282991 "Shows Dialog buttons on the Touch Bar.";
2992
Martin Kreichgauer1ca416d2018-07-11 00:43:192993const char kEnableWebAuthenticationTouchIdName[] =
2994 "Web Authentication API Touch ID support";
2995const char kEnableWebAuthenticationTouchIdDescription[] =
2996 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2997
Brett Wilson7b44537e2017-08-18 01:38:282998const char kHostedAppsInWindowsName[] =
2999 "Allow hosted apps to be opened in windows";
3000const char kHostedAppsInWindowsDescription[] =
3001 "Allows hosted apps to be opened in windows instead of being limited to "
3002 "tabs.";
3003
Lei Zhang2eca9082017-10-17 20:42:503004const char kMacRTLName[] = "Enable RTL";
3005const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:283006
Lei Zhang2eca9082017-10-17 20:42:503007const char kMacTouchBarName[] = "Hardware Touch Bar";
3008const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:283009
3010const char kMacV2SandboxName[] = "Mac V2 Sandbox";
3011const char kMacV2SandboxDescription[] =
3012 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
3013 "entire life cycle.";
3014
3015const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
3016const char kMacViewsNativeAppWindowsDescription[] =
3017 "Controls whether to use Toolkit-Views based Chrome App windows.";
3018
3019const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
3020const char kMacViewsTaskManagerDescription[] =
3021 "Controls whether to use the Toolkit-Views based Task Manager.";
3022
3023const char kTabDetachingInFullscreenName[] =
3024 "Allow tab detaching in fullscreen";
3025const char kTabDetachingInFullscreenDescription[] =
3026 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
3027
3028const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
3029const char kTabStripKeyboardFocusDescription[] =
3030 "Enable keyboard focus for the tabs in the tab strip.";
3031
Tessa Nijssen4db9799e2018-08-06 21:04:383032const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
3033const char kTextSuggestionsTouchBarDescription[] =
3034 "Enable text suggestions touch bar for textfields.";
3035
Brett Wilson7b44537e2017-08-18 01:38:283036#endif
3037
3038// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:343039
3040#if defined(OS_CHROMEOS)
3041
Brett Wilson7b44537e2017-08-18 01:38:283042const char kAcceleratedMjpegDecodeName[] =
3043 "Hardware-accelerated mjpeg decode for captured frame";
3044const char kAcceleratedMjpegDecodeDescription[] =
3045 "Enable hardware-accelerated mjpeg decode for captured frame where "
3046 "available.";
vabr0215a8e2017-03-28 12:47:343047
Brett Wilson7b44537e2017-08-18 01:38:283048const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3049const char kAllowTouchpadThreeFingerClickDescription[] =
3050 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343051
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523052const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3053const char kArcAvailableForChildDescription[] =
3054 "Allow child accounts to start Android apps.";
3055
Brett Wilson7b44537e2017-08-18 01:38:283056const char kArcBootCompleted[] = "Load Android apps automatically";
3057const char kArcBootCompletedDescription[] =
3058 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343059
Luum Habtemariamdaa8fd22018-06-25 22:39:433060const char kArcCupsApiName[] = "ARC CUPS API";
3061const char kArcCupsApiDescription[] =
3062 "Enables support of libcups APIs from ARC";
3063
Yuichiro Hanada0b63f062018-07-12 02:18:333064const char kArcInputMethodName[] = "Enable ARC input methods.";
3065const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3066
Lev Rumyantsev7a8544312017-08-18 19:26:513067const char kArcNativeBridgeExperimentName[] =
3068 "Enable native bridge experiment for ARC";
3069const char kArcNativeBridgeExperimentDescription[] =
3070 "Enables experimental native bridge feature.";
3071
lgchengecd1c1a62018-01-09 02:59:463072const char kArcUsbHostName[] = "Enable ARC USB host integration";
3073const char kArcUsbHostDescription[] =
3074 "Allow Android apps to use USB host feature on ChromeOS devices.";
3075
Kevin Cernekeeb7f96a52017-10-25 17:40:183076const char kArcVpnName[] = "Enable ARC VPN integration";
3077const char kArcVpnDescription[] =
3078 "Allow Android VPN clients to tunnel Chrome traffic.";
3079
Qiang Xu045aff222018-05-21 23:21:013080const char kAshDisableLoginDimAndBlurName[] =
3081 "Disable dimming and blur on login screen.";
3082const char kAshDisableLoginDimAndBlurDescription[] =
3083 "Disable dimming and blur on login screen.";
3084
3085const char kAshDisableSmoothScreenRotationName[] =
3086 "Disable smooth rotation animations.";
3087const char kAshDisableSmoothScreenRotationDescription[] =
3088 "Disable smooth rotation animations.";
3089
3090const char kAshEnableDisplayMoveWindowAccelsName[] =
3091 "Enable shortcuts for moving window between displays.";
3092const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3093 "Enable shortcuts for moving window between displays.";
3094
3095const char kAshEnableKeyboardShortcutViewerName[] =
3096 "Enable keyboard shortcut viewer.";
3097const char kAshEnableKeyboardShortcutViewerDescription[] =
3098 "Enable keyboard shortcut viewer.";
3099
3100const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3101const char kAshEnableMirroredScreenDescription[] =
3102 "Enable the mirrored screen mode. This mode flips the screen image "
3103 "horizontally.";
3104
Qiang Xu045aff222018-05-21 23:21:013105const char kAshEnablePersistentWindowBoundsName[] =
3106 "Enable persistent window bounds in multi-displays scenario.";
3107const char kAshEnablePersistentWindowBoundsDescription[] =
3108 "Enable persistent window bounds in multi-displays scenario.";
3109
3110const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3111const char kAshEnableTrilinearFilteringDescription[] =
3112 "Enable trilinear filtering.";
3113
Brett Wilson7b44537e2017-08-18 01:38:283114const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3115const char kAshEnableUnifiedDesktopDescription[] =
3116 "Enable unified desktop mode which allows a window to span multiple "
3117 "displays.";
vabr0215a8e2017-03-28 12:47:343118
Mike Wassermanfcc47e42018-06-14 21:24:423119const char kAshKeyboardShortcutViewerAppName[] =
3120 "Keyboard Shortcut Viewer mojo app";
3121const char kAshKeyboardShortcutViewerAppDescription[] =
3122 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3123
Qiang Xu045aff222018-05-21 23:21:013124const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3125const char kAshShelfColorDescription[] =
3126 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3127 "--ash-shelf-color-scheme flag defines how that color is derived.";
3128
3129const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3130const char kAshShelfColorSchemeDescription[] =
3131 "Specify how the color is derived from the wallpaper. This flag is only "
3132 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3133const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3134const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3135const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3136const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3137const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3138const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3139
Sean Kau5e956192017-10-06 22:25:173140const char kBulkPrintersName[] = "Bulk Printers Policy";
3141const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3142
Brett Wilson7b44537e2017-08-18 01:38:283143const char kCaptivePortalBypassProxyName[] =
3144 "Bypass proxy for Captive Portal Authorization";
3145const char kCaptivePortalBypassProxyDescription[] =
3146 "If proxy is configured, it usually prevents from authorization on "
3147 "different captive portals. This enables opening captive portal "
3148 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343149
Yuki Awanob51d3252018-07-11 23:45:553150const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3151const char kChromeVoxArcSupportDescription[] =
3152 "Use ChromeVox screen reader features in ARC";
3153
Brett Wilson7b44537e2017-08-18 01:38:283154const char kCrOSComponentName[] = "Chrome OS Component";
3155const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083156 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343157
Xiaochu Liu51d03fd2017-09-08 23:51:023158const char kCrOSContainerName[] = "Chrome OS Container";
3159const char kCrOSContainerDescription[] =
3160 "Enable the use of Chrome OS Container utility.";
3161
Brett Wilson7b44537e2017-08-18 01:38:283162const char kCrosRegionsModeName[] = "Cros-regions load mode";
3163const char kCrosRegionsModeDescription[] =
3164 "This flag controls cros-regions load mode";
3165const char kCrosRegionsModeDefault[] = "Default";
3166const char kCrosRegionsModeOverride[] = "Override VPD values.";
3167const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343168
Jacob Dufault2becbc482017-08-25 00:36:353169const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3170const char kDisableLockScreenAppsDescription[] =
3171 "Disable new-note action handler apps on the lock screen. The user will "
3172 "not be able to launch the preferred note-taking action from the lock "
3173 "screen, provided that the app supports lock screen note taking.";
3174
Qiang Xu045aff222018-05-21 23:21:013175const char kDisableSystemTimezoneAutomaticDetectionName[] =
3176 "SystemTimezoneAutomaticDetection policy support";
3177const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3178 "Disable system timezone automatic detection device policy.";
3179
Sammie Quonef6b4882017-09-14 16:50:053180const char kDisableTabletAutohideTitlebarsName[] =
3181 "Disable autohide titlebars in tablet mode";
3182const char kDisableTabletAutohideTitlebarsDescription[] =
3183 "Disable tablet mode autohide titlebars functionality. The user will be "
3184 "able to see the titlebar in tablet mode.";
3185
Xiaoqian Dai24b33eb2018-04-10 21:01:573186const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3187const char kDisableTabletSplitViewDescription[] =
3188 "Disable split view for Chrome OS tablet mode.";
3189
Daniel Zhang01399072018-08-16 22:28:203190const char kEnableAppListSearchAutocompleteName[] =
3191 "App List Search Autocomplete";
3192const char kEnableAppListSearchAutocompleteDescription[] =
3193 "Allow App List search box to autocomplete queries for Google searches and "
3194 "apps.";
3195
Qiang Xu53d1a5832018-05-24 18:44:193196const char kEnableAppShortcutSearchName[] =
3197 "Enable app shortcut search in launcher";
3198const char kEnableAppShortcutSearchDescription[] =
3199 "Enables app shortcut search in launcher";
3200
Weidong Guo00d0b2b2018-06-07 00:39:303201const char kEnableAppsGridGapFeatureName[] =
3202 "Enable apps grid gap feature in launcher.";
3203const char kEnableAppsGridGapFeatureDescription[] =
3204 "Enables gaps at the end of each page and enables dragging an item to an "
3205 "empty page in launcher.";
3206
Lei Zhang2eca9082017-10-17 20:42:503207const char kEnableBackgroundBlurName[] = "Enable background blur.";
3208const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423209 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393210
Kushagra Sinha8a181fc2018-08-20 17:15:493211extern const char kEnableChromeOsAccountManagerName[] =
3212 "Enable Account Manager";
3213extern const char kEnableChromeOsAccountManagerDescription[] =
3214 "Enables the Chrome OS Account Manager";
3215
Sammie Quon248ccef2018-08-28 23:00:013216extern const char kEnableContinueReadingName[] = "Enable continue reading";
3217extern const char kEnableContinueReadingDescription[] =
3218 "Enable continue reading feature in Launcher, which allows users to "
3219 "seamlessly continue reading a web page when they switch devices from "
3220 "phones or tablets to Chromebooks.";
3221
Min Chenc2ec7282018-06-29 21:38:463222const char kEnableDragAppsInTabletModeName[] =
3223 "Enable dragging apps in tablet mode";
3224const char kEnableDragAppsInTabletModeDescription[] =
3225 "If enabled, swiping down from the top of the screen when an app is opened "
3226 "in tablet mode can drag the app.";
3227
Xiaoqian Dai82d99192018-05-25 18:51:353228const char kEnableDragTabsInTabletModeName[] =
3229 "Enable dragging tabs in tablet mode";
3230const char kEnableDragTabsInTabletModeDescription[] =
3231 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3232
Sam McNally201fbf94e2018-07-04 03:15:203233const char kEnableDriveFsName[] = "Enable DriveFS";
3234const char kEnableDriveFsDescription[] =
3235 "Enables use of the new DriveFS-based Drive sync client.";
3236
Brett Wilson7b44537e2017-08-18 01:38:283237const char kEnableEhvInputName[] =
3238 "Emoji, handwriting and voice input on opt-in IME menu";
3239const char kEnableEhvInputDescription[] =
3240 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343241
Brett Wilson7b44537e2017-08-18 01:38:283242const char kEnableEncryptionMigrationName[] =
3243 "Enable encryption migration of user data";
3244const char kEnableEncryptionMigrationDescription[] =
3245 "If enabled and the device supports ARC, the user will be asked to update "
3246 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343247
Blake O'Hare9e9317b22017-10-24 02:49:353248const char kEnableFloatingVirtualKeyboardName[] =
3249 "Enable floating virtual keyboard";
3250const char kEnableFloatingVirtualKeyboardDescription[] =
3251 "If enabled, the keyboard will use floating behavior by default.";
3252
Qiang Xu045aff222018-05-21 23:21:013253const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3254 "Enable full screen handwriting virtual keyboard";
3255const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3256 "If enabled, the handwriting virtual keyboard will allow user to write "
3257 "anywhere on the screen";
3258
3259const char kEnableHomeLauncherName[] = "Enable home launcher";
3260const char kEnableHomeLauncherDescription[] =
3261 "Enable home launcher in tablet mode.";
3262
Sammie Quon248ccef2018-08-28 23:00:013263extern const char kEnableHomeLauncherGesturesName[] =
3264 "Enable home launcher gestures";
3265extern const char kEnableHomeLauncherGesturesDescription[] =
3266 "Enables using gestures to hide or show the home launcher.";
3267
Brett Wilson7b44537e2017-08-18 01:38:283268const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3269const char kEnableImeMenuDescription[] =
3270 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343271
Weidong Guo45836d1b2018-06-27 23:51:163272const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3273const char kEnableNewStyleLauncherDescription[] =
3274 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3275 "in app launcher.";
3276
Qiang Xu045aff222018-05-21 23:21:013277const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3278const char kEnableNewWallpaperPickerDescription[] =
3279 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3280
Sammie Quon248ccef2018-08-28 23:00:013281const char kEnableOobeRecommendAppsScreenName[] =
3282 "Enable OOBE Recommend Apps Screen";
3283const char kEnableOobeRecommendAppsScreenDescription[] =
3284 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3285 "from other devices";
3286
Qiang Xu045aff222018-05-21 23:21:013287const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3288const char kEnablePerUserTimezoneDescription[] =
3289 "Chrome OS system timezone preference is stored and handled for each user "
3290 "individually.";
3291
3292const char kEnableSettingsShortcutSearchName[] =
3293 "Enable Settings shortcut search";
3294const char kEnableSettingsShortcutSearchDescription[] =
3295 "Enable Settings shortcut search in launcher.";
3296
Darren Shen3e49c63d2018-03-28 04:45:503297const char kEnableStylusVirtualKeyboardName[] =
3298 "Enable stylus virtual keyboard";
3299const char kEnableStylusVirtualKeyboardDescription[] =
3300 "If enabled, tapping with a stylus will show the handwriting virtual "
3301 "keyboard.";
3302
Jordy Greenblatt2f23df22018-02-22 19:49:193303const char kEnableUnifiedMultiDeviceSettingsName[] =
3304 "Enable unified MultiDevice settings";
3305const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3306 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3307 "MultiDevice settings.";
3308
3309const char kEnableUnifiedMultiDeviceSetupName[] =
3310 "Enable unified MultiDevice setup";
3311const char kEnableUnifiedMultiDeviceSetupDescription[] =
3312 "Enable the device to setup all MultiDevice services in a single workflow.";
3313
Darren Shen11c770f312018-06-13 07:36:393314const char kEnableVirtualKeyboardMdUiName[] =
3315 "Enable Material Design virtual keyboard";
3316const char kEnableVirtualKeyboardMdUiDescription[] =
3317 "If enabled, loads the Material Design UI for the virtual keyboard.";
3318
Darren Shen0b4e5802018-07-10 03:12:263319const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3320const char kEnableVirtualKeyboardUkmDescription[] =
3321 "Enables UKM for virtual keyboard";
3322
Sammie Quon248ccef2018-08-28 23:00:013323extern const char kEnableZeroStateSuggestionsName[] =
3324 "Enable Zero State Suggetions";
3325extern const char kEnableZeroStateSuggestionsDescription[] =
3326 "Enable Zero State Suggestions feature in Launcher, which will show "
3327 "suggetions when launcher search box is active with an empty query";
3328
Klemen Kozjek05fc4512017-10-18 12:51:103329const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3330const char kEnableZipArchiverPackerDescription[] =
3331 "Enable the ability to archive files on Drive in the Files app";
3332
Brett Wilson7b44537e2017-08-18 01:38:283333const char kEolNotificationName[] = "Disable Device End of Life notification.";
3334const char kEolNotificationDescription[] =
3335 "Disable Notifcation when Device is End of Life.";
3336
3337const char kExperimentalAccessibilityFeaturesName[] =
3338 "Experimental accessibility features";
3339const char kExperimentalAccessibilityFeaturesDescription[] =
3340 "Enable additional accessibility features in the Settings page.";
3341
3342const char kExperimentalInputViewFeaturesName[] =
3343 "Experimental input view features";
3344const char kExperimentalInputViewFeaturesDescription[] =
3345 "Enable experimental features for IME input views.";
3346
3347const char kFileManagerTouchModeName[] = "Files App. touch mode";
3348const char kFileManagerTouchModeDescription[] =
3349 "Touchscreen-specific interactions of the Files app.";
3350
3351const char kFirstRunUiTransitionsName[] =
3352 "Animated transitions in the first-run tutorial";
3353const char kFirstRunUiTransitionsDescription[] =
3354 "Transitions during first-run tutorial are animated.";
3355
Brett Wilson7b44537e2017-08-18 01:38:283356const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3357const char kForceEnableStylusToolsDescription[] =
3358 "Forces display of the stylus tools menu in the shelf and the stylus "
3359 "section in settings, even if there is no attached stylus device.";
3360
3361const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3362const char kGestureEditingDescription[] =
3363 "Enable/Disable gesture editing option in the settings page for the "
3364 "virtual keyboard.";
3365
3366const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3367const char kGestureTypingDescription[] =
3368 "Enable/Disable gesture typing option in the settings page for the virtual "
3369 "keyboard.";
3370
3371const char kInputViewName[] = "Input views";
3372const char kInputViewDescription[] =
3373 "Enable IME extensions to supply custom views for user input such as "
3374 "virtual keyboards.";
3375
Megumi Hattori5a0d4182018-03-06 11:09:503376const char kLockScreenNotificationName[] = "Lock screen notification";
3377const char kLockScreenNotificationDescription[] =
3378 "Enable notifications on the lock screen.";
3379
Qiang Xu045aff222018-05-21 23:21:013380const char kMaterialDesignInkDropAnimationSpeedName[] =
3381 "Material design ink drop animation speed";
3382const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3383 "Sets the speed of the experimental visual feedback animations for "
3384 "material design.";
3385const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3386const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3387
Brett Wilson7b44537e2017-08-18 01:38:283388const char kMemoryPressureThresholdName[] =
3389 "Memory discard strategy for advanced pressure handling";
3390const char kMemoryPressureThresholdDescription[] =
3391 "Memory discarding strategy to use";
3392const char kConservativeThresholds[] =
3393 "Conservative memory pressure release strategy";
3394const char kAggressiveCacheDiscardThresholds[] =
3395 "Aggressive cache release strategy";
3396const char kAggressiveTabDiscardThresholds[] =
3397 "Aggressive tab release strategy";
3398const char kAggressiveThresholds[] =
3399 "Aggressive tab and cache release strategy";
3400
3401const char kMtpWriteSupportName[] = "MTP write support";
3402const char kMtpWriteSupportDescription[] =
3403 "MTP write support in File System API (and file manager). In-place editing "
3404 "operations are not supported.";
3405
Kyle Horimoto027590fb2018-02-13 22:19:483406const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3407const char kMultiDeviceApiDescription[] =
3408 "Enable Mojo-based API which provides synced device metadata and the "
3409 "ability to connect to other devices associated the logged-in Google "
3410 "account.";
3411
Bailey Berrodca8eeca02017-11-18 00:49:123412const char kNativeSmbName[] = "Native Smb Client";
3413const char kNativeSmbDescription[] =
3414 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303415
vabr0215a8e2017-03-28 12:47:343416const char kNetworkPortalNotificationName[] =
3417 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343418const char kNetworkPortalNotificationDescription[] =
3419 "If enabled, notification is displayed when device is connected to a "
3420 "network behind captive portal.";
3421
Brett Wilson7b44537e2017-08-18 01:38:283422const char kNewKoreanImeName[] = "New Korean IME";
3423const char kNewKoreanImeDescription[] =
3424 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343425
Brett Wilson7b44537e2017-08-18 01:38:283426const char kNewZipUnpackerName[] = "New ZIP unpacker";
3427const char kNewZipUnpackerDescription[] =
3428 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343429
Qiang Xu045aff222018-05-21 23:21:013430const char kOfficeEditingComponentAppName[] =
3431 "Office Editing for Docs, Sheets & Slides";
3432const char kOfficeEditingComponentAppDescription[] =
3433 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3434
Brett Wilson7b44537e2017-08-18 01:38:283435const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3436const char kPhysicalKeyboardAutocorrectDescription[] =
3437 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3438 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343439
3440const char kPrinterProviderSearchAppName[] =
3441 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343442const char kPrinterProviderSearchAppDescription[] =
3443 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193444 "searches Chrome Web Store for extensions that support printing to a USB "
3445 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343446
Brett Wilson7b44537e2017-08-18 01:38:283447const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3448const char kQuickUnlockPinDescription[] =
3449 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3450 "device on the lock screen after you have signed into your device.";
3451const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3452const char kQuickUnlockPinSigninDescription[] =
3453 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3454 "device. After changing this flag PIN needs to be set up again.";
3455const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3456const char kQuickUnlockFingerprintDescription[] =
3457 "Enabling fingerprint quick unlock allows you to setup and use a "
3458 "fingerprint to unlock your Chromebook on the lock screen after you have "
3459 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343460
James Cook0ba192bf2017-12-01 20:53:113461const char kShowTapsName[] = "Show taps";
3462const char kShowTapsDescription[] =
3463 "Draws a circle at each touch point, which makes touch points more obvious "
3464 "when projecting or mirroring the display. Similar to the Android OS "
3465 "developer option.";
3466
3467const char kShowTouchHudName[] = "Show HUD for touch points";
3468const char kShowTouchHudDescription[] =
3469 "Shows a trail of colored dots for the last few touch points. Pressing "
3470 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3471 "debug hardware issues that generate spurious touch events.";
3472
Jorge Gil5a8ccde2018-07-10 01:46:213473const char kSmartTextSelectionName[] = "Smart Text Selection";
3474const char kSmartTextSelectionDescription[] =
3475 "Shows quick actions for text "
3476 "selections in the context menu.";
3477
Chung-Sheng Wu468b0b32017-09-01 14:41:573478const char kSysInternalsName[] = "Enable Sys-Internals";
3479const char kSysInternalsDescription[] =
3480 "If enabled, user can monitor system information at "
3481 "chrome://sys-internals.";
3482
Stuart Langleyc981ac62018-06-21 14:38:253483const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3484const char kDisableTeamDrivesDescription[] =
3485 "If disabled, files under Team Drives will no longer appear in the Files "
3486 "app.";
vabr0215a8e2017-03-28 12:47:343487
Brett Wilson7b44537e2017-08-18 01:38:283488const char kTetherName[] = "Instant Tethering";
3489const char kTetherDescription[] =
3490 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3491 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373492
Brett Wilson7b44537e2017-08-18 01:38:283493const char kTouchscreenCalibrationName[] =
3494 "Enable/disable touchscreen calibration option in material design settings";
3495const char kTouchscreenCalibrationDescription[] =
3496 "If enabled, the user can calibrate the touch screen displays in "
3497 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093498
Qiang Xu045aff222018-05-21 23:21:013499const char kUiDevToolsName[] = "Enable native UI inspection";
3500const char kUiDevToolsDescription[] =
3501 "Enables inspection of native UI elements. For local inspection use "
3502 "chrome://inspect#other";
3503
3504const char kUiShowCompositedLayerBordersName[] =
3505 "Show UI composited layer borders";
3506const char kUiShowCompositedLayerBordersDescription[] =
3507 "Show border around composited layers created by UI.";
3508const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3509const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3510const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3511const char kUiShowCompositedLayerBordersAll[] = "All";
3512
3513const char kUiSlowAnimationsName[] = "Slow UI animations";
3514const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3515
Mitsuru Oshima63d3f2a2017-08-23 00:12:113516// Force UI Mode
3517const char kUiModeName[] = "Force Ui Mode";
3518const char kUiModeDescription[] =
3519 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3520 R"*(despite its current orientation. "Tablet" means that the )*"
3521 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3522 R"*(means that the chromebook will act as if it were in clamshell )*"
3523 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3524 R"*(the two, based on its orientation.)*";
3525const char kUiModeTablet[] = "TouchView";
3526const char kUiModeClamshell[] = "Clamshell";
3527const char kUiModeAuto[] = "Auto (default)";
3528
Sonny Sasaka7fecfeda2018-07-11 23:47:553529const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3530const char kUnfilteredBluetoothDevicesDescription[] =
3531 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3532
James Cooka1bcfa9a2018-01-30 00:18:403533const char kUseMashName[] = "Out-of-process system UI (mash)";
3534const char kUseMashDescription[] =
3535 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3536 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283537
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343538// TODO(mcasas): remove after https://crbug.com/771345.
3539const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3540const char kUseMonitorColorSpaceDescription[] =
3541 "Enables Chrome to use the color space information provided by the monitor"
3542 " instead of the default sRGB color space.";
3543
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233544const char kVaapiJpegImageDecodeAccelerationName[] =
3545 "VA-API JPEG decode acceleration for images";
3546const char kVaapiJpegImageDecodeAccelerationDescription[] =
3547 "Enable or disable decode acceleration of JPEG images (as opposed to camera"
3548 " captures) using the VA-API.";
3549
Brett Wilson7b44537e2017-08-18 01:38:283550const char kVideoPlayerChromecastSupportName[] =
3551 "Experimental Chromecast support for Video Player";
3552const char kVideoPlayerChromecastSupportDescription[] =
3553 "This option enables experimental Chromecast support for Video Player app "
3554 "on ChromeOS.";
3555
3556const char kVirtualKeyboardName[] = "Virtual Keyboard";
3557const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3558
3559const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3560const char kVirtualKeyboardOverscrollDescription[] =
3561 "Enables virtual keyboard overscroll support.";
3562
3563const char kVoiceInputName[] = "Voice input on virtual keyboard";
3564const char kVoiceInputDescription[] =
3565 "Enables voice input on virtual keyboard.";
3566
3567const char kWakeOnPacketsName[] = "Wake On Packets";
3568const char kWakeOnPacketsDescription[] =
3569 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203570
Qiang Xu53d1a5832018-05-24 18:44:193571const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3572const char kZipArchiverUnpackerDescription[] =
3573 "Enable or disable the ability to unpack archives in incognito mode";
3574
yhanadac5bff5b2017-05-18 06:37:093575#endif // defined(OS_CHROMEOS)
3576
Brett Wilson7b44537e2017-08-18 01:38:283577// Random platform combinations -----------------------------------------------
3578
3579#if defined(OS_WIN) || defined(OS_LINUX)
3580
3581const char kEnableInputImeApiName[] = "Enable Input IME API";
3582const char kEnableInputImeApiDescription[] =
3583 "Enable the use of chrome.input.ime API.";
3584
3585#endif // defined(OS_WIN) || defined(OS_LINUX)
3586
3587#if defined(OS_WIN) || defined(OS_MACOSX)
3588
3589const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3590const char kAutomaticTabDiscardingDescription[] =
3591 "If enabled, tabs get automatically discarded from memory when the system "
3592 "memory is low. Discarded tabs are still visible on the tab strip and get "
3593 "reloaded when clicked on. Info about discarded tabs can be found at "
3594 "chrome://discards.";
3595
3596#endif // defined(OS_WIN) || defined(OS_MACOSX)
3597
lanwei83f54452018-06-21 23:51:043598#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3599
3600const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3601const char kDirectManipulationStylusDescription[] =
3602 "If enabled, Chrome will scroll web pages on stylus drag.";
3603
3604#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3605
Justin Donnelly110e40c2018-06-01 21:48:433606const char kExperimentalUiName[] = "Use all upcoming UI features";
3607const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483608
Brett Wilson7b44537e2017-08-18 01:38:283609// Feature flags --------------------------------------------------------------
3610
3611#if BUILDFLAG(ENABLE_VR)
3612
David Dorwin5a496c32017-11-17 01:45:053613const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3614const char kWebVrVsyncAlignDescription[] =
3615 "Align WebVR application rendering with VSync for smoother animations.";
3616
Bill Orr103ed272018-02-14 21:23:053617#if BUILDFLAG(ENABLE_OCULUS_VR)
3618const char kOculusVRName[] = "Oculus hardware support";
3619const char kOculusVRDescription[] =
3620 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3621 "Windows 10 or later).";
3622#endif // ENABLE_OCULUS_VR
3623
Bill Orr49527562017-11-22 16:58:483624#if BUILDFLAG(ENABLE_OPENVR)
3625const char kOpenVRName[] = "OpenVR hardware support";
3626const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073627 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3628 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483629#endif // ENABLE_OPENVR
3630
Brett Wilson7b44537e2017-08-18 01:38:283631#endif // ENABLE_VR
3632
Nico Weberaf3b00b2017-09-11 17:58:173633#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283634
3635const char kNaclDebugMaskName[] =
3636 "Restrict Native Client GDB-based debugging by pattern";
3637const char kNaclDebugMaskDescription[] =
3638 "Restricts Native Client application GDB-based debugging by URL of "
3639 "manifest file. Native Client GDB-based debugging must be enabled for this "
3640 "option to work.";
3641const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3642const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3643 "Debug everything except secure shell and the PNaCl translator.";
3644const char kNaclDebugMaskChoiceIncludeDebug[] =
3645 "Debug only if manifest URL ends with debug.nmf.";
3646
3647const char kNaclDebugName[] = "Native Client GDB-based debugging";
3648const char kNaclDebugDescription[] =
3649 "Enable GDB debug stub. This will stop a Native Client application on "
3650 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3651
3652const char kNaclName[] = "Native Client";
3653const char kNaclDescription[] =
3654 "Support Native Client for all web applications, even those that were not "
3655 "installed from the Chrome Web Store.";
3656
3657const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3658const char kPnaclSubzeroDescription[] =
3659 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3660
Nico Weberaf3b00b2017-09-11 17:58:173661#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283662
Brett Wilson7b44537e2017-08-18 01:38:283663const char kWebrtcH264WithOpenh264FfmpegName[] =
3664 "WebRTC H.264 software video encoder/decoder";
3665const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3666 "When enabled, an H.264 software video encoder/decoder pair is included. "
3667 "If a hardware encoder/decoder is also available it may be used instead of "
3668 "this encoder/decoder.";
3669
Brett Wilson7b44537e2017-08-18 01:38:283670#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3671
3672const char kAutofillCreditCardUploadName[] =
3673 "Enable offering upload of Autofilled credit cards";
3674const char kAutofillCreditCardUploadDescription[] =
3675 "Enables a new option to upload credit cards to Google Payments for sync "
3676 "to all Chrome devices.";
3677
3678#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3679
Becca Hughesdc96e842018-05-04 22:48:283680#if defined(OS_ANDROID)
3681
3682const char kDisplayCutoutAPIName[] =
3683 "Enable support for the Display Cutout API";
3684const char kDisplayCutoutAPIDescription[] =
3685 "Enables developers to support devices that have a display cutout.";
3686
3687#endif // defined(OS_ANDROID)
3688
Brett Wilson7b44537e2017-08-18 01:38:283689// ============================================================================
3690// Don't just add flags to the end, put them in the right section in
3691// alphabetical order just like the header file.
3692// ============================================================================
3693
vabr0215a8e2017-03-28 12:47:343694} // namespace flag_descriptions