blob: 0ee0467f3e39c1431eec4d5220640301cadf4131 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
Kunihiko Sakamoto4d407982018-07-10 04:56:2938const char kAllowSignedHTTPExchangeCertsWithoutExtensionName[] =
39 "Allow Signed HTTP Exchange certificates without extension";
40const char kAllowSignedHTTPExchangeCertsWithoutExtensionDescription[] =
41 "Accepts Origin-Signed HTTP Exchanges to be signed with certificates "
42 "that do not have CanSignHttpExchangesDraft extension. Requires "
43 "#enable-signed-http-exchange. Warning: Enabling this may pose a security "
44 "risk.";
45
Jeremy Klein586b4ccc2018-06-09 21:05:4846const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
47const char kAndroidMessagesIntegrationDescription[] =
48 "Enables Chrome OS integration with Android messages.";
49
Brett Wilsonf27ff602017-07-07 22:28:4750const char kAppBannersName[] = "App Banners";
51const char kAppBannersDescription[] =
52 "Enable the display of Progressive Web App banners, which prompt a user to "
53 "add a web app to their shelf, or other platform-specific equivalent.";
54
yoshiki iguchi4a10c5f2017-11-29 20:16:5455const char kAshSidebarName[] = "Sidebar";
56const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
57
Ioana Pandelef9689a062018-06-22 15:35:5158const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
59const char kAutomaticPasswordGenerationDescription[] =
60 "Allow Chrome to offer to generate passwords when it detects account "
61 "creation pages.";
62
Michael Lippautzebbc5a82018-05-30 10:41:4263const char kEnableBlinkHeapIncrementalMarkingName[] =
64 "Blink Heap Incremental Marking";
65const char kEnableBlinkHeapIncrementalMarkingDescription[] =
66 "Enable incremental marking in Blink";
67
Ulan Degenbaevb5466a92018-07-19 12:35:3468const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
69const char kEnableBloatedRendererDetectionDescription[] =
70 "Enable bloated renderer detection";
71
Tetsui Ohkubo2852b952018-02-23 04:12:0172const char kSystemTrayUnifiedName[] = "New system menu";
73const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5574 "Enable the experimental system menu.";
75
Khushalba202212017-07-12 19:53:4976const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
77const char kAsyncImageDecodingDescription[] =
78 "Enables asynchronous decoding of images from raster for web content";
79
Roger McFarlane2eceba982018-05-18 01:37:1180const char kAutofillCacheQueryResponsesName[] =
81 "Cache Autofill Query Responses";
82const char kAutofillCacheQueryResponsesDescription[] =
83 "When enabled, autofill will cache the responses it receives from the "
84 "crowd-sourced field type prediction server.";
85
sebsge35b762c2018-03-29 20:33:2786const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
87const char kAutofillDynamicFormsDescription[] =
88 "Allows autofill to fill dynamically changing forms";
89
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3990const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
91const char kAutofillPrefilledFieldsDescription[] =
92 "Allows autofill to fill fields previously filled by the website";
93
Parastoo Geranmayeh071d725c2018-06-26 17:35:2294const char kAutofillRationalizeRepeatedServerPredictionsName[] =
95 "Autofill Rationalization of Repeated Server Field Type Predictions";
96const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
97 "Allows autofill to rationalize repeated server field type predictions.";
98
Roger McFarlane1a37d7b2018-04-20 22:45:1999const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
100 "Autofill Enforce Min Required Fields For Heuristics";
101const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
102 "When enabled, autofill will generally require a form to have at least 3 "
103 "fields before allowing heuristic field-type prediction to occur.";
104
105const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
106 "Autofill Enforce Min Required Fields For Query";
107const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
108 "When enabled, autofill will generally require a form to have at least 3 "
109 "fields before querying the autofill server for field-type predictions.";
110
111const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
112 "Autofill Enforce Min Required Fields For Upload";
113const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
114 "When enabled, autofill will generally require a form to have at least 3 "
115 "fillable fields before uploading field-type votes for that form.";
116
Moe Ahmadid3ddfcb2018-04-20 19:51:08117const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
118 "Restrict formless form extraction";
119const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
120 "Restrict extraction of formless forms to checkout flows";
121
Brett Wilsonf27ff602017-07-07 22:28:47122const char kAutoplayPolicyName[] = "Autoplay policy";
123const char kAutoplayPolicyDescription[] =
124 "Policy used when deciding if audio or video is allowed to autoplay.";
125
126const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
127 "User gesture is required for cross-origin iframes.";
128const char kAutoplayPolicyNoUserGestureRequired[] =
129 "No user gesture is required.";
130const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
131const char kAutoplayPolicyDocumentUserActivation[] =
132 "Document user activation is required.";
133
Johanne0cc6902017-11-16 00:23:50134extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
135extern const char kAv1DecoderDescription[] =
136 "Allow decoding of files with the AV1 video codec.";
137
Brett Wilsonf27ff602017-07-07 22:28:47138const char kBackgroundVideoTrackOptimizationName[] =
139 "Optimize background video playback.";
140const char kBackgroundVideoTrackOptimizationDescription[] =
141 "Disable video tracks when the video is played in the background to "
142 "optimize performance.";
143
144const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
145const char kBleAdvertisingInExtensionsDescription[] =
146 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
147 "with regular use of Bluetooth Low Energy features.";
148
Charles Harrisond629cc62017-10-05 01:39:54149const char kBlockTabUndersName[] = "Block tab-unders";
150const char kBlockTabUndersDescription[] =
151 "Blocks tab-unders in Chrome with some native UI to allow the user to "
152 "proceed.";
153
Brett Wilsonf27ff602017-07-07 22:28:47154const char kBrowserTaskSchedulerName[] = "Task Scheduler";
155const char kBrowserTaskSchedulerDescription[] =
156 "Enables redirection of some task posting APIs to the task scheduler.";
157
Carlos IL766fbc882018-02-16 02:34:52158const char kBundledConnectionHelpName[] = "Bundled Connection Help";
159const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37160 "Enables or disables redirection to local help content for users who get "
161 "an interstitial after clicking the 'Learn More' link on a previous "
162 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52163
Brett Wilsonf27ff602017-07-07 22:28:47164const char kBypassAppBannerEngagementChecksName[] =
165 "Bypass user engagement checks";
166const char kBypassAppBannerEngagementChecksDescription[] =
167 "Bypasses user engagement checks for displaying app banners, such as "
168 "requiring that users have visited the site before and that the banner "
169 "hasn't been shown recently. This allows developers to test that other "
170 "eligibility requirements for showing app banners, such as having a "
171 "manifest, are met.";
172
Miguel Casas454d9cf2018-06-28 16:25:00173const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
174const char kCanvas2DImageChromiumDescription[] =
175 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
176
Brett Wilsonf27ff602017-07-07 22:28:47177const char kCastStreamingHwEncodingName[] =
178 "Cast Streaming hardware video encoding";
179const char kCastStreamingHwEncodingDescription[] =
180 "This option enables support in Cast Streaming for encoding video streams "
181 "using platform hardware.";
182
Amber Won478561d2017-08-19 01:02:59183const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
184const char kClickToOpenPDFDescription[] =
185 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
186 "embedded PDFs.";
187
Gary Kacmarcikfb69b212017-11-14 03:41:08188const char kClipboardContentSettingName[] = "Clipboard content setting";
189const char kClipboardContentSettingDescription[] =
190 "Enables a site-wide permission in the UI which controls access to the "
191 "asynchronous clipboard web API";
192
Peter Kastingb78046182018-06-29 20:15:13193const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
194const char kCloseButtonsInactiveTabsDescription[] =
195 "Shows close buttons on inactive tabs in non-touch mode.";
196
Brett Wilsonf27ff602017-07-07 22:28:47197const char kCloudImportName[] = "Cloud Import";
198const char kCloudImportDescription[] = "Allows the cloud-import feature.";
199
rbpotter9990eb42018-07-12 05:34:59200const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
201const char kCloudPrinterHandlerDescription[] =
202 "Use the new cloud printer handler for communicating with the cloud "
203 "print server, instead of the cloud print interface in the Print "
204 "Preview WebUI.";
205
Christopher Cameronceb8727d2017-09-07 23:53:16206const char kForceColorProfileSRGB[] = "sRGB";
207const char kForceColorProfileP3[] = "Display P3 D65";
208const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
209const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
210
211const char kForceColorProfileName[] = "Force color profile";
212const char kForceColorProfileDescription[] =
213 "Forces Chrome to use a specific color profile instead of the color "
214 "of the window's current monitor, as specified by the operating system.";
215
Brett Wilsonf27ff602017-07-07 22:28:47216const char kCompositedLayerBordersName[] = "Composited render layer borders";
217const char kCompositedLayerBordersDescription[] =
218 "Renders a border around composited Render Layers to help debug and study "
219 "layer compositing.";
220
Theresaf39c1882018-03-21 18:18:07221const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07222 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07223const char kContextualSuggestionsBottomSheetDescription[] =
224 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47225
Theresac34db2d2018-06-28 00:03:11226const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
227const char kContextualSuggestionsButtonDescription[] =
228 "If enabled, shows a button to trigger contextual suggestions.";
229
Theresa818d3452018-05-22 00:08:07230const char kContextualSuggestionsSlimPeekUIName[] =
231 "Contextual Suggestions Slim Peek UI";
232const char kContextualSuggestionsSlimPeekUIDescription[] =
233 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
234
Theresa0f2947b92018-07-02 21:27:58235const char kContextualSuggestionsOptOutName[] =
236 "Contextual Suggestions Opt-out";
237const char kContextualSuggestionsOptOutDescription[] =
238 "If enabled, allows the user to opt out of contextual suggestions.";
239
Brett Wilsonf27ff602017-07-07 22:28:47240const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
241const char kCreditCardAssistDescription[] =
242 "Enable assisted credit card filling on certain sites.";
243
244const char kCrossProcessGuestViewIsolationName[] =
245 "Cross process frames for guests";
246const char kCrossProcessGuestViewIsolationDescription[] =
247 "Highly experimental where guests such as <webview> are implemented on "
248 "the out-of-process iframe infrastructure.";
249
Thanh Le659cb102017-12-20 22:00:19250const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
251const char kDataSaverServerPreviewsDescription[] =
252 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47253
254const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
255const char kDatasaverPromptDescription[] =
256 "Enables a prompt, which appears when a cellular network connection is "
257 "detected, to take the user to the Data Saver extension page on Chrome Web "
258 "Store.";
259const char kDatasaverPromptDemoMode[] = "Demo mode";
260
Wez54dc71b2018-04-17 00:42:34261#if DCHECK_IS_CONFIGURABLE
262const char kDcheckIsFatalName[] = "DCHECKs are fatal";
263const char kDcheckIsFatalDescription[] =
264 "By default Chrome will evaluate in this build, but only log failures, "
265 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
266#endif // DCHECK_IS_CONFIGURABLE
267
Brett Wilsonf27ff602017-07-07 22:28:47268const char kDebugPackedAppName[] = "Debugging for packed apps";
269const char kDebugPackedAppDescription[] =
270 "Enables debugging context menu options such as Inspect Element for packed "
271 "applications.";
272
273const char kDefaultTileHeightName[] = "Default tile height";
274const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
275const char kDefaultTileHeightShort[] = "128";
276const char kDefaultTileHeightTall[] = "256";
277const char kDefaultTileHeightGrande[] = "512";
278const char kDefaultTileHeightVenti[] = "1024";
279
280const char kDefaultTileWidthName[] = "Default tile width";
281const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
282const char kDefaultTileWidthShort[] = "128";
283const char kDefaultTileWidthTall[] = "256";
284const char kDefaultTileWidthGrande[] = "512";
285const char kDefaultTileWidthVenti[] = "1024";
286
287const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
288const char kDebugShortcutsDescription[] =
289 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
290
291const char kDeviceDiscoveryNotificationsName[] =
292 "Device Discovery Notifications";
293const char kDeviceDiscoveryNotificationsDescription[] =
294 "Device discovery notifications on local network.";
295
296const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
297const char kDevtoolsExperimentsDescription[] =
298 "Enables Developer Tools experiments. Use Settings panel in Developer "
299 "Tools to toggle individual experiments.";
300
301const char kDisableAudioForDesktopShareName[] =
302 "Disable Audio For Desktop Share";
303const char kDisableAudioForDesktopShareDescription[] =
304 "With this flag on, desktop share picker window will not let the user "
305 "choose whether to share audio.";
306
Chris Palmer917bc052018-03-14 19:28:31307const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
308const char kDisablePushStateThrottleDescription[] =
309 "Disables throttling of history.pushState and history.replaceState method "
310 "calls.";
311
Brett Wilsonf27ff602017-07-07 22:28:47312const char kDisableTabForDesktopShareName[] =
313 "Disable Desktop Share with tab source";
314const char kDisableTabForDesktopShareDescription[] =
315 "This flag controls whether users can choose a tab for desktop share.";
316
317const char kDisallowDocWrittenScriptsUiName[] =
318 "Block scripts loaded via document.write";
319const char kDisallowDocWrittenScriptsUiDescription[] =
320 "Disallows fetches for third-party parser-blocking scripts inserted into "
321 "the main frame via document.write.";
322
Christopher Thompson2ffffa2c2018-05-18 23:06:37323const char kDisallowUnsafeHttpDownloadsName[] =
324 "Block unsafe downloads over insecure connections";
325const char kDisallowUnsafeHttpDownloadsNameDescription[] =
326 "Disallows downloads of unsafe files (files that can potentially execute "
327 "code), where the final download origin or any origin in the redirect "
328 "chain is insecure.";
329
Brett Wilsonf27ff602017-07-07 22:28:47330const char kDriveSearchInChromeLauncherName[] =
331 "Drive Search in Chrome App Launcher";
332const char kDriveSearchInChromeLauncherDescription[] =
333 "Files from Drive will show up when searching the Chrome App Launcher.";
334
Brett Wilsonf27ff602017-07-07 22:28:47335const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
336const char kEmbeddedExtensionOptionsDescription[] =
337 "Display extension options as an embedded element in chrome://extensions "
338 "rather than opening a new tab.";
339
Dominic Mazzoni8ac98962018-05-25 05:44:55340const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
341const char kEnableAccessibilityObjectModelDescription[] =
342 "Enables experimental support for Accessibility Object Model APIs "
343 "that are in development.";
344
Brett Wilsonf27ff602017-07-07 22:28:47345const char kEnableAsmWasmName[] =
346 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
347const char kEnableAsmWasmDescription[] =
348 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
349 R"*(WebAssembly.)*";
350
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36351const char kEnableWebPaymentsSingleAppUiSkipName[] =
352 "Enable Web Payments single app UI skip";
353const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
354 "Enable Web Payments to skip showing its UI if the developer specifies a "
355 "single app.";
356
Florian Uunk8c428ea2018-07-18 11:12:52357const char kEnableAutofillAccountWalletStorageName[] =
358 "Enable the account data storage for autofill";
359const char kEnableAutofillAccountWalletStorageDescription[] =
360 "Enable the ephemeral storage for account data for autofill.";
361
Shanfeng Zhang19c16562017-10-17 02:30:40362const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
363 "Credit card autofill ablation experiment.";
364const char kEnableAutofillCreditCardAblationExperimentDescription[] =
365 "If enabled, credit card autofill suggestions will not display.";
366
Brett Wilsonf27ff602017-07-07 22:28:47367const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
368 "Display the last used date of a credit card in autofill.";
369const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
370 "If enabled, display the last used date of a credit card in autofill.";
371
Sujie Zhu2cf0e5c2018-07-17 18:00:27372const char kEnableAutofillCreditCardLocalCardMigrationName[] =
373 "Enable migrating local cards to Google Pay";
374const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
375 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
376
Jared Saulbc672a072018-06-16 05:22:12377const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
378 "Make cardholder name editable in dialog during credit card upload";
379const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
380 "If enabled, in certain situations when offering credit card upload to "
381 "Google Payments, the cardholder name can be edited within the "
382 "offer-to-save dialog, which is prefilled with the name from the signed-in "
383 "Google Account.";
384
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37385const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
386 "Enable Google Pay branding when offering credit card upload on Android";
387const char
388 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
389 "If enabled, shows the Google Pay logo and a shorter header message "
390 "when credit card upload to Google Payments is offered on Android.";
391
Jared Saul5c2a1482017-12-09 00:24:31392const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
393 "Send first six digits of PAN when deciding whether to offer Autofill "
394 "credit card upload";
395const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
396 "If enabled, when deciding whether to offer credit card upload to Google "
397 "Payments, sends the first six digits of the card number to avoid cases "
398 "where card upload is likely to fail.";
399
siyua7c4e97b42018-04-24 02:49:42400const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
401 "Enable updated prompt explanation when offering credit card upload";
402const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
403 "If enabled, changes the server save card prompt's explanation to mention "
404 "the saving of the billing address.";
405
tmartinocd414732018-02-12 19:01:01406const char kEnableAutofillNativeDropdownViewsName[] =
407 "Display Autofill Dropdown Using Views";
408const char kEnableAutofillNativeDropdownViewsDescription[] =
409 "If enabled, the Autofill Dropdown will be built natively using Views, "
410 "rather than painted directly to a canvas.";
411
Fabio Tirelo87552e02018-07-06 15:43:21412const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
413 "Show unlabeled expiration dates on the save card dialog";
414const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
415 "If enabled, expiration dates on the save card dialog (both local and "
416 "upstream) are shown without an 'Exp:' label.";
417
Manas Verma99541e52018-08-03 20:37:23418const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
419 "Show Sign-In/Sync promo after saving a card locally";
420const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
421 "If enabled, shows a sign in prompt to the user after the user "
422 "saves a card locally. This also introduces a Manage Cards bubble "
423 "which you can access from the card icon after saving a card.";
424
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23425const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
426 "Send experiment flag IDs in calls to Google Payments";
427const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
428 "If enabled, adds the status of certain experiment variations when making "
429 "calls to Google Payments.";
430
Becca Hughes4d896c42018-05-29 16:58:51431const char kEnableAutoplayIgnoreWebAudioName[] =
432 "Autoplay ignores WebAudio playbacks";
433const char kEnableAutoplayIgnoreWebAudioDescription[] =
434 "If enabled, autoplay restrictions will be ignored for WebAudio.";
435
Vitalii Iarko4f9834ce2017-08-04 07:05:19436const char kEnableBreakingNewsPushName[] = "Breaking News Push";
437const char kEnableBreakingNewsPushDescription[] =
438 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
439 "through Google Cloud Messaging.";
440
Brett Wilsonf27ff602017-07-07 22:28:47441const char kEnableBrotliName[] = "Brotli Content-Encoding.";
442const char kEnableBrotliDescription[] =
443 "Enable Brotli Content-Encoding support.";
444
Qiang Xu0f602fe62017-12-22 01:31:20445const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
446const char kEnableCaptivePortalRandomUrlDescription[] =
447 "Enable Captive Portal URL randomization.";
448
sclittle50e4bb92017-07-08 02:23:03449const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
450
451const char kEnableClientLoFiDescription[] =
452 "Enable showing low fidelity images on some pages on slow networks.";
453
Patrick Noland8bc57472018-06-19 21:09:54454const char kEnableCSSFragmentIdentifiersName[] =
455 "Enable CSS Fragment Identifiers";
456const char kEnableCSSFragmentIdentifiersDescription[] =
457 "Enable support for specifying a target element using a css selector in "
458 "the fragment identifier.";
459
David Reveman87b4b692018-03-09 21:22:22460const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
461const char kEnableCursorMotionBlurDescription[] =
462 "Enable motion blur effect for the cursor.";
463
Ramin Halavati6f5d9852018-06-20 09:37:05464const char kEnableEphemeralFlashPermissionName[] =
465 "Enable Ephemeral Flash Permissions";
466const char kEnableEphemeralFlashPermissionDescription[] =
467 "When enabled, Flash plugin permissions are reset at the end of the "
468 "browser session.";
469
Doug Arnett08b4067b2017-10-12 20:14:44470const char kEnableNoScriptPreviewsName[] = "NoScript previews";
471
472const char kEnableNoScriptPreviewsDescription[] =
473 "Enable disabling JavaScript on some pages on slow networks.";
474
Thanh Le2c279fbc2017-11-21 01:25:40475const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
476const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
477const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
478const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
479const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
480const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
481const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
482const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
483const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
484const char kDataReductionProxyServerAlternative10[] =
485 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47486const char kEnableDataReductionProxyServerExperimentName[] =
487 "Use an alternative Data Saver back end configuration.";
488const char kEnableDataReductionProxyServerExperimentDescription[] =
489 "Enable a different approach to saving data by configuring the back end "
490 "server";
491
492const char kEnableDataReductionProxySavingsPromoName[] =
493 "Data Saver 1 MB Savings Promo";
494const char kEnableDataReductionProxySavingsPromoDescription[] =
495 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
496 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
497 "enabled for the promo to be shown.";
498
Matt Giucad4870432017-11-24 01:04:38499const char kEnableDesktopPWAsName[] = "Desktop PWAs";
500const char kEnableDesktopPWAsDescription[] =
501 "Experimental windowing and install banner treatment for Progressive Web "
502 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17503
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59504const char kEnableDesktopPWAsLinkCapturingName[] =
505 "Desktop PWAs Link Capturing";
506const char kEnableDesktopPWAsLinkCapturingDescription[] =
507 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
508 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
509 "#enable-desktop-pwas.";
510
Ahmed Fakhry0037de02018-01-29 19:58:31511const char kEnableDockedMagnifierName[] = "Docked Magnifier";
512const char kEnableDockedMagnifierDescription[] =
513 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
514
Ramya Nagarajan5b41d8d2018-04-02 19:53:02515const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
516const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09517 "Enables the Emoji picker item in context menus for editable text areas, if"
518 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02519
Brett Wilsonf27ff602017-07-07 22:28:47520const char kEnableEnumeratingAudioDevicesName[] =
521 "Experimentally enable enumerating audio devices.";
522const char kEnableEnumeratingAudioDevicesDescription[] =
523 "Experimentally enable the use of enumerating audio devices.";
524
525const char kEnableGenericSensorName[] = "Generic Sensor";
526const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25527 "Enables motion sensor classes based on Generic Sensor API, i.e. "
528 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
529 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
530
531const char kEnableGenericSensorExtraClassesName[] =
532 "Generic Sensor Extra Classes";
533const char kEnableGenericSensorExtraClassesDescription[] =
534 "Enables an extra set of sensor classes based on Generic Sensor API, which "
535 "expose previously unavailable platform features, i.e. AmbientLightSensor "
536 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47537
Brett Wilsonf27ff602017-07-07 22:28:47538const char kEnableHDRName[] = "HDR mode";
539const char kEnableHDRDescription[] =
540 "Enables HDR support on compatible displays.";
541
Ryan Sturm6a850902018-06-09 02:27:34542const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
543const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09544 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25545 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01546 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
547 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34548
Brett Wilsonf27ff602017-07-07 22:28:47549const char kEnableHttpFormWarningName[] =
550 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15551 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47552const char kEnableHttpFormWarningDescription[] =
553 "Attaches a warning UI to any password or credit card fields detected when "
554 "the top-level page is not HTTPS";
555
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41556const char kLayeredAPIName[] = "Experimental layered APIs";
557const char kLayeredAPIDescription[] =
558 "Enable layered API infrastructure, as well as several experimental "
559 "layered APIs. The syntax and the APIs exposed are experimental and will "
560 "change over time.";
561
Ian Kilpatricke68ef11a2018-07-04 03:52:10562const char kEnableLayoutNGName[] = "Enable LayoutNG";
563const char kEnableLayoutNGDescription[] =
564 "Enable Blink's next generation layout engine.";
565
Scott Littled0fd2d002018-04-13 03:37:26566const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
567const char kEnableLazyFrameLoadingDescription[] =
568 "Defers the loading of certain cross-origin frames until the page is "
569 "scrolled down near them.";
570
Sidney San Martín9375b892017-09-09 00:29:54571const char kEnableMacMaterialDesignDownloadShelfName[] =
572 "Enable Material Design download shelf";
573
574const char kEnableMacMaterialDesignDownloadShelfDescription[] =
575 "If enabled, the download shelf uses Material Design.";
576
Anton Urusov47cd4932017-09-19 14:41:41577const char kEnablePolicyToolName[] = "Enable policy management page";
578const char kEnablePolicyToolDescription[] =
579 "If enabled, the chrome://policy-tool URL loads a page for managing "
580 "policies.";
581
Tsuyoshi Horoea7edb72017-11-12 04:14:00582const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
583const char kEnablePWAFullCodeCacheDescription[] =
584 "Generate V8 code cache in Cache Storage while installing Service Worker "
585 "for PWAs.";
586
Weidong Guof1e5a892018-01-06 02:26:39587const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28588 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39589const char kDisableMultiMirroringDescription[] =
590 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28591
Brett Wilsonf27ff602017-07-07 22:28:47592const char kEnableNavigationTracingName[] = "Enable navigation tracing";
593const char kEnableNavigationTracingDescription[] =
594 "This is to be used in conjunction with the trace-upload-url flag. "
595 "WARNING: When enabled, Chrome will record performance data for every "
596 "navigation and upload it to the URL specified by the trace-upload-url "
597 "flag. The trace may include personally identifiable information (PII) "
598 "such as the titles and URLs of websites you visit.";
599
Bernhard Bauer5533f9912017-11-06 17:56:02600const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
601const char kEnableNetworkLoggingToFileDescription[] =
602 "Enables network logging to a file named netlog.json in the user data "
603 "directory. The file can be imported into chrome://net-internals.";
604
Brett Wilsonf27ff602017-07-07 22:28:47605const char kEnableNetworkServiceName[] = "Enable network service";
606const char kEnableNetworkServiceDescription[] =
607 "Enables the network service, which makes network requests through a "
608 "separate service. Note: most features don't work with this yet.";
609
John Abd-El-Malek8067cc02017-12-04 23:23:20610const char kEnableNetworkServiceInProcessName[] =
611 "Runs network service in-process";
612const char kEnableNetworkServiceInProcessDescription[] =
613 "Runs the network service in the browser process.";
614
dpapaded8349472017-10-25 03:21:27615const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
616const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37617 "If enabled, Print Preview will display a newer UI. This feature is "
618 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27619
Ahmed Fakhry2fd8fc82017-07-28 16:31:12620const char kEnableNightLightName[] = "Enable Night Light";
621const char kEnableNightLightDescription[] =
622 "Enable the Night Light feature which controls the color temperature of "
623 "the screen.";
624
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28625const char kEnableNotificationScrollBarName[] =
626 "Enable notification list scroll bar";
627const char kEnableNotificationScrollBarDescription[] =
628 "Enable the scroll bar of the notification list in Unified System Tray.";
629
xlou8b56f672018-02-09 23:34:30630const char kEnableNupPrintingName[] = "Enable N-up printing";
631const char kEnableNupPrintingDescription[] =
632 "Enable N-up printing in the print preview panel.";
633
Sophie Chang117a3b22017-10-24 22:25:36634const char kEnableOptimizationHintsName[] = "Optimization Hints";
635const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50636 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36637 "into decisions for what optimizations to perform on some pages on slow "
638 "networks.";
639
Yutaka Hirano98be3272017-08-07 17:55:39640const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
641const char kEnableOutOfBlinkCORSDescription[] =
642 "CORS handling logic is moved out of blink.";
643
Sammie Quon0fbf0782018-05-01 22:11:08644const char kEnableOverviewSwipeToCloseName[] =
645 "Enable overview swipe to close.";
646const char kEnableOverviewSwipeToCloseDescription[] =
647 "Enables closing of items in overview mode by dragging or flinging "
648 "vertically.";
649
kylechar7051c092018-02-05 20:31:39650const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
651const char kVizDisplayCompositorDescription[] =
652 "If enabled, the display compositor runs as part of the viz service in the"
653 "GPU process.";
654
Ria Jiang6a129b982018-03-01 18:30:40655const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
656const char kVizHitTestDrawQuadDescription[] =
657 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
658 "with hit-test data computed from the CompositorFrame.";
659
Erik Chen49bbfa22017-08-18 08:49:56660const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23661 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56662const char kEnableOutOfProcessHeapProfilingDescription[] =
663 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19664 "malloced objects. Heap dumps can be obtained at chrome://tracing "
665 "[category:memory-infra] and chrome://memory-internals. This setting "
666 "controls which processes are profiled. As long as this setting is not "
667 "disabled, users can start profiling any given process in "
668 "chrome://memory-internals.";
669const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
670const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
671const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
672const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
673const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10674const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19675 "None by default. Visit chrome://memory-internals to choose which "
676 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15677const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
678 "Profile a random sampling of renderer processes, ensuring only one is "
679 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19680
Erik Chen8bb76b52017-12-06 19:06:25681const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19682 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25683const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
684 "By default, small allocations are pruned from the heap dump. This reduces "
685 "the size of the compressed trace by 100x. If pruning is disabled, the "
686 "chrome://tracing UI may be unable to take or load the trace. Save the "
687 "trace directly using chrome://memory-internals, and use other mechanisms "
688 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
689 "automatically uploaded traces will always be pruned. This only affects "
690 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56691
erikchen8bc20d82018-02-14 03:21:51692const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
693const char kOutOfProcessHeapProfilingSamplingDescription[] =
694 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22695 "10000. This results in low noise for large and/or frequent allocations ["
696 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
697 "total size of malloc-ed objects] and large and/or frequent allocations "
698 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51699
Erik Chen3303fd0232018-01-11 20:29:05700const char kOOPHPStackModeName[] =
701 "The type of stack to record for memlog heap dumps";
702const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19703 "By default, memlog heap dumps record native stacks, which requires a "
704 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55705 "pointers to work on Android. Native with thread names will add the thread "
706 "name as the first frame of each native stack. It's also possible to "
707 "record a pseudo stack using trace events as identifiers. It's also "
708 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19709const char kOOPHPStackModeMixed[] = "Mixed";
710const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55711const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19712const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05713
François Beaufort2e75f492018-02-08 20:44:46714const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47715const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46716 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47717
F#m59d036e2017-09-13 07:22:17718const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
719const char kEnablePixelCanvasRecordingDescription[] =
720 "Pixel canvas recording allows the compositor to raster contents aligned "
721 "with the pixel and improves text rendering. This should be enabled when a "
722 "device is using fractional scale factor.";
723
vitaliiid36191b2018-06-11 07:40:49724extern const char kEnableSyncUserConsentSeparateTypeName[] =
725 "Enable separate sync type for consents";
726extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
727 "Emit user consents as a separate sync type instead of user events.";
728
Mohamed Amir Yosef0178fa892018-07-23 17:43:52729const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
730const char kEnableSyncUSSBookmarksDescription[] =
731 "Enables the new, experimental implementation of bookmark sync";
732
Mikel Astiz38837f82018-04-24 22:23:23733const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
734const char kEnableSyncUSSSessionsDescription[] =
735 "Enables the new, experimental implementation of session sync (aka tab "
736 "sync).";
737
Brett Wilsonf27ff602017-07-07 22:28:47738const char kEnableTokenBindingName[] = "Token Binding.";
739const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
740
741const char kEnableUseZoomForDsfName[] =
742 "Use Blink's zoom for device scale factor.";
743const char kEnableUseZoomForDsfDescription[] =
744 "If enabled, Blink uses its zooming mechanism to scale content for device "
745 "scale factor.";
746const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
747const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
748const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
749
Patrick Noland8ee016e2018-01-24 11:44:53750const char kEnableScrollAnchorSerializationName[] =
751 "Scroll Anchor Serialization";
752const char kEnableScrollAnchorSerializationDescription[] =
753 "Save the scroll anchor and use it to restore the scroll position when "
754 "navigating.";
755
Brad Nelson5cd500e2018-01-04 00:50:19756const char kEnableSharedArrayBufferName[] =
757 "Experimental enabled SharedArrayBuffer support in JavaScript.";
758const char kEnableSharedArrayBufferDescription[] =
759 "Enable SharedArrayBuffer support in JavaScript.";
760
Brett Wilsonf27ff602017-07-07 22:28:47761const char kEnableWasmName[] = "WebAssembly structured cloning support.";
762const char kEnableWasmDescription[] =
763 "Enable web pages to use WebAssembly structured cloning.";
764
Kim Paulhamusae635a32018-06-27 07:30:54765const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
766const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47767 "Enable Web Authentication API support.";
768
769extern const char kEnableWebAuthenticationCableSupportName[] =
770 "Web Authentication caBLE support";
771extern const char kEnableWebAuthenticationCableSupportDescription[] =
772 "Enable the cloud-assisted pairingless BLE protocol for use with "
773 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54774
Brett Wilsonf27ff602017-07-07 22:28:47775const char kEnableImageCaptureAPIName[] = "Image Capture API";
776const char kEnableImageCaptureAPIDescription[] =
777 "Enables the Web Platform Image Capture API: takePhoto(), "
778 "getPhotoCapabilities(), etc.";
779
780const char kEnableZeroSuggestRedirectToChromeName[] =
781 "Experimental contextual omnibox suggestion";
782const char kEnableZeroSuggestRedirectToChromeDescription[] =
783 "Change omnibox contextual suggestions to an experimental source. Note "
784 "that this is not an on/off switch for contextual omnibox and it only "
785 "applies to suggestions provided before the user starts typing a URL or a "
786 "search query (i.e. zero suggest).";
787
788const char kEnableWasmStreamingName[] =
789 "WebAssembly streaming compile/instantiate support.";
790const char kEnableWasmStreamingDescription[] =
791 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
792
Clemens Hammacher0c8a15a2018-04-27 13:45:32793const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
794const char kEnableWasmBaselineDescription[] =
795 "Enables WebAssembly baseline compilation and tier up.";
796
Ben Smith24c1e5c2018-06-20 01:09:02797const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
798const char kEnableWasmThreadsDescription[] =
799 "Enables support for the WebAssembly Threads proposal. Implies "
800 "#shared-array-buffer and #enable-webassembly.";
801
Brett Wilsonf27ff602017-07-07 22:28:47802const char kExpensiveBackgroundTimerThrottlingName[] =
803 "Throttle expensive background timers";
804const char kExpensiveBackgroundTimerThrottlingDescription[] =
805 "Enables intervention to limit CPU usage of background timers to 1%.";
806
807const char kExperimentalAppBannersName[] = "Experimental app banners";
808const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38809 "Enables a new experimental app banner flow and UI. Implies "
810 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47811
812const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
813const char kExperimentalCanvasFeaturesDescription[] =
814 "Enables the use of experimental canvas features which are still in "
815 "development.";
816
Nicholas Verneccd8259802018-02-22 01:22:04817const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
818const char kExperimentalCrostiniUIDescription[] =
819 "Enables in-development Crostini features.";
820
Brett Wilsonf27ff602017-07-07 22:28:47821const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
822const char kExperimentalExtensionApisDescription[] =
823 "Enables experimental extension APIs. Note that the extension gallery "
824 "doesn't allow you to upload extensions that use experimental APIs.";
825
826const char kExperimentalFullscreenExitUIName[] =
827 "Experimental fullscreen exit UI";
828const char kExperimentalFullscreenExitUIDescription[] =
829 "Displays experimental UI to allow mouse and touch input methods to exit "
830 "fullscreen mode.";
831
Ian Clelland37a985d2018-05-04 02:43:13832const char kExperimentalProductivityFeaturesName[] =
833 "Experimental Productivity Features";
834const char kExperimentalProductivityFeaturesDescription[] =
835 "Enable support for experimental developer productivity features, such as "
836 "Layered APIs and policies for avoiding slow rendering.";
837
Brett Wilsonf27ff602017-07-07 22:28:47838const char kExperimentalSecurityFeaturesName[] =
839 "Potentially annoying security features";
840const char kExperimentalSecurityFeaturesDescription[] =
841 "Enables several security features that will likely break one or more "
842 "pages that you visit on a daily basis. Strict mixed content checking, for "
843 "example. And locking powerful features to secure contexts. This flag will "
844 "probably annoy you.";
845
846const char kExperimentalWebPlatformFeaturesName[] =
847 "Experimental Web Platform features";
848const char kExperimentalWebPlatformFeaturesDescription[] =
849 "Enables experimental Web Platform features that are in development.";
850
851const char kExtensionContentVerificationName[] =
852 "Extension Content Verification";
853const char kExtensionContentVerificationDescription[] =
854 "This flag can be used to turn on verification that the contents of the "
855 "files on disk for extensions from the webstore match what they're "
856 "expected to be. This can be used to turn on this feature if it would not "
857 "otherwise have been turned on, but cannot be used to turn it off (because "
858 "this setting can be tampered with by malware).";
859const char kExtensionContentVerificationBootstrap[] =
860 "Bootstrap (get expected hashes, but do not enforce them)";
861const char kExtensionContentVerificationEnforce[] =
862 "Enforce (try to get hashes, and enforce them if successful)";
863const char kExtensionContentVerificationEnforceStrict[] =
864 "Enforce strict (hard fail if we can't get hashes)";
865
866const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
867const char kExtensionsOnChromeUrlsDescription[] =
868 "Enables running extensions on chrome:// URLs, where extensions explicitly "
869 "request this permission.";
galinapae72e152017-05-12 13:12:28870
Brett Wilsonecb80982017-07-12 20:34:51871const char kFastUnloadName[] = "Fast tab/window close";
872const char kFastUnloadDescription[] =
873 "Enables fast tab/window closing - runs a tab's onunload js handler "
874 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34875
Brett Wilsonecb80982017-07-12 20:34:51876const char kFeaturePolicyName[] = "Feature Policy";
877const char kFeaturePolicyDescription[] =
878 "Enables granting and removing access to features through the "
879 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34880
Brett Wilsonecb80982017-07-12 20:34:51881const char kFontCacheScalingName[] = "FontCache scaling";
882const char kFontCacheScalingDescription[] =
883 "Reuse a cached font in the renderer to serve different sizes of font for "
884 "faster layout.";
885
886const char kForceEffectiveConnectionTypeName[] =
887 "Override effective connection type";
888const char kForceEffectiveConnectionTypeDescription[] =
889 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30890 "returned by the network quality estimator. Slow 2G on Cellular returns "
891 "Slow 2G when connected to a cellular network, and the actual estimate "
892 "effective connection type when not on a cellular network. Previews are "
893 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51894const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
895const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
896const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30897const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
898 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51899const char kEffectiveConnectionType2GDescription[] = "2G";
900const char kEffectiveConnectionType3GDescription[] = "3G";
901const char kEffectiveConnectionType4GDescription[] = "4G";
902
903const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
904const char kFillOnAccountSelectDescription[] =
905 "Filling of passwords when an account is explicitly selected by the user "
906 "rather than autofilling credentials on page load.";
907
Brett Wilsonecb80982017-07-12 20:34:51908const char kForceTextDirectionName[] = "Force text direction";
909const char kForceTextDirectionDescription[] =
910 "Explicitly force the per-character directionality of UI text to "
911 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
912 "direction of the character language.";
913const char kForceDirectionLtr[] = "Left-to-right";
914const char kForceDirectionRtl[] = "Right-to-left";
915
916const char kForceUiDirectionName[] = "Force UI direction";
917const char kForceUiDirectionDescription[] =
918 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
919 "mode, overriding the default direction of the UI language.";
920
921const char kFramebustingName[] =
922 "Framebusting requires same-origin or a user gesture";
923const char kFramebustingDescription[] =
924 "Don't permit an iframe to navigate the top level browsing context unless "
925 "they are same-origin or the iframe is processing a user gesture.";
926
927const char kGamepadExtensionsName[] = "Gamepad Extensions";
928const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22929 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06930const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48931const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06932 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48933 "the polling rate improves the average latency of button and axis inputs "
934 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58935const char kGamepadVibrationName[] = "Gamepad Vibration";
936const char kGamepadVibrationDescription[] =
937 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51938
Brett Wilsonecb80982017-07-12 20:34:51939const char kGpuRasterizationMsaaSampleCountName[] =
940 "GPU rasterization MSAA sample count.";
941const char kGpuRasterizationMsaaSampleCountDescription[] =
942 "Specify the number of MSAA samples for GPU rasterization.";
943const char kGpuRasterizationMsaaSampleCountZero[] = "0";
944const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
945const char kGpuRasterizationMsaaSampleCountFour[] = "4";
946const char kGpuRasterizationMsaaSampleCountEight[] = "8";
947const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
948
949const char kGpuRasterizationName[] = "GPU rasterization";
950const char kGpuRasterizationDescription[] =
951 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28952const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51953
954const char kGoogleProfileInfoName[] = "Google profile name and icon";
955const char kGoogleProfileInfoDescription[] =
956 "Enables using Google information to populate the profile name and icon in "
957 "the avatar menu.";
958
959const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
960const char kHarfbuzzRendertextDescription[] =
961 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
962 "web content.";
963
Takumi Fujimotofb71e332018-03-31 14:04:08964const char kViewsCastDialogName[] = "Views Cast dialog";
965const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31966 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53967 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54968 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08969
Manu Cornet4a908de2018-04-09 04:32:27970const char kHideActiveAppsFromShelfName[] =
971 "Hide running apps (that are not pinned) from the shelf";
972const char kHideActiveAppsFromShelfDescription[] =
973 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25974
Brett Wilsonecb80982017-07-12 20:34:51975const char kHistoryRequiresUserGestureName[] =
976 "New history entries require a user gesture.";
977const char kHistoryRequiresUserGestureDescription[] =
978 "Require a user gesture to add a history entry.";
979const char kHyperlinkAuditingName[] = "Hyperlink auditing";
980const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
981
Ryan Landay4242dbc22018-04-04 01:47:33982const char kHorizontalTabSwitcherAndroidName[] =
983 "Enable horizontal tab switcher";
984const char kHorizontalTabSwitcherAndroidDescription[] =
985 "Changes the layout of the Android tab switcher so tabs scroll "
986 "horizontally instead of vertically.";
987
Brett Wilsonecb80982017-07-12 20:34:51988const char kHostedAppQuitNotificationName[] =
989 "Quit notification for hosted apps";
990const char kHostedAppQuitNotificationDescription[] =
991 "Display a notification when quitting Chrome if hosted apps are currently "
992 "running.";
993
994const char kHostedAppShimCreationName[] =
995 "Creation of app shims for hosted apps on Mac";
996const char kHostedAppShimCreationDescription[] =
997 "Create app shims on Mac when creating a hosted app.";
998
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48999const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1000const char kHtmlBasedUsernameDetectorDescription[] =
1001 "Use HTML-based username detector for the password manager.";
1002
Brett Wilsonecb80982017-07-12 20:34:511003const char kIconNtpName[] = "Large icons on the New Tab page";
1004const char kIconNtpDescription[] =
1005 "Enable the experimental New Tab page using large icons.";
1006
Mustafa Emre Acer9f169912018-07-23 22:40:131007const char kIdnNavigationSuggestionsName[] =
1008 "Navigation suggestions for internationalized domain names";
1009const char kIdnNavigationSuggestionsDescription[] =
1010 "Enable navigation suggestions for internationalized domain names that are "
1011 "visually similar to popular domains.";
1012
Brett Wilsonecb80982017-07-12 20:34:511013const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1014const char kIgnoreGpuBlacklistDescription[] =
1015 "Overrides the built-in software rendering list and enables "
1016 "GPU-acceleration on unsupported system configurations.";
1017
Ryan Sturm8c3dbc92018-06-26 19:22:371018const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441019const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371020 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441021
Claudio Magni61c210922017-12-28 00:29:511022const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1023const char kImprovedLanguageSettingsDescription[] =
1024 "Set of changes for Language Settings. These changes are intended to fix "
1025 "the major bugs related to Language Settings.";
1026
Brett Wilsonecb80982017-07-12 20:34:511027const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1028const char kInProductHelpDemoModeChoiceDescription[] =
1029 "Selects the In-Product Help demo mode.";
1030
1031const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1032const char kJavascriptHarmonyDescription[] =
1033 "Enable web pages to use experimental JavaScript features.";
1034
1035const char kJavascriptHarmonyShippingName[] =
1036 "Latest stable JavaScript features";
1037const char kJavascriptHarmonyShippingDescription[] =
1038 "Some web pages use legacy or non-standard JavaScript extensions that may "
1039 "conflict with the latest JavaScript features. This flag allows disabling "
1040 "support of those features for compatibility with such pages.";
1041
gogeraldfd7675d2018-06-19 22:57:351042const char kJustInTimeServiceWorkerPaymentAppName[] =
1043 "Just-in-time service worker payment app";
1044const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1045 "Allow crawling just-in-time service worker payment app when there is no "
1046 "installed service worker payment app for a payment request.";
1047
Yutaka Hiranof7f2f632017-09-06 10:40:081048const char kKeepAliveRendererForKeepaliveRequestsName[] =
1049 "Keep a renderer alive for keepalive fetch requests";
1050const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1051 "Keep a render process alive when the process has a pending fetch request "
1052 "with `keepalive' specified.";
1053
Joe Downing095fd6d2018-02-01 18:40:361054const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1055const char kKeyboardLockApiDescription[] =
1056 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1057 "specific key events and have them routed directly to the webpage when in "
1058 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1059
Brett Wilsonecb80982017-07-12 20:34:511060const char kLcdTextName[] = "LCD text antialiasing";
1061const char kLcdTextDescription[] =
1062 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1063 "(subpixel) when doing accelerated compositing.";
1064
Matt Giucac399982f2017-10-06 07:51:291065const char kLeftToRightUrlsName[] =
1066 "Render bidirectional URLs from left to right";
1067const char kLeftToRightUrlsDescription[] =
1068 "An experimental Bidi URL rendering algorithm where the URL components are "
1069 "always shown in order from left to right, regardless of any RTL "
1070 "characters. (The contents of each component are still rendered with the "
1071 "normal Bidi algorithm.)";
1072
Brett Wilsonecb80982017-07-12 20:34:511073const char kLoadMediaRouterComponentExtensionName[] =
1074 "Load Media Router Component Extension";
1075const char kLoadMediaRouterComponentExtensionDescription[] =
1076 "Loads the Media Router component extension at startup.";
1077
spqchanb87755692018-04-05 00:46:091078const char kMacViewsAutofillPopupName[] =
1079 "Uses the Views Autofill Popup on Mac";
1080const char kMacViewsAutofillPopupDescription[] =
1081 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321082
Brett Wilsonecb80982017-07-12 20:34:511083const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1084const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511085
Lei Zhang2eca9082017-10-17 20:42:501086const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1087const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511088 "If enabled, the Incognito New Tab page uses the new material design with "
1089 "a better readable text.";
1090
spqchanb87755692018-04-05 00:46:091091const char kMediaRouterCastAllowAllIPsName[] =
1092 "Connect to Cast devices on all IP addresses";
1093const char kMediaRouterCastAllowAllIPsDescription[] =
1094 "Have the Media Router connect to Cast devices on all IP addresses, not "
1095 "just RFC1918/RFC4913 private addresses.";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kMemoryCoordinatorName[] = "Memory coordinator";
1098const char kMemoryCoordinatorDescription[] =
1099 "Enable memory coordinator instead of memory pressure listeners.";
1100
1101const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1102const char kMessageCenterNewStyleNotificationDescription[] =
1103 "Enables the experiment style of material-design notification";
1104
Brett Wilsonecb80982017-07-12 20:34:511105const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1106const char kMhtmlGeneratorOptionDescription[] =
1107 "Provides experimental options for MHTML file generator.";
1108const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1109const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1110
Kouhei Ueno08445c22017-09-05 03:58:301111const char kModuleScriptsDynamicImportName[] =
1112 "Enable ECMAScript 6 modules dynamic import";
1113const char kModuleScriptsDynamicImportDescription[] =
1114 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1115 "Blink.";
1116
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051117const char kModuleScriptsImportMetaUrlName[] =
1118 "Enable ECMAScript 6 modules import.meta.url";
1119const char kModuleScriptsImportMetaUrlDescription[] =
1120 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1121 "Blink.";
1122
Brett Wilsonecb80982017-07-12 20:34:511123const char kNewAudioRenderingMixingStrategyName[] =
1124 "New audio rendering mixing strategy";
1125const char kNewAudioRenderingMixingStrategyDescription[] =
1126 "Use the new audio rendering mixing strategy.";
1127
1128const char kNewBookmarkAppsName[] = "The new bookmark app system";
1129const char kNewBookmarkAppsDescription[] =
1130 "Enables the new system for creating bookmark apps.";
1131
Vadym Doroshenkocd4ff782018-07-24 13:41:021132const char kNewPasswordFormParsingName[] =
1133 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241134const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021135 "Replaces existing form parsing for filling in password manager with a new "
1136 "version, currently under development. WARNING: when enabled, Password "
1137 "Manager might stop working";
1138
1139const char kNewPasswordFormParsingForSavingName[] =
1140 "New password form parsing for saving passwords";
1141const char kNewPasswordFormParsingForSavingDescription[] =
1142 "Replaces existing form parsing for saving in password manager with a new "
1143 "version, currently under development. WARNING: when enabled, Password "
1144 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241145
Brett Wilsonecb80982017-07-12 20:34:511146const char kNewRemotePlaybackPipelineName[] =
1147 "Enable the new remote playback pipeline.";
1148const char kNewRemotePlaybackPipelineDescription[] =
1149 "Enable the new pipeline for playing media element remotely via "
1150 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501151const char kUseSurfaceLayerForVideoName[] =
1152 "Enable the use of SurfaceLayer objects for videos.";
1153const char kUseSurfaceLayerForVideoDescription[] =
1154 "Enable compositing onto a Surface instead of a VideoLayer "
1155 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511156
1157const char kNewUsbBackendName[] = "Enable new USB backend";
1158const char kNewUsbBackendDescription[] =
1159 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341160
Sonny Sasaka2d200432018-03-22 17:43:161161const char kNewblueName[] = "Newblue";
1162const char kNewblueDescription[] =
1163 "Enables the use of newblue Bluetooth daemon.";
1164
Peter Kasting63097912018-06-30 02:09:031165const char kNewTabButtonPosition[] = "New tab button position";
1166const char kNewTabButtonPositionDescription[] =
1167 "Controls placement of the new tab button within the tabstrip.";
1168const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1169const char kNewTabButtonPositionLeading[] = "Leading";
1170const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1171const char kNewTabButtonPositionTrailing[] = "Trailing";
1172
Egor Pasko6fed3822018-05-30 10:33:141173const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341174const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141175 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341176
Alex Newcomerd7b0cc42018-05-25 22:58:481177const char kNotificationIndicatorName[] = "Notification Indicators";
1178const char kNotificationIndicatorDescription[] =
1179 "Enable notification indicators, which appear on app icons when a "
1180 "notification is active. This will also enable notifications in context "
1181 "menus.";
1182
Brett Wilsonecb80982017-07-12 20:34:511183const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1184const char kNotificationsNativeFlagDescription[] =
1185 "Enable support for using the native notification toasts and notification "
1186 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341187
Zentaro Kavanaghbad511c2017-10-18 22:29:001188#if defined(OS_POSIX)
1189const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1190const char kNtlmV2EnabledDescription[] =
1191 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1192#endif
1193
Ramya Nagarajane9f16b82018-05-03 01:05:341194const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1195const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301196 "Allow selection of a custom background image on the New Tab Page. "
1197 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341198
kristipark037abce12018-07-13 19:49:301199const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1200const char kNtpCustomLinksDescription[] =
1201 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1202 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1203
1204const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341205const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301206 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1207 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341208
1209const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1210const char kNtpUIMdDescription[] =
1211 "Updates the New Tab Page with Material Design elements.";
1212
Brett Wilsonecb80982017-07-12 20:34:511213const char kNumRasterThreadsName[] = "Number of raster threads";
1214const char kNumRasterThreadsDescription[] =
1215 "Specify the number of raster threads.";
1216const char kNumRasterThreadsOne[] = "1";
1217const char kNumRasterThreadsTwo[] = "2";
1218const char kNumRasterThreadsThree[] = "3";
1219const char kNumRasterThreadsFour[] = "4";
1220
1221const char kOfferStoreUnmaskedWalletCardsName[] =
1222 "Google Payments card saving checkbox";
1223const char kOfferStoreUnmaskedWalletCardsDescription[] =
1224 "Show the checkbox to offer local saving of a credit card downloaded from "
1225 "the server.";
1226
1227const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1228const char kOfflineAutoReloadDescription[] =
1229 "Pages that fail to load while the browser is offline will be "
1230 "auto-reloaded when the browser is online again.";
1231
1232const char kOfflineAutoReloadVisibleOnlyName[] =
1233 "Only Auto-Reload Visible Tabs";
1234const char kOfflineAutoReloadVisibleOnlyDescription[] =
1235 "Pages that fail to load while the browser is offline will only be "
1236 "auto-reloaded if their tab is visible.";
1237
Brett Wilsonecb80982017-07-12 20:34:511238const char kOmniboxDisplayTitleForCurrentUrlName[] =
1239 "Include title for the current URL in the omnibox";
1240const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1241 "In the event that the omnibox provides suggestions on-focus, the URL of "
1242 "the current page is provided as the first suggestion without a title. "
1243 "Enabling this flag causes the title to be displayed.";
1244
Benoit Lizeab08362c2017-07-19 14:50:541245const char kOmniboxSpareRendererName[] =
1246 "Start spare renderer on omnibox focus";
1247const char kOmniboxSpareRendererDescription[] =
1248 "When the omnibox is focused, start an empty spare renderer. This can "
1249 "speed up the load of the navigation from the omnibox.";
1250
Tommy C. Li8875a442017-08-23 00:10:591251const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1252 "Omnibox UI Elide Suggestion URL After Host";
1253const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1254 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1255 "dropdown.";
1256
Tommy C. Lid79d4402017-12-22 22:49:121257const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1258 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1259const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1260 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221261 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1262 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121263
Tommy C. Licc5e53022018-07-27 16:30:351264const char kOmniboxUIJogTextfieldOnPopupName[] =
1265 "Omnibox UI Jog Textfield on Popup";
1266const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1267 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1268 "text when the popup is opened. When this feature is disabled, the "
1269 "textfield is always aligned with the suggestions text, and a separator "
1270 "fills the gap. If Material Refresh is disabled, this has no effect.";
1271
Brett Wilsonecb80982017-07-12 20:34:511272const char kOmniboxUIMaxAutocompleteMatchesName[] =
1273 "Omnibox UI Max Autocomplete Matches";
1274
1275const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1276 "Changes the maximum number of autocomplete matches displayed in the "
1277 "Omnibox UI.";
1278
Justin Donnelly65c9e8b2017-10-01 05:15:011279const char kOmniboxUIShowSuggestionFaviconsName[] =
1280 "Omnibox UI Show Suggestion Favicons";
1281const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1282 "Shows favicons instead of generic vector icons for URL suggestions in the "
1283 "Omnibox dropdown.";
1284
1285const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1286const char kOmniboxUISwapTitleAndUrlDescription[] =
1287 "In the omnibox dropdown, shows titles before URLs when both are "
1288 "available.";
1289
Brett Wilsonecb80982017-07-12 20:34:511290const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1291const char kOmniboxUIVerticalMarginDescription[] =
1292 "Changes the vertical margin in the Omnibox UI.";
1293
Troy Hildebrandtb32637ca2018-02-21 23:25:091294const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1295 "Omnibox Voice Search Always Visible";
1296const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1297 "Always displays voice search icon in focused omnibox as long as voice "
1298 "search is possible";
1299
Adrienne Walkerc87477e2018-06-06 22:28:211300const char kOopRasterizationName[] = "Out of process rasterization";
1301const char kOopRasterizationDescription[] =
1302 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1303 "Must also enable GPU rasterization";
1304
Brett Wilsonecb80982017-07-12 20:34:511305const char kOriginTrialsName[] = "Origin Trials";
1306const char kOriginTrialsDescription[] =
1307 "Enables origin trials for controlling access to feature/API experiments.";
1308
Becca Hughes930d8cd2017-10-02 11:09:121309const char kOverflowIconsForMediaControlsName[] =
1310 "Icons on Media Controls Overflow Menu";
1311const char kOverflowIconsForMediaControlsDescription[] =
1312 "Displays icons on the overflow menu of the native media controls";
1313
Brett Wilsonecb80982017-07-12 20:34:511314const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1315const char kOverlayScrollbarsDescription[] =
1316 "Enable the experimental overlay scrollbars implementation. You must also "
1317 "enable threaded compositing to have the scrollbars animate.";
1318
chaopenge8aa016b2017-08-24 15:20:191319const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1320 "Flash Overlay Scrollbars After Any Scroll Update";
1321const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1322 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1323 " must also enable Overlay Scrollbars.";
1324
chaopeng343678022017-08-24 18:45:001325const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1326 "Flash Overlay Scrollbars When Mouse Enter";
1327const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1328 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1329 " enable Overlay Scrollbars.";
1330
Daniele Castagna74ddb9c2018-06-21 22:59:021331const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1332const char kOverlayStrategiesDescription[] =
1333 "Select strategies used to promote quads to HW overlays.";
1334const char kOverlayStrategiesDefault[] = "Default";
1335const char kOverlayStrategiesNone[] = "None";
1336const char kOverlayStrategiesUnoccludedFullscreen[] =
1337 "Unoccluded fullscreen buffers (single-fullscreen)";
1338const char kOverlayStrategiesUnoccluded[] =
1339 "Unoccluded buffers (single-fullscreen,single-on-top)";
1340const char kOverlayStrategiesOccludedAndUnoccluded[] =
1341 "Occluded and unoccluded buffers "
1342 "(single-fullscreen,single-on-top,underlay)";
1343
Claudio Magni81326f92017-09-01 05:21:181344const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1345const char kUseNewAcceptLanguageHeaderDescription[] =
1346 "Adds the base language code after other corresponding language+region "
1347 "codes. This ensures that users receive content in their preferred "
1348 "language.";
1349
Brett Wilsonecb80982017-07-12 20:34:511350const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1351const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481352 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511353const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481354const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511355
1356const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1357const char kOverscrollStartThresholdDescription[] =
1358 "Changes overscroll start threshold relative to the default value.";
1359const char kOverscrollStartThreshold133Percent[] = "133%";
1360const char kOverscrollStartThreshold166Percent[] = "166%";
1361const char kOverscrollStartThreshold200Percent[] = "200%";
1362
chaopenge2b6e5f2018-05-08 16:40:451363const char kTouchpadOverscrollHistoryNavigationName[] =
1364 "Overscroll history navigation on Touchpad";
1365const char kTouchpadOverscrollHistoryNavigationDescription[] =
1366 "Allows swipe left/right from touchpad change browser navigation.";
1367
Xing Liu5400a002017-09-15 21:48:291368const char kParallelDownloadingName[] = "Parallel downloading";
1369const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061370 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291371
Brett Wilsonecb80982017-07-12 20:34:511372const char kPassiveEventListenerDefaultName[] =
1373 "Passive Event Listener Override";
1374const char kPassiveEventListenerDefaultDescription[] =
1375 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1376 "haven't requested otherwise) to be treated as passive. This will break "
1377 "touch/wheel behavior on some websites but is useful for demonstrating the "
1378 "potential performance benefits of adopting passive event listeners.";
1379const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1380const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1381
1382const char kPassiveEventListenersDueToFlingName[] =
1383 "Touch Event Listeners Passive Default During Fling";
1384const char kPassiveEventListenersDueToFlingDescription[] =
1385 "Forces touchstart, and first touchmove per scroll event listeners during "
1386 "fling to be treated as passive.";
1387
1388const char kPassiveDocumentEventListenersName[] =
1389 "Document Level Event Listeners Passive Default";
1390const char kPassiveDocumentEventListenersDescription[] =
1391 "Forces touchstart, and touchmove event listeners on document level "
1392 "targets (which haven't requested otherwise) to be treated as passive.";
1393
1394const char kPasswordForceSavingName[] = "Force-saving of passwords";
1395const char kPasswordForceSavingDescription[] =
1396 "Allow the user to manually enforce password saving instead of relying on "
1397 "password manager's heuristics.";
1398
Vaclav Brozekd8a3f542017-11-16 14:21:131399const char kPasswordExportName[] = "Password export";
1400const char kPasswordExportDescription[] =
1401 "Export functionality in password settings.";
1402
1403const char kPasswordImportName[] = "Password import";
1404const char kPasswordImportDescription[] =
1405 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511406
Friedrich Horschig03c91982018-01-25 14:21:281407const char kPasswordSearchMobileName[] = "Password search";
1408const char kPasswordSearchMobileDescription[] =
1409 "Search functionality in password settings.";
1410
Friedrich Horschige6c27742018-04-23 17:13:411411const char kPasswordsKeyboardAccessoryName[] =
1412 "Add password-related functions to keyboard accessory";
1413const char kPasswordsKeyboardAccessoryDescription[] =
1414 "Adds password generation button and toggle for the passwords bottom sheet "
1415 "to the keyboard accessory. Replaces password generation popups.";
1416
Christos Froussios6e060c42018-07-31 16:17:191417const char kPasswordsMigrateLinuxToLoginDBName[] =
1418 "Migrate passwords to \"Login Data\"";
1419const char kPasswordsMigrateLinuxToLoginDBDescription[] =
1420 "Performs a one-off migration (with retries) of passwords from the "
1421 "gnome-keyring or kwallet into the profile directory.";
1422
Tom Sepez92a2cd242018-03-13 19:23:091423const char kPdfIsolationName[] = "PDF Isolation";
1424const char kPdfIsolationDescription[] =
1425 "Render PDF files from different origins in different plugin processes.";
1426
Brett Wilsonecb80982017-07-12 20:34:511427const char kPinchScaleName[] = "Pinch scale";
1428const char kPinchScaleDescription[] =
1429 "Enables experimental support for scale using pinch.";
1430
Doug Arnett620ff542018-02-06 17:54:221431const char kPreviewsAllowedName[] = "Previews Allowed";
1432const char kPreviewsAllowedDescription[] =
1433 "Allows previews to be shown subject to specific preview types being "
1434 "enabled and the client experiencing specific triggering conditions. "
1435 "May be used as a kill-switch to turn off all potential preview types.";
1436
Brett Wilsonecb80982017-07-12 20:34:511437const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1438const char kPrintPdfAsImageDescription[] =
1439 "If enabled, an option to print PDF files as images will be available in "
1440 "print preview.";
1441
1442const char kPrintPreviewRegisterPromosName[] =
1443 "Print Preview Registration Promos";
1444const char kPrintPreviewRegisterPromosDescription[] =
1445 "Enable registering unregistered cloud printers from print preview.";
1446
1447const char kProtectSyncCredentialName[] = "Autofill sync credential";
1448const char kProtectSyncCredentialDescription[] =
1449 "How the password manager handles autofill for the sync credential.";
1450
1451const char kProtectSyncCredentialOnReauthName[] =
1452 "Autofill sync credential only for transactional reauth pages";
1453const char kProtectSyncCredentialOnReauthDescription[] =
1454 "How the password manager handles autofill for the sync credential only "
1455 "for transactional reauth pages.";
1456
Mohsen Izadi93faac12017-07-29 04:45:151457const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1458const char kPullToRefreshDescription[] =
1459 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011460const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151461
Troy Hildebrandt7228ad12018-02-23 21:18:241462const char kQueryInOmniboxName[] = "Query in Omnibox";
1463const char kQueryInOmniboxDescription[] =
1464 "Only display query terms in the omnibox when viewing a search results "
1465 "page.";
1466
Brett Wilsonecb80982017-07-12 20:34:511467const char kQuicName[] = "Experimental QUIC protocol";
1468const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1469
Emily Starke8878d52018-05-11 21:27:261470const char kRecurrentInterstitialName[] =
1471 "Show a message when the same SSL error recurs";
1472const char kRecurrentInterstitialDescription[] =
1473 "Enable a special message on the SSL certificate error page when the same "
1474 "SSL error occurs repeatedly.";
1475
Brett Wilsonecb80982017-07-12 20:34:511476const char kReducedReferrerGranularityName[] =
1477 "Reduce default 'referer' header granularity.";
1478const char kReducedReferrerGranularityDescription[] =
1479 "If a page hasn't set an explicit referrer policy, setting this flag will "
1480 "reduce the amount of information in the 'referer' header for cross-origin "
1481 "requests.";
1482
Claudio Magnie0a80bb2018-01-31 02:52:581483extern const char kRegionalLocalesAsDisplayUIName[] =
1484 "Allow regional locales as display UI";
1485extern const char kRegionalLocalesAsDisplayUIDescription[] =
1486 "This flag allows regional locales to be selected as display UI by the "
1487 "user in Language Settings. The actual locale of the system is derived "
1488 "from the user selection based on some simple fallback logic.";
1489
Christian Dullweber1af31e62018-02-22 11:49:481490const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141491 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481492const char kRemoveNavigationHistoryDescription[] =
1493 "Remove a navigation entry when the corresponding history entry has been "
1494 "deleted.";
1495
Mihai Sardarescu6d0f5b72017-10-30 11:24:381496const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1497 "Remove usage of the deprecated GAIA sign-in endpoint";
1498const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1499 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1500 "This flags controls wheter it should no longer be used during a sign-in "
1501 " flow.";
1502
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351503const char kRendererSideResourceSchedulerName[] =
1504 "Renderer side ResourceScheduler";
1505const char kRendererSideResourceSchedulerDescription[] =
1506 "Migrate some ResourceScheduler functionalities to renderer";
1507
Brett Wilsonecb80982017-07-12 20:34:511508const char kRequestTabletSiteName[] =
1509 "Request tablet site option in the settings menu";
1510const char kRequestTabletSiteDescription[] =
1511 "Allows the user to request tablet site. Web content is often optimized "
1512 "for tablet devices. When this option is selected the user agent string is "
1513 "changed to indicate a tablet device. Web content optimized for tablets is "
1514 "received there after for the current tab.";
1515
1516const char kResetAppListInstallStateName[] =
1517 "Reset the App Launcher install state on every restart.";
1518const char kResetAppListInstallStateDescription[] =
1519 "Reset the App Launcher install state on every restart. While this flag is "
1520 "set, Chrome will forget the launcher has been installed each time it "
1521 "starts. This is used for testing the App Launcher install flow.";
1522
Kinuko Yasuda33955082018-06-19 10:14:591523const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511524const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591525 "Uses the resource load scheduler in blink to throttle resource load "
1526 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511527
Brett Wilsonecb80982017-07-12 20:34:511528const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1529const char kSafeSearchUrlReportingDescription[] =
1530 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1531
Alexei Filippov98772752018-01-27 08:26:521532const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1533const char kSamplingHeapProfilerDescription[] =
1534 "Enables native memory sampling profiler with specified rate in KiB. "
1535 "If sampling rate is not provided the default value of 128 KiB is used.";
1536
Brett Wilsonecb80982017-07-12 20:34:511537const char kSaveasMenuLabelExperimentName[] =
1538 "Switch 'Save as' menu labels to 'Download'";
1539const char kSaveasMenuLabelExperimentDescription[] =
1540 "Enables an experiment to switch menu labels that use 'Save as...' to "
1541 "'Download'.";
1542
1543const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1544const char kSavePageAsMhtmlDescription[] =
1545 "Enables saving pages as MHTML: a single text file containing HTML and all "
1546 "sub-resources.";
1547
Nate Chapin9638e7102017-09-20 22:11:011548const char kSavePreviousDocumentResourcesName[] =
1549 "Save Previous Document Resources";
1550const char kSavePreviousDocumentResourcesDescription[] =
1551 "Saves an old document's cached resources until the specified point in the "
1552 "next document's lifecycle.";
1553const char kSavePreviousDocumentResourcesNever[] =
1554 "Don't explicitly save resources";
1555const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1556 "Save resources until onDOMContentLoaded completes";
1557const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1558 "Save resources until onload completes";
1559
Brett Wilsonecb80982017-07-12 20:34:511560const char kScrollPredictionName[] = "Scroll prediction";
1561const char kScrollPredictionDescription[] =
1562 "Predicts the finger's future position during scrolls allowing time to "
1563 "render the frame before the finger is there.";
1564
1565const char kSecondaryUiMd[] =
1566 "Material Design in the rest of the browser's native UI";
1567const char kSecondaryUiMdDescription[] =
1568 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1569 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341570 "browser dialogs. If --top-chrome-md is effectively Material Design "
1571 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511572
gogeraldd5061b592017-09-06 23:39:551573const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1574const char kServiceWorkerPaymentAppsDescription[] =
1575 "Enable Service Worker applications to integrate as payment apps";
1576
Makoto Shimazu22078cc2018-02-21 03:01:441577extern const char kServiceWorkerServicificationName[] =
1578 "Servicified service workers";
1579extern const char kServiceWorkerServicificationDescription[] =
1580 "Enable the servicified service workers. A servicified service worker can "
1581 "have direct connection from its clients, so that fetch events can be "
1582 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171583
Tsuyoshi Horobcb1c642017-11-24 16:32:141584const char kServiceWorkerScriptFullCodeCacheName[] =
1585 "Service worker script full code cache.";
1586const char kServiceWorkerScriptFullCodeCacheDescription[] =
1587 "Generate V8 full code cache of Service Worker scripts while installing.";
1588
Brett Wilsonecb80982017-07-12 20:34:511589const char kSettingsWindowName[] = "Show settings in a window";
1590const char kSettingsWindowDescription[] =
1591 "Settings will be shown in a dedicated window instead of as a browser tab.";
1592
Manu Cornetd7ef7c52018-05-01 22:08:231593const char kShelfHoverPreviewsName[] =
1594 "Show previews of running apps when hovering over the shelf.";
1595const char kShelfHoverPreviewsDescription[] =
1596 "Shows previews of the open windows for a given running app when hovering "
1597 "over the shelf.";
1598
Manu Cornet683e14b2018-07-16 17:39:431599const char kShelfNewUiName[] = "Newest shelf redesign.";
1600const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1601
Trent Apted750ba7022017-10-23 13:36:251602const char kShowAllDialogsWithViewsToolkitName[] =
1603 "Show all dialogs with Views toolkit";
1604const char kShowAllDialogsWithViewsToolkitDescription[] =
1605 "All browser dialogs will be shown using the Views toolkit rather than "
1606 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1607
Naoki Fukino008a0022018-05-23 18:33:001608const char kShowAndroidFilesInFilesAppName[] =
1609 "Show Android files in Files app";
1610const char kShowAndroidFilesInFilesAppDescription[] =
1611 "Show Android files in Files app if Android is enabled on the device.";
1612
Luciano Pachecoa0e2753f2018-07-16 07:41:101613const char kFilesAppDisableMyFilesNavigationName[] =
1614 "Disable the My Files on the navigation in the Files app";
1615const char kFilesAppDisableMyFilesNavigationDescription[] =
1616 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511617 R"("My Files" root for Downloads, Linux and Play files)";
1618
Brett Wilsonecb80982017-07-12 20:34:511619const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1620const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381621 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1622 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511623
1624const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1625const char kShowAutofillTypePredictionsDescription[] =
1626 "Annotates web forms with Autofill field type predictions as placeholder "
1627 "text.";
1628
1629const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1630const char kShowOverdrawFeedbackDescription[] =
1631 "Visualize overdraw by color-coding elements based on if they have other "
1632 "elements drawn underneath.";
1633
Carlos IL89128732018-04-03 17:00:251634const char kSupervisedUserCommittedInterstitialsName[] =
1635 "Enable Supervised User Committed Interstitials";
1636const char kSupervisedUserCommittedInterstitialsDescription[] =
1637 "Use committed error pages instead of transient navigation entries for "
1638 "supervised user interstitials";
1639
yiyixbdfa9a0b2017-10-23 22:21:471640const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1641const char kEnableDrawOcclusionDescription[] =
1642 "Enable the system to use draw occlusion to skip draw quads when they are "
1643 "not shown on the screen.";
1644
Brett Wilsonecb80982017-07-12 20:34:511645const char kShowSavedCopyName[] = "Show Saved Copy Button";
1646const char kShowSavedCopyDescription[] =
1647 "When a page fails to load, if a stale copy of the page exists in the "
1648 "browser cache, a button will be presented to allow the user to load that "
1649 "stale copy. The primary enabling choice puts the button in the most "
1650 "salient position on the error page; the secondary enabling choice puts it "
1651 "secondary to the reload button.";
1652const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1653const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1654const char kDisableShowSavedCopy[] = "Disable";
1655
Brett Wilsonecb80982017-07-12 20:34:511656const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1657const char kSilentDebuggerExtensionApiDescription[] =
1658 "Do not show the infobar when an extension attaches to a page via "
1659 "chrome.debugger API. This is required to debug extension background "
1660 "pages.";
1661
Tsuyoshi Horo53895ba92018-03-14 04:06:481662const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1663const char kSignedHTTPExchangeDescription[] =
1664 "Enables Origin-Signed HTTP Exchanges support which is still in "
1665 "development. Warning: Enabling this may pose a security risk.";
1666
Brett Wilsonecb80982017-07-12 20:34:511667const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1668const char kSimpleCacheBackendDescription[] =
1669 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1670 "disk space allocation.";
1671
Christopher Thompson75ff845d2018-02-01 20:12:461672const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1673const char kSimplifyHttpsIndicatorDescription[] =
1674 "Change the UI treatment for HTTPS pages.";
1675
Brett Wilsonecb80982017-07-12 20:34:511676const char kSingleClickAutofillName[] = "Single-click autofill";
1677const char kSingleClickAutofillDescription[] =
1678 "Make autofill suggestions on initial mouse click on a form element.";
1679
Bret Sepulveda4f891da2018-07-16 19:10:301680const char kSingleTabMode[] = "Single-tab mode";
1681const char kSingleTabModeDescription[] =
1682 "Windows with a single tab receive a special, minimal visual treatment.";
1683
Nick Carter855bc492018-03-10 00:44:571684const char kStrictSiteIsolationName[] = "Strict site isolation";
1685const char kStrictSiteIsolationDescription[] =
1686 "Security mode that enables site isolation for all sites. When enabled, "
1687 "each renderer process will contain pages from at most one site, using "
1688 "out-of-process iframes when needed. When enabled, this flag forces the "
1689 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1690 "isolation mode will be determined by enterprise policy or field trial.";
1691
1692const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1693const char kSiteIsolationTrialOptOutDescription[] =
1694 "Opts out of field trials that enable site isolation modes "
1695 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1696 "may be due to out-of-process iframes. Opt-out has no effect if site "
1697 "isolation is force-enabled via #enable-site-per-process or enterprise "
1698 "policy. Caution: this disables important mitigations for the Spectre CPU "
1699 "vulnerability affecting most computers.";
1700extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1701extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1702 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511703
Pattideade7972018-04-27 02:59:401704const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511705const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401706 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511707
Brett Wilsonecb80982017-07-12 20:34:511708const char kSmoothScrollingName[] = "Smooth Scrolling";
1709const char kSmoothScrollingDescription[] =
1710 "Animate smoothly when scrolling page content.";
1711
1712const char kSoftwareRasterizerName[] = "3D software rasterizer";
1713const char kSoftwareRasterizerDescription[] =
1714 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1715
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201716const char kSoleIntegrationName[] = "Sole integration";
1717const char kSoleIntegrationDescription[] =
1718 "Enable Sole integration for browser customization. You must restart "
1719 "the browser twice for changes to take effect.";
1720
Tommy Steimel77704be2017-08-28 22:14:401721const char kSoundContentSettingName[] = "Sound content setting";
1722const char kSoundContentSettingDescription[] =
1723 "Enable site-wide muting in content settings and tab strip context menu.";
1724
Alexandr Ilinf0500ed32017-09-27 21:12:361725const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1726const char kSpeculativePreconnectDescription[] =
1727 "Enable the new implementation of preconnect and DNS preresolve. "
1728 "\"Learning\" means that only database construction is enabled, "
1729 "\"Preconnect\" enables both learning and preconnect and disables the "
1730 "existing implementation. \"No preconnect\" disables both implementations.";
1731
Brett Wilsonecb80982017-07-12 20:34:511732const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341733const char kSpeculativePrefetchDescription[] =
1734 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1735 R"*(load times, based on a local database (see chrome://predictors). )*"
1736 R"*("Learning" means that only the database construction is enabled, )*"
1737 R"*("Prefetching" that learning and prefetching are enabled.)*";
1738
Justin Donnelly4e448cb2017-07-07 21:32:131739const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1740 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131741const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1742 "If enabled, when the user enters text in the omnibox that looks like a "
1743 "a query, any service worker associated with the search engine the query "
1744 "will be sent to is started early.";
1745
Brett Wilsonecb80982017-07-12 20:34:511746const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1747const char kSpellingFeedbackFieldTrialDescription[] =
1748 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401749
Carlos ILe5fa0a12018-08-03 16:08:321750const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1751const char kSSLCommittedInterstitialsDescription[] =
1752 "Use committed error pages instead of transient navigation entries "
1753 "for SSL interstitial error pages (i.e. certificate errors).";
1754
Shubhie Panickerfaf082ed2018-01-03 04:49:151755const char kStopInBackgroundName[] = "Stop in background";
1756const char kStopInBackgroundDescription[] =
1757 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281758 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151759
Shubhie Panicker56c99a22018-03-21 00:22:281760const char kStopNonTimersInBackgroundName[] =
1761 "Stop non-timer task queues background";
1762const char kStopNonTimersInBackgroundDescription[] =
1763 "Stop non-timer task queues, in the background, "
1764 "after a grace period.";
1765
Brett Wilsonecb80982017-07-12 20:34:511766const char kSuggestionsWithSubStringMatchName[] =
1767 "Substring matching for Autofill suggestions";
1768const char kSuggestionsWithSubStringMatchDescription[] =
1769 "Match Autofill suggestions based on substrings (token prefixes) rather "
1770 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341771
Marc Treibf65fb002018-08-03 11:17:161772const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1773const char kSyncStandaloneTransportDescription[] =
1774 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1775 "this mode, the Sync machinery can start without user opt-in, but only a "
1776 "subset of data types are supported.";
1777
Brett Wilsonecb80982017-07-12 20:34:511778const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1779const char kSyncSandboxDescription[] =
1780 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341781
Joe Downing8cbbc192018-05-14 17:37:071782const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1783const char kSystemKeyboardLockDescription[] =
1784 "Enables websites to use the keyboard.lock() API to intercept system "
1785 "keyboard shortcuts and have the events routed directly to the website "
1786 "when in fullscreen mode.";
1787
Brett Wilsonecb80982017-07-12 20:34:511788const char kTabAudioMutingName[] = "Tab audio muting UI control";
1789const char kTabAudioMutingDescription[] =
1790 "When enabled, the audio indicators in the tab strip double as tab audio "
1791 "mute controls. This also adds commands in the tab context menu for "
1792 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341793
Christian Dullweberd0d96f02017-09-13 09:22:511794const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1795const char kTabsInCbdDescription[] =
1796 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1797
Becky Zhou99c22802017-10-19 05:09:271798const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1799const char kTabModalJsDialogDescription[] =
1800 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1801 " tab.";
1802
Brett Wilsonecb80982017-07-12 20:34:511803const char kTcpFastOpenName[] = "TCP Fast Open";
1804const char kTcpFastOpenDescription[] =
1805 "Enable the option to send extra authentication information in the initial "
1806 "SYN packet for a previously connected client, allowing faster data send "
1807 "start.";
vabr0215a8e2017-03-28 12:47:341808
Daniele Castagna0fead93e2018-01-10 20:40:291809const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1810const char kTintGlCompositedContentDescription[] =
1811 "Tint contents composited using GL with a shade of red to help debug and "
1812 "study overlay support.";
1813
Brett Wilsonecb80982017-07-12 20:34:511814const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1815const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581816 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401817 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431818 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341819 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541820 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511821const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531822const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461823const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581824const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401825const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431826const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341827
Brett Wilsonecb80982017-07-12 20:34:511828const char kThreadedScrollingName[] = "Threaded scrolling";
1829const char kThreadedScrollingDescription[] =
1830 "Threaded handling of scroll-related input events. Disabling this will "
1831 "force all such scroll events to be handled on the main thread. Note that "
1832 "this can dramatically hurt scrolling performance of most websites and is "
1833 "intended for testing purposes only.";
1834
Steven Valdez4584b2482017-07-14 01:11:571835const char kTLS13VariantName[] = "TLS 1.3";
1836const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1837const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111838const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041839const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381840const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571841
Brett Wilsonecb80982017-07-12 20:34:511842const char kTopDocumentIsolationName[] = "Top document isolation";
1843const char kTopDocumentIsolationDescription[] =
1844 "Highly experimental performance mode where cross-site iframes are kept in "
1845 "a separate process from the top document. In this mode, iframes from "
1846 "different third-party sites will be allowed to share a process.";
1847
Dominick Ng8896b1cd2017-10-17 23:24:361848const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1849const char kTopSitesFromSiteEngagementDescription[] =
1850 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1851 "engagement.";
1852
Brett Wilsonecb80982017-07-12 20:34:511853const char kTouchAdjustmentName[] = "Touch adjustment";
1854const char kTouchAdjustmentDescription[] =
1855 "Refine the position of a touch gesture in order to compensate for touches "
1856 "having poor resolution compared to a mouse.";
1857
Alex Newcomerb3d3c972018-05-03 14:59:401858const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1859const char kTouchableAppContextMenuDescription[] =
1860 "Enable the touchable app context menu, which enlarges app context menus "
1861 "in the Launcher and Shelf to make room for new features.";
1862
Brett Wilsonecb80982017-07-12 20:34:511863const char kTouchDragDropName[] = "Touch initiated drag and drop";
1864const char kTouchDragDropDescription[] =
1865 "Touch drag and drop can be initiated through long press on a draggable "
1866 "element.";
1867
1868const char kTouchEventsName[] = "Touch Events API";
1869const char kTouchEventsDescription[] =
1870 "Force Touch Events API feature detection to always be enabled or "
1871 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291872 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511873
1874const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1875const char kTouchSelectionStrategyDescription[] =
1876 "Controls how text selection granularity changes when touch text selection "
1877 "handles are dragged. Non-default behavior is experimental.";
1878const char kTouchSelectionStrategyCharacter[] = "Character";
1879const char kTouchSelectionStrategyDirection[] = "Direction";
1880
1881const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1882const char kTraceUploadUrlDescription[] =
1883 "This is to be used in conjunction with the enable-navigation-tracing "
1884 "flag. Please select the label that best describes the recorded traces. "
1885 "This will choose the destination the traces are uploaded to. If you are "
1886 "not sure, select other. If left empty, no traces will be uploaded.";
1887const char kTraceUploadUrlChoiceOther[] = "Other";
1888const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1889const char kTraceUploadUrlChoiceQa[] = "QA";
1890const char kTraceUploadUrlChoiceTesting[] = "Testing";
1891
Anthony Vallee-Dubois265c5692018-06-01 15:57:141892const char kTranslateForceTriggerOnEnglishName[] =
1893 "Select which language model to use to trigger translate on English "
1894 "content";
1895const char kTranslateForceTriggerOnEnglishDescription[] =
1896 "Force the Translate Triggering on English pages experiment to be enabled "
1897 "with the selected language model active.";
1898
Philippe Hamel7fdaa452017-09-29 17:22:491899const char kTranslateRankerEnforcementName[] =
1900 "Enforce TranslateRanker decisions";
1901const char kTranslateRankerEnforcementDescription[] =
1902 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1903 "or not Translate UI should be triggered in a given context.";
1904
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161905const char kTranslateUIName[] = "Enable Translate";
1906const char kTranslateUIDescription[] =
1907 "Enable the Translate popup when visiting webpages in other languages.";
1908
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051909const char kTreatInsecureOriginAsSecureName[] =
1910 "Insecure origins treated as secure";
1911const char kTreatInsecureOriginAsSecureDescription[] =
1912 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1913 "supplied as a comma-separated list. For the definition of secure "
1914 "contexts, "
1915 "see https://w3c.github.io/webappsec-secure-contexts/";
1916
Brett Wilsonecb80982017-07-12 20:34:511917const char kTrySupportedChannelLayoutsName[] =
1918 "Causes audio output streams to check if channel layouts other than the "
1919 "default hardware layout are available.";
1920const char kTrySupportedChannelLayoutsDescription[] =
1921 "Causes audio output streams to check if channel layouts other than the "
1922 "default hardware layout are available. Turning this on will allow the OS "
1923 "to do stereo to surround expansion if supported. May expose third party "
1924 "driver bugs, use with caution.";
1925
David Roger6762a092018-01-31 15:55:071926const char kUnifiedConsentName[] = "Unified Consent";
1927const char kUnifiedConsentDescription[] =
1928 "Enables a unified management of user consent for privacy-related "
1929 "features. This includes new confirmation screens and improved settings "
1930 "pages.";
1931
Jérôme Lebelfe1b2e02018-08-03 12:26:201932const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1933const char kForceUnifiedConsentBumpDescription[] =
1934 "Force the unified consent bump UI to be shown on every start-up. This "
1935 "flag is for debug purpose, to test the UI.";
1936
Brett Wilsonecb80982017-07-12 20:34:511937const char kUiPartialSwapName[] = "Partial swap";
1938const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1939
Chris Pickel3a227ae62017-08-24 10:47:261940const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1941const char kUseDdljsonApiDescription[] =
1942 "Enables the new ddljson API to fetch Doodles for the NTP.";
1943
Becca Hughes59c05b42017-11-03 13:11:581944const char kUseModernMediaControlsName[] = "New Media Controls";
1945const char kUseModernMediaControlsDescription[] =
1946 "Enables the new style native media controls.";
1947
Wei Li790e7a8572018-03-23 01:31:551948const char kUsePdfCompositorServiceName[] =
1949 "Use PDF compositor service for printing";
1950const char kUsePdfCompositorServiceDescription[] =
1951 "When enabled, use PDF compositor service to composite and generate PDF "
1952 "files for printing. When site isolation is enabled, disabling this will "
1953 "not stop using PDF compositor service since the service is required for "
1954 "printing out-of-process iframes correctly.";
1955
Mustaq Ahmedc646c0a2017-10-20 20:08:301956const char kUserActivationV2Name[] = "User Activation v2";
1957const char kUserActivationV2Description[] =
1958 "Enable simple user activation for APIs that are otherwise controlled by "
1959 "user gesture tokens.";
1960
Brett Wilsonecb80982017-07-12 20:34:511961const char kUserConsentForExtensionScriptsName[] =
1962 "User consent for extension scripts";
1963const char kUserConsentForExtensionScriptsDescription[] =
1964 "Require user consent for an extension running a script on the page, if "
1965 "the extension requested permission to run on all urls.";
1966
1967const char kUseSuggestionsEvenIfFewFeatureName[] =
1968 "Disable minimum for server-side tile suggestions on NTP.";
1969const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1970 "Request server-side suggestions even if there are only very few of them "
1971 "and use them for tiles on the New Tab Page.";
1972
1973const char kV8CacheOptionsName[] = "V8 caching mode.";
1974const char kV8CacheOptionsDescription[] =
1975 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511976const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1977
Hitoshi Yoshida3e5db562017-09-11 02:31:081978const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1979const char kV8ContextSnapshotDescription[] =
1980 "Sets to use a snapshot to create V8 contexts in frame creation.";
1981
Michael Hablich896d52662017-10-23 15:59:571982const char kV8VmFutureName[] = "Future V8 VM features";
1983const char kV8VmFutureDescription[] =
1984 "This enables upcoming and experimental V8 VM features. "
1985 "This flag does not enable experimental JavaScript features.";
1986
Hannes Payer1130d5672018-06-05 07:37:311987const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1988const char kV8OrinocoDescription[] =
1989 "This enables the V8 Orinoco garbage collection features.";
1990
Brett Wilsonecb80982017-07-12 20:34:511991const char kVideoFullscreenOrientationLockName[] =
1992 "Lock screen orientation when playing a video fullscreen.";
1993const char kVideoFullscreenOrientationLockDescription[] =
1994 "Lock the screen orientation of the device to match video orientation when "
1995 "a video goes fullscreen. Only on phones.";
1996
1997const char kVideoRotateToFullscreenName[] =
1998 "Rotate-to-fullscreen gesture for videos.";
1999const char kVideoRotateToFullscreenDescription[] =
2000 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2001 "the video. Only on phones.";
2002
Elly Fong-Jonesf4c79502018-03-23 19:21:532003const char kViewsBrowserWindowsName[] =
2004 "Use Views browser windows instead of Cocoa.";
2005const char kViewsBrowserWindowsDescription[] =
2006 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
2007
Brett Wilsonecb80982017-07-12 20:34:512008const char kWalletServiceUseSandboxName[] =
2009 "Use Google Payments sandbox servers";
2010const char kWalletServiceUseSandboxDescription[] =
2011 "For developers: use the sandbox service for Google Payments API calls.";
2012
Brett Wilsonecb80982017-07-12 20:34:512013const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2014const char kWebglDraftExtensionsDescription[] =
2015 "Enabling this option allows web applications to access the WebGL "
2016 "Extensions that are still in draft status.";
2017
2018const char kWebMidiName[] = "Web MIDI API";
2019const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2020
2021const char kWebPaymentsName[] = "Web Payments";
2022const char kWebPaymentsDescription[] =
2023 "Enable Web Payments API integration, a JavaScript API for merchants.";
2024
Mathieu Perreault51339b82017-07-20 17:06:052025const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2026const char kWebPaymentsModifiersDescription[] =
2027 "If the website provides modifiers in the payment request, show the custom "
2028 "total for each payment instrument, update the shopping cart when "
2029 "instruments are switched, and send modified payment method specific data "
2030 "to the payment app.";
2031
Brett Wilsonecb80982017-07-12 20:34:512032const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2033const char kWebrtcEchoCanceller3Description[] =
2034 "Experimental WebRTC echo canceller (AEC3).";
2035
2036const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2037const char kWebrtcHwDecodingDescription[] =
2038 "Support in WebRTC for decoding video streams using platform hardware.";
2039
2040const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2041const char kWebrtcHwEncodingDescription[] =
2042 "Support in WebRTC for encoding video streams using platform hardware.";
2043
2044const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2045const char kWebrtcHwH264EncodingDescription[] =
2046 "Support in WebRTC for encoding h264 video streams using platform "
2047 "hardware.";
2048
2049const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2050const char kWebrtcHwVP8EncodingDescription[] =
2051 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2052
Niels Möller090866a2018-02-13 10:55:032053const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2054 "WebRTC new encode cpu load estimator";
2055const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2056 "Enable new estimator for the encoder cpu load, for evaluation and "
2057 "testing. Intended to improve accuracy when screen casting.";
2058
Elad Alon85e0d0be2018-06-26 10:38:372059const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2060const char kWebRtcRemoteEventLogDescription[] =
2061 "Allow collecting WebRTC event logs and uploading them to Crash. "
2062 "Please note that, even if enabled, this will still require "
2063 "a policy to be set, for it to have an effect.";
2064
Brett Wilsonecb80982017-07-12 20:34:512065const char kWebrtcSrtpAesGcmName[] =
2066 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2067const char kWebrtcSrtpAesGcmDescription[] =
2068 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2069
Joachim Bauch4a41d7512017-08-23 14:24:232070const char kWebrtcSrtpEncryptedHeadersName[] =
2071 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2072const char kWebrtcSrtpEncryptedHeadersDescription[] =
2073 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2074 "for SRTP.";
2075
Brett Wilsonecb80982017-07-12 20:34:512076const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2077const char kWebrtcStunOriginDescription[] =
2078 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2079 "header.";
2080
Adam Riceed63fc02018-06-20 05:57:462081const char kWebSocketHandshakeReuseConnectionName[] =
2082 "Enable WebSocket connection reuse for authentication";
2083const char kWebSocketHandshakeReuseConnectionDescription[] =
2084 "Permits the WebSocket handshake to keep the connection open after an "
2085 "authentication failure. The connection may be used for further requests "
2086 "to send credentials. This is sometimes needed for Windows authentication.";
2087
Brett Wilsonecb80982017-07-12 20:34:512088const char kWebvrName[] = "WebVR";
2089const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012090 "Enables access to experimental Virtual Reality functionality via the "
2091 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2092 "Device API. Warning: Enabling this will also allow WebVR content on "
2093 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222094 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512095
Brandon Jonese9d9b2b2017-12-11 22:20:112096const char kWebXrName[] = "WebXR Device API";
2097const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012098 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2099 "and Augmented Reality (AR) devices.";
2100
2101const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2102const char kWebXrGamepadSupportDescription[] =
2103 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222104 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2105 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432106
2107const char kWebXrHitTestName[] = "WebXR Hit Test";
2108const char kWebXrHitTestDescription[] =
2109 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112110
Anna Maria57ecf7592018-01-12 03:10:402111const char kWebXrOrientationSensorDeviceName[] =
2112 "WebXR orientation sensor device";
2113const char kWebXrOrientationSensorDeviceDescription[] =
2114 "When no VR platform device is available, expose a non-presenting device "
2115 "based on the device's orientation sensors, if available.";
2116
Brett Wilsonecb80982017-07-12 20:34:512117const char kWifiCredentialSyncName[] = "WiFi credential sync";
2118const char kWifiCredentialSyncDescription[] =
2119 "Enables synchronizing WiFi network settings across devices. When enabled, "
2120 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2121 "credentials are synchronized subject to user preferences. (See also, "
2122 "chrome://settings/syncSetup.)";
2123
2124const char kZeroCopyName[] = "Zero-copy rasterizer";
2125const char kZeroCopyDescription[] =
2126 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342127
Brett Wilsonff596952017-07-14 01:06:552128// Android ---------------------------------------------------------------------
2129
2130#if defined(OS_ANDROID)
2131
2132const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2133const char kAiaFetchingDescription[] =
2134 "Enable intermediate certificate fetching when a server does not provide "
2135 "sufficient certificates to build a chain to a trusted root.";
2136
2137const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2138const char kAccessibilityTabSwitcherDescription[] =
2139 "Enable the accessibility tab switcher for Android.";
2140
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252141const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2142const char kAllowReaderForAccessibilityDescription[] =
2143 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2144
Brett Wilsonff596952017-07-14 01:06:552145const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2146const char kAndroidAutofillAccessibilityDescription[] =
2147 "Enable accessibility for autofill popup.";
2148
Anita Woodruffbfcd1e52018-07-16 12:00:512149const char kAppNotificationStatusMessagingName[] =
2150 "App notification status messaging";
2151const char kAppNotificationStatusMessagingDescription[] =
2152 "Enables messaging in site permissions UI informing user when "
2153 "notifications are disabled for the entire app.";
2154
Brett Wilsonff596952017-07-14 01:06:552155const char kAndroidPaymentAppsName[] = "Android payment apps";
2156const char kAndroidPaymentAppsDescription[] =
2157 "Enable third party Android apps to integrate as payment apps";
2158
Miriam Gershenson8cf1397222018-01-23 22:48:292159const char kAsyncDnsName[] = "Async DNS resolver";
2160const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2161
Brett Wilsonff596952017-07-14 01:06:552162const char kAutofillAccessoryViewName[] =
2163 "Autofill suggestions as keyboard accessory view";
2164const char kAutofillAccessoryViewDescription[] =
2165 "Shows Autofill suggestions on top of the keyboard rather than in a "
2166 "dropdown.";
2167
2168const char kBackgroundLoaderForDownloadsName[] =
2169 "Enables background downloading of pages.";
2170const char kBackgroundLoaderForDownloadsDescription[] =
2171 "Enables downloading pages in the background in case page is not yet "
2172 "loaded in current tab.";
2173
Tibor Goldschwendt11b3cf22018-07-04 15:32:442174const char kBackgroundTaskComponentUpdateName[] =
2175 "Background Task Component Updates";
2176const char kBackgroundTaskComponentUpdateDescription[] =
2177 "Schedule component updates with BackgroundTaskScheduler";
2178
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002179const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2180const char kCCTModuleDescription[] =
2181 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2182
Matthew Jones1abcb132018-07-09 17:59:462183const char kChromeDuetName[] = "Chrome Duet";
2184const char kChromeDuetDescription[] =
2185 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052186
Brett Wilsonff596952017-07-14 01:06:552187const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2188const char kChromeHomeSwipeLogicDescription[] =
2189 "Various swipe logic options for Chrome Home for sheet expansion.";
2190const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152191const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552192
Theresa8e44a7132018-06-15 17:40:592193const char kChromeModernAlternateCardLayoutName[] =
2194 "Chrome Modern Alternate Card Layout";
2195const char kChromeModernAlternateCardLayoutDescription[] =
2196 "Enable the alternate card layout for Chrome Modern Design.";
2197
Matthew Jones5b7f1d62018-01-23 00:37:252198const char kChromeModernDesignName[] = "Chrome Modern Design";
2199const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452200 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2201 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252202
Donn Denman3e78c8d2018-06-28 22:51:422203const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2204const char kChromeModernFullRollDescription[] =
2205 "Enable modern full-roll animation for Chrome.";
2206
Megan Jablonskic61eb1b82017-10-02 18:03:062207const char kChromeMemexName[] = "Chrome Memex";
2208const char kChromeMemexDescription[] =
2209 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2210 "Googlers.";
2211
Sarath Singapati83aef1c2017-11-16 15:54:522212const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2213const char kClearOldBrowsingDataDescription[] =
2214 "Enables clearing of browsing data which is older than a given time "
2215 "period.";
2216
Brett Wilsonff596952017-07-14 01:06:552217const char kContentSuggestionsCategoryOrderName[] =
2218 "Default content suggestions category order (e.g. on NTP)";
2219const char kContentSuggestionsCategoryOrderDescription[] =
2220 "Set default order of content suggestion categories (e.g. on the NTP).";
2221
2222const char kContentSuggestionsCategoryRankerName[] =
2223 "Content suggestions category ranker (e.g. on NTP)";
2224const char kContentSuggestionsCategoryRankerDescription[] =
2225 "Set category ranker to order categories of content suggestions (e.g. on "
2226 "the NTP).";
2227
Vitalii Iarkof52ff802017-09-14 12:34:242228const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2229const char kContentSuggestionsDebugLogDescription[] =
2230 "Enable content suggestions debug log accessible through "
2231 "snippets-internals.";
2232
Donn Denman8e58ead2017-11-04 01:44:012233const char kContextualSearchMlTapSuppressionName[] =
2234 "Contextual Search ML tap suppression";
2235const char kContextualSearchMlTapSuppressionDescription[] =
2236 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022237 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2238 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552239
2240const char kContextualSearchName[] = "Contextual Search";
2241const char kContextualSearchDescription[] =
2242 "Whether or not Contextual Search is enabled.";
2243
Donn Denman59729812018-01-09 01:27:022244const char kContextualSearchRankerQueryName[] =
2245 "Contextual Search Ranker prediction";
2246const char kContextualSearchRankerQueryDescription[] =
2247 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2248
2249const char kContextualSearchSecondTapName[] =
2250 "Contextual Search second tap triggering";
2251const char kContextualSearchSecondTapDescription[] =
2252 "Enables triggering on a second tap gesture even when Ranker would "
2253 "normally suppress that tap.";
2254
Donn Denmane9b5b7fb2018-07-24 22:19:492255const char kContextualSearchUnityIntegrationName[] =
2256 "Contextual Search integration with Unified Consent";
2257const char kContextualSearchUnityIntegrationDescription[] =
2258 "Enables integration of Tap to Search with Unified Consent.";
2259
Cathy Li2fb32bf82018-06-06 18:55:402260const char kExploreSitesName[] = "Explore websites";
2261const char kExploreSitesDescription[] =
2262 "Enables portal from new tab page to explore websites.";
2263
Dmitry Skiba9c3efa72017-07-20 22:01:142264const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2265const char kDontPrefetchLibrariesDescription[] =
2266 "Don't prefetch libraries after loading.";
2267
Joy Ming5fd29ca62017-10-02 22:51:222268const char kDownloadsForegroundName[] = "Enable downloads foreground";
2269const char kDownloadsForegroundDescription[] =
2270 "Enable downloads as a foreground service for all versions of Android.";
2271
Joy Ming189b0cc2017-12-08 19:42:432272const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2273const char kDownloadsLocationChangeDescription[] =
2274 "Enable changing default downloads storage location on Android.";
2275
Shakti Sahu32b2ee102018-05-17 00:04:462276const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2277const char kDownloadProgressInfoBarDescription[] =
2278 "Enables an infobar notifying users about status of current downloads.";
2279
Shakti Sahu9ec8cfd2018-07-17 13:29:292280const char kDownloadHomeV2Name[] = "Enable download home v2";
2281const char kDownloadHomeV2Description[] =
2282 "Enables the new UI for download home";
2283
Brett Wilsonff596952017-07-14 01:06:552284const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2285const char kEnableAndroidPayIntegrationV1Description[] =
2286 "Enable integration with Android Pay using the first version of the API";
2287
2288const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2289const char kEnableAndroidPayIntegrationV2Description[] =
2290 "Enable integration with Android Pay using the second version of the API";
2291
Vitalii Iarkof4ed32d2017-09-26 13:15:532292const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552293const char kEnableAndroidSpellcheckerDescription[] =
2294 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552295
Lei Tianbd5a3bf2018-02-28 19:01:162296const char kEnableCommandLineOnNonRootedName[] =
2297 "Enable command line on non-rooted devices";
2298const char kEnableCommandLineOnNoRootedDescription[] =
2299 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2300
Vitalii Iarkof4ed32d2017-09-26 13:15:532301const char kEnableContentSuggestionsNewFaviconServerName[] =
2302 "Get favicons for content suggestions from a new server.";
2303const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2304 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2305 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552306
2307const char kEnableContentSuggestionsSettingsName[] =
2308 "Show content suggestions settings.";
2309const char kEnableContentSuggestionsSettingsDescription[] =
2310 "If enabled, the content suggestions settings will be available from the "
2311 "main settings menu.";
2312
Vitalii Iarkof4ed32d2017-09-26 13:15:532313const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2314 "Use content suggestions thumbnail dominant color.";
2315const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2316 "Use content suggestions thumbnail dominant color as a placeholder before "
2317 "the real thumbnail is fetched (requires Chrome Home).";
2318
Brett Wilsonff596952017-07-14 01:06:552319const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2320const char kEnableCustomContextMenuDescription[] =
2321 "Enables a new context menu when a link, image, or video is pressed within "
2322 "Chrome.";
2323
2324const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2325const char kEnableCustomFeedbackUiDescription[] =
2326 "Enables a custom feedback UI when submitting feedback through Google "
2327 "Feedback. Works with Google Play Services v10.2+";
2328
2329const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472330 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552331const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472332 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552333
Becca Hughes6d73bac542018-06-18 20:38:502334const char kEnableMediaControlsExpandGestureName[] =
2335 "Enable Media Controls Expand Gesture";
2336const char kEnableMediaControlsExpandGestureDescription[] =
2337 "Enables a gesture to be used on the media controls to extend the video "
2338 "into the Display Cutout area.";
2339
Brett Wilsonff596952017-07-14 01:06:552340const char kEnableOmniboxClipboardProviderName[] =
2341 "Omnibox clipboard URL suggestions";
2342const char kEnableOmniboxClipboardProviderDescription[] =
2343 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2344 "focus in the omnibox.";
2345
Becky Zhoua7f11d62018-02-01 16:02:532346const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2347 "Show article suggestions expandable header on New Tab Page";
2348const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2349 "If enabled, the article suggestions content on New Tab Page can be "
2350 "toggled shown or hidden by clicking the expandable header.";
2351
Brett Wilsonff596952017-07-14 01:06:552352const char kEnableNtpAssetDownloadSuggestionsName[] =
2353 "Show asset downloads on the New Tab page";
2354const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2355 "If enabled, the list of content suggestions on the New Tab page will "
2356 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2357 "later use.";
2358
2359const char kEnableNtpBookmarkSuggestionsName[] =
2360 "Show recently visited bookmarks on the New Tab page";
2361const char kEnableNtpBookmarkSuggestionsDescription[] =
2362 "If enabled, the list of content suggestions on the New Tab page will "
2363 "contain recently visited bookmarks.";
2364
2365const char kEnableNtpForeignSessionsSuggestionsName[] =
2366 "Show recent foreign tabs on the New Tab page";
2367const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2368 "If enabled, the list of content suggestions on the New Tab page will "
2369 "contain recent foreign tabs.";
2370
Brett Wilsonff596952017-07-14 01:06:552371const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2372 "Show offline page downloads on the New Tab page";
2373const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2374 "If enabled, the list of content suggestions on the New Tab page will "
2375 "contain pages that the user downloaded for later use.";
2376
2377const char kEnableNtpRemoteSuggestionsName[] =
2378 "Show server-side suggestions on the New Tab page";
2379const char kEnableNtpRemoteSuggestionsDescription[] =
2380 "If enabled, the list of content suggestions on the New Tab page will "
2381 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2382 "allows to override the source used to retrieve these server-side "
2383 "suggestions.";
2384
2385const char kEnableNtpSnippetsVisibilityName[] =
2386 "Make New Tab Page Snippets more visible.";
2387const char kEnableNtpSnippetsVisibilityDescription[] =
2388 "If enabled, the NTP snippets will become more discoverable with a larger "
2389 "portion of the first card above the fold.";
2390
2391const char kEnableNtpSuggestionsNotificationsName[] =
2392 "Notify about new content suggestions available at the New Tab page";
2393const char kEnableNtpSuggestionsNotificationsDescription[] =
2394 "If enabled, notifications will inform about new content suggestions on "
2395 "the New Tab page.";
2396
Brett Wilsonff596952017-07-14 01:06:552397const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2398const char kEnableOfflinePreviewsDescription[] =
2399 "Enable showing offline page previews on slow networks.";
2400
2401const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2402const char kEnableOskOverscrollDescription[] =
2403 "Enable OSK overscroll support. With this flag on, the OSK will only "
2404 "resize the visual viewport.";
2405
2406const char kEnableSpecialLocaleName[] =
2407 "Enable custom logic for special locales.";
2408const char kEnableSpecialLocaleDescription[] =
2409 "Enable custom logic for special locales. In this mode, Chrome might "
2410 "behave differently in some locales.";
2411
Brett Wilsonff596952017-07-14 01:06:552412const char kEnableWebNfcName[] = "WebNFC";
2413const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2414
gogeraldf3cbb422017-07-26 14:37:122415const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2416 "Enable Web Payments method section order V2.";
2417const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2418 "Enable this option to display payment method section above address "
2419 "section instead of below it.";
2420
Raymes Khoury582b43132017-12-12 23:54:302421const char kGrantNotificationsToDSEName[] =
2422 "Grant notifications to the Default Search Engine";
2423const char kGrantNotificationsToDSENameDescription[] =
2424 "Automatically grant the notifications permission to the Default Search "
2425 "Engine";
2426
Daniel Parke74fcf862018-03-27 18:05:452427const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512428const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452429
Yafei Duanbb7663f32018-07-17 01:33:152430const char kHomepageTileName[] =
2431 "Enable Homepage tile shown in Suggested Tiles";
2432const char kHomepageTileDescription[] =
2433 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2434 "used for homepage. It will not have an effect when NTPButton is disabled.";
2435
Jian Li4b252642018-07-23 19:49:072436const char kIncognitoStringsName[] = "Alternate incognito strings";
2437const char kIncognitoStringsDescription[] =
2438 "Show alternate incognito strings if enabled.";
2439
Theresa920e0ed2018-03-07 18:12:442440const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152441 "Use the interest feed to render content suggestions. Currently "
2442 "content "
Theresa920e0ed2018-03-07 18:12:442443 "suggestions are shown on the New Tab Page.";
2444const char kInterestFeedContentSuggestionsName[] =
2445 "Interest Feed Content Suggestions";
2446
Brett Wilsonff596952017-07-14 01:06:552447const char kKeepPrefetchedContentSuggestionsName[] =
2448 "Keep prefetched content suggestions";
2449const char kKeepPrefetchedContentSuggestionsDescription[] =
2450 "If enabled, some of prefetched content suggestions are not replaced by "
2451 "the new fetched suggestions.";
2452
Leo Zhang051b75482017-12-20 03:28:302453const char kLanguagesPreferenceName[] = "Language Settings";
2454const char kLanguagesPreferenceDescription[] =
2455 "Enable this option for Language Settings feature on Android.";
2456
Charlie Ma8c2846e2018-07-27 18:44:392457const char kLongPressBackForHistoryName[] =
2458 "Long Press Back Button for History";
2459const char kLongPressBackForHistoryDescription[] =
2460 "Long press system back button to show navigation history if enabled";
2461
Charlie Ma85b22bdb2018-08-01 03:50:452462const char kLongPressBackNewDesignName[] = "Long Press Back New Design";
2463const char kLongPressBackNewDesignDescription[] =
2464 "Long press system back button to show material design refreshed navigation"
2465 " popup if enabled";
2466
Brett Wilsonff596952017-07-14 01:06:552467const char kLsdPermissionPromptName[] =
2468 "Location Settings Dialog Permission Prompt";
2469const char kLsdPermissionPromptDescription[] =
2470 "Whether to use the Google Play Services Location Settings Dialog "
2471 "permission dialog.";
2472
Amirhossein Simjour97b4154f2018-02-20 03:49:592473const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2474const char kModalPermissionDialogViewDescription[] =
2475 "Enable this option to use ModalDialogManager for permission Dialogs.";
2476
Brett Wilsonff596952017-07-14 01:06:552477const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2478const char kMediaScreenCaptureDescription[] =
2479 "Enable this option for experimental ScreenCapture feature on Android.";
2480
2481const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2482const char kModalPermissionPromptsDescription[] =
2483 "Whether to use permission dialogs in place of permission infobars.";
2484
Finnur Thorarinssonc1488fc62018-07-09 19:21:572485const char kNewContactsPickerName[] = "Enable new contacts picker";
2486const char kNewContactsPickerDescription[] =
2487 "Activates the new picker for selecting contacts.";
2488
Dan Harrington541db9e2018-07-30 18:36:302489const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2490const char kNewNetErrorPageUIDescription[] =
2491 "Selects which new UI experience to show on the net-error (Dino) page";
2492
Brett Wilsonff596952017-07-14 01:06:552493const char kNewPhotoPickerName[] = "Enable new Photopicker";
2494const char kNewPhotoPickerDescription[] =
2495 "Activates the new picker for selecting photos.";
2496
2497const char kNoCreditCardAbort[] = "No Credit Card Abort";
2498const char kNoCreditCardAbortDescription[] =
2499 "Whether or not the No Credit Card Abort is enabled.";
2500
Daniel Park990d0992018-05-18 22:12:512501const char kNtpButtonName[] = "Enable NTP Button";
2502const char kNtpButtonDescription[] =
2503 "Displays a New Tab Page button in the toolbar if enabled.";
2504
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062505const char kNtpModernLayoutName[] = "Modern NTP layout";
2506const char kNtpModernLayoutDescription[] =
2507 "Show a modern layout on the New Tab Page.";
2508
Brett Wilsonff596952017-07-14 01:06:552509const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2510const char kNtpGoogleGInOmniboxDescription[] =
2511 "Show a Google G in the omnibox on the New Tab Page.";
2512
Brett Wilsonff596952017-07-14 01:06:552513const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2514const char kOfflineBookmarksDescription[] =
2515 "Enable saving bookmarked pages for offline viewing.";
2516
Jian Li1413ebf2018-06-14 20:46:322517const char kOfflineIndicatorName[] = "Enable offline indicator";
2518const char kOfflineIndicatorDescription[] =
2519 "Enable showing offline indicator while offline.";
2520
Brett Wilsonff596952017-07-14 01:06:552521const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2522const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2523
2524const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2525const char kOfflinePagesCtV2Description[] =
2526 "V2 features include attributing pages to the app that initiated the "
2527 "custom tabs, and being able to query for pages by page attribution.";
2528
Cathy Li7311d792018-04-05 00:34:162529const char kOfflinePagesCTSuppressNotificationsName[] =
2530 "Disable download complete notification for whitelisted CCT apps.";
2531const char kOfflinePagesCTSuppressNotificationsDescription[] =
2532 "Disable download complete notification for page downloads originating "
2533 "from a CCT app whitelisted to show their own download complete "
2534 "notification.";
2535
Candice Sy74fa7a352018-03-30 23:46:492536const char kOfflinePagesDescriptiveFailStatusName[] =
2537 "Enables descriptive failed download status text.";
2538const char kOfflinePagesDescriptiveFailStatusDescription[] =
2539 "Enables failed download status text in notifications and Downloads Home "
2540 "to state the reason the request failed if the failure is actionable.";
2541
2542const char kOfflinePagesDescriptivePendingStatusName[] =
2543 "Enables descriptive pending download status text.";
2544const char kOfflinePagesDescriptivePendingStatusDescription[] =
2545 "Enables pending download status text in notifications and Downloads Home "
2546 "to state the reason the request is pending.";
2547
2548const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2549 "Enables offline pages in the downloads home to be opened in CCT.";
2550const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2551 "When enabled offline pages launched from the Downloads Home will be "
2552 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2553
Carlos Knippschild09272ecd2017-12-09 03:29:362554const char kOfflinePagesLimitlessPrefetchingName[] =
2555 "Removes resource usage limits for the prefetching of offline pages.";
2556const char kOfflinePagesLimitlessPrefetchingDescription[] =
2557 "Allows the prefetching of suggested offline pages to ignore resource "
2558 "usage limits. This allows it to completely ignore data usage limitations "
2559 "and allows downloads to happen with any kind of connection.";
2560
Brett Wilsonff596952017-07-14 01:06:552561const char kOfflinePagesLoadSignalCollectingName[] =
2562 "Enables collecting load timing data for offline page snapshots.";
2563const char kOfflinePagesLoadSignalCollectingDescription[] =
2564 "Enables loading completeness data collection while writing an offline "
2565 "page. This data is collected in the snapshotted offline page to allow "
2566 "data analysis to improve deciding when to make the offline snapshot.";
2567
2568const char kOfflinePagesPrefetchingName[] =
2569 "Enables suggested offline pages to be prefetched.";
2570const char kOfflinePagesPrefetchingDescription[] =
2571 "Enables suggested offline pages to be prefetched, so useful content is "
2572 "available while offline.";
2573
Pete Williamson7845dff2017-09-20 11:06:192574const char kOfflinePagesResourceBasedSnapshotName[] =
2575 "Enables offline page snapshots to be based on percentage of page loaded.";
2576const char kOfflinePagesResourceBasedSnapshotDescription[] =
2577 "Enables offline page snapshots to use a resource percentage based "
2578 "approach for determining when the page is loaded as opposed to a time "
2579 "based approach";
2580
Collin Baker17f92a52017-07-19 21:41:252581const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2582const char kOfflinePagesRenovationsDescription[] =
2583 "Enables offline page renovations which correct issues with dynamic "
2584 "content that occur when offlining pages that use JavaScript.";
2585
Brett Wilsonff596952017-07-14 01:06:552586const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2587const char kOfflinePagesSharingDescription[] =
2588 "Enables the saved offline pages to be shared via other applications.";
2589
Cathy Lie0d88762018-04-12 08:03:012590const char kOfflinePagesShowAlternateDinoPageName[] =
2591 "Enable alternate dino page with more user capabilities.";
2592const char kOfflinePagesShowAlternateDinoPageDescription[] =
2593 "Enables the dino page to show more buttons and offer existing offline "
2594 "content.";
2595
Brett Wilsonff596952017-07-14 01:06:552596const char kOfflinePagesSvelteConcurrentLoadingName[] =
2597 "Enables concurrent background loading on svelte.";
2598const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2599 "Enables concurrent background loading (or downloading) of pages on "
2600 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2601 "happen when the svelte device is idle.";
2602
2603const char kOffliningRecentPagesName[] =
2604 "Enable offlining of recently visited pages";
2605const char kOffliningRecentPagesDescription[] =
2606 "Enable storing recently visited pages locally for offline use. Requires "
2607 "Offline Pages to be enabled.";
2608
Lei Zhang2eca9082017-10-17 20:42:502609const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2610const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552611 "Enable Pay with Google integration into Web Payments with API version "
2612 "'1'.";
2613
Matthew Jonesa88b95852017-11-08 23:13:502614const char kProgressBarThrottleName[] = "Android progress update throttling.";
2615const char kProgressBarThrottleDescription[] =
2616 "Limit the maximum progress update to make progress appear smoother.";
2617
Brett Wilsonff596952017-07-14 01:06:552618const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2619const char kPullToRefreshEffectDescription[] =
2620 "Page reloads triggered by vertically overscrolling content.";
2621
Piotr Swigon7c296ef2017-08-29 04:32:002622const char kPwaImprovedSplashScreenName[] =
2623 "Improved Splash Screen for standalone PWAs";
2624const char kPwaImprovedSplashScreenDescription[] =
2625 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2626 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492627const char kPwaPersistentNotificationName[] =
2628 "Persistent notification in standalone PWA";
2629const char kPwaPersistentNotificationDescription[] =
2630 "Enables a persistent Android notification for standalone PWAs";
2631
Brett Wilsonff596952017-07-14 01:06:552632const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2633const char kReaderModeHeuristicsDescription[] =
2634 "Determines what pages the Reader Mode infobar is shown on.";
2635const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2636const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2637const char kReaderModeHeuristicsAllArticles[] = "All articles";
2638const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2639const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2640
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182641const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2642const char kReaderModeInCCTDescription[] =
2643 "Open Reader Mode in Chrome Custom Tabs.";
2644
Brett Wilsonff596952017-07-14 01:06:552645const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2646const char kSetMarketUrlForTestingDescription[] =
2647 "When enabled, sets the market URL for use in testing the update menu "
2648 "item.";
2649
2650const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2651const char kSpannableInlineAutocompleteDescription[] =
2652 "A new type of inline autocomplete for the omnibox that works with "
2653 "keyboards that compose text.";
2654
Theresaeea05a12018-05-09 21:01:592655const char kSimplifiedNtpName[] = "Simplified NTP";
2656const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2657
2658const char kSiteExplorationUiName[] = "Site Exploration UI";
2659const char kSiteExplorationUiDescription[] =
2660 "Show site suggestions in the Exploration UI";
2661
Brett Wilsonff596952017-07-14 01:06:552662const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2663const char kUpdateMenuBadgeDescription[] =
2664 "When enabled, an update badge will be shown on the app menu button.";
2665
2666const char kUpdateMenuItemCustomSummaryDescription[] =
2667 "When this flag and the force show update menu item flag are enabled, a "
2668 "custom summary string will be displayed below the update menu item.";
2669const char kUpdateMenuItemCustomSummaryName[] =
2670 "Update menu item custom summary";
2671
2672const char kUpdateMenuItemName[] = "Force show update menu item";
2673const char kUpdateMenuItemDescription[] =
2674 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2675 R"*(menu.)*";
2676
Amirhossein Simjourd78bbcf2018-02-02 16:23:392677const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2678const char kVrBrowsingNativeAndroidUiDescription[] =
2679 "Enable Android UI elements in VR.";
2680
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462681const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2682const char kVrBrowsingTabsViewDescription[] =
2683 "Enable tab overview (tab switcher) in VR.";
2684
Marc Treib93af46a2017-08-23 13:30:002685const char kThirdPartyDoodlesName[] =
2686 "Enable Doodles for third-party search engines";
2687const char kThirdPartyDoodlesDescription[] =
2688 "Enables fetching and displaying Doodles on the NTP for third-party search "
2689 "engines.";
2690
Klaus Weidneraaf697f2018-01-18 20:07:362691const char kWebXrRenderPathName[] = "WebXR presentation render path";
2692const char kWebXrRenderPathDescription[] =
2693 "Render path to use for WebXR presentation (including WebVR)";
2694const char kWebXrRenderPathChoiceClientWaitDescription[] =
2695 "ClientWait (Baseline)";
2696const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2697 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072698const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2699 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362700
Brett Wilson7b44537e2017-08-18 01:38:282701// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552702
Brett Wilson7b44537e2017-08-18 01:38:282703#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482704
Brett Wilson7b44537e2017-08-18 01:38:282705const char kAccountConsistencyName[] =
2706 "Identity consistency between browser and cookie jar";
2707const char kAccountConsistencyDescription[] =
2708 "When enabled, the browser manages signing in and out of Google accounts.";
2709const char kAccountConsistencyChoiceMirror[] = "Mirror";
2710const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342711
Chris Pickel3a227ae62017-08-24 10:47:262712const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2713const char kDoodlesOnLocalNtpDescription[] =
2714 "Show doodles on the local New Tab page if Google is the default search "
2715 "engine.";
2716
mlamouriff56c092017-05-11 15:31:392717const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392718const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342719 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392720const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392721const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392722const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342723 "Enabled (Flash lowers volume when interrupted by other sound, "
2724 "experimental)";
2725
Sebastien Marchandd33f7dc2018-06-22 22:07:062726const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2727const char kInfiniteSessionRestoreDescription[] =
2728 "Reduces the number of tabs being loaded simultaneously during session "
2729 "restore, to improve responsiveness of the foreground tab. This requires "
2730 "#enable-page-almost-idle.";
2731
Brett Wilson7b44537e2017-08-18 01:38:282732const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2733const char kEnableNewAppMenuIconDescription[] =
2734 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342735
Sebastien Marchandd33f7dc2018-06-22 22:07:062736const char kEnableWebAuthenticationCtap2SupportName[] =
2737 "Enable Web Authentication API support for CTAP2 security keys";
2738const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472739 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062740
2741const char kEnableWebAuthenticationTestingAPIName[] =
2742 "Web Authentication Testing API";
2743const char kEnableWebAuthenticationTestingAPIDescription[] =
2744 "Enable Web Authentication Testing API support, which disconnects the API "
2745 "implementation from the real world, and allows configuring virtual "
2746 "authenticator devices for testing";
2747
Dave Schuyler598a4a42018-01-04 02:15:102748const char kOmniboxRichEntitySuggestionsName[] =
2749 "Omnibox rich entity suggestions";
2750const char kOmniboxRichEntitySuggestionsDescription[] =
2751 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212752 "more context and descriptive text about the entity. Has no effect unless "
2753 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2754 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102755
Dave Schuyler616273d2018-04-19 03:12:522756const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2757const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212758 "Display answers using an enhanced layout with larger images. Has no "
2759 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2760 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522761
Orin Jaworski04c08b42018-07-11 02:39:562762const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2763const char kOmniboxReverseAnswersDescription[] =
2764 "Display answers with rows reversed (swapped); except definitions. Has no "
2765 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2766 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2767
Kevin Bailey898669972017-11-06 15:34:492768const char kOmniboxTabSwitchSuggestionsName[] =
2769 "Omnibox tab switch suggestions";
2770const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212771 "Enable suggestions for switching to open tabs within the Omnibox. "
2772 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2773 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492774
krbcc621412017-06-01 19:40:282775const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2776const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192777 "Enable receiving tail suggestions, a type of search suggestion based on "
2778 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342779
Brett Wilson7b44537e2017-08-18 01:38:282780const char kOneGoogleBarOnLocalNtpName[] =
2781 "Enable the OneGoogleBar on the local NTP";
2782const char kOneGoogleBarOnLocalNtpDescription[] =
2783 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2784 "search engine.";
2785
Sebastien Marchandd33f7dc2018-06-22 22:07:062786const char kPageAlmostIdleName[] = "Page Almost Idle";
2787const char kPageAlmostIdleDescription[] =
2788 "Make session restore use a definition of loading that waits for CPU and "
2789 "network quiescence.";
2790
2791const char kProactiveTabFreezeAndDiscardName[] =
2792 "Proactive Tab Freeze and Discard";
2793const char kProactiveTabFreezeAndDiscardDescription[] =
2794 "Enables proactive tab freezing and discarding. This requires "
2795 "#enable-page-almost-idle.";
2796
2797const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2798const char kSiteCharacteristicsDatabaseDescription[] =
2799 "Records usage of some features in a database while a tab is in background "
2800 "(title/favicon update, audio playback or usage of non-persistent "
2801 "notifications).";
2802
Brett Wilson7b44537e2017-08-18 01:38:282803const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2804const char kUseGoogleLocalNtpDescription[] =
2805 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322806
Brett Wilson7b44537e2017-08-18 01:38:282807const char kVoiceSearchOnLocalNtpName[] =
2808 "Enable Voice Search on the local NTP";
2809const char kVoiceSearchOnLocalNtpDescription[] =
2810 "Show a microphone for voice search on the local New Tab page "
2811 "if Google is the default search engine.";
2812
2813#if defined(GOOGLE_CHROME_BUILD)
2814
2815const char kGoogleBrandedContextMenuName[] =
2816 "Google branding in the context menu";
2817const char kGoogleBrandedContextMenuDescription[] =
2818 "Shows a Google icon next to context menu items powered by Google "
2819 "services.";
2820
2821#endif // !defined(GOOGLE_CHROME_BUILD)
2822
2823#endif // !defined(OS_ANDROID)
2824
2825// Windows ---------------------------------------------------------------------
2826
2827#if defined(OS_WIN)
2828
2829const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2830const char kCloudPrintXpsDescription[] =
2831 "XPS enables advanced options for classic printers connected to the Cloud "
2832 "Print with Chrome. Printers must be re-connected after changing this "
2833 "flag.";
2834
2835const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2836const char kDisablePostscriptPrintingDescription[] =
2837 "Disables PostScript generation when printing to PostScript capable "
2838 "printers, and uses EMF generation in its place.";
2839
2840const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2841const char kEnableAppcontainerDescription[] =
2842 "Enables the use of an AppContainer on sandboxed processes to improve "
2843 "security.";
2844
Brett Wilson7b44537e2017-08-18 01:38:282845const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2846const char kEnableDesktopIosPromotionsDescription[] =
2847 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2848 "eligible.";
2849
James Forshawfd0ce342018-02-14 09:55:392850const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2851const char kEnableGpuAppcontainerDescription[] =
2852 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2853 "improve security.";
2854
Brett Wilson7b44537e2017-08-18 01:38:282855const char kGdiTextPrinting[] = "GDI Text Printing";
2856const char kGdiTextPrintingDescription[] =
2857 "Use GDI to print text as simply text";
2858
Henrik Grunell67e56ef2018-04-10 14:04:092859const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2860const char kIncreaseInputAudioBufferSizeDescription[] =
2861 "Increases the input audio endpoint buffer to 100 ms.";
2862
Brett Wilson7b44537e2017-08-18 01:38:282863const char kTraceExportEventsToEtwName[] =
2864 "Enable exporting of tracing events to ETW.";
2865const char kTraceExportEventsToEtwDesription[] =
2866 "If enabled, trace events will be exported to the Event Tracing for "
2867 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2868 "Xperf.";
2869
2870const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2871const char kUseWinrtMidiApiDescription[] =
2872 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2873 "later).";
2874
2875const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2876const char kWindows10CustomTitlebarDescription[] =
2877 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2878 "deferring to Windows.";
2879
2880#endif // defined(OS_WIN)
2881
2882// Mac -------------------------------------------------------------------------
2883
2884#if defined(OS_MACOSX)
2885
Brett Wilson7b44537e2017-08-18 01:38:282886const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2887const char kAppWindowCyclingDescription[] =
2888 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2889 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2890 "browser window, and browser windows will not be cycled when a Chrome App "
2891 "is active.";
2892
Brett Wilson7b44537e2017-08-18 01:38:282893const char kFullscreenToolbarRevealName[] =
2894 "Enables the toolbar in fullscreen to reveal itself.";
2895const char kFullscreenToolbarRevealDescription[] =
2896 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2897 "has changed.";
2898
2899const char kContentFullscreenName[] = "Improved Content Fullscreen";
2900const char kContentFullscreenDescription[] =
2901 "Fullscreen content window detaches from main browser window and goes to "
2902 "a new space without moving or changing the original browser window.";
2903
Lei Zhang2eca9082017-10-17 20:42:502904const char kDialogTouchBarName[] = "Dialog Touch Bar";
2905const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282906 "Shows Dialog buttons on the Touch Bar.";
2907
Martin Kreichgauer1ca416d2018-07-11 00:43:192908const char kEnableWebAuthenticationTouchIdName[] =
2909 "Web Authentication API Touch ID support";
2910const char kEnableWebAuthenticationTouchIdDescription[] =
2911 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kHostedAppsInWindowsName[] =
2914 "Allow hosted apps to be opened in windows";
2915const char kHostedAppsInWindowsDescription[] =
2916 "Allows hosted apps to be opened in windows instead of being limited to "
2917 "tabs.";
2918
Lei Zhang2eca9082017-10-17 20:42:502919const char kMacRTLName[] = "Enable RTL";
2920const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282921
Lei Zhang2eca9082017-10-17 20:42:502922const char kMacTouchBarName[] = "Hardware Touch Bar";
2923const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282924
2925const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2926const char kMacV2SandboxDescription[] =
2927 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2928 "entire life cycle.";
2929
2930const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2931const char kMacViewsNativeAppWindowsDescription[] =
2932 "Controls whether to use Toolkit-Views based Chrome App windows.";
2933
2934const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2935const char kMacViewsTaskManagerDescription[] =
2936 "Controls whether to use the Toolkit-Views based Task Manager.";
2937
Brett Wilson7b44537e2017-08-18 01:38:282938const char kTabDetachingInFullscreenName[] =
2939 "Allow tab detaching in fullscreen";
2940const char kTabDetachingInFullscreenDescription[] =
2941 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2942
2943const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2944const char kTabStripKeyboardFocusDescription[] =
2945 "Enable keyboard focus for the tabs in the tab strip.";
2946
Tessa Nijssen4db9799e2018-08-06 21:04:382947const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
2948const char kTextSuggestionsTouchBarDescription[] =
2949 "Enable text suggestions touch bar for textfields.";
2950
Brett Wilson7b44537e2017-08-18 01:38:282951#endif
2952
2953// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342954
2955#if defined(OS_CHROMEOS)
2956
Brett Wilson7b44537e2017-08-18 01:38:282957const char kAcceleratedMjpegDecodeName[] =
2958 "Hardware-accelerated mjpeg decode for captured frame";
2959const char kAcceleratedMjpegDecodeDescription[] =
2960 "Enable hardware-accelerated mjpeg decode for captured frame where "
2961 "available.";
vabr0215a8e2017-03-28 12:47:342962
Brett Wilson7b44537e2017-08-18 01:38:282963const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2964const char kAllowTouchpadThreeFingerClickDescription[] =
2965 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342966
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522967const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2968const char kArcAvailableForChildDescription[] =
2969 "Allow child accounts to start Android apps.";
2970
Brett Wilson7b44537e2017-08-18 01:38:282971const char kArcBootCompleted[] = "Load Android apps automatically";
2972const char kArcBootCompletedDescription[] =
2973 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342974
Luum Habtemariamdaa8fd22018-06-25 22:39:432975const char kArcCupsApiName[] = "ARC CUPS API";
2976const char kArcCupsApiDescription[] =
2977 "Enables support of libcups APIs from ARC";
2978
Yuichiro Hanada0b63f062018-07-12 02:18:332979const char kArcInputMethodName[] = "Enable ARC input methods.";
2980const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2981
Lev Rumyantsev7a8544312017-08-18 19:26:512982const char kArcNativeBridgeExperimentName[] =
2983 "Enable native bridge experiment for ARC";
2984const char kArcNativeBridgeExperimentDescription[] =
2985 "Enables experimental native bridge feature.";
2986
lgchengecd1c1a62018-01-09 02:59:462987const char kArcUsbHostName[] = "Enable ARC USB host integration";
2988const char kArcUsbHostDescription[] =
2989 "Allow Android apps to use USB host feature on ChromeOS devices.";
2990
Kevin Cernekeeb7f96a52017-10-25 17:40:182991const char kArcVpnName[] = "Enable ARC VPN integration";
2992const char kArcVpnDescription[] =
2993 "Allow Android VPN clients to tunnel Chrome traffic.";
2994
Qiang Xu045aff222018-05-21 23:21:012995const char kAshDisableLoginDimAndBlurName[] =
2996 "Disable dimming and blur on login screen.";
2997const char kAshDisableLoginDimAndBlurDescription[] =
2998 "Disable dimming and blur on login screen.";
2999
3000const char kAshDisableSmoothScreenRotationName[] =
3001 "Disable smooth rotation animations.";
3002const char kAshDisableSmoothScreenRotationDescription[] =
3003 "Disable smooth rotation animations.";
3004
3005const char kAshEnableDisplayMoveWindowAccelsName[] =
3006 "Enable shortcuts for moving window between displays.";
3007const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3008 "Enable shortcuts for moving window between displays.";
3009
3010const char kAshEnableKeyboardShortcutViewerName[] =
3011 "Enable keyboard shortcut viewer.";
3012const char kAshEnableKeyboardShortcutViewerDescription[] =
3013 "Enable keyboard shortcut viewer.";
3014
3015const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3016const char kAshEnableMirroredScreenDescription[] =
3017 "Enable the mirrored screen mode. This mode flips the screen image "
3018 "horizontally.";
3019
Qiang Xu045aff222018-05-21 23:21:013020const char kAshEnablePersistentWindowBoundsName[] =
3021 "Enable persistent window bounds in multi-displays scenario.";
3022const char kAshEnablePersistentWindowBoundsDescription[] =
3023 "Enable persistent window bounds in multi-displays scenario.";
3024
3025const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3026const char kAshEnableTrilinearFilteringDescription[] =
3027 "Enable trilinear filtering.";
3028
Brett Wilson7b44537e2017-08-18 01:38:283029const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3030const char kAshEnableUnifiedDesktopDescription[] =
3031 "Enable unified desktop mode which allows a window to span multiple "
3032 "displays.";
vabr0215a8e2017-03-28 12:47:343033
Mike Wassermanfcc47e42018-06-14 21:24:423034const char kAshKeyboardShortcutViewerAppName[] =
3035 "Keyboard Shortcut Viewer mojo app";
3036const char kAshKeyboardShortcutViewerAppDescription[] =
3037 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3038
Qiang Xu045aff222018-05-21 23:21:013039const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3040const char kAshShelfColorDescription[] =
3041 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3042 "--ash-shelf-color-scheme flag defines how that color is derived.";
3043
3044const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3045const char kAshShelfColorSchemeDescription[] =
3046 "Specify how the color is derived from the wallpaper. This flag is only "
3047 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3048const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3049const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3050const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3051const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3052const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3053const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3054
Sean Kau5e956192017-10-06 22:25:173055const char kBulkPrintersName[] = "Bulk Printers Policy";
3056const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3057
Brett Wilson7b44537e2017-08-18 01:38:283058const char kCaptivePortalBypassProxyName[] =
3059 "Bypass proxy for Captive Portal Authorization";
3060const char kCaptivePortalBypassProxyDescription[] =
3061 "If proxy is configured, it usually prevents from authorization on "
3062 "different captive portals. This enables opening captive portal "
3063 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343064
Yuki Awanob51d3252018-07-11 23:45:553065const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3066const char kChromeVoxArcSupportDescription[] =
3067 "Use ChromeVox screen reader features in ARC";
3068
Brett Wilson7b44537e2017-08-18 01:38:283069const char kCrOSComponentName[] = "Chrome OS Component";
3070const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083071 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343072
Xiaochu Liu51d03fd2017-09-08 23:51:023073const char kCrOSContainerName[] = "Chrome OS Container";
3074const char kCrOSContainerDescription[] =
3075 "Enable the use of Chrome OS Container utility.";
3076
Brett Wilson7b44537e2017-08-18 01:38:283077const char kCrosRegionsModeName[] = "Cros-regions load mode";
3078const char kCrosRegionsModeDescription[] =
3079 "This flag controls cros-regions load mode";
3080const char kCrosRegionsModeDefault[] = "Default";
3081const char kCrosRegionsModeOverride[] = "Override VPD values.";
3082const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343083
Jacob Dufault2becbc482017-08-25 00:36:353084const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3085const char kDisableLockScreenAppsDescription[] =
3086 "Disable new-note action handler apps on the lock screen. The user will "
3087 "not be able to launch the preferred note-taking action from the lock "
3088 "screen, provided that the app supports lock screen note taking.";
3089
Qiang Xu045aff222018-05-21 23:21:013090const char kDisableSystemTimezoneAutomaticDetectionName[] =
3091 "SystemTimezoneAutomaticDetection policy support";
3092const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3093 "Disable system timezone automatic detection device policy.";
3094
Sammie Quonef6b4882017-09-14 16:50:053095const char kDisableTabletAutohideTitlebarsName[] =
3096 "Disable autohide titlebars in tablet mode";
3097const char kDisableTabletAutohideTitlebarsDescription[] =
3098 "Disable tablet mode autohide titlebars functionality. The user will be "
3099 "able to see the titlebar in tablet mode.";
3100
Xiaoqian Dai24b33eb2018-04-10 21:01:573101const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3102const char kDisableTabletSplitViewDescription[] =
3103 "Disable split view for Chrome OS tablet mode.";
3104
Qiang Xu53d1a5832018-05-24 18:44:193105const char kEnableAppShortcutSearchName[] =
3106 "Enable app shortcut search in launcher";
3107const char kEnableAppShortcutSearchDescription[] =
3108 "Enables app shortcut search in launcher";
3109
Weidong Guo00d0b2b2018-06-07 00:39:303110const char kEnableAppsGridGapFeatureName[] =
3111 "Enable apps grid gap feature in launcher.";
3112const char kEnableAppsGridGapFeatureDescription[] =
3113 "Enables gaps at the end of each page and enables dragging an item to an "
3114 "empty page in launcher.";
3115
Lei Zhang2eca9082017-10-17 20:42:503116const char kEnableBackgroundBlurName[] = "Enable background blur.";
3117const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423118 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393119
F#m75862c92018-01-25 19:10:473120const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3121const char kEnableDisplayZoomSettingDescription[] =
3122 "Allows the user to modify the display size or zoom via the chrome display "
3123 "settings page.";
3124
Min Chenc2ec7282018-06-29 21:38:463125const char kEnableDragAppsInTabletModeName[] =
3126 "Enable dragging apps in tablet mode";
3127const char kEnableDragAppsInTabletModeDescription[] =
3128 "If enabled, swiping down from the top of the screen when an app is opened "
3129 "in tablet mode can drag the app.";
3130
Xiaoqian Dai82d99192018-05-25 18:51:353131const char kEnableDragTabsInTabletModeName[] =
3132 "Enable dragging tabs in tablet mode";
3133const char kEnableDragTabsInTabletModeDescription[] =
3134 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3135
Sam McNally201fbf94e2018-07-04 03:15:203136const char kEnableDriveFsName[] = "Enable DriveFS";
3137const char kEnableDriveFsDescription[] =
3138 "Enables use of the new DriveFS-based Drive sync client.";
3139
Brett Wilson7b44537e2017-08-18 01:38:283140const char kEnableEhvInputName[] =
3141 "Emoji, handwriting and voice input on opt-in IME menu";
3142const char kEnableEhvInputDescription[] =
3143 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343144
Brett Wilson7b44537e2017-08-18 01:38:283145const char kEnableEncryptionMigrationName[] =
3146 "Enable encryption migration of user data";
3147const char kEnableEncryptionMigrationDescription[] =
3148 "If enabled and the device supports ARC, the user will be asked to update "
3149 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343150
Blake O'Hare9e9317b22017-10-24 02:49:353151const char kEnableFloatingVirtualKeyboardName[] =
3152 "Enable floating virtual keyboard";
3153const char kEnableFloatingVirtualKeyboardDescription[] =
3154 "If enabled, the keyboard will use floating behavior by default.";
3155
Qiang Xu045aff222018-05-21 23:21:013156const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3157 "Enable full screen handwriting virtual keyboard";
3158const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3159 "If enabled, the handwriting virtual keyboard will allow user to write "
3160 "anywhere on the screen";
3161
3162const char kEnableHomeLauncherName[] = "Enable home launcher";
3163const char kEnableHomeLauncherDescription[] =
3164 "Enable home launcher in tablet mode.";
3165
Brett Wilson7b44537e2017-08-18 01:38:283166const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3167const char kEnableImeMenuDescription[] =
3168 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343169
Weidong Guo45836d1b2018-06-27 23:51:163170const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3171const char kEnableNewStyleLauncherDescription[] =
3172 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3173 "in app launcher.";
3174
Qiang Xu045aff222018-05-21 23:21:013175const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3176const char kEnableNewWallpaperPickerDescription[] =
3177 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3178
3179const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3180const char kEnablePerUserTimezoneDescription[] =
3181 "Chrome OS system timezone preference is stored and handled for each user "
3182 "individually.";
3183
3184const char kEnableSettingsShortcutSearchName[] =
3185 "Enable Settings shortcut search";
3186const char kEnableSettingsShortcutSearchDescription[] =
3187 "Enable Settings shortcut search in launcher.";
3188
Darren Shen3e49c63d2018-03-28 04:45:503189const char kEnableStylusVirtualKeyboardName[] =
3190 "Enable stylus virtual keyboard";
3191const char kEnableStylusVirtualKeyboardDescription[] =
3192 "If enabled, tapping with a stylus will show the handwriting virtual "
3193 "keyboard.";
3194
Jordy Greenblatt2f23df22018-02-22 19:49:193195const char kEnableUnifiedMultiDeviceSettingsName[] =
3196 "Enable unified MultiDevice settings";
3197const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3198 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3199 "MultiDevice settings.";
3200
3201const char kEnableUnifiedMultiDeviceSetupName[] =
3202 "Enable unified MultiDevice setup";
3203const char kEnableUnifiedMultiDeviceSetupDescription[] =
3204 "Enable the device to setup all MultiDevice services in a single workflow.";
3205
Darren Shen11c770f312018-06-13 07:36:393206const char kEnableVirtualKeyboardMdUiName[] =
3207 "Enable Material Design virtual keyboard";
3208const char kEnableVirtualKeyboardMdUiDescription[] =
3209 "If enabled, loads the Material Design UI for the virtual keyboard.";
3210
Darren Shen0b4e5802018-07-10 03:12:263211const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3212const char kEnableVirtualKeyboardUkmDescription[] =
3213 "Enables UKM for virtual keyboard";
3214
Klemen Kozjek05fc4512017-10-18 12:51:103215const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3216const char kEnableZipArchiverPackerDescription[] =
3217 "Enable the ability to archive files on Drive in the Files app";
3218
Brett Wilson7b44537e2017-08-18 01:38:283219const char kEolNotificationName[] = "Disable Device End of Life notification.";
3220const char kEolNotificationDescription[] =
3221 "Disable Notifcation when Device is End of Life.";
3222
3223const char kExperimentalAccessibilityFeaturesName[] =
3224 "Experimental accessibility features";
3225const char kExperimentalAccessibilityFeaturesDescription[] =
3226 "Enable additional accessibility features in the Settings page.";
3227
3228const char kExperimentalInputViewFeaturesName[] =
3229 "Experimental input view features";
3230const char kExperimentalInputViewFeaturesDescription[] =
3231 "Enable experimental features for IME input views.";
3232
3233const char kFileManagerTouchModeName[] = "Files App. touch mode";
3234const char kFileManagerTouchModeDescription[] =
3235 "Touchscreen-specific interactions of the Files app.";
3236
3237const char kFirstRunUiTransitionsName[] =
3238 "Animated transitions in the first-run tutorial";
3239const char kFirstRunUiTransitionsDescription[] =
3240 "Transitions during first-run tutorial are animated.";
3241
Brett Wilson7b44537e2017-08-18 01:38:283242const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3243const char kForceEnableStylusToolsDescription[] =
3244 "Forces display of the stylus tools menu in the shelf and the stylus "
3245 "section in settings, even if there is no attached stylus device.";
3246
3247const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3248const char kGestureEditingDescription[] =
3249 "Enable/Disable gesture editing option in the settings page for the "
3250 "virtual keyboard.";
3251
3252const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3253const char kGestureTypingDescription[] =
3254 "Enable/Disable gesture typing option in the settings page for the virtual "
3255 "keyboard.";
3256
3257const char kInputViewName[] = "Input views";
3258const char kInputViewDescription[] =
3259 "Enable IME extensions to supply custom views for user input such as "
3260 "virtual keyboards.";
3261
Megumi Hattori5a0d4182018-03-06 11:09:503262const char kLockScreenNotificationName[] = "Lock screen notification";
3263const char kLockScreenNotificationDescription[] =
3264 "Enable notifications on the lock screen.";
3265
Qiang Xu045aff222018-05-21 23:21:013266const char kMaterialDesignInkDropAnimationSpeedName[] =
3267 "Material design ink drop animation speed";
3268const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3269 "Sets the speed of the experimental visual feedback animations for "
3270 "material design.";
3271const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3272const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3273
Brett Wilson7b44537e2017-08-18 01:38:283274const char kMemoryPressureThresholdName[] =
3275 "Memory discard strategy for advanced pressure handling";
3276const char kMemoryPressureThresholdDescription[] =
3277 "Memory discarding strategy to use";
3278const char kConservativeThresholds[] =
3279 "Conservative memory pressure release strategy";
3280const char kAggressiveCacheDiscardThresholds[] =
3281 "Aggressive cache release strategy";
3282const char kAggressiveTabDiscardThresholds[] =
3283 "Aggressive tab release strategy";
3284const char kAggressiveThresholds[] =
3285 "Aggressive tab and cache release strategy";
3286
3287const char kMtpWriteSupportName[] = "MTP write support";
3288const char kMtpWriteSupportDescription[] =
3289 "MTP write support in File System API (and file manager). In-place editing "
3290 "operations are not supported.";
3291
Kyle Horimoto027590fb2018-02-13 22:19:483292const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3293const char kMultiDeviceApiDescription[] =
3294 "Enable Mojo-based API which provides synced device metadata and the "
3295 "ability to connect to other devices associated the logged-in Google "
3296 "account.";
3297
Bailey Berrodca8eeca02017-11-18 00:49:123298const char kNativeSmbName[] = "Native Smb Client";
3299const char kNativeSmbDescription[] =
3300 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303301
vabr0215a8e2017-03-28 12:47:343302const char kNetworkPortalNotificationName[] =
3303 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343304const char kNetworkPortalNotificationDescription[] =
3305 "If enabled, notification is displayed when device is connected to a "
3306 "network behind captive portal.";
3307
Brett Wilson7b44537e2017-08-18 01:38:283308const char kNewKoreanImeName[] = "New Korean IME";
3309const char kNewKoreanImeDescription[] =
3310 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343311
Brett Wilson7b44537e2017-08-18 01:38:283312const char kNewZipUnpackerName[] = "New ZIP unpacker";
3313const char kNewZipUnpackerDescription[] =
3314 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343315
Qiang Xu045aff222018-05-21 23:21:013316const char kOfficeEditingComponentAppName[] =
3317 "Office Editing for Docs, Sheets & Slides";
3318const char kOfficeEditingComponentAppDescription[] =
3319 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3320
Brett Wilson7b44537e2017-08-18 01:38:283321const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3322const char kPhysicalKeyboardAutocorrectDescription[] =
3323 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3324 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343325
3326const char kPrinterProviderSearchAppName[] =
3327 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343328const char kPrinterProviderSearchAppDescription[] =
3329 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193330 "searches Chrome Web Store for extensions that support printing to a USB "
3331 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343332
Brett Wilson7b44537e2017-08-18 01:38:283333const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3334const char kQuickUnlockPinDescription[] =
3335 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3336 "device on the lock screen after you have signed into your device.";
3337const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3338const char kQuickUnlockPinSigninDescription[] =
3339 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3340 "device. After changing this flag PIN needs to be set up again.";
3341const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3342const char kQuickUnlockFingerprintDescription[] =
3343 "Enabling fingerprint quick unlock allows you to setup and use a "
3344 "fingerprint to unlock your Chromebook on the lock screen after you have "
3345 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343346
James Cook0ba192bf2017-12-01 20:53:113347const char kShowTapsName[] = "Show taps";
3348const char kShowTapsDescription[] =
3349 "Draws a circle at each touch point, which makes touch points more obvious "
3350 "when projecting or mirroring the display. Similar to the Android OS "
3351 "developer option.";
3352
3353const char kShowTouchHudName[] = "Show HUD for touch points";
3354const char kShowTouchHudDescription[] =
3355 "Shows a trail of colored dots for the last few touch points. Pressing "
3356 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3357 "debug hardware issues that generate spurious touch events.";
3358
Jorge Gil5a8ccde2018-07-10 01:46:213359const char kSmartTextSelectionName[] = "Smart Text Selection";
3360const char kSmartTextSelectionDescription[] =
3361 "Shows quick actions for text "
3362 "selections in the context menu.";
3363
Chung-Sheng Wu468b0b32017-09-01 14:41:573364const char kSysInternalsName[] = "Enable Sys-Internals";
3365const char kSysInternalsDescription[] =
3366 "If enabled, user can monitor system information at "
3367 "chrome://sys-internals.";
3368
James Cooka9384092018-05-23 02:54:263369const char kTapVisualizerAppName[] = "Show taps with mojo app";
3370const char kTapVisualizerAppDescription[] =
3371 "Use an out-of-process mojo app to show touch points.";
3372
Stuart Langleyc981ac62018-06-21 14:38:253373const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3374const char kDisableTeamDrivesDescription[] =
3375 "If disabled, files under Team Drives will no longer appear in the Files "
3376 "app.";
vabr0215a8e2017-03-28 12:47:343377
Brett Wilson7b44537e2017-08-18 01:38:283378const char kTetherName[] = "Instant Tethering";
3379const char kTetherDescription[] =
3380 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3381 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373382
Brett Wilson7b44537e2017-08-18 01:38:283383const char kTouchscreenCalibrationName[] =
3384 "Enable/disable touchscreen calibration option in material design settings";
3385const char kTouchscreenCalibrationDescription[] =
3386 "If enabled, the user can calibrate the touch screen displays in "
3387 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093388
Qiang Xu045aff222018-05-21 23:21:013389const char kUiDevToolsName[] = "Enable native UI inspection";
3390const char kUiDevToolsDescription[] =
3391 "Enables inspection of native UI elements. For local inspection use "
3392 "chrome://inspect#other";
3393
3394const char kUiShowCompositedLayerBordersName[] =
3395 "Show UI composited layer borders";
3396const char kUiShowCompositedLayerBordersDescription[] =
3397 "Show border around composited layers created by UI.";
3398const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3399const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3400const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3401const char kUiShowCompositedLayerBordersAll[] = "All";
3402
3403const char kUiSlowAnimationsName[] = "Slow UI animations";
3404const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3405
Mitsuru Oshima63d3f2a2017-08-23 00:12:113406// Force UI Mode
3407const char kUiModeName[] = "Force Ui Mode";
3408const char kUiModeDescription[] =
3409 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3410 R"*(despite its current orientation. "Tablet" means that the )*"
3411 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3412 R"*(means that the chromebook will act as if it were in clamshell )*"
3413 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3414 R"*(the two, based on its orientation.)*";
3415const char kUiModeTablet[] = "TouchView";
3416const char kUiModeClamshell[] = "Clamshell";
3417const char kUiModeAuto[] = "Auto (default)";
3418
Sonny Sasaka7fecfeda2018-07-11 23:47:553419const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3420const char kUnfilteredBluetoothDevicesDescription[] =
3421 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3422
James Cooka1bcfa9a2018-01-30 00:18:403423const char kUseMashName[] = "Out-of-process system UI (mash)";
3424const char kUseMashDescription[] =
3425 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3426 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283427
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343428// TODO(mcasas): remove after https://crbug.com/771345.
3429const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3430const char kUseMonitorColorSpaceDescription[] =
3431 "Enables Chrome to use the color space information provided by the monitor"
3432 " instead of the default sRGB color space.";
3433
Brett Wilson7b44537e2017-08-18 01:38:283434const char kVideoPlayerChromecastSupportName[] =
3435 "Experimental Chromecast support for Video Player";
3436const char kVideoPlayerChromecastSupportDescription[] =
3437 "This option enables experimental Chromecast support for Video Player app "
3438 "on ChromeOS.";
3439
3440const char kVirtualKeyboardName[] = "Virtual Keyboard";
3441const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3442
3443const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3444const char kVirtualKeyboardOverscrollDescription[] =
3445 "Enables virtual keyboard overscroll support.";
3446
3447const char kVoiceInputName[] = "Voice input on virtual keyboard";
3448const char kVoiceInputDescription[] =
3449 "Enables voice input on virtual keyboard.";
3450
3451const char kWakeOnPacketsName[] = "Wake On Packets";
3452const char kWakeOnPacketsDescription[] =
3453 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203454
Qiang Xu53d1a5832018-05-24 18:44:193455const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3456const char kZipArchiverUnpackerDescription[] =
3457 "Enable or disable the ability to unpack archives in incognito mode";
3458
wutao42ee9daa2018-07-19 00:12:173459extern const char kEnableContinueReadingName[] = "Enable continue reading";
3460extern const char kEnableContinueReadingDescription[] =
3461 "Enable continue reading feature in Launcher, which allows users to "
3462 "seamlessly continue reading a web page when they switch devices from "
3463 "phones or tablets to Chromebooks.";
3464
Jenny Zhang81fc4c52018-07-23 22:12:323465extern const char kEnableZeroStateSuggestionsName[] =
3466 "Enable Zero State Suggetions";
3467extern const char kEnableZeroStateSuggestionsDescription[] =
3468 "Enable Zero State Suggestions feature in Launcher, which will show "
3469 "suggetions when launcher search box is active with an empty query";
3470
yhanadac5bff5b2017-05-18 06:37:093471#endif // defined(OS_CHROMEOS)
3472
Brett Wilson7b44537e2017-08-18 01:38:283473// Random platform combinations -----------------------------------------------
3474
3475#if defined(OS_WIN) || defined(OS_LINUX)
3476
3477const char kEnableInputImeApiName[] = "Enable Input IME API";
3478const char kEnableInputImeApiDescription[] =
3479 "Enable the use of chrome.input.ime API.";
3480
Tom Anderson6cbd5052018-05-03 23:49:543481#if !defined(OS_CHROMEOS)
3482
3483const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3484const char kWarnBeforeQuittingFlagDescription[] =
3485 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3486
3487#endif // !defined(OS_CHROMEOS)
3488
Brett Wilson7b44537e2017-08-18 01:38:283489#endif // defined(OS_WIN) || defined(OS_LINUX)
3490
3491#if defined(OS_WIN) || defined(OS_MACOSX)
3492
3493const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3494const char kAutomaticTabDiscardingDescription[] =
3495 "If enabled, tabs get automatically discarded from memory when the system "
3496 "memory is low. Discarded tabs are still visible on the tab strip and get "
3497 "reloaded when clicked on. Info about discarded tabs can be found at "
3498 "chrome://discards.";
3499
3500#endif // defined(OS_WIN) || defined(OS_MACOSX)
3501
lanwei83f54452018-06-21 23:51:043502#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3503
3504const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3505const char kDirectManipulationStylusDescription[] =
3506 "If enabled, Chrome will scroll web pages on stylus drag.";
3507
3508#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3509
Justin Donnelly110e40c2018-06-01 21:48:433510const char kExperimentalUiName[] = "Use all upcoming UI features";
3511const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483512
Brett Wilson7b44537e2017-08-18 01:38:283513// Feature flags --------------------------------------------------------------
3514
3515#if BUILDFLAG(ENABLE_VR)
3516
David Dorwin5a496c32017-11-17 01:45:053517const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3518const char kWebVrVsyncAlignDescription[] =
3519 "Align WebVR application rendering with VSync for smoother animations.";
3520
Bill Orr103ed272018-02-14 21:23:053521#if BUILDFLAG(ENABLE_OCULUS_VR)
3522const char kOculusVRName[] = "Oculus hardware support";
3523const char kOculusVRDescription[] =
3524 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3525 "Windows 10 or later).";
3526#endif // ENABLE_OCULUS_VR
3527
Bill Orr49527562017-11-22 16:58:483528#if BUILDFLAG(ENABLE_OPENVR)
3529const char kOpenVRName[] = "OpenVR hardware support";
3530const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073531 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3532 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483533#endif // ENABLE_OPENVR
3534
Brett Wilson7b44537e2017-08-18 01:38:283535#endif // ENABLE_VR
3536
Nico Weberaf3b00b2017-09-11 17:58:173537#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283538
3539const char kNaclDebugMaskName[] =
3540 "Restrict Native Client GDB-based debugging by pattern";
3541const char kNaclDebugMaskDescription[] =
3542 "Restricts Native Client application GDB-based debugging by URL of "
3543 "manifest file. Native Client GDB-based debugging must be enabled for this "
3544 "option to work.";
3545const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3546const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3547 "Debug everything except secure shell and the PNaCl translator.";
3548const char kNaclDebugMaskChoiceIncludeDebug[] =
3549 "Debug only if manifest URL ends with debug.nmf.";
3550
3551const char kNaclDebugName[] = "Native Client GDB-based debugging";
3552const char kNaclDebugDescription[] =
3553 "Enable GDB debug stub. This will stop a Native Client application on "
3554 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3555
3556const char kNaclName[] = "Native Client";
3557const char kNaclDescription[] =
3558 "Support Native Client for all web applications, even those that were not "
3559 "installed from the Chrome Web Store.";
3560
3561const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3562const char kPnaclSubzeroDescription[] =
3563 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3564
Nico Weberaf3b00b2017-09-11 17:58:173565#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283566
Brett Wilson7b44537e2017-08-18 01:38:283567const char kWebrtcH264WithOpenh264FfmpegName[] =
3568 "WebRTC H.264 software video encoder/decoder";
3569const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3570 "When enabled, an H.264 software video encoder/decoder pair is included. "
3571 "If a hardware encoder/decoder is also available it may be used instead of "
3572 "this encoder/decoder.";
3573
Brett Wilson7b44537e2017-08-18 01:38:283574#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3575
3576const char kAutofillCreditCardUploadName[] =
3577 "Enable offering upload of Autofilled credit cards";
3578const char kAutofillCreditCardUploadDescription[] =
3579 "Enables a new option to upload credit cards to Google Payments for sync "
3580 "to all Chrome devices.";
3581
3582#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3583
Becca Hughesdc96e842018-05-04 22:48:283584#if defined(OS_ANDROID)
3585
3586const char kDisplayCutoutAPIName[] =
3587 "Enable support for the Display Cutout API";
3588const char kDisplayCutoutAPIDescription[] =
3589 "Enables developers to support devices that have a display cutout.";
3590
3591#endif // defined(OS_ANDROID)
3592
Brett Wilson7b44537e2017-08-18 01:38:283593// ============================================================================
3594// Don't just add flags to the end, put them in the right section in
3595// alphabetical order just like the header file.
3596// ============================================================================
3597
vabr0215a8e2017-03-28 12:47:343598} // namespace flag_descriptions