blob: b3f537010aca3d7732bc264e5e1d8e5d553344cf [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
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23418const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
419 "Send experiment flag IDs in calls to Google Payments";
420const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
421 "If enabled, adds the status of certain experiment variations when making "
422 "calls to Google Payments.";
423
Becca Hughes4d896c42018-05-29 16:58:51424const char kEnableAutoplayIgnoreWebAudioName[] =
425 "Autoplay ignores WebAudio playbacks";
426const char kEnableAutoplayIgnoreWebAudioDescription[] =
427 "If enabled, autoplay restrictions will be ignored for WebAudio.";
428
Vitalii Iarko4f9834ce2017-08-04 07:05:19429const char kEnableBreakingNewsPushName[] = "Breaking News Push";
430const char kEnableBreakingNewsPushDescription[] =
431 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
432 "through Google Cloud Messaging.";
433
Brett Wilsonf27ff602017-07-07 22:28:47434const char kEnableBrotliName[] = "Brotli Content-Encoding.";
435const char kEnableBrotliDescription[] =
436 "Enable Brotli Content-Encoding support.";
437
Qiang Xu0f602fe62017-12-22 01:31:20438const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
439const char kEnableCaptivePortalRandomUrlDescription[] =
440 "Enable Captive Portal URL randomization.";
441
sclittle50e4bb92017-07-08 02:23:03442const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
443
444const char kEnableClientLoFiDescription[] =
445 "Enable showing low fidelity images on some pages on slow networks.";
446
Patrick Noland8bc57472018-06-19 21:09:54447const char kEnableCSSFragmentIdentifiersName[] =
448 "Enable CSS Fragment Identifiers";
449const char kEnableCSSFragmentIdentifiersDescription[] =
450 "Enable support for specifying a target element using a css selector in "
451 "the fragment identifier.";
452
David Reveman87b4b692018-03-09 21:22:22453const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
454const char kEnableCursorMotionBlurDescription[] =
455 "Enable motion blur effect for the cursor.";
456
Ramin Halavati6f5d9852018-06-20 09:37:05457const char kEnableEphemeralFlashPermissionName[] =
458 "Enable Ephemeral Flash Permissions";
459const char kEnableEphemeralFlashPermissionDescription[] =
460 "When enabled, Flash plugin permissions are reset at the end of the "
461 "browser session.";
462
Doug Arnett08b4067b2017-10-12 20:14:44463const char kEnableNoScriptPreviewsName[] = "NoScript previews";
464
465const char kEnableNoScriptPreviewsDescription[] =
466 "Enable disabling JavaScript on some pages on slow networks.";
467
Thanh Le2c279fbc2017-11-21 01:25:40468const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
469const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
470const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
471const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
472const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
473const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
474const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
475const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
476const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
477const char kDataReductionProxyServerAlternative10[] =
478 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47479const char kEnableDataReductionProxyServerExperimentName[] =
480 "Use an alternative Data Saver back end configuration.";
481const char kEnableDataReductionProxyServerExperimentDescription[] =
482 "Enable a different approach to saving data by configuring the back end "
483 "server";
484
485const char kEnableDataReductionProxySavingsPromoName[] =
486 "Data Saver 1 MB Savings Promo";
487const char kEnableDataReductionProxySavingsPromoDescription[] =
488 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
489 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
490 "enabled for the promo to be shown.";
491
Matt Giucad4870432017-11-24 01:04:38492const char kEnableDesktopPWAsName[] = "Desktop PWAs";
493const char kEnableDesktopPWAsDescription[] =
494 "Experimental windowing and install banner treatment for Progressive Web "
495 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17496
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59497const char kEnableDesktopPWAsLinkCapturingName[] =
498 "Desktop PWAs Link Capturing";
499const char kEnableDesktopPWAsLinkCapturingDescription[] =
500 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
501 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
502 "#enable-desktop-pwas.";
503
Ahmed Fakhry0037de02018-01-29 19:58:31504const char kEnableDockedMagnifierName[] = "Docked Magnifier";
505const char kEnableDockedMagnifierDescription[] =
506 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
507
Ramya Nagarajan5b41d8d2018-04-02 19:53:02508const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
509const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09510 "Enables the Emoji picker item in context menus for editable text areas, if"
511 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02512
Brett Wilsonf27ff602017-07-07 22:28:47513const char kEnableEnumeratingAudioDevicesName[] =
514 "Experimentally enable enumerating audio devices.";
515const char kEnableEnumeratingAudioDevicesDescription[] =
516 "Experimentally enable the use of enumerating audio devices.";
517
518const char kEnableGenericSensorName[] = "Generic Sensor";
519const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25520 "Enables motion sensor classes based on Generic Sensor API, i.e. "
521 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
522 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
523
524const char kEnableGenericSensorExtraClassesName[] =
525 "Generic Sensor Extra Classes";
526const char kEnableGenericSensorExtraClassesDescription[] =
527 "Enables an extra set of sensor classes based on Generic Sensor API, which "
528 "expose previously unavailable platform features, i.e. AmbientLightSensor "
529 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47530
Brett Wilsonf27ff602017-07-07 22:28:47531const char kEnableHDRName[] = "HDR mode";
532const char kEnableHDRDescription[] =
533 "Enables HDR support on compatible displays.";
534
Ryan Sturm6a850902018-06-09 02:27:34535const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
536const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09537 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25538 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01539 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
540 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34541
Brett Wilsonf27ff602017-07-07 22:28:47542const char kEnableHttpFormWarningName[] =
543 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15544 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47545const char kEnableHttpFormWarningDescription[] =
546 "Attaches a warning UI to any password or credit card fields detected when "
547 "the top-level page is not HTTPS";
548
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41549const char kLayeredAPIName[] = "Experimental layered APIs";
550const char kLayeredAPIDescription[] =
551 "Enable layered API infrastructure, as well as several experimental "
552 "layered APIs. The syntax and the APIs exposed are experimental and will "
553 "change over time.";
554
Ian Kilpatricke68ef11a2018-07-04 03:52:10555const char kEnableLayoutNGName[] = "Enable LayoutNG";
556const char kEnableLayoutNGDescription[] =
557 "Enable Blink's next generation layout engine.";
558
Scott Littled0fd2d002018-04-13 03:37:26559const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
560const char kEnableLazyFrameLoadingDescription[] =
561 "Defers the loading of certain cross-origin frames until the page is "
562 "scrolled down near them.";
563
Sidney San Martín9375b892017-09-09 00:29:54564const char kEnableMacMaterialDesignDownloadShelfName[] =
565 "Enable Material Design download shelf";
566
567const char kEnableMacMaterialDesignDownloadShelfDescription[] =
568 "If enabled, the download shelf uses Material Design.";
569
Anton Urusov47cd4932017-09-19 14:41:41570const char kEnablePolicyToolName[] = "Enable policy management page";
571const char kEnablePolicyToolDescription[] =
572 "If enabled, the chrome://policy-tool URL loads a page for managing "
573 "policies.";
574
Tsuyoshi Horoea7edb72017-11-12 04:14:00575const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
576const char kEnablePWAFullCodeCacheDescription[] =
577 "Generate V8 code cache in Cache Storage while installing Service Worker "
578 "for PWAs.";
579
Weidong Guof1e5a892018-01-06 02:26:39580const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28581 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39582const char kDisableMultiMirroringDescription[] =
583 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28584
Brett Wilsonf27ff602017-07-07 22:28:47585const char kEnableNavigationTracingName[] = "Enable navigation tracing";
586const char kEnableNavigationTracingDescription[] =
587 "This is to be used in conjunction with the trace-upload-url flag. "
588 "WARNING: When enabled, Chrome will record performance data for every "
589 "navigation and upload it to the URL specified by the trace-upload-url "
590 "flag. The trace may include personally identifiable information (PII) "
591 "such as the titles and URLs of websites you visit.";
592
Bernhard Bauer5533f9912017-11-06 17:56:02593const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
594const char kEnableNetworkLoggingToFileDescription[] =
595 "Enables network logging to a file named netlog.json in the user data "
596 "directory. The file can be imported into chrome://net-internals.";
597
Brett Wilsonf27ff602017-07-07 22:28:47598const char kEnableNetworkServiceName[] = "Enable network service";
599const char kEnableNetworkServiceDescription[] =
600 "Enables the network service, which makes network requests through a "
601 "separate service. Note: most features don't work with this yet.";
602
John Abd-El-Malek8067cc02017-12-04 23:23:20603const char kEnableNetworkServiceInProcessName[] =
604 "Runs network service in-process";
605const char kEnableNetworkServiceInProcessDescription[] =
606 "Runs the network service in the browser process.";
607
dpapaded8349472017-10-25 03:21:27608const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
609const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37610 "If enabled, Print Preview will display a newer UI. This feature is "
611 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27612
Ahmed Fakhry2fd8fc82017-07-28 16:31:12613const char kEnableNightLightName[] = "Enable Night Light";
614const char kEnableNightLightDescription[] =
615 "Enable the Night Light feature which controls the color temperature of "
616 "the screen.";
617
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28618const char kEnableNotificationScrollBarName[] =
619 "Enable notification list scroll bar";
620const char kEnableNotificationScrollBarDescription[] =
621 "Enable the scroll bar of the notification list in Unified System Tray.";
622
xlou8b56f672018-02-09 23:34:30623const char kEnableNupPrintingName[] = "Enable N-up printing";
624const char kEnableNupPrintingDescription[] =
625 "Enable N-up printing in the print preview panel.";
626
Sophie Chang117a3b22017-10-24 22:25:36627const char kEnableOptimizationHintsName[] = "Optimization Hints";
628const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50629 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36630 "into decisions for what optimizations to perform on some pages on slow "
631 "networks.";
632
Yutaka Hirano98be3272017-08-07 17:55:39633const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
634const char kEnableOutOfBlinkCORSDescription[] =
635 "CORS handling logic is moved out of blink.";
636
Sammie Quon0fbf0782018-05-01 22:11:08637const char kEnableOverviewSwipeToCloseName[] =
638 "Enable overview swipe to close.";
639const char kEnableOverviewSwipeToCloseDescription[] =
640 "Enables closing of items in overview mode by dragging or flinging "
641 "vertically.";
642
kylechar7051c092018-02-05 20:31:39643const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
644const char kVizDisplayCompositorDescription[] =
645 "If enabled, the display compositor runs as part of the viz service in the"
646 "GPU process.";
647
Ria Jiang6a129b982018-03-01 18:30:40648const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
649const char kVizHitTestDrawQuadDescription[] =
650 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
651 "with hit-test data computed from the CompositorFrame.";
652
Erik Chen49bbfa22017-08-18 08:49:56653const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23654 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56655const char kEnableOutOfProcessHeapProfilingDescription[] =
656 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19657 "malloced objects. Heap dumps can be obtained at chrome://tracing "
658 "[category:memory-infra] and chrome://memory-internals. This setting "
659 "controls which processes are profiled. As long as this setting is not "
660 "disabled, users can start profiling any given process in "
661 "chrome://memory-internals.";
662const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
663const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
664const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
665const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
666const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10667const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19668 "None by default. Visit chrome://memory-internals to choose which "
669 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15670const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
671 "Profile a random sampling of renderer processes, ensuring only one is "
672 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19673
Erik Chen8bb76b52017-12-06 19:06:25674const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19675 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25676const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
677 "By default, small allocations are pruned from the heap dump. This reduces "
678 "the size of the compressed trace by 100x. If pruning is disabled, the "
679 "chrome://tracing UI may be unable to take or load the trace. Save the "
680 "trace directly using chrome://memory-internals, and use other mechanisms "
681 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
682 "automatically uploaded traces will always be pruned. This only affects "
683 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56684
erikchen8bc20d82018-02-14 03:21:51685const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
686const char kOutOfProcessHeapProfilingSamplingDescription[] =
687 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22688 "10000. This results in low noise for large and/or frequent allocations ["
689 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
690 "total size of malloc-ed objects] and large and/or frequent allocations "
691 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51692
Erik Chen3303fd0232018-01-11 20:29:05693const char kOOPHPStackModeName[] =
694 "The type of stack to record for memlog heap dumps";
695const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19696 "By default, memlog heap dumps record native stacks, which requires a "
697 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55698 "pointers to work on Android. Native with thread names will add the thread "
699 "name as the first frame of each native stack. It's also possible to "
700 "record a pseudo stack using trace events as identifiers. It's also "
701 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19702const char kOOPHPStackModeMixed[] = "Mixed";
703const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55704const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19705const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05706
François Beaufort2e75f492018-02-08 20:44:46707const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47708const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46709 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47710
F#m59d036e2017-09-13 07:22:17711const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
712const char kEnablePixelCanvasRecordingDescription[] =
713 "Pixel canvas recording allows the compositor to raster contents aligned "
714 "with the pixel and improves text rendering. This should be enabled when a "
715 "device is using fractional scale factor.";
716
vitaliiid36191b2018-06-11 07:40:49717extern const char kEnableSyncUserConsentSeparateTypeName[] =
718 "Enable separate sync type for consents";
719extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
720 "Emit user consents as a separate sync type instead of user events.";
721
Mohamed Amir Yosef0178fa892018-07-23 17:43:52722const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
723const char kEnableSyncUSSBookmarksDescription[] =
724 "Enables the new, experimental implementation of bookmark sync";
725
Mikel Astiz38837f82018-04-24 22:23:23726const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
727const char kEnableSyncUSSSessionsDescription[] =
728 "Enables the new, experimental implementation of session sync (aka tab "
729 "sync).";
730
Brett Wilsonf27ff602017-07-07 22:28:47731const char kEnableTokenBindingName[] = "Token Binding.";
732const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
733
734const char kEnableUseZoomForDsfName[] =
735 "Use Blink's zoom for device scale factor.";
736const char kEnableUseZoomForDsfDescription[] =
737 "If enabled, Blink uses its zooming mechanism to scale content for device "
738 "scale factor.";
739const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
740const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
741const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
742
Patrick Noland8ee016e2018-01-24 11:44:53743const char kEnableScrollAnchorSerializationName[] =
744 "Scroll Anchor Serialization";
745const char kEnableScrollAnchorSerializationDescription[] =
746 "Save the scroll anchor and use it to restore the scroll position when "
747 "navigating.";
748
Brad Nelson5cd500e2018-01-04 00:50:19749const char kEnableSharedArrayBufferName[] =
750 "Experimental enabled SharedArrayBuffer support in JavaScript.";
751const char kEnableSharedArrayBufferDescription[] =
752 "Enable SharedArrayBuffer support in JavaScript.";
753
Brett Wilsonf27ff602017-07-07 22:28:47754const char kEnableWasmName[] = "WebAssembly structured cloning support.";
755const char kEnableWasmDescription[] =
756 "Enable web pages to use WebAssembly structured cloning.";
757
Kim Paulhamusae635a32018-06-27 07:30:54758const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
759const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47760 "Enable Web Authentication API support.";
761
762extern const char kEnableWebAuthenticationCableSupportName[] =
763 "Web Authentication caBLE support";
764extern const char kEnableWebAuthenticationCableSupportDescription[] =
765 "Enable the cloud-assisted pairingless BLE protocol for use with "
766 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54767
Brett Wilsonf27ff602017-07-07 22:28:47768const char kEnableImageCaptureAPIName[] = "Image Capture API";
769const char kEnableImageCaptureAPIDescription[] =
770 "Enables the Web Platform Image Capture API: takePhoto(), "
771 "getPhotoCapabilities(), etc.";
772
773const char kEnableZeroSuggestRedirectToChromeName[] =
774 "Experimental contextual omnibox suggestion";
775const char kEnableZeroSuggestRedirectToChromeDescription[] =
776 "Change omnibox contextual suggestions to an experimental source. Note "
777 "that this is not an on/off switch for contextual omnibox and it only "
778 "applies to suggestions provided before the user starts typing a URL or a "
779 "search query (i.e. zero suggest).";
780
781const char kEnableWasmStreamingName[] =
782 "WebAssembly streaming compile/instantiate support.";
783const char kEnableWasmStreamingDescription[] =
784 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
785
Clemens Hammacher0c8a15a2018-04-27 13:45:32786const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
787const char kEnableWasmBaselineDescription[] =
788 "Enables WebAssembly baseline compilation and tier up.";
789
Ben Smith24c1e5c2018-06-20 01:09:02790const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
791const char kEnableWasmThreadsDescription[] =
792 "Enables support for the WebAssembly Threads proposal. Implies "
793 "#shared-array-buffer and #enable-webassembly.";
794
Brett Wilsonf27ff602017-07-07 22:28:47795const char kExpensiveBackgroundTimerThrottlingName[] =
796 "Throttle expensive background timers";
797const char kExpensiveBackgroundTimerThrottlingDescription[] =
798 "Enables intervention to limit CPU usage of background timers to 1%.";
799
800const char kExperimentalAppBannersName[] = "Experimental app banners";
801const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38802 "Enables a new experimental app banner flow and UI. Implies "
803 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47804
805const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
806const char kExperimentalCanvasFeaturesDescription[] =
807 "Enables the use of experimental canvas features which are still in "
808 "development.";
809
Nicholas Verneccd8259802018-02-22 01:22:04810const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
811const char kExperimentalCrostiniUIDescription[] =
812 "Enables in-development Crostini features.";
813
Brett Wilsonf27ff602017-07-07 22:28:47814const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
815const char kExperimentalExtensionApisDescription[] =
816 "Enables experimental extension APIs. Note that the extension gallery "
817 "doesn't allow you to upload extensions that use experimental APIs.";
818
819const char kExperimentalFullscreenExitUIName[] =
820 "Experimental fullscreen exit UI";
821const char kExperimentalFullscreenExitUIDescription[] =
822 "Displays experimental UI to allow mouse and touch input methods to exit "
823 "fullscreen mode.";
824
Ian Clelland37a985d2018-05-04 02:43:13825const char kExperimentalProductivityFeaturesName[] =
826 "Experimental Productivity Features";
827const char kExperimentalProductivityFeaturesDescription[] =
828 "Enable support for experimental developer productivity features, such as "
829 "Layered APIs and policies for avoiding slow rendering.";
830
Brett Wilsonf27ff602017-07-07 22:28:47831const char kExperimentalSecurityFeaturesName[] =
832 "Potentially annoying security features";
833const char kExperimentalSecurityFeaturesDescription[] =
834 "Enables several security features that will likely break one or more "
835 "pages that you visit on a daily basis. Strict mixed content checking, for "
836 "example. And locking powerful features to secure contexts. This flag will "
837 "probably annoy you.";
838
839const char kExperimentalWebPlatformFeaturesName[] =
840 "Experimental Web Platform features";
841const char kExperimentalWebPlatformFeaturesDescription[] =
842 "Enables experimental Web Platform features that are in development.";
843
844const char kExtensionContentVerificationName[] =
845 "Extension Content Verification";
846const char kExtensionContentVerificationDescription[] =
847 "This flag can be used to turn on verification that the contents of the "
848 "files on disk for extensions from the webstore match what they're "
849 "expected to be. This can be used to turn on this feature if it would not "
850 "otherwise have been turned on, but cannot be used to turn it off (because "
851 "this setting can be tampered with by malware).";
852const char kExtensionContentVerificationBootstrap[] =
853 "Bootstrap (get expected hashes, but do not enforce them)";
854const char kExtensionContentVerificationEnforce[] =
855 "Enforce (try to get hashes, and enforce them if successful)";
856const char kExtensionContentVerificationEnforceStrict[] =
857 "Enforce strict (hard fail if we can't get hashes)";
858
859const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
860const char kExtensionsOnChromeUrlsDescription[] =
861 "Enables running extensions on chrome:// URLs, where extensions explicitly "
862 "request this permission.";
galinapae72e152017-05-12 13:12:28863
Brett Wilsonecb80982017-07-12 20:34:51864const char kFastUnloadName[] = "Fast tab/window close";
865const char kFastUnloadDescription[] =
866 "Enables fast tab/window closing - runs a tab's onunload js handler "
867 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34868
Brett Wilsonecb80982017-07-12 20:34:51869const char kFeaturePolicyName[] = "Feature Policy";
870const char kFeaturePolicyDescription[] =
871 "Enables granting and removing access to features through the "
872 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34873
Brett Wilsonecb80982017-07-12 20:34:51874const char kFontCacheScalingName[] = "FontCache scaling";
875const char kFontCacheScalingDescription[] =
876 "Reuse a cached font in the renderer to serve different sizes of font for "
877 "faster layout.";
878
879const char kForceEffectiveConnectionTypeName[] =
880 "Override effective connection type";
881const char kForceEffectiveConnectionTypeDescription[] =
882 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30883 "returned by the network quality estimator. Slow 2G on Cellular returns "
884 "Slow 2G when connected to a cellular network, and the actual estimate "
885 "effective connection type when not on a cellular network. Previews are "
886 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51887const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
888const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
889const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30890const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
891 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51892const char kEffectiveConnectionType2GDescription[] = "2G";
893const char kEffectiveConnectionType3GDescription[] = "3G";
894const char kEffectiveConnectionType4GDescription[] = "4G";
895
896const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
897const char kFillOnAccountSelectDescription[] =
898 "Filling of passwords when an account is explicitly selected by the user "
899 "rather than autofilling credentials on page load.";
900
Brett Wilsonecb80982017-07-12 20:34:51901const char kForceTextDirectionName[] = "Force text direction";
902const char kForceTextDirectionDescription[] =
903 "Explicitly force the per-character directionality of UI text to "
904 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
905 "direction of the character language.";
906const char kForceDirectionLtr[] = "Left-to-right";
907const char kForceDirectionRtl[] = "Right-to-left";
908
909const char kForceUiDirectionName[] = "Force UI direction";
910const char kForceUiDirectionDescription[] =
911 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
912 "mode, overriding the default direction of the UI language.";
913
914const char kFramebustingName[] =
915 "Framebusting requires same-origin or a user gesture";
916const char kFramebustingDescription[] =
917 "Don't permit an iframe to navigate the top level browsing context unless "
918 "they are same-origin or the iframe is processing a user gesture.";
919
920const char kGamepadExtensionsName[] = "Gamepad Extensions";
921const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22922 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06923const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48924const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06925 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48926 "the polling rate improves the average latency of button and axis inputs "
927 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58928const char kGamepadVibrationName[] = "Gamepad Vibration";
929const char kGamepadVibrationDescription[] =
930 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51931
Brett Wilsonecb80982017-07-12 20:34:51932const char kGpuRasterizationMsaaSampleCountName[] =
933 "GPU rasterization MSAA sample count.";
934const char kGpuRasterizationMsaaSampleCountDescription[] =
935 "Specify the number of MSAA samples for GPU rasterization.";
936const char kGpuRasterizationMsaaSampleCountZero[] = "0";
937const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
938const char kGpuRasterizationMsaaSampleCountFour[] = "4";
939const char kGpuRasterizationMsaaSampleCountEight[] = "8";
940const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
941
942const char kGpuRasterizationName[] = "GPU rasterization";
943const char kGpuRasterizationDescription[] =
944 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28945const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51946
947const char kGoogleProfileInfoName[] = "Google profile name and icon";
948const char kGoogleProfileInfoDescription[] =
949 "Enables using Google information to populate the profile name and icon in "
950 "the avatar menu.";
951
952const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
953const char kHarfbuzzRendertextDescription[] =
954 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
955 "web content.";
956
Takumi Fujimotofb71e332018-03-31 14:04:08957const char kViewsCastDialogName[] = "Views Cast dialog";
958const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31959 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53960 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54961 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08962
Manu Cornet4a908de2018-04-09 04:32:27963const char kHideActiveAppsFromShelfName[] =
964 "Hide running apps (that are not pinned) from the shelf";
965const char kHideActiveAppsFromShelfDescription[] =
966 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25967
Brett Wilsonecb80982017-07-12 20:34:51968const char kHistoryRequiresUserGestureName[] =
969 "New history entries require a user gesture.";
970const char kHistoryRequiresUserGestureDescription[] =
971 "Require a user gesture to add a history entry.";
972const char kHyperlinkAuditingName[] = "Hyperlink auditing";
973const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
974
Ryan Landay4242dbc22018-04-04 01:47:33975const char kHorizontalTabSwitcherAndroidName[] =
976 "Enable horizontal tab switcher";
977const char kHorizontalTabSwitcherAndroidDescription[] =
978 "Changes the layout of the Android tab switcher so tabs scroll "
979 "horizontally instead of vertically.";
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kHostedAppQuitNotificationName[] =
982 "Quit notification for hosted apps";
983const char kHostedAppQuitNotificationDescription[] =
984 "Display a notification when quitting Chrome if hosted apps are currently "
985 "running.";
986
987const char kHostedAppShimCreationName[] =
988 "Creation of app shims for hosted apps on Mac";
989const char kHostedAppShimCreationDescription[] =
990 "Create app shims on Mac when creating a hosted app.";
991
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48992const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
993const char kHtmlBasedUsernameDetectorDescription[] =
994 "Use HTML-based username detector for the password manager.";
995
Brett Wilsonecb80982017-07-12 20:34:51996const char kIconNtpName[] = "Large icons on the New Tab page";
997const char kIconNtpDescription[] =
998 "Enable the experimental New Tab page using large icons.";
999
Mustafa Emre Acer9f169912018-07-23 22:40:131000const char kIdnNavigationSuggestionsName[] =
1001 "Navigation suggestions for internationalized domain names";
1002const char kIdnNavigationSuggestionsDescription[] =
1003 "Enable navigation suggestions for internationalized domain names that are "
1004 "visually similar to popular domains.";
1005
Brett Wilsonecb80982017-07-12 20:34:511006const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1007const char kIgnoreGpuBlacklistDescription[] =
1008 "Overrides the built-in software rendering list and enables "
1009 "GPU-acceleration on unsupported system configurations.";
1010
Ryan Sturm8c3dbc92018-06-26 19:22:371011const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441012const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371013 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441014
Claudio Magni61c210922017-12-28 00:29:511015const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1016const char kImprovedLanguageSettingsDescription[] =
1017 "Set of changes for Language Settings. These changes are intended to fix "
1018 "the major bugs related to Language Settings.";
1019
Brett Wilsonecb80982017-07-12 20:34:511020const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1021const char kInProductHelpDemoModeChoiceDescription[] =
1022 "Selects the In-Product Help demo mode.";
1023
1024const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1025const char kJavascriptHarmonyDescription[] =
1026 "Enable web pages to use experimental JavaScript features.";
1027
1028const char kJavascriptHarmonyShippingName[] =
1029 "Latest stable JavaScript features";
1030const char kJavascriptHarmonyShippingDescription[] =
1031 "Some web pages use legacy or non-standard JavaScript extensions that may "
1032 "conflict with the latest JavaScript features. This flag allows disabling "
1033 "support of those features for compatibility with such pages.";
1034
gogeraldfd7675d2018-06-19 22:57:351035const char kJustInTimeServiceWorkerPaymentAppName[] =
1036 "Just-in-time service worker payment app";
1037const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1038 "Allow crawling just-in-time service worker payment app when there is no "
1039 "installed service worker payment app for a payment request.";
1040
Yutaka Hiranof7f2f632017-09-06 10:40:081041const char kKeepAliveRendererForKeepaliveRequestsName[] =
1042 "Keep a renderer alive for keepalive fetch requests";
1043const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1044 "Keep a render process alive when the process has a pending fetch request "
1045 "with `keepalive' specified.";
1046
Joe Downing095fd6d2018-02-01 18:40:361047const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1048const char kKeyboardLockApiDescription[] =
1049 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1050 "specific key events and have them routed directly to the webpage when in "
1051 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kLcdTextName[] = "LCD text antialiasing";
1054const char kLcdTextDescription[] =
1055 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1056 "(subpixel) when doing accelerated compositing.";
1057
Matt Giucac399982f2017-10-06 07:51:291058const char kLeftToRightUrlsName[] =
1059 "Render bidirectional URLs from left to right";
1060const char kLeftToRightUrlsDescription[] =
1061 "An experimental Bidi URL rendering algorithm where the URL components are "
1062 "always shown in order from left to right, regardless of any RTL "
1063 "characters. (The contents of each component are still rendered with the "
1064 "normal Bidi algorithm.)";
1065
Brett Wilsonecb80982017-07-12 20:34:511066const char kLoadMediaRouterComponentExtensionName[] =
1067 "Load Media Router Component Extension";
1068const char kLoadMediaRouterComponentExtensionDescription[] =
1069 "Loads the Media Router component extension at startup.";
1070
spqchanb87755692018-04-05 00:46:091071const char kMacViewsAutofillPopupName[] =
1072 "Uses the Views Autofill Popup on Mac";
1073const char kMacViewsAutofillPopupDescription[] =
1074 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321075
Brett Wilsonecb80982017-07-12 20:34:511076const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1077const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511078
Lei Zhang2eca9082017-10-17 20:42:501079const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1080const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511081 "If enabled, the Incognito New Tab page uses the new material design with "
1082 "a better readable text.";
1083
spqchanb87755692018-04-05 00:46:091084const char kMediaRouterCastAllowAllIPsName[] =
1085 "Connect to Cast devices on all IP addresses";
1086const char kMediaRouterCastAllowAllIPsDescription[] =
1087 "Have the Media Router connect to Cast devices on all IP addresses, not "
1088 "just RFC1918/RFC4913 private addresses.";
1089
Brett Wilsonecb80982017-07-12 20:34:511090const char kMemoryCoordinatorName[] = "Memory coordinator";
1091const char kMemoryCoordinatorDescription[] =
1092 "Enable memory coordinator instead of memory pressure listeners.";
1093
1094const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1095const char kMessageCenterNewStyleNotificationDescription[] =
1096 "Enables the experiment style of material-design notification";
1097
Brett Wilsonecb80982017-07-12 20:34:511098const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1099const char kMhtmlGeneratorOptionDescription[] =
1100 "Provides experimental options for MHTML file generator.";
1101const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1102const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1103
Kouhei Ueno08445c22017-09-05 03:58:301104const char kModuleScriptsDynamicImportName[] =
1105 "Enable ECMAScript 6 modules dynamic import";
1106const char kModuleScriptsDynamicImportDescription[] =
1107 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1108 "Blink.";
1109
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051110const char kModuleScriptsImportMetaUrlName[] =
1111 "Enable ECMAScript 6 modules import.meta.url";
1112const char kModuleScriptsImportMetaUrlDescription[] =
1113 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1114 "Blink.";
1115
Brett Wilsonecb80982017-07-12 20:34:511116const char kNewAudioRenderingMixingStrategyName[] =
1117 "New audio rendering mixing strategy";
1118const char kNewAudioRenderingMixingStrategyDescription[] =
1119 "Use the new audio rendering mixing strategy.";
1120
1121const char kNewBookmarkAppsName[] = "The new bookmark app system";
1122const char kNewBookmarkAppsDescription[] =
1123 "Enables the new system for creating bookmark apps.";
1124
Vadym Doroshenkocd4ff782018-07-24 13:41:021125const char kNewPasswordFormParsingName[] =
1126 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241127const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021128 "Replaces existing form parsing for filling in password manager with a new "
1129 "version, currently under development. WARNING: when enabled, Password "
1130 "Manager might stop working";
1131
1132const char kNewPasswordFormParsingForSavingName[] =
1133 "New password form parsing for saving passwords";
1134const char kNewPasswordFormParsingForSavingDescription[] =
1135 "Replaces existing form parsing for saving in password manager with a new "
1136 "version, currently under development. WARNING: when enabled, Password "
1137 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241138
Brett Wilsonecb80982017-07-12 20:34:511139const char kNewRemotePlaybackPipelineName[] =
1140 "Enable the new remote playback pipeline.";
1141const char kNewRemotePlaybackPipelineDescription[] =
1142 "Enable the new pipeline for playing media element remotely via "
1143 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501144const char kUseSurfaceLayerForVideoName[] =
1145 "Enable the use of SurfaceLayer objects for videos.";
1146const char kUseSurfaceLayerForVideoDescription[] =
1147 "Enable compositing onto a Surface instead of a VideoLayer "
1148 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511149
1150const char kNewUsbBackendName[] = "Enable new USB backend";
1151const char kNewUsbBackendDescription[] =
1152 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341153
Sonny Sasaka2d200432018-03-22 17:43:161154const char kNewblueName[] = "Newblue";
1155const char kNewblueDescription[] =
1156 "Enables the use of newblue Bluetooth daemon.";
1157
Peter Kasting63097912018-06-30 02:09:031158const char kNewTabButtonPosition[] = "New tab button position";
1159const char kNewTabButtonPositionDescription[] =
1160 "Controls placement of the new tab button within the tabstrip.";
1161const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1162const char kNewTabButtonPositionLeading[] = "Leading";
1163const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1164const char kNewTabButtonPositionTrailing[] = "Trailing";
1165
Egor Pasko6fed3822018-05-30 10:33:141166const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341167const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141168 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341169
Alex Newcomerd7b0cc42018-05-25 22:58:481170const char kNotificationIndicatorName[] = "Notification Indicators";
1171const char kNotificationIndicatorDescription[] =
1172 "Enable notification indicators, which appear on app icons when a "
1173 "notification is active. This will also enable notifications in context "
1174 "menus.";
1175
Brett Wilsonecb80982017-07-12 20:34:511176const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1177const char kNotificationsNativeFlagDescription[] =
1178 "Enable support for using the native notification toasts and notification "
1179 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341180
Zentaro Kavanaghbad511c2017-10-18 22:29:001181#if defined(OS_POSIX)
1182const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1183const char kNtlmV2EnabledDescription[] =
1184 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1185#endif
1186
Ramya Nagarajane9f16b82018-05-03 01:05:341187const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1188const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301189 "Allow selection of a custom background image on the New Tab Page. "
1190 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341191
kristipark037abce12018-07-13 19:49:301192const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1193const char kNtpCustomLinksDescription[] =
1194 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1195 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1196
1197const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341198const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301199 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1200 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341201
1202const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1203const char kNtpUIMdDescription[] =
1204 "Updates the New Tab Page with Material Design elements.";
1205
Brett Wilsonecb80982017-07-12 20:34:511206const char kNumRasterThreadsName[] = "Number of raster threads";
1207const char kNumRasterThreadsDescription[] =
1208 "Specify the number of raster threads.";
1209const char kNumRasterThreadsOne[] = "1";
1210const char kNumRasterThreadsTwo[] = "2";
1211const char kNumRasterThreadsThree[] = "3";
1212const char kNumRasterThreadsFour[] = "4";
1213
1214const char kOfferStoreUnmaskedWalletCardsName[] =
1215 "Google Payments card saving checkbox";
1216const char kOfferStoreUnmaskedWalletCardsDescription[] =
1217 "Show the checkbox to offer local saving of a credit card downloaded from "
1218 "the server.";
1219
1220const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1221const char kOfflineAutoReloadDescription[] =
1222 "Pages that fail to load while the browser is offline will be "
1223 "auto-reloaded when the browser is online again.";
1224
1225const char kOfflineAutoReloadVisibleOnlyName[] =
1226 "Only Auto-Reload Visible Tabs";
1227const char kOfflineAutoReloadVisibleOnlyDescription[] =
1228 "Pages that fail to load while the browser is offline will only be "
1229 "auto-reloaded if their tab is visible.";
1230
Brett Wilsonecb80982017-07-12 20:34:511231const char kOmniboxDisplayTitleForCurrentUrlName[] =
1232 "Include title for the current URL in the omnibox";
1233const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1234 "In the event that the omnibox provides suggestions on-focus, the URL of "
1235 "the current page is provided as the first suggestion without a title. "
1236 "Enabling this flag causes the title to be displayed.";
1237
Benoit Lizeab08362c2017-07-19 14:50:541238const char kOmniboxSpareRendererName[] =
1239 "Start spare renderer on omnibox focus";
1240const char kOmniboxSpareRendererDescription[] =
1241 "When the omnibox is focused, start an empty spare renderer. This can "
1242 "speed up the load of the navigation from the omnibox.";
1243
Tommy C. Li8875a442017-08-23 00:10:591244const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1245 "Omnibox UI Elide Suggestion URL After Host";
1246const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1247 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1248 "dropdown.";
1249
Tommy C. Lid79d4402017-12-22 22:49:121250const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1251 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1252const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1253 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221254 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1255 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121256
Tommy C. Licc5e53022018-07-27 16:30:351257const char kOmniboxUIJogTextfieldOnPopupName[] =
1258 "Omnibox UI Jog Textfield on Popup";
1259const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1260 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1261 "text when the popup is opened. When this feature is disabled, the "
1262 "textfield is always aligned with the suggestions text, and a separator "
1263 "fills the gap. If Material Refresh is disabled, this has no effect.";
1264
Brett Wilsonecb80982017-07-12 20:34:511265const char kOmniboxUIMaxAutocompleteMatchesName[] =
1266 "Omnibox UI Max Autocomplete Matches";
1267
1268const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1269 "Changes the maximum number of autocomplete matches displayed in the "
1270 "Omnibox UI.";
1271
Justin Donnelly65c9e8b2017-10-01 05:15:011272const char kOmniboxUIShowSuggestionFaviconsName[] =
1273 "Omnibox UI Show Suggestion Favicons";
1274const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1275 "Shows favicons instead of generic vector icons for URL suggestions in the "
1276 "Omnibox dropdown.";
1277
1278const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1279const char kOmniboxUISwapTitleAndUrlDescription[] =
1280 "In the omnibox dropdown, shows titles before URLs when both are "
1281 "available.";
1282
Brett Wilsonecb80982017-07-12 20:34:511283const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1284const char kOmniboxUIVerticalMarginDescription[] =
1285 "Changes the vertical margin in the Omnibox UI.";
1286
Troy Hildebrandtb32637ca2018-02-21 23:25:091287const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1288 "Omnibox Voice Search Always Visible";
1289const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1290 "Always displays voice search icon in focused omnibox as long as voice "
1291 "search is possible";
1292
Adrienne Walkerc87477e2018-06-06 22:28:211293const char kOopRasterizationName[] = "Out of process rasterization";
1294const char kOopRasterizationDescription[] =
1295 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1296 "Must also enable GPU rasterization";
1297
Brett Wilsonecb80982017-07-12 20:34:511298const char kOriginTrialsName[] = "Origin Trials";
1299const char kOriginTrialsDescription[] =
1300 "Enables origin trials for controlling access to feature/API experiments.";
1301
Becca Hughes930d8cd2017-10-02 11:09:121302const char kOverflowIconsForMediaControlsName[] =
1303 "Icons on Media Controls Overflow Menu";
1304const char kOverflowIconsForMediaControlsDescription[] =
1305 "Displays icons on the overflow menu of the native media controls";
1306
Brett Wilsonecb80982017-07-12 20:34:511307const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1308const char kOverlayScrollbarsDescription[] =
1309 "Enable the experimental overlay scrollbars implementation. You must also "
1310 "enable threaded compositing to have the scrollbars animate.";
1311
chaopenge8aa016b2017-08-24 15:20:191312const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1313 "Flash Overlay Scrollbars After Any Scroll Update";
1314const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1315 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1316 " must also enable Overlay Scrollbars.";
1317
chaopeng343678022017-08-24 18:45:001318const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1319 "Flash Overlay Scrollbars When Mouse Enter";
1320const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1321 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1322 " enable Overlay Scrollbars.";
1323
Daniele Castagna74ddb9c2018-06-21 22:59:021324const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1325const char kOverlayStrategiesDescription[] =
1326 "Select strategies used to promote quads to HW overlays.";
1327const char kOverlayStrategiesDefault[] = "Default";
1328const char kOverlayStrategiesNone[] = "None";
1329const char kOverlayStrategiesUnoccludedFullscreen[] =
1330 "Unoccluded fullscreen buffers (single-fullscreen)";
1331const char kOverlayStrategiesUnoccluded[] =
1332 "Unoccluded buffers (single-fullscreen,single-on-top)";
1333const char kOverlayStrategiesOccludedAndUnoccluded[] =
1334 "Occluded and unoccluded buffers "
1335 "(single-fullscreen,single-on-top,underlay)";
1336
Claudio Magni81326f92017-09-01 05:21:181337const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1338const char kUseNewAcceptLanguageHeaderDescription[] =
1339 "Adds the base language code after other corresponding language+region "
1340 "codes. This ensures that users receive content in their preferred "
1341 "language.";
1342
Brett Wilsonecb80982017-07-12 20:34:511343const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1344const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481345 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511346const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481347const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511348
1349const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1350const char kOverscrollStartThresholdDescription[] =
1351 "Changes overscroll start threshold relative to the default value.";
1352const char kOverscrollStartThreshold133Percent[] = "133%";
1353const char kOverscrollStartThreshold166Percent[] = "166%";
1354const char kOverscrollStartThreshold200Percent[] = "200%";
1355
chaopenge2b6e5f2018-05-08 16:40:451356const char kTouchpadOverscrollHistoryNavigationName[] =
1357 "Overscroll history navigation on Touchpad";
1358const char kTouchpadOverscrollHistoryNavigationDescription[] =
1359 "Allows swipe left/right from touchpad change browser navigation.";
1360
Xing Liu5400a002017-09-15 21:48:291361const char kParallelDownloadingName[] = "Parallel downloading";
1362const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061363 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291364
Brett Wilsonecb80982017-07-12 20:34:511365const char kPassiveEventListenerDefaultName[] =
1366 "Passive Event Listener Override";
1367const char kPassiveEventListenerDefaultDescription[] =
1368 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1369 "haven't requested otherwise) to be treated as passive. This will break "
1370 "touch/wheel behavior on some websites but is useful for demonstrating the "
1371 "potential performance benefits of adopting passive event listeners.";
1372const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1373const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1374
1375const char kPassiveEventListenersDueToFlingName[] =
1376 "Touch Event Listeners Passive Default During Fling";
1377const char kPassiveEventListenersDueToFlingDescription[] =
1378 "Forces touchstart, and first touchmove per scroll event listeners during "
1379 "fling to be treated as passive.";
1380
1381const char kPassiveDocumentEventListenersName[] =
1382 "Document Level Event Listeners Passive Default";
1383const char kPassiveDocumentEventListenersDescription[] =
1384 "Forces touchstart, and touchmove event listeners on document level "
1385 "targets (which haven't requested otherwise) to be treated as passive.";
1386
1387const char kPasswordForceSavingName[] = "Force-saving of passwords";
1388const char kPasswordForceSavingDescription[] =
1389 "Allow the user to manually enforce password saving instead of relying on "
1390 "password manager's heuristics.";
1391
Vaclav Brozekd8a3f542017-11-16 14:21:131392const char kPasswordExportName[] = "Password export";
1393const char kPasswordExportDescription[] =
1394 "Export functionality in password settings.";
1395
1396const char kPasswordImportName[] = "Password import";
1397const char kPasswordImportDescription[] =
1398 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511399
Friedrich Horschig03c91982018-01-25 14:21:281400const char kPasswordSearchMobileName[] = "Password search";
1401const char kPasswordSearchMobileDescription[] =
1402 "Search functionality in password settings.";
1403
Friedrich Horschige6c27742018-04-23 17:13:411404const char kPasswordsKeyboardAccessoryName[] =
1405 "Add password-related functions to keyboard accessory";
1406const char kPasswordsKeyboardAccessoryDescription[] =
1407 "Adds password generation button and toggle for the passwords bottom sheet "
1408 "to the keyboard accessory. Replaces password generation popups.";
1409
Christos Froussios6e060c42018-07-31 16:17:191410const char kPasswordsMigrateLinuxToLoginDBName[] =
1411 "Migrate passwords to \"Login Data\"";
1412const char kPasswordsMigrateLinuxToLoginDBDescription[] =
1413 "Performs a one-off migration (with retries) of passwords from the "
1414 "gnome-keyring or kwallet into the profile directory.";
1415
Tom Sepez92a2cd242018-03-13 19:23:091416const char kPdfIsolationName[] = "PDF Isolation";
1417const char kPdfIsolationDescription[] =
1418 "Render PDF files from different origins in different plugin processes.";
1419
Brett Wilsonecb80982017-07-12 20:34:511420const char kPinchScaleName[] = "Pinch scale";
1421const char kPinchScaleDescription[] =
1422 "Enables experimental support for scale using pinch.";
1423
Doug Arnett620ff542018-02-06 17:54:221424const char kPreviewsAllowedName[] = "Previews Allowed";
1425const char kPreviewsAllowedDescription[] =
1426 "Allows previews to be shown subject to specific preview types being "
1427 "enabled and the client experiencing specific triggering conditions. "
1428 "May be used as a kill-switch to turn off all potential preview types.";
1429
Brett Wilsonecb80982017-07-12 20:34:511430const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1431const char kPrintPdfAsImageDescription[] =
1432 "If enabled, an option to print PDF files as images will be available in "
1433 "print preview.";
1434
1435const char kPrintPreviewRegisterPromosName[] =
1436 "Print Preview Registration Promos";
1437const char kPrintPreviewRegisterPromosDescription[] =
1438 "Enable registering unregistered cloud printers from print preview.";
1439
1440const char kProtectSyncCredentialName[] = "Autofill sync credential";
1441const char kProtectSyncCredentialDescription[] =
1442 "How the password manager handles autofill for the sync credential.";
1443
1444const char kProtectSyncCredentialOnReauthName[] =
1445 "Autofill sync credential only for transactional reauth pages";
1446const char kProtectSyncCredentialOnReauthDescription[] =
1447 "How the password manager handles autofill for the sync credential only "
1448 "for transactional reauth pages.";
1449
Mohsen Izadi93faac12017-07-29 04:45:151450const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1451const char kPullToRefreshDescription[] =
1452 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011453const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151454
Troy Hildebrandt7228ad12018-02-23 21:18:241455const char kQueryInOmniboxName[] = "Query in Omnibox";
1456const char kQueryInOmniboxDescription[] =
1457 "Only display query terms in the omnibox when viewing a search results "
1458 "page.";
1459
Brett Wilsonecb80982017-07-12 20:34:511460const char kQuicName[] = "Experimental QUIC protocol";
1461const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1462
Emily Starke8878d52018-05-11 21:27:261463const char kRecurrentInterstitialName[] =
1464 "Show a message when the same SSL error recurs";
1465const char kRecurrentInterstitialDescription[] =
1466 "Enable a special message on the SSL certificate error page when the same "
1467 "SSL error occurs repeatedly.";
1468
Brett Wilsonecb80982017-07-12 20:34:511469const char kReducedReferrerGranularityName[] =
1470 "Reduce default 'referer' header granularity.";
1471const char kReducedReferrerGranularityDescription[] =
1472 "If a page hasn't set an explicit referrer policy, setting this flag will "
1473 "reduce the amount of information in the 'referer' header for cross-origin "
1474 "requests.";
1475
Claudio Magnie0a80bb2018-01-31 02:52:581476extern const char kRegionalLocalesAsDisplayUIName[] =
1477 "Allow regional locales as display UI";
1478extern const char kRegionalLocalesAsDisplayUIDescription[] =
1479 "This flag allows regional locales to be selected as display UI by the "
1480 "user in Language Settings. The actual locale of the system is derived "
1481 "from the user selection based on some simple fallback logic.";
1482
Christian Dullweber1af31e62018-02-22 11:49:481483const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141484 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481485const char kRemoveNavigationHistoryDescription[] =
1486 "Remove a navigation entry when the corresponding history entry has been "
1487 "deleted.";
1488
Mihai Sardarescu6d0f5b72017-10-30 11:24:381489const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1490 "Remove usage of the deprecated GAIA sign-in endpoint";
1491const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1492 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1493 "This flags controls wheter it should no longer be used during a sign-in "
1494 " flow.";
1495
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351496const char kRendererSideResourceSchedulerName[] =
1497 "Renderer side ResourceScheduler";
1498const char kRendererSideResourceSchedulerDescription[] =
1499 "Migrate some ResourceScheduler functionalities to renderer";
1500
Brett Wilsonecb80982017-07-12 20:34:511501const char kRequestTabletSiteName[] =
1502 "Request tablet site option in the settings menu";
1503const char kRequestTabletSiteDescription[] =
1504 "Allows the user to request tablet site. Web content is often optimized "
1505 "for tablet devices. When this option is selected the user agent string is "
1506 "changed to indicate a tablet device. Web content optimized for tablets is "
1507 "received there after for the current tab.";
1508
1509const char kResetAppListInstallStateName[] =
1510 "Reset the App Launcher install state on every restart.";
1511const char kResetAppListInstallStateDescription[] =
1512 "Reset the App Launcher install state on every restart. While this flag is "
1513 "set, Chrome will forget the launcher has been installed each time it "
1514 "starts. This is used for testing the App Launcher install flow.";
1515
Kinuko Yasuda33955082018-06-19 10:14:591516const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511517const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591518 "Uses the resource load scheduler in blink to throttle resource load "
1519 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511520
Brett Wilsonecb80982017-07-12 20:34:511521const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1522const char kSafeSearchUrlReportingDescription[] =
1523 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1524
Alexei Filippov98772752018-01-27 08:26:521525const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1526const char kSamplingHeapProfilerDescription[] =
1527 "Enables native memory sampling profiler with specified rate in KiB. "
1528 "If sampling rate is not provided the default value of 128 KiB is used.";
1529
Brett Wilsonecb80982017-07-12 20:34:511530const char kSaveasMenuLabelExperimentName[] =
1531 "Switch 'Save as' menu labels to 'Download'";
1532const char kSaveasMenuLabelExperimentDescription[] =
1533 "Enables an experiment to switch menu labels that use 'Save as...' to "
1534 "'Download'.";
1535
1536const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1537const char kSavePageAsMhtmlDescription[] =
1538 "Enables saving pages as MHTML: a single text file containing HTML and all "
1539 "sub-resources.";
1540
Nate Chapin9638e7102017-09-20 22:11:011541const char kSavePreviousDocumentResourcesName[] =
1542 "Save Previous Document Resources";
1543const char kSavePreviousDocumentResourcesDescription[] =
1544 "Saves an old document's cached resources until the specified point in the "
1545 "next document's lifecycle.";
1546const char kSavePreviousDocumentResourcesNever[] =
1547 "Don't explicitly save resources";
1548const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1549 "Save resources until onDOMContentLoaded completes";
1550const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1551 "Save resources until onload completes";
1552
Brett Wilsonecb80982017-07-12 20:34:511553const char kScrollPredictionName[] = "Scroll prediction";
1554const char kScrollPredictionDescription[] =
1555 "Predicts the finger's future position during scrolls allowing time to "
1556 "render the frame before the finger is there.";
1557
1558const char kSecondaryUiMd[] =
1559 "Material Design in the rest of the browser's native UI";
1560const char kSecondaryUiMdDescription[] =
1561 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1562 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
Robert Liao0e09b5a8b2018-06-04 21:58:341563 "browser dialogs. If --top-chrome-md is effectively Material Design "
1564 "refresh, this option is enabled.";
Brett Wilsonecb80982017-07-12 20:34:511565
gogeraldd5061b592017-09-06 23:39:551566const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1567const char kServiceWorkerPaymentAppsDescription[] =
1568 "Enable Service Worker applications to integrate as payment apps";
1569
Makoto Shimazu22078cc2018-02-21 03:01:441570extern const char kServiceWorkerServicificationName[] =
1571 "Servicified service workers";
1572extern const char kServiceWorkerServicificationDescription[] =
1573 "Enable the servicified service workers. A servicified service worker can "
1574 "have direct connection from its clients, so that fetch events can be "
1575 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171576
Tsuyoshi Horobcb1c642017-11-24 16:32:141577const char kServiceWorkerScriptFullCodeCacheName[] =
1578 "Service worker script full code cache.";
1579const char kServiceWorkerScriptFullCodeCacheDescription[] =
1580 "Generate V8 full code cache of Service Worker scripts while installing.";
1581
Brett Wilsonecb80982017-07-12 20:34:511582const char kSettingsWindowName[] = "Show settings in a window";
1583const char kSettingsWindowDescription[] =
1584 "Settings will be shown in a dedicated window instead of as a browser tab.";
1585
Manu Cornetd7ef7c52018-05-01 22:08:231586const char kShelfHoverPreviewsName[] =
1587 "Show previews of running apps when hovering over the shelf.";
1588const char kShelfHoverPreviewsDescription[] =
1589 "Shows previews of the open windows for a given running app when hovering "
1590 "over the shelf.";
1591
Manu Cornet683e14b2018-07-16 17:39:431592const char kShelfNewUiName[] = "Newest shelf redesign.";
1593const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1594
Trent Apted750ba7022017-10-23 13:36:251595const char kShowAllDialogsWithViewsToolkitName[] =
1596 "Show all dialogs with Views toolkit";
1597const char kShowAllDialogsWithViewsToolkitDescription[] =
1598 "All browser dialogs will be shown using the Views toolkit rather than "
1599 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1600
Naoki Fukino008a0022018-05-23 18:33:001601const char kShowAndroidFilesInFilesAppName[] =
1602 "Show Android files in Files app";
1603const char kShowAndroidFilesInFilesAppDescription[] =
1604 "Show Android files in Files app if Android is enabled on the device.";
1605
Luciano Pachecoa0e2753f2018-07-16 07:41:101606const char kFilesAppDisableMyFilesNavigationName[] =
1607 "Disable the My Files on the navigation in the Files app";
1608const char kFilesAppDisableMyFilesNavigationDescription[] =
1609 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511610 R"("My Files" root for Downloads, Linux and Play files)";
1611
Brett Wilsonecb80982017-07-12 20:34:511612const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1613const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381614 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1615 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511616
1617const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1618const char kShowAutofillTypePredictionsDescription[] =
1619 "Annotates web forms with Autofill field type predictions as placeholder "
1620 "text.";
1621
1622const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1623const char kShowOverdrawFeedbackDescription[] =
1624 "Visualize overdraw by color-coding elements based on if they have other "
1625 "elements drawn underneath.";
1626
Carlos IL89128732018-04-03 17:00:251627const char kSupervisedUserCommittedInterstitialsName[] =
1628 "Enable Supervised User Committed Interstitials";
1629const char kSupervisedUserCommittedInterstitialsDescription[] =
1630 "Use committed error pages instead of transient navigation entries for "
1631 "supervised user interstitials";
1632
yiyixbdfa9a0b2017-10-23 22:21:471633const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1634const char kEnableDrawOcclusionDescription[] =
1635 "Enable the system to use draw occlusion to skip draw quads when they are "
1636 "not shown on the screen.";
1637
Brett Wilsonecb80982017-07-12 20:34:511638const char kShowSavedCopyName[] = "Show Saved Copy Button";
1639const char kShowSavedCopyDescription[] =
1640 "When a page fails to load, if a stale copy of the page exists in the "
1641 "browser cache, a button will be presented to allow the user to load that "
1642 "stale copy. The primary enabling choice puts the button in the most "
1643 "salient position on the error page; the secondary enabling choice puts it "
1644 "secondary to the reload button.";
1645const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1646const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1647const char kDisableShowSavedCopy[] = "Disable";
1648
Brett Wilsonecb80982017-07-12 20:34:511649const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1650const char kSilentDebuggerExtensionApiDescription[] =
1651 "Do not show the infobar when an extension attaches to a page via "
1652 "chrome.debugger API. This is required to debug extension background "
1653 "pages.";
1654
Tsuyoshi Horo53895ba92018-03-14 04:06:481655const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1656const char kSignedHTTPExchangeDescription[] =
1657 "Enables Origin-Signed HTTP Exchanges support which is still in "
1658 "development. Warning: Enabling this may pose a security risk.";
1659
Brett Wilsonecb80982017-07-12 20:34:511660const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1661const char kSimpleCacheBackendDescription[] =
1662 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1663 "disk space allocation.";
1664
Christopher Thompson75ff845d2018-02-01 20:12:461665const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1666const char kSimplifyHttpsIndicatorDescription[] =
1667 "Change the UI treatment for HTTPS pages.";
1668
Brett Wilsonecb80982017-07-12 20:34:511669const char kSingleClickAutofillName[] = "Single-click autofill";
1670const char kSingleClickAutofillDescription[] =
1671 "Make autofill suggestions on initial mouse click on a form element.";
1672
Bret Sepulveda4f891da2018-07-16 19:10:301673const char kSingleTabMode[] = "Single-tab mode";
1674const char kSingleTabModeDescription[] =
1675 "Windows with a single tab receive a special, minimal visual treatment.";
1676
Nick Carter855bc492018-03-10 00:44:571677const char kStrictSiteIsolationName[] = "Strict site isolation";
1678const char kStrictSiteIsolationDescription[] =
1679 "Security mode that enables site isolation for all sites. When enabled, "
1680 "each renderer process will contain pages from at most one site, using "
1681 "out-of-process iframes when needed. When enabled, this flag forces the "
1682 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1683 "isolation mode will be determined by enterprise policy or field trial.";
1684
1685const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1686const char kSiteIsolationTrialOptOutDescription[] =
1687 "Opts out of field trials that enable site isolation modes "
1688 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1689 "may be due to out-of-process iframes. Opt-out has no effect if site "
1690 "isolation is force-enabled via #enable-site-per-process or enterprise "
1691 "policy. Caution: this disables important mitigations for the Spectre CPU "
1692 "vulnerability affecting most computers.";
1693extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1694extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1695 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511696
Pattideade7972018-04-27 02:59:401697const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511698const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401699 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511700
Brett Wilsonecb80982017-07-12 20:34:511701const char kSmoothScrollingName[] = "Smooth Scrolling";
1702const char kSmoothScrollingDescription[] =
1703 "Animate smoothly when scrolling page content.";
1704
1705const char kSoftwareRasterizerName[] = "3D software rasterizer";
1706const char kSoftwareRasterizerDescription[] =
1707 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1708
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201709const char kSoleIntegrationName[] = "Sole integration";
1710const char kSoleIntegrationDescription[] =
1711 "Enable Sole integration for browser customization. You must restart "
1712 "the browser twice for changes to take effect.";
1713
Tommy Steimel77704be2017-08-28 22:14:401714const char kSoundContentSettingName[] = "Sound content setting";
1715const char kSoundContentSettingDescription[] =
1716 "Enable site-wide muting in content settings and tab strip context menu.";
1717
Alexandr Ilinf0500ed32017-09-27 21:12:361718const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1719const char kSpeculativePreconnectDescription[] =
1720 "Enable the new implementation of preconnect and DNS preresolve. "
1721 "\"Learning\" means that only database construction is enabled, "
1722 "\"Preconnect\" enables both learning and preconnect and disables the "
1723 "existing implementation. \"No preconnect\" disables both implementations.";
1724
Brett Wilsonecb80982017-07-12 20:34:511725const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341726const char kSpeculativePrefetchDescription[] =
1727 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1728 R"*(load times, based on a local database (see chrome://predictors). )*"
1729 R"*("Learning" means that only the database construction is enabled, )*"
1730 R"*("Prefetching" that learning and prefetching are enabled.)*";
1731
Justin Donnelly4e448cb2017-07-07 21:32:131732const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1733 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131734const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1735 "If enabled, when the user enters text in the omnibox that looks like a "
1736 "a query, any service worker associated with the search engine the query "
1737 "will be sent to is started early.";
1738
Brett Wilsonecb80982017-07-12 20:34:511739const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1740const char kSpellingFeedbackFieldTrialDescription[] =
1741 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401742
Carlos ILe5fa0a12018-08-03 16:08:321743const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1744const char kSSLCommittedInterstitialsDescription[] =
1745 "Use committed error pages instead of transient navigation entries "
1746 "for SSL interstitial error pages (i.e. certificate errors).";
1747
Shubhie Panickerfaf082ed2018-01-03 04:49:151748const char kStopInBackgroundName[] = "Stop in background";
1749const char kStopInBackgroundDescription[] =
1750 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281751 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151752
Shubhie Panicker56c99a22018-03-21 00:22:281753const char kStopNonTimersInBackgroundName[] =
1754 "Stop non-timer task queues background";
1755const char kStopNonTimersInBackgroundDescription[] =
1756 "Stop non-timer task queues, in the background, "
1757 "after a grace period.";
1758
Brett Wilsonecb80982017-07-12 20:34:511759const char kSuggestionsWithSubStringMatchName[] =
1760 "Substring matching for Autofill suggestions";
1761const char kSuggestionsWithSubStringMatchDescription[] =
1762 "Match Autofill suggestions based on substrings (token prefixes) rather "
1763 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341764
Marc Treibf65fb002018-08-03 11:17:161765const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1766const char kSyncStandaloneTransportDescription[] =
1767 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1768 "this mode, the Sync machinery can start without user opt-in, but only a "
1769 "subset of data types are supported.";
1770
Brett Wilsonecb80982017-07-12 20:34:511771const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1772const char kSyncSandboxDescription[] =
1773 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341774
Joe Downing8cbbc192018-05-14 17:37:071775const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1776const char kSystemKeyboardLockDescription[] =
1777 "Enables websites to use the keyboard.lock() API to intercept system "
1778 "keyboard shortcuts and have the events routed directly to the website "
1779 "when in fullscreen mode.";
1780
Brett Wilsonecb80982017-07-12 20:34:511781const char kTabAudioMutingName[] = "Tab audio muting UI control";
1782const char kTabAudioMutingDescription[] =
1783 "When enabled, the audio indicators in the tab strip double as tab audio "
1784 "mute controls. This also adds commands in the tab context menu for "
1785 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341786
Christian Dullweberd0d96f02017-09-13 09:22:511787const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1788const char kTabsInCbdDescription[] =
1789 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1790
Becky Zhou99c22802017-10-19 05:09:271791const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1792const char kTabModalJsDialogDescription[] =
1793 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1794 " tab.";
1795
Brett Wilsonecb80982017-07-12 20:34:511796const char kTcpFastOpenName[] = "TCP Fast Open";
1797const char kTcpFastOpenDescription[] =
1798 "Enable the option to send extra authentication information in the initial "
1799 "SYN packet for a previously connected client, allowing faster data send "
1800 "start.";
vabr0215a8e2017-03-28 12:47:341801
Daniele Castagna0fead93e2018-01-10 20:40:291802const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1803const char kTintGlCompositedContentDescription[] =
1804 "Tint contents composited using GL with a shade of red to help debug and "
1805 "study overlay support.";
1806
Brett Wilsonecb80982017-07-12 20:34:511807const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1808const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581809 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401810 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431811 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341812 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541813 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511814const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531815const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461816const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581817const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401818const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431819const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341820
Brett Wilsonecb80982017-07-12 20:34:511821const char kThreadedScrollingName[] = "Threaded scrolling";
1822const char kThreadedScrollingDescription[] =
1823 "Threaded handling of scroll-related input events. Disabling this will "
1824 "force all such scroll events to be handled on the main thread. Note that "
1825 "this can dramatically hurt scrolling performance of most websites and is "
1826 "intended for testing purposes only.";
1827
Steven Valdez4584b2482017-07-14 01:11:571828const char kTLS13VariantName[] = "TLS 1.3";
1829const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1830const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111831const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041832const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381833const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571834
Brett Wilsonecb80982017-07-12 20:34:511835const char kTopDocumentIsolationName[] = "Top document isolation";
1836const char kTopDocumentIsolationDescription[] =
1837 "Highly experimental performance mode where cross-site iframes are kept in "
1838 "a separate process from the top document. In this mode, iframes from "
1839 "different third-party sites will be allowed to share a process.";
1840
Dominick Ng8896b1cd2017-10-17 23:24:361841const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1842const char kTopSitesFromSiteEngagementDescription[] =
1843 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1844 "engagement.";
1845
Brett Wilsonecb80982017-07-12 20:34:511846const char kTouchAdjustmentName[] = "Touch adjustment";
1847const char kTouchAdjustmentDescription[] =
1848 "Refine the position of a touch gesture in order to compensate for touches "
1849 "having poor resolution compared to a mouse.";
1850
Alex Newcomerb3d3c972018-05-03 14:59:401851const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1852const char kTouchableAppContextMenuDescription[] =
1853 "Enable the touchable app context menu, which enlarges app context menus "
1854 "in the Launcher and Shelf to make room for new features.";
1855
Brett Wilsonecb80982017-07-12 20:34:511856const char kTouchDragDropName[] = "Touch initiated drag and drop";
1857const char kTouchDragDropDescription[] =
1858 "Touch drag and drop can be initiated through long press on a draggable "
1859 "element.";
1860
1861const char kTouchEventsName[] = "Touch Events API";
1862const char kTouchEventsDescription[] =
1863 "Force Touch Events API feature detection to always be enabled or "
1864 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291865 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511866
1867const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1868const char kTouchSelectionStrategyDescription[] =
1869 "Controls how text selection granularity changes when touch text selection "
1870 "handles are dragged. Non-default behavior is experimental.";
1871const char kTouchSelectionStrategyCharacter[] = "Character";
1872const char kTouchSelectionStrategyDirection[] = "Direction";
1873
1874const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1875const char kTraceUploadUrlDescription[] =
1876 "This is to be used in conjunction with the enable-navigation-tracing "
1877 "flag. Please select the label that best describes the recorded traces. "
1878 "This will choose the destination the traces are uploaded to. If you are "
1879 "not sure, select other. If left empty, no traces will be uploaded.";
1880const char kTraceUploadUrlChoiceOther[] = "Other";
1881const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1882const char kTraceUploadUrlChoiceQa[] = "QA";
1883const char kTraceUploadUrlChoiceTesting[] = "Testing";
1884
Anthony Vallee-Dubois265c5692018-06-01 15:57:141885const char kTranslateForceTriggerOnEnglishName[] =
1886 "Select which language model to use to trigger translate on English "
1887 "content";
1888const char kTranslateForceTriggerOnEnglishDescription[] =
1889 "Force the Translate Triggering on English pages experiment to be enabled "
1890 "with the selected language model active.";
1891
Philippe Hamel7fdaa452017-09-29 17:22:491892const char kTranslateRankerEnforcementName[] =
1893 "Enforce TranslateRanker decisions";
1894const char kTranslateRankerEnforcementDescription[] =
1895 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1896 "or not Translate UI should be triggered in a given context.";
1897
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161898const char kTranslateUIName[] = "Enable Translate";
1899const char kTranslateUIDescription[] =
1900 "Enable the Translate popup when visiting webpages in other languages.";
1901
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051902const char kTreatInsecureOriginAsSecureName[] =
1903 "Insecure origins treated as secure";
1904const char kTreatInsecureOriginAsSecureDescription[] =
1905 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1906 "supplied as a comma-separated list. For the definition of secure "
1907 "contexts, "
1908 "see https://w3c.github.io/webappsec-secure-contexts/";
1909
Brett Wilsonecb80982017-07-12 20:34:511910const char kTrySupportedChannelLayoutsName[] =
1911 "Causes audio output streams to check if channel layouts other than the "
1912 "default hardware layout are available.";
1913const char kTrySupportedChannelLayoutsDescription[] =
1914 "Causes audio output streams to check if channel layouts other than the "
1915 "default hardware layout are available. Turning this on will allow the OS "
1916 "to do stereo to surround expansion if supported. May expose third party "
1917 "driver bugs, use with caution.";
1918
David Roger6762a092018-01-31 15:55:071919const char kUnifiedConsentName[] = "Unified Consent";
1920const char kUnifiedConsentDescription[] =
1921 "Enables a unified management of user consent for privacy-related "
1922 "features. This includes new confirmation screens and improved settings "
1923 "pages.";
1924
Jérôme Lebelfe1b2e02018-08-03 12:26:201925const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1926const char kForceUnifiedConsentBumpDescription[] =
1927 "Force the unified consent bump UI to be shown on every start-up. This "
1928 "flag is for debug purpose, to test the UI.";
1929
Brett Wilsonecb80982017-07-12 20:34:511930const char kUiPartialSwapName[] = "Partial swap";
1931const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1932
Chris Pickel3a227ae62017-08-24 10:47:261933const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1934const char kUseDdljsonApiDescription[] =
1935 "Enables the new ddljson API to fetch Doodles for the NTP.";
1936
Becca Hughes59c05b42017-11-03 13:11:581937const char kUseModernMediaControlsName[] = "New Media Controls";
1938const char kUseModernMediaControlsDescription[] =
1939 "Enables the new style native media controls.";
1940
Wei Li790e7a8572018-03-23 01:31:551941const char kUsePdfCompositorServiceName[] =
1942 "Use PDF compositor service for printing";
1943const char kUsePdfCompositorServiceDescription[] =
1944 "When enabled, use PDF compositor service to composite and generate PDF "
1945 "files for printing. When site isolation is enabled, disabling this will "
1946 "not stop using PDF compositor service since the service is required for "
1947 "printing out-of-process iframes correctly.";
1948
Mustaq Ahmedc646c0a2017-10-20 20:08:301949const char kUserActivationV2Name[] = "User Activation v2";
1950const char kUserActivationV2Description[] =
1951 "Enable simple user activation for APIs that are otherwise controlled by "
1952 "user gesture tokens.";
1953
Brett Wilsonecb80982017-07-12 20:34:511954const char kUserConsentForExtensionScriptsName[] =
1955 "User consent for extension scripts";
1956const char kUserConsentForExtensionScriptsDescription[] =
1957 "Require user consent for an extension running a script on the page, if "
1958 "the extension requested permission to run on all urls.";
1959
1960const char kUseSuggestionsEvenIfFewFeatureName[] =
1961 "Disable minimum for server-side tile suggestions on NTP.";
1962const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1963 "Request server-side suggestions even if there are only very few of them "
1964 "and use them for tiles on the New Tab Page.";
1965
1966const char kV8CacheOptionsName[] = "V8 caching mode.";
1967const char kV8CacheOptionsDescription[] =
1968 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511969const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1970
Hitoshi Yoshida3e5db562017-09-11 02:31:081971const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1972const char kV8ContextSnapshotDescription[] =
1973 "Sets to use a snapshot to create V8 contexts in frame creation.";
1974
Michael Hablich896d52662017-10-23 15:59:571975const char kV8VmFutureName[] = "Future V8 VM features";
1976const char kV8VmFutureDescription[] =
1977 "This enables upcoming and experimental V8 VM features. "
1978 "This flag does not enable experimental JavaScript features.";
1979
Hannes Payer1130d5672018-06-05 07:37:311980const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
1981const char kV8OrinocoDescription[] =
1982 "This enables the V8 Orinoco garbage collection features.";
1983
Brett Wilsonecb80982017-07-12 20:34:511984const char kVideoFullscreenOrientationLockName[] =
1985 "Lock screen orientation when playing a video fullscreen.";
1986const char kVideoFullscreenOrientationLockDescription[] =
1987 "Lock the screen orientation of the device to match video orientation when "
1988 "a video goes fullscreen. Only on phones.";
1989
1990const char kVideoRotateToFullscreenName[] =
1991 "Rotate-to-fullscreen gesture for videos.";
1992const char kVideoRotateToFullscreenDescription[] =
1993 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1994 "the video. Only on phones.";
1995
Elly Fong-Jonesf4c79502018-03-23 19:21:531996const char kViewsBrowserWindowsName[] =
1997 "Use Views browser windows instead of Cocoa.";
1998const char kViewsBrowserWindowsDescription[] =
1999 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
2000
Brett Wilsonecb80982017-07-12 20:34:512001const char kWalletServiceUseSandboxName[] =
2002 "Use Google Payments sandbox servers";
2003const char kWalletServiceUseSandboxDescription[] =
2004 "For developers: use the sandbox service for Google Payments API calls.";
2005
Brett Wilsonecb80982017-07-12 20:34:512006const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2007const char kWebglDraftExtensionsDescription[] =
2008 "Enabling this option allows web applications to access the WebGL "
2009 "Extensions that are still in draft status.";
2010
2011const char kWebMidiName[] = "Web MIDI API";
2012const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2013
2014const char kWebPaymentsName[] = "Web Payments";
2015const char kWebPaymentsDescription[] =
2016 "Enable Web Payments API integration, a JavaScript API for merchants.";
2017
Mathieu Perreault51339b82017-07-20 17:06:052018const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2019const char kWebPaymentsModifiersDescription[] =
2020 "If the website provides modifiers in the payment request, show the custom "
2021 "total for each payment instrument, update the shopping cart when "
2022 "instruments are switched, and send modified payment method specific data "
2023 "to the payment app.";
2024
Brett Wilsonecb80982017-07-12 20:34:512025const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2026const char kWebrtcEchoCanceller3Description[] =
2027 "Experimental WebRTC echo canceller (AEC3).";
2028
2029const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2030const char kWebrtcHwDecodingDescription[] =
2031 "Support in WebRTC for decoding video streams using platform hardware.";
2032
2033const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2034const char kWebrtcHwEncodingDescription[] =
2035 "Support in WebRTC for encoding video streams using platform hardware.";
2036
2037const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2038const char kWebrtcHwH264EncodingDescription[] =
2039 "Support in WebRTC for encoding h264 video streams using platform "
2040 "hardware.";
2041
2042const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2043const char kWebrtcHwVP8EncodingDescription[] =
2044 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2045
Niels Möller090866a2018-02-13 10:55:032046const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2047 "WebRTC new encode cpu load estimator";
2048const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2049 "Enable new estimator for the encoder cpu load, for evaluation and "
2050 "testing. Intended to improve accuracy when screen casting.";
2051
Elad Alon85e0d0be2018-06-26 10:38:372052const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2053const char kWebRtcRemoteEventLogDescription[] =
2054 "Allow collecting WebRTC event logs and uploading them to Crash. "
2055 "Please note that, even if enabled, this will still require "
2056 "a policy to be set, for it to have an effect.";
2057
Brett Wilsonecb80982017-07-12 20:34:512058const char kWebrtcSrtpAesGcmName[] =
2059 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2060const char kWebrtcSrtpAesGcmDescription[] =
2061 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2062
Joachim Bauch4a41d7512017-08-23 14:24:232063const char kWebrtcSrtpEncryptedHeadersName[] =
2064 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2065const char kWebrtcSrtpEncryptedHeadersDescription[] =
2066 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2067 "for SRTP.";
2068
Brett Wilsonecb80982017-07-12 20:34:512069const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2070const char kWebrtcStunOriginDescription[] =
2071 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2072 "header.";
2073
Adam Riceed63fc02018-06-20 05:57:462074const char kWebSocketHandshakeReuseConnectionName[] =
2075 "Enable WebSocket connection reuse for authentication";
2076const char kWebSocketHandshakeReuseConnectionDescription[] =
2077 "Permits the WebSocket handshake to keep the connection open after an "
2078 "authentication failure. The connection may be used for further requests "
2079 "to send credentials. This is sometimes needed for Windows authentication.";
2080
Brett Wilsonecb80982017-07-12 20:34:512081const char kWebvrName[] = "WebVR";
2082const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012083 "Enables access to experimental Virtual Reality functionality via the "
2084 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2085 "Device API. Warning: Enabling this will also allow WebVR content on "
2086 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222087 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512088
Brandon Jonese9d9b2b2017-12-11 22:20:112089const char kWebXrName[] = "WebXR Device API";
2090const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012091 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2092 "and Augmented Reality (AR) devices.";
2093
2094const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2095const char kWebXrGamepadSupportDescription[] =
2096 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222097 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2098 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432099
2100const char kWebXrHitTestName[] = "WebXR Hit Test";
2101const char kWebXrHitTestDescription[] =
2102 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112103
Anna Maria57ecf7592018-01-12 03:10:402104const char kWebXrOrientationSensorDeviceName[] =
2105 "WebXR orientation sensor device";
2106const char kWebXrOrientationSensorDeviceDescription[] =
2107 "When no VR platform device is available, expose a non-presenting device "
2108 "based on the device's orientation sensors, if available.";
2109
Brett Wilsonecb80982017-07-12 20:34:512110const char kWifiCredentialSyncName[] = "WiFi credential sync";
2111const char kWifiCredentialSyncDescription[] =
2112 "Enables synchronizing WiFi network settings across devices. When enabled, "
2113 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2114 "credentials are synchronized subject to user preferences. (See also, "
2115 "chrome://settings/syncSetup.)";
2116
2117const char kZeroCopyName[] = "Zero-copy rasterizer";
2118const char kZeroCopyDescription[] =
2119 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342120
Brett Wilsonff596952017-07-14 01:06:552121// Android ---------------------------------------------------------------------
2122
2123#if defined(OS_ANDROID)
2124
2125const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2126const char kAiaFetchingDescription[] =
2127 "Enable intermediate certificate fetching when a server does not provide "
2128 "sufficient certificates to build a chain to a trusted root.";
2129
2130const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2131const char kAccessibilityTabSwitcherDescription[] =
2132 "Enable the accessibility tab switcher for Android.";
2133
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:252134const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
2135const char kAllowReaderForAccessibilityDescription[] =
2136 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
2137
Brett Wilsonff596952017-07-14 01:06:552138const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2139const char kAndroidAutofillAccessibilityDescription[] =
2140 "Enable accessibility for autofill popup.";
2141
Anita Woodruffbfcd1e52018-07-16 12:00:512142const char kAppNotificationStatusMessagingName[] =
2143 "App notification status messaging";
2144const char kAppNotificationStatusMessagingDescription[] =
2145 "Enables messaging in site permissions UI informing user when "
2146 "notifications are disabled for the entire app.";
2147
Brett Wilsonff596952017-07-14 01:06:552148const char kAndroidPaymentAppsName[] = "Android payment apps";
2149const char kAndroidPaymentAppsDescription[] =
2150 "Enable third party Android apps to integrate as payment apps";
2151
Miriam Gershenson8cf1397222018-01-23 22:48:292152const char kAsyncDnsName[] = "Async DNS resolver";
2153const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2154
Brett Wilsonff596952017-07-14 01:06:552155const char kAutofillAccessoryViewName[] =
2156 "Autofill suggestions as keyboard accessory view";
2157const char kAutofillAccessoryViewDescription[] =
2158 "Shows Autofill suggestions on top of the keyboard rather than in a "
2159 "dropdown.";
2160
2161const char kBackgroundLoaderForDownloadsName[] =
2162 "Enables background downloading of pages.";
2163const char kBackgroundLoaderForDownloadsDescription[] =
2164 "Enables downloading pages in the background in case page is not yet "
2165 "loaded in current tab.";
2166
Tibor Goldschwendt11b3cf22018-07-04 15:32:442167const char kBackgroundTaskComponentUpdateName[] =
2168 "Background Task Component Updates";
2169const char kBackgroundTaskComponentUpdateDescription[] =
2170 "Schedule component updates with BackgroundTaskScheduler";
2171
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002172const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2173const char kCCTModuleDescription[] =
2174 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2175
Matthew Jones1abcb132018-07-09 17:59:462176const char kChromeDuetName[] = "Chrome Duet";
2177const char kChromeDuetDescription[] =
2178 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052179
Brett Wilsonff596952017-07-14 01:06:552180const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2181const char kChromeHomeSwipeLogicDescription[] =
2182 "Various swipe logic options for Chrome Home for sheet expansion.";
2183const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152184const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552185
Theresa8e44a7132018-06-15 17:40:592186const char kChromeModernAlternateCardLayoutName[] =
2187 "Chrome Modern Alternate Card Layout";
2188const char kChromeModernAlternateCardLayoutDescription[] =
2189 "Enable the alternate card layout for Chrome Modern Design.";
2190
Matthew Jones5b7f1d62018-01-23 00:37:252191const char kChromeModernDesignName[] = "Chrome Modern Design";
2192const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452193 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2194 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252195
Donn Denman3e78c8d2018-06-28 22:51:422196const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2197const char kChromeModernFullRollDescription[] =
2198 "Enable modern full-roll animation for Chrome.";
2199
Megan Jablonskic61eb1b82017-10-02 18:03:062200const char kChromeMemexName[] = "Chrome Memex";
2201const char kChromeMemexDescription[] =
2202 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2203 "Googlers.";
2204
Sarath Singapati83aef1c2017-11-16 15:54:522205const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2206const char kClearOldBrowsingDataDescription[] =
2207 "Enables clearing of browsing data which is older than a given time "
2208 "period.";
2209
Brett Wilsonff596952017-07-14 01:06:552210const char kContentSuggestionsCategoryOrderName[] =
2211 "Default content suggestions category order (e.g. on NTP)";
2212const char kContentSuggestionsCategoryOrderDescription[] =
2213 "Set default order of content suggestion categories (e.g. on the NTP).";
2214
2215const char kContentSuggestionsCategoryRankerName[] =
2216 "Content suggestions category ranker (e.g. on NTP)";
2217const char kContentSuggestionsCategoryRankerDescription[] =
2218 "Set category ranker to order categories of content suggestions (e.g. on "
2219 "the NTP).";
2220
Vitalii Iarkof52ff802017-09-14 12:34:242221const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2222const char kContentSuggestionsDebugLogDescription[] =
2223 "Enable content suggestions debug log accessible through "
2224 "snippets-internals.";
2225
Donn Denman8e58ead2017-11-04 01:44:012226const char kContextualSearchMlTapSuppressionName[] =
2227 "Contextual Search ML tap suppression";
2228const char kContextualSearchMlTapSuppressionDescription[] =
2229 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022230 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2231 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552232
2233const char kContextualSearchName[] = "Contextual Search";
2234const char kContextualSearchDescription[] =
2235 "Whether or not Contextual Search is enabled.";
2236
Donn Denman59729812018-01-09 01:27:022237const char kContextualSearchRankerQueryName[] =
2238 "Contextual Search Ranker prediction";
2239const char kContextualSearchRankerQueryDescription[] =
2240 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2241
2242const char kContextualSearchSecondTapName[] =
2243 "Contextual Search second tap triggering";
2244const char kContextualSearchSecondTapDescription[] =
2245 "Enables triggering on a second tap gesture even when Ranker would "
2246 "normally suppress that tap.";
2247
Donn Denmane9b5b7fb2018-07-24 22:19:492248const char kContextualSearchUnityIntegrationName[] =
2249 "Contextual Search integration with Unified Consent";
2250const char kContextualSearchUnityIntegrationDescription[] =
2251 "Enables integration of Tap to Search with Unified Consent.";
2252
Cathy Li2fb32bf82018-06-06 18:55:402253const char kExploreSitesName[] = "Explore websites";
2254const char kExploreSitesDescription[] =
2255 "Enables portal from new tab page to explore websites.";
2256
Dmitry Skiba9c3efa72017-07-20 22:01:142257const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2258const char kDontPrefetchLibrariesDescription[] =
2259 "Don't prefetch libraries after loading.";
2260
Joy Ming5fd29ca62017-10-02 22:51:222261const char kDownloadsForegroundName[] = "Enable downloads foreground";
2262const char kDownloadsForegroundDescription[] =
2263 "Enable downloads as a foreground service for all versions of Android.";
2264
Joy Ming189b0cc2017-12-08 19:42:432265const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2266const char kDownloadsLocationChangeDescription[] =
2267 "Enable changing default downloads storage location on Android.";
2268
Shakti Sahu32b2ee102018-05-17 00:04:462269const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2270const char kDownloadProgressInfoBarDescription[] =
2271 "Enables an infobar notifying users about status of current downloads.";
2272
Shakti Sahu9ec8cfd2018-07-17 13:29:292273const char kDownloadHomeV2Name[] = "Enable download home v2";
2274const char kDownloadHomeV2Description[] =
2275 "Enables the new UI for download home";
2276
Brett Wilsonff596952017-07-14 01:06:552277const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2278const char kEnableAndroidPayIntegrationV1Description[] =
2279 "Enable integration with Android Pay using the first version of the API";
2280
2281const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2282const char kEnableAndroidPayIntegrationV2Description[] =
2283 "Enable integration with Android Pay using the second version of the API";
2284
Vitalii Iarkof4ed32d2017-09-26 13:15:532285const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552286const char kEnableAndroidSpellcheckerDescription[] =
2287 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552288
Lei Tianbd5a3bf2018-02-28 19:01:162289const char kEnableCommandLineOnNonRootedName[] =
2290 "Enable command line on non-rooted devices";
2291const char kEnableCommandLineOnNoRootedDescription[] =
2292 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2293
Vitalii Iarkof4ed32d2017-09-26 13:15:532294const char kEnableContentSuggestionsNewFaviconServerName[] =
2295 "Get favicons for content suggestions from a new server.";
2296const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2297 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2298 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552299
2300const char kEnableContentSuggestionsSettingsName[] =
2301 "Show content suggestions settings.";
2302const char kEnableContentSuggestionsSettingsDescription[] =
2303 "If enabled, the content suggestions settings will be available from the "
2304 "main settings menu.";
2305
Vitalii Iarkof4ed32d2017-09-26 13:15:532306const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2307 "Use content suggestions thumbnail dominant color.";
2308const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2309 "Use content suggestions thumbnail dominant color as a placeholder before "
2310 "the real thumbnail is fetched (requires Chrome Home).";
2311
Brett Wilsonff596952017-07-14 01:06:552312const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2313const char kEnableCustomContextMenuDescription[] =
2314 "Enables a new context menu when a link, image, or video is pressed within "
2315 "Chrome.";
2316
2317const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2318const char kEnableCustomFeedbackUiDescription[] =
2319 "Enables a custom feedback UI when submitting feedback through Google "
2320 "Feedback. Works with Google Play Services v10.2+";
2321
2322const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472323 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552324const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472325 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552326
Becca Hughes6d73bac542018-06-18 20:38:502327const char kEnableMediaControlsExpandGestureName[] =
2328 "Enable Media Controls Expand Gesture";
2329const char kEnableMediaControlsExpandGestureDescription[] =
2330 "Enables a gesture to be used on the media controls to extend the video "
2331 "into the Display Cutout area.";
2332
Brett Wilsonff596952017-07-14 01:06:552333const char kEnableOmniboxClipboardProviderName[] =
2334 "Omnibox clipboard URL suggestions";
2335const char kEnableOmniboxClipboardProviderDescription[] =
2336 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2337 "focus in the omnibox.";
2338
Becky Zhoua7f11d62018-02-01 16:02:532339const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2340 "Show article suggestions expandable header on New Tab Page";
2341const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2342 "If enabled, the article suggestions content on New Tab Page can be "
2343 "toggled shown or hidden by clicking the expandable header.";
2344
Brett Wilsonff596952017-07-14 01:06:552345const char kEnableNtpAssetDownloadSuggestionsName[] =
2346 "Show asset downloads on the New Tab page";
2347const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2348 "If enabled, the list of content suggestions on the New Tab page will "
2349 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2350 "later use.";
2351
2352const char kEnableNtpBookmarkSuggestionsName[] =
2353 "Show recently visited bookmarks on the New Tab page";
2354const char kEnableNtpBookmarkSuggestionsDescription[] =
2355 "If enabled, the list of content suggestions on the New Tab page will "
2356 "contain recently visited bookmarks.";
2357
2358const char kEnableNtpForeignSessionsSuggestionsName[] =
2359 "Show recent foreign tabs on the New Tab page";
2360const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2361 "If enabled, the list of content suggestions on the New Tab page will "
2362 "contain recent foreign tabs.";
2363
Brett Wilsonff596952017-07-14 01:06:552364const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2365 "Show offline page downloads on the New Tab page";
2366const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2367 "If enabled, the list of content suggestions on the New Tab page will "
2368 "contain pages that the user downloaded for later use.";
2369
2370const char kEnableNtpRemoteSuggestionsName[] =
2371 "Show server-side suggestions on the New Tab page";
2372const char kEnableNtpRemoteSuggestionsDescription[] =
2373 "If enabled, the list of content suggestions on the New Tab page will "
2374 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2375 "allows to override the source used to retrieve these server-side "
2376 "suggestions.";
2377
2378const char kEnableNtpSnippetsVisibilityName[] =
2379 "Make New Tab Page Snippets more visible.";
2380const char kEnableNtpSnippetsVisibilityDescription[] =
2381 "If enabled, the NTP snippets will become more discoverable with a larger "
2382 "portion of the first card above the fold.";
2383
2384const char kEnableNtpSuggestionsNotificationsName[] =
2385 "Notify about new content suggestions available at the New Tab page";
2386const char kEnableNtpSuggestionsNotificationsDescription[] =
2387 "If enabled, notifications will inform about new content suggestions on "
2388 "the New Tab page.";
2389
Brett Wilsonff596952017-07-14 01:06:552390const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2391const char kEnableOfflinePreviewsDescription[] =
2392 "Enable showing offline page previews on slow networks.";
2393
2394const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2395const char kEnableOskOverscrollDescription[] =
2396 "Enable OSK overscroll support. With this flag on, the OSK will only "
2397 "resize the visual viewport.";
2398
2399const char kEnableSpecialLocaleName[] =
2400 "Enable custom logic for special locales.";
2401const char kEnableSpecialLocaleDescription[] =
2402 "Enable custom logic for special locales. In this mode, Chrome might "
2403 "behave differently in some locales.";
2404
Brett Wilsonff596952017-07-14 01:06:552405const char kEnableWebNfcName[] = "WebNFC";
2406const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2407
gogeraldf3cbb422017-07-26 14:37:122408const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2409 "Enable Web Payments method section order V2.";
2410const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2411 "Enable this option to display payment method section above address "
2412 "section instead of below it.";
2413
Raymes Khoury582b43132017-12-12 23:54:302414const char kGrantNotificationsToDSEName[] =
2415 "Grant notifications to the Default Search Engine";
2416const char kGrantNotificationsToDSENameDescription[] =
2417 "Automatically grant the notifications permission to the Default Search "
2418 "Engine";
2419
Daniel Parke74fcf862018-03-27 18:05:452420const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512421const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452422
Yafei Duanbb7663f32018-07-17 01:33:152423const char kHomepageTileName[] =
2424 "Enable Homepage tile shown in Suggested Tiles";
2425const char kHomepageTileDescription[] =
2426 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2427 "used for homepage. It will not have an effect when NTPButton is disabled.";
2428
Jian Li4b252642018-07-23 19:49:072429const char kIncognitoStringsName[] = "Alternate incognito strings";
2430const char kIncognitoStringsDescription[] =
2431 "Show alternate incognito strings if enabled.";
2432
Theresa920e0ed2018-03-07 18:12:442433const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152434 "Use the interest feed to render content suggestions. Currently "
2435 "content "
Theresa920e0ed2018-03-07 18:12:442436 "suggestions are shown on the New Tab Page.";
2437const char kInterestFeedContentSuggestionsName[] =
2438 "Interest Feed Content Suggestions";
2439
Brett Wilsonff596952017-07-14 01:06:552440const char kKeepPrefetchedContentSuggestionsName[] =
2441 "Keep prefetched content suggestions";
2442const char kKeepPrefetchedContentSuggestionsDescription[] =
2443 "If enabled, some of prefetched content suggestions are not replaced by "
2444 "the new fetched suggestions.";
2445
Leo Zhang051b75482017-12-20 03:28:302446const char kLanguagesPreferenceName[] = "Language Settings";
2447const char kLanguagesPreferenceDescription[] =
2448 "Enable this option for Language Settings feature on Android.";
2449
Charlie Ma8c2846e2018-07-27 18:44:392450const char kLongPressBackForHistoryName[] =
2451 "Long Press Back Button for History";
2452const char kLongPressBackForHistoryDescription[] =
2453 "Long press system back button to show navigation history if enabled";
2454
Charlie Ma85b22bdb2018-08-01 03:50:452455const char kLongPressBackNewDesignName[] = "Long Press Back New Design";
2456const char kLongPressBackNewDesignDescription[] =
2457 "Long press system back button to show material design refreshed navigation"
2458 " popup if enabled";
2459
Brett Wilsonff596952017-07-14 01:06:552460const char kLsdPermissionPromptName[] =
2461 "Location Settings Dialog Permission Prompt";
2462const char kLsdPermissionPromptDescription[] =
2463 "Whether to use the Google Play Services Location Settings Dialog "
2464 "permission dialog.";
2465
Amirhossein Simjour97b4154f2018-02-20 03:49:592466const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2467const char kModalPermissionDialogViewDescription[] =
2468 "Enable this option to use ModalDialogManager for permission Dialogs.";
2469
Brett Wilsonff596952017-07-14 01:06:552470const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2471const char kMediaScreenCaptureDescription[] =
2472 "Enable this option for experimental ScreenCapture feature on Android.";
2473
2474const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2475const char kModalPermissionPromptsDescription[] =
2476 "Whether to use permission dialogs in place of permission infobars.";
2477
Finnur Thorarinssonc1488fc62018-07-09 19:21:572478const char kNewContactsPickerName[] = "Enable new contacts picker";
2479const char kNewContactsPickerDescription[] =
2480 "Activates the new picker for selecting contacts.";
2481
Dan Harrington541db9e2018-07-30 18:36:302482const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2483const char kNewNetErrorPageUIDescription[] =
2484 "Selects which new UI experience to show on the net-error (Dino) page";
2485
Brett Wilsonff596952017-07-14 01:06:552486const char kNewPhotoPickerName[] = "Enable new Photopicker";
2487const char kNewPhotoPickerDescription[] =
2488 "Activates the new picker for selecting photos.";
2489
2490const char kNoCreditCardAbort[] = "No Credit Card Abort";
2491const char kNoCreditCardAbortDescription[] =
2492 "Whether or not the No Credit Card Abort is enabled.";
2493
Daniel Park990d0992018-05-18 22:12:512494const char kNtpButtonName[] = "Enable NTP Button";
2495const char kNtpButtonDescription[] =
2496 "Displays a New Tab Page button in the toolbar if enabled.";
2497
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062498const char kNtpModernLayoutName[] = "Modern NTP layout";
2499const char kNtpModernLayoutDescription[] =
2500 "Show a modern layout on the New Tab Page.";
2501
Brett Wilsonff596952017-07-14 01:06:552502const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2503const char kNtpGoogleGInOmniboxDescription[] =
2504 "Show a Google G in the omnibox on the New Tab Page.";
2505
Brett Wilsonff596952017-07-14 01:06:552506const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2507const char kOfflineBookmarksDescription[] =
2508 "Enable saving bookmarked pages for offline viewing.";
2509
Jian Li1413ebf2018-06-14 20:46:322510const char kOfflineIndicatorName[] = "Enable offline indicator";
2511const char kOfflineIndicatorDescription[] =
2512 "Enable showing offline indicator while offline.";
2513
Brett Wilsonff596952017-07-14 01:06:552514const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2515const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2516
2517const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2518const char kOfflinePagesCtV2Description[] =
2519 "V2 features include attributing pages to the app that initiated the "
2520 "custom tabs, and being able to query for pages by page attribution.";
2521
Cathy Li7311d792018-04-05 00:34:162522const char kOfflinePagesCTSuppressNotificationsName[] =
2523 "Disable download complete notification for whitelisted CCT apps.";
2524const char kOfflinePagesCTSuppressNotificationsDescription[] =
2525 "Disable download complete notification for page downloads originating "
2526 "from a CCT app whitelisted to show their own download complete "
2527 "notification.";
2528
Candice Sy74fa7a352018-03-30 23:46:492529const char kOfflinePagesDescriptiveFailStatusName[] =
2530 "Enables descriptive failed download status text.";
2531const char kOfflinePagesDescriptiveFailStatusDescription[] =
2532 "Enables failed download status text in notifications and Downloads Home "
2533 "to state the reason the request failed if the failure is actionable.";
2534
2535const char kOfflinePagesDescriptivePendingStatusName[] =
2536 "Enables descriptive pending download status text.";
2537const char kOfflinePagesDescriptivePendingStatusDescription[] =
2538 "Enables pending download status text in notifications and Downloads Home "
2539 "to state the reason the request is pending.";
2540
2541const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2542 "Enables offline pages in the downloads home to be opened in CCT.";
2543const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2544 "When enabled offline pages launched from the Downloads Home will be "
2545 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2546
Carlos Knippschild09272ecd2017-12-09 03:29:362547const char kOfflinePagesLimitlessPrefetchingName[] =
2548 "Removes resource usage limits for the prefetching of offline pages.";
2549const char kOfflinePagesLimitlessPrefetchingDescription[] =
2550 "Allows the prefetching of suggested offline pages to ignore resource "
2551 "usage limits. This allows it to completely ignore data usage limitations "
2552 "and allows downloads to happen with any kind of connection.";
2553
Brett Wilsonff596952017-07-14 01:06:552554const char kOfflinePagesLoadSignalCollectingName[] =
2555 "Enables collecting load timing data for offline page snapshots.";
2556const char kOfflinePagesLoadSignalCollectingDescription[] =
2557 "Enables loading completeness data collection while writing an offline "
2558 "page. This data is collected in the snapshotted offline page to allow "
2559 "data analysis to improve deciding when to make the offline snapshot.";
2560
2561const char kOfflinePagesPrefetchingName[] =
2562 "Enables suggested offline pages to be prefetched.";
2563const char kOfflinePagesPrefetchingDescription[] =
2564 "Enables suggested offline pages to be prefetched, so useful content is "
2565 "available while offline.";
2566
Pete Williamson7845dff2017-09-20 11:06:192567const char kOfflinePagesResourceBasedSnapshotName[] =
2568 "Enables offline page snapshots to be based on percentage of page loaded.";
2569const char kOfflinePagesResourceBasedSnapshotDescription[] =
2570 "Enables offline page snapshots to use a resource percentage based "
2571 "approach for determining when the page is loaded as opposed to a time "
2572 "based approach";
2573
Collin Baker17f92a52017-07-19 21:41:252574const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2575const char kOfflinePagesRenovationsDescription[] =
2576 "Enables offline page renovations which correct issues with dynamic "
2577 "content that occur when offlining pages that use JavaScript.";
2578
Brett Wilsonff596952017-07-14 01:06:552579const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2580const char kOfflinePagesSharingDescription[] =
2581 "Enables the saved offline pages to be shared via other applications.";
2582
Cathy Lie0d88762018-04-12 08:03:012583const char kOfflinePagesShowAlternateDinoPageName[] =
2584 "Enable alternate dino page with more user capabilities.";
2585const char kOfflinePagesShowAlternateDinoPageDescription[] =
2586 "Enables the dino page to show more buttons and offer existing offline "
2587 "content.";
2588
Brett Wilsonff596952017-07-14 01:06:552589const char kOfflinePagesSvelteConcurrentLoadingName[] =
2590 "Enables concurrent background loading on svelte.";
2591const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2592 "Enables concurrent background loading (or downloading) of pages on "
2593 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2594 "happen when the svelte device is idle.";
2595
2596const char kOffliningRecentPagesName[] =
2597 "Enable offlining of recently visited pages";
2598const char kOffliningRecentPagesDescription[] =
2599 "Enable storing recently visited pages locally for offline use. Requires "
2600 "Offline Pages to be enabled.";
2601
Lei Zhang2eca9082017-10-17 20:42:502602const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2603const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552604 "Enable Pay with Google integration into Web Payments with API version "
2605 "'1'.";
2606
Matthew Jonesa88b95852017-11-08 23:13:502607const char kProgressBarThrottleName[] = "Android progress update throttling.";
2608const char kProgressBarThrottleDescription[] =
2609 "Limit the maximum progress update to make progress appear smoother.";
2610
Brett Wilsonff596952017-07-14 01:06:552611const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2612const char kPullToRefreshEffectDescription[] =
2613 "Page reloads triggered by vertically overscrolling content.";
2614
Piotr Swigon7c296ef2017-08-29 04:32:002615const char kPwaImprovedSplashScreenName[] =
2616 "Improved Splash Screen for standalone PWAs";
2617const char kPwaImprovedSplashScreenDescription[] =
2618 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2619 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492620const char kPwaPersistentNotificationName[] =
2621 "Persistent notification in standalone PWA";
2622const char kPwaPersistentNotificationDescription[] =
2623 "Enables a persistent Android notification for standalone PWAs";
2624
Brett Wilsonff596952017-07-14 01:06:552625const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2626const char kReaderModeHeuristicsDescription[] =
2627 "Determines what pages the Reader Mode infobar is shown on.";
2628const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2629const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2630const char kReaderModeHeuristicsAllArticles[] = "All articles";
2631const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2632const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2633
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182634const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2635const char kReaderModeInCCTDescription[] =
2636 "Open Reader Mode in Chrome Custom Tabs.";
2637
Brett Wilsonff596952017-07-14 01:06:552638const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2639const char kSetMarketUrlForTestingDescription[] =
2640 "When enabled, sets the market URL for use in testing the update menu "
2641 "item.";
2642
2643const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2644const char kSpannableInlineAutocompleteDescription[] =
2645 "A new type of inline autocomplete for the omnibox that works with "
2646 "keyboards that compose text.";
2647
Theresaeea05a12018-05-09 21:01:592648const char kSimplifiedNtpName[] = "Simplified NTP";
2649const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2650
2651const char kSiteExplorationUiName[] = "Site Exploration UI";
2652const char kSiteExplorationUiDescription[] =
2653 "Show site suggestions in the Exploration UI";
2654
Brett Wilsonff596952017-07-14 01:06:552655const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2656const char kUpdateMenuBadgeDescription[] =
2657 "When enabled, an update badge will be shown on the app menu button.";
2658
2659const char kUpdateMenuItemCustomSummaryDescription[] =
2660 "When this flag and the force show update menu item flag are enabled, a "
2661 "custom summary string will be displayed below the update menu item.";
2662const char kUpdateMenuItemCustomSummaryName[] =
2663 "Update menu item custom summary";
2664
2665const char kUpdateMenuItemName[] = "Force show update menu item";
2666const char kUpdateMenuItemDescription[] =
2667 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2668 R"*(menu.)*";
2669
Amirhossein Simjourd78bbcf2018-02-02 16:23:392670const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2671const char kVrBrowsingNativeAndroidUiDescription[] =
2672 "Enable Android UI elements in VR.";
2673
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462674const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2675const char kVrBrowsingTabsViewDescription[] =
2676 "Enable tab overview (tab switcher) in VR.";
2677
Marc Treib93af46a2017-08-23 13:30:002678const char kThirdPartyDoodlesName[] =
2679 "Enable Doodles for third-party search engines";
2680const char kThirdPartyDoodlesDescription[] =
2681 "Enables fetching and displaying Doodles on the NTP for third-party search "
2682 "engines.";
2683
Klaus Weidneraaf697f2018-01-18 20:07:362684const char kWebXrRenderPathName[] = "WebXR presentation render path";
2685const char kWebXrRenderPathDescription[] =
2686 "Render path to use for WebXR presentation (including WebVR)";
2687const char kWebXrRenderPathChoiceClientWaitDescription[] =
2688 "ClientWait (Baseline)";
2689const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2690 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072691const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2692 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362693
Brett Wilson7b44537e2017-08-18 01:38:282694// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552695
Brett Wilson7b44537e2017-08-18 01:38:282696#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482697
Brett Wilson7b44537e2017-08-18 01:38:282698const char kAccountConsistencyName[] =
2699 "Identity consistency between browser and cookie jar";
2700const char kAccountConsistencyDescription[] =
2701 "When enabled, the browser manages signing in and out of Google accounts.";
2702const char kAccountConsistencyChoiceMirror[] = "Mirror";
2703const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342704
Chris Pickel3a227ae62017-08-24 10:47:262705const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2706const char kDoodlesOnLocalNtpDescription[] =
2707 "Show doodles on the local New Tab page if Google is the default search "
2708 "engine.";
2709
mlamouriff56c092017-05-11 15:31:392710const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392711const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342712 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392713const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392714const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392715const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342716 "Enabled (Flash lowers volume when interrupted by other sound, "
2717 "experimental)";
2718
Sebastien Marchandd33f7dc2018-06-22 22:07:062719const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2720const char kInfiniteSessionRestoreDescription[] =
2721 "Reduces the number of tabs being loaded simultaneously during session "
2722 "restore, to improve responsiveness of the foreground tab. This requires "
2723 "#enable-page-almost-idle.";
2724
Brett Wilson7b44537e2017-08-18 01:38:282725const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2726const char kEnableNewAppMenuIconDescription[] =
2727 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342728
Sebastien Marchandd33f7dc2018-06-22 22:07:062729const char kEnableWebAuthenticationCtap2SupportName[] =
2730 "Enable Web Authentication API support for CTAP2 security keys";
2731const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472732 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062733
2734const char kEnableWebAuthenticationTestingAPIName[] =
2735 "Web Authentication Testing API";
2736const char kEnableWebAuthenticationTestingAPIDescription[] =
2737 "Enable Web Authentication Testing API support, which disconnects the API "
2738 "implementation from the real world, and allows configuring virtual "
2739 "authenticator devices for testing";
2740
Dave Schuyler598a4a42018-01-04 02:15:102741const char kOmniboxRichEntitySuggestionsName[] =
2742 "Omnibox rich entity suggestions";
2743const char kOmniboxRichEntitySuggestionsDescription[] =
2744 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212745 "more context and descriptive text about the entity. Has no effect unless "
2746 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2747 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102748
Dave Schuyler616273d2018-04-19 03:12:522749const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2750const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212751 "Display answers using an enhanced layout with larger images. Has no "
2752 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2753 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522754
Orin Jaworski04c08b42018-07-11 02:39:562755const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2756const char kOmniboxReverseAnswersDescription[] =
2757 "Display answers with rows reversed (swapped); except definitions. Has no "
2758 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2759 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2760
Kevin Bailey898669972017-11-06 15:34:492761const char kOmniboxTabSwitchSuggestionsName[] =
2762 "Omnibox tab switch suggestions";
2763const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212764 "Enable suggestions for switching to open tabs within the Omnibox. "
2765 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2766 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492767
krbcc621412017-06-01 19:40:282768const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2769const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192770 "Enable receiving tail suggestions, a type of search suggestion based on "
2771 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342772
Brett Wilson7b44537e2017-08-18 01:38:282773const char kOneGoogleBarOnLocalNtpName[] =
2774 "Enable the OneGoogleBar on the local NTP";
2775const char kOneGoogleBarOnLocalNtpDescription[] =
2776 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2777 "search engine.";
2778
Sebastien Marchandd33f7dc2018-06-22 22:07:062779const char kPageAlmostIdleName[] = "Page Almost Idle";
2780const char kPageAlmostIdleDescription[] =
2781 "Make session restore use a definition of loading that waits for CPU and "
2782 "network quiescence.";
2783
2784const char kProactiveTabFreezeAndDiscardName[] =
2785 "Proactive Tab Freeze and Discard";
2786const char kProactiveTabFreezeAndDiscardDescription[] =
2787 "Enables proactive tab freezing and discarding. This requires "
2788 "#enable-page-almost-idle.";
2789
2790const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2791const char kSiteCharacteristicsDatabaseDescription[] =
2792 "Records usage of some features in a database while a tab is in background "
2793 "(title/favicon update, audio playback or usage of non-persistent "
2794 "notifications).";
2795
Brett Wilson7b44537e2017-08-18 01:38:282796const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2797const char kUseGoogleLocalNtpDescription[] =
2798 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322799
Brett Wilson7b44537e2017-08-18 01:38:282800const char kVoiceSearchOnLocalNtpName[] =
2801 "Enable Voice Search on the local NTP";
2802const char kVoiceSearchOnLocalNtpDescription[] =
2803 "Show a microphone for voice search on the local New Tab page "
2804 "if Google is the default search engine.";
2805
2806#if defined(GOOGLE_CHROME_BUILD)
2807
2808const char kGoogleBrandedContextMenuName[] =
2809 "Google branding in the context menu";
2810const char kGoogleBrandedContextMenuDescription[] =
2811 "Shows a Google icon next to context menu items powered by Google "
2812 "services.";
2813
2814#endif // !defined(GOOGLE_CHROME_BUILD)
2815
2816#endif // !defined(OS_ANDROID)
2817
2818// Windows ---------------------------------------------------------------------
2819
2820#if defined(OS_WIN)
2821
2822const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2823const char kCloudPrintXpsDescription[] =
2824 "XPS enables advanced options for classic printers connected to the Cloud "
2825 "Print with Chrome. Printers must be re-connected after changing this "
2826 "flag.";
2827
2828const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2829const char kDisablePostscriptPrintingDescription[] =
2830 "Disables PostScript generation when printing to PostScript capable "
2831 "printers, and uses EMF generation in its place.";
2832
2833const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2834const char kEnableAppcontainerDescription[] =
2835 "Enables the use of an AppContainer on sandboxed processes to improve "
2836 "security.";
2837
Brett Wilson7b44537e2017-08-18 01:38:282838const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2839const char kEnableDesktopIosPromotionsDescription[] =
2840 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2841 "eligible.";
2842
James Forshawfd0ce342018-02-14 09:55:392843const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2844const char kEnableGpuAppcontainerDescription[] =
2845 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2846 "improve security.";
2847
Brett Wilson7b44537e2017-08-18 01:38:282848const char kGdiTextPrinting[] = "GDI Text Printing";
2849const char kGdiTextPrintingDescription[] =
2850 "Use GDI to print text as simply text";
2851
Henrik Grunell67e56ef2018-04-10 14:04:092852const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2853const char kIncreaseInputAudioBufferSizeDescription[] =
2854 "Increases the input audio endpoint buffer to 100 ms.";
2855
Brett Wilson7b44537e2017-08-18 01:38:282856const char kTraceExportEventsToEtwName[] =
2857 "Enable exporting of tracing events to ETW.";
2858const char kTraceExportEventsToEtwDesription[] =
2859 "If enabled, trace events will be exported to the Event Tracing for "
2860 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2861 "Xperf.";
2862
2863const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2864const char kUseWinrtMidiApiDescription[] =
2865 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2866 "later).";
2867
2868const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2869const char kWindows10CustomTitlebarDescription[] =
2870 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2871 "deferring to Windows.";
2872
2873#endif // defined(OS_WIN)
2874
2875// Mac -------------------------------------------------------------------------
2876
2877#if defined(OS_MACOSX)
2878
Brett Wilson7b44537e2017-08-18 01:38:282879const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2880const char kAppWindowCyclingDescription[] =
2881 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2882 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2883 "browser window, and browser windows will not be cycled when a Chrome App "
2884 "is active.";
2885
Brett Wilson7b44537e2017-08-18 01:38:282886const char kFullscreenToolbarRevealName[] =
2887 "Enables the toolbar in fullscreen to reveal itself.";
2888const char kFullscreenToolbarRevealDescription[] =
2889 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2890 "has changed.";
2891
2892const char kContentFullscreenName[] = "Improved Content Fullscreen";
2893const char kContentFullscreenDescription[] =
2894 "Fullscreen content window detaches from main browser window and goes to "
2895 "a new space without moving or changing the original browser window.";
2896
Lei Zhang2eca9082017-10-17 20:42:502897const char kDialogTouchBarName[] = "Dialog Touch Bar";
2898const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282899 "Shows Dialog buttons on the Touch Bar.";
2900
Martin Kreichgauer1ca416d2018-07-11 00:43:192901const char kEnableWebAuthenticationTouchIdName[] =
2902 "Web Authentication API Touch ID support";
2903const char kEnableWebAuthenticationTouchIdDescription[] =
2904 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2905
Brett Wilson7b44537e2017-08-18 01:38:282906const char kHostedAppsInWindowsName[] =
2907 "Allow hosted apps to be opened in windows";
2908const char kHostedAppsInWindowsDescription[] =
2909 "Allows hosted apps to be opened in windows instead of being limited to "
2910 "tabs.";
2911
Lei Zhang2eca9082017-10-17 20:42:502912const char kMacRTLName[] = "Enable RTL";
2913const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282914
Lei Zhang2eca9082017-10-17 20:42:502915const char kMacTouchBarName[] = "Hardware Touch Bar";
2916const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282917
2918const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2919const char kMacV2SandboxDescription[] =
2920 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2921 "entire life cycle.";
2922
2923const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2924const char kMacViewsNativeAppWindowsDescription[] =
2925 "Controls whether to use Toolkit-Views based Chrome App windows.";
2926
2927const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2928const char kMacViewsTaskManagerDescription[] =
2929 "Controls whether to use the Toolkit-Views based Task Manager.";
2930
Tessa Nijssenc4b101232018-06-25 20:28:082931const char kSuggestedTextTouchBarName[] = "Suggested Text Touch Bar";
2932const char kSuggestedTextTouchBarDescription[] =
2933 "Enable suggested text touch bar for textfields.";
2934
Brett Wilson7b44537e2017-08-18 01:38:282935const char kTabDetachingInFullscreenName[] =
2936 "Allow tab detaching in fullscreen";
2937const char kTabDetachingInFullscreenDescription[] =
2938 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2939
2940const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2941const char kTabStripKeyboardFocusDescription[] =
2942 "Enable keyboard focus for the tabs in the tab strip.";
2943
Brett Wilson7b44537e2017-08-18 01:38:282944#endif
2945
2946// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342947
2948#if defined(OS_CHROMEOS)
2949
Brett Wilson7b44537e2017-08-18 01:38:282950const char kAcceleratedMjpegDecodeName[] =
2951 "Hardware-accelerated mjpeg decode for captured frame";
2952const char kAcceleratedMjpegDecodeDescription[] =
2953 "Enable hardware-accelerated mjpeg decode for captured frame where "
2954 "available.";
vabr0215a8e2017-03-28 12:47:342955
Brett Wilson7b44537e2017-08-18 01:38:282956const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2957const char kAllowTouchpadThreeFingerClickDescription[] =
2958 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342959
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:522960const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
2961const char kArcAvailableForChildDescription[] =
2962 "Allow child accounts to start Android apps.";
2963
Brett Wilson7b44537e2017-08-18 01:38:282964const char kArcBootCompleted[] = "Load Android apps automatically";
2965const char kArcBootCompletedDescription[] =
2966 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342967
Luum Habtemariamdaa8fd22018-06-25 22:39:432968const char kArcCupsApiName[] = "ARC CUPS API";
2969const char kArcCupsApiDescription[] =
2970 "Enables support of libcups APIs from ARC";
2971
Yuichiro Hanada0b63f062018-07-12 02:18:332972const char kArcInputMethodName[] = "Enable ARC input methods.";
2973const char kArcInputMethodDescription[] = "Enable ARC input methods.";
2974
Lev Rumyantsev7a8544312017-08-18 19:26:512975const char kArcNativeBridgeExperimentName[] =
2976 "Enable native bridge experiment for ARC";
2977const char kArcNativeBridgeExperimentDescription[] =
2978 "Enables experimental native bridge feature.";
2979
lgchengecd1c1a62018-01-09 02:59:462980const char kArcUsbHostName[] = "Enable ARC USB host integration";
2981const char kArcUsbHostDescription[] =
2982 "Allow Android apps to use USB host feature on ChromeOS devices.";
2983
Kevin Cernekeeb7f96a52017-10-25 17:40:182984const char kArcVpnName[] = "Enable ARC VPN integration";
2985const char kArcVpnDescription[] =
2986 "Allow Android VPN clients to tunnel Chrome traffic.";
2987
Qiang Xu045aff222018-05-21 23:21:012988const char kAshDisableLoginDimAndBlurName[] =
2989 "Disable dimming and blur on login screen.";
2990const char kAshDisableLoginDimAndBlurDescription[] =
2991 "Disable dimming and blur on login screen.";
2992
2993const char kAshDisableSmoothScreenRotationName[] =
2994 "Disable smooth rotation animations.";
2995const char kAshDisableSmoothScreenRotationDescription[] =
2996 "Disable smooth rotation animations.";
2997
2998const char kAshEnableDisplayMoveWindowAccelsName[] =
2999 "Enable shortcuts for moving window between displays.";
3000const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3001 "Enable shortcuts for moving window between displays.";
3002
3003const char kAshEnableKeyboardShortcutViewerName[] =
3004 "Enable keyboard shortcut viewer.";
3005const char kAshEnableKeyboardShortcutViewerDescription[] =
3006 "Enable keyboard shortcut viewer.";
3007
3008const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3009const char kAshEnableMirroredScreenDescription[] =
3010 "Enable the mirrored screen mode. This mode flips the screen image "
3011 "horizontally.";
3012
Qiang Xu045aff222018-05-21 23:21:013013const char kAshEnablePersistentWindowBoundsName[] =
3014 "Enable persistent window bounds in multi-displays scenario.";
3015const char kAshEnablePersistentWindowBoundsDescription[] =
3016 "Enable persistent window bounds in multi-displays scenario.";
3017
3018const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3019const char kAshEnableTrilinearFilteringDescription[] =
3020 "Enable trilinear filtering.";
3021
Brett Wilson7b44537e2017-08-18 01:38:283022const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3023const char kAshEnableUnifiedDesktopDescription[] =
3024 "Enable unified desktop mode which allows a window to span multiple "
3025 "displays.";
vabr0215a8e2017-03-28 12:47:343026
Mike Wassermanfcc47e42018-06-14 21:24:423027const char kAshKeyboardShortcutViewerAppName[] =
3028 "Keyboard Shortcut Viewer mojo app";
3029const char kAshKeyboardShortcutViewerAppDescription[] =
3030 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3031
Qiang Xu045aff222018-05-21 23:21:013032const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3033const char kAshShelfColorDescription[] =
3034 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3035 "--ash-shelf-color-scheme flag defines how that color is derived.";
3036
3037const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3038const char kAshShelfColorSchemeDescription[] =
3039 "Specify how the color is derived from the wallpaper. This flag is only "
3040 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3041const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3042const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3043const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3044const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3045const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3046const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3047
Sean Kau5e956192017-10-06 22:25:173048const char kBulkPrintersName[] = "Bulk Printers Policy";
3049const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3050
Brett Wilson7b44537e2017-08-18 01:38:283051const char kCaptivePortalBypassProxyName[] =
3052 "Bypass proxy for Captive Portal Authorization";
3053const char kCaptivePortalBypassProxyDescription[] =
3054 "If proxy is configured, it usually prevents from authorization on "
3055 "different captive portals. This enables opening captive portal "
3056 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343057
Yuki Awanob51d3252018-07-11 23:45:553058const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3059const char kChromeVoxArcSupportDescription[] =
3060 "Use ChromeVox screen reader features in ARC";
3061
Brett Wilson7b44537e2017-08-18 01:38:283062const char kCrOSComponentName[] = "Chrome OS Component";
3063const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083064 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343065
Xiaochu Liu51d03fd2017-09-08 23:51:023066const char kCrOSContainerName[] = "Chrome OS Container";
3067const char kCrOSContainerDescription[] =
3068 "Enable the use of Chrome OS Container utility.";
3069
Brett Wilson7b44537e2017-08-18 01:38:283070const char kCrosRegionsModeName[] = "Cros-regions load mode";
3071const char kCrosRegionsModeDescription[] =
3072 "This flag controls cros-regions load mode";
3073const char kCrosRegionsModeDefault[] = "Default";
3074const char kCrosRegionsModeOverride[] = "Override VPD values.";
3075const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343076
Jacob Dufault2becbc482017-08-25 00:36:353077const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3078const char kDisableLockScreenAppsDescription[] =
3079 "Disable new-note action handler apps on the lock screen. The user will "
3080 "not be able to launch the preferred note-taking action from the lock "
3081 "screen, provided that the app supports lock screen note taking.";
3082
Qiang Xu045aff222018-05-21 23:21:013083const char kDisableSystemTimezoneAutomaticDetectionName[] =
3084 "SystemTimezoneAutomaticDetection policy support";
3085const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3086 "Disable system timezone automatic detection device policy.";
3087
Sammie Quonef6b4882017-09-14 16:50:053088const char kDisableTabletAutohideTitlebarsName[] =
3089 "Disable autohide titlebars in tablet mode";
3090const char kDisableTabletAutohideTitlebarsDescription[] =
3091 "Disable tablet mode autohide titlebars functionality. The user will be "
3092 "able to see the titlebar in tablet mode.";
3093
Xiaoqian Dai24b33eb2018-04-10 21:01:573094const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3095const char kDisableTabletSplitViewDescription[] =
3096 "Disable split view for Chrome OS tablet mode.";
3097
Qiang Xu53d1a5832018-05-24 18:44:193098const char kEnableAppShortcutSearchName[] =
3099 "Enable app shortcut search in launcher";
3100const char kEnableAppShortcutSearchDescription[] =
3101 "Enables app shortcut search in launcher";
3102
Weidong Guo00d0b2b2018-06-07 00:39:303103const char kEnableAppsGridGapFeatureName[] =
3104 "Enable apps grid gap feature in launcher.";
3105const char kEnableAppsGridGapFeatureDescription[] =
3106 "Enables gaps at the end of each page and enables dragging an item to an "
3107 "empty page in launcher.";
3108
Lei Zhang2eca9082017-10-17 20:42:503109const char kEnableBackgroundBlurName[] = "Enable background blur.";
3110const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423111 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393112
F#m75862c92018-01-25 19:10:473113const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
3114const char kEnableDisplayZoomSettingDescription[] =
3115 "Allows the user to modify the display size or zoom via the chrome display "
3116 "settings page.";
3117
Min Chenc2ec7282018-06-29 21:38:463118const char kEnableDragAppsInTabletModeName[] =
3119 "Enable dragging apps in tablet mode";
3120const char kEnableDragAppsInTabletModeDescription[] =
3121 "If enabled, swiping down from the top of the screen when an app is opened "
3122 "in tablet mode can drag the app.";
3123
Xiaoqian Dai82d99192018-05-25 18:51:353124const char kEnableDragTabsInTabletModeName[] =
3125 "Enable dragging tabs in tablet mode";
3126const char kEnableDragTabsInTabletModeDescription[] =
3127 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3128
Sam McNally201fbf94e2018-07-04 03:15:203129const char kEnableDriveFsName[] = "Enable DriveFS";
3130const char kEnableDriveFsDescription[] =
3131 "Enables use of the new DriveFS-based Drive sync client.";
3132
Brett Wilson7b44537e2017-08-18 01:38:283133const char kEnableEhvInputName[] =
3134 "Emoji, handwriting and voice input on opt-in IME menu";
3135const char kEnableEhvInputDescription[] =
3136 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343137
Brett Wilson7b44537e2017-08-18 01:38:283138const char kEnableEncryptionMigrationName[] =
3139 "Enable encryption migration of user data";
3140const char kEnableEncryptionMigrationDescription[] =
3141 "If enabled and the device supports ARC, the user will be asked to update "
3142 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343143
Blake O'Hare9e9317b22017-10-24 02:49:353144const char kEnableFloatingVirtualKeyboardName[] =
3145 "Enable floating virtual keyboard";
3146const char kEnableFloatingVirtualKeyboardDescription[] =
3147 "If enabled, the keyboard will use floating behavior by default.";
3148
Qiang Xu045aff222018-05-21 23:21:013149const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3150 "Enable full screen handwriting virtual keyboard";
3151const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3152 "If enabled, the handwriting virtual keyboard will allow user to write "
3153 "anywhere on the screen";
3154
3155const char kEnableHomeLauncherName[] = "Enable home launcher";
3156const char kEnableHomeLauncherDescription[] =
3157 "Enable home launcher in tablet mode.";
3158
Brett Wilson7b44537e2017-08-18 01:38:283159const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3160const char kEnableImeMenuDescription[] =
3161 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343162
Weidong Guo45836d1b2018-06-27 23:51:163163const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3164const char kEnableNewStyleLauncherDescription[] =
3165 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3166 "in app launcher.";
3167
Qiang Xu045aff222018-05-21 23:21:013168const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3169const char kEnableNewWallpaperPickerDescription[] =
3170 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3171
3172const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3173const char kEnablePerUserTimezoneDescription[] =
3174 "Chrome OS system timezone preference is stored and handled for each user "
3175 "individually.";
3176
3177const char kEnableSettingsShortcutSearchName[] =
3178 "Enable Settings shortcut search";
3179const char kEnableSettingsShortcutSearchDescription[] =
3180 "Enable Settings shortcut search in launcher.";
3181
Darren Shen3e49c63d2018-03-28 04:45:503182const char kEnableStylusVirtualKeyboardName[] =
3183 "Enable stylus virtual keyboard";
3184const char kEnableStylusVirtualKeyboardDescription[] =
3185 "If enabled, tapping with a stylus will show the handwriting virtual "
3186 "keyboard.";
3187
Jordy Greenblatt2f23df22018-02-22 19:49:193188const char kEnableUnifiedMultiDeviceSettingsName[] =
3189 "Enable unified MultiDevice settings";
3190const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3191 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3192 "MultiDevice settings.";
3193
3194const char kEnableUnifiedMultiDeviceSetupName[] =
3195 "Enable unified MultiDevice setup";
3196const char kEnableUnifiedMultiDeviceSetupDescription[] =
3197 "Enable the device to setup all MultiDevice services in a single workflow.";
3198
Darren Shen11c770f312018-06-13 07:36:393199const char kEnableVirtualKeyboardMdUiName[] =
3200 "Enable Material Design virtual keyboard";
3201const char kEnableVirtualKeyboardMdUiDescription[] =
3202 "If enabled, loads the Material Design UI for the virtual keyboard.";
3203
Darren Shen0b4e5802018-07-10 03:12:263204const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3205const char kEnableVirtualKeyboardUkmDescription[] =
3206 "Enables UKM for virtual keyboard";
3207
Klemen Kozjek05fc4512017-10-18 12:51:103208const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3209const char kEnableZipArchiverPackerDescription[] =
3210 "Enable the ability to archive files on Drive in the Files app";
3211
Brett Wilson7b44537e2017-08-18 01:38:283212const char kEolNotificationName[] = "Disable Device End of Life notification.";
3213const char kEolNotificationDescription[] =
3214 "Disable Notifcation when Device is End of Life.";
3215
3216const char kExperimentalAccessibilityFeaturesName[] =
3217 "Experimental accessibility features";
3218const char kExperimentalAccessibilityFeaturesDescription[] =
3219 "Enable additional accessibility features in the Settings page.";
3220
3221const char kExperimentalInputViewFeaturesName[] =
3222 "Experimental input view features";
3223const char kExperimentalInputViewFeaturesDescription[] =
3224 "Enable experimental features for IME input views.";
3225
3226const char kFileManagerTouchModeName[] = "Files App. touch mode";
3227const char kFileManagerTouchModeDescription[] =
3228 "Touchscreen-specific interactions of the Files app.";
3229
3230const char kFirstRunUiTransitionsName[] =
3231 "Animated transitions in the first-run tutorial";
3232const char kFirstRunUiTransitionsDescription[] =
3233 "Transitions during first-run tutorial are animated.";
3234
Brett Wilson7b44537e2017-08-18 01:38:283235const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3236const char kForceEnableStylusToolsDescription[] =
3237 "Forces display of the stylus tools menu in the shelf and the stylus "
3238 "section in settings, even if there is no attached stylus device.";
3239
3240const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3241const char kGestureEditingDescription[] =
3242 "Enable/Disable gesture editing option in the settings page for the "
3243 "virtual keyboard.";
3244
3245const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3246const char kGestureTypingDescription[] =
3247 "Enable/Disable gesture typing option in the settings page for the virtual "
3248 "keyboard.";
3249
3250const char kInputViewName[] = "Input views";
3251const char kInputViewDescription[] =
3252 "Enable IME extensions to supply custom views for user input such as "
3253 "virtual keyboards.";
3254
Megumi Hattori5a0d4182018-03-06 11:09:503255const char kLockScreenNotificationName[] = "Lock screen notification";
3256const char kLockScreenNotificationDescription[] =
3257 "Enable notifications on the lock screen.";
3258
Qiang Xu045aff222018-05-21 23:21:013259const char kMaterialDesignInkDropAnimationSpeedName[] =
3260 "Material design ink drop animation speed";
3261const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3262 "Sets the speed of the experimental visual feedback animations for "
3263 "material design.";
3264const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3265const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3266
Brett Wilson7b44537e2017-08-18 01:38:283267const char kMemoryPressureThresholdName[] =
3268 "Memory discard strategy for advanced pressure handling";
3269const char kMemoryPressureThresholdDescription[] =
3270 "Memory discarding strategy to use";
3271const char kConservativeThresholds[] =
3272 "Conservative memory pressure release strategy";
3273const char kAggressiveCacheDiscardThresholds[] =
3274 "Aggressive cache release strategy";
3275const char kAggressiveTabDiscardThresholds[] =
3276 "Aggressive tab release strategy";
3277const char kAggressiveThresholds[] =
3278 "Aggressive tab and cache release strategy";
3279
3280const char kMtpWriteSupportName[] = "MTP write support";
3281const char kMtpWriteSupportDescription[] =
3282 "MTP write support in File System API (and file manager). In-place editing "
3283 "operations are not supported.";
3284
Kyle Horimoto027590fb2018-02-13 22:19:483285const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3286const char kMultiDeviceApiDescription[] =
3287 "Enable Mojo-based API which provides synced device metadata and the "
3288 "ability to connect to other devices associated the logged-in Google "
3289 "account.";
3290
Bailey Berrodca8eeca02017-11-18 00:49:123291const char kNativeSmbName[] = "Native Smb Client";
3292const char kNativeSmbDescription[] =
3293 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303294
vabr0215a8e2017-03-28 12:47:343295const char kNetworkPortalNotificationName[] =
3296 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343297const char kNetworkPortalNotificationDescription[] =
3298 "If enabled, notification is displayed when device is connected to a "
3299 "network behind captive portal.";
3300
Brett Wilson7b44537e2017-08-18 01:38:283301const char kNewKoreanImeName[] = "New Korean IME";
3302const char kNewKoreanImeDescription[] =
3303 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343304
Brett Wilson7b44537e2017-08-18 01:38:283305const char kNewZipUnpackerName[] = "New ZIP unpacker";
3306const char kNewZipUnpackerDescription[] =
3307 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343308
Qiang Xu045aff222018-05-21 23:21:013309const char kOfficeEditingComponentAppName[] =
3310 "Office Editing for Docs, Sheets & Slides";
3311const char kOfficeEditingComponentAppDescription[] =
3312 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3313
Brett Wilson7b44537e2017-08-18 01:38:283314const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3315const char kPhysicalKeyboardAutocorrectDescription[] =
3316 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3317 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343318
3319const char kPrinterProviderSearchAppName[] =
3320 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343321const char kPrinterProviderSearchAppDescription[] =
3322 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193323 "searches Chrome Web Store for extensions that support printing to a USB "
3324 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343325
Brett Wilson7b44537e2017-08-18 01:38:283326const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3327const char kQuickUnlockPinDescription[] =
3328 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3329 "device on the lock screen after you have signed into your device.";
3330const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3331const char kQuickUnlockPinSigninDescription[] =
3332 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3333 "device. After changing this flag PIN needs to be set up again.";
3334const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3335const char kQuickUnlockFingerprintDescription[] =
3336 "Enabling fingerprint quick unlock allows you to setup and use a "
3337 "fingerprint to unlock your Chromebook on the lock screen after you have "
3338 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343339
James Cook0ba192bf2017-12-01 20:53:113340const char kShowTapsName[] = "Show taps";
3341const char kShowTapsDescription[] =
3342 "Draws a circle at each touch point, which makes touch points more obvious "
3343 "when projecting or mirroring the display. Similar to the Android OS "
3344 "developer option.";
3345
3346const char kShowTouchHudName[] = "Show HUD for touch points";
3347const char kShowTouchHudDescription[] =
3348 "Shows a trail of colored dots for the last few touch points. Pressing "
3349 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3350 "debug hardware issues that generate spurious touch events.";
3351
Jorge Gil5a8ccde2018-07-10 01:46:213352const char kSmartTextSelectionName[] = "Smart Text Selection";
3353const char kSmartTextSelectionDescription[] =
3354 "Shows quick actions for text "
3355 "selections in the context menu.";
3356
Chung-Sheng Wu468b0b32017-09-01 14:41:573357const char kSysInternalsName[] = "Enable Sys-Internals";
3358const char kSysInternalsDescription[] =
3359 "If enabled, user can monitor system information at "
3360 "chrome://sys-internals.";
3361
James Cooka9384092018-05-23 02:54:263362const char kTapVisualizerAppName[] = "Show taps with mojo app";
3363const char kTapVisualizerAppDescription[] =
3364 "Use an out-of-process mojo app to show touch points.";
3365
Stuart Langleyc981ac62018-06-21 14:38:253366const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3367const char kDisableTeamDrivesDescription[] =
3368 "If disabled, files under Team Drives will no longer appear in the Files "
3369 "app.";
vabr0215a8e2017-03-28 12:47:343370
Brett Wilson7b44537e2017-08-18 01:38:283371const char kTetherName[] = "Instant Tethering";
3372const char kTetherDescription[] =
3373 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3374 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373375
Brett Wilson7b44537e2017-08-18 01:38:283376const char kTouchscreenCalibrationName[] =
3377 "Enable/disable touchscreen calibration option in material design settings";
3378const char kTouchscreenCalibrationDescription[] =
3379 "If enabled, the user can calibrate the touch screen displays in "
3380 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093381
Qiang Xu045aff222018-05-21 23:21:013382const char kUiDevToolsName[] = "Enable native UI inspection";
3383const char kUiDevToolsDescription[] =
3384 "Enables inspection of native UI elements. For local inspection use "
3385 "chrome://inspect#other";
3386
3387const char kUiShowCompositedLayerBordersName[] =
3388 "Show UI composited layer borders";
3389const char kUiShowCompositedLayerBordersDescription[] =
3390 "Show border around composited layers created by UI.";
3391const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3392const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3393const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3394const char kUiShowCompositedLayerBordersAll[] = "All";
3395
3396const char kUiSlowAnimationsName[] = "Slow UI animations";
3397const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3398
Mitsuru Oshima63d3f2a2017-08-23 00:12:113399// Force UI Mode
3400const char kUiModeName[] = "Force Ui Mode";
3401const char kUiModeDescription[] =
3402 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3403 R"*(despite its current orientation. "Tablet" means that the )*"
3404 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3405 R"*(means that the chromebook will act as if it were in clamshell )*"
3406 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3407 R"*(the two, based on its orientation.)*";
3408const char kUiModeTablet[] = "TouchView";
3409const char kUiModeClamshell[] = "Clamshell";
3410const char kUiModeAuto[] = "Auto (default)";
3411
Sonny Sasaka7fecfeda2018-07-11 23:47:553412const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3413const char kUnfilteredBluetoothDevicesDescription[] =
3414 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3415
James Cooka1bcfa9a2018-01-30 00:18:403416const char kUseMashName[] = "Out-of-process system UI (mash)";
3417const char kUseMashDescription[] =
3418 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3419 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283420
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343421// TODO(mcasas): remove after https://crbug.com/771345.
3422const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3423const char kUseMonitorColorSpaceDescription[] =
3424 "Enables Chrome to use the color space information provided by the monitor"
3425 " instead of the default sRGB color space.";
3426
Brett Wilson7b44537e2017-08-18 01:38:283427const char kVideoPlayerChromecastSupportName[] =
3428 "Experimental Chromecast support for Video Player";
3429const char kVideoPlayerChromecastSupportDescription[] =
3430 "This option enables experimental Chromecast support for Video Player app "
3431 "on ChromeOS.";
3432
3433const char kVirtualKeyboardName[] = "Virtual Keyboard";
3434const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3435
3436const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3437const char kVirtualKeyboardOverscrollDescription[] =
3438 "Enables virtual keyboard overscroll support.";
3439
3440const char kVoiceInputName[] = "Voice input on virtual keyboard";
3441const char kVoiceInputDescription[] =
3442 "Enables voice input on virtual keyboard.";
3443
3444const char kWakeOnPacketsName[] = "Wake On Packets";
3445const char kWakeOnPacketsDescription[] =
3446 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203447
Qiang Xu53d1a5832018-05-24 18:44:193448const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3449const char kZipArchiverUnpackerDescription[] =
3450 "Enable or disable the ability to unpack archives in incognito mode";
3451
wutao42ee9daa2018-07-19 00:12:173452extern const char kEnableContinueReadingName[] = "Enable continue reading";
3453extern const char kEnableContinueReadingDescription[] =
3454 "Enable continue reading feature in Launcher, which allows users to "
3455 "seamlessly continue reading a web page when they switch devices from "
3456 "phones or tablets to Chromebooks.";
3457
Jenny Zhang81fc4c52018-07-23 22:12:323458extern const char kEnableZeroStateSuggestionsName[] =
3459 "Enable Zero State Suggetions";
3460extern const char kEnableZeroStateSuggestionsDescription[] =
3461 "Enable Zero State Suggestions feature in Launcher, which will show "
3462 "suggetions when launcher search box is active with an empty query";
3463
yhanadac5bff5b2017-05-18 06:37:093464#endif // defined(OS_CHROMEOS)
3465
Brett Wilson7b44537e2017-08-18 01:38:283466// Random platform combinations -----------------------------------------------
3467
3468#if defined(OS_WIN) || defined(OS_LINUX)
3469
3470const char kEnableInputImeApiName[] = "Enable Input IME API";
3471const char kEnableInputImeApiDescription[] =
3472 "Enable the use of chrome.input.ime API.";
3473
Tom Anderson6cbd5052018-05-03 23:49:543474#if !defined(OS_CHROMEOS)
3475
3476const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3477const char kWarnBeforeQuittingFlagDescription[] =
3478 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3479
3480#endif // !defined(OS_CHROMEOS)
3481
Brett Wilson7b44537e2017-08-18 01:38:283482#endif // defined(OS_WIN) || defined(OS_LINUX)
3483
3484#if defined(OS_WIN) || defined(OS_MACOSX)
3485
3486const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3487const char kAutomaticTabDiscardingDescription[] =
3488 "If enabled, tabs get automatically discarded from memory when the system "
3489 "memory is low. Discarded tabs are still visible on the tab strip and get "
3490 "reloaded when clicked on. Info about discarded tabs can be found at "
3491 "chrome://discards.";
3492
3493#endif // defined(OS_WIN) || defined(OS_MACOSX)
3494
lanwei83f54452018-06-21 23:51:043495#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3496
3497const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3498const char kDirectManipulationStylusDescription[] =
3499 "If enabled, Chrome will scroll web pages on stylus drag.";
3500
3501#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3502
Justin Donnelly110e40c2018-06-01 21:48:433503const char kExperimentalUiName[] = "Use all upcoming UI features";
3504const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483505
Brett Wilson7b44537e2017-08-18 01:38:283506// Feature flags --------------------------------------------------------------
3507
3508#if BUILDFLAG(ENABLE_VR)
3509
David Dorwin5a496c32017-11-17 01:45:053510const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3511const char kWebVrVsyncAlignDescription[] =
3512 "Align WebVR application rendering with VSync for smoother animations.";
3513
Bill Orr103ed272018-02-14 21:23:053514#if BUILDFLAG(ENABLE_OCULUS_VR)
3515const char kOculusVRName[] = "Oculus hardware support";
3516const char kOculusVRDescription[] =
3517 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3518 "Windows 10 or later).";
3519#endif // ENABLE_OCULUS_VR
3520
Bill Orr49527562017-11-22 16:58:483521#if BUILDFLAG(ENABLE_OPENVR)
3522const char kOpenVRName[] = "OpenVR hardware support";
3523const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073524 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3525 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483526#endif // ENABLE_OPENVR
3527
Brett Wilson7b44537e2017-08-18 01:38:283528#endif // ENABLE_VR
3529
Nico Weberaf3b00b2017-09-11 17:58:173530#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283531
3532const char kNaclDebugMaskName[] =
3533 "Restrict Native Client GDB-based debugging by pattern";
3534const char kNaclDebugMaskDescription[] =
3535 "Restricts Native Client application GDB-based debugging by URL of "
3536 "manifest file. Native Client GDB-based debugging must be enabled for this "
3537 "option to work.";
3538const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3539const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3540 "Debug everything except secure shell and the PNaCl translator.";
3541const char kNaclDebugMaskChoiceIncludeDebug[] =
3542 "Debug only if manifest URL ends with debug.nmf.";
3543
3544const char kNaclDebugName[] = "Native Client GDB-based debugging";
3545const char kNaclDebugDescription[] =
3546 "Enable GDB debug stub. This will stop a Native Client application on "
3547 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3548
3549const char kNaclName[] = "Native Client";
3550const char kNaclDescription[] =
3551 "Support Native Client for all web applications, even those that were not "
3552 "installed from the Chrome Web Store.";
3553
3554const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3555const char kPnaclSubzeroDescription[] =
3556 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3557
Nico Weberaf3b00b2017-09-11 17:58:173558#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283559
Brett Wilson7b44537e2017-08-18 01:38:283560const char kWebrtcH264WithOpenh264FfmpegName[] =
3561 "WebRTC H.264 software video encoder/decoder";
3562const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3563 "When enabled, an H.264 software video encoder/decoder pair is included. "
3564 "If a hardware encoder/decoder is also available it may be used instead of "
3565 "this encoder/decoder.";
3566
Brett Wilson7b44537e2017-08-18 01:38:283567#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3568
3569const char kAutofillCreditCardUploadName[] =
3570 "Enable offering upload of Autofilled credit cards";
3571const char kAutofillCreditCardUploadDescription[] =
3572 "Enables a new option to upload credit cards to Google Payments for sync "
3573 "to all Chrome devices.";
3574
3575#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3576
Becca Hughesdc96e842018-05-04 22:48:283577#if defined(OS_ANDROID)
3578
3579const char kDisplayCutoutAPIName[] =
3580 "Enable support for the Display Cutout API";
3581const char kDisplayCutoutAPIDescription[] =
3582 "Enables developers to support devices that have a display cutout.";
3583
3584#endif // defined(OS_ANDROID)
3585
Brett Wilson7b44537e2017-08-18 01:38:283586// ============================================================================
3587// Don't just add flags to the end, put them in the right section in
3588// alphabetical order just like the header file.
3589// ============================================================================
3590
vabr0215a8e2017-03-28 12:47:343591} // namespace flag_descriptions