blob: 25ccc34b394b15f96015713f9657c8dd0e2ee7fc [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
Kunihiko Sakamoto4d407982018-07-10 04:56:2938const char kAllowSignedHTTPExchangeCertsWithoutExtensionName[] =
39 "Allow Signed HTTP Exchange certificates without extension";
40const char kAllowSignedHTTPExchangeCertsWithoutExtensionDescription[] =
41 "Accepts Origin-Signed HTTP Exchanges to be signed with certificates "
42 "that do not have CanSignHttpExchangesDraft extension. Requires "
43 "#enable-signed-http-exchange. Warning: Enabling this may pose a security "
44 "risk.";
45
Jeremy Klein586b4ccc2018-06-09 21:05:4846const char kAndroidMessagesIntegrationName[] = "Android Messages integration";
47const char kAndroidMessagesIntegrationDescription[] =
48 "Enables Chrome OS integration with Android messages.";
49
Brett Wilsonf27ff602017-07-07 22:28:4750const char kAppBannersName[] = "App Banners";
51const char kAppBannersDescription[] =
52 "Enable the display of Progressive Web App banners, which prompt a user to "
53 "add a web app to their shelf, or other platform-specific equivalent.";
54
Ioana Pandelef9689a062018-06-22 15:35:5155const char kAutomaticPasswordGenerationName[] = "Automatic password generation";
56const char kAutomaticPasswordGenerationDescription[] =
57 "Allow Chrome to offer to generate passwords when it detects account "
58 "creation pages.";
59
Michael Lippautzebbc5a82018-05-30 10:41:4260const char kEnableBlinkHeapIncrementalMarkingName[] =
61 "Blink Heap Incremental Marking";
62const char kEnableBlinkHeapIncrementalMarkingDescription[] =
63 "Enable incremental marking in Blink";
64
Ulan Degenbaevb5466a92018-07-19 12:35:3465const char kEnableBloatedRendererDetectionName[] = "Bloated renderer detection";
66const char kEnableBloatedRendererDetectionDescription[] =
67 "Enable bloated renderer detection";
68
Tetsui Ohkubo2852b952018-02-23 04:12:0169const char kSystemTrayUnifiedName[] = "New system menu";
70const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5571 "Enable the experimental system menu.";
72
Khushalba202212017-07-12 19:53:4973const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
74const char kAsyncImageDecodingDescription[] =
75 "Enables asynchronous decoding of images from raster for web content";
76
Roger McFarlane2eceba982018-05-18 01:37:1177const char kAutofillCacheQueryResponsesName[] =
78 "Cache Autofill Query Responses";
79const char kAutofillCacheQueryResponsesDescription[] =
80 "When enabled, autofill will cache the responses it receives from the "
81 "crowd-sourced field type prediction server.";
82
Jeffrey Cohen05cdafa392018-08-15 20:49:1783const char kAutofillEnableCompanyNameName[] =
84 "Enable Autofill Company Name field";
85const char kAutofillEnableCompanyNameDescription[] =
86 "When enabled, Company Name fields will be auto filled";
87
sebsge35b762c2018-03-29 20:33:2788const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
89const char kAutofillDynamicFormsDescription[] =
90 "Allows autofill to fill dynamically changing forms";
91
Parastoo Geranmayeh2dcd14f92018-06-01 17:08:3992const char kAutofillPrefilledFieldsName[] = "Autofill Prefilled Fields";
93const char kAutofillPrefilledFieldsDescription[] =
94 "Allows autofill to fill fields previously filled by the website";
95
Fabio Tirelo9b423c7b2018-08-15 14:32:1896extern const char kAutofillPreviewStyleExperimentName[] =
97 "Autofill Preview Style Experiment";
98extern const char kAutofillPreviewStyleExperimentDescription[] =
99 "Allows experimentation with the Autofill field preview's style.";
100
Parastoo Geranmayeh071d725c2018-06-26 17:35:22101const char kAutofillRationalizeRepeatedServerPredictionsName[] =
102 "Autofill Rationalization of Repeated Server Field Type Predictions";
103const char kAutofillRationalizeRepeatedServerPredictionsDescription[] =
104 "Allows autofill to rationalize repeated server field type predictions.";
105
Roger McFarlane1a37d7b2018-04-20 22:45:19106const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
107 "Autofill Enforce Min Required Fields For Heuristics";
108const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
109 "When enabled, autofill will generally require a form to have at least 3 "
110 "fields before allowing heuristic field-type prediction to occur.";
111
112const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
113 "Autofill Enforce Min Required Fields For Query";
114const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
115 "When enabled, autofill will generally require a form to have at least 3 "
116 "fields before querying the autofill server for field-type predictions.";
117
118const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
119 "Autofill Enforce Min Required Fields For Upload";
120const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
121 "When enabled, autofill will generally require a form to have at least 3 "
122 "fillable fields before uploading field-type votes for that form.";
123
Moe Ahmadid3ddfcb2018-04-20 19:51:08124const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
125 "Restrict formless form extraction";
126const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
127 "Restrict extraction of formless forms to checkout flows";
128
Brett Wilsonf27ff602017-07-07 22:28:47129const char kAutoplayPolicyName[] = "Autoplay policy";
130const char kAutoplayPolicyDescription[] =
131 "Policy used when deciding if audio or video is allowed to autoplay.";
132
133const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
134 "User gesture is required for cross-origin iframes.";
135const char kAutoplayPolicyNoUserGestureRequired[] =
136 "No user gesture is required.";
137const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
138const char kAutoplayPolicyDocumentUserActivation[] =
139 "Document user activation is required.";
140
Johanne0cc6902017-11-16 00:23:50141extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
142extern const char kAv1DecoderDescription[] =
143 "Allow decoding of files with the AV1 video codec.";
144
Brett Wilsonf27ff602017-07-07 22:28:47145const char kBackgroundVideoTrackOptimizationName[] =
146 "Optimize background video playback.";
147const char kBackgroundVideoTrackOptimizationDescription[] =
148 "Disable video tracks when the video is played in the background to "
149 "optimize performance.";
150
151const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
152const char kBleAdvertisingInExtensionsDescription[] =
153 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
154 "with regular use of Bluetooth Low Energy features.";
155
Charles Harrisond629cc62017-10-05 01:39:54156const char kBlockTabUndersName[] = "Block tab-unders";
157const char kBlockTabUndersDescription[] =
158 "Blocks tab-unders in Chrome with some native UI to allow the user to "
159 "proceed.";
160
Brett Wilsonf27ff602017-07-07 22:28:47161const char kBrowserTaskSchedulerName[] = "Task Scheduler";
162const char kBrowserTaskSchedulerDescription[] =
163 "Enables redirection of some task posting APIs to the task scheduler.";
164
Carlos IL766fbc882018-02-16 02:34:52165const char kBundledConnectionHelpName[] = "Bundled Connection Help";
166const char kBundledConnectionHelpDescription[] =
Carlos ILaafcd73a2018-07-10 20:08:37167 "Enables or disables redirection to local help content for users who get "
168 "an interstitial after clicking the 'Learn More' link on a previous "
169 "interstitial.";
Carlos IL766fbc882018-02-16 02:34:52170
Brett Wilsonf27ff602017-07-07 22:28:47171const char kBypassAppBannerEngagementChecksName[] =
172 "Bypass user engagement checks";
173const char kBypassAppBannerEngagementChecksDescription[] =
174 "Bypasses user engagement checks for displaying app banners, such as "
175 "requiring that users have visited the site before and that the banner "
176 "hasn't been shown recently. This allows developers to test that other "
177 "eligibility requirements for showing app banners, such as having a "
178 "manifest, are met.";
179
Miguel Casas454d9cf2018-06-28 16:25:00180const char kCanvas2DImageChromiumName[] = "Canvas 2D Image Chromium";
181const char kCanvas2DImageChromiumDescription[] =
182 "Allows for using CHROMIUM_image GLES2 extension for HTML Canvas Contexts";
183
Brett Wilsonf27ff602017-07-07 22:28:47184const char kCastStreamingHwEncodingName[] =
185 "Cast Streaming hardware video encoding";
186const char kCastStreamingHwEncodingDescription[] =
187 "This option enables support in Cast Streaming for encoding video streams "
188 "using platform hardware.";
189
Amber Won478561d2017-08-19 01:02:59190const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
191const char kClickToOpenPDFDescription[] =
192 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
193 "embedded PDFs.";
194
Gary Kacmarcikfb69b212017-11-14 03:41:08195const char kClipboardContentSettingName[] = "Clipboard content setting";
196const char kClipboardContentSettingDescription[] =
197 "Enables a site-wide permission in the UI which controls access to the "
198 "asynchronous clipboard web API";
199
Peter Kastingb78046182018-06-29 20:15:13200const char kCloseButtonsInactiveTabs[] = "Close buttons on inactive tabs";
201const char kCloseButtonsInactiveTabsDescription[] =
202 "Shows close buttons on inactive tabs in non-touch mode.";
203
Brett Wilsonf27ff602017-07-07 22:28:47204const char kCloudImportName[] = "Cloud Import";
205const char kCloudImportDescription[] = "Allows the cloud-import feature.";
206
rbpotter9990eb42018-07-12 05:34:59207const char kCloudPrinterHandlerName[] = "Enable Cloud Printer Handler";
208const char kCloudPrinterHandlerDescription[] =
209 "Use the new cloud printer handler for communicating with the cloud "
210 "print server, instead of the cloud print interface in the Print "
211 "Preview WebUI.";
212
Christopher Cameronceb8727d2017-09-07 23:53:16213const char kForceColorProfileSRGB[] = "sRGB";
214const char kForceColorProfileP3[] = "Display P3 D65";
215const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
216const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
217
218const char kForceColorProfileName[] = "Force color profile";
219const char kForceColorProfileDescription[] =
220 "Forces Chrome to use a specific color profile instead of the color "
221 "of the window's current monitor, as specified by the operating system.";
222
Brett Wilsonf27ff602017-07-07 22:28:47223const char kCompositedLayerBordersName[] = "Composited render layer borders";
224const char kCompositedLayerBordersDescription[] =
225 "Renders a border around composited Render Layers to help debug and study "
226 "layer compositing.";
227
Theresaf39c1882018-03-21 18:18:07228const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07229 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07230const char kContextualSuggestionsBottomSheetDescription[] =
231 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47232
Theresac34db2d2018-06-28 00:03:11233const char kContextualSuggestionsButtonName[] = "Contextual Suggestions Button";
234const char kContextualSuggestionsButtonDescription[] =
235 "If enabled, shows a button to trigger contextual suggestions.";
236
Theresa818d3452018-05-22 00:08:07237const char kContextualSuggestionsSlimPeekUIName[] =
238 "Contextual Suggestions Slim Peek UI";
239const char kContextualSuggestionsSlimPeekUIDescription[] =
240 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
241
Theresa0f2947b92018-07-02 21:27:58242const char kContextualSuggestionsOptOutName[] =
243 "Contextual Suggestions Opt-out";
244const char kContextualSuggestionsOptOutDescription[] =
245 "If enabled, allows the user to opt out of contextual suggestions.";
246
Brett Wilsonf27ff602017-07-07 22:28:47247const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
248const char kCreditCardAssistDescription[] =
249 "Enable assisted credit card filling on certain sites.";
250
251const char kCrossProcessGuestViewIsolationName[] =
252 "Cross process frames for guests";
253const char kCrossProcessGuestViewIsolationDescription[] =
254 "Highly experimental where guests such as <webview> are implemented on "
255 "the out-of-process iframe infrastructure.";
256
Thanh Le659cb102017-12-20 22:00:19257const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
258const char kDataSaverServerPreviewsDescription[] =
259 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47260
261const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
262const char kDatasaverPromptDescription[] =
263 "Enables a prompt, which appears when a cellular network connection is "
264 "detected, to take the user to the Data Saver extension page on Chrome Web "
265 "Store.";
266const char kDatasaverPromptDemoMode[] = "Demo mode";
267
Wez54dc71b2018-04-17 00:42:34268#if DCHECK_IS_CONFIGURABLE
269const char kDcheckIsFatalName[] = "DCHECKs are fatal";
270const char kDcheckIsFatalDescription[] =
271 "By default Chrome will evaluate in this build, but only log failures, "
272 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
273#endif // DCHECK_IS_CONFIGURABLE
274
Brett Wilsonf27ff602017-07-07 22:28:47275const char kDebugPackedAppName[] = "Debugging for packed apps";
276const char kDebugPackedAppDescription[] =
277 "Enables debugging context menu options such as Inspect Element for packed "
278 "applications.";
279
280const char kDefaultTileHeightName[] = "Default tile height";
281const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
282const char kDefaultTileHeightShort[] = "128";
283const char kDefaultTileHeightTall[] = "256";
284const char kDefaultTileHeightGrande[] = "512";
285const char kDefaultTileHeightVenti[] = "1024";
286
287const char kDefaultTileWidthName[] = "Default tile width";
288const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
289const char kDefaultTileWidthShort[] = "128";
290const char kDefaultTileWidthTall[] = "256";
291const char kDefaultTileWidthGrande[] = "512";
292const char kDefaultTileWidthVenti[] = "1024";
293
294const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
295const char kDebugShortcutsDescription[] =
296 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
297
298const char kDeviceDiscoveryNotificationsName[] =
299 "Device Discovery Notifications";
300const char kDeviceDiscoveryNotificationsDescription[] =
301 "Device discovery notifications on local network.";
302
303const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
304const char kDevtoolsExperimentsDescription[] =
305 "Enables Developer Tools experiments. Use Settings panel in Developer "
306 "Tools to toggle individual experiments.";
307
308const char kDisableAudioForDesktopShareName[] =
309 "Disable Audio For Desktop Share";
310const char kDisableAudioForDesktopShareDescription[] =
311 "With this flag on, desktop share picker window will not let the user "
312 "choose whether to share audio.";
313
Chris Palmer917bc052018-03-14 19:28:31314const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
315const char kDisablePushStateThrottleDescription[] =
316 "Disables throttling of history.pushState and history.replaceState method "
317 "calls.";
318
Brett Wilsonf27ff602017-07-07 22:28:47319const char kDisableTabForDesktopShareName[] =
320 "Disable Desktop Share with tab source";
321const char kDisableTabForDesktopShareDescription[] =
322 "This flag controls whether users can choose a tab for desktop share.";
323
324const char kDisallowDocWrittenScriptsUiName[] =
325 "Block scripts loaded via document.write";
326const char kDisallowDocWrittenScriptsUiDescription[] =
327 "Disallows fetches for third-party parser-blocking scripts inserted into "
328 "the main frame via document.write.";
329
Christopher Thompson2ffffa2c2018-05-18 23:06:37330const char kDisallowUnsafeHttpDownloadsName[] =
331 "Block unsafe downloads over insecure connections";
332const char kDisallowUnsafeHttpDownloadsNameDescription[] =
333 "Disallows downloads of unsafe files (files that can potentially execute "
334 "code), where the final download origin or any origin in the redirect "
335 "chain is insecure.";
336
Brett Wilsonf27ff602017-07-07 22:28:47337const char kDriveSearchInChromeLauncherName[] =
338 "Drive Search in Chrome App Launcher";
339const char kDriveSearchInChromeLauncherDescription[] =
340 "Files from Drive will show up when searching the Chrome App Launcher.";
341
Brett Wilsonf27ff602017-07-07 22:28:47342const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
343const char kEmbeddedExtensionOptionsDescription[] =
344 "Display extension options as an embedded element in chrome://extensions "
345 "rather than opening a new tab.";
346
Dominic Mazzoni8ac98962018-05-25 05:44:55347const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
348const char kEnableAccessibilityObjectModelDescription[] =
349 "Enables experimental support for Accessibility Object Model APIs "
350 "that are in development.";
351
Brett Wilsonf27ff602017-07-07 22:28:47352const char kEnableAsmWasmName[] =
353 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
354const char kEnableAsmWasmDescription[] =
355 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
356 R"*(WebAssembly.)*";
357
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36358const char kEnableWebPaymentsSingleAppUiSkipName[] =
359 "Enable Web Payments single app UI skip";
360const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
361 "Enable Web Payments to skip showing its UI if the developer specifies a "
362 "single app.";
363
Florian Uunk8c428ea2018-07-18 11:12:52364const char kEnableAutofillAccountWalletStorageName[] =
365 "Enable the account data storage for autofill";
366const char kEnableAutofillAccountWalletStorageDescription[] =
367 "Enable the ephemeral storage for account data for autofill.";
368
Shanfeng Zhang19c16562017-10-17 02:30:40369const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
370 "Credit card autofill ablation experiment.";
371const char kEnableAutofillCreditCardAblationExperimentDescription[] =
372 "If enabled, credit card autofill suggestions will not display.";
373
Brett Wilsonf27ff602017-07-07 22:28:47374const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
375 "Display the last used date of a credit card in autofill.";
376const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
377 "If enabled, display the last used date of a credit card in autofill.";
378
Sujie Zhu2cf0e5c2018-07-17 18:00:27379const char kEnableAutofillCreditCardLocalCardMigrationName[] =
380 "Enable migrating local cards to Google Pay";
381const char kEnableAutofillCreditCardLocalCardMigrationDescription[] =
382 "If enabled, prompt migration of locally-saved credit cards to Google Pay.";
383
Jared Saulbc672a072018-06-16 05:22:12384const char kEnableAutofillCreditCardUploadEditableCardholderNameName[] =
385 "Make cardholder name editable in dialog during credit card upload";
386const char kEnableAutofillCreditCardUploadEditableCardholderNameDescription[] =
387 "If enabled, in certain situations when offering credit card upload to "
388 "Google Payments, the cardholder name can be edited within the "
389 "offer-to-save dialog, which is prefilled with the name from the signed-in "
390 "Google Account.";
391
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37392const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
393 "Enable Google Pay branding when offering credit card upload on Android";
394const char
395 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
396 "If enabled, shows the Google Pay logo and a shorter header message "
397 "when credit card upload to Google Payments is offered on Android.";
398
Jared Saul5c2a1482017-12-09 00:24:31399const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
400 "Send first six digits of PAN when deciding whether to offer Autofill "
401 "credit card upload";
402const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
403 "If enabled, when deciding whether to offer credit card upload to Google "
404 "Payments, sends the first six digits of the card number to avoid cases "
405 "where card upload is likely to fail.";
406
siyua7c4e97b42018-04-24 02:49:42407const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
408 "Enable updated prompt explanation when offering credit card upload";
409const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
410 "If enabled, changes the server save card prompt's explanation to mention "
411 "the saving of the billing address.";
412
tmartinocd414732018-02-12 19:01:01413const char kEnableAutofillNativeDropdownViewsName[] =
414 "Display Autofill Dropdown Using Views";
415const char kEnableAutofillNativeDropdownViewsDescription[] =
416 "If enabled, the Autofill Dropdown will be built natively using Views, "
417 "rather than painted directly to a canvas.";
418
Fabio Tirelo87552e02018-07-06 15:43:21419const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateName[] =
420 "Show unlabeled expiration dates on the save card dialog";
421const char kEnableAutofillSaveCardDialogUnlabeledExpirationDateDescription[] =
422 "If enabled, expiration dates on the save card dialog (both local and "
423 "upstream) are shown without an 'Exp:' label.";
424
Manas Verma99541e52018-08-03 20:37:23425const char kEnableAutofillSaveCardSignInAfterLocalSaveName[] =
426 "Show Sign-In/Sync promo after saving a card locally";
427const char kEnableAutofillSaveCardSignInAfterLocalSaveDescription[] =
428 "If enabled, shows a sign in prompt to the user after the user "
429 "saves a card locally. This also introduces a Manage Cards bubble "
430 "which you can access from the card icon after saving a card.";
431
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23432const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
433 "Send experiment flag IDs in calls to Google Payments";
434const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
435 "If enabled, adds the status of certain experiment variations when making "
436 "calls to Google Payments.";
437
Becca Hughes4d896c42018-05-29 16:58:51438const char kEnableAutoplayIgnoreWebAudioName[] =
439 "Autoplay ignores WebAudio playbacks";
440const char kEnableAutoplayIgnoreWebAudioDescription[] =
441 "If enabled, autoplay restrictions will be ignored for WebAudio.";
442
Vitalii Iarko4f9834ce2017-08-04 07:05:19443const char kEnableBreakingNewsPushName[] = "Breaking News Push";
444const char kEnableBreakingNewsPushDescription[] =
445 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
446 "through Google Cloud Messaging.";
447
Brett Wilsonf27ff602017-07-07 22:28:47448const char kEnableBrotliName[] = "Brotli Content-Encoding.";
449const char kEnableBrotliDescription[] =
450 "Enable Brotli Content-Encoding support.";
451
Qiang Xu0f602fe62017-12-22 01:31:20452const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
453const char kEnableCaptivePortalRandomUrlDescription[] =
454 "Enable Captive Portal URL randomization.";
455
Eriko Kurimoto36975992018-08-09 07:15:13456const char kEnableChromevoxDeveloperOptionName[] =
457 "Enable Chromevox developer option";
458const char kEnableChromevoxDeveloperOptionDescription[] =
459 "This option provides tools for developing in chromevox.";
460
sclittle50e4bb92017-07-08 02:23:03461const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
462
463const char kEnableClientLoFiDescription[] =
464 "Enable showing low fidelity images on some pages on slow networks.";
465
Patrick Noland8bc57472018-06-19 21:09:54466const char kEnableCSSFragmentIdentifiersName[] =
467 "Enable CSS Fragment Identifiers";
468const char kEnableCSSFragmentIdentifiersDescription[] =
469 "Enable support for specifying a target element using a css selector in "
470 "the fragment identifier.";
471
David Reveman87b4b692018-03-09 21:22:22472const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
473const char kEnableCursorMotionBlurDescription[] =
474 "Enable motion blur effect for the cursor.";
475
Ramin Halavati6f5d9852018-06-20 09:37:05476const char kEnableEphemeralFlashPermissionName[] =
477 "Enable Ephemeral Flash Permissions";
478const char kEnableEphemeralFlashPermissionDescription[] =
479 "When enabled, Flash plugin permissions are reset at the end of the "
480 "browser session.";
481
Doug Arnett08b4067b2017-10-12 20:14:44482const char kEnableNoScriptPreviewsName[] = "NoScript previews";
483
484const char kEnableNoScriptPreviewsDescription[] =
485 "Enable disabling JavaScript on some pages on slow networks.";
486
Thanh Le2c279fbc2017-11-21 01:25:40487const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
488const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
489const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
490const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
491const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
492const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
493const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
494const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
495const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
496const char kDataReductionProxyServerAlternative10[] =
497 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47498const char kEnableDataReductionProxyServerExperimentName[] =
499 "Use an alternative Data Saver back end configuration.";
500const char kEnableDataReductionProxyServerExperimentDescription[] =
501 "Enable a different approach to saving data by configuring the back end "
502 "server";
503
504const char kEnableDataReductionProxySavingsPromoName[] =
505 "Data Saver 1 MB Savings Promo";
506const char kEnableDataReductionProxySavingsPromoDescription[] =
507 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
508 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
509 "enabled for the promo to be shown.";
510
Matt Giucad4870432017-11-24 01:04:38511const char kEnableDesktopPWAsName[] = "Desktop PWAs";
512const char kEnableDesktopPWAsDescription[] =
513 "Experimental windowing and install banner treatment for Progressive Web "
514 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17515
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59516const char kEnableDesktopPWAsLinkCapturingName[] =
517 "Desktop PWAs Link Capturing";
518const char kEnableDesktopPWAsLinkCapturingDescription[] =
519 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
520 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
521 "#enable-desktop-pwas.";
522
Ahmed Fakhry0037de02018-01-29 19:58:31523const char kEnableDockedMagnifierName[] = "Docked Magnifier";
524const char kEnableDockedMagnifierDescription[] =
525 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
526
Ramya Nagarajan5b41d8d2018-04-02 19:53:02527const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
528const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09529 "Enables the Emoji picker item in context menus for editable text areas, if"
530 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02531
Brett Wilsonf27ff602017-07-07 22:28:47532const char kEnableEnumeratingAudioDevicesName[] =
533 "Experimentally enable enumerating audio devices.";
534const char kEnableEnumeratingAudioDevicesDescription[] =
535 "Experimentally enable the use of enumerating audio devices.";
536
537const char kEnableGenericSensorName[] = "Generic Sensor";
538const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25539 "Enables motion sensor classes based on Generic Sensor API, i.e. "
540 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
541 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
542
543const char kEnableGenericSensorExtraClassesName[] =
544 "Generic Sensor Extra Classes";
545const char kEnableGenericSensorExtraClassesDescription[] =
546 "Enables an extra set of sensor classes based on Generic Sensor API, which "
547 "expose previously unavailable platform features, i.e. AmbientLightSensor "
548 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47549
Brett Wilsonf27ff602017-07-07 22:28:47550const char kEnableHDRName[] = "HDR mode";
551const char kEnableHDRDescription[] =
552 "Enables HDR support on compatible displays.";
553
Ryan Sturm6a850902018-06-09 02:27:34554const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
555const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09556 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25557 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01558 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
559 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34560
Brett Wilsonf27ff602017-07-07 22:28:47561const char kEnableHttpFormWarningName[] =
562 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15563 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47564const char kEnableHttpFormWarningDescription[] =
565 "Attaches a warning UI to any password or credit card fields detected when "
566 "the top-level page is not HTTPS";
567
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41568const char kLayeredAPIName[] = "Experimental layered APIs";
569const char kLayeredAPIDescription[] =
570 "Enable layered API infrastructure, as well as several experimental "
571 "layered APIs. The syntax and the APIs exposed are experimental and will "
572 "change over time.";
573
Ian Kilpatricke68ef11a2018-07-04 03:52:10574const char kEnableLayoutNGName[] = "Enable LayoutNG";
575const char kEnableLayoutNGDescription[] =
576 "Enable Blink's next generation layout engine.";
577
Scott Littled0fd2d002018-04-13 03:37:26578const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
579const char kEnableLazyFrameLoadingDescription[] =
580 "Defers the loading of certain cross-origin frames until the page is "
581 "scrolled down near them.";
582
rajendrant793ff512018-08-10 17:07:59583const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
584const char kEnableLazyImageLoadingDescription[] =
585 "Defers the loading of images until the page is scrolled down near them.";
586
Sidney San Martín9375b892017-09-09 00:29:54587const char kEnableMacMaterialDesignDownloadShelfName[] =
588 "Enable Material Design download shelf";
589
590const char kEnableMacMaterialDesignDownloadShelfDescription[] =
591 "If enabled, the download shelf uses Material Design.";
592
Anton Urusov47cd4932017-09-19 14:41:41593const char kEnablePolicyToolName[] = "Enable policy management page";
594const char kEnablePolicyToolDescription[] =
595 "If enabled, the chrome://policy-tool URL loads a page for managing "
596 "policies.";
597
Tsuyoshi Horoea7edb72017-11-12 04:14:00598const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
599const char kEnablePWAFullCodeCacheDescription[] =
600 "Generate V8 code cache in Cache Storage while installing Service Worker "
601 "for PWAs.";
602
Weidong Guof1e5a892018-01-06 02:26:39603const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28604 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39605const char kDisableMultiMirroringDescription[] =
606 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28607
Brett Wilsonf27ff602017-07-07 22:28:47608const char kEnableNavigationTracingName[] = "Enable navigation tracing";
609const char kEnableNavigationTracingDescription[] =
610 "This is to be used in conjunction with the trace-upload-url flag. "
611 "WARNING: When enabled, Chrome will record performance data for every "
612 "navigation and upload it to the URL specified by the trace-upload-url "
613 "flag. The trace may include personally identifiable information (PII) "
614 "such as the titles and URLs of websites you visit.";
615
Bernhard Bauer5533f9912017-11-06 17:56:02616const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
617const char kEnableNetworkLoggingToFileDescription[] =
618 "Enables network logging to a file named netlog.json in the user data "
619 "directory. The file can be imported into chrome://net-internals.";
620
Brett Wilsonf27ff602017-07-07 22:28:47621const char kEnableNetworkServiceName[] = "Enable network service";
622const char kEnableNetworkServiceDescription[] =
623 "Enables the network service, which makes network requests through a "
624 "separate service. Note: most features don't work with this yet.";
625
John Abd-El-Malek8067cc02017-12-04 23:23:20626const char kEnableNetworkServiceInProcessName[] =
627 "Runs network service in-process";
628const char kEnableNetworkServiceInProcessDescription[] =
629 "Runs the network service in the browser process.";
630
dpapaded8349472017-10-25 03:21:27631const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
632const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37633 "If enabled, Print Preview will display a newer UI. This feature is "
634 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27635
Ahmed Fakhry2fd8fc82017-07-28 16:31:12636const char kEnableNightLightName[] = "Enable Night Light";
637const char kEnableNightLightDescription[] =
638 "Enable the Night Light feature which controls the color temperature of "
639 "the screen.";
640
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28641const char kEnableNotificationScrollBarName[] =
642 "Enable notification list scroll bar";
643const char kEnableNotificationScrollBarDescription[] =
644 "Enable the scroll bar of the notification list in Unified System Tray.";
645
xlou8b56f672018-02-09 23:34:30646const char kEnableNupPrintingName[] = "Enable N-up printing";
647const char kEnableNupPrintingDescription[] =
648 "Enable N-up printing in the print preview panel.";
649
Sophie Chang117a3b22017-10-24 22:25:36650const char kEnableOptimizationHintsName[] = "Optimization Hints";
651const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50652 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36653 "into decisions for what optimizations to perform on some pages on slow "
654 "networks.";
655
Yutaka Hirano98be3272017-08-07 17:55:39656const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
657const char kEnableOutOfBlinkCORSDescription[] =
658 "CORS handling logic is moved out of blink.";
659
Sammie Quon0fbf0782018-05-01 22:11:08660const char kEnableOverviewSwipeToCloseName[] =
661 "Enable overview swipe to close.";
662const char kEnableOverviewSwipeToCloseDescription[] =
663 "Enables closing of items in overview mode by dragging or flinging "
664 "vertically.";
665
kylechar7051c092018-02-05 20:31:39666const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
667const char kVizDisplayCompositorDescription[] =
668 "If enabled, the display compositor runs as part of the viz service in the"
669 "GPU process.";
670
Ria Jiang6a129b982018-03-01 18:30:40671const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
672const char kVizHitTestDrawQuadDescription[] =
673 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
674 "with hit-test data computed from the CompositorFrame.";
675
Erik Chen49bbfa22017-08-18 08:49:56676const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23677 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56678const char kEnableOutOfProcessHeapProfilingDescription[] =
679 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19680 "malloced objects. Heap dumps can be obtained at chrome://tracing "
681 "[category:memory-infra] and chrome://memory-internals. This setting "
682 "controls which processes are profiled. As long as this setting is not "
683 "disabled, users can start profiling any given process in "
684 "chrome://memory-internals.";
685const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
686const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
687const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
688const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
689const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10690const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19691 "None by default. Visit chrome://memory-internals to choose which "
692 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15693const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
694 "Profile a random sampling of renderer processes, ensuring only one is "
695 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19696
Erik Chen8bb76b52017-12-06 19:06:25697const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19698 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25699const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
700 "By default, small allocations are pruned from the heap dump. This reduces "
701 "the size of the compressed trace by 100x. If pruning is disabled, the "
702 "chrome://tracing UI may be unable to take or load the trace. Save the "
703 "trace directly using chrome://memory-internals, and use other mechanisms "
704 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
705 "automatically uploaded traces will always be pruned. This only affects "
706 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56707
erikchen8bc20d82018-02-14 03:21:51708const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
709const char kOutOfProcessHeapProfilingSamplingDescription[] =
710 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22711 "10000. This results in low noise for large and/or frequent allocations ["
712 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
713 "total size of malloc-ed objects] and large and/or frequent allocations "
714 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51715
Erik Chen3303fd0232018-01-11 20:29:05716const char kOOPHPStackModeName[] =
717 "The type of stack to record for memlog heap dumps";
718const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19719 "By default, memlog heap dumps record native stacks, which requires a "
720 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55721 "pointers to work on Android. Native with thread names will add the thread "
722 "name as the first frame of each native stack. It's also possible to "
723 "record a pseudo stack using trace events as identifiers. It's also "
724 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19725const char kOOPHPStackModeMixed[] = "Mixed";
726const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55727const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19728const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05729
François Beaufort2e75f492018-02-08 20:44:46730const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47731const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46732 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47733
F#m59d036e2017-09-13 07:22:17734const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
735const char kEnablePixelCanvasRecordingDescription[] =
736 "Pixel canvas recording allows the compositor to raster contents aligned "
737 "with the pixel and improves text rendering. This should be enabled when a "
738 "device is using fractional scale factor.";
739
Ella Gebee81c92018-08-14 15:51:09740const char kEnableResamplingInputEventsName[] =
741 "Enable resampling input events";
742const char kEnableResamplingInputEventsDescription[] =
743 "Predicts mouse and touch inputs position at rAF time based on previous "
744 "input";
745const char kEnableResamplingScrollEventsName[] =
746 "Enable resampling scroll events";
747const char kEnableResamplingScrollEventsDescription[] =
748 "Predicts the scroll amount at vsync time based on previous input";
749
vitaliiid36191b2018-06-11 07:40:49750extern const char kEnableSyncUserConsentSeparateTypeName[] =
751 "Enable separate sync type for consents";
752extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
753 "Emit user consents as a separate sync type instead of user events.";
754
Mohamed Amir Yosef0178fa892018-07-23 17:43:52755const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
756const char kEnableSyncUSSBookmarksDescription[] =
757 "Enables the new, experimental implementation of bookmark sync";
758
Mikel Astiz38837f82018-04-24 22:23:23759const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
760const char kEnableSyncUSSSessionsDescription[] =
761 "Enables the new, experimental implementation of session sync (aka tab "
762 "sync).";
763
Brett Wilsonf27ff602017-07-07 22:28:47764const char kEnableTokenBindingName[] = "Token Binding.";
765const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
766
767const char kEnableUseZoomForDsfName[] =
768 "Use Blink's zoom for device scale factor.";
769const char kEnableUseZoomForDsfDescription[] =
770 "If enabled, Blink uses its zooming mechanism to scale content for device "
771 "scale factor.";
772const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
773const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
774const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
775
Patrick Noland8ee016e2018-01-24 11:44:53776const char kEnableScrollAnchorSerializationName[] =
777 "Scroll Anchor Serialization";
778const char kEnableScrollAnchorSerializationDescription[] =
779 "Save the scroll anchor and use it to restore the scroll position when "
780 "navigating.";
781
Brad Nelson5cd500e2018-01-04 00:50:19782const char kEnableSharedArrayBufferName[] =
783 "Experimental enabled SharedArrayBuffer support in JavaScript.";
784const char kEnableSharedArrayBufferDescription[] =
785 "Enable SharedArrayBuffer support in JavaScript.";
786
Brett Wilsonf27ff602017-07-07 22:28:47787const char kEnableWasmName[] = "WebAssembly structured cloning support.";
788const char kEnableWasmDescription[] =
789 "Enable web pages to use WebAssembly structured cloning.";
790
Kim Paulhamusae635a32018-06-27 07:30:54791const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
792const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47793 "Enable Web Authentication API support.";
794
795extern const char kEnableWebAuthenticationCableSupportName[] =
796 "Web Authentication caBLE support";
797extern const char kEnableWebAuthenticationCableSupportDescription[] =
798 "Enable the cloud-assisted pairingless BLE protocol for use with "
799 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54800
Brett Wilsonf27ff602017-07-07 22:28:47801const char kEnableImageCaptureAPIName[] = "Image Capture API";
802const char kEnableImageCaptureAPIDescription[] =
803 "Enables the Web Platform Image Capture API: takePhoto(), "
804 "getPhotoCapabilities(), etc.";
805
806const char kEnableZeroSuggestRedirectToChromeName[] =
807 "Experimental contextual omnibox suggestion";
808const char kEnableZeroSuggestRedirectToChromeDescription[] =
809 "Change omnibox contextual suggestions to an experimental source. Note "
810 "that this is not an on/off switch for contextual omnibox and it only "
811 "applies to suggestions provided before the user starts typing a URL or a "
812 "search query (i.e. zero suggest).";
813
814const char kEnableWasmStreamingName[] =
815 "WebAssembly streaming compile/instantiate support.";
816const char kEnableWasmStreamingDescription[] =
817 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
818
Clemens Hammacher0c8a15a2018-04-27 13:45:32819const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
820const char kEnableWasmBaselineDescription[] =
821 "Enables WebAssembly baseline compilation and tier up.";
822
Ben Smith24c1e5c2018-06-20 01:09:02823const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
824const char kEnableWasmThreadsDescription[] =
825 "Enables support for the WebAssembly Threads proposal. Implies "
826 "#shared-array-buffer and #enable-webassembly.";
827
Brett Wilsonf27ff602017-07-07 22:28:47828const char kExpensiveBackgroundTimerThrottlingName[] =
829 "Throttle expensive background timers";
830const char kExpensiveBackgroundTimerThrottlingDescription[] =
831 "Enables intervention to limit CPU usage of background timers to 1%.";
832
833const char kExperimentalAppBannersName[] = "Experimental app banners";
834const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38835 "Enables a new experimental app banner flow and UI. Implies "
836 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47837
838const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
839const char kExperimentalCanvasFeaturesDescription[] =
840 "Enables the use of experimental canvas features which are still in "
841 "development.";
842
Nicholas Verneccd8259802018-02-22 01:22:04843const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
844const char kExperimentalCrostiniUIDescription[] =
845 "Enables in-development Crostini features.";
846
Brett Wilsonf27ff602017-07-07 22:28:47847const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
848const char kExperimentalExtensionApisDescription[] =
849 "Enables experimental extension APIs. Note that the extension gallery "
850 "doesn't allow you to upload extensions that use experimental APIs.";
851
852const char kExperimentalFullscreenExitUIName[] =
853 "Experimental fullscreen exit UI";
854const char kExperimentalFullscreenExitUIDescription[] =
855 "Displays experimental UI to allow mouse and touch input methods to exit "
856 "fullscreen mode.";
857
Ian Clelland37a985d2018-05-04 02:43:13858const char kExperimentalProductivityFeaturesName[] =
859 "Experimental Productivity Features";
860const char kExperimentalProductivityFeaturesDescription[] =
861 "Enable support for experimental developer productivity features, such as "
862 "Layered APIs and policies for avoiding slow rendering.";
863
Brett Wilsonf27ff602017-07-07 22:28:47864const char kExperimentalSecurityFeaturesName[] =
865 "Potentially annoying security features";
866const char kExperimentalSecurityFeaturesDescription[] =
867 "Enables several security features that will likely break one or more "
868 "pages that you visit on a daily basis. Strict mixed content checking, for "
869 "example. And locking powerful features to secure contexts. This flag will "
870 "probably annoy you.";
871
872const char kExperimentalWebPlatformFeaturesName[] =
873 "Experimental Web Platform features";
874const char kExperimentalWebPlatformFeaturesDescription[] =
875 "Enables experimental Web Platform features that are in development.";
876
877const char kExtensionContentVerificationName[] =
878 "Extension Content Verification";
879const char kExtensionContentVerificationDescription[] =
880 "This flag can be used to turn on verification that the contents of the "
881 "files on disk for extensions from the webstore match what they're "
882 "expected to be. This can be used to turn on this feature if it would not "
883 "otherwise have been turned on, but cannot be used to turn it off (because "
884 "this setting can be tampered with by malware).";
885const char kExtensionContentVerificationBootstrap[] =
886 "Bootstrap (get expected hashes, but do not enforce them)";
887const char kExtensionContentVerificationEnforce[] =
888 "Enforce (try to get hashes, and enforce them if successful)";
889const char kExtensionContentVerificationEnforceStrict[] =
890 "Enforce strict (hard fail if we can't get hashes)";
891
892const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
893const char kExtensionsOnChromeUrlsDescription[] =
894 "Enables running extensions on chrome:// URLs, where extensions explicitly "
895 "request this permission.";
galinapae72e152017-05-12 13:12:28896
Brett Wilsonecb80982017-07-12 20:34:51897const char kFastUnloadName[] = "Fast tab/window close";
898const char kFastUnloadDescription[] =
899 "Enables fast tab/window closing - runs a tab's onunload js handler "
900 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34901
Brett Wilsonecb80982017-07-12 20:34:51902const char kFeaturePolicyName[] = "Feature Policy";
903const char kFeaturePolicyDescription[] =
904 "Enables granting and removing access to features through the "
905 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34906
Brett Wilsonecb80982017-07-12 20:34:51907const char kFontCacheScalingName[] = "FontCache scaling";
908const char kFontCacheScalingDescription[] =
909 "Reuse a cached font in the renderer to serve different sizes of font for "
910 "faster layout.";
911
912const char kForceEffectiveConnectionTypeName[] =
913 "Override effective connection type";
914const char kForceEffectiveConnectionTypeDescription[] =
915 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30916 "returned by the network quality estimator. Slow 2G on Cellular returns "
917 "Slow 2G when connected to a cellular network, and the actual estimate "
918 "effective connection type when not on a cellular network. Previews are "
919 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51920const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
921const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
922const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30923const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
924 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51925const char kEffectiveConnectionType2GDescription[] = "2G";
926const char kEffectiveConnectionType3GDescription[] = "3G";
927const char kEffectiveConnectionType4GDescription[] = "4G";
928
929const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
930const char kFillOnAccountSelectDescription[] =
931 "Filling of passwords when an account is explicitly selected by the user "
932 "rather than autofilling credentials on page load.";
933
Brett Wilsonecb80982017-07-12 20:34:51934const char kForceTextDirectionName[] = "Force text direction";
935const char kForceTextDirectionDescription[] =
936 "Explicitly force the per-character directionality of UI text to "
937 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
938 "direction of the character language.";
939const char kForceDirectionLtr[] = "Left-to-right";
940const char kForceDirectionRtl[] = "Right-to-left";
941
942const char kForceUiDirectionName[] = "Force UI direction";
943const char kForceUiDirectionDescription[] =
944 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
945 "mode, overriding the default direction of the UI language.";
946
947const char kFramebustingName[] =
948 "Framebusting requires same-origin or a user gesture";
949const char kFramebustingDescription[] =
950 "Don't permit an iframe to navigate the top level browsing context unless "
951 "they are same-origin or the iframe is processing a user gesture.";
952
953const char kGamepadExtensionsName[] = "Gamepad Extensions";
954const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22955 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06956const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48957const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06958 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48959 "the polling rate improves the average latency of button and axis inputs "
960 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58961const char kGamepadVibrationName[] = "Gamepad Vibration";
962const char kGamepadVibrationDescription[] =
963 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51964
Brett Wilsonecb80982017-07-12 20:34:51965const char kGpuRasterizationMsaaSampleCountName[] =
966 "GPU rasterization MSAA sample count.";
967const char kGpuRasterizationMsaaSampleCountDescription[] =
968 "Specify the number of MSAA samples for GPU rasterization.";
969const char kGpuRasterizationMsaaSampleCountZero[] = "0";
970const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
971const char kGpuRasterizationMsaaSampleCountFour[] = "4";
972const char kGpuRasterizationMsaaSampleCountEight[] = "8";
973const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
974
975const char kGpuRasterizationName[] = "GPU rasterization";
976const char kGpuRasterizationDescription[] =
977 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28978const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51979
980const char kGoogleProfileInfoName[] = "Google profile name and icon";
981const char kGoogleProfileInfoDescription[] =
982 "Enables using Google information to populate the profile name and icon in "
983 "the avatar menu.";
984
985const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
986const char kHarfbuzzRendertextDescription[] =
987 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
988 "web content.";
989
Takumi Fujimotofb71e332018-03-31 14:04:08990const char kViewsCastDialogName[] = "Views Cast dialog";
991const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31992 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53993 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54994 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:08995
Manu Cornet4a908de2018-04-09 04:32:27996const char kHideActiveAppsFromShelfName[] =
997 "Hide running apps (that are not pinned) from the shelf";
998const char kHideActiveAppsFromShelfDescription[] =
999 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251000
Brett Wilsonecb80982017-07-12 20:34:511001const char kHistoryRequiresUserGestureName[] =
1002 "New history entries require a user gesture.";
1003const char kHistoryRequiresUserGestureDescription[] =
1004 "Require a user gesture to add a history entry.";
1005const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1006const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1007
Ryan Landay4242dbc22018-04-04 01:47:331008const char kHorizontalTabSwitcherAndroidName[] =
1009 "Enable horizontal tab switcher";
1010const char kHorizontalTabSwitcherAndroidDescription[] =
1011 "Changes the layout of the Android tab switcher so tabs scroll "
1012 "horizontally instead of vertically.";
1013
Brett Wilsonecb80982017-07-12 20:34:511014const char kHostedAppQuitNotificationName[] =
1015 "Quit notification for hosted apps";
1016const char kHostedAppQuitNotificationDescription[] =
1017 "Display a notification when quitting Chrome if hosted apps are currently "
1018 "running.";
1019
1020const char kHostedAppShimCreationName[] =
1021 "Creation of app shims for hosted apps on Mac";
1022const char kHostedAppShimCreationDescription[] =
1023 "Create app shims on Mac when creating a hosted app.";
1024
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481025const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1026const char kHtmlBasedUsernameDetectorDescription[] =
1027 "Use HTML-based username detector for the password manager.";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kIconNtpName[] = "Large icons on the New Tab page";
1030const char kIconNtpDescription[] =
1031 "Enable the experimental New Tab page using large icons.";
1032
Mustafa Emre Acer9f169912018-07-23 22:40:131033const char kIdnNavigationSuggestionsName[] =
1034 "Navigation suggestions for internationalized domain names";
1035const char kIdnNavigationSuggestionsDescription[] =
1036 "Enable navigation suggestions for internationalized domain names that are "
1037 "visually similar to popular domains.";
1038
Brett Wilsonecb80982017-07-12 20:34:511039const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1040const char kIgnoreGpuBlacklistDescription[] =
1041 "Overrides the built-in software rendering list and enables "
1042 "GPU-acceleration on unsupported system configurations.";
1043
Ryan Sturm8c3dbc92018-06-26 19:22:371044const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441045const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371046 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441047
Claudio Magni61c210922017-12-28 00:29:511048const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1049const char kImprovedLanguageSettingsDescription[] =
1050 "Set of changes for Language Settings. These changes are intended to fix "
1051 "the major bugs related to Language Settings.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1054const char kInProductHelpDemoModeChoiceDescription[] =
1055 "Selects the In-Product Help demo mode.";
1056
1057const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1058const char kJavascriptHarmonyDescription[] =
1059 "Enable web pages to use experimental JavaScript features.";
1060
1061const char kJavascriptHarmonyShippingName[] =
1062 "Latest stable JavaScript features";
1063const char kJavascriptHarmonyShippingDescription[] =
1064 "Some web pages use legacy or non-standard JavaScript extensions that may "
1065 "conflict with the latest JavaScript features. This flag allows disabling "
1066 "support of those features for compatibility with such pages.";
1067
gogeraldfd7675d2018-06-19 22:57:351068const char kJustInTimeServiceWorkerPaymentAppName[] =
1069 "Just-in-time service worker payment app";
1070const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1071 "Allow crawling just-in-time service worker payment app when there is no "
1072 "installed service worker payment app for a payment request.";
1073
Yutaka Hiranof7f2f632017-09-06 10:40:081074const char kKeepAliveRendererForKeepaliveRequestsName[] =
1075 "Keep a renderer alive for keepalive fetch requests";
1076const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1077 "Keep a render process alive when the process has a pending fetch request "
1078 "with `keepalive' specified.";
1079
Joe Downing095fd6d2018-02-01 18:40:361080const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1081const char kKeyboardLockApiDescription[] =
1082 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1083 "specific key events and have them routed directly to the webpage when in "
1084 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1085
Brett Wilsonecb80982017-07-12 20:34:511086const char kLcdTextName[] = "LCD text antialiasing";
1087const char kLcdTextDescription[] =
1088 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1089 "(subpixel) when doing accelerated compositing.";
1090
Matt Giucac399982f2017-10-06 07:51:291091const char kLeftToRightUrlsName[] =
1092 "Render bidirectional URLs from left to right";
1093const char kLeftToRightUrlsDescription[] =
1094 "An experimental Bidi URL rendering algorithm where the URL components are "
1095 "always shown in order from left to right, regardless of any RTL "
1096 "characters. (The contents of each component are still rendered with the "
1097 "normal Bidi algorithm.)";
1098
Brett Wilsonecb80982017-07-12 20:34:511099const char kLoadMediaRouterComponentExtensionName[] =
1100 "Load Media Router Component Extension";
1101const char kLoadMediaRouterComponentExtensionDescription[] =
1102 "Loads the Media Router component extension at startup.";
1103
spqchanb87755692018-04-05 00:46:091104const char kMacViewsAutofillPopupName[] =
1105 "Uses the Views Autofill Popup on Mac";
1106const char kMacViewsAutofillPopupDescription[] =
1107 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321108
Brett Wilsonecb80982017-07-12 20:34:511109const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1110const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511111
Lei Zhang2eca9082017-10-17 20:42:501112const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1113const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511114 "If enabled, the Incognito New Tab page uses the new material design with "
1115 "a better readable text.";
1116
spqchanb87755692018-04-05 00:46:091117const char kMediaRouterCastAllowAllIPsName[] =
1118 "Connect to Cast devices on all IP addresses";
1119const char kMediaRouterCastAllowAllIPsDescription[] =
1120 "Have the Media Router connect to Cast devices on all IP addresses, not "
1121 "just RFC1918/RFC4913 private addresses.";
1122
Brett Wilsonecb80982017-07-12 20:34:511123const char kMemoryCoordinatorName[] = "Memory coordinator";
1124const char kMemoryCoordinatorDescription[] =
1125 "Enable memory coordinator instead of memory pressure listeners.";
1126
1127const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1128const char kMessageCenterNewStyleNotificationDescription[] =
1129 "Enables the experiment style of material-design notification";
1130
Brett Wilsonecb80982017-07-12 20:34:511131const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1132const char kMhtmlGeneratorOptionDescription[] =
1133 "Provides experimental options for MHTML file generator.";
1134const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1135const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1136
Kouhei Ueno08445c22017-09-05 03:58:301137const char kModuleScriptsDynamicImportName[] =
1138 "Enable ECMAScript 6 modules dynamic import";
1139const char kModuleScriptsDynamicImportDescription[] =
1140 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1141 "Blink.";
1142
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051143const char kModuleScriptsImportMetaUrlName[] =
1144 "Enable ECMAScript 6 modules import.meta.url";
1145const char kModuleScriptsImportMetaUrlDescription[] =
1146 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1147 "Blink.";
1148
Brett Wilsonecb80982017-07-12 20:34:511149const char kNewAudioRenderingMixingStrategyName[] =
1150 "New audio rendering mixing strategy";
1151const char kNewAudioRenderingMixingStrategyDescription[] =
1152 "Use the new audio rendering mixing strategy.";
1153
1154const char kNewBookmarkAppsName[] = "The new bookmark app system";
1155const char kNewBookmarkAppsDescription[] =
1156 "Enables the new system for creating bookmark apps.";
1157
Vadym Doroshenkocd4ff782018-07-24 13:41:021158const char kNewPasswordFormParsingName[] =
1159 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241160const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021161 "Replaces existing form parsing for filling in password manager with a new "
1162 "version, currently under development. WARNING: when enabled, Password "
1163 "Manager might stop working";
1164
1165const char kNewPasswordFormParsingForSavingName[] =
1166 "New password form parsing for saving passwords";
1167const char kNewPasswordFormParsingForSavingDescription[] =
1168 "Replaces existing form parsing for saving in password manager with a new "
1169 "version, currently under development. WARNING: when enabled, Password "
1170 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241171
Brett Wilsonecb80982017-07-12 20:34:511172const char kNewRemotePlaybackPipelineName[] =
1173 "Enable the new remote playback pipeline.";
1174const char kNewRemotePlaybackPipelineDescription[] =
1175 "Enable the new pipeline for playing media element remotely via "
1176 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501177const char kUseSurfaceLayerForVideoName[] =
1178 "Enable the use of SurfaceLayer objects for videos.";
1179const char kUseSurfaceLayerForVideoDescription[] =
1180 "Enable compositing onto a Surface instead of a VideoLayer "
1181 "for videos.";
CJ DiMeglioe6e258a2018-08-10 21:41:571182const char kUseSurfaceLayerForVideoMSName[] =
1183 "Enable the use of SurfaceLayer objects for media stream videos.";
1184const char kUseSurfaceLayerForVideoMSDescription[] =
1185 "Enable compositing onto a Surface instead of a VideoLayer "
1186 "for media stream videos.";
Brett Wilsonecb80982017-07-12 20:34:511187
1188const char kNewUsbBackendName[] = "Enable new USB backend";
1189const char kNewUsbBackendDescription[] =
1190 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341191
Sonny Sasaka2d200432018-03-22 17:43:161192const char kNewblueName[] = "Newblue";
1193const char kNewblueDescription[] =
1194 "Enables the use of newblue Bluetooth daemon.";
1195
Peter Kasting63097912018-06-30 02:09:031196const char kNewTabButtonPosition[] = "New tab button position";
1197const char kNewTabButtonPositionDescription[] =
1198 "Controls placement of the new tab button within the tabstrip.";
1199const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1200const char kNewTabButtonPositionLeading[] = "Leading";
1201const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1202const char kNewTabButtonPositionTrailing[] = "Trailing";
1203
Egor Pasko6fed3822018-05-30 10:33:141204const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341205const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141206 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341207
Alex Newcomerd7b0cc42018-05-25 22:58:481208const char kNotificationIndicatorName[] = "Notification Indicators";
1209const char kNotificationIndicatorDescription[] =
1210 "Enable notification indicators, which appear on app icons when a "
1211 "notification is active. This will also enable notifications in context "
1212 "menus.";
1213
Brett Wilsonecb80982017-07-12 20:34:511214const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1215const char kNotificationsNativeFlagDescription[] =
1216 "Enable support for using the native notification toasts and notification "
1217 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341218
Zentaro Kavanaghbad511c2017-10-18 22:29:001219#if defined(OS_POSIX)
1220const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1221const char kNtlmV2EnabledDescription[] =
1222 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1223#endif
1224
Ramya Nagarajane9f16b82018-05-03 01:05:341225const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1226const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301227 "Allow selection of a custom background image on the New Tab Page. "
1228 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341229
kristipark037abce12018-07-13 19:49:301230const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1231const char kNtpCustomLinksDescription[] =
1232 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1233 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1234
1235const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341236const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301237 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1238 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341239
1240const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1241const char kNtpUIMdDescription[] =
1242 "Updates the New Tab Page with Material Design elements.";
1243
Brett Wilsonecb80982017-07-12 20:34:511244const char kNumRasterThreadsName[] = "Number of raster threads";
1245const char kNumRasterThreadsDescription[] =
1246 "Specify the number of raster threads.";
1247const char kNumRasterThreadsOne[] = "1";
1248const char kNumRasterThreadsTwo[] = "2";
1249const char kNumRasterThreadsThree[] = "3";
1250const char kNumRasterThreadsFour[] = "4";
1251
1252const char kOfferStoreUnmaskedWalletCardsName[] =
1253 "Google Payments card saving checkbox";
1254const char kOfferStoreUnmaskedWalletCardsDescription[] =
1255 "Show the checkbox to offer local saving of a credit card downloaded from "
1256 "the server.";
1257
1258const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1259const char kOfflineAutoReloadDescription[] =
1260 "Pages that fail to load while the browser is offline will be "
1261 "auto-reloaded when the browser is online again.";
1262
1263const char kOfflineAutoReloadVisibleOnlyName[] =
1264 "Only Auto-Reload Visible Tabs";
1265const char kOfflineAutoReloadVisibleOnlyDescription[] =
1266 "Pages that fail to load while the browser is offline will only be "
1267 "auto-reloaded if their tab is visible.";
1268
Brett Wilsonecb80982017-07-12 20:34:511269const char kOmniboxDisplayTitleForCurrentUrlName[] =
1270 "Include title for the current URL in the omnibox";
1271const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1272 "In the event that the omnibox provides suggestions on-focus, the URL of "
1273 "the current page is provided as the first suggestion without a title. "
1274 "Enabling this flag causes the title to be displayed.";
1275
Benoit Lizeab08362c2017-07-19 14:50:541276const char kOmniboxSpareRendererName[] =
1277 "Start spare renderer on omnibox focus";
1278const char kOmniboxSpareRendererDescription[] =
1279 "When the omnibox is focused, start an empty spare renderer. This can "
1280 "speed up the load of the navigation from the omnibox.";
1281
Tommy C. Li8875a442017-08-23 00:10:591282const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1283 "Omnibox UI Elide Suggestion URL After Host";
1284const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1285 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1286 "dropdown.";
1287
Tommy C. Lid79d4402017-12-22 22:49:121288const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1289 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1290const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1291 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221292 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1293 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121294
Tommy C. Licc5e53022018-07-27 16:30:351295const char kOmniboxUIJogTextfieldOnPopupName[] =
1296 "Omnibox UI Jog Textfield on Popup";
1297const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1298 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1299 "text when the popup is opened. When this feature is disabled, the "
1300 "textfield is always aligned with the suggestions text, and a separator "
1301 "fills the gap. If Material Refresh is disabled, this has no effect.";
1302
Brett Wilsonecb80982017-07-12 20:34:511303const char kOmniboxUIMaxAutocompleteMatchesName[] =
1304 "Omnibox UI Max Autocomplete Matches";
1305
1306const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1307 "Changes the maximum number of autocomplete matches displayed in the "
1308 "Omnibox UI.";
1309
Justin Donnelly65c9e8b2017-10-01 05:15:011310const char kOmniboxUIShowSuggestionFaviconsName[] =
1311 "Omnibox UI Show Suggestion Favicons";
1312const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1313 "Shows favicons instead of generic vector icons for URL suggestions in the "
1314 "Omnibox dropdown.";
1315
1316const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1317const char kOmniboxUISwapTitleAndUrlDescription[] =
1318 "In the omnibox dropdown, shows titles before URLs when both are "
1319 "available.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1322const char kOmniboxUIVerticalMarginDescription[] =
1323 "Changes the vertical margin in the Omnibox UI.";
1324
Troy Hildebrandtb32637ca2018-02-21 23:25:091325const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1326 "Omnibox Voice Search Always Visible";
1327const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1328 "Always displays voice search icon in focused omnibox as long as voice "
1329 "search is possible";
1330
Adrienne Walkerc87477e2018-06-06 22:28:211331const char kOopRasterizationName[] = "Out of process rasterization";
1332const char kOopRasterizationDescription[] =
1333 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1334 "Must also enable GPU rasterization";
1335
Brett Wilsonecb80982017-07-12 20:34:511336const char kOriginTrialsName[] = "Origin Trials";
1337const char kOriginTrialsDescription[] =
1338 "Enables origin trials for controlling access to feature/API experiments.";
1339
Becca Hughes930d8cd2017-10-02 11:09:121340const char kOverflowIconsForMediaControlsName[] =
1341 "Icons on Media Controls Overflow Menu";
1342const char kOverflowIconsForMediaControlsDescription[] =
1343 "Displays icons on the overflow menu of the native media controls";
1344
Brett Wilsonecb80982017-07-12 20:34:511345const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1346const char kOverlayScrollbarsDescription[] =
1347 "Enable the experimental overlay scrollbars implementation. You must also "
1348 "enable threaded compositing to have the scrollbars animate.";
1349
chaopenge8aa016b2017-08-24 15:20:191350const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1351 "Flash Overlay Scrollbars After Any Scroll Update";
1352const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1353 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1354 " must also enable Overlay Scrollbars.";
1355
chaopeng343678022017-08-24 18:45:001356const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1357 "Flash Overlay Scrollbars When Mouse Enter";
1358const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1359 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1360 " enable Overlay Scrollbars.";
1361
Daniele Castagna74ddb9c2018-06-21 22:59:021362const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1363const char kOverlayStrategiesDescription[] =
1364 "Select strategies used to promote quads to HW overlays.";
1365const char kOverlayStrategiesDefault[] = "Default";
1366const char kOverlayStrategiesNone[] = "None";
1367const char kOverlayStrategiesUnoccludedFullscreen[] =
1368 "Unoccluded fullscreen buffers (single-fullscreen)";
1369const char kOverlayStrategiesUnoccluded[] =
1370 "Unoccluded buffers (single-fullscreen,single-on-top)";
1371const char kOverlayStrategiesOccludedAndUnoccluded[] =
1372 "Occluded and unoccluded buffers "
1373 "(single-fullscreen,single-on-top,underlay)";
1374
Claudio Magni81326f92017-09-01 05:21:181375const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1376const char kUseNewAcceptLanguageHeaderDescription[] =
1377 "Adds the base language code after other corresponding language+region "
1378 "codes. This ensures that users receive content in their preferred "
1379 "language.";
1380
Brett Wilsonecb80982017-07-12 20:34:511381const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1382const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481383 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511384const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481385const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511386
1387const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1388const char kOverscrollStartThresholdDescription[] =
1389 "Changes overscroll start threshold relative to the default value.";
1390const char kOverscrollStartThreshold133Percent[] = "133%";
1391const char kOverscrollStartThreshold166Percent[] = "166%";
1392const char kOverscrollStartThreshold200Percent[] = "200%";
1393
chaopenge2b6e5f2018-05-08 16:40:451394const char kTouchpadOverscrollHistoryNavigationName[] =
1395 "Overscroll history navigation on Touchpad";
1396const char kTouchpadOverscrollHistoryNavigationDescription[] =
1397 "Allows swipe left/right from touchpad change browser navigation.";
1398
Xing Liu5400a002017-09-15 21:48:291399const char kParallelDownloadingName[] = "Parallel downloading";
1400const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061401 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291402
Brett Wilsonecb80982017-07-12 20:34:511403const char kPassiveEventListenerDefaultName[] =
1404 "Passive Event Listener Override";
1405const char kPassiveEventListenerDefaultDescription[] =
1406 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1407 "haven't requested otherwise) to be treated as passive. This will break "
1408 "touch/wheel behavior on some websites but is useful for demonstrating the "
1409 "potential performance benefits of adopting passive event listeners.";
1410const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1411const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1412
1413const char kPassiveEventListenersDueToFlingName[] =
1414 "Touch Event Listeners Passive Default During Fling";
1415const char kPassiveEventListenersDueToFlingDescription[] =
1416 "Forces touchstart, and first touchmove per scroll event listeners during "
1417 "fling to be treated as passive.";
1418
1419const char kPassiveDocumentEventListenersName[] =
1420 "Document Level Event Listeners Passive Default";
1421const char kPassiveDocumentEventListenersDescription[] =
1422 "Forces touchstart, and touchmove event listeners on document level "
1423 "targets (which haven't requested otherwise) to be treated as passive.";
1424
Sahel Sharify7400e882018-08-13 17:13:211425const char kPassiveDocumentWheelEventListenersName[] =
1426 "Document Level Wheel Event Listeners Passive Default";
1427const char kPassiveDocumentWheelEventListenersDescription[] =
1428 "Forces wheel, and mousewheel event listeners on document level targets "
1429 "(which haven't requested otherwise) to be treated as passive.";
1430
Brett Wilsonecb80982017-07-12 20:34:511431const char kPasswordForceSavingName[] = "Force-saving of passwords";
1432const char kPasswordForceSavingDescription[] =
1433 "Allow the user to manually enforce password saving instead of relying on "
1434 "password manager's heuristics.";
1435
Vaclav Brozekd8a3f542017-11-16 14:21:131436const char kPasswordExportName[] = "Password export";
1437const char kPasswordExportDescription[] =
1438 "Export functionality in password settings.";
1439
1440const char kPasswordImportName[] = "Password import";
1441const char kPasswordImportDescription[] =
1442 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511443
Friedrich Horschig03c91982018-01-25 14:21:281444const char kPasswordSearchMobileName[] = "Password search";
1445const char kPasswordSearchMobileDescription[] =
1446 "Search functionality in password settings.";
1447
Friedrich Horschige6c27742018-04-23 17:13:411448const char kPasswordsKeyboardAccessoryName[] =
1449 "Add password-related functions to keyboard accessory";
1450const char kPasswordsKeyboardAccessoryDescription[] =
1451 "Adds password generation button and toggle for the passwords bottom sheet "
1452 "to the keyboard accessory. Replaces password generation popups.";
1453
Christos Froussios6e060c42018-07-31 16:17:191454const char kPasswordsMigrateLinuxToLoginDBName[] =
1455 "Migrate passwords to \"Login Data\"";
1456const char kPasswordsMigrateLinuxToLoginDBDescription[] =
1457 "Performs a one-off migration (with retries) of passwords from the "
1458 "gnome-keyring or kwallet into the profile directory.";
1459
Tom Sepez92a2cd242018-03-13 19:23:091460const char kPdfIsolationName[] = "PDF Isolation";
1461const char kPdfIsolationDescription[] =
1462 "Render PDF files from different origins in different plugin processes.";
1463
Brett Wilsonecb80982017-07-12 20:34:511464const char kPinchScaleName[] = "Pinch scale";
1465const char kPinchScaleDescription[] =
1466 "Enables experimental support for scale using pinch.";
1467
Doug Arnett620ff542018-02-06 17:54:221468const char kPreviewsAllowedName[] = "Previews Allowed";
1469const char kPreviewsAllowedDescription[] =
1470 "Allows previews to be shown subject to specific preview types being "
1471 "enabled and the client experiencing specific triggering conditions. "
1472 "May be used as a kill-switch to turn off all potential preview types.";
1473
Brett Wilsonecb80982017-07-12 20:34:511474const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1475const char kPrintPdfAsImageDescription[] =
1476 "If enabled, an option to print PDF files as images will be available in "
1477 "print preview.";
1478
1479const char kPrintPreviewRegisterPromosName[] =
1480 "Print Preview Registration Promos";
1481const char kPrintPreviewRegisterPromosDescription[] =
1482 "Enable registering unregistered cloud printers from print preview.";
1483
1484const char kProtectSyncCredentialName[] = "Autofill sync credential";
1485const char kProtectSyncCredentialDescription[] =
1486 "How the password manager handles autofill for the sync credential.";
1487
1488const char kProtectSyncCredentialOnReauthName[] =
1489 "Autofill sync credential only for transactional reauth pages";
1490const char kProtectSyncCredentialOnReauthDescription[] =
1491 "How the password manager handles autofill for the sync credential only "
1492 "for transactional reauth pages.";
1493
Mohsen Izadi93faac12017-07-29 04:45:151494const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1495const char kPullToRefreshDescription[] =
1496 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011497const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151498
Troy Hildebrandt7228ad12018-02-23 21:18:241499const char kQueryInOmniboxName[] = "Query in Omnibox";
1500const char kQueryInOmniboxDescription[] =
1501 "Only display query terms in the omnibox when viewing a search results "
1502 "page.";
1503
Brett Wilsonecb80982017-07-12 20:34:511504const char kQuicName[] = "Experimental QUIC protocol";
1505const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1506
Emily Starke8878d52018-05-11 21:27:261507const char kRecurrentInterstitialName[] =
1508 "Show a message when the same SSL error recurs";
1509const char kRecurrentInterstitialDescription[] =
1510 "Enable a special message on the SSL certificate error page when the same "
1511 "SSL error occurs repeatedly.";
1512
Brett Wilsonecb80982017-07-12 20:34:511513const char kReducedReferrerGranularityName[] =
1514 "Reduce default 'referer' header granularity.";
1515const char kReducedReferrerGranularityDescription[] =
1516 "If a page hasn't set an explicit referrer policy, setting this flag will "
1517 "reduce the amount of information in the 'referer' header for cross-origin "
1518 "requests.";
1519
Claudio Magnie0a80bb2018-01-31 02:52:581520extern const char kRegionalLocalesAsDisplayUIName[] =
1521 "Allow regional locales as display UI";
1522extern const char kRegionalLocalesAsDisplayUIDescription[] =
1523 "This flag allows regional locales to be selected as display UI by the "
1524 "user in Language Settings. The actual locale of the system is derived "
1525 "from the user selection based on some simple fallback logic.";
1526
Christian Dullweber1af31e62018-02-22 11:49:481527const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141528 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481529const char kRemoveNavigationHistoryDescription[] =
1530 "Remove a navigation entry when the corresponding history entry has been "
1531 "deleted.";
1532
Mihai Sardarescu6d0f5b72017-10-30 11:24:381533const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1534 "Remove usage of the deprecated GAIA sign-in endpoint";
1535const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1536 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1537 "This flags controls wheter it should no longer be used during a sign-in "
1538 " flow.";
1539
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351540const char kRendererSideResourceSchedulerName[] =
1541 "Renderer side ResourceScheduler";
1542const char kRendererSideResourceSchedulerDescription[] =
1543 "Migrate some ResourceScheduler functionalities to renderer";
1544
Brett Wilsonecb80982017-07-12 20:34:511545const char kRequestTabletSiteName[] =
1546 "Request tablet site option in the settings menu";
1547const char kRequestTabletSiteDescription[] =
1548 "Allows the user to request tablet site. Web content is often optimized "
1549 "for tablet devices. When this option is selected the user agent string is "
1550 "changed to indicate a tablet device. Web content optimized for tablets is "
1551 "received there after for the current tab.";
1552
1553const char kResetAppListInstallStateName[] =
1554 "Reset the App Launcher install state on every restart.";
1555const char kResetAppListInstallStateDescription[] =
1556 "Reset the App Launcher install state on every restart. While this flag is "
1557 "set, Chrome will forget the launcher has been installed each time it "
1558 "starts. This is used for testing the App Launcher install flow.";
1559
Kinuko Yasuda33955082018-06-19 10:14:591560const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511561const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591562 "Uses the resource load scheduler in blink to throttle resource load "
1563 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511564
Brett Wilsonecb80982017-07-12 20:34:511565const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1566const char kSafeSearchUrlReportingDescription[] =
1567 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1568
Alexei Filippov98772752018-01-27 08:26:521569const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1570const char kSamplingHeapProfilerDescription[] =
1571 "Enables native memory sampling profiler with specified rate in KiB. "
1572 "If sampling rate is not provided the default value of 128 KiB is used.";
1573
Brett Wilsonecb80982017-07-12 20:34:511574const char kSaveasMenuLabelExperimentName[] =
1575 "Switch 'Save as' menu labels to 'Download'";
1576const char kSaveasMenuLabelExperimentDescription[] =
1577 "Enables an experiment to switch menu labels that use 'Save as...' to "
1578 "'Download'.";
1579
1580const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1581const char kSavePageAsMhtmlDescription[] =
1582 "Enables saving pages as MHTML: a single text file containing HTML and all "
1583 "sub-resources.";
1584
Nate Chapin9638e7102017-09-20 22:11:011585const char kSavePreviousDocumentResourcesName[] =
1586 "Save Previous Document Resources";
1587const char kSavePreviousDocumentResourcesDescription[] =
1588 "Saves an old document's cached resources until the specified point in the "
1589 "next document's lifecycle.";
1590const char kSavePreviousDocumentResourcesNever[] =
1591 "Don't explicitly save resources";
1592const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1593 "Save resources until onDOMContentLoaded completes";
1594const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1595 "Save resources until onload completes";
1596
gogeraldd5061b592017-09-06 23:39:551597const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1598const char kServiceWorkerPaymentAppsDescription[] =
1599 "Enable Service Worker applications to integrate as payment apps";
1600
Makoto Shimazu22078cc2018-02-21 03:01:441601extern const char kServiceWorkerServicificationName[] =
1602 "Servicified service workers";
1603extern const char kServiceWorkerServicificationDescription[] =
1604 "Enable the servicified service workers. A servicified service worker can "
1605 "have direct connection from its clients, so that fetch events can be "
1606 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171607
Tsuyoshi Horobcb1c642017-11-24 16:32:141608const char kServiceWorkerScriptFullCodeCacheName[] =
1609 "Service worker script full code cache.";
1610const char kServiceWorkerScriptFullCodeCacheDescription[] =
1611 "Generate V8 full code cache of Service Worker scripts while installing.";
1612
Brett Wilsonecb80982017-07-12 20:34:511613const char kSettingsWindowName[] = "Show settings in a window";
1614const char kSettingsWindowDescription[] =
1615 "Settings will be shown in a dedicated window instead of as a browser tab.";
1616
Manu Cornetd7ef7c52018-05-01 22:08:231617const char kShelfHoverPreviewsName[] =
1618 "Show previews of running apps when hovering over the shelf.";
1619const char kShelfHoverPreviewsDescription[] =
1620 "Shows previews of the open windows for a given running app when hovering "
1621 "over the shelf.";
1622
Manu Cornet683e14b2018-07-16 17:39:431623const char kShelfNewUiName[] = "Newest shelf redesign.";
1624const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1625
Trent Apted750ba7022017-10-23 13:36:251626const char kShowAllDialogsWithViewsToolkitName[] =
1627 "Show all dialogs with Views toolkit";
1628const char kShowAllDialogsWithViewsToolkitDescription[] =
1629 "All browser dialogs will be shown using the Views toolkit rather than "
1630 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1631
Naoki Fukino008a0022018-05-23 18:33:001632const char kShowAndroidFilesInFilesAppName[] =
1633 "Show Android files in Files app";
1634const char kShowAndroidFilesInFilesAppDescription[] =
1635 "Show Android files in Files app if Android is enabled on the device.";
1636
Luciano Pachecoa0e2753f2018-07-16 07:41:101637const char kFilesAppDisableMyFilesNavigationName[] =
1638 "Disable the My Files on the navigation in the Files app";
1639const char kFilesAppDisableMyFilesNavigationDescription[] =
1640 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511641 R"("My Files" root for Downloads, Linux and Play files)";
1642
Brett Wilsonecb80982017-07-12 20:34:511643const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1644const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381645 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1646 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511647
1648const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1649const char kShowAutofillTypePredictionsDescription[] =
1650 "Annotates web forms with Autofill field type predictions as placeholder "
1651 "text.";
1652
1653const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1654const char kShowOverdrawFeedbackDescription[] =
1655 "Visualize overdraw by color-coding elements based on if they have other "
1656 "elements drawn underneath.";
1657
Carlos IL89128732018-04-03 17:00:251658const char kSupervisedUserCommittedInterstitialsName[] =
1659 "Enable Supervised User Committed Interstitials";
1660const char kSupervisedUserCommittedInterstitialsDescription[] =
1661 "Use committed error pages instead of transient navigation entries for "
1662 "supervised user interstitials";
1663
yiyixbdfa9a0b2017-10-23 22:21:471664const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1665const char kEnableDrawOcclusionDescription[] =
1666 "Enable the system to use draw occlusion to skip draw quads when they are "
1667 "not shown on the screen.";
1668
Brett Wilsonecb80982017-07-12 20:34:511669const char kShowSavedCopyName[] = "Show Saved Copy Button";
1670const char kShowSavedCopyDescription[] =
1671 "When a page fails to load, if a stale copy of the page exists in the "
1672 "browser cache, a button will be presented to allow the user to load that "
1673 "stale copy. The primary enabling choice puts the button in the most "
1674 "salient position on the error page; the secondary enabling choice puts it "
1675 "secondary to the reload button.";
1676const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1677const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1678const char kDisableShowSavedCopy[] = "Disable";
1679
Brett Wilsonecb80982017-07-12 20:34:511680const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1681const char kSilentDebuggerExtensionApiDescription[] =
1682 "Do not show the infobar when an extension attaches to a page via "
1683 "chrome.debugger API. This is required to debug extension background "
1684 "pages.";
1685
Tsuyoshi Horo53895ba92018-03-14 04:06:481686const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1687const char kSignedHTTPExchangeDescription[] =
1688 "Enables Origin-Signed HTTP Exchanges support which is still in "
1689 "development. Warning: Enabling this may pose a security risk.";
1690
Brett Wilsonecb80982017-07-12 20:34:511691const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1692const char kSimpleCacheBackendDescription[] =
1693 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1694 "disk space allocation.";
1695
Christopher Thompson75ff845d2018-02-01 20:12:461696const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1697const char kSimplifyHttpsIndicatorDescription[] =
1698 "Change the UI treatment for HTTPS pages.";
1699
Brett Wilsonecb80982017-07-12 20:34:511700const char kSingleClickAutofillName[] = "Single-click autofill";
1701const char kSingleClickAutofillDescription[] =
1702 "Make autofill suggestions on initial mouse click on a form element.";
1703
Bret Sepulveda4f891da2018-07-16 19:10:301704const char kSingleTabMode[] = "Single-tab mode";
1705const char kSingleTabModeDescription[] =
1706 "Windows with a single tab receive a special, minimal visual treatment.";
1707
Nick Carter855bc492018-03-10 00:44:571708const char kStrictSiteIsolationName[] = "Strict site isolation";
1709const char kStrictSiteIsolationDescription[] =
1710 "Security mode that enables site isolation for all sites. When enabled, "
1711 "each renderer process will contain pages from at most one site, using "
1712 "out-of-process iframes when needed. When enabled, this flag forces the "
1713 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1714 "isolation mode will be determined by enterprise policy or field trial.";
1715
1716const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1717const char kSiteIsolationTrialOptOutDescription[] =
1718 "Opts out of field trials that enable site isolation modes "
1719 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1720 "may be due to out-of-process iframes. Opt-out has no effect if site "
1721 "isolation is force-enabled via #enable-site-per-process or enterprise "
1722 "policy. Caution: this disables important mitigations for the Spectre CPU "
1723 "vulnerability affecting most computers.";
1724extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1725extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1726 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511727
Pattideade7972018-04-27 02:59:401728const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511729const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401730 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511731
Brett Wilsonecb80982017-07-12 20:34:511732const char kSmoothScrollingName[] = "Smooth Scrolling";
1733const char kSmoothScrollingDescription[] =
1734 "Animate smoothly when scrolling page content.";
1735
1736const char kSoftwareRasterizerName[] = "3D software rasterizer";
1737const char kSoftwareRasterizerDescription[] =
1738 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1739
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201740const char kSoleIntegrationName[] = "Sole integration";
1741const char kSoleIntegrationDescription[] =
1742 "Enable Sole integration for browser customization. You must restart "
1743 "the browser twice for changes to take effect.";
1744
Tommy Steimel77704be2017-08-28 22:14:401745const char kSoundContentSettingName[] = "Sound content setting";
1746const char kSoundContentSettingDescription[] =
1747 "Enable site-wide muting in content settings and tab strip context menu.";
1748
Alexandr Ilinf0500ed32017-09-27 21:12:361749const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1750const char kSpeculativePreconnectDescription[] =
1751 "Enable the new implementation of preconnect and DNS preresolve. "
1752 "\"Learning\" means that only database construction is enabled, "
1753 "\"Preconnect\" enables both learning and preconnect and disables the "
1754 "existing implementation. \"No preconnect\" disables both implementations.";
1755
Brett Wilsonecb80982017-07-12 20:34:511756const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341757const char kSpeculativePrefetchDescription[] =
1758 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1759 R"*(load times, based on a local database (see chrome://predictors). )*"
1760 R"*("Learning" means that only the database construction is enabled, )*"
1761 R"*("Prefetching" that learning and prefetching are enabled.)*";
1762
Justin Donnelly4e448cb2017-07-07 21:32:131763const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1764 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131765const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1766 "If enabled, when the user enters text in the omnibox that looks like a "
1767 "a query, any service worker associated with the search engine the query "
1768 "will be sent to is started early.";
1769
Brett Wilsonecb80982017-07-12 20:34:511770const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1771const char kSpellingFeedbackFieldTrialDescription[] =
1772 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401773
Carlos ILe5fa0a12018-08-03 16:08:321774const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1775const char kSSLCommittedInterstitialsDescription[] =
1776 "Use committed error pages instead of transient navigation entries "
1777 "for SSL interstitial error pages (i.e. certificate errors).";
1778
Shubhie Panickerfaf082ed2018-01-03 04:49:151779const char kStopInBackgroundName[] = "Stop in background";
1780const char kStopInBackgroundDescription[] =
1781 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281782 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151783
Shubhie Panicker56c99a22018-03-21 00:22:281784const char kStopNonTimersInBackgroundName[] =
1785 "Stop non-timer task queues background";
1786const char kStopNonTimersInBackgroundDescription[] =
1787 "Stop non-timer task queues, in the background, "
1788 "after a grace period.";
1789
Brett Wilsonecb80982017-07-12 20:34:511790const char kSuggestionsWithSubStringMatchName[] =
1791 "Substring matching for Autofill suggestions";
1792const char kSuggestionsWithSubStringMatchDescription[] =
1793 "Match Autofill suggestions based on substrings (token prefixes) rather "
1794 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341795
Marc Treibf65fb002018-08-03 11:17:161796const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1797const char kSyncStandaloneTransportDescription[] =
1798 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1799 "this mode, the Sync machinery can start without user opt-in, but only a "
1800 "subset of data types are supported.";
1801
Jan Krcale3641b92018-08-10 17:53:311802const char kSyncUSSAutofillWalletDataName[] =
1803 "Enable USS for autofill wallet data";
1804const char kSyncUSSAutofillWalletDataDescription[] =
1805 "Enables the new implementation of autofill walet data sync";
1806
Brett Wilsonecb80982017-07-12 20:34:511807const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1808const char kSyncSandboxDescription[] =
1809 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341810
Joe Downing8cbbc192018-05-14 17:37:071811const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1812const char kSystemKeyboardLockDescription[] =
1813 "Enables websites to use the keyboard.lock() API to intercept system "
1814 "keyboard shortcuts and have the events routed directly to the website "
1815 "when in fullscreen mode.";
1816
Brett Wilsonecb80982017-07-12 20:34:511817const char kTabAudioMutingName[] = "Tab audio muting UI control";
1818const char kTabAudioMutingDescription[] =
1819 "When enabled, the audio indicators in the tab strip double as tab audio "
1820 "mute controls. This also adds commands in the tab context menu for "
1821 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341822
Christian Dullweberd0d96f02017-09-13 09:22:511823const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1824const char kTabsInCbdDescription[] =
1825 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1826
Becky Zhou99c22802017-10-19 05:09:271827const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1828const char kTabModalJsDialogDescription[] =
1829 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1830 " tab.";
1831
Brett Wilsonecb80982017-07-12 20:34:511832const char kTcpFastOpenName[] = "TCP Fast Open";
1833const char kTcpFastOpenDescription[] =
1834 "Enable the option to send extra authentication information in the initial "
1835 "SYN packet for a previously connected client, allowing faster data send "
1836 "start.";
vabr0215a8e2017-03-28 12:47:341837
Daniele Castagna0fead93e2018-01-10 20:40:291838const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1839const char kTintGlCompositedContentDescription[] =
1840 "Tint contents composited using GL with a shade of red to help debug and "
1841 "study overlay support.";
1842
Brett Wilsonecb80982017-07-12 20:34:511843const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1844const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581845 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401846 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431847 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341848 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541849 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511850const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531851const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461852const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581853const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401854const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431855const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341856
Brett Wilsonecb80982017-07-12 20:34:511857const char kThreadedScrollingName[] = "Threaded scrolling";
1858const char kThreadedScrollingDescription[] =
1859 "Threaded handling of scroll-related input events. Disabling this will "
1860 "force all such scroll events to be handled on the main thread. Note that "
1861 "this can dramatically hurt scrolling performance of most websites and is "
1862 "intended for testing purposes only.";
1863
Steven Valdez4584b2482017-07-14 01:11:571864const char kTLS13VariantName[] = "TLS 1.3";
1865const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1866const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111867const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041868const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381869const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571870
Brett Wilsonecb80982017-07-12 20:34:511871const char kTopDocumentIsolationName[] = "Top document isolation";
1872const char kTopDocumentIsolationDescription[] =
1873 "Highly experimental performance mode where cross-site iframes are kept in "
1874 "a separate process from the top document. In this mode, iframes from "
1875 "different third-party sites will be allowed to share a process.";
1876
Dominick Ng8896b1cd2017-10-17 23:24:361877const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1878const char kTopSitesFromSiteEngagementDescription[] =
1879 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1880 "engagement.";
1881
Brett Wilsonecb80982017-07-12 20:34:511882const char kTouchAdjustmentName[] = "Touch adjustment";
1883const char kTouchAdjustmentDescription[] =
1884 "Refine the position of a touch gesture in order to compensate for touches "
1885 "having poor resolution compared to a mouse.";
1886
Alex Newcomerb3d3c972018-05-03 14:59:401887const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1888const char kTouchableAppContextMenuDescription[] =
1889 "Enable the touchable app context menu, which enlarges app context menus "
1890 "in the Launcher and Shelf to make room for new features.";
1891
Brett Wilsonecb80982017-07-12 20:34:511892const char kTouchDragDropName[] = "Touch initiated drag and drop";
1893const char kTouchDragDropDescription[] =
1894 "Touch drag and drop can be initiated through long press on a draggable "
1895 "element.";
1896
1897const char kTouchEventsName[] = "Touch Events API";
1898const char kTouchEventsDescription[] =
1899 "Force Touch Events API feature detection to always be enabled or "
1900 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291901 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511902
1903const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1904const char kTouchSelectionStrategyDescription[] =
1905 "Controls how text selection granularity changes when touch text selection "
1906 "handles are dragged. Non-default behavior is experimental.";
1907const char kTouchSelectionStrategyCharacter[] = "Character";
1908const char kTouchSelectionStrategyDirection[] = "Direction";
1909
1910const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1911const char kTraceUploadUrlDescription[] =
1912 "This is to be used in conjunction with the enable-navigation-tracing "
1913 "flag. Please select the label that best describes the recorded traces. "
1914 "This will choose the destination the traces are uploaded to. If you are "
1915 "not sure, select other. If left empty, no traces will be uploaded.";
1916const char kTraceUploadUrlChoiceOther[] = "Other";
1917const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1918const char kTraceUploadUrlChoiceQa[] = "QA";
1919const char kTraceUploadUrlChoiceTesting[] = "Testing";
1920
Anthony Vallee-Dubois265c5692018-06-01 15:57:141921const char kTranslateForceTriggerOnEnglishName[] =
1922 "Select which language model to use to trigger translate on English "
1923 "content";
1924const char kTranslateForceTriggerOnEnglishDescription[] =
1925 "Force the Translate Triggering on English pages experiment to be enabled "
1926 "with the selected language model active.";
1927
Philippe Hamel7fdaa452017-09-29 17:22:491928const char kTranslateRankerEnforcementName[] =
1929 "Enforce TranslateRanker decisions";
1930const char kTranslateRankerEnforcementDescription[] =
1931 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1932 "or not Translate UI should be triggered in a given context.";
1933
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161934const char kTranslateUIName[] = "Enable Translate";
1935const char kTranslateUIDescription[] =
1936 "Enable the Translate popup when visiting webpages in other languages.";
1937
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051938const char kTreatInsecureOriginAsSecureName[] =
1939 "Insecure origins treated as secure";
1940const char kTreatInsecureOriginAsSecureDescription[] =
1941 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1942 "supplied as a comma-separated list. For the definition of secure "
1943 "contexts, "
1944 "see https://w3c.github.io/webappsec-secure-contexts/";
1945
Brett Wilsonecb80982017-07-12 20:34:511946const char kTrySupportedChannelLayoutsName[] =
1947 "Causes audio output streams to check if channel layouts other than the "
1948 "default hardware layout are available.";
1949const char kTrySupportedChannelLayoutsDescription[] =
1950 "Causes audio output streams to check if channel layouts other than the "
1951 "default hardware layout are available. Turning this on will allow the OS "
1952 "to do stereo to surround expansion if supported. May expose third party "
1953 "driver bugs, use with caution.";
1954
David Roger6762a092018-01-31 15:55:071955const char kUnifiedConsentName[] = "Unified Consent";
1956const char kUnifiedConsentDescription[] =
1957 "Enables a unified management of user consent for privacy-related "
1958 "features. This includes new confirmation screens and improved settings "
1959 "pages.";
1960
Jérôme Lebelfe1b2e02018-08-03 12:26:201961const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1962const char kForceUnifiedConsentBumpDescription[] =
1963 "Force the unified consent bump UI to be shown on every start-up. This "
1964 "flag is for debug purpose, to test the UI.";
1965
Brett Wilsonecb80982017-07-12 20:34:511966const char kUiPartialSwapName[] = "Partial swap";
1967const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1968
Chris Pickel3a227ae62017-08-24 10:47:261969const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1970const char kUseDdljsonApiDescription[] =
1971 "Enables the new ddljson API to fetch Doodles for the NTP.";
1972
Becca Hughes59c05b42017-11-03 13:11:581973const char kUseModernMediaControlsName[] = "New Media Controls";
1974const char kUseModernMediaControlsDescription[] =
1975 "Enables the new style native media controls.";
1976
Wei Li790e7a8572018-03-23 01:31:551977const char kUsePdfCompositorServiceName[] =
1978 "Use PDF compositor service for printing";
1979const char kUsePdfCompositorServiceDescription[] =
1980 "When enabled, use PDF compositor service to composite and generate PDF "
1981 "files for printing. When site isolation is enabled, disabling this will "
1982 "not stop using PDF compositor service since the service is required for "
1983 "printing out-of-process iframes correctly.";
1984
Mustaq Ahmedc646c0a2017-10-20 20:08:301985const char kUserActivationV2Name[] = "User Activation v2";
1986const char kUserActivationV2Description[] =
1987 "Enable simple user activation for APIs that are otherwise controlled by "
1988 "user gesture tokens.";
1989
Brett Wilsonecb80982017-07-12 20:34:511990const char kUserConsentForExtensionScriptsName[] =
1991 "User consent for extension scripts";
1992const char kUserConsentForExtensionScriptsDescription[] =
1993 "Require user consent for an extension running a script on the page, if "
1994 "the extension requested permission to run on all urls.";
1995
1996const char kUseSuggestionsEvenIfFewFeatureName[] =
1997 "Disable minimum for server-side tile suggestions on NTP.";
1998const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1999 "Request server-side suggestions even if there are only very few of them "
2000 "and use them for tiles on the New Tab Page.";
2001
2002const char kV8CacheOptionsName[] = "V8 caching mode.";
2003const char kV8CacheOptionsDescription[] =
2004 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512005const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2006
Hitoshi Yoshida3e5db562017-09-11 02:31:082007const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2008const char kV8ContextSnapshotDescription[] =
2009 "Sets to use a snapshot to create V8 contexts in frame creation.";
2010
Michael Hablich896d52662017-10-23 15:59:572011const char kV8VmFutureName[] = "Future V8 VM features";
2012const char kV8VmFutureDescription[] =
2013 "This enables upcoming and experimental V8 VM features. "
2014 "This flag does not enable experimental JavaScript features.";
2015
Hannes Payer1130d5672018-06-05 07:37:312016const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2017const char kV8OrinocoDescription[] =
2018 "This enables the V8 Orinoco garbage collection features.";
2019
Brett Wilsonecb80982017-07-12 20:34:512020const char kVideoFullscreenOrientationLockName[] =
2021 "Lock screen orientation when playing a video fullscreen.";
2022const char kVideoFullscreenOrientationLockDescription[] =
2023 "Lock the screen orientation of the device to match video orientation when "
2024 "a video goes fullscreen. Only on phones.";
2025
2026const char kVideoRotateToFullscreenName[] =
2027 "Rotate-to-fullscreen gesture for videos.";
2028const char kVideoRotateToFullscreenDescription[] =
2029 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2030 "the video. Only on phones.";
2031
Elly Fong-Jonesf4c79502018-03-23 19:21:532032const char kViewsBrowserWindowsName[] =
2033 "Use Views browser windows instead of Cocoa.";
2034const char kViewsBrowserWindowsDescription[] =
2035 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
2036
Brett Wilsonecb80982017-07-12 20:34:512037const char kWalletServiceUseSandboxName[] =
2038 "Use Google Payments sandbox servers";
2039const char kWalletServiceUseSandboxDescription[] =
2040 "For developers: use the sandbox service for Google Payments API calls.";
2041
Brett Wilsonecb80982017-07-12 20:34:512042const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2043const char kWebglDraftExtensionsDescription[] =
2044 "Enabling this option allows web applications to access the WebGL "
2045 "Extensions that are still in draft status.";
2046
2047const char kWebMidiName[] = "Web MIDI API";
2048const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2049
2050const char kWebPaymentsName[] = "Web Payments";
2051const char kWebPaymentsDescription[] =
2052 "Enable Web Payments API integration, a JavaScript API for merchants.";
2053
Mathieu Perreault51339b82017-07-20 17:06:052054const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2055const char kWebPaymentsModifiersDescription[] =
2056 "If the website provides modifiers in the payment request, show the custom "
2057 "total for each payment instrument, update the shopping cart when "
2058 "instruments are switched, and send modified payment method specific data "
2059 "to the payment app.";
2060
Brett Wilsonecb80982017-07-12 20:34:512061const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2062const char kWebrtcEchoCanceller3Description[] =
2063 "Experimental WebRTC echo canceller (AEC3).";
2064
Alex Loikob5fb1282018-08-14 10:04:402065const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2066const char kWebrtcHybridAgcDescription[] =
2067 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2068
Brett Wilsonecb80982017-07-12 20:34:512069const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2070const char kWebrtcHwDecodingDescription[] =
2071 "Support in WebRTC for decoding video streams using platform hardware.";
2072
2073const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2074const char kWebrtcHwEncodingDescription[] =
2075 "Support in WebRTC for encoding video streams using platform hardware.";
2076
2077const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2078const char kWebrtcHwH264EncodingDescription[] =
2079 "Support in WebRTC for encoding h264 video streams using platform "
2080 "hardware.";
2081
2082const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2083const char kWebrtcHwVP8EncodingDescription[] =
2084 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2085
Niels Möller090866a2018-02-13 10:55:032086const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2087 "WebRTC new encode cpu load estimator";
2088const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2089 "Enable new estimator for the encoder cpu load, for evaluation and "
2090 "testing. Intended to improve accuracy when screen casting.";
2091
Elad Alon85e0d0be2018-06-26 10:38:372092const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2093const char kWebRtcRemoteEventLogDescription[] =
2094 "Allow collecting WebRTC event logs and uploading them to Crash. "
2095 "Please note that, even if enabled, this will still require "
2096 "a policy to be set, for it to have an effect.";
2097
Brett Wilsonecb80982017-07-12 20:34:512098const char kWebrtcSrtpAesGcmName[] =
2099 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2100const char kWebrtcSrtpAesGcmDescription[] =
2101 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2102
Joachim Bauch4a41d7512017-08-23 14:24:232103const char kWebrtcSrtpEncryptedHeadersName[] =
2104 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2105const char kWebrtcSrtpEncryptedHeadersDescription[] =
2106 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2107 "for SRTP.";
2108
Brett Wilsonecb80982017-07-12 20:34:512109const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2110const char kWebrtcStunOriginDescription[] =
2111 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2112 "header.";
2113
Adam Riceed63fc02018-06-20 05:57:462114const char kWebSocketHandshakeReuseConnectionName[] =
2115 "Enable WebSocket connection reuse for authentication";
2116const char kWebSocketHandshakeReuseConnectionDescription[] =
2117 "Permits the WebSocket handshake to keep the connection open after an "
2118 "authentication failure. The connection may be used for further requests "
2119 "to send credentials. This is sometimes needed for Windows authentication.";
2120
Brett Wilsonecb80982017-07-12 20:34:512121const char kWebvrName[] = "WebVR";
2122const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012123 "Enables access to experimental Virtual Reality functionality via the "
2124 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2125 "Device API. Warning: Enabling this will also allow WebVR content on "
2126 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222127 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512128
Brandon Jonese9d9b2b2017-12-11 22:20:112129const char kWebXrName[] = "WebXR Device API";
2130const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012131 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2132 "and Augmented Reality (AR) devices.";
2133
2134const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2135const char kWebXrGamepadSupportDescription[] =
2136 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222137 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2138 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432139
2140const char kWebXrHitTestName[] = "WebXR Hit Test";
2141const char kWebXrHitTestDescription[] =
2142 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112143
Anna Maria57ecf7592018-01-12 03:10:402144const char kWebXrOrientationSensorDeviceName[] =
2145 "WebXR orientation sensor device";
2146const char kWebXrOrientationSensorDeviceDescription[] =
2147 "When no VR platform device is available, expose a non-presenting device "
2148 "based on the device's orientation sensors, if available.";
2149
Brett Wilsonecb80982017-07-12 20:34:512150const char kWifiCredentialSyncName[] = "WiFi credential sync";
2151const char kWifiCredentialSyncDescription[] =
2152 "Enables synchronizing WiFi network settings across devices. When enabled, "
2153 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2154 "credentials are synchronized subject to user preferences. (See also, "
2155 "chrome://settings/syncSetup.)";
2156
2157const char kZeroCopyName[] = "Zero-copy rasterizer";
2158const char kZeroCopyDescription[] =
2159 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342160
Brett Wilsonff596952017-07-14 01:06:552161// Android ---------------------------------------------------------------------
2162
2163#if defined(OS_ANDROID)
2164
2165const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2166const char kAiaFetchingDescription[] =
2167 "Enable intermediate certificate fetching when a server does not provide "
2168 "sufficient certificates to build a chain to a trusted root.";
2169
2170const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2171const char kAccessibilityTabSwitcherDescription[] =
2172 "Enable the accessibility tab switcher for Android.";
2173
2174const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2175const char kAndroidAutofillAccessibilityDescription[] =
2176 "Enable accessibility for autofill popup.";
2177
Anita Woodruffbfcd1e52018-07-16 12:00:512178const char kAppNotificationStatusMessagingName[] =
2179 "App notification status messaging";
2180const char kAppNotificationStatusMessagingDescription[] =
2181 "Enables messaging in site permissions UI informing user when "
2182 "notifications are disabled for the entire app.";
2183
Brett Wilsonff596952017-07-14 01:06:552184const char kAndroidPaymentAppsName[] = "Android payment apps";
2185const char kAndroidPaymentAppsDescription[] =
2186 "Enable third party Android apps to integrate as payment apps";
2187
Miriam Gershenson8cf1397222018-01-23 22:48:292188const char kAsyncDnsName[] = "Async DNS resolver";
2189const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2190
Brett Wilsonff596952017-07-14 01:06:552191const char kAutofillAccessoryViewName[] =
2192 "Autofill suggestions as keyboard accessory view";
2193const char kAutofillAccessoryViewDescription[] =
2194 "Shows Autofill suggestions on top of the keyboard rather than in a "
2195 "dropdown.";
2196
2197const char kBackgroundLoaderForDownloadsName[] =
2198 "Enables background downloading of pages.";
2199const char kBackgroundLoaderForDownloadsDescription[] =
2200 "Enables downloading pages in the background in case page is not yet "
2201 "loaded in current tab.";
2202
Tibor Goldschwendt11b3cf22018-07-04 15:32:442203const char kBackgroundTaskComponentUpdateName[] =
2204 "Background Task Component Updates";
2205const char kBackgroundTaskComponentUpdateDescription[] =
2206 "Schedule component updates with BackgroundTaskScheduler";
2207
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002208const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2209const char kCCTModuleDescription[] =
2210 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2211
Matthew Jones1abcb132018-07-09 17:59:462212const char kChromeDuetName[] = "Chrome Duet";
2213const char kChromeDuetDescription[] =
2214 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052215
Brett Wilsonff596952017-07-14 01:06:552216const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2217const char kChromeHomeSwipeLogicDescription[] =
2218 "Various swipe logic options for Chrome Home for sheet expansion.";
2219const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152220const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552221
Theresa8e44a7132018-06-15 17:40:592222const char kChromeModernAlternateCardLayoutName[] =
2223 "Chrome Modern Alternate Card Layout";
2224const char kChromeModernAlternateCardLayoutDescription[] =
2225 "Enable the alternate card layout for Chrome Modern Design.";
2226
Matthew Jones5b7f1d62018-01-23 00:37:252227const char kChromeModernDesignName[] = "Chrome Modern Design";
2228const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452229 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2230 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252231
Donn Denman3e78c8d2018-06-28 22:51:422232const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2233const char kChromeModernFullRollDescription[] =
2234 "Enable modern full-roll animation for Chrome.";
2235
Megan Jablonskic61eb1b82017-10-02 18:03:062236const char kChromeMemexName[] = "Chrome Memex";
2237const char kChromeMemexDescription[] =
2238 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2239 "Googlers.";
2240
Sarath Singapati83aef1c2017-11-16 15:54:522241const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2242const char kClearOldBrowsingDataDescription[] =
2243 "Enables clearing of browsing data which is older than a given time "
2244 "period.";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kContentSuggestionsCategoryOrderName[] =
2247 "Default content suggestions category order (e.g. on NTP)";
2248const char kContentSuggestionsCategoryOrderDescription[] =
2249 "Set default order of content suggestion categories (e.g. on the NTP).";
2250
2251const char kContentSuggestionsCategoryRankerName[] =
2252 "Content suggestions category ranker (e.g. on NTP)";
2253const char kContentSuggestionsCategoryRankerDescription[] =
2254 "Set category ranker to order categories of content suggestions (e.g. on "
2255 "the NTP).";
2256
Vitalii Iarkof52ff802017-09-14 12:34:242257const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2258const char kContentSuggestionsDebugLogDescription[] =
2259 "Enable content suggestions debug log accessible through "
2260 "snippets-internals.";
2261
Donn Denman8e58ead2017-11-04 01:44:012262const char kContextualSearchMlTapSuppressionName[] =
2263 "Contextual Search ML tap suppression";
2264const char kContextualSearchMlTapSuppressionDescription[] =
2265 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022266 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2267 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552268
2269const char kContextualSearchName[] = "Contextual Search";
2270const char kContextualSearchDescription[] =
2271 "Whether or not Contextual Search is enabled.";
2272
Donn Denman59729812018-01-09 01:27:022273const char kContextualSearchRankerQueryName[] =
2274 "Contextual Search Ranker prediction";
2275const char kContextualSearchRankerQueryDescription[] =
2276 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2277
2278const char kContextualSearchSecondTapName[] =
2279 "Contextual Search second tap triggering";
2280const char kContextualSearchSecondTapDescription[] =
2281 "Enables triggering on a second tap gesture even when Ranker would "
2282 "normally suppress that tap.";
2283
Donn Denmane9b5b7fb2018-07-24 22:19:492284const char kContextualSearchUnityIntegrationName[] =
2285 "Contextual Search integration with Unified Consent";
2286const char kContextualSearchUnityIntegrationDescription[] =
2287 "Enables integration of Tap to Search with Unified Consent.";
2288
Cathy Li2fb32bf82018-06-06 18:55:402289const char kExploreSitesName[] = "Explore websites";
2290const char kExploreSitesDescription[] =
2291 "Enables portal from new tab page to explore websites.";
2292
Dmitry Skiba9c3efa72017-07-20 22:01:142293const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2294const char kDontPrefetchLibrariesDescription[] =
2295 "Don't prefetch libraries after loading.";
2296
Joy Ming5fd29ca62017-10-02 22:51:222297const char kDownloadsForegroundName[] = "Enable downloads foreground";
2298const char kDownloadsForegroundDescription[] =
2299 "Enable downloads as a foreground service for all versions of Android.";
2300
Joy Ming189b0cc2017-12-08 19:42:432301const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2302const char kDownloadsLocationChangeDescription[] =
2303 "Enable changing default downloads storage location on Android.";
2304
Shakti Sahu32b2ee102018-05-17 00:04:462305const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2306const char kDownloadProgressInfoBarDescription[] =
2307 "Enables an infobar notifying users about status of current downloads.";
2308
Shakti Sahu9ec8cfd2018-07-17 13:29:292309const char kDownloadHomeV2Name[] = "Enable download home v2";
2310const char kDownloadHomeV2Description[] =
2311 "Enables the new UI for download home";
2312
Brett Wilsonff596952017-07-14 01:06:552313const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2314const char kEnableAndroidPayIntegrationV1Description[] =
2315 "Enable integration with Android Pay using the first version of the API";
2316
2317const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2318const char kEnableAndroidPayIntegrationV2Description[] =
2319 "Enable integration with Android Pay using the second version of the API";
2320
Vitalii Iarkof4ed32d2017-09-26 13:15:532321const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552322const char kEnableAndroidSpellcheckerDescription[] =
2323 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552324
Lei Tianbd5a3bf2018-02-28 19:01:162325const char kEnableCommandLineOnNonRootedName[] =
2326 "Enable command line on non-rooted devices";
2327const char kEnableCommandLineOnNoRootedDescription[] =
2328 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2329
Vitalii Iarkof4ed32d2017-09-26 13:15:532330const char kEnableContentSuggestionsNewFaviconServerName[] =
2331 "Get favicons for content suggestions from a new server.";
2332const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2333 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2334 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552335
2336const char kEnableContentSuggestionsSettingsName[] =
2337 "Show content suggestions settings.";
2338const char kEnableContentSuggestionsSettingsDescription[] =
2339 "If enabled, the content suggestions settings will be available from the "
2340 "main settings menu.";
2341
Vitalii Iarkof4ed32d2017-09-26 13:15:532342const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2343 "Use content suggestions thumbnail dominant color.";
2344const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2345 "Use content suggestions thumbnail dominant color as a placeholder before "
2346 "the real thumbnail is fetched (requires Chrome Home).";
2347
Brett Wilsonff596952017-07-14 01:06:552348const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2349const char kEnableCustomContextMenuDescription[] =
2350 "Enables a new context menu when a link, image, or video is pressed within "
2351 "Chrome.";
2352
2353const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2354const char kEnableCustomFeedbackUiDescription[] =
2355 "Enables a custom feedback UI when submitting feedback through Google "
2356 "Feedback. Works with Google Play Services v10.2+";
2357
2358const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472359 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552360const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472361 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552362
Becca Hughes6d73bac542018-06-18 20:38:502363const char kEnableMediaControlsExpandGestureName[] =
2364 "Enable Media Controls Expand Gesture";
2365const char kEnableMediaControlsExpandGestureDescription[] =
2366 "Enables a gesture to be used on the media controls to extend the video "
2367 "into the Display Cutout area.";
2368
Brett Wilsonff596952017-07-14 01:06:552369const char kEnableOmniboxClipboardProviderName[] =
2370 "Omnibox clipboard URL suggestions";
2371const char kEnableOmniboxClipboardProviderDescription[] =
2372 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2373 "focus in the omnibox.";
2374
Becky Zhoua7f11d62018-02-01 16:02:532375const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2376 "Show article suggestions expandable header on New Tab Page";
2377const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2378 "If enabled, the article suggestions content on New Tab Page can be "
2379 "toggled shown or hidden by clicking the expandable header.";
2380
Brett Wilsonff596952017-07-14 01:06:552381const char kEnableNtpAssetDownloadSuggestionsName[] =
2382 "Show asset downloads on the New Tab page";
2383const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2384 "If enabled, the list of content suggestions on the New Tab page will "
2385 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2386 "later use.";
2387
2388const char kEnableNtpBookmarkSuggestionsName[] =
2389 "Show recently visited bookmarks on the New Tab page";
2390const char kEnableNtpBookmarkSuggestionsDescription[] =
2391 "If enabled, the list of content suggestions on the New Tab page will "
2392 "contain recently visited bookmarks.";
2393
2394const char kEnableNtpForeignSessionsSuggestionsName[] =
2395 "Show recent foreign tabs on the New Tab page";
2396const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2397 "If enabled, the list of content suggestions on the New Tab page will "
2398 "contain recent foreign tabs.";
2399
Brett Wilsonff596952017-07-14 01:06:552400const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2401 "Show offline page downloads on the New Tab page";
2402const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2403 "If enabled, the list of content suggestions on the New Tab page will "
2404 "contain pages that the user downloaded for later use.";
2405
2406const char kEnableNtpRemoteSuggestionsName[] =
2407 "Show server-side suggestions on the New Tab page";
2408const char kEnableNtpRemoteSuggestionsDescription[] =
2409 "If enabled, the list of content suggestions on the New Tab page will "
2410 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2411 "allows to override the source used to retrieve these server-side "
2412 "suggestions.";
2413
2414const char kEnableNtpSnippetsVisibilityName[] =
2415 "Make New Tab Page Snippets more visible.";
2416const char kEnableNtpSnippetsVisibilityDescription[] =
2417 "If enabled, the NTP snippets will become more discoverable with a larger "
2418 "portion of the first card above the fold.";
2419
2420const char kEnableNtpSuggestionsNotificationsName[] =
2421 "Notify about new content suggestions available at the New Tab page";
2422const char kEnableNtpSuggestionsNotificationsDescription[] =
2423 "If enabled, notifications will inform about new content suggestions on "
2424 "the New Tab page.";
2425
Brett Wilsonff596952017-07-14 01:06:552426const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2427const char kEnableOfflinePreviewsDescription[] =
2428 "Enable showing offline page previews on slow networks.";
2429
2430const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2431const char kEnableOskOverscrollDescription[] =
2432 "Enable OSK overscroll support. With this flag on, the OSK will only "
2433 "resize the visual viewport.";
2434
2435const char kEnableSpecialLocaleName[] =
2436 "Enable custom logic for special locales.";
2437const char kEnableSpecialLocaleDescription[] =
2438 "Enable custom logic for special locales. In this mode, Chrome might "
2439 "behave differently in some locales.";
2440
Brett Wilsonff596952017-07-14 01:06:552441const char kEnableWebNfcName[] = "WebNFC";
2442const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2443
gogeraldf3cbb422017-07-26 14:37:122444const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2445 "Enable Web Payments method section order V2.";
2446const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2447 "Enable this option to display payment method section above address "
2448 "section instead of below it.";
2449
Raymes Khoury582b43132017-12-12 23:54:302450const char kGrantNotificationsToDSEName[] =
2451 "Grant notifications to the Default Search Engine";
2452const char kGrantNotificationsToDSENameDescription[] =
2453 "Automatically grant the notifications permission to the Default Search "
2454 "Engine";
2455
Daniel Parke74fcf862018-03-27 18:05:452456const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512457const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452458
Yafei Duanbb7663f32018-07-17 01:33:152459const char kHomepageTileName[] =
2460 "Enable Homepage tile shown in Suggested Tiles";
2461const char kHomepageTileDescription[] =
2462 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2463 "used for homepage. It will not have an effect when NTPButton is disabled.";
2464
Jian Li4b252642018-07-23 19:49:072465const char kIncognitoStringsName[] = "Alternate incognito strings";
2466const char kIncognitoStringsDescription[] =
2467 "Show alternate incognito strings if enabled.";
2468
Theresa920e0ed2018-03-07 18:12:442469const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152470 "Use the interest feed to render content suggestions. Currently "
2471 "content "
Theresa920e0ed2018-03-07 18:12:442472 "suggestions are shown on the New Tab Page.";
2473const char kInterestFeedContentSuggestionsName[] =
2474 "Interest Feed Content Suggestions";
2475
Brett Wilsonff596952017-07-14 01:06:552476const char kKeepPrefetchedContentSuggestionsName[] =
2477 "Keep prefetched content suggestions";
2478const char kKeepPrefetchedContentSuggestionsDescription[] =
2479 "If enabled, some of prefetched content suggestions are not replaced by "
2480 "the new fetched suggestions.";
2481
Leo Zhang051b75482017-12-20 03:28:302482const char kLanguagesPreferenceName[] = "Language Settings";
2483const char kLanguagesPreferenceDescription[] =
2484 "Enable this option for Language Settings feature on Android.";
2485
Charlie Ma8c2846e2018-07-27 18:44:392486const char kLongPressBackForHistoryName[] =
2487 "Long Press Back Button for History";
2488const char kLongPressBackForHistoryDescription[] =
2489 "Long press system back button to show navigation history if enabled";
2490
Charlie Ma85b22bdb2018-08-01 03:50:452491const char kLongPressBackNewDesignName[] = "Long Press Back New Design";
2492const char kLongPressBackNewDesignDescription[] =
2493 "Long press system back button to show material design refreshed navigation"
2494 " popup if enabled";
2495
Brett Wilsonff596952017-07-14 01:06:552496const char kLsdPermissionPromptName[] =
2497 "Location Settings Dialog Permission Prompt";
2498const char kLsdPermissionPromptDescription[] =
2499 "Whether to use the Google Play Services Location Settings Dialog "
2500 "permission dialog.";
2501
Amirhossein Simjour97b4154f2018-02-20 03:49:592502const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2503const char kModalPermissionDialogViewDescription[] =
2504 "Enable this option to use ModalDialogManager for permission Dialogs.";
2505
Brett Wilsonff596952017-07-14 01:06:552506const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2507const char kMediaScreenCaptureDescription[] =
2508 "Enable this option for experimental ScreenCapture feature on Android.";
2509
2510const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2511const char kModalPermissionPromptsDescription[] =
2512 "Whether to use permission dialogs in place of permission infobars.";
2513
Finnur Thorarinssonc1488fc62018-07-09 19:21:572514const char kNewContactsPickerName[] = "Enable new contacts picker";
2515const char kNewContactsPickerDescription[] =
2516 "Activates the new picker for selecting contacts.";
2517
Dan Harrington541db9e2018-07-30 18:36:302518const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2519const char kNewNetErrorPageUIDescription[] =
2520 "Selects which new UI experience to show on the net-error (Dino) page";
2521
Brett Wilsonff596952017-07-14 01:06:552522const char kNewPhotoPickerName[] = "Enable new Photopicker";
2523const char kNewPhotoPickerDescription[] =
2524 "Activates the new picker for selecting photos.";
2525
2526const char kNoCreditCardAbort[] = "No Credit Card Abort";
2527const char kNoCreditCardAbortDescription[] =
2528 "Whether or not the No Credit Card Abort is enabled.";
2529
Daniel Park990d0992018-05-18 22:12:512530const char kNtpButtonName[] = "Enable NTP Button";
2531const char kNtpButtonDescription[] =
2532 "Displays a New Tab Page button in the toolbar if enabled.";
2533
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062534const char kNtpModernLayoutName[] = "Modern NTP layout";
2535const char kNtpModernLayoutDescription[] =
2536 "Show a modern layout on the New Tab Page.";
2537
Brett Wilsonff596952017-07-14 01:06:552538const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2539const char kNtpGoogleGInOmniboxDescription[] =
2540 "Show a Google G in the omnibox on the New Tab Page.";
2541
Brett Wilsonff596952017-07-14 01:06:552542const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2543const char kOfflineBookmarksDescription[] =
2544 "Enable saving bookmarked pages for offline viewing.";
2545
Jian Li1413ebf2018-06-14 20:46:322546const char kOfflineIndicatorName[] = "Enable offline indicator";
2547const char kOfflineIndicatorDescription[] =
2548 "Enable showing offline indicator while offline.";
2549
Brett Wilsonff596952017-07-14 01:06:552550const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2551const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2552
2553const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2554const char kOfflinePagesCtV2Description[] =
2555 "V2 features include attributing pages to the app that initiated the "
2556 "custom tabs, and being able to query for pages by page attribution.";
2557
Cathy Li7311d792018-04-05 00:34:162558const char kOfflinePagesCTSuppressNotificationsName[] =
2559 "Disable download complete notification for whitelisted CCT apps.";
2560const char kOfflinePagesCTSuppressNotificationsDescription[] =
2561 "Disable download complete notification for page downloads originating "
2562 "from a CCT app whitelisted to show their own download complete "
2563 "notification.";
2564
Candice Sy74fa7a352018-03-30 23:46:492565const char kOfflinePagesDescriptiveFailStatusName[] =
2566 "Enables descriptive failed download status text.";
2567const char kOfflinePagesDescriptiveFailStatusDescription[] =
2568 "Enables failed download status text in notifications and Downloads Home "
2569 "to state the reason the request failed if the failure is actionable.";
2570
2571const char kOfflinePagesDescriptivePendingStatusName[] =
2572 "Enables descriptive pending download status text.";
2573const char kOfflinePagesDescriptivePendingStatusDescription[] =
2574 "Enables pending download status text in notifications and Downloads Home "
2575 "to state the reason the request is pending.";
2576
2577const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2578 "Enables offline pages in the downloads home to be opened in CCT.";
2579const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2580 "When enabled offline pages launched from the Downloads Home will be "
2581 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2582
Carlos Knippschild09272ecd2017-12-09 03:29:362583const char kOfflinePagesLimitlessPrefetchingName[] =
2584 "Removes resource usage limits for the prefetching of offline pages.";
2585const char kOfflinePagesLimitlessPrefetchingDescription[] =
2586 "Allows the prefetching of suggested offline pages to ignore resource "
2587 "usage limits. This allows it to completely ignore data usage limitations "
2588 "and allows downloads to happen with any kind of connection.";
2589
Brett Wilsonff596952017-07-14 01:06:552590const char kOfflinePagesLoadSignalCollectingName[] =
2591 "Enables collecting load timing data for offline page snapshots.";
2592const char kOfflinePagesLoadSignalCollectingDescription[] =
2593 "Enables loading completeness data collection while writing an offline "
2594 "page. This data is collected in the snapshotted offline page to allow "
2595 "data analysis to improve deciding when to make the offline snapshot.";
2596
2597const char kOfflinePagesPrefetchingName[] =
2598 "Enables suggested offline pages to be prefetched.";
2599const char kOfflinePagesPrefetchingDescription[] =
2600 "Enables suggested offline pages to be prefetched, so useful content is "
2601 "available while offline.";
2602
Pete Williamson7845dff2017-09-20 11:06:192603const char kOfflinePagesResourceBasedSnapshotName[] =
2604 "Enables offline page snapshots to be based on percentage of page loaded.";
2605const char kOfflinePagesResourceBasedSnapshotDescription[] =
2606 "Enables offline page snapshots to use a resource percentage based "
2607 "approach for determining when the page is loaded as opposed to a time "
2608 "based approach";
2609
Collin Baker17f92a52017-07-19 21:41:252610const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2611const char kOfflinePagesRenovationsDescription[] =
2612 "Enables offline page renovations which correct issues with dynamic "
2613 "content that occur when offlining pages that use JavaScript.";
2614
Brett Wilsonff596952017-07-14 01:06:552615const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2616const char kOfflinePagesSharingDescription[] =
2617 "Enables the saved offline pages to be shared via other applications.";
2618
Yafei Duan36b4b5b2018-08-07 00:40:032619const char kOfflinePagesLivePageSharingName[] =
2620 "Enables live page sharing of offline pages";
2621const char kOfflinePagesLivePageSharingDescription[] =
2622 "Enables to share current loaded page as offline page by saving as MHTML "
2623 "first.";
2624
Cathy Lie0d88762018-04-12 08:03:012625const char kOfflinePagesShowAlternateDinoPageName[] =
2626 "Enable alternate dino page with more user capabilities.";
2627const char kOfflinePagesShowAlternateDinoPageDescription[] =
2628 "Enables the dino page to show more buttons and offer existing offline "
2629 "content.";
2630
Brett Wilsonff596952017-07-14 01:06:552631const char kOfflinePagesSvelteConcurrentLoadingName[] =
2632 "Enables concurrent background loading on svelte.";
2633const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2634 "Enables concurrent background loading (or downloading) of pages on "
2635 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2636 "happen when the svelte device is idle.";
2637
2638const char kOffliningRecentPagesName[] =
2639 "Enable offlining of recently visited pages";
2640const char kOffliningRecentPagesDescription[] =
2641 "Enable storing recently visited pages locally for offline use. Requires "
2642 "Offline Pages to be enabled.";
2643
Lei Zhang2eca9082017-10-17 20:42:502644const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2645const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552646 "Enable Pay with Google integration into Web Payments with API version "
2647 "'1'.";
2648
Matthew Jonesa88b95852017-11-08 23:13:502649const char kProgressBarThrottleName[] = "Android progress update throttling.";
2650const char kProgressBarThrottleDescription[] =
2651 "Limit the maximum progress update to make progress appear smoother.";
2652
Brett Wilsonff596952017-07-14 01:06:552653const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2654const char kPullToRefreshEffectDescription[] =
2655 "Page reloads triggered by vertically overscrolling content.";
2656
Piotr Swigon7c296ef2017-08-29 04:32:002657const char kPwaImprovedSplashScreenName[] =
2658 "Improved Splash Screen for standalone PWAs";
2659const char kPwaImprovedSplashScreenDescription[] =
2660 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2661 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492662const char kPwaPersistentNotificationName[] =
2663 "Persistent notification in standalone PWA";
2664const char kPwaPersistentNotificationDescription[] =
2665 "Enables a persistent Android notification for standalone PWAs";
2666
Brett Wilsonff596952017-07-14 01:06:552667const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2668const char kReaderModeHeuristicsDescription[] =
2669 "Determines what pages the Reader Mode infobar is shown on.";
2670const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2671const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2672const char kReaderModeHeuristicsAllArticles[] = "All articles";
2673const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2674const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2675
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182676const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2677const char kReaderModeInCCTDescription[] =
2678 "Open Reader Mode in Chrome Custom Tabs.";
2679
Brett Wilsonff596952017-07-14 01:06:552680const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2681const char kSetMarketUrlForTestingDescription[] =
2682 "When enabled, sets the market URL for use in testing the update menu "
2683 "item.";
2684
2685const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2686const char kSpannableInlineAutocompleteDescription[] =
2687 "A new type of inline autocomplete for the omnibox that works with "
2688 "keyboards that compose text.";
2689
Theresaeea05a12018-05-09 21:01:592690const char kSimplifiedNtpName[] = "Simplified NTP";
2691const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2692
2693const char kSiteExplorationUiName[] = "Site Exploration UI";
2694const char kSiteExplorationUiDescription[] =
2695 "Show site suggestions in the Exploration UI";
2696
Brett Wilsonff596952017-07-14 01:06:552697const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2698const char kUpdateMenuBadgeDescription[] =
2699 "When enabled, an update badge will be shown on the app menu button.";
2700
2701const char kUpdateMenuItemCustomSummaryDescription[] =
2702 "When this flag and the force show update menu item flag are enabled, a "
2703 "custom summary string will be displayed below the update menu item.";
2704const char kUpdateMenuItemCustomSummaryName[] =
2705 "Update menu item custom summary";
2706
2707const char kUpdateMenuItemName[] = "Force show update menu item";
2708const char kUpdateMenuItemDescription[] =
2709 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2710 R"*(menu.)*";
2711
Amirhossein Simjourd78bbcf2018-02-02 16:23:392712const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2713const char kVrBrowsingNativeAndroidUiDescription[] =
2714 "Enable Android UI elements in VR.";
2715
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462716const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2717const char kVrBrowsingTabsViewDescription[] =
2718 "Enable tab overview (tab switcher) in VR.";
2719
Marc Treib93af46a2017-08-23 13:30:002720const char kThirdPartyDoodlesName[] =
2721 "Enable Doodles for third-party search engines";
2722const char kThirdPartyDoodlesDescription[] =
2723 "Enables fetching and displaying Doodles on the NTP for third-party search "
2724 "engines.";
2725
Klaus Weidneraaf697f2018-01-18 20:07:362726const char kWebXrRenderPathName[] = "WebXR presentation render path";
2727const char kWebXrRenderPathDescription[] =
2728 "Render path to use for WebXR presentation (including WebVR)";
2729const char kWebXrRenderPathChoiceClientWaitDescription[] =
2730 "ClientWait (Baseline)";
2731const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2732 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072733const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2734 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362735
Brett Wilson7b44537e2017-08-18 01:38:282736// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552737
Brett Wilson7b44537e2017-08-18 01:38:282738#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482739
Brett Wilson7b44537e2017-08-18 01:38:282740const char kAccountConsistencyName[] =
2741 "Identity consistency between browser and cookie jar";
2742const char kAccountConsistencyDescription[] =
2743 "When enabled, the browser manages signing in and out of Google accounts.";
2744const char kAccountConsistencyChoiceMirror[] = "Mirror";
2745const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342746
Chris Pickel3a227ae62017-08-24 10:47:262747const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2748const char kDoodlesOnLocalNtpDescription[] =
2749 "Show doodles on the local New Tab page if Google is the default search "
2750 "engine.";
2751
mlamouriff56c092017-05-11 15:31:392752const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392753const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342754 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392755const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392756const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392757const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342758 "Enabled (Flash lowers volume when interrupted by other sound, "
2759 "experimental)";
2760
Sebastien Marchandd33f7dc2018-06-22 22:07:062761const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2762const char kInfiniteSessionRestoreDescription[] =
2763 "Reduces the number of tabs being loaded simultaneously during session "
2764 "restore, to improve responsiveness of the foreground tab. This requires "
2765 "#enable-page-almost-idle.";
2766
Brett Wilson7b44537e2017-08-18 01:38:282767const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2768const char kEnableNewAppMenuIconDescription[] =
2769 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342770
Sebastien Marchandd33f7dc2018-06-22 22:07:062771const char kEnableWebAuthenticationCtap2SupportName[] =
2772 "Enable Web Authentication API support for CTAP2 security keys";
2773const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472774 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062775
2776const char kEnableWebAuthenticationTestingAPIName[] =
2777 "Web Authentication Testing API";
2778const char kEnableWebAuthenticationTestingAPIDescription[] =
2779 "Enable Web Authentication Testing API support, which disconnects the API "
2780 "implementation from the real world, and allows configuring virtual "
2781 "authenticator devices for testing";
2782
Dave Schuyler598a4a42018-01-04 02:15:102783const char kOmniboxRichEntitySuggestionsName[] =
2784 "Omnibox rich entity suggestions";
2785const char kOmniboxRichEntitySuggestionsDescription[] =
2786 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212787 "more context and descriptive text about the entity. Has no effect unless "
2788 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2789 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102790
Dave Schuyler616273d2018-04-19 03:12:522791const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2792const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212793 "Display answers using an enhanced layout with larger images. Has no "
2794 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2795 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522796
Orin Jaworski04c08b42018-07-11 02:39:562797const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2798const char kOmniboxReverseAnswersDescription[] =
2799 "Display answers with rows reversed (swapped); except definitions. Has no "
2800 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2801 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2802
Kevin Bailey898669972017-11-06 15:34:492803const char kOmniboxTabSwitchSuggestionsName[] =
2804 "Omnibox tab switch suggestions";
2805const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212806 "Enable suggestions for switching to open tabs within the Omnibox. "
2807 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2808 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492809
krbcc621412017-06-01 19:40:282810const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2811const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192812 "Enable receiving tail suggestions, a type of search suggestion based on "
2813 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342814
Brett Wilson7b44537e2017-08-18 01:38:282815const char kOneGoogleBarOnLocalNtpName[] =
2816 "Enable the OneGoogleBar on the local NTP";
2817const char kOneGoogleBarOnLocalNtpDescription[] =
2818 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2819 "search engine.";
2820
Sebastien Marchandd33f7dc2018-06-22 22:07:062821const char kPageAlmostIdleName[] = "Page Almost Idle";
2822const char kPageAlmostIdleDescription[] =
2823 "Make session restore use a definition of loading that waits for CPU and "
2824 "network quiescence.";
2825
2826const char kProactiveTabFreezeAndDiscardName[] =
2827 "Proactive Tab Freeze and Discard";
2828const char kProactiveTabFreezeAndDiscardDescription[] =
2829 "Enables proactive tab freezing and discarding. This requires "
2830 "#enable-page-almost-idle.";
2831
2832const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2833const char kSiteCharacteristicsDatabaseDescription[] =
2834 "Records usage of some features in a database while a tab is in background "
2835 "(title/favicon update, audio playback or usage of non-persistent "
2836 "notifications).";
2837
Brett Wilson7b44537e2017-08-18 01:38:282838const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2839const char kUseGoogleLocalNtpDescription[] =
2840 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322841
Brett Wilson7b44537e2017-08-18 01:38:282842const char kVoiceSearchOnLocalNtpName[] =
2843 "Enable Voice Search on the local NTP";
2844const char kVoiceSearchOnLocalNtpDescription[] =
2845 "Show a microphone for voice search on the local New Tab page "
2846 "if Google is the default search engine.";
2847
2848#if defined(GOOGLE_CHROME_BUILD)
2849
2850const char kGoogleBrandedContextMenuName[] =
2851 "Google branding in the context menu";
2852const char kGoogleBrandedContextMenuDescription[] =
2853 "Shows a Google icon next to context menu items powered by Google "
2854 "services.";
2855
2856#endif // !defined(GOOGLE_CHROME_BUILD)
2857
2858#endif // !defined(OS_ANDROID)
2859
2860// Windows ---------------------------------------------------------------------
2861
2862#if defined(OS_WIN)
2863
2864const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2865const char kCloudPrintXpsDescription[] =
2866 "XPS enables advanced options for classic printers connected to the Cloud "
2867 "Print with Chrome. Printers must be re-connected after changing this "
2868 "flag.";
2869
2870const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2871const char kDisablePostscriptPrintingDescription[] =
2872 "Disables PostScript generation when printing to PostScript capable "
2873 "printers, and uses EMF generation in its place.";
2874
2875const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2876const char kEnableAppcontainerDescription[] =
2877 "Enables the use of an AppContainer on sandboxed processes to improve "
2878 "security.";
2879
Brett Wilson7b44537e2017-08-18 01:38:282880const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2881const char kEnableDesktopIosPromotionsDescription[] =
2882 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2883 "eligible.";
2884
James Forshawfd0ce342018-02-14 09:55:392885const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2886const char kEnableGpuAppcontainerDescription[] =
2887 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2888 "improve security.";
2889
Brett Wilson7b44537e2017-08-18 01:38:282890const char kGdiTextPrinting[] = "GDI Text Printing";
2891const char kGdiTextPrintingDescription[] =
2892 "Use GDI to print text as simply text";
2893
Henrik Grunell67e56ef2018-04-10 14:04:092894const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2895const char kIncreaseInputAudioBufferSizeDescription[] =
2896 "Increases the input audio endpoint buffer to 100 ms.";
2897
Brett Wilson7b44537e2017-08-18 01:38:282898const char kTraceExportEventsToEtwName[] =
2899 "Enable exporting of tracing events to ETW.";
2900const char kTraceExportEventsToEtwDesription[] =
2901 "If enabled, trace events will be exported to the Event Tracing for "
2902 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2903 "Xperf.";
2904
2905const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2906const char kUseWinrtMidiApiDescription[] =
2907 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2908 "later).";
2909
2910const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2911const char kWindows10CustomTitlebarDescription[] =
2912 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2913 "deferring to Windows.";
2914
2915#endif // defined(OS_WIN)
2916
2917// Mac -------------------------------------------------------------------------
2918
2919#if defined(OS_MACOSX)
2920
Brett Wilson7b44537e2017-08-18 01:38:282921const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2922const char kAppWindowCyclingDescription[] =
2923 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2924 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2925 "browser window, and browser windows will not be cycled when a Chrome App "
2926 "is active.";
2927
Brett Wilson7b44537e2017-08-18 01:38:282928const char kFullscreenToolbarRevealName[] =
2929 "Enables the toolbar in fullscreen to reveal itself.";
2930const char kFullscreenToolbarRevealDescription[] =
2931 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2932 "has changed.";
2933
2934const char kContentFullscreenName[] = "Improved Content Fullscreen";
2935const char kContentFullscreenDescription[] =
2936 "Fullscreen content window detaches from main browser window and goes to "
2937 "a new space without moving or changing the original browser window.";
2938
Lei Zhang2eca9082017-10-17 20:42:502939const char kDialogTouchBarName[] = "Dialog Touch Bar";
2940const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282941 "Shows Dialog buttons on the Touch Bar.";
2942
Martin Kreichgauer1ca416d2018-07-11 00:43:192943const char kEnableWebAuthenticationTouchIdName[] =
2944 "Web Authentication API Touch ID support";
2945const char kEnableWebAuthenticationTouchIdDescription[] =
2946 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2947
Brett Wilson7b44537e2017-08-18 01:38:282948const char kHostedAppsInWindowsName[] =
2949 "Allow hosted apps to be opened in windows";
2950const char kHostedAppsInWindowsDescription[] =
2951 "Allows hosted apps to be opened in windows instead of being limited to "
2952 "tabs.";
2953
Lei Zhang2eca9082017-10-17 20:42:502954const char kMacRTLName[] = "Enable RTL";
2955const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282956
Lei Zhang2eca9082017-10-17 20:42:502957const char kMacTouchBarName[] = "Hardware Touch Bar";
2958const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282959
2960const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2961const char kMacV2SandboxDescription[] =
2962 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2963 "entire life cycle.";
2964
2965const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2966const char kMacViewsNativeAppWindowsDescription[] =
2967 "Controls whether to use Toolkit-Views based Chrome App windows.";
2968
2969const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2970const char kMacViewsTaskManagerDescription[] =
2971 "Controls whether to use the Toolkit-Views based Task Manager.";
2972
2973const char kTabDetachingInFullscreenName[] =
2974 "Allow tab detaching in fullscreen";
2975const char kTabDetachingInFullscreenDescription[] =
2976 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2977
2978const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2979const char kTabStripKeyboardFocusDescription[] =
2980 "Enable keyboard focus for the tabs in the tab strip.";
2981
Tessa Nijssen4db9799e2018-08-06 21:04:382982const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
2983const char kTextSuggestionsTouchBarDescription[] =
2984 "Enable text suggestions touch bar for textfields.";
2985
Brett Wilson7b44537e2017-08-18 01:38:282986#endif
2987
2988// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342989
2990#if defined(OS_CHROMEOS)
2991
Brett Wilson7b44537e2017-08-18 01:38:282992const char kAcceleratedMjpegDecodeName[] =
2993 "Hardware-accelerated mjpeg decode for captured frame";
2994const char kAcceleratedMjpegDecodeDescription[] =
2995 "Enable hardware-accelerated mjpeg decode for captured frame where "
2996 "available.";
vabr0215a8e2017-03-28 12:47:342997
Brett Wilson7b44537e2017-08-18 01:38:282998const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2999const char kAllowTouchpadThreeFingerClickDescription[] =
3000 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343001
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523002const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3003const char kArcAvailableForChildDescription[] =
3004 "Allow child accounts to start Android apps.";
3005
Brett Wilson7b44537e2017-08-18 01:38:283006const char kArcBootCompleted[] = "Load Android apps automatically";
3007const char kArcBootCompletedDescription[] =
3008 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343009
Luum Habtemariamdaa8fd22018-06-25 22:39:433010const char kArcCupsApiName[] = "ARC CUPS API";
3011const char kArcCupsApiDescription[] =
3012 "Enables support of libcups APIs from ARC";
3013
Yuichiro Hanada0b63f062018-07-12 02:18:333014const char kArcInputMethodName[] = "Enable ARC input methods.";
3015const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3016
Lev Rumyantsev7a8544312017-08-18 19:26:513017const char kArcNativeBridgeExperimentName[] =
3018 "Enable native bridge experiment for ARC";
3019const char kArcNativeBridgeExperimentDescription[] =
3020 "Enables experimental native bridge feature.";
3021
lgchengecd1c1a62018-01-09 02:59:463022const char kArcUsbHostName[] = "Enable ARC USB host integration";
3023const char kArcUsbHostDescription[] =
3024 "Allow Android apps to use USB host feature on ChromeOS devices.";
3025
Kevin Cernekeeb7f96a52017-10-25 17:40:183026const char kArcVpnName[] = "Enable ARC VPN integration";
3027const char kArcVpnDescription[] =
3028 "Allow Android VPN clients to tunnel Chrome traffic.";
3029
Qiang Xu045aff222018-05-21 23:21:013030const char kAshDisableLoginDimAndBlurName[] =
3031 "Disable dimming and blur on login screen.";
3032const char kAshDisableLoginDimAndBlurDescription[] =
3033 "Disable dimming and blur on login screen.";
3034
3035const char kAshDisableSmoothScreenRotationName[] =
3036 "Disable smooth rotation animations.";
3037const char kAshDisableSmoothScreenRotationDescription[] =
3038 "Disable smooth rotation animations.";
3039
3040const char kAshEnableDisplayMoveWindowAccelsName[] =
3041 "Enable shortcuts for moving window between displays.";
3042const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3043 "Enable shortcuts for moving window between displays.";
3044
3045const char kAshEnableKeyboardShortcutViewerName[] =
3046 "Enable keyboard shortcut viewer.";
3047const char kAshEnableKeyboardShortcutViewerDescription[] =
3048 "Enable keyboard shortcut viewer.";
3049
3050const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3051const char kAshEnableMirroredScreenDescription[] =
3052 "Enable the mirrored screen mode. This mode flips the screen image "
3053 "horizontally.";
3054
Qiang Xu045aff222018-05-21 23:21:013055const char kAshEnablePersistentWindowBoundsName[] =
3056 "Enable persistent window bounds in multi-displays scenario.";
3057const char kAshEnablePersistentWindowBoundsDescription[] =
3058 "Enable persistent window bounds in multi-displays scenario.";
3059
3060const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3061const char kAshEnableTrilinearFilteringDescription[] =
3062 "Enable trilinear filtering.";
3063
Brett Wilson7b44537e2017-08-18 01:38:283064const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3065const char kAshEnableUnifiedDesktopDescription[] =
3066 "Enable unified desktop mode which allows a window to span multiple "
3067 "displays.";
vabr0215a8e2017-03-28 12:47:343068
Mike Wassermanfcc47e42018-06-14 21:24:423069const char kAshKeyboardShortcutViewerAppName[] =
3070 "Keyboard Shortcut Viewer mojo app";
3071const char kAshKeyboardShortcutViewerAppDescription[] =
3072 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3073
Qiang Xu045aff222018-05-21 23:21:013074const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3075const char kAshShelfColorDescription[] =
3076 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3077 "--ash-shelf-color-scheme flag defines how that color is derived.";
3078
3079const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3080const char kAshShelfColorSchemeDescription[] =
3081 "Specify how the color is derived from the wallpaper. This flag is only "
3082 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3083const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3084const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3085const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3086const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3087const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3088const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3089
Sean Kau5e956192017-10-06 22:25:173090const char kBulkPrintersName[] = "Bulk Printers Policy";
3091const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3092
Brett Wilson7b44537e2017-08-18 01:38:283093const char kCaptivePortalBypassProxyName[] =
3094 "Bypass proxy for Captive Portal Authorization";
3095const char kCaptivePortalBypassProxyDescription[] =
3096 "If proxy is configured, it usually prevents from authorization on "
3097 "different captive portals. This enables opening captive portal "
3098 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343099
Yuki Awanob51d3252018-07-11 23:45:553100const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3101const char kChromeVoxArcSupportDescription[] =
3102 "Use ChromeVox screen reader features in ARC";
3103
Brett Wilson7b44537e2017-08-18 01:38:283104const char kCrOSComponentName[] = "Chrome OS Component";
3105const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083106 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343107
Xiaochu Liu51d03fd2017-09-08 23:51:023108const char kCrOSContainerName[] = "Chrome OS Container";
3109const char kCrOSContainerDescription[] =
3110 "Enable the use of Chrome OS Container utility.";
3111
Brett Wilson7b44537e2017-08-18 01:38:283112const char kCrosRegionsModeName[] = "Cros-regions load mode";
3113const char kCrosRegionsModeDescription[] =
3114 "This flag controls cros-regions load mode";
3115const char kCrosRegionsModeDefault[] = "Default";
3116const char kCrosRegionsModeOverride[] = "Override VPD values.";
3117const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343118
Jacob Dufault2becbc482017-08-25 00:36:353119const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3120const char kDisableLockScreenAppsDescription[] =
3121 "Disable new-note action handler apps on the lock screen. The user will "
3122 "not be able to launch the preferred note-taking action from the lock "
3123 "screen, provided that the app supports lock screen note taking.";
3124
Qiang Xu045aff222018-05-21 23:21:013125const char kDisableSystemTimezoneAutomaticDetectionName[] =
3126 "SystemTimezoneAutomaticDetection policy support";
3127const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3128 "Disable system timezone automatic detection device policy.";
3129
Sammie Quonef6b4882017-09-14 16:50:053130const char kDisableTabletAutohideTitlebarsName[] =
3131 "Disable autohide titlebars in tablet mode";
3132const char kDisableTabletAutohideTitlebarsDescription[] =
3133 "Disable tablet mode autohide titlebars functionality. The user will be "
3134 "able to see the titlebar in tablet mode.";
3135
Xiaoqian Dai24b33eb2018-04-10 21:01:573136const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3137const char kDisableTabletSplitViewDescription[] =
3138 "Disable split view for Chrome OS tablet mode.";
3139
Qiang Xu53d1a5832018-05-24 18:44:193140const char kEnableAppShortcutSearchName[] =
3141 "Enable app shortcut search in launcher";
3142const char kEnableAppShortcutSearchDescription[] =
3143 "Enables app shortcut search in launcher";
3144
Weidong Guo00d0b2b2018-06-07 00:39:303145const char kEnableAppsGridGapFeatureName[] =
3146 "Enable apps grid gap feature in launcher.";
3147const char kEnableAppsGridGapFeatureDescription[] =
3148 "Enables gaps at the end of each page and enables dragging an item to an "
3149 "empty page in launcher.";
3150
Lei Zhang2eca9082017-10-17 20:42:503151const char kEnableBackgroundBlurName[] = "Enable background blur.";
3152const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423153 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393154
Min Chenc2ec7282018-06-29 21:38:463155const char kEnableDragAppsInTabletModeName[] =
3156 "Enable dragging apps in tablet mode";
3157const char kEnableDragAppsInTabletModeDescription[] =
3158 "If enabled, swiping down from the top of the screen when an app is opened "
3159 "in tablet mode can drag the app.";
3160
Xiaoqian Dai82d99192018-05-25 18:51:353161const char kEnableDragTabsInTabletModeName[] =
3162 "Enable dragging tabs in tablet mode";
3163const char kEnableDragTabsInTabletModeDescription[] =
3164 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3165
Sam McNally201fbf94e2018-07-04 03:15:203166const char kEnableDriveFsName[] = "Enable DriveFS";
3167const char kEnableDriveFsDescription[] =
3168 "Enables use of the new DriveFS-based Drive sync client.";
3169
Brett Wilson7b44537e2017-08-18 01:38:283170const char kEnableEhvInputName[] =
3171 "Emoji, handwriting and voice input on opt-in IME menu";
3172const char kEnableEhvInputDescription[] =
3173 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343174
Brett Wilson7b44537e2017-08-18 01:38:283175const char kEnableEncryptionMigrationName[] =
3176 "Enable encryption migration of user data";
3177const char kEnableEncryptionMigrationDescription[] =
3178 "If enabled and the device supports ARC, the user will be asked to update "
3179 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343180
Blake O'Hare9e9317b22017-10-24 02:49:353181const char kEnableFloatingVirtualKeyboardName[] =
3182 "Enable floating virtual keyboard";
3183const char kEnableFloatingVirtualKeyboardDescription[] =
3184 "If enabled, the keyboard will use floating behavior by default.";
3185
Qiang Xu045aff222018-05-21 23:21:013186const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3187 "Enable full screen handwriting virtual keyboard";
3188const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3189 "If enabled, the handwriting virtual keyboard will allow user to write "
3190 "anywhere on the screen";
3191
3192const char kEnableHomeLauncherName[] = "Enable home launcher";
3193const char kEnableHomeLauncherDescription[] =
3194 "Enable home launcher in tablet mode.";
3195
Brett Wilson7b44537e2017-08-18 01:38:283196const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3197const char kEnableImeMenuDescription[] =
3198 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343199
Weidong Guo45836d1b2018-06-27 23:51:163200const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3201const char kEnableNewStyleLauncherDescription[] =
3202 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3203 "in app launcher.";
3204
Qiang Xu045aff222018-05-21 23:21:013205const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3206const char kEnableNewWallpaperPickerDescription[] =
3207 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3208
3209const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3210const char kEnablePerUserTimezoneDescription[] =
3211 "Chrome OS system timezone preference is stored and handled for each user "
3212 "individually.";
3213
3214const char kEnableSettingsShortcutSearchName[] =
3215 "Enable Settings shortcut search";
3216const char kEnableSettingsShortcutSearchDescription[] =
3217 "Enable Settings shortcut search in launcher.";
3218
Darren Shen3e49c63d2018-03-28 04:45:503219const char kEnableStylusVirtualKeyboardName[] =
3220 "Enable stylus virtual keyboard";
3221const char kEnableStylusVirtualKeyboardDescription[] =
3222 "If enabled, tapping with a stylus will show the handwriting virtual "
3223 "keyboard.";
3224
Jordy Greenblatt2f23df22018-02-22 19:49:193225const char kEnableUnifiedMultiDeviceSettingsName[] =
3226 "Enable unified MultiDevice settings";
3227const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3228 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3229 "MultiDevice settings.";
3230
3231const char kEnableUnifiedMultiDeviceSetupName[] =
3232 "Enable unified MultiDevice setup";
3233const char kEnableUnifiedMultiDeviceSetupDescription[] =
3234 "Enable the device to setup all MultiDevice services in a single workflow.";
3235
Darren Shen11c770f312018-06-13 07:36:393236const char kEnableVirtualKeyboardMdUiName[] =
3237 "Enable Material Design virtual keyboard";
3238const char kEnableVirtualKeyboardMdUiDescription[] =
3239 "If enabled, loads the Material Design UI for the virtual keyboard.";
3240
Darren Shen0b4e5802018-07-10 03:12:263241const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3242const char kEnableVirtualKeyboardUkmDescription[] =
3243 "Enables UKM for virtual keyboard";
3244
Klemen Kozjek05fc4512017-10-18 12:51:103245const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3246const char kEnableZipArchiverPackerDescription[] =
3247 "Enable the ability to archive files on Drive in the Files app";
3248
Brett Wilson7b44537e2017-08-18 01:38:283249const char kEolNotificationName[] = "Disable Device End of Life notification.";
3250const char kEolNotificationDescription[] =
3251 "Disable Notifcation when Device is End of Life.";
3252
3253const char kExperimentalAccessibilityFeaturesName[] =
3254 "Experimental accessibility features";
3255const char kExperimentalAccessibilityFeaturesDescription[] =
3256 "Enable additional accessibility features in the Settings page.";
3257
3258const char kExperimentalInputViewFeaturesName[] =
3259 "Experimental input view features";
3260const char kExperimentalInputViewFeaturesDescription[] =
3261 "Enable experimental features for IME input views.";
3262
3263const char kFileManagerTouchModeName[] = "Files App. touch mode";
3264const char kFileManagerTouchModeDescription[] =
3265 "Touchscreen-specific interactions of the Files app.";
3266
3267const char kFirstRunUiTransitionsName[] =
3268 "Animated transitions in the first-run tutorial";
3269const char kFirstRunUiTransitionsDescription[] =
3270 "Transitions during first-run tutorial are animated.";
3271
Brett Wilson7b44537e2017-08-18 01:38:283272const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3273const char kForceEnableStylusToolsDescription[] =
3274 "Forces display of the stylus tools menu in the shelf and the stylus "
3275 "section in settings, even if there is no attached stylus device.";
3276
3277const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3278const char kGestureEditingDescription[] =
3279 "Enable/Disable gesture editing option in the settings page for the "
3280 "virtual keyboard.";
3281
3282const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3283const char kGestureTypingDescription[] =
3284 "Enable/Disable gesture typing option in the settings page for the virtual "
3285 "keyboard.";
3286
3287const char kInputViewName[] = "Input views";
3288const char kInputViewDescription[] =
3289 "Enable IME extensions to supply custom views for user input such as "
3290 "virtual keyboards.";
3291
Megumi Hattori5a0d4182018-03-06 11:09:503292const char kLockScreenNotificationName[] = "Lock screen notification";
3293const char kLockScreenNotificationDescription[] =
3294 "Enable notifications on the lock screen.";
3295
Qiang Xu045aff222018-05-21 23:21:013296const char kMaterialDesignInkDropAnimationSpeedName[] =
3297 "Material design ink drop animation speed";
3298const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3299 "Sets the speed of the experimental visual feedback animations for "
3300 "material design.";
3301const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3302const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3303
Brett Wilson7b44537e2017-08-18 01:38:283304const char kMemoryPressureThresholdName[] =
3305 "Memory discard strategy for advanced pressure handling";
3306const char kMemoryPressureThresholdDescription[] =
3307 "Memory discarding strategy to use";
3308const char kConservativeThresholds[] =
3309 "Conservative memory pressure release strategy";
3310const char kAggressiveCacheDiscardThresholds[] =
3311 "Aggressive cache release strategy";
3312const char kAggressiveTabDiscardThresholds[] =
3313 "Aggressive tab release strategy";
3314const char kAggressiveThresholds[] =
3315 "Aggressive tab and cache release strategy";
3316
3317const char kMtpWriteSupportName[] = "MTP write support";
3318const char kMtpWriteSupportDescription[] =
3319 "MTP write support in File System API (and file manager). In-place editing "
3320 "operations are not supported.";
3321
Kyle Horimoto027590fb2018-02-13 22:19:483322const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3323const char kMultiDeviceApiDescription[] =
3324 "Enable Mojo-based API which provides synced device metadata and the "
3325 "ability to connect to other devices associated the logged-in Google "
3326 "account.";
3327
Bailey Berrodca8eeca02017-11-18 00:49:123328const char kNativeSmbName[] = "Native Smb Client";
3329const char kNativeSmbDescription[] =
3330 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303331
vabr0215a8e2017-03-28 12:47:343332const char kNetworkPortalNotificationName[] =
3333 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343334const char kNetworkPortalNotificationDescription[] =
3335 "If enabled, notification is displayed when device is connected to a "
3336 "network behind captive portal.";
3337
Brett Wilson7b44537e2017-08-18 01:38:283338const char kNewKoreanImeName[] = "New Korean IME";
3339const char kNewKoreanImeDescription[] =
3340 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343341
Brett Wilson7b44537e2017-08-18 01:38:283342const char kNewZipUnpackerName[] = "New ZIP unpacker";
3343const char kNewZipUnpackerDescription[] =
3344 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343345
Qiang Xu045aff222018-05-21 23:21:013346const char kOfficeEditingComponentAppName[] =
3347 "Office Editing for Docs, Sheets & Slides";
3348const char kOfficeEditingComponentAppDescription[] =
3349 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3350
Brett Wilson7b44537e2017-08-18 01:38:283351const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3352const char kPhysicalKeyboardAutocorrectDescription[] =
3353 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3354 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343355
3356const char kPrinterProviderSearchAppName[] =
3357 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343358const char kPrinterProviderSearchAppDescription[] =
3359 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193360 "searches Chrome Web Store for extensions that support printing to a USB "
3361 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343362
Brett Wilson7b44537e2017-08-18 01:38:283363const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3364const char kQuickUnlockPinDescription[] =
3365 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3366 "device on the lock screen after you have signed into your device.";
3367const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3368const char kQuickUnlockPinSigninDescription[] =
3369 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3370 "device. After changing this flag PIN needs to be set up again.";
3371const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3372const char kQuickUnlockFingerprintDescription[] =
3373 "Enabling fingerprint quick unlock allows you to setup and use a "
3374 "fingerprint to unlock your Chromebook on the lock screen after you have "
3375 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343376
James Cook0ba192bf2017-12-01 20:53:113377const char kShowTapsName[] = "Show taps";
3378const char kShowTapsDescription[] =
3379 "Draws a circle at each touch point, which makes touch points more obvious "
3380 "when projecting or mirroring the display. Similar to the Android OS "
3381 "developer option.";
3382
3383const char kShowTouchHudName[] = "Show HUD for touch points";
3384const char kShowTouchHudDescription[] =
3385 "Shows a trail of colored dots for the last few touch points. Pressing "
3386 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3387 "debug hardware issues that generate spurious touch events.";
3388
Jorge Gil5a8ccde2018-07-10 01:46:213389const char kSmartTextSelectionName[] = "Smart Text Selection";
3390const char kSmartTextSelectionDescription[] =
3391 "Shows quick actions for text "
3392 "selections in the context menu.";
3393
Chung-Sheng Wu468b0b32017-09-01 14:41:573394const char kSysInternalsName[] = "Enable Sys-Internals";
3395const char kSysInternalsDescription[] =
3396 "If enabled, user can monitor system information at "
3397 "chrome://sys-internals.";
3398
Stuart Langleyc981ac62018-06-21 14:38:253399const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3400const char kDisableTeamDrivesDescription[] =
3401 "If disabled, files under Team Drives will no longer appear in the Files "
3402 "app.";
vabr0215a8e2017-03-28 12:47:343403
Brett Wilson7b44537e2017-08-18 01:38:283404const char kTetherName[] = "Instant Tethering";
3405const char kTetherDescription[] =
3406 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3407 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373408
Brett Wilson7b44537e2017-08-18 01:38:283409const char kTouchscreenCalibrationName[] =
3410 "Enable/disable touchscreen calibration option in material design settings";
3411const char kTouchscreenCalibrationDescription[] =
3412 "If enabled, the user can calibrate the touch screen displays in "
3413 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093414
Qiang Xu045aff222018-05-21 23:21:013415const char kUiDevToolsName[] = "Enable native UI inspection";
3416const char kUiDevToolsDescription[] =
3417 "Enables inspection of native UI elements. For local inspection use "
3418 "chrome://inspect#other";
3419
3420const char kUiShowCompositedLayerBordersName[] =
3421 "Show UI composited layer borders";
3422const char kUiShowCompositedLayerBordersDescription[] =
3423 "Show border around composited layers created by UI.";
3424const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3425const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3426const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3427const char kUiShowCompositedLayerBordersAll[] = "All";
3428
3429const char kUiSlowAnimationsName[] = "Slow UI animations";
3430const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3431
Mitsuru Oshima63d3f2a2017-08-23 00:12:113432// Force UI Mode
3433const char kUiModeName[] = "Force Ui Mode";
3434const char kUiModeDescription[] =
3435 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3436 R"*(despite its current orientation. "Tablet" means that the )*"
3437 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3438 R"*(means that the chromebook will act as if it were in clamshell )*"
3439 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3440 R"*(the two, based on its orientation.)*";
3441const char kUiModeTablet[] = "TouchView";
3442const char kUiModeClamshell[] = "Clamshell";
3443const char kUiModeAuto[] = "Auto (default)";
3444
Sonny Sasaka7fecfeda2018-07-11 23:47:553445const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3446const char kUnfilteredBluetoothDevicesDescription[] =
3447 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3448
James Cooka1bcfa9a2018-01-30 00:18:403449const char kUseMashName[] = "Out-of-process system UI (mash)";
3450const char kUseMashDescription[] =
3451 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3452 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283453
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343454// TODO(mcasas): remove after https://crbug.com/771345.
3455const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3456const char kUseMonitorColorSpaceDescription[] =
3457 "Enables Chrome to use the color space information provided by the monitor"
3458 " instead of the default sRGB color space.";
3459
Brett Wilson7b44537e2017-08-18 01:38:283460const char kVideoPlayerChromecastSupportName[] =
3461 "Experimental Chromecast support for Video Player";
3462const char kVideoPlayerChromecastSupportDescription[] =
3463 "This option enables experimental Chromecast support for Video Player app "
3464 "on ChromeOS.";
3465
3466const char kVirtualKeyboardName[] = "Virtual Keyboard";
3467const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3468
3469const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3470const char kVirtualKeyboardOverscrollDescription[] =
3471 "Enables virtual keyboard overscroll support.";
3472
3473const char kVoiceInputName[] = "Voice input on virtual keyboard";
3474const char kVoiceInputDescription[] =
3475 "Enables voice input on virtual keyboard.";
3476
3477const char kWakeOnPacketsName[] = "Wake On Packets";
3478const char kWakeOnPacketsDescription[] =
3479 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203480
Qiang Xu53d1a5832018-05-24 18:44:193481const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3482const char kZipArchiverUnpackerDescription[] =
3483 "Enable or disable the ability to unpack archives in incognito mode";
3484
wutao42ee9daa2018-07-19 00:12:173485extern const char kEnableContinueReadingName[] = "Enable continue reading";
3486extern const char kEnableContinueReadingDescription[] =
3487 "Enable continue reading feature in Launcher, which allows users to "
3488 "seamlessly continue reading a web page when they switch devices from "
3489 "phones or tablets to Chromebooks.";
3490
Jenny Zhang81fc4c52018-07-23 22:12:323491extern const char kEnableZeroStateSuggestionsName[] =
3492 "Enable Zero State Suggetions";
3493extern const char kEnableZeroStateSuggestionsDescription[] =
3494 "Enable Zero State Suggestions feature in Launcher, which will show "
3495 "suggetions when launcher search box is active with an empty query";
3496
Yue Cen07fbaa52018-08-15 21:18:283497const char kEnableOobeRecommendAppsScreenName[] =
3498 "Enable OOBE Recommend Apps Screen";
3499const char kEnableOobeRecommendAppsScreenDescription[] =
3500 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3501 "from other devices";
3502
yhanadac5bff5b2017-05-18 06:37:093503#endif // defined(OS_CHROMEOS)
3504
Brett Wilson7b44537e2017-08-18 01:38:283505// Random platform combinations -----------------------------------------------
3506
3507#if defined(OS_WIN) || defined(OS_LINUX)
3508
3509const char kEnableInputImeApiName[] = "Enable Input IME API";
3510const char kEnableInputImeApiDescription[] =
3511 "Enable the use of chrome.input.ime API.";
3512
Morten Stenshorne92294bf2018-08-15 12:18:103513#if !defined(OS_CHROMEOS)
3514
3515const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3516const char kWarnBeforeQuittingFlagDescription[] =
3517 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3518
3519#endif // !defined(OS_CHROMEOS)
3520
Brett Wilson7b44537e2017-08-18 01:38:283521#endif // defined(OS_WIN) || defined(OS_LINUX)
3522
3523#if defined(OS_WIN) || defined(OS_MACOSX)
3524
3525const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3526const char kAutomaticTabDiscardingDescription[] =
3527 "If enabled, tabs get automatically discarded from memory when the system "
3528 "memory is low. Discarded tabs are still visible on the tab strip and get "
3529 "reloaded when clicked on. Info about discarded tabs can be found at "
3530 "chrome://discards.";
3531
3532#endif // defined(OS_WIN) || defined(OS_MACOSX)
3533
lanwei83f54452018-06-21 23:51:043534#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3535
3536const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3537const char kDirectManipulationStylusDescription[] =
3538 "If enabled, Chrome will scroll web pages on stylus drag.";
3539
3540#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3541
Justin Donnelly110e40c2018-06-01 21:48:433542const char kExperimentalUiName[] = "Use all upcoming UI features";
3543const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483544
Brett Wilson7b44537e2017-08-18 01:38:283545// Feature flags --------------------------------------------------------------
3546
3547#if BUILDFLAG(ENABLE_VR)
3548
David Dorwin5a496c32017-11-17 01:45:053549const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3550const char kWebVrVsyncAlignDescription[] =
3551 "Align WebVR application rendering with VSync for smoother animations.";
3552
Bill Orr103ed272018-02-14 21:23:053553#if BUILDFLAG(ENABLE_OCULUS_VR)
3554const char kOculusVRName[] = "Oculus hardware support";
3555const char kOculusVRDescription[] =
3556 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3557 "Windows 10 or later).";
3558#endif // ENABLE_OCULUS_VR
3559
Bill Orr49527562017-11-22 16:58:483560#if BUILDFLAG(ENABLE_OPENVR)
3561const char kOpenVRName[] = "OpenVR hardware support";
3562const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073563 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3564 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483565#endif // ENABLE_OPENVR
3566
Brett Wilson7b44537e2017-08-18 01:38:283567#endif // ENABLE_VR
3568
Nico Weberaf3b00b2017-09-11 17:58:173569#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283570
3571const char kNaclDebugMaskName[] =
3572 "Restrict Native Client GDB-based debugging by pattern";
3573const char kNaclDebugMaskDescription[] =
3574 "Restricts Native Client application GDB-based debugging by URL of "
3575 "manifest file. Native Client GDB-based debugging must be enabled for this "
3576 "option to work.";
3577const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3578const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3579 "Debug everything except secure shell and the PNaCl translator.";
3580const char kNaclDebugMaskChoiceIncludeDebug[] =
3581 "Debug only if manifest URL ends with debug.nmf.";
3582
3583const char kNaclDebugName[] = "Native Client GDB-based debugging";
3584const char kNaclDebugDescription[] =
3585 "Enable GDB debug stub. This will stop a Native Client application on "
3586 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3587
3588const char kNaclName[] = "Native Client";
3589const char kNaclDescription[] =
3590 "Support Native Client for all web applications, even those that were not "
3591 "installed from the Chrome Web Store.";
3592
3593const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3594const char kPnaclSubzeroDescription[] =
3595 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3596
Nico Weberaf3b00b2017-09-11 17:58:173597#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283598
Brett Wilson7b44537e2017-08-18 01:38:283599const char kWebrtcH264WithOpenh264FfmpegName[] =
3600 "WebRTC H.264 software video encoder/decoder";
3601const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3602 "When enabled, an H.264 software video encoder/decoder pair is included. "
3603 "If a hardware encoder/decoder is also available it may be used instead of "
3604 "this encoder/decoder.";
3605
Brett Wilson7b44537e2017-08-18 01:38:283606#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3607
3608const char kAutofillCreditCardUploadName[] =
3609 "Enable offering upload of Autofilled credit cards";
3610const char kAutofillCreditCardUploadDescription[] =
3611 "Enables a new option to upload credit cards to Google Payments for sync "
3612 "to all Chrome devices.";
3613
3614#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3615
Becca Hughesdc96e842018-05-04 22:48:283616#if defined(OS_ANDROID)
3617
3618const char kDisplayCutoutAPIName[] =
3619 "Enable support for the Display Cutout API";
3620const char kDisplayCutoutAPIDescription[] =
3621 "Enables developers to support devices that have a display cutout.";
3622
3623#endif // defined(OS_ANDROID)
3624
Brett Wilson7b44537e2017-08-18 01:38:283625// ============================================================================
3626// Don't just add flags to the end, put them in the right section in
3627// alphabetical order just like the header file.
3628// ============================================================================
3629
vabr0215a8e2017-03-28 12:47:343630} // namespace flag_descriptions