blob: 1f23bdc5a9dd2b52a46fd2bf24ab9885d616882b [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
Becca Hughesc62f6a1d2018-08-16 15:59:47443const char kEnableAutoplayUnifiedSoundSettingsName[] =
444 "Autoplay unified sound settings UI";
445const char kEnableAutoplayUnifiedSoundSettingsDescription[] =
446 "If enabled, shows the new unified autoplay sound settings UI.";
447
Vitalii Iarko4f9834ce2017-08-04 07:05:19448const char kEnableBreakingNewsPushName[] = "Breaking News Push";
449const char kEnableBreakingNewsPushDescription[] =
450 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
451 "through Google Cloud Messaging.";
452
Brett Wilsonf27ff602017-07-07 22:28:47453const char kEnableBrotliName[] = "Brotli Content-Encoding.";
454const char kEnableBrotliDescription[] =
455 "Enable Brotli Content-Encoding support.";
456
Qiang Xu0f602fe62017-12-22 01:31:20457const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
458const char kEnableCaptivePortalRandomUrlDescription[] =
459 "Enable Captive Portal URL randomization.";
460
Eriko Kurimoto36975992018-08-09 07:15:13461const char kEnableChromevoxDeveloperOptionName[] =
462 "Enable Chromevox developer option";
463const char kEnableChromevoxDeveloperOptionDescription[] =
464 "This option provides tools for developing in chromevox.";
465
sclittle50e4bb92017-07-08 02:23:03466const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
467
468const char kEnableClientLoFiDescription[] =
469 "Enable showing low fidelity images on some pages on slow networks.";
470
Patrick Noland8bc57472018-06-19 21:09:54471const char kEnableCSSFragmentIdentifiersName[] =
472 "Enable CSS Fragment Identifiers";
473const char kEnableCSSFragmentIdentifiersDescription[] =
474 "Enable support for specifying a target element using a css selector in "
475 "the fragment identifier.";
476
David Reveman87b4b692018-03-09 21:22:22477const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
478const char kEnableCursorMotionBlurDescription[] =
479 "Enable motion blur effect for the cursor.";
480
Ramin Halavati6f5d9852018-06-20 09:37:05481const char kEnableEphemeralFlashPermissionName[] =
482 "Enable Ephemeral Flash Permissions";
483const char kEnableEphemeralFlashPermissionDescription[] =
484 "When enabled, Flash plugin permissions are reset at the end of the "
485 "browser session.";
486
Doug Arnett08b4067b2017-10-12 20:14:44487const char kEnableNoScriptPreviewsName[] = "NoScript previews";
488
489const char kEnableNoScriptPreviewsDescription[] =
490 "Enable disabling JavaScript on some pages on slow networks.";
491
Thanh Le2c279fbc2017-11-21 01:25:40492const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
493const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
494const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
495const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
496const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
497const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
498const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
499const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
500const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
501const char kDataReductionProxyServerAlternative10[] =
502 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47503const char kEnableDataReductionProxyServerExperimentName[] =
504 "Use an alternative Data Saver back end configuration.";
505const char kEnableDataReductionProxyServerExperimentDescription[] =
506 "Enable a different approach to saving data by configuring the back end "
507 "server";
508
509const char kEnableDataReductionProxySavingsPromoName[] =
510 "Data Saver 1 MB Savings Promo";
511const char kEnableDataReductionProxySavingsPromoDescription[] =
512 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
513 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
514 "enabled for the promo to be shown.";
515
Matt Giucad4870432017-11-24 01:04:38516const char kEnableDesktopPWAsName[] = "Desktop PWAs";
517const char kEnableDesktopPWAsDescription[] =
518 "Experimental windowing and install banner treatment for Progressive Web "
519 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17520
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59521const char kEnableDesktopPWAsLinkCapturingName[] =
522 "Desktop PWAs Link Capturing";
523const char kEnableDesktopPWAsLinkCapturingDescription[] =
524 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
525 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
526 "#enable-desktop-pwas.";
527
Ahmed Fakhry0037de02018-01-29 19:58:31528const char kEnableDockedMagnifierName[] = "Docked Magnifier";
529const char kEnableDockedMagnifierDescription[] =
530 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
531
Ramya Nagarajan5b41d8d2018-04-02 19:53:02532const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
533const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09534 "Enables the Emoji picker item in context menus for editable text areas, if"
535 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02536
Brett Wilsonf27ff602017-07-07 22:28:47537const char kEnableEnumeratingAudioDevicesName[] =
538 "Experimentally enable enumerating audio devices.";
539const char kEnableEnumeratingAudioDevicesDescription[] =
540 "Experimentally enable the use of enumerating audio devices.";
541
542const char kEnableGenericSensorName[] = "Generic Sensor";
543const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25544 "Enables motion sensor classes based on Generic Sensor API, i.e. "
545 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
546 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
547
548const char kEnableGenericSensorExtraClassesName[] =
549 "Generic Sensor Extra Classes";
550const char kEnableGenericSensorExtraClassesDescription[] =
551 "Enables an extra set of sensor classes based on Generic Sensor API, which "
552 "expose previously unavailable platform features, i.e. AmbientLightSensor "
553 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47554
Brett Wilsonf27ff602017-07-07 22:28:47555const char kEnableHDRName[] = "HDR mode";
556const char kEnableHDRDescription[] =
557 "Enables HDR support on compatible displays.";
558
Ryan Sturm6a850902018-06-09 02:27:34559const char kEnableHeavyPageCappingName[] = "Heavy Page Capping";
560const char kEnableHeavyPageCappingDescription[] =
Ryan Sturm1550abeb2018-06-18 20:05:09561 "Enable showing an InfoBar on data heavy pages that allows the user to "
Ryan Sturma2cd49f2018-06-20 17:09:25562 "pause sub-resource request loading on the page. Using the 'Low' option "
Ryan Sturm2a2f11e2018-07-17 23:01:01563 "will reduce the triggering threshold to 1MB. Data saver must be enabled "
564 "in order to see the InfoBar.";
Ryan Sturm6a850902018-06-09 02:27:34565
Brett Wilsonf27ff602017-07-07 22:28:47566const char kEnableHttpFormWarningName[] =
567 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15568 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47569const char kEnableHttpFormWarningDescription[] =
570 "Attaches a warning UI to any password or credit card fields detected when "
571 "the top-level page is not HTTPS";
572
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41573const char kLayeredAPIName[] = "Experimental layered APIs";
574const char kLayeredAPIDescription[] =
575 "Enable layered API infrastructure, as well as several experimental "
576 "layered APIs. The syntax and the APIs exposed are experimental and will "
577 "change over time.";
578
Ian Kilpatricke68ef11a2018-07-04 03:52:10579const char kEnableLayoutNGName[] = "Enable LayoutNG";
580const char kEnableLayoutNGDescription[] =
581 "Enable Blink's next generation layout engine.";
582
Scott Littled0fd2d002018-04-13 03:37:26583const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
584const char kEnableLazyFrameLoadingDescription[] =
585 "Defers the loading of certain cross-origin frames until the page is "
586 "scrolled down near them.";
587
rajendrant793ff512018-08-10 17:07:59588const char kEnableLazyImageLoadingName[] = "Enable lazy image loading";
589const char kEnableLazyImageLoadingDescription[] =
590 "Defers the loading of images until the page is scrolled down near them.";
591
Sidney San Martín9375b892017-09-09 00:29:54592const char kEnableMacMaterialDesignDownloadShelfName[] =
593 "Enable Material Design download shelf";
594
595const char kEnableMacMaterialDesignDownloadShelfDescription[] =
596 "If enabled, the download shelf uses Material Design.";
597
Anton Urusov47cd4932017-09-19 14:41:41598const char kEnablePolicyToolName[] = "Enable policy management page";
599const char kEnablePolicyToolDescription[] =
600 "If enabled, the chrome://policy-tool URL loads a page for managing "
601 "policies.";
602
Tsuyoshi Horoea7edb72017-11-12 04:14:00603const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
604const char kEnablePWAFullCodeCacheDescription[] =
605 "Generate V8 code cache in Cache Storage while installing Service Worker "
606 "for PWAs.";
607
Weidong Guof1e5a892018-01-06 02:26:39608const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28609 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39610const char kDisableMultiMirroringDescription[] =
611 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28612
Brett Wilsonf27ff602017-07-07 22:28:47613const char kEnableNavigationTracingName[] = "Enable navigation tracing";
614const char kEnableNavigationTracingDescription[] =
615 "This is to be used in conjunction with the trace-upload-url flag. "
616 "WARNING: When enabled, Chrome will record performance data for every "
617 "navigation and upload it to the URL specified by the trace-upload-url "
618 "flag. The trace may include personally identifiable information (PII) "
619 "such as the titles and URLs of websites you visit.";
620
Bernhard Bauer5533f9912017-11-06 17:56:02621const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
622const char kEnableNetworkLoggingToFileDescription[] =
623 "Enables network logging to a file named netlog.json in the user data "
624 "directory. The file can be imported into chrome://net-internals.";
625
Brett Wilsonf27ff602017-07-07 22:28:47626const char kEnableNetworkServiceName[] = "Enable network service";
627const char kEnableNetworkServiceDescription[] =
628 "Enables the network service, which makes network requests through a "
629 "separate service. Note: most features don't work with this yet.";
630
John Abd-El-Malek8067cc02017-12-04 23:23:20631const char kEnableNetworkServiceInProcessName[] =
632 "Runs network service in-process";
633const char kEnableNetworkServiceInProcessDescription[] =
634 "Runs the network service in the browser process.";
635
dpapaded8349472017-10-25 03:21:27636const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
637const char kEnableNewPrintPreviewDescription[] =
rbpotter29690042018-06-18 19:28:37638 "If enabled, Print Preview will display a newer UI. This feature is "
639 "activated if either this flag or #upcoming-ui-features is enabled.";
dpapaded8349472017-10-25 03:21:27640
Ahmed Fakhry2fd8fc82017-07-28 16:31:12641const char kEnableNightLightName[] = "Enable Night Light";
642const char kEnableNightLightDescription[] =
643 "Enable the Night Light feature which controls the color temperature of "
644 "the screen.";
645
Tetsui Ohkuboc3eb87f72018-07-20 02:22:28646const char kEnableNotificationScrollBarName[] =
647 "Enable notification list scroll bar";
648const char kEnableNotificationScrollBarDescription[] =
649 "Enable the scroll bar of the notification list in Unified System Tray.";
650
xlou8b56f672018-02-09 23:34:30651const char kEnableNupPrintingName[] = "Enable N-up printing";
652const char kEnableNupPrintingDescription[] =
653 "Enable N-up printing in the print preview panel.";
654
Sophie Chang117a3b22017-10-24 22:25:36655const char kEnableOptimizationHintsName[] = "Optimization Hints";
656const char kEnableOptimizationHintsDescription[] =
Sophie Chang5454ce82018-07-16 17:44:50657 "Enable the Optimization Hints feature which incorporates server hints "
Sophie Chang117a3b22017-10-24 22:25:36658 "into decisions for what optimizations to perform on some pages on slow "
659 "networks.";
660
Yutaka Hirano98be3272017-08-07 17:55:39661const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
662const char kEnableOutOfBlinkCORSDescription[] =
663 "CORS handling logic is moved out of blink.";
664
Sammie Quon0fbf0782018-05-01 22:11:08665const char kEnableOverviewSwipeToCloseName[] =
666 "Enable overview swipe to close.";
667const char kEnableOverviewSwipeToCloseDescription[] =
668 "Enables closing of items in overview mode by dragging or flinging "
669 "vertically.";
670
kylechar7051c092018-02-05 20:31:39671const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
672const char kVizDisplayCompositorDescription[] =
673 "If enabled, the display compositor runs as part of the viz service in the"
674 "GPU process.";
675
Ria Jiang6a129b982018-03-01 18:30:40676const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
677const char kVizHitTestDrawQuadDescription[] =
678 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
679 "with hit-test data computed from the CompositorFrame.";
680
Erik Chen49bbfa22017-08-18 08:49:56681const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23682 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56683const char kEnableOutOfProcessHeapProfilingDescription[] =
684 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19685 "malloced objects. Heap dumps can be obtained at chrome://tracing "
686 "[category:memory-infra] and chrome://memory-internals. This setting "
687 "controls which processes are profiled. As long as this setting is not "
688 "disabled, users can start profiling any given process in "
689 "chrome://memory-internals.";
690const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
691const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
692const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
693const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
694const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10695const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19696 "None by default. Visit chrome://memory-internals to choose which "
697 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15698const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
699 "Profile a random sampling of renderer processes, ensuring only one is "
700 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19701
Erik Chen8bb76b52017-12-06 19:06:25702const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19703 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25704const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
705 "By default, small allocations are pruned from the heap dump. This reduces "
706 "the size of the compressed trace by 100x. If pruning is disabled, the "
707 "chrome://tracing UI may be unable to take or load the trace. Save the "
708 "trace directly using chrome://memory-internals, and use other mechanisms "
709 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
710 "automatically uploaded traces will always be pruned. This only affects "
711 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56712
erikchen8bc20d82018-02-14 03:21:51713const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
714const char kOutOfProcessHeapProfilingSamplingDescription[] =
715 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22716 "10000. This results in low noise for large and/or frequent allocations ["
717 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
718 "total size of malloc-ed objects] and large and/or frequent allocations "
719 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51720
Erik Chen3303fd0232018-01-11 20:29:05721const char kOOPHPStackModeName[] =
722 "The type of stack to record for memlog heap dumps";
723const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19724 "By default, memlog heap dumps record native stacks, which requires a "
725 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55726 "pointers to work on Android. Native with thread names will add the thread "
727 "name as the first frame of each native stack. It's also possible to "
728 "record a pseudo stack using trace events as identifiers. It's also "
729 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19730const char kOOPHPStackModeMixed[] = "Mixed";
731const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55732const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19733const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05734
François Beaufort2e75f492018-02-08 20:44:46735const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47736const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46737 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47738
F#m59d036e2017-09-13 07:22:17739const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
740const char kEnablePixelCanvasRecordingDescription[] =
741 "Pixel canvas recording allows the compositor to raster contents aligned "
742 "with the pixel and improves text rendering. This should be enabled when a "
743 "device is using fractional scale factor.";
744
Ella Gebee81c92018-08-14 15:51:09745const char kEnableResamplingInputEventsName[] =
746 "Enable resampling input events";
747const char kEnableResamplingInputEventsDescription[] =
748 "Predicts mouse and touch inputs position at rAF time based on previous "
749 "input";
750const char kEnableResamplingScrollEventsName[] =
751 "Enable resampling scroll events";
752const char kEnableResamplingScrollEventsDescription[] =
753 "Predicts the scroll amount at vsync time based on previous input";
754
vitaliiid36191b2018-06-11 07:40:49755extern const char kEnableSyncUserConsentSeparateTypeName[] =
756 "Enable separate sync type for consents";
757extern const char kEnableSyncUserConsentSeparateTypeDescription[] =
758 "Emit user consents as a separate sync type instead of user events.";
759
Mohamed Amir Yosef0178fa892018-07-23 17:43:52760const char kEnableSyncUSSBookmarksName[] = "Enable USS for bookmarks sync";
761const char kEnableSyncUSSBookmarksDescription[] =
762 "Enables the new, experimental implementation of bookmark sync";
763
Mikel Astiz38837f82018-04-24 22:23:23764const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
765const char kEnableSyncUSSSessionsDescription[] =
766 "Enables the new, experimental implementation of session sync (aka tab "
767 "sync).";
768
Brett Wilsonf27ff602017-07-07 22:28:47769const char kEnableTokenBindingName[] = "Token Binding.";
770const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
771
772const char kEnableUseZoomForDsfName[] =
773 "Use Blink's zoom for device scale factor.";
774const char kEnableUseZoomForDsfDescription[] =
775 "If enabled, Blink uses its zooming mechanism to scale content for device "
776 "scale factor.";
777const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
778const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
779const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
780
Patrick Noland8ee016e2018-01-24 11:44:53781const char kEnableScrollAnchorSerializationName[] =
782 "Scroll Anchor Serialization";
783const char kEnableScrollAnchorSerializationDescription[] =
784 "Save the scroll anchor and use it to restore the scroll position when "
785 "navigating.";
786
Brad Nelson5cd500e2018-01-04 00:50:19787const char kEnableSharedArrayBufferName[] =
788 "Experimental enabled SharedArrayBuffer support in JavaScript.";
789const char kEnableSharedArrayBufferDescription[] =
790 "Enable SharedArrayBuffer support in JavaScript.";
791
Brett Wilsonf27ff602017-07-07 22:28:47792const char kEnableWasmName[] = "WebAssembly structured cloning support.";
793const char kEnableWasmDescription[] =
794 "Enable web pages to use WebAssembly structured cloning.";
795
Kim Paulhamusae635a32018-06-27 07:30:54796const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
797const char kEnableWebAuthenticationAPIDescription[] =
Kim Paulhamus92431372018-07-20 02:25:47798 "Enable Web Authentication API support.";
799
800extern const char kEnableWebAuthenticationCableSupportName[] =
801 "Web Authentication caBLE support";
802extern const char kEnableWebAuthenticationCableSupportDescription[] =
803 "Enable the cloud-assisted pairingless BLE protocol for use with "
804 "the Web Authentication API.";
Kim Paulhamusae635a32018-06-27 07:30:54805
Brett Wilsonf27ff602017-07-07 22:28:47806const char kEnableImageCaptureAPIName[] = "Image Capture API";
807const char kEnableImageCaptureAPIDescription[] =
808 "Enables the Web Platform Image Capture API: takePhoto(), "
809 "getPhotoCapabilities(), etc.";
810
811const char kEnableZeroSuggestRedirectToChromeName[] =
812 "Experimental contextual omnibox suggestion";
813const char kEnableZeroSuggestRedirectToChromeDescription[] =
814 "Change omnibox contextual suggestions to an experimental source. Note "
815 "that this is not an on/off switch for contextual omnibox and it only "
816 "applies to suggestions provided before the user starts typing a URL or a "
817 "search query (i.e. zero suggest).";
818
819const char kEnableWasmStreamingName[] =
820 "WebAssembly streaming compile/instantiate support.";
821const char kEnableWasmStreamingDescription[] =
822 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
823
Clemens Hammacher0c8a15a2018-04-27 13:45:32824const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
825const char kEnableWasmBaselineDescription[] =
826 "Enables WebAssembly baseline compilation and tier up.";
827
Ben Smith24c1e5c2018-06-20 01:09:02828const char kEnableWasmThreadsName[] = "WebAssembly threads support.";
829const char kEnableWasmThreadsDescription[] =
830 "Enables support for the WebAssembly Threads proposal. Implies "
831 "#shared-array-buffer and #enable-webassembly.";
832
Brett Wilsonf27ff602017-07-07 22:28:47833const char kExpensiveBackgroundTimerThrottlingName[] =
834 "Throttle expensive background timers";
835const char kExpensiveBackgroundTimerThrottlingDescription[] =
836 "Enables intervention to limit CPU usage of background timers to 1%.";
837
838const char kExperimentalAppBannersName[] = "Experimental app banners";
839const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38840 "Enables a new experimental app banner flow and UI. Implies "
841 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47842
843const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
844const char kExperimentalCanvasFeaturesDescription[] =
845 "Enables the use of experimental canvas features which are still in "
846 "development.";
847
Nicholas Verneccd8259802018-02-22 01:22:04848const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
849const char kExperimentalCrostiniUIDescription[] =
850 "Enables in-development Crostini features.";
851
Brett Wilsonf27ff602017-07-07 22:28:47852const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
853const char kExperimentalExtensionApisDescription[] =
854 "Enables experimental extension APIs. Note that the extension gallery "
855 "doesn't allow you to upload extensions that use experimental APIs.";
856
857const char kExperimentalFullscreenExitUIName[] =
858 "Experimental fullscreen exit UI";
859const char kExperimentalFullscreenExitUIDescription[] =
860 "Displays experimental UI to allow mouse and touch input methods to exit "
861 "fullscreen mode.";
862
Ian Clelland37a985d2018-05-04 02:43:13863const char kExperimentalProductivityFeaturesName[] =
864 "Experimental Productivity Features";
865const char kExperimentalProductivityFeaturesDescription[] =
866 "Enable support for experimental developer productivity features, such as "
867 "Layered APIs and policies for avoiding slow rendering.";
868
Brett Wilsonf27ff602017-07-07 22:28:47869const char kExperimentalSecurityFeaturesName[] =
870 "Potentially annoying security features";
871const char kExperimentalSecurityFeaturesDescription[] =
872 "Enables several security features that will likely break one or more "
873 "pages that you visit on a daily basis. Strict mixed content checking, for "
874 "example. And locking powerful features to secure contexts. This flag will "
875 "probably annoy you.";
876
877const char kExperimentalWebPlatformFeaturesName[] =
878 "Experimental Web Platform features";
879const char kExperimentalWebPlatformFeaturesDescription[] =
880 "Enables experimental Web Platform features that are in development.";
881
882const char kExtensionContentVerificationName[] =
883 "Extension Content Verification";
884const char kExtensionContentVerificationDescription[] =
885 "This flag can be used to turn on verification that the contents of the "
886 "files on disk for extensions from the webstore match what they're "
887 "expected to be. This can be used to turn on this feature if it would not "
888 "otherwise have been turned on, but cannot be used to turn it off (because "
889 "this setting can be tampered with by malware).";
890const char kExtensionContentVerificationBootstrap[] =
891 "Bootstrap (get expected hashes, but do not enforce them)";
892const char kExtensionContentVerificationEnforce[] =
893 "Enforce (try to get hashes, and enforce them if successful)";
894const char kExtensionContentVerificationEnforceStrict[] =
895 "Enforce strict (hard fail if we can't get hashes)";
896
897const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
898const char kExtensionsOnChromeUrlsDescription[] =
899 "Enables running extensions on chrome:// URLs, where extensions explicitly "
900 "request this permission.";
galinapae72e152017-05-12 13:12:28901
Brett Wilsonecb80982017-07-12 20:34:51902const char kFastUnloadName[] = "Fast tab/window close";
903const char kFastUnloadDescription[] =
904 "Enables fast tab/window closing - runs a tab's onunload js handler "
905 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34906
Brett Wilsonecb80982017-07-12 20:34:51907const char kFeaturePolicyName[] = "Feature Policy";
908const char kFeaturePolicyDescription[] =
909 "Enables granting and removing access to features through the "
910 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34911
Brett Wilsonecb80982017-07-12 20:34:51912const char kFontCacheScalingName[] = "FontCache scaling";
913const char kFontCacheScalingDescription[] =
914 "Reuse a cached font in the renderer to serve different sizes of font for "
915 "faster layout.";
916
917const char kForceEffectiveConnectionTypeName[] =
918 "Override effective connection type";
919const char kForceEffectiveConnectionTypeDescription[] =
920 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30921 "returned by the network quality estimator. Slow 2G on Cellular returns "
922 "Slow 2G when connected to a cellular network, and the actual estimate "
923 "effective connection type when not on a cellular network. Previews are "
924 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51925const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
926const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
927const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30928const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
929 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51930const char kEffectiveConnectionType2GDescription[] = "2G";
931const char kEffectiveConnectionType3GDescription[] = "3G";
932const char kEffectiveConnectionType4GDescription[] = "4G";
933
934const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
935const char kFillOnAccountSelectDescription[] =
936 "Filling of passwords when an account is explicitly selected by the user "
937 "rather than autofilling credentials on page load.";
938
Brett Wilsonecb80982017-07-12 20:34:51939const char kForceTextDirectionName[] = "Force text direction";
940const char kForceTextDirectionDescription[] =
941 "Explicitly force the per-character directionality of UI text to "
942 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
943 "direction of the character language.";
944const char kForceDirectionLtr[] = "Left-to-right";
945const char kForceDirectionRtl[] = "Right-to-left";
946
947const char kForceUiDirectionName[] = "Force UI direction";
948const char kForceUiDirectionDescription[] =
949 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
950 "mode, overriding the default direction of the UI language.";
951
952const char kFramebustingName[] =
953 "Framebusting requires same-origin or a user gesture";
954const char kFramebustingDescription[] =
955 "Don't permit an iframe to navigate the top level browsing context unless "
956 "they are same-origin or the iframe is processing a user gesture.";
957
958const char kGamepadExtensionsName[] = "Gamepad Extensions";
959const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22960 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynoldsa8f2f692018-07-16 17:12:06961const char kGamepadPollingRateName[] = "Override Gamepad Polling Rate";
Matt Reynolds660a47752018-06-28 19:42:48962const char kGamepadPollingRateDescription[] =
Matt Reynoldsa8f2f692018-07-16 17:12:06963 "Overrides the rate at which gamepad input devices are polled. Increasing "
Matt Reynolds660a47752018-06-28 19:42:48964 "the polling rate improves the average latency of button and axis inputs "
965 "but may negatively affect performance.";
Matt Reynolds043469f2018-05-01 22:56:58966const char kGamepadVibrationName[] = "Gamepad Vibration";
967const char kGamepadVibrationDescription[] =
968 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51969
Brett Wilsonecb80982017-07-12 20:34:51970const char kGpuRasterizationMsaaSampleCountName[] =
971 "GPU rasterization MSAA sample count.";
972const char kGpuRasterizationMsaaSampleCountDescription[] =
973 "Specify the number of MSAA samples for GPU rasterization.";
974const char kGpuRasterizationMsaaSampleCountZero[] = "0";
975const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
976const char kGpuRasterizationMsaaSampleCountFour[] = "4";
977const char kGpuRasterizationMsaaSampleCountEight[] = "8";
978const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
979
980const char kGpuRasterizationName[] = "GPU rasterization";
981const char kGpuRasterizationDescription[] =
982 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28983const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51984
985const char kGoogleProfileInfoName[] = "Google profile name and icon";
986const char kGoogleProfileInfoDescription[] =
987 "Enables using Google information to populate the profile name and icon in "
988 "the avatar menu.";
989
990const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
991const char kHarfbuzzRendertextDescription[] =
992 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
993 "web content.";
994
Takumi Fujimotofb71e332018-03-31 14:04:08995const char kViewsCastDialogName[] = "Views Cast dialog";
996const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31997 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
Takumi Fujimoto28351acc2018-05-31 17:19:53998 "#views-browser-windows on Mac. This feature is activated if either this "
Robert Liao3ecf97c2018-06-05 01:24:54999 "flag or #upcoming-ui-features is enabled";
Takumi Fujimotofb71e332018-03-31 14:04:081000
Manu Cornet4a908de2018-04-09 04:32:271001const char kHideActiveAppsFromShelfName[] =
1002 "Hide running apps (that are not pinned) from the shelf";
1003const char kHideActiveAppsFromShelfDescription[] =
1004 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:251005
Brett Wilsonecb80982017-07-12 20:34:511006const char kHistoryRequiresUserGestureName[] =
1007 "New history entries require a user gesture.";
1008const char kHistoryRequiresUserGestureDescription[] =
1009 "Require a user gesture to add a history entry.";
1010const char kHyperlinkAuditingName[] = "Hyperlink auditing";
1011const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
1012
Ryan Landay4242dbc22018-04-04 01:47:331013const char kHorizontalTabSwitcherAndroidName[] =
1014 "Enable horizontal tab switcher";
1015const char kHorizontalTabSwitcherAndroidDescription[] =
1016 "Changes the layout of the Android tab switcher so tabs scroll "
1017 "horizontally instead of vertically.";
1018
Brett Wilsonecb80982017-07-12 20:34:511019const char kHostedAppQuitNotificationName[] =
1020 "Quit notification for hosted apps";
1021const char kHostedAppQuitNotificationDescription[] =
1022 "Display a notification when quitting Chrome if hosted apps are currently "
1023 "running.";
1024
1025const char kHostedAppShimCreationName[] =
1026 "Creation of app shims for hosted apps on Mac";
1027const char kHostedAppShimCreationDescription[] =
1028 "Create app shims on Mac when creating a hosted app.";
1029
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:481030const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
1031const char kHtmlBasedUsernameDetectorDescription[] =
1032 "Use HTML-based username detector for the password manager.";
1033
Brett Wilsonecb80982017-07-12 20:34:511034const char kIconNtpName[] = "Large icons on the New Tab page";
1035const char kIconNtpDescription[] =
1036 "Enable the experimental New Tab page using large icons.";
1037
Mustafa Emre Acer9f169912018-07-23 22:40:131038const char kIdnNavigationSuggestionsName[] =
1039 "Navigation suggestions for internationalized domain names";
1040const char kIdnNavigationSuggestionsDescription[] =
1041 "Enable navigation suggestions for internationalized domain names that are "
1042 "visually similar to popular domains.";
1043
Brett Wilsonecb80982017-07-12 20:34:511044const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
1045const char kIgnoreGpuBlacklistDescription[] =
1046 "Overrides the built-in software rendering list and enables "
1047 "GPU-acceleration on unsupported system configurations.";
1048
Ryan Sturm8c3dbc92018-06-26 19:22:371049const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blocklist";
Thanh Le5f090efa52017-12-27 22:39:441050const char kIgnorePreviewsBlacklistDescription[] =
Ryan Sturm8c3dbc92018-06-26 19:22:371051 "Ignore decisions made by the PreviewsBlockList";
Thanh Le5f090efa52017-12-27 22:39:441052
Claudio Magni61c210922017-12-28 00:29:511053const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
1054const char kImprovedLanguageSettingsDescription[] =
1055 "Set of changes for Language Settings. These changes are intended to fix "
1056 "the major bugs related to Language Settings.";
1057
Brett Wilsonecb80982017-07-12 20:34:511058const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
1059const char kInProductHelpDemoModeChoiceDescription[] =
1060 "Selects the In-Product Help demo mode.";
1061
1062const char kJavascriptHarmonyName[] = "Experimental JavaScript";
1063const char kJavascriptHarmonyDescription[] =
1064 "Enable web pages to use experimental JavaScript features.";
1065
1066const char kJavascriptHarmonyShippingName[] =
1067 "Latest stable JavaScript features";
1068const char kJavascriptHarmonyShippingDescription[] =
1069 "Some web pages use legacy or non-standard JavaScript extensions that may "
1070 "conflict with the latest JavaScript features. This flag allows disabling "
1071 "support of those features for compatibility with such pages.";
1072
gogeraldfd7675d2018-06-19 22:57:351073const char kJustInTimeServiceWorkerPaymentAppName[] =
1074 "Just-in-time service worker payment app";
1075const char kJustInTimeServiceWorkerPaymentAppDescription[] =
1076 "Allow crawling just-in-time service worker payment app when there is no "
1077 "installed service worker payment app for a payment request.";
1078
Yutaka Hiranof7f2f632017-09-06 10:40:081079const char kKeepAliveRendererForKeepaliveRequestsName[] =
1080 "Keep a renderer alive for keepalive fetch requests";
1081const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
1082 "Keep a render process alive when the process has a pending fetch request "
1083 "with `keepalive' specified.";
1084
Joe Downing095fd6d2018-02-01 18:40:361085const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
1086const char kKeyboardLockApiDescription[] =
1087 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
1088 "specific key events and have them routed directly to the webpage when in "
1089 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
1090
Brett Wilsonecb80982017-07-12 20:34:511091const char kLcdTextName[] = "LCD text antialiasing";
1092const char kLcdTextDescription[] =
1093 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
1094 "(subpixel) when doing accelerated compositing.";
1095
Matt Giucac399982f2017-10-06 07:51:291096const char kLeftToRightUrlsName[] =
1097 "Render bidirectional URLs from left to right";
1098const char kLeftToRightUrlsDescription[] =
1099 "An experimental Bidi URL rendering algorithm where the URL components are "
1100 "always shown in order from left to right, regardless of any RTL "
1101 "characters. (The contents of each component are still rendered with the "
1102 "normal Bidi algorithm.)";
1103
Brett Wilsonecb80982017-07-12 20:34:511104const char kLoadMediaRouterComponentExtensionName[] =
1105 "Load Media Router Component Extension";
1106const char kLoadMediaRouterComponentExtensionDescription[] =
1107 "Loads the Media Router component extension at startup.";
1108
spqchanb87755692018-04-05 00:46:091109const char kMacViewsAutofillPopupName[] =
1110 "Uses the Views Autofill Popup on Mac";
1111const char kMacViewsAutofillPopupDescription[] =
1112 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:321113
Brett Wilsonecb80982017-07-12 20:34:511114const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
1115const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:511116
Lei Zhang2eca9082017-10-17 20:42:501117const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
1118const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:511119 "If enabled, the Incognito New Tab page uses the new material design with "
1120 "a better readable text.";
1121
spqchanb87755692018-04-05 00:46:091122const char kMediaRouterCastAllowAllIPsName[] =
1123 "Connect to Cast devices on all IP addresses";
1124const char kMediaRouterCastAllowAllIPsDescription[] =
1125 "Have the Media Router connect to Cast devices on all IP addresses, not "
Nick Harperd30507ca2018-08-16 20:24:311126 "just RFC1918/RFC4193 private addresses.";
spqchanb87755692018-04-05 00:46:091127
Brett Wilsonecb80982017-07-12 20:34:511128const char kMemoryCoordinatorName[] = "Memory coordinator";
1129const char kMemoryCoordinatorDescription[] =
1130 "Enable memory coordinator instead of memory pressure listeners.";
1131
1132const char kMessageCenterNewStyleNotificationName[] = "New style notification";
1133const char kMessageCenterNewStyleNotificationDescription[] =
1134 "Enables the experiment style of material-design notification";
1135
Brett Wilsonecb80982017-07-12 20:34:511136const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1137const char kMhtmlGeneratorOptionDescription[] =
1138 "Provides experimental options for MHTML file generator.";
1139const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1140const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1141
Kouhei Ueno08445c22017-09-05 03:58:301142const char kModuleScriptsDynamicImportName[] =
1143 "Enable ECMAScript 6 modules dynamic import";
1144const char kModuleScriptsDynamicImportDescription[] =
1145 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1146 "Blink.";
1147
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051148const char kModuleScriptsImportMetaUrlName[] =
1149 "Enable ECMAScript 6 modules import.meta.url";
1150const char kModuleScriptsImportMetaUrlDescription[] =
1151 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1152 "Blink.";
1153
Brett Wilsonecb80982017-07-12 20:34:511154const char kNewAudioRenderingMixingStrategyName[] =
1155 "New audio rendering mixing strategy";
1156const char kNewAudioRenderingMixingStrategyDescription[] =
1157 "Use the new audio rendering mixing strategy.";
1158
1159const char kNewBookmarkAppsName[] = "The new bookmark app system";
1160const char kNewBookmarkAppsDescription[] =
1161 "Enables the new system for creating bookmark apps.";
1162
Vadym Doroshenkocd4ff782018-07-24 13:41:021163const char kNewPasswordFormParsingName[] =
1164 "New password form parsing for filling passwords";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241165const char kNewPasswordFormParsingDescription[] =
Vadym Doroshenkocd4ff782018-07-24 13:41:021166 "Replaces existing form parsing for filling in password manager with a new "
1167 "version, currently under development. WARNING: when enabled, Password "
1168 "Manager might stop working";
1169
1170const char kNewPasswordFormParsingForSavingName[] =
1171 "New password form parsing for saving passwords";
1172const char kNewPasswordFormParsingForSavingDescription[] =
1173 "Replaces existing form parsing for saving in password manager with a new "
1174 "version, currently under development. WARNING: when enabled, Password "
1175 "Manager might stop working";
Vadym Doroshenkof81e8bb2018-04-18 14:35:241176
Brett Wilsonecb80982017-07-12 20:34:511177const char kNewRemotePlaybackPipelineName[] =
1178 "Enable the new remote playback pipeline.";
1179const char kNewRemotePlaybackPipelineDescription[] =
1180 "Enable the new pipeline for playing media element remotely via "
1181 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501182const char kUseSurfaceLayerForVideoName[] =
1183 "Enable the use of SurfaceLayer objects for videos.";
1184const char kUseSurfaceLayerForVideoDescription[] =
1185 "Enable compositing onto a Surface instead of a VideoLayer "
1186 "for videos.";
CJ DiMeglioe6e258a2018-08-10 21:41:571187const char kUseSurfaceLayerForVideoMSName[] =
1188 "Enable the use of SurfaceLayer objects for media stream videos.";
1189const char kUseSurfaceLayerForVideoMSDescription[] =
1190 "Enable compositing onto a Surface instead of a VideoLayer "
1191 "for media stream videos.";
Brett Wilsonecb80982017-07-12 20:34:511192
1193const char kNewUsbBackendName[] = "Enable new USB backend";
1194const char kNewUsbBackendDescription[] =
1195 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341196
Sonny Sasaka2d200432018-03-22 17:43:161197const char kNewblueName[] = "Newblue";
1198const char kNewblueDescription[] =
1199 "Enables the use of newblue Bluetooth daemon.";
1200
Peter Kasting63097912018-06-30 02:09:031201const char kNewTabButtonPosition[] = "New tab button position";
1202const char kNewTabButtonPositionDescription[] =
1203 "Controls placement of the new tab button within the tabstrip.";
1204const char kNewTabButtonPositionOppositeCaption[] = "Opposite caption buttons";
1205const char kNewTabButtonPositionLeading[] = "Leading";
1206const char kNewTabButtonPositionAfterTabs[] = "After tabs";
1207const char kNewTabButtonPositionTrailing[] = "Trailing";
1208
Egor Pasko6fed3822018-05-30 10:33:141209const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341210const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141211 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341212
Alex Newcomerd7b0cc42018-05-25 22:58:481213const char kNotificationIndicatorName[] = "Notification Indicators";
1214const char kNotificationIndicatorDescription[] =
1215 "Enable notification indicators, which appear on app icons when a "
1216 "notification is active. This will also enable notifications in context "
1217 "menus.";
1218
Brett Wilsonecb80982017-07-12 20:34:511219const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1220const char kNotificationsNativeFlagDescription[] =
1221 "Enable support for using the native notification toasts and notification "
1222 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341223
Zentaro Kavanaghbad511c2017-10-18 22:29:001224#if defined(OS_POSIX)
1225const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1226const char kNtlmV2EnabledDescription[] =
1227 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1228#endif
1229
Ramya Nagarajane9f16b82018-05-03 01:05:341230const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1231const char kNtpBackgroundsDescription[] =
kristipark037abce12018-07-13 19:49:301232 "Allow selection of a custom background image on the New Tab Page. "
1233 "Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341234
kristipark037abce12018-07-13 19:49:301235const char kNtpCustomLinksName[] = "New Tab Page Custom Links";
1236const char kNtpCustomLinksDescription[] =
1237 "Enable customization of shortcuts on the New Tab Page and replaces Most "
1238 "Visited. Implicitly enables 'ntp-ui-md' and 'ntp-icons'.";
1239
1240const char kNtpIconsName[] = "New Tab Page Material Design Icons";
Ramya Nagarajane9f16b82018-05-03 01:05:341241const char kNtpIconsDescription[] =
kristipark037abce12018-07-13 19:49:301242 "Show Material Design icons on the New Tab Page, instead of Most Visited "
1243 "tiles. Implicitly enables 'ntp-ui-md'.";
Ramya Nagarajane9f16b82018-05-03 01:05:341244
1245const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1246const char kNtpUIMdDescription[] =
1247 "Updates the New Tab Page with Material Design elements.";
1248
Brett Wilsonecb80982017-07-12 20:34:511249const char kNumRasterThreadsName[] = "Number of raster threads";
1250const char kNumRasterThreadsDescription[] =
1251 "Specify the number of raster threads.";
1252const char kNumRasterThreadsOne[] = "1";
1253const char kNumRasterThreadsTwo[] = "2";
1254const char kNumRasterThreadsThree[] = "3";
1255const char kNumRasterThreadsFour[] = "4";
1256
1257const char kOfferStoreUnmaskedWalletCardsName[] =
1258 "Google Payments card saving checkbox";
1259const char kOfferStoreUnmaskedWalletCardsDescription[] =
1260 "Show the checkbox to offer local saving of a credit card downloaded from "
1261 "the server.";
1262
1263const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1264const char kOfflineAutoReloadDescription[] =
1265 "Pages that fail to load while the browser is offline will be "
1266 "auto-reloaded when the browser is online again.";
1267
1268const char kOfflineAutoReloadVisibleOnlyName[] =
1269 "Only Auto-Reload Visible Tabs";
1270const char kOfflineAutoReloadVisibleOnlyDescription[] =
1271 "Pages that fail to load while the browser is offline will only be "
1272 "auto-reloaded if their tab is visible.";
1273
Brett Wilsonecb80982017-07-12 20:34:511274const char kOmniboxDisplayTitleForCurrentUrlName[] =
1275 "Include title for the current URL in the omnibox";
1276const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1277 "In the event that the omnibox provides suggestions on-focus, the URL of "
1278 "the current page is provided as the first suggestion without a title. "
1279 "Enabling this flag causes the title to be displayed.";
1280
Benoit Lizeab08362c2017-07-19 14:50:541281const char kOmniboxSpareRendererName[] =
1282 "Start spare renderer on omnibox focus";
1283const char kOmniboxSpareRendererDescription[] =
1284 "When the omnibox is focused, start an empty spare renderer. This can "
1285 "speed up the load of the navigation from the omnibox.";
1286
Tommy C. Li8875a442017-08-23 00:10:591287const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1288 "Omnibox UI Elide Suggestion URL After Host";
1289const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1290 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1291 "dropdown.";
1292
Tommy C. Lid79d4402017-12-22 22:49:121293const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1294 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1295const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1296 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
Tommy C. Li06aafc92018-06-12 18:06:221297 "displayed URLs. Hidden portions are restored during editing. For Mac, "
1298 "this flag will have no effect unless MacViews is enabled.";
Tommy C. Lid79d4402017-12-22 22:49:121299
Tommy C. Licc5e53022018-07-27 16:30:351300const char kOmniboxUIJogTextfieldOnPopupName[] =
1301 "Omnibox UI Jog Textfield on Popup";
1302const char kOmniboxUIJogTextfieldOnPopupDescription[] =
1303 "In the Omnibox, jog the textfield to align with the dropdown suggestions "
1304 "text when the popup is opened. When this feature is disabled, the "
1305 "textfield is always aligned with the suggestions text, and a separator "
1306 "fills the gap. If Material Refresh is disabled, this has no effect.";
1307
Brett Wilsonecb80982017-07-12 20:34:511308const char kOmniboxUIMaxAutocompleteMatchesName[] =
1309 "Omnibox UI Max Autocomplete Matches";
1310
1311const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1312 "Changes the maximum number of autocomplete matches displayed in the "
1313 "Omnibox UI.";
1314
Justin Donnelly65c9e8b2017-10-01 05:15:011315const char kOmniboxUIShowSuggestionFaviconsName[] =
1316 "Omnibox UI Show Suggestion Favicons";
1317const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1318 "Shows favicons instead of generic vector icons for URL suggestions in the "
1319 "Omnibox dropdown.";
1320
1321const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1322const char kOmniboxUISwapTitleAndUrlDescription[] =
1323 "In the omnibox dropdown, shows titles before URLs when both are "
1324 "available.";
1325
Brett Wilsonecb80982017-07-12 20:34:511326const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1327const char kOmniboxUIVerticalMarginDescription[] =
1328 "Changes the vertical margin in the Omnibox UI.";
1329
Troy Hildebrandtb32637ca2018-02-21 23:25:091330const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1331 "Omnibox Voice Search Always Visible";
1332const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1333 "Always displays voice search icon in focused omnibox as long as voice "
1334 "search is possible";
1335
Adrienne Walkerc87477e2018-06-06 22:28:211336const char kOopRasterizationName[] = "Out of process rasterization";
1337const char kOopRasterizationDescription[] =
1338 "Perform Ganesh raster in the GPU Process instead of the renderer. "
1339 "Must also enable GPU rasterization";
1340
Brett Wilsonecb80982017-07-12 20:34:511341const char kOriginTrialsName[] = "Origin Trials";
1342const char kOriginTrialsDescription[] =
1343 "Enables origin trials for controlling access to feature/API experiments.";
1344
Becca Hughes930d8cd2017-10-02 11:09:121345const char kOverflowIconsForMediaControlsName[] =
1346 "Icons on Media Controls Overflow Menu";
1347const char kOverflowIconsForMediaControlsDescription[] =
1348 "Displays icons on the overflow menu of the native media controls";
1349
Brett Wilsonecb80982017-07-12 20:34:511350const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1351const char kOverlayScrollbarsDescription[] =
1352 "Enable the experimental overlay scrollbars implementation. You must also "
1353 "enable threaded compositing to have the scrollbars animate.";
1354
chaopenge8aa016b2017-08-24 15:20:191355const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1356 "Flash Overlay Scrollbars After Any Scroll Update";
1357const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1358 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1359 " must also enable Overlay Scrollbars.";
1360
chaopeng343678022017-08-24 18:45:001361const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1362 "Flash Overlay Scrollbars When Mouse Enter";
1363const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1364 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1365 " enable Overlay Scrollbars.";
1366
Daniele Castagna74ddb9c2018-06-21 22:59:021367const char kOverlayStrategiesName[] = "Select HW overlay strategies";
1368const char kOverlayStrategiesDescription[] =
1369 "Select strategies used to promote quads to HW overlays.";
1370const char kOverlayStrategiesDefault[] = "Default";
1371const char kOverlayStrategiesNone[] = "None";
1372const char kOverlayStrategiesUnoccludedFullscreen[] =
1373 "Unoccluded fullscreen buffers (single-fullscreen)";
1374const char kOverlayStrategiesUnoccluded[] =
1375 "Unoccluded buffers (single-fullscreen,single-on-top)";
1376const char kOverlayStrategiesOccludedAndUnoccluded[] =
1377 "Occluded and unoccluded buffers "
1378 "(single-fullscreen,single-on-top,underlay)";
1379
Claudio Magni81326f92017-09-01 05:21:181380const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1381const char kUseNewAcceptLanguageHeaderDescription[] =
1382 "Adds the base language code after other corresponding language+region "
1383 "codes. This ensures that users receive content in their preferred "
1384 "language.";
1385
Brett Wilsonecb80982017-07-12 20:34:511386const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1387const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481388 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511389const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481390const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511391
1392const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1393const char kOverscrollStartThresholdDescription[] =
1394 "Changes overscroll start threshold relative to the default value.";
1395const char kOverscrollStartThreshold133Percent[] = "133%";
1396const char kOverscrollStartThreshold166Percent[] = "166%";
1397const char kOverscrollStartThreshold200Percent[] = "200%";
1398
chaopenge2b6e5f2018-05-08 16:40:451399const char kTouchpadOverscrollHistoryNavigationName[] =
1400 "Overscroll history navigation on Touchpad";
1401const char kTouchpadOverscrollHistoryNavigationDescription[] =
1402 "Allows swipe left/right from touchpad change browser navigation.";
1403
Xing Liu5400a002017-09-15 21:48:291404const char kParallelDownloadingName[] = "Parallel downloading";
1405const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061406 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291407
Brett Wilsonecb80982017-07-12 20:34:511408const char kPassiveEventListenerDefaultName[] =
1409 "Passive Event Listener Override";
1410const char kPassiveEventListenerDefaultDescription[] =
1411 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1412 "haven't requested otherwise) to be treated as passive. This will break "
1413 "touch/wheel behavior on some websites but is useful for demonstrating the "
1414 "potential performance benefits of adopting passive event listeners.";
1415const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1416const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1417
1418const char kPassiveEventListenersDueToFlingName[] =
1419 "Touch Event Listeners Passive Default During Fling";
1420const char kPassiveEventListenersDueToFlingDescription[] =
1421 "Forces touchstart, and first touchmove per scroll event listeners during "
1422 "fling to be treated as passive.";
1423
1424const char kPassiveDocumentEventListenersName[] =
1425 "Document Level Event Listeners Passive Default";
1426const char kPassiveDocumentEventListenersDescription[] =
1427 "Forces touchstart, and touchmove event listeners on document level "
1428 "targets (which haven't requested otherwise) to be treated as passive.";
1429
Sahel Sharify7400e882018-08-13 17:13:211430const char kPassiveDocumentWheelEventListenersName[] =
1431 "Document Level Wheel Event Listeners Passive Default";
1432const char kPassiveDocumentWheelEventListenersDescription[] =
1433 "Forces wheel, and mousewheel event listeners on document level targets "
1434 "(which haven't requested otherwise) to be treated as passive.";
1435
Brett Wilsonecb80982017-07-12 20:34:511436const char kPasswordForceSavingName[] = "Force-saving of passwords";
1437const char kPasswordForceSavingDescription[] =
1438 "Allow the user to manually enforce password saving instead of relying on "
1439 "password manager's heuristics.";
1440
Vaclav Brozekd8a3f542017-11-16 14:21:131441const char kPasswordExportName[] = "Password export";
1442const char kPasswordExportDescription[] =
1443 "Export functionality in password settings.";
1444
1445const char kPasswordImportName[] = "Password import";
1446const char kPasswordImportDescription[] =
1447 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511448
Friedrich Horschig03c91982018-01-25 14:21:281449const char kPasswordSearchMobileName[] = "Password search";
1450const char kPasswordSearchMobileDescription[] =
1451 "Search functionality in password settings.";
1452
Friedrich Horschige6c27742018-04-23 17:13:411453const char kPasswordsKeyboardAccessoryName[] =
1454 "Add password-related functions to keyboard accessory";
1455const char kPasswordsKeyboardAccessoryDescription[] =
1456 "Adds password generation button and toggle for the passwords bottom sheet "
1457 "to the keyboard accessory. Replaces password generation popups.";
1458
Christos Froussios6e060c42018-07-31 16:17:191459const char kPasswordsMigrateLinuxToLoginDBName[] =
1460 "Migrate passwords to \"Login Data\"";
1461const char kPasswordsMigrateLinuxToLoginDBDescription[] =
1462 "Performs a one-off migration (with retries) of passwords from the "
1463 "gnome-keyring or kwallet into the profile directory.";
1464
Tom Sepez92a2cd242018-03-13 19:23:091465const char kPdfIsolationName[] = "PDF Isolation";
1466const char kPdfIsolationDescription[] =
1467 "Render PDF files from different origins in different plugin processes.";
1468
Brett Wilsonecb80982017-07-12 20:34:511469const char kPinchScaleName[] = "Pinch scale";
1470const char kPinchScaleDescription[] =
1471 "Enables experimental support for scale using pinch.";
1472
Doug Arnett620ff542018-02-06 17:54:221473const char kPreviewsAllowedName[] = "Previews Allowed";
1474const char kPreviewsAllowedDescription[] =
1475 "Allows previews to be shown subject to specific preview types being "
1476 "enabled and the client experiencing specific triggering conditions. "
1477 "May be used as a kill-switch to turn off all potential preview types.";
1478
Brett Wilsonecb80982017-07-12 20:34:511479const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1480const char kPrintPdfAsImageDescription[] =
1481 "If enabled, an option to print PDF files as images will be available in "
1482 "print preview.";
1483
1484const char kPrintPreviewRegisterPromosName[] =
1485 "Print Preview Registration Promos";
1486const char kPrintPreviewRegisterPromosDescription[] =
1487 "Enable registering unregistered cloud printers from print preview.";
1488
1489const char kProtectSyncCredentialName[] = "Autofill sync credential";
1490const char kProtectSyncCredentialDescription[] =
1491 "How the password manager handles autofill for the sync credential.";
1492
1493const char kProtectSyncCredentialOnReauthName[] =
1494 "Autofill sync credential only for transactional reauth pages";
1495const char kProtectSyncCredentialOnReauthDescription[] =
1496 "How the password manager handles autofill for the sync credential only "
1497 "for transactional reauth pages.";
1498
Mohsen Izadi93faac12017-07-29 04:45:151499const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1500const char kPullToRefreshDescription[] =
1501 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011502const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151503
Troy Hildebrandt7228ad12018-02-23 21:18:241504const char kQueryInOmniboxName[] = "Query in Omnibox";
1505const char kQueryInOmniboxDescription[] =
1506 "Only display query terms in the omnibox when viewing a search results "
1507 "page.";
1508
Brett Wilsonecb80982017-07-12 20:34:511509const char kQuicName[] = "Experimental QUIC protocol";
1510const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1511
Emily Starke8878d52018-05-11 21:27:261512const char kRecurrentInterstitialName[] =
1513 "Show a message when the same SSL error recurs";
1514const char kRecurrentInterstitialDescription[] =
1515 "Enable a special message on the SSL certificate error page when the same "
1516 "SSL error occurs repeatedly.";
1517
Brett Wilsonecb80982017-07-12 20:34:511518const char kReducedReferrerGranularityName[] =
1519 "Reduce default 'referer' header granularity.";
1520const char kReducedReferrerGranularityDescription[] =
1521 "If a page hasn't set an explicit referrer policy, setting this flag will "
1522 "reduce the amount of information in the 'referer' header for cross-origin "
1523 "requests.";
1524
Claudio Magnie0a80bb2018-01-31 02:52:581525extern const char kRegionalLocalesAsDisplayUIName[] =
1526 "Allow regional locales as display UI";
1527extern const char kRegionalLocalesAsDisplayUIDescription[] =
1528 "This flag allows regional locales to be selected as display UI by the "
1529 "user in Language Settings. The actual locale of the system is derived "
1530 "from the user selection based on some simple fallback logic.";
1531
Christian Dullweber1af31e62018-02-22 11:49:481532const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141533 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481534const char kRemoveNavigationHistoryDescription[] =
1535 "Remove a navigation entry when the corresponding history entry has been "
1536 "deleted.";
1537
Mihai Sardarescu6d0f5b72017-10-30 11:24:381538const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1539 "Remove usage of the deprecated GAIA sign-in endpoint";
1540const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1541 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1542 "This flags controls wheter it should no longer be used during a sign-in "
1543 " flow.";
1544
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351545const char kRendererSideResourceSchedulerName[] =
1546 "Renderer side ResourceScheduler";
1547const char kRendererSideResourceSchedulerDescription[] =
1548 "Migrate some ResourceScheduler functionalities to renderer";
1549
Brett Wilsonecb80982017-07-12 20:34:511550const char kRequestTabletSiteName[] =
1551 "Request tablet site option in the settings menu";
1552const char kRequestTabletSiteDescription[] =
1553 "Allows the user to request tablet site. Web content is often optimized "
1554 "for tablet devices. When this option is selected the user agent string is "
1555 "changed to indicate a tablet device. Web content optimized for tablets is "
1556 "received there after for the current tab.";
1557
1558const char kResetAppListInstallStateName[] =
1559 "Reset the App Launcher install state on every restart.";
1560const char kResetAppListInstallStateDescription[] =
1561 "Reset the App Launcher install state on every restart. While this flag is "
1562 "set, Chrome will forget the launcher has been installed each time it "
1563 "starts. This is used for testing the App Launcher install flow.";
1564
Kinuko Yasuda33955082018-06-19 10:14:591565const char kResourceLoadSchedulerName[] = "Enable resource load throttling";
Brett Wilsonecb80982017-07-12 20:34:511566const char kResourceLoadSchedulerDescription[] =
Kinuko Yasuda33955082018-06-19 10:14:591567 "Uses the resource load scheduler in blink to throttle resource load "
1568 "requests.";
Brett Wilsonecb80982017-07-12 20:34:511569
Brett Wilsonecb80982017-07-12 20:34:511570const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1571const char kSafeSearchUrlReportingDescription[] =
1572 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1573
Alexei Filippov98772752018-01-27 08:26:521574const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1575const char kSamplingHeapProfilerDescription[] =
1576 "Enables native memory sampling profiler with specified rate in KiB. "
1577 "If sampling rate is not provided the default value of 128 KiB is used.";
1578
Brett Wilsonecb80982017-07-12 20:34:511579const char kSaveasMenuLabelExperimentName[] =
1580 "Switch 'Save as' menu labels to 'Download'";
1581const char kSaveasMenuLabelExperimentDescription[] =
1582 "Enables an experiment to switch menu labels that use 'Save as...' to "
1583 "'Download'.";
1584
1585const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1586const char kSavePageAsMhtmlDescription[] =
1587 "Enables saving pages as MHTML: a single text file containing HTML and all "
1588 "sub-resources.";
1589
Nate Chapin9638e7102017-09-20 22:11:011590const char kSavePreviousDocumentResourcesName[] =
1591 "Save Previous Document Resources";
1592const char kSavePreviousDocumentResourcesDescription[] =
1593 "Saves an old document's cached resources until the specified point in the "
1594 "next document's lifecycle.";
1595const char kSavePreviousDocumentResourcesNever[] =
1596 "Don't explicitly save resources";
1597const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1598 "Save resources until onDOMContentLoaded completes";
1599const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1600 "Save resources until onload completes";
1601
gogeraldd5061b592017-09-06 23:39:551602const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1603const char kServiceWorkerPaymentAppsDescription[] =
1604 "Enable Service Worker applications to integrate as payment apps";
1605
Makoto Shimazu22078cc2018-02-21 03:01:441606extern const char kServiceWorkerServicificationName[] =
1607 "Servicified service workers";
1608extern const char kServiceWorkerServicificationDescription[] =
1609 "Enable the servicified service workers. A servicified service worker can "
1610 "have direct connection from its clients, so that fetch events can be "
1611 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171612
Tsuyoshi Horobcb1c642017-11-24 16:32:141613const char kServiceWorkerScriptFullCodeCacheName[] =
1614 "Service worker script full code cache.";
1615const char kServiceWorkerScriptFullCodeCacheDescription[] =
1616 "Generate V8 full code cache of Service Worker scripts while installing.";
1617
Brett Wilsonecb80982017-07-12 20:34:511618const char kSettingsWindowName[] = "Show settings in a window";
1619const char kSettingsWindowDescription[] =
1620 "Settings will be shown in a dedicated window instead of as a browser tab.";
1621
Manu Cornetd7ef7c52018-05-01 22:08:231622const char kShelfHoverPreviewsName[] =
1623 "Show previews of running apps when hovering over the shelf.";
1624const char kShelfHoverPreviewsDescription[] =
1625 "Shows previews of the open windows for a given running app when hovering "
1626 "over the shelf.";
1627
Manu Cornet683e14b2018-07-16 17:39:431628const char kShelfNewUiName[] = "Newest shelf redesign.";
1629const char kShelfNewUiDescription[] = "Enables the newest shelf appearance.";
1630
Trent Apted750ba7022017-10-23 13:36:251631const char kShowAllDialogsWithViewsToolkitName[] =
1632 "Show all dialogs with Views toolkit";
1633const char kShowAllDialogsWithViewsToolkitDescription[] =
1634 "All browser dialogs will be shown using the Views toolkit rather than "
1635 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1636
Naoki Fukino008a0022018-05-23 18:33:001637const char kShowAndroidFilesInFilesAppName[] =
1638 "Show Android files in Files app";
1639const char kShowAndroidFilesInFilesAppDescription[] =
1640 "Show Android files in Files app if Android is enabled on the device.";
1641
Luciano Pachecoa0e2753f2018-07-16 07:41:101642const char kFilesAppDisableMyFilesNavigationName[] =
1643 "Disable the My Files on the navigation in the Files app";
1644const char kFilesAppDisableMyFilesNavigationDescription[] =
1645 "Disables the My Files on the navigation in the Files app, which displays "
Luciano Pachecof1beaa82018-05-30 04:48:511646 R"("My Files" root for Downloads, Linux and Play files)";
1647
Brett Wilsonecb80982017-07-12 20:34:511648const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1649const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381650 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1651 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511652
1653const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1654const char kShowAutofillTypePredictionsDescription[] =
1655 "Annotates web forms with Autofill field type predictions as placeholder "
1656 "text.";
1657
1658const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1659const char kShowOverdrawFeedbackDescription[] =
1660 "Visualize overdraw by color-coding elements based on if they have other "
1661 "elements drawn underneath.";
1662
Carlos IL89128732018-04-03 17:00:251663const char kSupervisedUserCommittedInterstitialsName[] =
1664 "Enable Supervised User Committed Interstitials";
1665const char kSupervisedUserCommittedInterstitialsDescription[] =
1666 "Use committed error pages instead of transient navigation entries for "
1667 "supervised user interstitials";
1668
yiyixbdfa9a0b2017-10-23 22:21:471669const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1670const char kEnableDrawOcclusionDescription[] =
1671 "Enable the system to use draw occlusion to skip draw quads when they are "
1672 "not shown on the screen.";
1673
Brett Wilsonecb80982017-07-12 20:34:511674const char kShowSavedCopyName[] = "Show Saved Copy Button";
1675const char kShowSavedCopyDescription[] =
1676 "When a page fails to load, if a stale copy of the page exists in the "
1677 "browser cache, a button will be presented to allow the user to load that "
1678 "stale copy. The primary enabling choice puts the button in the most "
1679 "salient position on the error page; the secondary enabling choice puts it "
1680 "secondary to the reload button.";
1681const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1682const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1683const char kDisableShowSavedCopy[] = "Disable";
1684
Brett Wilsonecb80982017-07-12 20:34:511685const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1686const char kSilentDebuggerExtensionApiDescription[] =
1687 "Do not show the infobar when an extension attaches to a page via "
1688 "chrome.debugger API. This is required to debug extension background "
1689 "pages.";
1690
Tsuyoshi Horo53895ba92018-03-14 04:06:481691const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1692const char kSignedHTTPExchangeDescription[] =
1693 "Enables Origin-Signed HTTP Exchanges support which is still in "
1694 "development. Warning: Enabling this may pose a security risk.";
1695
Brett Wilsonecb80982017-07-12 20:34:511696const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1697const char kSimpleCacheBackendDescription[] =
1698 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1699 "disk space allocation.";
1700
Christopher Thompson75ff845d2018-02-01 20:12:461701const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1702const char kSimplifyHttpsIndicatorDescription[] =
1703 "Change the UI treatment for HTTPS pages.";
1704
Brett Wilsonecb80982017-07-12 20:34:511705const char kSingleClickAutofillName[] = "Single-click autofill";
1706const char kSingleClickAutofillDescription[] =
1707 "Make autofill suggestions on initial mouse click on a form element.";
1708
Bret Sepulveda4f891da2018-07-16 19:10:301709const char kSingleTabMode[] = "Single-tab mode";
1710const char kSingleTabModeDescription[] =
1711 "Windows with a single tab receive a special, minimal visual treatment.";
1712
Nick Carter855bc492018-03-10 00:44:571713const char kStrictSiteIsolationName[] = "Strict site isolation";
1714const char kStrictSiteIsolationDescription[] =
1715 "Security mode that enables site isolation for all sites. When enabled, "
1716 "each renderer process will contain pages from at most one site, using "
1717 "out-of-process iframes when needed. When enabled, this flag forces the "
1718 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1719 "isolation mode will be determined by enterprise policy or field trial.";
1720
1721const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1722const char kSiteIsolationTrialOptOutDescription[] =
1723 "Opts out of field trials that enable site isolation modes "
1724 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1725 "may be due to out-of-process iframes. Opt-out has no effect if site "
1726 "isolation is force-enabled via #enable-site-per-process or enterprise "
1727 "policy. Caution: this disables important mitigations for the Spectre CPU "
1728 "vulnerability affecting most computers.";
1729extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1730extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1731 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511732
Pattideade7972018-04-27 02:59:401733const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511734const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401735 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511736
Brett Wilsonecb80982017-07-12 20:34:511737const char kSmoothScrollingName[] = "Smooth Scrolling";
1738const char kSmoothScrollingDescription[] =
1739 "Animate smoothly when scrolling page content.";
1740
1741const char kSoftwareRasterizerName[] = "3D software rasterizer";
1742const char kSoftwareRasterizerDescription[] =
1743 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1744
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201745const char kSoleIntegrationName[] = "Sole integration";
1746const char kSoleIntegrationDescription[] =
1747 "Enable Sole integration for browser customization. You must restart "
1748 "the browser twice for changes to take effect.";
1749
Tommy Steimel77704be2017-08-28 22:14:401750const char kSoundContentSettingName[] = "Sound content setting";
1751const char kSoundContentSettingDescription[] =
1752 "Enable site-wide muting in content settings and tab strip context menu.";
1753
Alexandr Ilinf0500ed32017-09-27 21:12:361754const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1755const char kSpeculativePreconnectDescription[] =
1756 "Enable the new implementation of preconnect and DNS preresolve. "
1757 "\"Learning\" means that only database construction is enabled, "
1758 "\"Preconnect\" enables both learning and preconnect and disables the "
1759 "existing implementation. \"No preconnect\" disables both implementations.";
1760
Brett Wilsonecb80982017-07-12 20:34:511761const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341762const char kSpeculativePrefetchDescription[] =
1763 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1764 R"*(load times, based on a local database (see chrome://predictors). )*"
1765 R"*("Learning" means that only the database construction is enabled, )*"
1766 R"*("Prefetching" that learning and prefetching are enabled.)*";
1767
Justin Donnelly4e448cb2017-07-07 21:32:131768const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1769 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131770const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1771 "If enabled, when the user enters text in the omnibox that looks like a "
1772 "a query, any service worker associated with the search engine the query "
1773 "will be sent to is started early.";
1774
Brett Wilsonecb80982017-07-12 20:34:511775const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1776const char kSpellingFeedbackFieldTrialDescription[] =
1777 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401778
Carlos ILe5fa0a12018-08-03 16:08:321779const char kSSLCommittedInterstitialsName[] = "Committed Interstitials";
1780const char kSSLCommittedInterstitialsDescription[] =
1781 "Use committed error pages instead of transient navigation entries "
1782 "for SSL interstitial error pages (i.e. certificate errors).";
1783
Shubhie Panickerfaf082ed2018-01-03 04:49:151784const char kStopInBackgroundName[] = "Stop in background";
1785const char kStopInBackgroundDescription[] =
1786 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281787 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151788
Shubhie Panicker56c99a22018-03-21 00:22:281789const char kStopNonTimersInBackgroundName[] =
1790 "Stop non-timer task queues background";
1791const char kStopNonTimersInBackgroundDescription[] =
1792 "Stop non-timer task queues, in the background, "
1793 "after a grace period.";
1794
Brett Wilsonecb80982017-07-12 20:34:511795const char kSuggestionsWithSubStringMatchName[] =
1796 "Substring matching for Autofill suggestions";
1797const char kSuggestionsWithSubStringMatchDescription[] =
1798 "Match Autofill suggestions based on substrings (token prefixes) rather "
1799 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341800
Marc Treibf65fb002018-08-03 11:17:161801const char kSyncStandaloneTransportName[] = "Allow Sync standalone transport";
1802const char kSyncStandaloneTransportDescription[] =
1803 "If enabled, allows Chrome Sync to start in standalone transport mode. In "
1804 "this mode, the Sync machinery can start without user opt-in, but only a "
1805 "subset of data types are supported.";
1806
Jan Krcale3641b92018-08-10 17:53:311807const char kSyncUSSAutofillWalletDataName[] =
1808 "Enable USS for autofill wallet data";
1809const char kSyncUSSAutofillWalletDataDescription[] =
1810 "Enables the new implementation of autofill walet data sync";
1811
Brett Wilsonecb80982017-07-12 20:34:511812const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1813const char kSyncSandboxDescription[] =
1814 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341815
Joe Downing8cbbc192018-05-14 17:37:071816const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1817const char kSystemKeyboardLockDescription[] =
1818 "Enables websites to use the keyboard.lock() API to intercept system "
1819 "keyboard shortcuts and have the events routed directly to the website "
1820 "when in fullscreen mode.";
1821
Brett Wilsonecb80982017-07-12 20:34:511822const char kTabAudioMutingName[] = "Tab audio muting UI control";
1823const char kTabAudioMutingDescription[] =
1824 "When enabled, the audio indicators in the tab strip double as tab audio "
1825 "mute controls. This also adds commands in the tab context menu for "
1826 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341827
Christian Dullweberd0d96f02017-09-13 09:22:511828const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1829const char kTabsInCbdDescription[] =
1830 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1831
Becky Zhou99c22802017-10-19 05:09:271832const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1833const char kTabModalJsDialogDescription[] =
1834 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1835 " tab.";
1836
Brett Wilsonecb80982017-07-12 20:34:511837const char kTcpFastOpenName[] = "TCP Fast Open";
1838const char kTcpFastOpenDescription[] =
1839 "Enable the option to send extra authentication information in the initial "
1840 "SYN packet for a previously connected client, allowing faster data send "
1841 "start.";
vabr0215a8e2017-03-28 12:47:341842
Daniele Castagna0fead93e2018-01-10 20:40:291843const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1844const char kTintGlCompositedContentDescription[] =
1845 "Tint contents composited using GL with a shade of red to help debug and "
1846 "study overlay support.";
1847
Brett Wilsonecb80982017-07-12 20:34:511848const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1849const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581850 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401851 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431852 "- new unified interface for touch and convertibles (Chrome OS), 4) "
Robert Liao0e09b5a8b2018-06-04 21:58:341853 "Material Design refresh and 5) Touchable Material Design refresh. "
Robert Liao3ecf97c2018-06-05 01:24:541854 "Enabling #upcoming-ui-features forces the Material Design refresh option.";
Brett Wilsonecb80982017-07-12 20:34:511855const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531856const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461857const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581858const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401859const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431860const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341861
Brett Wilsonecb80982017-07-12 20:34:511862const char kThreadedScrollingName[] = "Threaded scrolling";
1863const char kThreadedScrollingDescription[] =
1864 "Threaded handling of scroll-related input events. Disabling this will "
1865 "force all such scroll events to be handled on the main thread. Note that "
1866 "this can dramatically hurt scrolling performance of most websites and is "
1867 "intended for testing purposes only.";
1868
Steven Valdez4584b2482017-07-14 01:11:571869const char kTLS13VariantName[] = "TLS 1.3";
1870const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1871const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111872const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041873const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381874const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571875
Brett Wilsonecb80982017-07-12 20:34:511876const char kTopDocumentIsolationName[] = "Top document isolation";
1877const char kTopDocumentIsolationDescription[] =
1878 "Highly experimental performance mode where cross-site iframes are kept in "
1879 "a separate process from the top document. In this mode, iframes from "
1880 "different third-party sites will be allowed to share a process.";
1881
Dominick Ng8896b1cd2017-10-17 23:24:361882const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1883const char kTopSitesFromSiteEngagementDescription[] =
1884 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1885 "engagement.";
1886
Brett Wilsonecb80982017-07-12 20:34:511887const char kTouchAdjustmentName[] = "Touch adjustment";
1888const char kTouchAdjustmentDescription[] =
1889 "Refine the position of a touch gesture in order to compensate for touches "
1890 "having poor resolution compared to a mouse.";
1891
Alex Newcomerb3d3c972018-05-03 14:59:401892const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1893const char kTouchableAppContextMenuDescription[] =
1894 "Enable the touchable app context menu, which enlarges app context menus "
1895 "in the Launcher and Shelf to make room for new features.";
1896
Brett Wilsonecb80982017-07-12 20:34:511897const char kTouchDragDropName[] = "Touch initiated drag and drop";
1898const char kTouchDragDropDescription[] =
1899 "Touch drag and drop can be initiated through long press on a draggable "
1900 "element.";
1901
1902const char kTouchEventsName[] = "Touch Events API";
1903const char kTouchEventsDescription[] =
1904 "Force Touch Events API feature detection to always be enabled or "
1905 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291906 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511907
1908const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1909const char kTouchSelectionStrategyDescription[] =
1910 "Controls how text selection granularity changes when touch text selection "
1911 "handles are dragged. Non-default behavior is experimental.";
1912const char kTouchSelectionStrategyCharacter[] = "Character";
1913const char kTouchSelectionStrategyDirection[] = "Direction";
1914
1915const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1916const char kTraceUploadUrlDescription[] =
1917 "This is to be used in conjunction with the enable-navigation-tracing "
1918 "flag. Please select the label that best describes the recorded traces. "
1919 "This will choose the destination the traces are uploaded to. If you are "
1920 "not sure, select other. If left empty, no traces will be uploaded.";
1921const char kTraceUploadUrlChoiceOther[] = "Other";
1922const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1923const char kTraceUploadUrlChoiceQa[] = "QA";
1924const char kTraceUploadUrlChoiceTesting[] = "Testing";
1925
Anthony Vallee-Dubois265c5692018-06-01 15:57:141926const char kTranslateForceTriggerOnEnglishName[] =
1927 "Select which language model to use to trigger translate on English "
1928 "content";
1929const char kTranslateForceTriggerOnEnglishDescription[] =
1930 "Force the Translate Triggering on English pages experiment to be enabled "
1931 "with the selected language model active.";
1932
Philippe Hamel7fdaa452017-09-29 17:22:491933const char kTranslateRankerEnforcementName[] =
1934 "Enforce TranslateRanker decisions";
1935const char kTranslateRankerEnforcementDescription[] =
1936 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1937 "or not Translate UI should be triggered in a given context.";
1938
Nicolas Ouellet-payeur9e5ff3d2018-06-20 16:07:161939const char kTranslateUIName[] = "Enable Translate";
1940const char kTranslateUIDescription[] =
1941 "Enable the Translate popup when visiting webpages in other languages.";
1942
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051943const char kTreatInsecureOriginAsSecureName[] =
1944 "Insecure origins treated as secure";
1945const char kTreatInsecureOriginAsSecureDescription[] =
1946 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1947 "supplied as a comma-separated list. For the definition of secure "
1948 "contexts, "
1949 "see https://w3c.github.io/webappsec-secure-contexts/";
1950
Brett Wilsonecb80982017-07-12 20:34:511951const char kTrySupportedChannelLayoutsName[] =
1952 "Causes audio output streams to check if channel layouts other than the "
1953 "default hardware layout are available.";
1954const char kTrySupportedChannelLayoutsDescription[] =
1955 "Causes audio output streams to check if channel layouts other than the "
1956 "default hardware layout are available. Turning this on will allow the OS "
1957 "to do stereo to surround expansion if supported. May expose third party "
1958 "driver bugs, use with caution.";
1959
David Roger6762a092018-01-31 15:55:071960const char kUnifiedConsentName[] = "Unified Consent";
1961const char kUnifiedConsentDescription[] =
1962 "Enables a unified management of user consent for privacy-related "
1963 "features. This includes new confirmation screens and improved settings "
1964 "pages.";
1965
Jérôme Lebelfe1b2e02018-08-03 12:26:201966const char kForceUnifiedConsentBumpName[] = "Force Unified Consent Bump";
1967const char kForceUnifiedConsentBumpDescription[] =
1968 "Force the unified consent bump UI to be shown on every start-up. This "
1969 "flag is for debug purpose, to test the UI.";
1970
Brett Wilsonecb80982017-07-12 20:34:511971const char kUiPartialSwapName[] = "Partial swap";
1972const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1973
Chris Pickel3a227ae62017-08-24 10:47:261974const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1975const char kUseDdljsonApiDescription[] =
1976 "Enables the new ddljson API to fetch Doodles for the NTP.";
1977
Becca Hughes59c05b42017-11-03 13:11:581978const char kUseModernMediaControlsName[] = "New Media Controls";
1979const char kUseModernMediaControlsDescription[] =
1980 "Enables the new style native media controls.";
1981
Wei Li790e7a8572018-03-23 01:31:551982const char kUsePdfCompositorServiceName[] =
1983 "Use PDF compositor service for printing";
1984const char kUsePdfCompositorServiceDescription[] =
1985 "When enabled, use PDF compositor service to composite and generate PDF "
1986 "files for printing. When site isolation is enabled, disabling this will "
1987 "not stop using PDF compositor service since the service is required for "
1988 "printing out-of-process iframes correctly.";
1989
Mustaq Ahmedc646c0a2017-10-20 20:08:301990const char kUserActivationV2Name[] = "User Activation v2";
1991const char kUserActivationV2Description[] =
1992 "Enable simple user activation for APIs that are otherwise controlled by "
1993 "user gesture tokens.";
1994
Brett Wilsonecb80982017-07-12 20:34:511995const char kUserConsentForExtensionScriptsName[] =
1996 "User consent for extension scripts";
1997const char kUserConsentForExtensionScriptsDescription[] =
1998 "Require user consent for an extension running a script on the page, if "
1999 "the extension requested permission to run on all urls.";
2000
2001const char kUseSuggestionsEvenIfFewFeatureName[] =
2002 "Disable minimum for server-side tile suggestions on NTP.";
2003const char kUseSuggestionsEvenIfFewFeatureDescription[] =
2004 "Request server-side suggestions even if there are only very few of them "
2005 "and use them for tiles on the New Tab Page.";
2006
2007const char kV8CacheOptionsName[] = "V8 caching mode.";
2008const char kV8CacheOptionsDescription[] =
2009 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:512010const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
2011
Hitoshi Yoshida3e5db562017-09-11 02:31:082012const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
2013const char kV8ContextSnapshotDescription[] =
2014 "Sets to use a snapshot to create V8 contexts in frame creation.";
2015
Michael Hablich896d52662017-10-23 15:59:572016const char kV8VmFutureName[] = "Future V8 VM features";
2017const char kV8VmFutureDescription[] =
2018 "This enables upcoming and experimental V8 VM features. "
2019 "This flag does not enable experimental JavaScript features.";
2020
Hannes Payer1130d5672018-06-05 07:37:312021const char kV8OrinocoName[] = "V8 Orinoco garbage collection features";
2022const char kV8OrinocoDescription[] =
2023 "This enables the V8 Orinoco garbage collection features.";
2024
Brett Wilsonecb80982017-07-12 20:34:512025const char kVideoFullscreenOrientationLockName[] =
2026 "Lock screen orientation when playing a video fullscreen.";
2027const char kVideoFullscreenOrientationLockDescription[] =
2028 "Lock the screen orientation of the device to match video orientation when "
2029 "a video goes fullscreen. Only on phones.";
2030
2031const char kVideoRotateToFullscreenName[] =
2032 "Rotate-to-fullscreen gesture for videos.";
2033const char kVideoRotateToFullscreenDescription[] =
2034 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2035 "the video. Only on phones.";
2036
Elly Fong-Jonesf4c79502018-03-23 19:21:532037const char kViewsBrowserWindowsName[] =
2038 "Use Views browser windows instead of Cocoa.";
2039const char kViewsBrowserWindowsDescription[] =
2040 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
2041
Brett Wilsonecb80982017-07-12 20:34:512042const char kWalletServiceUseSandboxName[] =
2043 "Use Google Payments sandbox servers";
2044const char kWalletServiceUseSandboxDescription[] =
2045 "For developers: use the sandbox service for Google Payments API calls.";
2046
Brett Wilsonecb80982017-07-12 20:34:512047const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
2048const char kWebglDraftExtensionsDescription[] =
2049 "Enabling this option allows web applications to access the WebGL "
2050 "Extensions that are still in draft status.";
2051
2052const char kWebMidiName[] = "Web MIDI API";
2053const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
2054
2055const char kWebPaymentsName[] = "Web Payments";
2056const char kWebPaymentsDescription[] =
2057 "Enable Web Payments API integration, a JavaScript API for merchants.";
2058
Mathieu Perreault51339b82017-07-20 17:06:052059const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2060const char kWebPaymentsModifiersDescription[] =
2061 "If the website provides modifiers in the payment request, show the custom "
2062 "total for each payment instrument, update the shopping cart when "
2063 "instruments are switched, and send modified payment method specific data "
2064 "to the payment app.";
2065
Brett Wilsonecb80982017-07-12 20:34:512066const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
2067const char kWebrtcEchoCanceller3Description[] =
2068 "Experimental WebRTC echo canceller (AEC3).";
2069
Alex Loikob5fb1282018-08-14 10:04:402070const char kWebrtcHybridAgcName[] = "WebRTC hybrid Agc2/Agc1.";
2071const char kWebrtcHybridAgcDescription[] =
2072 "WebRTC Agc2 digital adaptation with Agc1 analog adaptation.";
2073
Brett Wilsonecb80982017-07-12 20:34:512074const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
2075const char kWebrtcHwDecodingDescription[] =
2076 "Support in WebRTC for decoding video streams using platform hardware.";
2077
2078const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
2079const char kWebrtcHwEncodingDescription[] =
2080 "Support in WebRTC for encoding video streams using platform hardware.";
2081
2082const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
2083const char kWebrtcHwH264EncodingDescription[] =
2084 "Support in WebRTC for encoding h264 video streams using platform "
2085 "hardware.";
2086
2087const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
2088const char kWebrtcHwVP8EncodingDescription[] =
2089 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
2090
Niels Möller090866a2018-02-13 10:55:032091const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
2092 "WebRTC new encode cpu load estimator";
2093const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
2094 "Enable new estimator for the encoder cpu load, for evaluation and "
2095 "testing. Intended to improve accuracy when screen casting.";
2096
Elad Alon85e0d0be2018-06-26 10:38:372097const char kWebRtcRemoteEventLogName[] = "WebRTC remote-bound event logging";
2098const char kWebRtcRemoteEventLogDescription[] =
2099 "Allow collecting WebRTC event logs and uploading them to Crash. "
2100 "Please note that, even if enabled, this will still require "
2101 "a policy to be set, for it to have an effect.";
2102
Brett Wilsonecb80982017-07-12 20:34:512103const char kWebrtcSrtpAesGcmName[] =
2104 "Negotiation with GCM cipher suites for SRTP in WebRTC";
2105const char kWebrtcSrtpAesGcmDescription[] =
2106 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
2107
Joachim Bauch4a41d7512017-08-23 14:24:232108const char kWebrtcSrtpEncryptedHeadersName[] =
2109 "Negotiation with encrypted header extensions for SRTP in WebRTC";
2110const char kWebrtcSrtpEncryptedHeadersDescription[] =
2111 "When enabled, WebRTC will try to negotiate encrypted header extensions "
2112 "for SRTP.";
2113
Brett Wilsonecb80982017-07-12 20:34:512114const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
2115const char kWebrtcStunOriginDescription[] =
2116 "When enabled, Stun messages generated by WebRTC will contain the Origin "
2117 "header.";
2118
Adam Riceed63fc02018-06-20 05:57:462119const char kWebSocketHandshakeReuseConnectionName[] =
2120 "Enable WebSocket connection reuse for authentication";
2121const char kWebSocketHandshakeReuseConnectionDescription[] =
2122 "Permits the WebSocket handshake to keep the connection open after an "
2123 "authentication failure. The connection may be used for further requests "
2124 "to send credentials. This is sometimes needed for Windows authentication.";
2125
Brett Wilsonecb80982017-07-12 20:34:512126const char kWebvrName[] = "WebVR";
2127const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012128 "Enables access to experimental Virtual Reality functionality via the "
2129 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
2130 "Device API. Warning: Enabling this will also allow WebVR content on "
2131 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:222132 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:512133
Brandon Jonese9d9b2b2017-12-11 22:20:112134const char kWebXrName[] = "WebXR Device API";
2135const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:012136 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
2137 "and Augmented Reality (AR) devices.";
2138
2139const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
2140const char kWebXrGamepadSupportDescription[] =
2141 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:222142 "XRInputSource will have a corresponding Gamepad instance. Requires that "
2143 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:432144
2145const char kWebXrHitTestName[] = "WebXR Hit Test";
2146const char kWebXrHitTestDescription[] =
2147 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:112148
Anna Maria57ecf7592018-01-12 03:10:402149const char kWebXrOrientationSensorDeviceName[] =
2150 "WebXR orientation sensor device";
2151const char kWebXrOrientationSensorDeviceDescription[] =
2152 "When no VR platform device is available, expose a non-presenting device "
2153 "based on the device's orientation sensors, if available.";
2154
Brett Wilsonecb80982017-07-12 20:34:512155const char kWifiCredentialSyncName[] = "WiFi credential sync";
2156const char kWifiCredentialSyncDescription[] =
2157 "Enables synchronizing WiFi network settings across devices. When enabled, "
2158 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
2159 "credentials are synchronized subject to user preferences. (See also, "
2160 "chrome://settings/syncSetup.)";
2161
2162const char kZeroCopyName[] = "Zero-copy rasterizer";
2163const char kZeroCopyDescription[] =
2164 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:342165
Brett Wilsonff596952017-07-14 01:06:552166// Android ---------------------------------------------------------------------
2167
2168#if defined(OS_ANDROID)
2169
2170const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2171const char kAiaFetchingDescription[] =
2172 "Enable intermediate certificate fetching when a server does not provide "
2173 "sufficient certificates to build a chain to a trusted root.";
2174
2175const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
2176const char kAccessibilityTabSwitcherDescription[] =
2177 "Enable the accessibility tab switcher for Android.";
2178
2179const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
2180const char kAndroidAutofillAccessibilityDescription[] =
2181 "Enable accessibility for autofill popup.";
2182
Anita Woodruffbfcd1e52018-07-16 12:00:512183const char kAppNotificationStatusMessagingName[] =
2184 "App notification status messaging";
2185const char kAppNotificationStatusMessagingDescription[] =
2186 "Enables messaging in site permissions UI informing user when "
2187 "notifications are disabled for the entire app.";
2188
Brett Wilsonff596952017-07-14 01:06:552189const char kAndroidPaymentAppsName[] = "Android payment apps";
2190const char kAndroidPaymentAppsDescription[] =
2191 "Enable third party Android apps to integrate as payment apps";
2192
Miriam Gershenson8cf1397222018-01-23 22:48:292193const char kAsyncDnsName[] = "Async DNS resolver";
2194const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
2195
Brett Wilsonff596952017-07-14 01:06:552196const char kAutofillAccessoryViewName[] =
2197 "Autofill suggestions as keyboard accessory view";
2198const char kAutofillAccessoryViewDescription[] =
2199 "Shows Autofill suggestions on top of the keyboard rather than in a "
2200 "dropdown.";
2201
2202const char kBackgroundLoaderForDownloadsName[] =
2203 "Enables background downloading of pages.";
2204const char kBackgroundLoaderForDownloadsDescription[] =
2205 "Enables downloading pages in the background in case page is not yet "
2206 "loaded in current tab.";
2207
Tibor Goldschwendt11b3cf22018-07-04 15:32:442208const char kBackgroundTaskComponentUpdateName[] =
2209 "Background Task Component Updates";
2210const char kBackgroundTaskComponentUpdateDescription[] =
2211 "Schedule component updates with BackgroundTaskScheduler";
2212
Michael van Ouwerkerkbda4ad82018-06-19 14:08:002213const char kCCTModuleName[] = "Chrome Custom Tabs Module";
2214const char kCCTModuleDescription[] =
2215 "Enables a dynamically loaded module in Chrome Custom Tabs, on Android.";
2216
Matthew Jones1abcb132018-07-09 17:59:462217const char kChromeDuetName[] = "Chrome Duet";
2218const char kChromeDuetDescription[] =
2219 "Enables Chrome Duet, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:052220
Brett Wilsonff596952017-07-14 01:06:552221const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
2222const char kChromeHomeSwipeLogicDescription[] =
2223 "Various swipe logic options for Chrome Home for sheet expansion.";
2224const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:152225const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:552226
Theresa8e44a7132018-06-15 17:40:592227const char kChromeModernAlternateCardLayoutName[] =
2228 "Chrome Modern Alternate Card Layout";
2229const char kChromeModernAlternateCardLayoutDescription[] =
2230 "Enable the alternate card layout for Chrome Modern Design.";
2231
Matthew Jones5b7f1d62018-01-23 00:37:252232const char kChromeModernDesignName[] = "Chrome Modern Design";
2233const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:452234 "Enable modern design for Chrome. Chrome must be restarted twice for this "
2235 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:252236
Donn Denman3e78c8d2018-06-28 22:51:422237const char kChromeModernFullRollName[] = "Chrome Modern Full-Roll";
2238const char kChromeModernFullRollDescription[] =
2239 "Enable modern full-roll animation for Chrome.";
2240
Megan Jablonskic61eb1b82017-10-02 18:03:062241const char kChromeMemexName[] = "Chrome Memex";
2242const char kChromeMemexDescription[] =
2243 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
2244 "Googlers.";
2245
Sarath Singapati83aef1c2017-11-16 15:54:522246const char kClearOldBrowsingDataName[] = "Clear older browsing data";
2247const char kClearOldBrowsingDataDescription[] =
2248 "Enables clearing of browsing data which is older than a given time "
2249 "period.";
2250
Brett Wilsonff596952017-07-14 01:06:552251const char kContentSuggestionsCategoryOrderName[] =
2252 "Default content suggestions category order (e.g. on NTP)";
2253const char kContentSuggestionsCategoryOrderDescription[] =
2254 "Set default order of content suggestion categories (e.g. on the NTP).";
2255
2256const char kContentSuggestionsCategoryRankerName[] =
2257 "Content suggestions category ranker (e.g. on NTP)";
2258const char kContentSuggestionsCategoryRankerDescription[] =
2259 "Set category ranker to order categories of content suggestions (e.g. on "
2260 "the NTP).";
2261
Vitalii Iarkof52ff802017-09-14 12:34:242262const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2263const char kContentSuggestionsDebugLogDescription[] =
2264 "Enable content suggestions debug log accessible through "
2265 "snippets-internals.";
2266
Donn Denman8e58ead2017-11-04 01:44:012267const char kContextualSearchMlTapSuppressionName[] =
2268 "Contextual Search ML tap suppression";
2269const char kContextualSearchMlTapSuppressionDescription[] =
2270 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022271 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2272 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552273
2274const char kContextualSearchName[] = "Contextual Search";
2275const char kContextualSearchDescription[] =
2276 "Whether or not Contextual Search is enabled.";
2277
Donn Denman59729812018-01-09 01:27:022278const char kContextualSearchRankerQueryName[] =
2279 "Contextual Search Ranker prediction";
2280const char kContextualSearchRankerQueryDescription[] =
2281 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2282
2283const char kContextualSearchSecondTapName[] =
2284 "Contextual Search second tap triggering";
2285const char kContextualSearchSecondTapDescription[] =
2286 "Enables triggering on a second tap gesture even when Ranker would "
2287 "normally suppress that tap.";
2288
Donn Denmane9b5b7fb2018-07-24 22:19:492289const char kContextualSearchUnityIntegrationName[] =
2290 "Contextual Search integration with Unified Consent";
2291const char kContextualSearchUnityIntegrationDescription[] =
2292 "Enables integration of Tap to Search with Unified Consent.";
2293
Cathy Li2fb32bf82018-06-06 18:55:402294const char kExploreSitesName[] = "Explore websites";
2295const char kExploreSitesDescription[] =
2296 "Enables portal from new tab page to explore websites.";
2297
Dmitry Skiba9c3efa72017-07-20 22:01:142298const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2299const char kDontPrefetchLibrariesDescription[] =
2300 "Don't prefetch libraries after loading.";
2301
Joy Ming5fd29ca62017-10-02 22:51:222302const char kDownloadsForegroundName[] = "Enable downloads foreground";
2303const char kDownloadsForegroundDescription[] =
2304 "Enable downloads as a foreground service for all versions of Android.";
2305
Joy Ming189b0cc2017-12-08 19:42:432306const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2307const char kDownloadsLocationChangeDescription[] =
2308 "Enable changing default downloads storage location on Android.";
2309
Shakti Sahu32b2ee102018-05-17 00:04:462310const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2311const char kDownloadProgressInfoBarDescription[] =
2312 "Enables an infobar notifying users about status of current downloads.";
2313
Shakti Sahu9ec8cfd2018-07-17 13:29:292314const char kDownloadHomeV2Name[] = "Enable download home v2";
2315const char kDownloadHomeV2Description[] =
2316 "Enables the new UI for download home";
2317
Brett Wilsonff596952017-07-14 01:06:552318const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2319const char kEnableAndroidPayIntegrationV1Description[] =
2320 "Enable integration with Android Pay using the first version of the API";
2321
2322const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2323const char kEnableAndroidPayIntegrationV2Description[] =
2324 "Enable integration with Android Pay using the second version of the API";
2325
Vitalii Iarkof4ed32d2017-09-26 13:15:532326const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552327const char kEnableAndroidSpellcheckerDescription[] =
2328 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552329
Lei Tianbd5a3bf2018-02-28 19:01:162330const char kEnableCommandLineOnNonRootedName[] =
2331 "Enable command line on non-rooted devices";
2332const char kEnableCommandLineOnNoRootedDescription[] =
2333 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2334
Vitalii Iarkof4ed32d2017-09-26 13:15:532335const char kEnableContentSuggestionsNewFaviconServerName[] =
2336 "Get favicons for content suggestions from a new server.";
2337const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2338 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2339 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552340
2341const char kEnableContentSuggestionsSettingsName[] =
2342 "Show content suggestions settings.";
2343const char kEnableContentSuggestionsSettingsDescription[] =
2344 "If enabled, the content suggestions settings will be available from the "
2345 "main settings menu.";
2346
Vitalii Iarkof4ed32d2017-09-26 13:15:532347const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2348 "Use content suggestions thumbnail dominant color.";
2349const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2350 "Use content suggestions thumbnail dominant color as a placeholder before "
2351 "the real thumbnail is fetched (requires Chrome Home).";
2352
Brett Wilsonff596952017-07-14 01:06:552353const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2354const char kEnableCustomContextMenuDescription[] =
2355 "Enables a new context menu when a link, image, or video is pressed within "
2356 "Chrome.";
2357
2358const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2359const char kEnableCustomFeedbackUiDescription[] =
2360 "Enables a custom feedback UI when submitting feedback through Google "
2361 "Feedback. Works with Google Play Services v10.2+";
2362
2363const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472364 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552365const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472366 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552367
Becca Hughes6d73bac542018-06-18 20:38:502368const char kEnableMediaControlsExpandGestureName[] =
2369 "Enable Media Controls Expand Gesture";
2370const char kEnableMediaControlsExpandGestureDescription[] =
2371 "Enables a gesture to be used on the media controls to extend the video "
2372 "into the Display Cutout area.";
2373
Brett Wilsonff596952017-07-14 01:06:552374const char kEnableOmniboxClipboardProviderName[] =
2375 "Omnibox clipboard URL suggestions";
2376const char kEnableOmniboxClipboardProviderDescription[] =
2377 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2378 "focus in the omnibox.";
2379
Becky Zhoua7f11d62018-02-01 16:02:532380const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2381 "Show article suggestions expandable header on New Tab Page";
2382const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2383 "If enabled, the article suggestions content on New Tab Page can be "
2384 "toggled shown or hidden by clicking the expandable header.";
2385
Brett Wilsonff596952017-07-14 01:06:552386const char kEnableNtpAssetDownloadSuggestionsName[] =
2387 "Show asset downloads on the New Tab page";
2388const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2389 "If enabled, the list of content suggestions on the New Tab page will "
2390 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2391 "later use.";
2392
2393const char kEnableNtpBookmarkSuggestionsName[] =
2394 "Show recently visited bookmarks on the New Tab page";
2395const char kEnableNtpBookmarkSuggestionsDescription[] =
2396 "If enabled, the list of content suggestions on the New Tab page will "
2397 "contain recently visited bookmarks.";
2398
2399const char kEnableNtpForeignSessionsSuggestionsName[] =
2400 "Show recent foreign tabs on the New Tab page";
2401const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2402 "If enabled, the list of content suggestions on the New Tab page will "
2403 "contain recent foreign tabs.";
2404
Brett Wilsonff596952017-07-14 01:06:552405const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2406 "Show offline page downloads on the New Tab page";
2407const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2408 "If enabled, the list of content suggestions on the New Tab page will "
2409 "contain pages that the user downloaded for later use.";
2410
2411const char kEnableNtpRemoteSuggestionsName[] =
2412 "Show server-side suggestions on the New Tab page";
2413const char kEnableNtpRemoteSuggestionsDescription[] =
2414 "If enabled, the list of content suggestions on the New Tab page will "
2415 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2416 "allows to override the source used to retrieve these server-side "
2417 "suggestions.";
2418
2419const char kEnableNtpSnippetsVisibilityName[] =
2420 "Make New Tab Page Snippets more visible.";
2421const char kEnableNtpSnippetsVisibilityDescription[] =
2422 "If enabled, the NTP snippets will become more discoverable with a larger "
2423 "portion of the first card above the fold.";
2424
2425const char kEnableNtpSuggestionsNotificationsName[] =
2426 "Notify about new content suggestions available at the New Tab page";
2427const char kEnableNtpSuggestionsNotificationsDescription[] =
2428 "If enabled, notifications will inform about new content suggestions on "
2429 "the New Tab page.";
2430
Brett Wilsonff596952017-07-14 01:06:552431const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2432const char kEnableOfflinePreviewsDescription[] =
2433 "Enable showing offline page previews on slow networks.";
2434
2435const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2436const char kEnableOskOverscrollDescription[] =
2437 "Enable OSK overscroll support. With this flag on, the OSK will only "
2438 "resize the visual viewport.";
2439
2440const char kEnableSpecialLocaleName[] =
2441 "Enable custom logic for special locales.";
2442const char kEnableSpecialLocaleDescription[] =
2443 "Enable custom logic for special locales. In this mode, Chrome might "
2444 "behave differently in some locales.";
2445
Brett Wilsonff596952017-07-14 01:06:552446const char kEnableWebNfcName[] = "WebNFC";
2447const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2448
gogeraldf3cbb422017-07-26 14:37:122449const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2450 "Enable Web Payments method section order V2.";
2451const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2452 "Enable this option to display payment method section above address "
2453 "section instead of below it.";
2454
Raymes Khoury582b43132017-12-12 23:54:302455const char kGrantNotificationsToDSEName[] =
2456 "Grant notifications to the Default Search Engine";
2457const char kGrantNotificationsToDSENameDescription[] =
2458 "Automatically grant the notifications permission to the Default Search "
2459 "Engine";
2460
Daniel Parke74fcf862018-03-27 18:05:452461const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512462const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452463
Yafei Duanbb7663f32018-07-17 01:33:152464const char kHomepageTileName[] =
2465 "Enable Homepage tile shown in Suggested Tiles";
2466const char kHomepageTileDescription[] =
2467 "When NTPButton is enabled, the first tile of the Suggested Tiles will be "
2468 "used for homepage. It will not have an effect when NTPButton is disabled.";
2469
Jian Li4b252642018-07-23 19:49:072470const char kIncognitoStringsName[] = "Alternate incognito strings";
2471const char kIncognitoStringsDescription[] =
2472 "Show alternate incognito strings if enabled.";
2473
Theresa920e0ed2018-03-07 18:12:442474const char kInterestFeedContentSuggestionsDescription[] =
Yafei Duanbb7663f32018-07-17 01:33:152475 "Use the interest feed to render content suggestions. Currently "
2476 "content "
Theresa920e0ed2018-03-07 18:12:442477 "suggestions are shown on the New Tab Page.";
2478const char kInterestFeedContentSuggestionsName[] =
2479 "Interest Feed Content Suggestions";
2480
Brett Wilsonff596952017-07-14 01:06:552481const char kKeepPrefetchedContentSuggestionsName[] =
2482 "Keep prefetched content suggestions";
2483const char kKeepPrefetchedContentSuggestionsDescription[] =
2484 "If enabled, some of prefetched content suggestions are not replaced by "
2485 "the new fetched suggestions.";
2486
Leo Zhang051b75482017-12-20 03:28:302487const char kLanguagesPreferenceName[] = "Language Settings";
2488const char kLanguagesPreferenceDescription[] =
2489 "Enable this option for Language Settings feature on Android.";
2490
Charlie Ma8c2846e2018-07-27 18:44:392491const char kLongPressBackForHistoryName[] =
2492 "Long Press Back Button for History";
2493const char kLongPressBackForHistoryDescription[] =
2494 "Long press system back button to show navigation history if enabled";
2495
Charlie Ma85b22bdb2018-08-01 03:50:452496const char kLongPressBackNewDesignName[] = "Long Press Back New Design";
2497const char kLongPressBackNewDesignDescription[] =
2498 "Long press system back button to show material design refreshed navigation"
2499 " popup if enabled";
2500
Brett Wilsonff596952017-07-14 01:06:552501const char kLsdPermissionPromptName[] =
2502 "Location Settings Dialog Permission Prompt";
2503const char kLsdPermissionPromptDescription[] =
2504 "Whether to use the Google Play Services Location Settings Dialog "
2505 "permission dialog.";
2506
Amirhossein Simjour97b4154f2018-02-20 03:49:592507const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2508const char kModalPermissionDialogViewDescription[] =
2509 "Enable this option to use ModalDialogManager for permission Dialogs.";
2510
Brett Wilsonff596952017-07-14 01:06:552511const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2512const char kMediaScreenCaptureDescription[] =
2513 "Enable this option for experimental ScreenCapture feature on Android.";
2514
2515const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2516const char kModalPermissionPromptsDescription[] =
2517 "Whether to use permission dialogs in place of permission infobars.";
2518
Finnur Thorarinssonc1488fc62018-07-09 19:21:572519const char kNewContactsPickerName[] = "Enable new contacts picker";
2520const char kNewContactsPickerDescription[] =
2521 "Activates the new picker for selecting contacts.";
2522
Dan Harrington541db9e2018-07-30 18:36:302523const char kNewNetErrorPageUIName[] = "Enable new UI for net-error page";
2524const char kNewNetErrorPageUIDescription[] =
2525 "Selects which new UI experience to show on the net-error (Dino) page";
2526
Brett Wilsonff596952017-07-14 01:06:552527const char kNewPhotoPickerName[] = "Enable new Photopicker";
2528const char kNewPhotoPickerDescription[] =
2529 "Activates the new picker for selecting photos.";
2530
2531const char kNoCreditCardAbort[] = "No Credit Card Abort";
2532const char kNoCreditCardAbortDescription[] =
2533 "Whether or not the No Credit Card Abort is enabled.";
2534
Daniel Park990d0992018-05-18 22:12:512535const char kNtpButtonName[] = "Enable NTP Button";
2536const char kNtpButtonDescription[] =
2537 "Displays a New Tab Page button in the toolbar if enabled.";
2538
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062539const char kNtpModernLayoutName[] = "Modern NTP layout";
2540const char kNtpModernLayoutDescription[] =
2541 "Show a modern layout on the New Tab Page.";
2542
Brett Wilsonff596952017-07-14 01:06:552543const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2544const char kNtpGoogleGInOmniboxDescription[] =
2545 "Show a Google G in the omnibox on the New Tab Page.";
2546
Brett Wilsonff596952017-07-14 01:06:552547const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2548const char kOfflineBookmarksDescription[] =
2549 "Enable saving bookmarked pages for offline viewing.";
2550
Jian Li1413ebf2018-06-14 20:46:322551const char kOfflineIndicatorName[] = "Enable offline indicator";
2552const char kOfflineIndicatorDescription[] =
2553 "Enable showing offline indicator while offline.";
2554
Brett Wilsonff596952017-07-14 01:06:552555const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2556const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2557
2558const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2559const char kOfflinePagesCtV2Description[] =
2560 "V2 features include attributing pages to the app that initiated the "
2561 "custom tabs, and being able to query for pages by page attribution.";
2562
Cathy Li7311d792018-04-05 00:34:162563const char kOfflinePagesCTSuppressNotificationsName[] =
2564 "Disable download complete notification for whitelisted CCT apps.";
2565const char kOfflinePagesCTSuppressNotificationsDescription[] =
2566 "Disable download complete notification for page downloads originating "
2567 "from a CCT app whitelisted to show their own download complete "
2568 "notification.";
2569
Candice Sy74fa7a352018-03-30 23:46:492570const char kOfflinePagesDescriptiveFailStatusName[] =
2571 "Enables descriptive failed download status text.";
2572const char kOfflinePagesDescriptiveFailStatusDescription[] =
2573 "Enables failed download status text in notifications and Downloads Home "
2574 "to state the reason the request failed if the failure is actionable.";
2575
2576const char kOfflinePagesDescriptivePendingStatusName[] =
2577 "Enables descriptive pending download status text.";
2578const char kOfflinePagesDescriptivePendingStatusDescription[] =
2579 "Enables pending download status text in notifications and Downloads Home "
2580 "to state the reason the request is pending.";
2581
2582const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2583 "Enables offline pages in the downloads home to be opened in CCT.";
2584const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2585 "When enabled offline pages launched from the Downloads Home will be "
2586 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2587
Carlos Knippschild09272ecd2017-12-09 03:29:362588const char kOfflinePagesLimitlessPrefetchingName[] =
2589 "Removes resource usage limits for the prefetching of offline pages.";
2590const char kOfflinePagesLimitlessPrefetchingDescription[] =
2591 "Allows the prefetching of suggested offline pages to ignore resource "
2592 "usage limits. This allows it to completely ignore data usage limitations "
2593 "and allows downloads to happen with any kind of connection.";
2594
Brett Wilsonff596952017-07-14 01:06:552595const char kOfflinePagesLoadSignalCollectingName[] =
2596 "Enables collecting load timing data for offline page snapshots.";
2597const char kOfflinePagesLoadSignalCollectingDescription[] =
2598 "Enables loading completeness data collection while writing an offline "
2599 "page. This data is collected in the snapshotted offline page to allow "
2600 "data analysis to improve deciding when to make the offline snapshot.";
2601
2602const char kOfflinePagesPrefetchingName[] =
2603 "Enables suggested offline pages to be prefetched.";
2604const char kOfflinePagesPrefetchingDescription[] =
2605 "Enables suggested offline pages to be prefetched, so useful content is "
2606 "available while offline.";
2607
Pete Williamson7845dff2017-09-20 11:06:192608const char kOfflinePagesResourceBasedSnapshotName[] =
2609 "Enables offline page snapshots to be based on percentage of page loaded.";
2610const char kOfflinePagesResourceBasedSnapshotDescription[] =
2611 "Enables offline page snapshots to use a resource percentage based "
2612 "approach for determining when the page is loaded as opposed to a time "
2613 "based approach";
2614
Collin Baker17f92a52017-07-19 21:41:252615const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2616const char kOfflinePagesRenovationsDescription[] =
2617 "Enables offline page renovations which correct issues with dynamic "
2618 "content that occur when offlining pages that use JavaScript.";
2619
Brett Wilsonff596952017-07-14 01:06:552620const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2621const char kOfflinePagesSharingDescription[] =
2622 "Enables the saved offline pages to be shared via other applications.";
2623
Yafei Duan36b4b5b2018-08-07 00:40:032624const char kOfflinePagesLivePageSharingName[] =
2625 "Enables live page sharing of offline pages";
2626const char kOfflinePagesLivePageSharingDescription[] =
2627 "Enables to share current loaded page as offline page by saving as MHTML "
2628 "first.";
2629
Cathy Lie0d88762018-04-12 08:03:012630const char kOfflinePagesShowAlternateDinoPageName[] =
2631 "Enable alternate dino page with more user capabilities.";
2632const char kOfflinePagesShowAlternateDinoPageDescription[] =
2633 "Enables the dino page to show more buttons and offer existing offline "
2634 "content.";
2635
Brett Wilsonff596952017-07-14 01:06:552636const char kOfflinePagesSvelteConcurrentLoadingName[] =
2637 "Enables concurrent background loading on svelte.";
2638const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2639 "Enables concurrent background loading (or downloading) of pages on "
2640 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2641 "happen when the svelte device is idle.";
2642
2643const char kOffliningRecentPagesName[] =
2644 "Enable offlining of recently visited pages";
2645const char kOffliningRecentPagesDescription[] =
2646 "Enable storing recently visited pages locally for offline use. Requires "
2647 "Offline Pages to be enabled.";
2648
Lei Zhang2eca9082017-10-17 20:42:502649const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2650const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552651 "Enable Pay with Google integration into Web Payments with API version "
2652 "'1'.";
2653
Matthew Jonesa88b95852017-11-08 23:13:502654const char kProgressBarThrottleName[] = "Android progress update throttling.";
2655const char kProgressBarThrottleDescription[] =
2656 "Limit the maximum progress update to make progress appear smoother.";
2657
Brett Wilsonff596952017-07-14 01:06:552658const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2659const char kPullToRefreshEffectDescription[] =
2660 "Page reloads triggered by vertically overscrolling content.";
2661
Piotr Swigon7c296ef2017-08-29 04:32:002662const char kPwaImprovedSplashScreenName[] =
2663 "Improved Splash Screen for standalone PWAs";
2664const char kPwaImprovedSplashScreenDescription[] =
2665 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2666 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492667const char kPwaPersistentNotificationName[] =
2668 "Persistent notification in standalone PWA";
2669const char kPwaPersistentNotificationDescription[] =
2670 "Enables a persistent Android notification for standalone PWAs";
2671
Brett Wilsonff596952017-07-14 01:06:552672const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2673const char kReaderModeHeuristicsDescription[] =
2674 "Determines what pages the Reader Mode infobar is shown on.";
2675const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2676const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2677const char kReaderModeHeuristicsAllArticles[] = "All articles";
2678const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2679const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2680
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182681const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2682const char kReaderModeInCCTDescription[] =
2683 "Open Reader Mode in Chrome Custom Tabs.";
2684
Brett Wilsonff596952017-07-14 01:06:552685const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2686const char kSetMarketUrlForTestingDescription[] =
2687 "When enabled, sets the market URL for use in testing the update menu "
2688 "item.";
2689
2690const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2691const char kSpannableInlineAutocompleteDescription[] =
2692 "A new type of inline autocomplete for the omnibox that works with "
2693 "keyboards that compose text.";
2694
Theresaeea05a12018-05-09 21:01:592695const char kSimplifiedNtpName[] = "Simplified NTP";
2696const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2697
2698const char kSiteExplorationUiName[] = "Site Exploration UI";
2699const char kSiteExplorationUiDescription[] =
2700 "Show site suggestions in the Exploration UI";
2701
Brett Wilsonff596952017-07-14 01:06:552702const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2703const char kUpdateMenuBadgeDescription[] =
2704 "When enabled, an update badge will be shown on the app menu button.";
2705
2706const char kUpdateMenuItemCustomSummaryDescription[] =
2707 "When this flag and the force show update menu item flag are enabled, a "
2708 "custom summary string will be displayed below the update menu item.";
2709const char kUpdateMenuItemCustomSummaryName[] =
2710 "Update menu item custom summary";
2711
2712const char kUpdateMenuItemName[] = "Force show update menu item";
2713const char kUpdateMenuItemDescription[] =
2714 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2715 R"*(menu.)*";
2716
Amirhossein Simjourd78bbcf2018-02-02 16:23:392717const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2718const char kVrBrowsingNativeAndroidUiDescription[] =
2719 "Enable Android UI elements in VR.";
2720
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462721const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2722const char kVrBrowsingTabsViewDescription[] =
2723 "Enable tab overview (tab switcher) in VR.";
2724
Marc Treib93af46a2017-08-23 13:30:002725const char kThirdPartyDoodlesName[] =
2726 "Enable Doodles for third-party search engines";
2727const char kThirdPartyDoodlesDescription[] =
2728 "Enables fetching and displaying Doodles on the NTP for third-party search "
2729 "engines.";
2730
Klaus Weidneraaf697f2018-01-18 20:07:362731const char kWebXrRenderPathName[] = "WebXR presentation render path";
2732const char kWebXrRenderPathDescription[] =
2733 "Render path to use for WebXR presentation (including WebVR)";
2734const char kWebXrRenderPathChoiceClientWaitDescription[] =
2735 "ClientWait (Baseline)";
2736const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2737 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072738const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2739 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362740
Brett Wilson7b44537e2017-08-18 01:38:282741// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552742
Brett Wilson7b44537e2017-08-18 01:38:282743#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482744
Brett Wilson7b44537e2017-08-18 01:38:282745const char kAccountConsistencyName[] =
2746 "Identity consistency between browser and cookie jar";
2747const char kAccountConsistencyDescription[] =
2748 "When enabled, the browser manages signing in and out of Google accounts.";
2749const char kAccountConsistencyChoiceMirror[] = "Mirror";
2750const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342751
Chris Pickel3a227ae62017-08-24 10:47:262752const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2753const char kDoodlesOnLocalNtpDescription[] =
2754 "Show doodles on the local New Tab page if Google is the default search "
2755 "engine.";
2756
mlamouriff56c092017-05-11 15:31:392757const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392758const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342759 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392760const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392761const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392762const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342763 "Enabled (Flash lowers volume when interrupted by other sound, "
2764 "experimental)";
2765
Sebastien Marchandd33f7dc2018-06-22 22:07:062766const char kInfiniteSessionRestoreName[] = "Infinite Session Restore";
2767const char kInfiniteSessionRestoreDescription[] =
2768 "Reduces the number of tabs being loaded simultaneously during session "
2769 "restore, to improve responsiveness of the foreground tab. This requires "
2770 "#enable-page-almost-idle.";
2771
Brett Wilson7b44537e2017-08-18 01:38:282772const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2773const char kEnableNewAppMenuIconDescription[] =
2774 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342775
Sebastien Marchandd33f7dc2018-06-22 22:07:062776const char kEnableWebAuthenticationCtap2SupportName[] =
2777 "Enable Web Authentication API support for CTAP2 security keys";
2778const char kEnableWebAuthenticationCtap2SupportDescription[] =
Kim Paulhamus92431372018-07-20 02:25:472779 "Enable CTAP2 security keys for the Web Authentication API.";
Sebastien Marchandd33f7dc2018-06-22 22:07:062780
2781const char kEnableWebAuthenticationTestingAPIName[] =
2782 "Web Authentication Testing API";
2783const char kEnableWebAuthenticationTestingAPIDescription[] =
2784 "Enable Web Authentication Testing API support, which disconnects the API "
2785 "implementation from the real world, and allows configuring virtual "
2786 "authenticator devices for testing";
2787
Dave Schuyler598a4a42018-01-04 02:15:102788const char kOmniboxRichEntitySuggestionsName[] =
2789 "Omnibox rich entity suggestions";
2790const char kOmniboxRichEntitySuggestionsDescription[] =
2791 "Display entity suggestions using images and an enhanced layout; showing "
Justin Donnellye7926092018-06-18 14:57:212792 "more context and descriptive text about the entity. Has no effect unless "
2793 "either the #upcoming-ui-features flag is Enabled or the #top-chrome-md "
2794 "flag is set to Refresh or Touchable Refresh.";
Dave Schuyler598a4a42018-01-04 02:15:102795
Travis Skarebcdb5ed32018-08-17 01:49:402796const char kOmniboxDriveSuggestionsName[] =
2797 "Omnibox Google Drive Document suggestions";
2798const char kOmniboxDriveSuggestionsDescriptions[] =
2799 "Display suggestions for Google Drive documents in the omnibox when Google "
2800 "is the default search engine.";
2801
Dave Schuyler616273d2018-04-19 03:12:522802const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2803const char kOmniboxNewAnswerLayoutDescription[] =
Justin Donnellye7926092018-06-18 14:57:212804 "Display answers using an enhanced layout with larger images. Has no "
2805 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2806 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
Dave Schuyler616273d2018-04-19 03:12:522807
Orin Jaworski04c08b42018-07-11 02:39:562808const char kOmniboxReverseAnswersName[] = "Omnibox reverse answers";
2809const char kOmniboxReverseAnswersDescription[] =
2810 "Display answers with rows reversed (swapped); except definitions. Has no "
2811 "effect unless either the #upcoming-ui-features flag is Enabled or the "
2812 "#top-chrome-md flag is set to Refresh or Touchable Refresh.";
2813
Kevin Bailey898669972017-11-06 15:34:492814const char kOmniboxTabSwitchSuggestionsName[] =
2815 "Omnibox tab switch suggestions";
2816const char kOmniboxTabSwitchSuggestionsDescription[] =
Justin Donnellye7926092018-06-18 14:57:212817 "Enable suggestions for switching to open tabs within the Omnibox. "
2818 "Has no effect unless either the #upcoming-ui-features flag is Enabled or "
2819 "the #top-chrome-md flag is set to Refresh or Touchable Refresh.";
Kevin Bailey898669972017-11-06 15:34:492820
krbcc621412017-06-01 19:40:282821const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2822const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192823 "Enable receiving tail suggestions, a type of search suggestion based on "
2824 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342825
Sebastien Marchandd33f7dc2018-06-22 22:07:062826const char kPageAlmostIdleName[] = "Page Almost Idle";
2827const char kPageAlmostIdleDescription[] =
2828 "Make session restore use a definition of loading that waits for CPU and "
2829 "network quiescence.";
2830
2831const char kProactiveTabFreezeAndDiscardName[] =
2832 "Proactive Tab Freeze and Discard";
2833const char kProactiveTabFreezeAndDiscardDescription[] =
2834 "Enables proactive tab freezing and discarding. This requires "
2835 "#enable-page-almost-idle.";
2836
2837const char kSiteCharacteristicsDatabaseName[] = "Site Characteristics database";
2838const char kSiteCharacteristicsDatabaseDescription[] =
2839 "Records usage of some features in a database while a tab is in background "
2840 "(title/favicon update, audio playback or usage of non-persistent "
2841 "notifications).";
2842
Brett Wilson7b44537e2017-08-18 01:38:282843const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2844const char kUseGoogleLocalNtpDescription[] =
2845 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322846
Brett Wilson7b44537e2017-08-18 01:38:282847const char kVoiceSearchOnLocalNtpName[] =
2848 "Enable Voice Search on the local NTP";
2849const char kVoiceSearchOnLocalNtpDescription[] =
2850 "Show a microphone for voice search on the local New Tab page "
2851 "if Google is the default search engine.";
2852
2853#if defined(GOOGLE_CHROME_BUILD)
2854
2855const char kGoogleBrandedContextMenuName[] =
2856 "Google branding in the context menu";
2857const char kGoogleBrandedContextMenuDescription[] =
2858 "Shows a Google icon next to context menu items powered by Google "
2859 "services.";
2860
2861#endif // !defined(GOOGLE_CHROME_BUILD)
2862
2863#endif // !defined(OS_ANDROID)
2864
2865// Windows ---------------------------------------------------------------------
2866
2867#if defined(OS_WIN)
2868
2869const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2870const char kCloudPrintXpsDescription[] =
2871 "XPS enables advanced options for classic printers connected to the Cloud "
2872 "Print with Chrome. Printers must be re-connected after changing this "
2873 "flag.";
2874
2875const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2876const char kDisablePostscriptPrintingDescription[] =
2877 "Disables PostScript generation when printing to PostScript capable "
2878 "printers, and uses EMF generation in its place.";
2879
2880const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2881const char kEnableAppcontainerDescription[] =
2882 "Enables the use of an AppContainer on sandboxed processes to improve "
2883 "security.";
2884
Brett Wilson7b44537e2017-08-18 01:38:282885const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2886const char kEnableDesktopIosPromotionsDescription[] =
2887 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2888 "eligible.";
2889
James Forshawfd0ce342018-02-14 09:55:392890const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2891const char kEnableGpuAppcontainerDescription[] =
2892 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2893 "improve security.";
2894
Brett Wilson7b44537e2017-08-18 01:38:282895const char kGdiTextPrinting[] = "GDI Text Printing";
2896const char kGdiTextPrintingDescription[] =
2897 "Use GDI to print text as simply text";
2898
Henrik Grunell67e56ef2018-04-10 14:04:092899const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2900const char kIncreaseInputAudioBufferSizeDescription[] =
2901 "Increases the input audio endpoint buffer to 100 ms.";
2902
Brett Wilson7b44537e2017-08-18 01:38:282903const char kTraceExportEventsToEtwName[] =
2904 "Enable exporting of tracing events to ETW.";
2905const char kTraceExportEventsToEtwDesription[] =
2906 "If enabled, trace events will be exported to the Event Tracing for "
2907 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2908 "Xperf.";
2909
2910const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2911const char kUseWinrtMidiApiDescription[] =
2912 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2913 "later).";
2914
2915const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2916const char kWindows10CustomTitlebarDescription[] =
2917 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2918 "deferring to Windows.";
2919
2920#endif // defined(OS_WIN)
2921
2922// Mac -------------------------------------------------------------------------
2923
2924#if defined(OS_MACOSX)
2925
Brett Wilson7b44537e2017-08-18 01:38:282926const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2927const char kAppWindowCyclingDescription[] =
2928 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2929 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2930 "browser window, and browser windows will not be cycled when a Chrome App "
2931 "is active.";
2932
Brett Wilson7b44537e2017-08-18 01:38:282933const char kFullscreenToolbarRevealName[] =
2934 "Enables the toolbar in fullscreen to reveal itself.";
2935const char kFullscreenToolbarRevealDescription[] =
2936 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2937 "has changed.";
2938
2939const char kContentFullscreenName[] = "Improved Content Fullscreen";
2940const char kContentFullscreenDescription[] =
2941 "Fullscreen content window detaches from main browser window and goes to "
2942 "a new space without moving or changing the original browser window.";
2943
Lei Zhang2eca9082017-10-17 20:42:502944const char kDialogTouchBarName[] = "Dialog Touch Bar";
2945const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282946 "Shows Dialog buttons on the Touch Bar.";
2947
Martin Kreichgauer1ca416d2018-07-11 00:43:192948const char kEnableWebAuthenticationTouchIdName[] =
2949 "Web Authentication API Touch ID support";
2950const char kEnableWebAuthenticationTouchIdDescription[] =
2951 "Enables a built-in Touch ID authenticator for the Web Authentication API.";
2952
Brett Wilson7b44537e2017-08-18 01:38:282953const char kHostedAppsInWindowsName[] =
2954 "Allow hosted apps to be opened in windows";
2955const char kHostedAppsInWindowsDescription[] =
2956 "Allows hosted apps to be opened in windows instead of being limited to "
2957 "tabs.";
2958
Lei Zhang2eca9082017-10-17 20:42:502959const char kMacRTLName[] = "Enable RTL";
2960const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282961
Lei Zhang2eca9082017-10-17 20:42:502962const char kMacTouchBarName[] = "Hardware Touch Bar";
2963const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282964
2965const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2966const char kMacV2SandboxDescription[] =
2967 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2968 "entire life cycle.";
2969
2970const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2971const char kMacViewsNativeAppWindowsDescription[] =
2972 "Controls whether to use Toolkit-Views based Chrome App windows.";
2973
2974const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2975const char kMacViewsTaskManagerDescription[] =
2976 "Controls whether to use the Toolkit-Views based Task Manager.";
2977
2978const char kTabDetachingInFullscreenName[] =
2979 "Allow tab detaching in fullscreen";
2980const char kTabDetachingInFullscreenDescription[] =
2981 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2982
2983const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2984const char kTabStripKeyboardFocusDescription[] =
2985 "Enable keyboard focus for the tabs in the tab strip.";
2986
Tessa Nijssen4db9799e2018-08-06 21:04:382987const char kTextSuggestionsTouchBarName[] = "Text Suggestions Touch Bar";
2988const char kTextSuggestionsTouchBarDescription[] =
2989 "Enable text suggestions touch bar for textfields.";
2990
Brett Wilson7b44537e2017-08-18 01:38:282991#endif
2992
2993// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342994
2995#if defined(OS_CHROMEOS)
2996
Brett Wilson7b44537e2017-08-18 01:38:282997const char kAcceleratedMjpegDecodeName[] =
2998 "Hardware-accelerated mjpeg decode for captured frame";
2999const char kAcceleratedMjpegDecodeDescription[] =
3000 "Enable hardware-accelerated mjpeg decode for captured frame where "
3001 "available.";
vabr0215a8e2017-03-28 12:47:343002
Brett Wilson7b44537e2017-08-18 01:38:283003const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
3004const char kAllowTouchpadThreeFingerClickDescription[] =
3005 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:343006
Bruno Kim Medeiros Cesarb98fe1d82018-06-06 18:11:523007const char kArcAvailableForChildName[] = "Allow ARC for child accounts";
3008const char kArcAvailableForChildDescription[] =
3009 "Allow child accounts to start Android apps.";
3010
Brett Wilson7b44537e2017-08-18 01:38:283011const char kArcBootCompleted[] = "Load Android apps automatically";
3012const char kArcBootCompletedDescription[] =
3013 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:343014
Luum Habtemariamdaa8fd22018-06-25 22:39:433015const char kArcCupsApiName[] = "ARC CUPS API";
3016const char kArcCupsApiDescription[] =
3017 "Enables support of libcups APIs from ARC";
3018
Yuichiro Hanada0b63f062018-07-12 02:18:333019const char kArcInputMethodName[] = "Enable ARC input methods.";
3020const char kArcInputMethodDescription[] = "Enable ARC input methods.";
3021
Lev Rumyantsev7a8544312017-08-18 19:26:513022const char kArcNativeBridgeExperimentName[] =
3023 "Enable native bridge experiment for ARC";
3024const char kArcNativeBridgeExperimentDescription[] =
3025 "Enables experimental native bridge feature.";
3026
lgchengecd1c1a62018-01-09 02:59:463027const char kArcUsbHostName[] = "Enable ARC USB host integration";
3028const char kArcUsbHostDescription[] =
3029 "Allow Android apps to use USB host feature on ChromeOS devices.";
3030
Kevin Cernekeeb7f96a52017-10-25 17:40:183031const char kArcVpnName[] = "Enable ARC VPN integration";
3032const char kArcVpnDescription[] =
3033 "Allow Android VPN clients to tunnel Chrome traffic.";
3034
Qiang Xu045aff222018-05-21 23:21:013035const char kAshDisableLoginDimAndBlurName[] =
3036 "Disable dimming and blur on login screen.";
3037const char kAshDisableLoginDimAndBlurDescription[] =
3038 "Disable dimming and blur on login screen.";
3039
3040const char kAshDisableSmoothScreenRotationName[] =
3041 "Disable smooth rotation animations.";
3042const char kAshDisableSmoothScreenRotationDescription[] =
3043 "Disable smooth rotation animations.";
3044
3045const char kAshEnableDisplayMoveWindowAccelsName[] =
3046 "Enable shortcuts for moving window between displays.";
3047const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3048 "Enable shortcuts for moving window between displays.";
3049
3050const char kAshEnableKeyboardShortcutViewerName[] =
3051 "Enable keyboard shortcut viewer.";
3052const char kAshEnableKeyboardShortcutViewerDescription[] =
3053 "Enable keyboard shortcut viewer.";
3054
3055const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3056const char kAshEnableMirroredScreenDescription[] =
3057 "Enable the mirrored screen mode. This mode flips the screen image "
3058 "horizontally.";
3059
Qiang Xu045aff222018-05-21 23:21:013060const char kAshEnablePersistentWindowBoundsName[] =
3061 "Enable persistent window bounds in multi-displays scenario.";
3062const char kAshEnablePersistentWindowBoundsDescription[] =
3063 "Enable persistent window bounds in multi-displays scenario.";
3064
3065const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3066const char kAshEnableTrilinearFilteringDescription[] =
3067 "Enable trilinear filtering.";
3068
Brett Wilson7b44537e2017-08-18 01:38:283069const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
3070const char kAshEnableUnifiedDesktopDescription[] =
3071 "Enable unified desktop mode which allows a window to span multiple "
3072 "displays.";
vabr0215a8e2017-03-28 12:47:343073
Mike Wassermanfcc47e42018-06-14 21:24:423074const char kAshKeyboardShortcutViewerAppName[] =
3075 "Keyboard Shortcut Viewer mojo app";
3076const char kAshKeyboardShortcutViewerAppDescription[] =
3077 "Use an out-of-process mojo app to show the Keyboard Shortcut Viewer.";
3078
Qiang Xu045aff222018-05-21 23:21:013079const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3080const char kAshShelfColorDescription[] =
3081 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3082 "--ash-shelf-color-scheme flag defines how that color is derived.";
3083
3084const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3085const char kAshShelfColorSchemeDescription[] =
3086 "Specify how the color is derived from the wallpaper. This flag is only "
3087 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3088const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3089const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3090const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3091const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3092const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3093const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3094
Sean Kau5e956192017-10-06 22:25:173095const char kBulkPrintersName[] = "Bulk Printers Policy";
3096const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
3097
Brett Wilson7b44537e2017-08-18 01:38:283098const char kCaptivePortalBypassProxyName[] =
3099 "Bypass proxy for Captive Portal Authorization";
3100const char kCaptivePortalBypassProxyDescription[] =
3101 "If proxy is configured, it usually prevents from authorization on "
3102 "different captive portals. This enables opening captive portal "
3103 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:343104
Yuki Awanob51d3252018-07-11 23:45:553105const char kChromeVoxArcSupportName[] = "ChromeVox ARC support";
3106const char kChromeVoxArcSupportDescription[] =
3107 "Use ChromeVox screen reader features in ARC";
3108
Brett Wilson7b44537e2017-08-18 01:38:283109const char kCrOSComponentName[] = "Chrome OS Component";
3110const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:083111 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:343112
Xiaochu Liu51d03fd2017-09-08 23:51:023113const char kCrOSContainerName[] = "Chrome OS Container";
3114const char kCrOSContainerDescription[] =
3115 "Enable the use of Chrome OS Container utility.";
3116
Brett Wilson7b44537e2017-08-18 01:38:283117const char kCrosRegionsModeName[] = "Cros-regions load mode";
3118const char kCrosRegionsModeDescription[] =
3119 "This flag controls cros-regions load mode";
3120const char kCrosRegionsModeDefault[] = "Default";
3121const char kCrosRegionsModeOverride[] = "Override VPD values.";
3122const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:343123
Jacob Dufault2becbc482017-08-25 00:36:353124const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
3125const char kDisableLockScreenAppsDescription[] =
3126 "Disable new-note action handler apps on the lock screen. The user will "
3127 "not be able to launch the preferred note-taking action from the lock "
3128 "screen, provided that the app supports lock screen note taking.";
3129
Qiang Xu045aff222018-05-21 23:21:013130const char kDisableSystemTimezoneAutomaticDetectionName[] =
3131 "SystemTimezoneAutomaticDetection policy support";
3132const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
3133 "Disable system timezone automatic detection device policy.";
3134
Sammie Quonef6b4882017-09-14 16:50:053135const char kDisableTabletAutohideTitlebarsName[] =
3136 "Disable autohide titlebars in tablet mode";
3137const char kDisableTabletAutohideTitlebarsDescription[] =
3138 "Disable tablet mode autohide titlebars functionality. The user will be "
3139 "able to see the titlebar in tablet mode.";
3140
Xiaoqian Dai24b33eb2018-04-10 21:01:573141const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
3142const char kDisableTabletSplitViewDescription[] =
3143 "Disable split view for Chrome OS tablet mode.";
3144
Daniel Zhang01399072018-08-16 22:28:203145const char kEnableAppListSearchAutocompleteName[] =
3146 "App List Search Autocomplete";
3147const char kEnableAppListSearchAutocompleteDescription[] =
3148 "Allow App List search box to autocomplete queries for Google searches and "
3149 "apps.";
3150
Qiang Xu53d1a5832018-05-24 18:44:193151const char kEnableAppShortcutSearchName[] =
3152 "Enable app shortcut search in launcher";
3153const char kEnableAppShortcutSearchDescription[] =
3154 "Enables app shortcut search in launcher";
3155
Weidong Guo00d0b2b2018-06-07 00:39:303156const char kEnableAppsGridGapFeatureName[] =
3157 "Enable apps grid gap feature in launcher.";
3158const char kEnableAppsGridGapFeatureDescription[] =
3159 "Enables gaps at the end of each page and enables dragging an item to an "
3160 "empty page in launcher.";
3161
Lei Zhang2eca9082017-10-17 20:42:503162const char kEnableBackgroundBlurName[] = "Enable background blur.";
3163const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:423164 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:393165
Kushagra Sinha8a181fc2018-08-20 17:15:493166extern const char kEnableChromeOsAccountManagerName[] =
3167 "Enable Account Manager";
3168extern const char kEnableChromeOsAccountManagerDescription[] =
3169 "Enables the Chrome OS Account Manager";
3170
Min Chenc2ec7282018-06-29 21:38:463171const char kEnableDragAppsInTabletModeName[] =
3172 "Enable dragging apps in tablet mode";
3173const char kEnableDragAppsInTabletModeDescription[] =
3174 "If enabled, swiping down from the top of the screen when an app is opened "
3175 "in tablet mode can drag the app.";
3176
Xiaoqian Dai82d99192018-05-25 18:51:353177const char kEnableDragTabsInTabletModeName[] =
3178 "Enable dragging tabs in tablet mode";
3179const char kEnableDragTabsInTabletModeDescription[] =
3180 "Allows the user to drag the tabs out of a browser window in tablet mode.";
3181
Sam McNally201fbf94e2018-07-04 03:15:203182const char kEnableDriveFsName[] = "Enable DriveFS";
3183const char kEnableDriveFsDescription[] =
3184 "Enables use of the new DriveFS-based Drive sync client.";
3185
Brett Wilson7b44537e2017-08-18 01:38:283186const char kEnableEhvInputName[] =
3187 "Emoji, handwriting and voice input on opt-in IME menu";
3188const char kEnableEhvInputDescription[] =
3189 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:343190
Brett Wilson7b44537e2017-08-18 01:38:283191const char kEnableEncryptionMigrationName[] =
3192 "Enable encryption migration of user data";
3193const char kEnableEncryptionMigrationDescription[] =
3194 "If enabled and the device supports ARC, the user will be asked to update "
3195 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:343196
Blake O'Hare9e9317b22017-10-24 02:49:353197const char kEnableFloatingVirtualKeyboardName[] =
3198 "Enable floating virtual keyboard";
3199const char kEnableFloatingVirtualKeyboardDescription[] =
3200 "If enabled, the keyboard will use floating behavior by default.";
3201
Qiang Xu045aff222018-05-21 23:21:013202const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
3203 "Enable full screen handwriting virtual keyboard";
3204const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
3205 "If enabled, the handwriting virtual keyboard will allow user to write "
3206 "anywhere on the screen";
3207
3208const char kEnableHomeLauncherName[] = "Enable home launcher";
3209const char kEnableHomeLauncherDescription[] =
3210 "Enable home launcher in tablet mode.";
3211
Brett Wilson7b44537e2017-08-18 01:38:283212const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3213const char kEnableImeMenuDescription[] =
3214 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:343215
Weidong Guo45836d1b2018-06-27 23:51:163216const char kEnableNewStyleLauncherName[] = "Enable new style launcher.";
3217const char kEnableNewStyleLauncherDescription[] =
3218 "Enables new style UI such as suggestion chips, resizable apps grid, etc. "
3219 "in app launcher.";
3220
Qiang Xu045aff222018-05-21 23:21:013221const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3222const char kEnableNewWallpaperPickerDescription[] =
3223 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3224
3225const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
3226const char kEnablePerUserTimezoneDescription[] =
3227 "Chrome OS system timezone preference is stored and handled for each user "
3228 "individually.";
3229
3230const char kEnableSettingsShortcutSearchName[] =
3231 "Enable Settings shortcut search";
3232const char kEnableSettingsShortcutSearchDescription[] =
3233 "Enable Settings shortcut search in launcher.";
3234
Darren Shen3e49c63d2018-03-28 04:45:503235const char kEnableStylusVirtualKeyboardName[] =
3236 "Enable stylus virtual keyboard";
3237const char kEnableStylusVirtualKeyboardDescription[] =
3238 "If enabled, tapping with a stylus will show the handwriting virtual "
3239 "keyboard.";
3240
Jordy Greenblatt2f23df22018-02-22 19:49:193241const char kEnableUnifiedMultiDeviceSettingsName[] =
3242 "Enable unified MultiDevice settings";
3243const char kEnableUnifiedMultiDeviceSettingsDescription[] =
3244 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
3245 "MultiDevice settings.";
3246
3247const char kEnableUnifiedMultiDeviceSetupName[] =
3248 "Enable unified MultiDevice setup";
3249const char kEnableUnifiedMultiDeviceSetupDescription[] =
3250 "Enable the device to setup all MultiDevice services in a single workflow.";
3251
Darren Shen11c770f312018-06-13 07:36:393252const char kEnableVirtualKeyboardMdUiName[] =
3253 "Enable Material Design virtual keyboard";
3254const char kEnableVirtualKeyboardMdUiDescription[] =
3255 "If enabled, loads the Material Design UI for the virtual keyboard.";
3256
Darren Shen0b4e5802018-07-10 03:12:263257const char kEnableVirtualKeyboardUkmName[] = "Enable UKM for virtual keyboard";
3258const char kEnableVirtualKeyboardUkmDescription[] =
3259 "Enables UKM for virtual keyboard";
3260
Klemen Kozjek05fc4512017-10-18 12:51:103261const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
3262const char kEnableZipArchiverPackerDescription[] =
3263 "Enable the ability to archive files on Drive in the Files app";
3264
Brett Wilson7b44537e2017-08-18 01:38:283265const char kEolNotificationName[] = "Disable Device End of Life notification.";
3266const char kEolNotificationDescription[] =
3267 "Disable Notifcation when Device is End of Life.";
3268
3269const char kExperimentalAccessibilityFeaturesName[] =
3270 "Experimental accessibility features";
3271const char kExperimentalAccessibilityFeaturesDescription[] =
3272 "Enable additional accessibility features in the Settings page.";
3273
3274const char kExperimentalInputViewFeaturesName[] =
3275 "Experimental input view features";
3276const char kExperimentalInputViewFeaturesDescription[] =
3277 "Enable experimental features for IME input views.";
3278
3279const char kFileManagerTouchModeName[] = "Files App. touch mode";
3280const char kFileManagerTouchModeDescription[] =
3281 "Touchscreen-specific interactions of the Files app.";
3282
3283const char kFirstRunUiTransitionsName[] =
3284 "Animated transitions in the first-run tutorial";
3285const char kFirstRunUiTransitionsDescription[] =
3286 "Transitions during first-run tutorial are animated.";
3287
Brett Wilson7b44537e2017-08-18 01:38:283288const char kForceEnableStylusToolsName[] = "Force enable stylus features";
3289const char kForceEnableStylusToolsDescription[] =
3290 "Forces display of the stylus tools menu in the shelf and the stylus "
3291 "section in settings, even if there is no attached stylus device.";
3292
3293const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
3294const char kGestureEditingDescription[] =
3295 "Enable/Disable gesture editing option in the settings page for the "
3296 "virtual keyboard.";
3297
3298const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
3299const char kGestureTypingDescription[] =
3300 "Enable/Disable gesture typing option in the settings page for the virtual "
3301 "keyboard.";
3302
3303const char kInputViewName[] = "Input views";
3304const char kInputViewDescription[] =
3305 "Enable IME extensions to supply custom views for user input such as "
3306 "virtual keyboards.";
3307
Megumi Hattori5a0d4182018-03-06 11:09:503308const char kLockScreenNotificationName[] = "Lock screen notification";
3309const char kLockScreenNotificationDescription[] =
3310 "Enable notifications on the lock screen.";
3311
Qiang Xu045aff222018-05-21 23:21:013312const char kMaterialDesignInkDropAnimationSpeedName[] =
3313 "Material design ink drop animation speed";
3314const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3315 "Sets the speed of the experimental visual feedback animations for "
3316 "material design.";
3317const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3318const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3319
Brett Wilson7b44537e2017-08-18 01:38:283320const char kMemoryPressureThresholdName[] =
3321 "Memory discard strategy for advanced pressure handling";
3322const char kMemoryPressureThresholdDescription[] =
3323 "Memory discarding strategy to use";
3324const char kConservativeThresholds[] =
3325 "Conservative memory pressure release strategy";
3326const char kAggressiveCacheDiscardThresholds[] =
3327 "Aggressive cache release strategy";
3328const char kAggressiveTabDiscardThresholds[] =
3329 "Aggressive tab release strategy";
3330const char kAggressiveThresholds[] =
3331 "Aggressive tab and cache release strategy";
3332
3333const char kMtpWriteSupportName[] = "MTP write support";
3334const char kMtpWriteSupportDescription[] =
3335 "MTP write support in File System API (and file manager). In-place editing "
3336 "operations are not supported.";
3337
Kyle Horimoto027590fb2018-02-13 22:19:483338const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
3339const char kMultiDeviceApiDescription[] =
3340 "Enable Mojo-based API which provides synced device metadata and the "
3341 "ability to connect to other devices associated the logged-in Google "
3342 "account.";
3343
Bailey Berrodca8eeca02017-11-18 00:49:123344const char kNativeSmbName[] = "Native Smb Client";
3345const char kNativeSmbDescription[] =
3346 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:303347
vabr0215a8e2017-03-28 12:47:343348const char kNetworkPortalNotificationName[] =
3349 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:343350const char kNetworkPortalNotificationDescription[] =
3351 "If enabled, notification is displayed when device is connected to a "
3352 "network behind captive portal.";
3353
Brett Wilson7b44537e2017-08-18 01:38:283354const char kNewKoreanImeName[] = "New Korean IME";
3355const char kNewKoreanImeDescription[] =
3356 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:343357
Brett Wilson7b44537e2017-08-18 01:38:283358const char kNewZipUnpackerName[] = "New ZIP unpacker";
3359const char kNewZipUnpackerDescription[] =
3360 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:343361
Qiang Xu045aff222018-05-21 23:21:013362const char kOfficeEditingComponentAppName[] =
3363 "Office Editing for Docs, Sheets & Slides";
3364const char kOfficeEditingComponentAppDescription[] =
3365 "Office Editing for Docs, Sheets & Slides for testing purposes.";
3366
Brett Wilson7b44537e2017-08-18 01:38:283367const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
3368const char kPhysicalKeyboardAutocorrectDescription[] =
3369 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3370 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343371
3372const char kPrinterProviderSearchAppName[] =
3373 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343374const char kPrinterProviderSearchAppDescription[] =
3375 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193376 "searches Chrome Web Store for extensions that support printing to a USB "
3377 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343378
Brett Wilson7b44537e2017-08-18 01:38:283379const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3380const char kQuickUnlockPinDescription[] =
3381 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3382 "device on the lock screen after you have signed into your device.";
3383const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3384const char kQuickUnlockPinSigninDescription[] =
3385 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3386 "device. After changing this flag PIN needs to be set up again.";
3387const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3388const char kQuickUnlockFingerprintDescription[] =
3389 "Enabling fingerprint quick unlock allows you to setup and use a "
3390 "fingerprint to unlock your Chromebook on the lock screen after you have "
3391 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343392
James Cook0ba192bf2017-12-01 20:53:113393const char kShowTapsName[] = "Show taps";
3394const char kShowTapsDescription[] =
3395 "Draws a circle at each touch point, which makes touch points more obvious "
3396 "when projecting or mirroring the display. Similar to the Android OS "
3397 "developer option.";
3398
3399const char kShowTouchHudName[] = "Show HUD for touch points";
3400const char kShowTouchHudDescription[] =
3401 "Shows a trail of colored dots for the last few touch points. Pressing "
3402 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3403 "debug hardware issues that generate spurious touch events.";
3404
Jorge Gil5a8ccde2018-07-10 01:46:213405const char kSmartTextSelectionName[] = "Smart Text Selection";
3406const char kSmartTextSelectionDescription[] =
3407 "Shows quick actions for text "
3408 "selections in the context menu.";
3409
Chung-Sheng Wu468b0b32017-09-01 14:41:573410const char kSysInternalsName[] = "Enable Sys-Internals";
3411const char kSysInternalsDescription[] =
3412 "If enabled, user can monitor system information at "
3413 "chrome://sys-internals.";
3414
Stuart Langleyc981ac62018-06-21 14:38:253415const char kDisableTeamDrivesName[] = "Disable Team Drives Integration";
3416const char kDisableTeamDrivesDescription[] =
3417 "If disabled, files under Team Drives will no longer appear in the Files "
3418 "app.";
vabr0215a8e2017-03-28 12:47:343419
Brett Wilson7b44537e2017-08-18 01:38:283420const char kTetherName[] = "Instant Tethering";
3421const char kTetherDescription[] =
3422 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3423 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373424
Brett Wilson7b44537e2017-08-18 01:38:283425const char kTouchscreenCalibrationName[] =
3426 "Enable/disable touchscreen calibration option in material design settings";
3427const char kTouchscreenCalibrationDescription[] =
3428 "If enabled, the user can calibrate the touch screen displays in "
3429 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093430
Qiang Xu045aff222018-05-21 23:21:013431const char kUiDevToolsName[] = "Enable native UI inspection";
3432const char kUiDevToolsDescription[] =
3433 "Enables inspection of native UI elements. For local inspection use "
3434 "chrome://inspect#other";
3435
3436const char kUiShowCompositedLayerBordersName[] =
3437 "Show UI composited layer borders";
3438const char kUiShowCompositedLayerBordersDescription[] =
3439 "Show border around composited layers created by UI.";
3440const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3441const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3442const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3443const char kUiShowCompositedLayerBordersAll[] = "All";
3444
3445const char kUiSlowAnimationsName[] = "Slow UI animations";
3446const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3447
Mitsuru Oshima63d3f2a2017-08-23 00:12:113448// Force UI Mode
3449const char kUiModeName[] = "Force Ui Mode";
3450const char kUiModeDescription[] =
3451 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3452 R"*(despite its current orientation. "Tablet" means that the )*"
3453 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3454 R"*(means that the chromebook will act as if it were in clamshell )*"
3455 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3456 R"*(the two, based on its orientation.)*";
3457const char kUiModeTablet[] = "TouchView";
3458const char kUiModeClamshell[] = "Clamshell";
3459const char kUiModeAuto[] = "Auto (default)";
3460
Sonny Sasaka7fecfeda2018-07-11 23:47:553461const char kUnfilteredBluetoothDevicesName[] = "Unfiltered Bluetooth devices";
3462const char kUnfilteredBluetoothDevicesDescription[] =
3463 "Shows all Bluetooth devices in UI (System Tray/Settings Page.)";
3464
James Cooka1bcfa9a2018-01-30 00:18:403465const char kUseMashName[] = "Out-of-process system UI (mash)";
3466const char kUseMashDescription[] =
3467 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3468 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283469
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343470// TODO(mcasas): remove after https://crbug.com/771345.
3471const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3472const char kUseMonitorColorSpaceDescription[] =
3473 "Enables Chrome to use the color space information provided by the monitor"
3474 " instead of the default sRGB color space.";
3475
Brett Wilson7b44537e2017-08-18 01:38:283476const char kVideoPlayerChromecastSupportName[] =
3477 "Experimental Chromecast support for Video Player";
3478const char kVideoPlayerChromecastSupportDescription[] =
3479 "This option enables experimental Chromecast support for Video Player app "
3480 "on ChromeOS.";
3481
3482const char kVirtualKeyboardName[] = "Virtual Keyboard";
3483const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3484
3485const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3486const char kVirtualKeyboardOverscrollDescription[] =
3487 "Enables virtual keyboard overscroll support.";
3488
3489const char kVoiceInputName[] = "Voice input on virtual keyboard";
3490const char kVoiceInputDescription[] =
3491 "Enables voice input on virtual keyboard.";
3492
3493const char kWakeOnPacketsName[] = "Wake On Packets";
3494const char kWakeOnPacketsDescription[] =
3495 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203496
Qiang Xu53d1a5832018-05-24 18:44:193497const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3498const char kZipArchiverUnpackerDescription[] =
3499 "Enable or disable the ability to unpack archives in incognito mode";
3500
wutao42ee9daa2018-07-19 00:12:173501extern const char kEnableContinueReadingName[] = "Enable continue reading";
3502extern const char kEnableContinueReadingDescription[] =
3503 "Enable continue reading feature in Launcher, which allows users to "
3504 "seamlessly continue reading a web page when they switch devices from "
3505 "phones or tablets to Chromebooks.";
3506
Jenny Zhang81fc4c52018-07-23 22:12:323507extern const char kEnableZeroStateSuggestionsName[] =
3508 "Enable Zero State Suggetions";
3509extern const char kEnableZeroStateSuggestionsDescription[] =
3510 "Enable Zero State Suggestions feature in Launcher, which will show "
3511 "suggetions when launcher search box is active with an empty query";
3512
Yue Cen07fbaa52018-08-15 21:18:283513const char kEnableOobeRecommendAppsScreenName[] =
3514 "Enable OOBE Recommend Apps Screen";
3515const char kEnableOobeRecommendAppsScreenDescription[] =
3516 "Enable the Recommend Apps Screen in OOBE which allows user to install apps"
3517 "from other devices";
3518
yhanadac5bff5b2017-05-18 06:37:093519#endif // defined(OS_CHROMEOS)
3520
Brett Wilson7b44537e2017-08-18 01:38:283521// Random platform combinations -----------------------------------------------
3522
3523#if defined(OS_WIN) || defined(OS_LINUX)
3524
3525const char kEnableInputImeApiName[] = "Enable Input IME API";
3526const char kEnableInputImeApiDescription[] =
3527 "Enable the use of chrome.input.ime API.";
3528
3529#endif // defined(OS_WIN) || defined(OS_LINUX)
3530
3531#if defined(OS_WIN) || defined(OS_MACOSX)
3532
3533const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3534const char kAutomaticTabDiscardingDescription[] =
3535 "If enabled, tabs get automatically discarded from memory when the system "
3536 "memory is low. Discarded tabs are still visible on the tab strip and get "
3537 "reloaded when clicked on. Info about discarded tabs can be found at "
3538 "chrome://discards.";
3539
3540#endif // defined(OS_WIN) || defined(OS_MACOSX)
3541
lanwei83f54452018-06-21 23:51:043542#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3543
3544const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
3545const char kDirectManipulationStylusDescription[] =
3546 "If enabled, Chrome will scroll web pages on stylus drag.";
3547
3548#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3549
Justin Donnelly110e40c2018-06-01 21:48:433550const char kExperimentalUiName[] = "Use all upcoming UI features";
3551const char kExperimentalUiDescription[] = "Use all upcoming UI features.";
Elly Fong-Jonesdfaf8532018-05-29 18:20:483552
Brett Wilson7b44537e2017-08-18 01:38:283553// Feature flags --------------------------------------------------------------
3554
3555#if BUILDFLAG(ENABLE_VR)
3556
David Dorwin5a496c32017-11-17 01:45:053557const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3558const char kWebVrVsyncAlignDescription[] =
3559 "Align WebVR application rendering with VSync for smoother animations.";
3560
Bill Orr103ed272018-02-14 21:23:053561#if BUILDFLAG(ENABLE_OCULUS_VR)
3562const char kOculusVRName[] = "Oculus hardware support";
3563const char kOculusVRDescription[] =
3564 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3565 "Windows 10 or later).";
3566#endif // ENABLE_OCULUS_VR
3567
Bill Orr49527562017-11-22 16:58:483568#if BUILDFLAG(ENABLE_OPENVR)
3569const char kOpenVRName[] = "OpenVR hardware support";
3570const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073571 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3572 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483573#endif // ENABLE_OPENVR
3574
Brett Wilson7b44537e2017-08-18 01:38:283575#endif // ENABLE_VR
3576
Nico Weberaf3b00b2017-09-11 17:58:173577#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283578
3579const char kNaclDebugMaskName[] =
3580 "Restrict Native Client GDB-based debugging by pattern";
3581const char kNaclDebugMaskDescription[] =
3582 "Restricts Native Client application GDB-based debugging by URL of "
3583 "manifest file. Native Client GDB-based debugging must be enabled for this "
3584 "option to work.";
3585const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3586const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3587 "Debug everything except secure shell and the PNaCl translator.";
3588const char kNaclDebugMaskChoiceIncludeDebug[] =
3589 "Debug only if manifest URL ends with debug.nmf.";
3590
3591const char kNaclDebugName[] = "Native Client GDB-based debugging";
3592const char kNaclDebugDescription[] =
3593 "Enable GDB debug stub. This will stop a Native Client application on "
3594 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3595
3596const char kNaclName[] = "Native Client";
3597const char kNaclDescription[] =
3598 "Support Native Client for all web applications, even those that were not "
3599 "installed from the Chrome Web Store.";
3600
3601const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3602const char kPnaclSubzeroDescription[] =
3603 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3604
Nico Weberaf3b00b2017-09-11 17:58:173605#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283606
Brett Wilson7b44537e2017-08-18 01:38:283607const char kWebrtcH264WithOpenh264FfmpegName[] =
3608 "WebRTC H.264 software video encoder/decoder";
3609const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3610 "When enabled, an H.264 software video encoder/decoder pair is included. "
3611 "If a hardware encoder/decoder is also available it may be used instead of "
3612 "this encoder/decoder.";
3613
Brett Wilson7b44537e2017-08-18 01:38:283614#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3615
3616const char kAutofillCreditCardUploadName[] =
3617 "Enable offering upload of Autofilled credit cards";
3618const char kAutofillCreditCardUploadDescription[] =
3619 "Enables a new option to upload credit cards to Google Payments for sync "
3620 "to all Chrome devices.";
3621
3622#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3623
Becca Hughesdc96e842018-05-04 22:48:283624#if defined(OS_ANDROID)
3625
3626const char kDisplayCutoutAPIName[] =
3627 "Enable support for the Display Cutout API";
3628const char kDisplayCutoutAPIDescription[] =
3629 "Enables developers to support devices that have a display cutout.";
3630
3631#endif // defined(OS_ANDROID)
3632
Brett Wilson7b44537e2017-08-18 01:38:283633// ============================================================================
3634// Don't just add flags to the end, put them in the right section in
3635// alphabetical order just like the header file.
3636// ============================================================================
3637
vabr0215a8e2017-03-28 12:47:343638} // namespace flag_descriptions