blob: 75d6d9fe907c83126bd6bc0d705da2bab0e898d5 [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
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Tetsui Ohkubo2852b952018-02-23 04:12:0146const char kSystemTrayUnifiedName[] = "New system menu";
47const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5548 "Enable the experimental system menu.";
49
Sathya Gunasekaranbc706d62018-02-09 21:44:2250const char kArrayPrototypeValuesName[] = "Array.prototype.values ES6 method";
51const char kArrayPrototypeValuesDescription[] =
52 "Enables Array.prototype.values method";
53
Khushalba202212017-07-12 19:53:4954const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
55const char kAsyncImageDecodingDescription[] =
56 "Enables asynchronous decoding of images from raster for web content";
57
sebsge35b762c2018-03-29 20:33:2758const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
59const char kAutofillDynamicFormsDescription[] =
60 "Allows autofill to fill dynamically changing forms";
61
Roger McFarlane1a37d7b2018-04-20 22:45:1962const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
63 "Autofill Enforce Min Required Fields For Heuristics";
64const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
65 "When enabled, autofill will generally require a form to have at least 3 "
66 "fields before allowing heuristic field-type prediction to occur.";
67
68const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
69 "Autofill Enforce Min Required Fields For Query";
70const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
71 "When enabled, autofill will generally require a form to have at least 3 "
72 "fields before querying the autofill server for field-type predictions.";
73
74const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
75 "Autofill Enforce Min Required Fields For Upload";
76const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
77 "When enabled, autofill will generally require a form to have at least 3 "
78 "fillable fields before uploading field-type votes for that form.";
79
Moe Ahmadid3ddfcb2018-04-20 19:51:0880const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
81 "Restrict formless form extraction";
82const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
83 "Restrict extraction of formless forms to checkout flows";
84
Brett Wilsonf27ff602017-07-07 22:28:4785const char kAutoplayPolicyName[] = "Autoplay policy";
86const char kAutoplayPolicyDescription[] =
87 "Policy used when deciding if audio or video is allowed to autoplay.";
88
89const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
90 "User gesture is required for cross-origin iframes.";
91const char kAutoplayPolicyNoUserGestureRequired[] =
92 "No user gesture is required.";
93const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
94const char kAutoplayPolicyDocumentUserActivation[] =
95 "Document user activation is required.";
96
Johanne0cc6902017-11-16 00:23:5097extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
98extern const char kAv1DecoderDescription[] =
99 "Allow decoding of files with the AV1 video codec.";
100
Brett Wilsonf27ff602017-07-07 22:28:47101const char kBackgroundVideoTrackOptimizationName[] =
102 "Optimize background video playback.";
103const char kBackgroundVideoTrackOptimizationDescription[] =
104 "Disable video tracks when the video is played in the background to "
105 "optimize performance.";
106
107const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
108const char kBleAdvertisingInExtensionsDescription[] =
109 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
110 "with regular use of Bluetooth Low Energy features.";
111
Charles Harrisond629cc62017-10-05 01:39:54112const char kBlockTabUndersName[] = "Block tab-unders";
113const char kBlockTabUndersDescription[] =
114 "Blocks tab-unders in Chrome with some native UI to allow the user to "
115 "proceed.";
116
Brett Wilsonf27ff602017-07-07 22:28:47117const char kBrowserTaskSchedulerName[] = "Task Scheduler";
118const char kBrowserTaskSchedulerDescription[] =
119 "Enables redirection of some task posting APIs to the task scheduler.";
120
Carlos IL766fbc882018-02-16 02:34:52121const char kBundledConnectionHelpName[] = "Bundled Connection Help";
122const char kBundledConnectionHelpDescription[] =
123 "Enables or disables redirecting users who get an interstitial when "
124 "accessing https://support.google.com/chrome/answer/6098869 to local "
125 "connection help content.";
126
Brett Wilsonf27ff602017-07-07 22:28:47127const char kBypassAppBannerEngagementChecksName[] =
128 "Bypass user engagement checks";
129const char kBypassAppBannerEngagementChecksDescription[] =
130 "Bypasses user engagement checks for displaying app banners, such as "
131 "requiring that users have visited the site before and that the banner "
132 "hasn't been shown recently. This allows developers to test that other "
133 "eligibility requirements for showing app banners, such as having a "
134 "manifest, are met.";
135
Lucas Garronb9539b732017-10-31 00:22:09136const char kCommittedInterstitialsName[] = "Committed Interstitials";
137const char kCommittedInterstitialsDescription[] =
138 "Use committed error pages instead of transient navigation entries "
139 "for interstitial error pages (e.g. certificate errors).";
140
Brett Wilsonf27ff602017-07-07 22:28:47141const char kCastStreamingHwEncodingName[] =
142 "Cast Streaming hardware video encoding";
143const char kCastStreamingHwEncodingDescription[] =
144 "This option enables support in Cast Streaming for encoding video streams "
145 "using platform hardware.";
146
Amber Won478561d2017-08-19 01:02:59147const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
148const char kClickToOpenPDFDescription[] =
149 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
150 "embedded PDFs.";
151
Gary Kacmarcikfb69b212017-11-14 03:41:08152const char kClipboardContentSettingName[] = "Clipboard content setting";
153const char kClipboardContentSettingDescription[] =
154 "Enables a site-wide permission in the UI which controls access to the "
155 "asynchronous clipboard web API";
156
Brett Wilsonf27ff602017-07-07 22:28:47157const char kCloudImportName[] = "Cloud Import";
158const char kCloudImportDescription[] = "Allows the cloud-import feature.";
159
Christopher Cameronceb8727d2017-09-07 23:53:16160const char kForceColorProfileSRGB[] = "sRGB";
161const char kForceColorProfileP3[] = "Display P3 D65";
162const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
163const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
164
165const char kForceColorProfileName[] = "Force color profile";
166const char kForceColorProfileDescription[] =
167 "Forces Chrome to use a specific color profile instead of the color "
168 "of the window's current monitor, as specified by the operating system.";
169
Brett Wilsonf27ff602017-07-07 22:28:47170const char kCompositedLayerBordersName[] = "Composited render layer borders";
171const char kCompositedLayerBordersDescription[] =
172 "Renders a border around composited Render Layers to help debug and study "
173 "layer compositing.";
174
Theresaf39c1882018-03-21 18:18:07175const char kContextualSuggestionsBottomSheetName[] =
176 "Enable Contextual Suggestions Bottom Sheet";
177const char kContextualSuggestionsBottomSheetDescription[] =
178 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47179
180const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
181const char kCreditCardAssistDescription[] =
182 "Enable assisted credit card filling on certain sites.";
183
184const char kCrossProcessGuestViewIsolationName[] =
185 "Cross process frames for guests";
186const char kCrossProcessGuestViewIsolationDescription[] =
187 "Highly experimental where guests such as <webview> are implemented on "
188 "the out-of-process iframe infrastructure.";
189
Thanh Le659cb102017-12-20 22:00:19190const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
191const char kDataSaverServerPreviewsDescription[] =
192 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47193
194const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
195const char kDatasaverPromptDescription[] =
196 "Enables a prompt, which appears when a cellular network connection is "
197 "detected, to take the user to the Data Saver extension page on Chrome Web "
198 "Store.";
199const char kDatasaverPromptDemoMode[] = "Demo mode";
200
Wez54dc71b2018-04-17 00:42:34201#if DCHECK_IS_CONFIGURABLE
202const char kDcheckIsFatalName[] = "DCHECKs are fatal";
203const char kDcheckIsFatalDescription[] =
204 "By default Chrome will evaluate in this build, but only log failures, "
205 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
206#endif // DCHECK_IS_CONFIGURABLE
207
Brett Wilsonf27ff602017-07-07 22:28:47208const char kDebugPackedAppName[] = "Debugging for packed apps";
209const char kDebugPackedAppDescription[] =
210 "Enables debugging context menu options such as Inspect Element for packed "
211 "applications.";
212
213const char kDefaultTileHeightName[] = "Default tile height";
214const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
215const char kDefaultTileHeightShort[] = "128";
216const char kDefaultTileHeightTall[] = "256";
217const char kDefaultTileHeightGrande[] = "512";
218const char kDefaultTileHeightVenti[] = "1024";
219
220const char kDefaultTileWidthName[] = "Default tile width";
221const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
222const char kDefaultTileWidthShort[] = "128";
223const char kDefaultTileWidthTall[] = "256";
224const char kDefaultTileWidthGrande[] = "512";
225const char kDefaultTileWidthVenti[] = "1024";
226
227const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
228const char kDebugShortcutsDescription[] =
229 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
230
231const char kDeviceDiscoveryNotificationsName[] =
232 "Device Discovery Notifications";
233const char kDeviceDiscoveryNotificationsDescription[] =
234 "Device discovery notifications on local network.";
235
236const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
237const char kDevtoolsExperimentsDescription[] =
238 "Enables Developer Tools experiments. Use Settings panel in Developer "
239 "Tools to toggle individual experiments.";
240
241const char kDisableAudioForDesktopShareName[] =
242 "Disable Audio For Desktop Share";
243const char kDisableAudioForDesktopShareDescription[] =
244 "With this flag on, desktop share picker window will not let the user "
245 "choose whether to share audio.";
246
Chris Palmer917bc052018-03-14 19:28:31247const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
248const char kDisablePushStateThrottleDescription[] =
249 "Disables throttling of history.pushState and history.replaceState method "
250 "calls.";
251
Brett Wilsonf27ff602017-07-07 22:28:47252const char kDisableTabForDesktopShareName[] =
253 "Disable Desktop Share with tab source";
254const char kDisableTabForDesktopShareDescription[] =
255 "This flag controls whether users can choose a tab for desktop share.";
256
257const char kDisallowDocWrittenScriptsUiName[] =
258 "Block scripts loaded via document.write";
259const char kDisallowDocWrittenScriptsUiDescription[] =
260 "Disallows fetches for third-party parser-blocking scripts inserted into "
261 "the main frame via document.write.";
262
Brett Wilsonf27ff602017-07-07 22:28:47263const char kDriveSearchInChromeLauncherName[] =
264 "Drive Search in Chrome App Launcher";
265const char kDriveSearchInChromeLauncherDescription[] =
266 "Files from Drive will show up when searching the Chrome App Launcher.";
267
Gustavo Sacomotofb11164f2017-07-21 12:56:18268const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
269const char kEasyUnlockPromotionsDescription[] =
270 "Enables Smart Lock promotions. Promotions will be periodically display "
271 "if the user is eligible.";
272
Brett Wilsonf27ff602017-07-07 22:28:47273const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
274const char kEmbeddedExtensionOptionsDescription[] =
275 "Display extension options as an embedded element in chrome://extensions "
276 "rather than opening a new tab.";
277
278const char kEnableAsmWasmName[] =
279 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
280const char kEnableAsmWasmDescription[] =
281 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
282 R"*(WebAssembly.)*";
283
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36284const char kEnableWebPaymentsSingleAppUiSkipName[] =
285 "Enable Web Payments single app UI skip";
286const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
287 "Enable Web Payments to skip showing its UI if the developer specifies a "
288 "single app.";
289
Shanfeng Zhang19c16562017-10-17 02:30:40290const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
291 "Credit card autofill ablation experiment.";
292const char kEnableAutofillCreditCardAblationExperimentDescription[] =
293 "If enabled, credit card autofill suggestions will not display.";
294
Jared Saulae93aa12018-03-23 19:04:39295const char kEnableAutofillCreditCardBankNameDisplayName[] =
296 "Display the issuer bank name of a credit card in autofill.";
297const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
298 "If enabled, displays the issuer bank name of a credit card in autofill.";
299
Brett Wilsonf27ff602017-07-07 22:28:47300const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
301 "Display the last used date of a credit card in autofill.";
302const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
303 "If enabled, display the last used date of a credit card in autofill.";
304
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37305const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
306 "Enable Google Pay branding when offering credit card upload on Android";
307const char
308 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
309 "If enabled, shows the Google Pay logo and a shorter header message "
310 "when credit card upload to Google Payments is offered on Android.";
311
Jared Saul1e4786a2017-12-14 01:43:09312const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
313 "Always send metadata on detected form values for Autofill credit card "
314 "upload";
315const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
316 "If enabled, always checks with Google Payments when deciding whether to "
317 "offer credit card upload, even if some data is missing.";
318
Jared Saul5c2a1482017-12-09 00:24:31319const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
320 "Send first six digits of PAN when deciding whether to offer Autofill "
321 "credit card upload";
322const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
323 "If enabled, when deciding whether to offer credit card upload to Google "
324 "Payments, sends the first six digits of the card number to avoid cases "
325 "where card upload is likely to fail.";
326
siyua7c4e97b42018-04-24 02:49:42327const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
328 "Enable updated prompt explanation when offering credit card upload";
329const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
330 "If enabled, changes the server save card prompt's explanation to mention "
331 "the saving of the billing address.";
332
tmartinocd414732018-02-12 19:01:01333const char kEnableAutofillNativeDropdownViewsName[] =
334 "Display Autofill Dropdown Using Views";
335const char kEnableAutofillNativeDropdownViewsDescription[] =
336 "If enabled, the Autofill Dropdown will be built natively using Views, "
337 "rather than painted directly to a canvas.";
338
Vitalii Iarko4f9834ce2017-08-04 07:05:19339const char kEnableBreakingNewsPushName[] = "Breaking News Push";
340const char kEnableBreakingNewsPushDescription[] =
341 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
342 "through Google Cloud Messaging.";
343
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEnableBrotliName[] = "Brotli Content-Encoding.";
345const char kEnableBrotliDescription[] =
346 "Enable Brotli Content-Encoding support.";
347
Qiang Xu0f602fe62017-12-22 01:31:20348const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
349const char kEnableCaptivePortalRandomUrlDescription[] =
350 "Enable Captive Portal URL randomization.";
351
sclittle50e4bb92017-07-08 02:23:03352const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
353
354const char kEnableClientLoFiDescription[] =
355 "Enable showing low fidelity images on some pages on slow networks.";
356
David Reveman87b4b692018-03-09 21:22:22357const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
358const char kEnableCursorMotionBlurDescription[] =
359 "Enable motion blur effect for the cursor.";
360
Doug Arnett08b4067b2017-10-12 20:14:44361const char kEnableNoScriptPreviewsName[] = "NoScript previews";
362
363const char kEnableNoScriptPreviewsDescription[] =
364 "Enable disabling JavaScript on some pages on slow networks.";
365
Thanh Le2c279fbc2017-11-21 01:25:40366const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
367const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
368const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
369const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
370const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
371const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
372const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
373const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
374const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
375const char kDataReductionProxyServerAlternative10[] =
376 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47377const char kEnableDataReductionProxyServerExperimentName[] =
378 "Use an alternative Data Saver back end configuration.";
379const char kEnableDataReductionProxyServerExperimentDescription[] =
380 "Enable a different approach to saving data by configuring the back end "
381 "server";
382
383const char kEnableDataReductionProxySavingsPromoName[] =
384 "Data Saver 1 MB Savings Promo";
385const char kEnableDataReductionProxySavingsPromoDescription[] =
386 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
387 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
388 "enabled for the promo to be shown.";
389
Matt Giucad4870432017-11-24 01:04:38390const char kEnableDesktopPWAsName[] = "Desktop PWAs";
391const char kEnableDesktopPWAsDescription[] =
392 "Experimental windowing and install banner treatment for Progressive Web "
393 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17394
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59395const char kEnableDesktopPWAsLinkCapturingName[] =
396 "Desktop PWAs Link Capturing";
397const char kEnableDesktopPWAsLinkCapturingDescription[] =
398 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
399 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
400 "#enable-desktop-pwas.";
401
Ahmed Fakhry0037de02018-01-29 19:58:31402const char kEnableDockedMagnifierName[] = "Docked Magnifier";
403const char kEnableDockedMagnifierDescription[] =
404 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
405
Ramya Nagarajan5b41d8d2018-04-02 19:53:02406const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
407const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09408 "Enables the Emoji picker item in context menus for editable text areas, if"
409 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02410
Brett Wilsonf27ff602017-07-07 22:28:47411const char kEnableEnumeratingAudioDevicesName[] =
412 "Experimentally enable enumerating audio devices.";
413const char kEnableEnumeratingAudioDevicesDescription[] =
414 "Experimentally enable the use of enumerating audio devices.";
415
416const char kEnableGenericSensorName[] = "Generic Sensor";
417const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25418 "Enables motion sensor classes based on Generic Sensor API, i.e. "
419 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
420 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
421
422const char kEnableGenericSensorExtraClassesName[] =
423 "Generic Sensor Extra Classes";
424const char kEnableGenericSensorExtraClassesDescription[] =
425 "Enables an extra set of sensor classes based on Generic Sensor API, which "
426 "expose previously unavailable platform features, i.e. AmbientLightSensor "
427 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47428
Brett Wilsonf27ff602017-07-07 22:28:47429const char kEnableHDRName[] = "HDR mode";
430const char kEnableHDRDescription[] =
431 "Enables HDR support on compatible displays.";
432
Brett Wilsonf27ff602017-07-07 22:28:47433const char kEnableHttpFormWarningName[] =
434 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15435 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47436const char kEnableHttpFormWarningDescription[] =
437 "Attaches a warning UI to any password or credit card fields detected when "
438 "the top-level page is not HTTPS";
439
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41440const char kLayeredAPIName[] = "Experimental layered APIs";
441const char kLayeredAPIDescription[] =
442 "Enable layered API infrastructure, as well as several experimental "
443 "layered APIs. The syntax and the APIs exposed are experimental and will "
444 "change over time.";
445
Scott Littled0fd2d002018-04-13 03:37:26446const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
447const char kEnableLazyFrameLoadingDescription[] =
448 "Defers the loading of certain cross-origin frames until the page is "
449 "scrolled down near them.";
450
Sidney San Martín9375b892017-09-09 00:29:54451const char kEnableMacMaterialDesignDownloadShelfName[] =
452 "Enable Material Design download shelf";
453
454const char kEnableMacMaterialDesignDownloadShelfDescription[] =
455 "If enabled, the download shelf uses Material Design.";
456
Tatiana Gornakafb40452017-07-31 13:50:04457const char kEnableManualFallbacksFillingName[] =
458 "Manual fallbacks for password manager forms filling";
459const char kEnableManualFallbacksFillingDescription[] =
460 "If enabled, then if user clicks on the password field on a form, popup "
461 "might contain generation fallbacks or 'Show all saved passwords' "
462 "fallback.";
463
vabr0215a8e2017-03-28 12:47:34464const char kEnableMaterialDesignExtensionsName[] =
465 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34466const char kEnableMaterialDesignExtensionsDescription[] =
467 "If enabled, the chrome://extensions/ URL loads the Material Design "
468 "extensions page.";
469
Anton Urusov47cd4932017-09-19 14:41:41470const char kEnablePolicyToolName[] = "Enable policy management page";
471const char kEnablePolicyToolDescription[] =
472 "If enabled, the chrome://policy-tool URL loads a page for managing "
473 "policies.";
474
Tsuyoshi Horoea7edb72017-11-12 04:14:00475const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
476const char kEnablePWAFullCodeCacheDescription[] =
477 "Generate V8 code cache in Cache Storage while installing Service Worker "
478 "for PWAs.";
479
Weidong Guof1e5a892018-01-06 02:26:39480const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28481 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39482const char kDisableMultiMirroringDescription[] =
483 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28484
Brett Wilsonf27ff602017-07-07 22:28:47485const char kEnableNavigationTracingName[] = "Enable navigation tracing";
486const char kEnableNavigationTracingDescription[] =
487 "This is to be used in conjunction with the trace-upload-url flag. "
488 "WARNING: When enabled, Chrome will record performance data for every "
489 "navigation and upload it to the URL specified by the trace-upload-url "
490 "flag. The trace may include personally identifiable information (PII) "
491 "such as the titles and URLs of websites you visit.";
492
Bernhard Bauer5533f9912017-11-06 17:56:02493const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
494const char kEnableNetworkLoggingToFileDescription[] =
495 "Enables network logging to a file named netlog.json in the user data "
496 "directory. The file can be imported into chrome://net-internals.";
497
Brett Wilsonf27ff602017-07-07 22:28:47498const char kEnableNetworkServiceName[] = "Enable network service";
499const char kEnableNetworkServiceDescription[] =
500 "Enables the network service, which makes network requests through a "
501 "separate service. Note: most features don't work with this yet.";
502
John Abd-El-Malek8067cc02017-12-04 23:23:20503const char kEnableNetworkServiceInProcessName[] =
504 "Runs network service in-process";
505const char kEnableNetworkServiceInProcessDescription[] =
506 "Runs the network service in the browser process.";
507
dpapaded8349472017-10-25 03:21:27508const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
509const char kEnableNewPrintPreviewDescription[] =
510 "If enabled, Print Preview will display a newer UI";
511
Ahmed Fakhry2fd8fc82017-07-28 16:31:12512const char kEnableNightLightName[] = "Enable Night Light";
513const char kEnableNightLightDescription[] =
514 "Enable the Night Light feature which controls the color temperature of "
515 "the screen.";
516
xlou8b56f672018-02-09 23:34:30517const char kEnableNupPrintingName[] = "Enable N-up printing";
518const char kEnableNupPrintingDescription[] =
519 "Enable N-up printing in the print preview panel.";
520
Sophie Chang117a3b22017-10-24 22:25:36521const char kEnableOptimizationHintsName[] = "Optimization Hints";
522const char kEnableOptimizationHintsDescription[] =
523 "Enable the Optimization Hints feature which incorporates server hints"
524 "into decisions for what optimizations to perform on some pages on slow "
525 "networks.";
526
Yutaka Hirano98be3272017-08-07 17:55:39527const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
528const char kEnableOutOfBlinkCORSDescription[] =
529 "CORS handling logic is moved out of blink.";
530
Sammie Quon0fbf0782018-05-01 22:11:08531const char kEnableOverviewSwipeToCloseName[] =
532 "Enable overview swipe to close.";
533const char kEnableOverviewSwipeToCloseDescription[] =
534 "Enables closing of items in overview mode by dragging or flinging "
535 "vertically.";
536
kylechar7051c092018-02-05 20:31:39537const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
538const char kVizDisplayCompositorDescription[] =
539 "If enabled, the display compositor runs as part of the viz service in the"
540 "GPU process.";
541
Ria Jiang6a129b982018-03-01 18:30:40542const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
543const char kVizHitTestDrawQuadDescription[] =
544 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
545 "with hit-test data computed from the CompositorFrame.";
546
Erik Chen49bbfa22017-08-18 08:49:56547const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23548 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56549const char kEnableOutOfProcessHeapProfilingDescription[] =
550 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19551 "malloced objects. Heap dumps can be obtained at chrome://tracing "
552 "[category:memory-infra] and chrome://memory-internals. This setting "
553 "controls which processes are profiled. As long as this setting is not "
554 "disabled, users can start profiling any given process in "
555 "chrome://memory-internals.";
556const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
557const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
558const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
559const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
560const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10561const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19562 "None by default. Visit chrome://memory-internals to choose which "
563 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15564const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
565 "Profile a random sampling of renderer processes, ensuring only one is "
566 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19567
Erik Chen8bb76b52017-12-06 19:06:25568const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19569 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25570const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
571 "By default, small allocations are pruned from the heap dump. This reduces "
572 "the size of the compressed trace by 100x. If pruning is disabled, the "
573 "chrome://tracing UI may be unable to take or load the trace. Save the "
574 "trace directly using chrome://memory-internals, and use other mechanisms "
575 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
576 "automatically uploaded traces will always be pruned. This only affects "
577 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56578
erikchen8bc20d82018-02-14 03:21:51579const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
580const char kOutOfProcessHeapProfilingSamplingDescription[] =
581 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22582 "10000. This results in low noise for large and/or frequent allocations ["
583 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
584 "total size of malloc-ed objects] and large and/or frequent allocations "
585 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51586
Erik Chen3303fd0232018-01-11 20:29:05587const char kOOPHPStackModeName[] =
588 "The type of stack to record for memlog heap dumps";
589const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19590 "By default, memlog heap dumps record native stacks, which requires a "
591 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55592 "pointers to work on Android. Native with thread names will add the thread "
593 "name as the first frame of each native stack. It's also possible to "
594 "record a pseudo stack using trace events as identifiers. It's also "
595 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19596const char kOOPHPStackModeMixed[] = "Mixed";
597const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55598const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19599const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05600
François Beaufort2e75f492018-02-08 20:44:46601const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47602const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46603 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47604
F#m59d036e2017-09-13 07:22:17605const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
606const char kEnablePixelCanvasRecordingDescription[] =
607 "Pixel canvas recording allows the compositor to raster contents aligned "
608 "with the pixel and improves text rendering. This should be enabled when a "
609 "device is using fractional scale factor.";
610
Mikel Astiz38837f82018-04-24 22:23:23611const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
612const char kEnableSyncUSSSessionsDescription[] =
613 "Enables the new, experimental implementation of session sync (aka tab "
614 "sync).";
615
Brett Wilsonf27ff602017-07-07 22:28:47616const char kEnableTokenBindingName[] = "Token Binding.";
617const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
618
Sahel Sharifyd732ab12017-11-29 23:03:16619extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
620 "Wheel Scroll Latching.";
621extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
622 "Wheel scroll latching enforces latching to a single element for the "
623 "duration of a scroll sequence.";
624
Brett Wilsonf27ff602017-07-07 22:28:47625const char kEnableUseZoomForDsfName[] =
626 "Use Blink's zoom for device scale factor.";
627const char kEnableUseZoomForDsfDescription[] =
628 "If enabled, Blink uses its zooming mechanism to scale content for device "
629 "scale factor.";
630const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
631const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
632const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
633
634const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
635const char kEnableScrollAnchoringDescription[] =
636 "Adjusts scroll position to prevent visible jumps when offscreen content "
637 "changes.";
638
Patrick Noland8ee016e2018-01-24 11:44:53639const char kEnableScrollAnchorSerializationName[] =
640 "Scroll Anchor Serialization";
641const char kEnableScrollAnchorSerializationDescription[] =
642 "Save the scroll anchor and use it to restore the scroll position when "
643 "navigating.";
644
Brad Nelson5cd500e2018-01-04 00:50:19645const char kEnableSharedArrayBufferName[] =
646 "Experimental enabled SharedArrayBuffer support in JavaScript.";
647const char kEnableSharedArrayBufferDescription[] =
648 "Enable SharedArrayBuffer support in JavaScript.";
649
Brett Wilsonf27ff602017-07-07 22:28:47650const char kEnableWasmName[] = "WebAssembly structured cloning support.";
651const char kEnableWasmDescription[] =
652 "Enable web pages to use WebAssembly structured cloning.";
653
Brett Wilsonf27ff602017-07-07 22:28:47654const char kEnableImageCaptureAPIName[] = "Image Capture API";
655const char kEnableImageCaptureAPIDescription[] =
656 "Enables the Web Platform Image Capture API: takePhoto(), "
657 "getPhotoCapabilities(), etc.";
658
659const char kEnableZeroSuggestRedirectToChromeName[] =
660 "Experimental contextual omnibox suggestion";
661const char kEnableZeroSuggestRedirectToChromeDescription[] =
662 "Change omnibox contextual suggestions to an experimental source. Note "
663 "that this is not an on/off switch for contextual omnibox and it only "
664 "applies to suggestions provided before the user starts typing a URL or a "
665 "search query (i.e. zero suggest).";
666
667const char kEnableWasmStreamingName[] =
668 "WebAssembly streaming compile/instantiate support.";
669const char kEnableWasmStreamingDescription[] =
670 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
671
Clemens Hammacher0c8a15a2018-04-27 13:45:32672const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
673const char kEnableWasmBaselineDescription[] =
674 "Enables WebAssembly baseline compilation and tier up.";
675
Brett Wilsonf27ff602017-07-07 22:28:47676const char kExpensiveBackgroundTimerThrottlingName[] =
677 "Throttle expensive background timers";
678const char kExpensiveBackgroundTimerThrottlingDescription[] =
679 "Enables intervention to limit CPU usage of background timers to 1%.";
680
681const char kExperimentalAppBannersName[] = "Experimental app banners";
682const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38683 "Enables a new experimental app banner flow and UI. Implies "
684 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47685
686const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
687const char kExperimentalCanvasFeaturesDescription[] =
688 "Enables the use of experimental canvas features which are still in "
689 "development.";
690
Nicholas Verneccd8259802018-02-22 01:22:04691const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
692const char kExperimentalCrostiniUIDescription[] =
693 "Enables in-development Crostini features.";
694
Brett Wilsonf27ff602017-07-07 22:28:47695const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
696const char kExperimentalExtensionApisDescription[] =
697 "Enables experimental extension APIs. Note that the extension gallery "
698 "doesn't allow you to upload extensions that use experimental APIs.";
699
700const char kExperimentalFullscreenExitUIName[] =
701 "Experimental fullscreen exit UI";
702const char kExperimentalFullscreenExitUIDescription[] =
703 "Displays experimental UI to allow mouse and touch input methods to exit "
704 "fullscreen mode.";
705
Ian Clelland37a985d2018-05-04 02:43:13706const char kExperimentalProductivityFeaturesName[] =
707 "Experimental Productivity Features";
708const char kExperimentalProductivityFeaturesDescription[] =
709 "Enable support for experimental developer productivity features, such as "
710 "Layered APIs and policies for avoiding slow rendering.";
711
Brett Wilsonf27ff602017-07-07 22:28:47712const char kExperimentalSecurityFeaturesName[] =
713 "Potentially annoying security features";
714const char kExperimentalSecurityFeaturesDescription[] =
715 "Enables several security features that will likely break one or more "
716 "pages that you visit on a daily basis. Strict mixed content checking, for "
717 "example. And locking powerful features to secure contexts. This flag will "
718 "probably annoy you.";
719
720const char kExperimentalWebPlatformFeaturesName[] =
721 "Experimental Web Platform features";
722const char kExperimentalWebPlatformFeaturesDescription[] =
723 "Enables experimental Web Platform features that are in development.";
724
725const char kExtensionContentVerificationName[] =
726 "Extension Content Verification";
727const char kExtensionContentVerificationDescription[] =
728 "This flag can be used to turn on verification that the contents of the "
729 "files on disk for extensions from the webstore match what they're "
730 "expected to be. This can be used to turn on this feature if it would not "
731 "otherwise have been turned on, but cannot be used to turn it off (because "
732 "this setting can be tampered with by malware).";
733const char kExtensionContentVerificationBootstrap[] =
734 "Bootstrap (get expected hashes, but do not enforce them)";
735const char kExtensionContentVerificationEnforce[] =
736 "Enforce (try to get hashes, and enforce them if successful)";
737const char kExtensionContentVerificationEnforceStrict[] =
738 "Enforce strict (hard fail if we can't get hashes)";
739
740const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
741const char kExtensionsOnChromeUrlsDescription[] =
742 "Enables running extensions on chrome:// URLs, where extensions explicitly "
743 "request this permission.";
galinapae72e152017-05-12 13:12:28744
Brett Wilsonecb80982017-07-12 20:34:51745const char kFastUnloadName[] = "Fast tab/window close";
746const char kFastUnloadDescription[] =
747 "Enables fast tab/window closing - runs a tab's onunload js handler "
748 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34749
Brett Wilsonecb80982017-07-12 20:34:51750const char kFeaturePolicyName[] = "Feature Policy";
751const char kFeaturePolicyDescription[] =
752 "Enables granting and removing access to features through the "
753 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34754
Brett Wilsonecb80982017-07-12 20:34:51755const char kFontCacheScalingName[] = "FontCache scaling";
756const char kFontCacheScalingDescription[] =
757 "Reuse a cached font in the renderer to serve different sizes of font for "
758 "faster layout.";
759
760const char kForceEffectiveConnectionTypeName[] =
761 "Override effective connection type";
762const char kForceEffectiveConnectionTypeDescription[] =
763 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30764 "returned by the network quality estimator. Slow 2G on Cellular returns "
765 "Slow 2G when connected to a cellular network, and the actual estimate "
766 "effective connection type when not on a cellular network. Previews are "
767 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51768const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
769const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
770const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30771const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
772 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51773const char kEffectiveConnectionType2GDescription[] = "2G";
774const char kEffectiveConnectionType3GDescription[] = "3G";
775const char kEffectiveConnectionType4GDescription[] = "4G";
776
777const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
778const char kFillOnAccountSelectDescription[] =
779 "Filling of passwords when an account is explicitly selected by the user "
780 "rather than autofilling credentials on page load.";
781
Brett Wilsonecb80982017-07-12 20:34:51782const char kForceTextDirectionName[] = "Force text direction";
783const char kForceTextDirectionDescription[] =
784 "Explicitly force the per-character directionality of UI text to "
785 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
786 "direction of the character language.";
787const char kForceDirectionLtr[] = "Left-to-right";
788const char kForceDirectionRtl[] = "Right-to-left";
789
790const char kForceUiDirectionName[] = "Force UI direction";
791const char kForceUiDirectionDescription[] =
792 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
793 "mode, overriding the default direction of the UI language.";
794
795const char kFramebustingName[] =
796 "Framebusting requires same-origin or a user gesture";
797const char kFramebustingDescription[] =
798 "Don't permit an iframe to navigate the top level browsing context unless "
799 "they are same-origin or the iframe is processing a user gesture.";
800
801const char kGamepadExtensionsName[] = "Gamepad Extensions";
802const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22803 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58804const char kGamepadVibrationName[] = "Gamepad Vibration";
805const char kGamepadVibrationDescription[] =
806 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51807
Brett Wilsonecb80982017-07-12 20:34:51808const char kGpuRasterizationMsaaSampleCountName[] =
809 "GPU rasterization MSAA sample count.";
810const char kGpuRasterizationMsaaSampleCountDescription[] =
811 "Specify the number of MSAA samples for GPU rasterization.";
812const char kGpuRasterizationMsaaSampleCountZero[] = "0";
813const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
814const char kGpuRasterizationMsaaSampleCountFour[] = "4";
815const char kGpuRasterizationMsaaSampleCountEight[] = "8";
816const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
817
818const char kGpuRasterizationName[] = "GPU rasterization";
819const char kGpuRasterizationDescription[] =
820 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28821const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51822
823const char kGoogleProfileInfoName[] = "Google profile name and icon";
824const char kGoogleProfileInfoDescription[] =
825 "Enables using Google information to populate the profile name and icon in "
826 "the avatar menu.";
827
828const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
829const char kHarfbuzzRendertextDescription[] =
830 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
831 "web content.";
832
Takumi Fujimotofb71e332018-03-31 14:04:08833const char kViewsCastDialogName[] = "Views Cast dialog";
834const char kViewsCastDialogDescription[] =
835 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
836
Manu Cornet4a908de2018-04-09 04:32:27837const char kHideActiveAppsFromShelfName[] =
838 "Hide running apps (that are not pinned) from the shelf";
839const char kHideActiveAppsFromShelfDescription[] =
840 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25841
Brett Wilsonecb80982017-07-12 20:34:51842const char kHistoryRequiresUserGestureName[] =
843 "New history entries require a user gesture.";
844const char kHistoryRequiresUserGestureDescription[] =
845 "Require a user gesture to add a history entry.";
846const char kHyperlinkAuditingName[] = "Hyperlink auditing";
847const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
848
Ryan Landay4242dbc22018-04-04 01:47:33849const char kHorizontalTabSwitcherAndroidName[] =
850 "Enable horizontal tab switcher";
851const char kHorizontalTabSwitcherAndroidDescription[] =
852 "Changes the layout of the Android tab switcher so tabs scroll "
853 "horizontally instead of vertically.";
854
Brett Wilsonecb80982017-07-12 20:34:51855const char kHostedAppQuitNotificationName[] =
856 "Quit notification for hosted apps";
857const char kHostedAppQuitNotificationDescription[] =
858 "Display a notification when quitting Chrome if hosted apps are currently "
859 "running.";
860
861const char kHostedAppShimCreationName[] =
862 "Creation of app shims for hosted apps on Mac";
863const char kHostedAppShimCreationDescription[] =
864 "Create app shims on Mac when creating a hosted app.";
865
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48866const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
867const char kHtmlBasedUsernameDetectorDescription[] =
868 "Use HTML-based username detector for the password manager.";
869
Brett Wilsonecb80982017-07-12 20:34:51870const char kIconNtpName[] = "Large icons on the New Tab page";
871const char kIconNtpDescription[] =
872 "Enable the experimental New Tab page using large icons.";
873
874const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
875const char kIgnoreGpuBlacklistDescription[] =
876 "Overrides the built-in software rendering list and enables "
877 "GPU-acceleration on unsupported system configurations.";
878
Thanh Le5f090efa52017-12-27 22:39:44879const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
880const char kIgnorePreviewsBlacklistDescription[] =
881 "Ignore decisions made by the PreviewsBlackList";
882
Brett Wilsonecb80982017-07-12 20:34:51883const char kImportantSitesInCbdName[] =
884 "Important sites options in clear browsing data dialog";
885const char kImportantSitesInCbdDescription[] =
886 "Include the option to whitelist important sites in the clear browsing "
887 "data dialog.";
888
Claudio Magni61c210922017-12-28 00:29:51889const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
890const char kImprovedLanguageSettingsDescription[] =
891 "Set of changes for Language Settings. These changes are intended to fix "
892 "the major bugs related to Language Settings.";
893
Brett Wilsonecb80982017-07-12 20:34:51894const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
895const char kInProductHelpDemoModeChoiceDescription[] =
896 "Selects the In-Product Help demo mode.";
897
898const char kJavascriptHarmonyName[] = "Experimental JavaScript";
899const char kJavascriptHarmonyDescription[] =
900 "Enable web pages to use experimental JavaScript features.";
901
902const char kJavascriptHarmonyShippingName[] =
903 "Latest stable JavaScript features";
904const char kJavascriptHarmonyShippingDescription[] =
905 "Some web pages use legacy or non-standard JavaScript extensions that may "
906 "conflict with the latest JavaScript features. This flag allows disabling "
907 "support of those features for compatibility with such pages.";
908
Yutaka Hiranof7f2f632017-09-06 10:40:08909const char kKeepAliveRendererForKeepaliveRequestsName[] =
910 "Keep a renderer alive for keepalive fetch requests";
911const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
912 "Keep a render process alive when the process has a pending fetch request "
913 "with `keepalive' specified.";
914
Joe Downing095fd6d2018-02-01 18:40:36915const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
916const char kKeyboardLockApiDescription[] =
917 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
918 "specific key events and have them routed directly to the webpage when in "
919 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
920
Brett Wilsonecb80982017-07-12 20:34:51921const char kLcdTextName[] = "LCD text antialiasing";
922const char kLcdTextDescription[] =
923 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
924 "(subpixel) when doing accelerated compositing.";
925
Matt Giucac399982f2017-10-06 07:51:29926const char kLeftToRightUrlsName[] =
927 "Render bidirectional URLs from left to right";
928const char kLeftToRightUrlsDescription[] =
929 "An experimental Bidi URL rendering algorithm where the URL components are "
930 "always shown in order from left to right, regardless of any RTL "
931 "characters. (The contents of each component are still rendered with the "
932 "normal Bidi algorithm.)";
933
Brett Wilsonecb80982017-07-12 20:34:51934const char kLoadMediaRouterComponentExtensionName[] =
935 "Load Media Router Component Extension";
936const char kLoadMediaRouterComponentExtensionDescription[] =
937 "Loads the Media Router component extension at startup.";
938
spqchanb87755692018-04-05 00:46:09939const char kMacViewsAutofillPopupName[] =
940 "Uses the Views Autofill Popup on Mac";
941const char kMacViewsAutofillPopupDescription[] =
942 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32943
Brett Wilsonecb80982017-07-12 20:34:51944const char kManualPasswordGenerationName[] = "Manual password generation.";
945const char kManualPasswordGenerationDescription[] =
946 "Show a 'Generate Password' option on the context menu for all password "
947 "fields.";
948
949const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
950const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51951
Lei Zhang2eca9082017-10-17 20:42:50952const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
953const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51954 "If enabled, the Incognito New Tab page uses the new material design with "
955 "a better readable text.";
956
957const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
958const char kMediaRemotingDescription[] =
959 "When Casting a tab to a remote device, enabling this turns on an "
960 "optimization that forwards the content bitstream directly to the remote "
961 "device when a video is fullscreened.";
962
spqchanb87755692018-04-05 00:46:09963const char kMediaRouterCastAllowAllIPsName[] =
964 "Connect to Cast devices on all IP addresses";
965const char kMediaRouterCastAllowAllIPsDescription[] =
966 "Have the Media Router connect to Cast devices on all IP addresses, not "
967 "just RFC1918/RFC4913 private addresses.";
968
Brett Wilsonecb80982017-07-12 20:34:51969const char kMemoryAblationName[] = "Memory ablation experiment";
970const char kMemoryAblationDescription[] =
971 "Allocates extra memory in the browser process.";
972
973const char kMemoryCoordinatorName[] = "Memory coordinator";
974const char kMemoryCoordinatorDescription[] =
975 "Enable memory coordinator instead of memory pressure listeners.";
976
977const char kMessageCenterNewStyleNotificationName[] = "New style notification";
978const char kMessageCenterNewStyleNotificationDescription[] =
979 "Enables the experiment style of material-design notification";
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
982const char kMhtmlGeneratorOptionDescription[] =
983 "Provides experimental options for MHTML file generator.";
984const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
985const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
986
Kouhei Ueno08445c22017-09-05 03:58:30987const char kModuleScriptsDynamicImportName[] =
988 "Enable ECMAScript 6 modules dynamic import";
989const char kModuleScriptsDynamicImportDescription[] =
990 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
991 "Blink.";
992
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05993const char kModuleScriptsImportMetaUrlName[] =
994 "Enable ECMAScript 6 modules import.meta.url";
995const char kModuleScriptsImportMetaUrlDescription[] =
996 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
997 "Blink.";
998
Brett Wilsonecb80982017-07-12 20:34:51999const char kNewAudioRenderingMixingStrategyName[] =
1000 "New audio rendering mixing strategy";
1001const char kNewAudioRenderingMixingStrategyDescription[] =
1002 "Use the new audio rendering mixing strategy.";
1003
1004const char kNewBookmarkAppsName[] = "The new bookmark app system";
1005const char kNewBookmarkAppsDescription[] =
1006 "Enables the new system for creating bookmark apps.";
1007
Vadym Doroshenkof81e8bb2018-04-18 14:35:241008const char kNewPasswordFormParsingName[] = "New password form parsing";
1009const char kNewPasswordFormParsingDescription[] =
1010 "Replaces existing form parsing in password manager with a new version, "
1011 "currently under development. WARNING: when enabled Password Manager might "
1012 "stop working";
1013
Brett Wilsonecb80982017-07-12 20:34:511014const char kNewRemotePlaybackPipelineName[] =
1015 "Enable the new remote playback pipeline.";
1016const char kNewRemotePlaybackPipelineDescription[] =
1017 "Enable the new pipeline for playing media element remotely via "
1018 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501019const char kUseSurfaceLayerForVideoName[] =
1020 "Enable the use of SurfaceLayer objects for videos.";
1021const char kUseSurfaceLayerForVideoDescription[] =
1022 "Enable compositing onto a Surface instead of a VideoLayer "
1023 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511024
1025const char kNewUsbBackendName[] = "Enable new USB backend";
1026const char kNewUsbBackendDescription[] =
1027 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341028
Sonny Sasaka2d200432018-03-22 17:43:161029const char kNewblueName[] = "Newblue";
1030const char kNewblueDescription[] =
1031 "Enables the use of newblue Bluetooth daemon.";
1032
brettw5f9c1642017-05-14 17:12:481033const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:341034const char kNostatePrefetchDescription[] =
1035 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
1036 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1037 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1038 R"*(similar to disabling the feature, but collects more metrics for )*"
1039 R"*(comparison purposes.)*";
1040
Brett Wilsonecb80982017-07-12 20:34:511041const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1042const char kNotificationsNativeFlagDescription[] =
1043 "Enable support for using the native notification toasts and notification "
1044 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341045
Zentaro Kavanaghbad511c2017-10-18 22:29:001046#if defined(OS_POSIX)
1047const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1048const char kNtlmV2EnabledDescription[] =
1049 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1050#endif
1051
Ramya Nagarajane9f16b82018-05-03 01:05:341052const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1053const char kNtpBackgroundsDescription[] =
1054 "Allow selection of a custom background image on the New Tab Page.";
1055
1056const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1057const char kNtpIconsDescription[] =
1058 "Show custom link icons on the New Tab Page, instead of Most Visited "
1059 "tiles.";
1060
1061const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1062const char kNtpUIMdDescription[] =
1063 "Updates the New Tab Page with Material Design elements.";
1064
Brett Wilsonecb80982017-07-12 20:34:511065const char kNumRasterThreadsName[] = "Number of raster threads";
1066const char kNumRasterThreadsDescription[] =
1067 "Specify the number of raster threads.";
1068const char kNumRasterThreadsOne[] = "1";
1069const char kNumRasterThreadsTwo[] = "2";
1070const char kNumRasterThreadsThree[] = "3";
1071const char kNumRasterThreadsFour[] = "4";
1072
1073const char kOfferStoreUnmaskedWalletCardsName[] =
1074 "Google Payments card saving checkbox";
1075const char kOfferStoreUnmaskedWalletCardsDescription[] =
1076 "Show the checkbox to offer local saving of a credit card downloaded from "
1077 "the server.";
1078
1079const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1080const char kOfflineAutoReloadDescription[] =
1081 "Pages that fail to load while the browser is offline will be "
1082 "auto-reloaded when the browser is online again.";
1083
1084const char kOfflineAutoReloadVisibleOnlyName[] =
1085 "Only Auto-Reload Visible Tabs";
1086const char kOfflineAutoReloadVisibleOnlyDescription[] =
1087 "Pages that fail to load while the browser is offline will only be "
1088 "auto-reloaded if their tab is visible.";
1089
Brett Wilsonecb80982017-07-12 20:34:511090const char kOmniboxDisplayTitleForCurrentUrlName[] =
1091 "Include title for the current URL in the omnibox";
1092const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1093 "In the event that the omnibox provides suggestions on-focus, the URL of "
1094 "the current page is provided as the first suggestion without a title. "
1095 "Enabling this flag causes the title to be displayed.";
1096
Benoit Lizeab08362c2017-07-19 14:50:541097const char kOmniboxSpareRendererName[] =
1098 "Start spare renderer on omnibox focus";
1099const char kOmniboxSpareRendererDescription[] =
1100 "When the omnibox is focused, start an empty spare renderer. This can "
1101 "speed up the load of the navigation from the omnibox.";
1102
Tommy C. Li8875a442017-08-23 00:10:591103const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1104 "Omnibox UI Elide Suggestion URL After Host";
1105const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1106 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1107 "dropdown.";
1108
Tommy C. Lid79d4402017-12-22 22:49:121109const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1110 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1111const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1112 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1113 "displayed URLs. Hidden portions are restored during editing.";
1114
Brett Wilsonecb80982017-07-12 20:34:511115const char kOmniboxUIMaxAutocompleteMatchesName[] =
1116 "Omnibox UI Max Autocomplete Matches";
1117
1118const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1119 "Changes the maximum number of autocomplete matches displayed in the "
1120 "Omnibox UI.";
1121
Justin Donnelly65c9e8b2017-10-01 05:15:011122const char kOmniboxUIShowSuggestionFaviconsName[] =
1123 "Omnibox UI Show Suggestion Favicons";
1124const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1125 "Shows favicons instead of generic vector icons for URL suggestions in the "
1126 "Omnibox dropdown.";
1127
1128const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1129const char kOmniboxUISwapTitleAndUrlDescription[] =
1130 "In the omnibox dropdown, shows titles before URLs when both are "
1131 "available.";
1132
Brett Wilsonecb80982017-07-12 20:34:511133const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1134const char kOmniboxUIVerticalMarginDescription[] =
1135 "Changes the vertical margin in the Omnibox UI.";
1136
Troy Hildebrandtb32637ca2018-02-21 23:25:091137const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1138 "Omnibox Voice Search Always Visible";
1139const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1140 "Always displays voice search icon in focused omnibox as long as voice "
1141 "search is possible";
1142
Brett Wilsonecb80982017-07-12 20:34:511143const char kOriginTrialsName[] = "Origin Trials";
1144const char kOriginTrialsDescription[] =
1145 "Enables origin trials for controlling access to feature/API experiments.";
1146
Becca Hughes930d8cd2017-10-02 11:09:121147const char kOverflowIconsForMediaControlsName[] =
1148 "Icons on Media Controls Overflow Menu";
1149const char kOverflowIconsForMediaControlsDescription[] =
1150 "Displays icons on the overflow menu of the native media controls";
1151
Brett Wilsonecb80982017-07-12 20:34:511152const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1153const char kOverlayScrollbarsDescription[] =
1154 "Enable the experimental overlay scrollbars implementation. You must also "
1155 "enable threaded compositing to have the scrollbars animate.";
1156
chaopenge8aa016b2017-08-24 15:20:191157const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1158 "Flash Overlay Scrollbars After Any Scroll Update";
1159const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1160 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1161 " must also enable Overlay Scrollbars.";
1162
chaopeng343678022017-08-24 18:45:001163const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1164 "Flash Overlay Scrollbars When Mouse Enter";
1165const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1166 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1167 " enable Overlay Scrollbars.";
1168
Claudio Magni81326f92017-09-01 05:21:181169const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1170const char kUseNewAcceptLanguageHeaderDescription[] =
1171 "Adds the base language code after other corresponding language+region "
1172 "codes. This ensures that users receive content in their preferred "
1173 "language.";
1174
Brett Wilsonecb80982017-07-12 20:34:511175const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1176const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481177 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511178const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481179const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511180
1181const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1182const char kOverscrollStartThresholdDescription[] =
1183 "Changes overscroll start threshold relative to the default value.";
1184const char kOverscrollStartThreshold133Percent[] = "133%";
1185const char kOverscrollStartThreshold166Percent[] = "166%";
1186const char kOverscrollStartThreshold200Percent[] = "200%";
1187
chaopenge2b6e5f2018-05-08 16:40:451188const char kTouchpadOverscrollHistoryNavigationName[] =
1189 "Overscroll history navigation on Touchpad";
1190const char kTouchpadOverscrollHistoryNavigationDescription[] =
1191 "Allows swipe left/right from touchpad change browser navigation.";
1192
Xing Liu5400a002017-09-15 21:48:291193const char kParallelDownloadingName[] = "Parallel downloading";
1194const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061195 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291196
Brett Wilsonecb80982017-07-12 20:34:511197const char kPassiveEventListenerDefaultName[] =
1198 "Passive Event Listener Override";
1199const char kPassiveEventListenerDefaultDescription[] =
1200 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1201 "haven't requested otherwise) to be treated as passive. This will break "
1202 "touch/wheel behavior on some websites but is useful for demonstrating the "
1203 "potential performance benefits of adopting passive event listeners.";
1204const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1205const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1206
1207const char kPassiveEventListenersDueToFlingName[] =
1208 "Touch Event Listeners Passive Default During Fling";
1209const char kPassiveEventListenersDueToFlingDescription[] =
1210 "Forces touchstart, and first touchmove per scroll event listeners during "
1211 "fling to be treated as passive.";
1212
1213const char kPassiveDocumentEventListenersName[] =
1214 "Document Level Event Listeners Passive Default";
1215const char kPassiveDocumentEventListenersDescription[] =
1216 "Forces touchstart, and touchmove event listeners on document level "
1217 "targets (which haven't requested otherwise) to be treated as passive.";
1218
1219const char kPasswordForceSavingName[] = "Force-saving of passwords";
1220const char kPasswordForceSavingDescription[] =
1221 "Allow the user to manually enforce password saving instead of relying on "
1222 "password manager's heuristics.";
1223
1224const char kPasswordGenerationName[] = "Password generation";
1225const char kPasswordGenerationDescription[] =
1226 "Allow the user to have Chrome generate passwords when it detects account "
1227 "creation pages.";
1228
Vaclav Brozekd8a3f542017-11-16 14:21:131229const char kPasswordExportName[] = "Password export";
1230const char kPasswordExportDescription[] =
1231 "Export functionality in password settings.";
1232
1233const char kPasswordImportName[] = "Password import";
1234const char kPasswordImportDescription[] =
1235 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511236
Friedrich Horschig03c91982018-01-25 14:21:281237const char kPasswordSearchMobileName[] = "Password search";
1238const char kPasswordSearchMobileDescription[] =
1239 "Search functionality in password settings.";
1240
Friedrich Horschige6c27742018-04-23 17:13:411241const char kPasswordsKeyboardAccessoryName[] =
1242 "Add password-related functions to keyboard accessory";
1243const char kPasswordsKeyboardAccessoryDescription[] =
1244 "Adds password generation button and toggle for the passwords bottom sheet "
1245 "to the keyboard accessory. Replaces password generation popups.";
1246
Tom Sepez92a2cd242018-03-13 19:23:091247const char kPdfIsolationName[] = "PDF Isolation";
1248const char kPdfIsolationDescription[] =
1249 "Render PDF files from different origins in different plugin processes.";
1250
Brett Wilsonecb80982017-07-12 20:34:511251const char kPinchScaleName[] = "Pinch scale";
1252const char kPinchScaleDescription[] =
1253 "Enables experimental support for scale using pinch.";
1254
Doug Arnett620ff542018-02-06 17:54:221255const char kPreviewsAllowedName[] = "Previews Allowed";
1256const char kPreviewsAllowedDescription[] =
1257 "Allows previews to be shown subject to specific preview types being "
1258 "enabled and the client experiencing specific triggering conditions. "
1259 "May be used as a kill-switch to turn off all potential preview types.";
1260
Brett Wilsonecb80982017-07-12 20:34:511261const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1262const char kPrintPdfAsImageDescription[] =
1263 "If enabled, an option to print PDF files as images will be available in "
1264 "print preview.";
1265
1266const char kPrintPreviewRegisterPromosName[] =
1267 "Print Preview Registration Promos";
1268const char kPrintPreviewRegisterPromosDescription[] =
1269 "Enable registering unregistered cloud printers from print preview.";
1270
1271const char kProtectSyncCredentialName[] = "Autofill sync credential";
1272const char kProtectSyncCredentialDescription[] =
1273 "How the password manager handles autofill for the sync credential.";
1274
1275const char kProtectSyncCredentialOnReauthName[] =
1276 "Autofill sync credential only for transactional reauth pages";
1277const char kProtectSyncCredentialOnReauthDescription[] =
1278 "How the password manager handles autofill for the sync credential only "
1279 "for transactional reauth pages.";
1280
Mohsen Izadi93faac12017-07-29 04:45:151281const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1282const char kPullToRefreshDescription[] =
1283 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011284const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151285
Troy Hildebrandt7228ad12018-02-23 21:18:241286const char kQueryInOmniboxName[] = "Query in Omnibox";
1287const char kQueryInOmniboxDescription[] =
1288 "Only display query terms in the omnibox when viewing a search results "
1289 "page.";
1290
Brett Wilsonecb80982017-07-12 20:34:511291const char kQuicName[] = "Experimental QUIC protocol";
1292const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1293
Emily Starke8878d52018-05-11 21:27:261294const char kRecurrentInterstitialName[] =
1295 "Show a message when the same SSL error recurs";
1296const char kRecurrentInterstitialDescription[] =
1297 "Enable a special message on the SSL certificate error page when the same "
1298 "SSL error occurs repeatedly.";
1299
Brett Wilsonecb80982017-07-12 20:34:511300const char kReducedReferrerGranularityName[] =
1301 "Reduce default 'referer' header granularity.";
1302const char kReducedReferrerGranularityDescription[] =
1303 "If a page hasn't set an explicit referrer policy, setting this flag will "
1304 "reduce the amount of information in the 'referer' header for cross-origin "
1305 "requests.";
1306
Claudio Magnie0a80bb2018-01-31 02:52:581307extern const char kRegionalLocalesAsDisplayUIName[] =
1308 "Allow regional locales as display UI";
1309extern const char kRegionalLocalesAsDisplayUIDescription[] =
1310 "This flag allows regional locales to be selected as display UI by the "
1311 "user in Language Settings. The actual locale of the system is derived "
1312 "from the user selection based on some simple fallback logic.";
1313
Christian Dullweber1af31e62018-02-22 11:49:481314const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141315 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481316const char kRemoveNavigationHistoryDescription[] =
1317 "Remove a navigation entry when the corresponding history entry has been "
1318 "deleted.";
1319
Mihai Sardarescu6d0f5b72017-10-30 11:24:381320const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1321 "Remove usage of the deprecated GAIA sign-in endpoint";
1322const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1323 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1324 "This flags controls wheter it should no longer be used during a sign-in "
1325 " flow.";
1326
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351327const char kRendererSideResourceSchedulerName[] =
1328 "Renderer side ResourceScheduler";
1329const char kRendererSideResourceSchedulerDescription[] =
1330 "Migrate some ResourceScheduler functionalities to renderer";
1331
Brett Wilsonecb80982017-07-12 20:34:511332const char kRequestTabletSiteName[] =
1333 "Request tablet site option in the settings menu";
1334const char kRequestTabletSiteDescription[] =
1335 "Allows the user to request tablet site. Web content is often optimized "
1336 "for tablet devices. When this option is selected the user agent string is "
1337 "changed to indicate a tablet device. Web content optimized for tablets is "
1338 "received there after for the current tab.";
1339
1340const char kResetAppListInstallStateName[] =
1341 "Reset the App Launcher install state on every restart.";
1342const char kResetAppListInstallStateDescription[] =
1343 "Reset the App Launcher install state on every restart. While this flag is "
1344 "set, Chrome will forget the launcher has been installed each time it "
1345 "starts. This is used for testing the App Launcher install flow.";
1346
1347const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1348const char kResourceLoadSchedulerDescription[] =
1349 "Uses the resource load scheduler in blink to schedule and throttle "
1350 "resource load requests.";
1351
Brett Wilsonecb80982017-07-12 20:34:511352const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1353const char kSafeSearchUrlReportingDescription[] =
1354 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1355
Alexei Filippov98772752018-01-27 08:26:521356const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1357const char kSamplingHeapProfilerDescription[] =
1358 "Enables native memory sampling profiler with specified rate in KiB. "
1359 "If sampling rate is not provided the default value of 128 KiB is used.";
1360
Brett Wilsonecb80982017-07-12 20:34:511361const char kSaveasMenuLabelExperimentName[] =
1362 "Switch 'Save as' menu labels to 'Download'";
1363const char kSaveasMenuLabelExperimentDescription[] =
1364 "Enables an experiment to switch menu labels that use 'Save as...' to "
1365 "'Download'.";
1366
1367const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1368const char kSavePageAsMhtmlDescription[] =
1369 "Enables saving pages as MHTML: a single text file containing HTML and all "
1370 "sub-resources.";
1371
Nate Chapin9638e7102017-09-20 22:11:011372const char kSavePreviousDocumentResourcesName[] =
1373 "Save Previous Document Resources";
1374const char kSavePreviousDocumentResourcesDescription[] =
1375 "Saves an old document's cached resources until the specified point in the "
1376 "next document's lifecycle.";
1377const char kSavePreviousDocumentResourcesNever[] =
1378 "Don't explicitly save resources";
1379const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1380 "Save resources until onDOMContentLoaded completes";
1381const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1382 "Save resources until onload completes";
1383
Brett Wilsonecb80982017-07-12 20:34:511384const char kScrollPredictionName[] = "Scroll prediction";
1385const char kScrollPredictionDescription[] =
1386 "Predicts the finger's future position during scrolls allowing time to "
1387 "render the frame before the finger is there.";
1388
1389const char kSecondaryUiMd[] =
1390 "Material Design in the rest of the browser's native UI";
1391const char kSecondaryUiMdDescription[] =
1392 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1393 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1394 "browser dialogs.";
1395
1396const char kServiceWorkerNavigationPreloadName[] =
1397 "Service worker navigation preload.";
1398const char kServiceWorkerNavigationPreloadDescription[] =
1399 "Enable web pages to use the experimental service worker navigation "
1400 "preload API.";
1401
gogeraldd5061b592017-09-06 23:39:551402const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1403const char kServiceWorkerPaymentAppsDescription[] =
1404 "Enable Service Worker applications to integrate as payment apps";
1405
Makoto Shimazu22078cc2018-02-21 03:01:441406extern const char kServiceWorkerServicificationName[] =
1407 "Servicified service workers";
1408extern const char kServiceWorkerServicificationDescription[] =
1409 "Enable the servicified service workers. A servicified service worker can "
1410 "have direct connection from its clients, so that fetch events can be "
1411 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171412
Tsuyoshi Horobcb1c642017-11-24 16:32:141413const char kServiceWorkerScriptFullCodeCacheName[] =
1414 "Service worker script full code cache.";
1415const char kServiceWorkerScriptFullCodeCacheDescription[] =
1416 "Generate V8 full code cache of Service Worker scripts while installing.";
1417
Brett Wilsonecb80982017-07-12 20:34:511418const char kSettingsWindowName[] = "Show settings in a window";
1419const char kSettingsWindowDescription[] =
1420 "Settings will be shown in a dedicated window instead of as a browser tab.";
1421
Manu Cornetd7ef7c52018-05-01 22:08:231422const char kShelfHoverPreviewsName[] =
1423 "Show previews of running apps when hovering over the shelf.";
1424const char kShelfHoverPreviewsDescription[] =
1425 "Shows previews of the open windows for a given running app when hovering "
1426 "over the shelf.";
1427
Trent Apted750ba7022017-10-23 13:36:251428const char kShowAllDialogsWithViewsToolkitName[] =
1429 "Show all dialogs with Views toolkit";
1430const char kShowAllDialogsWithViewsToolkitDescription[] =
1431 "All browser dialogs will be shown using the Views toolkit rather than "
1432 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1433
Brett Wilsonecb80982017-07-12 20:34:511434const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1435const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381436 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1437 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511438
1439const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1440const char kShowAutofillTypePredictionsDescription[] =
1441 "Annotates web forms with Autofill field type predictions as placeholder "
1442 "text.";
1443
1444const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1445const char kShowOverdrawFeedbackDescription[] =
1446 "Visualize overdraw by color-coding elements based on if they have other "
1447 "elements drawn underneath.";
1448
Carlos IL89128732018-04-03 17:00:251449const char kSupervisedUserCommittedInterstitialsName[] =
1450 "Enable Supervised User Committed Interstitials";
1451const char kSupervisedUserCommittedInterstitialsDescription[] =
1452 "Use committed error pages instead of transient navigation entries for "
1453 "supervised user interstitials";
1454
yiyixbdfa9a0b2017-10-23 22:21:471455const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1456const char kEnableDrawOcclusionDescription[] =
1457 "Enable the system to use draw occlusion to skip draw quads when they are "
1458 "not shown on the screen.";
1459
Brett Wilsonecb80982017-07-12 20:34:511460const char kShowSavedCopyName[] = "Show Saved Copy Button";
1461const char kShowSavedCopyDescription[] =
1462 "When a page fails to load, if a stale copy of the page exists in the "
1463 "browser cache, a button will be presented to allow the user to load that "
1464 "stale copy. The primary enabling choice puts the button in the most "
1465 "salient position on the error page; the secondary enabling choice puts it "
1466 "secondary to the reload button.";
1467const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1468const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1469const char kDisableShowSavedCopy[] = "Disable";
1470
Brett Wilsonecb80982017-07-12 20:34:511471const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1472const char kSilentDebuggerExtensionApiDescription[] =
1473 "Do not show the infobar when an extension attaches to a page via "
1474 "chrome.debugger API. This is required to debug extension background "
1475 "pages.";
1476
Tsuyoshi Horo53895ba92018-03-14 04:06:481477const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1478const char kSignedHTTPExchangeDescription[] =
1479 "Enables Origin-Signed HTTP Exchanges support which is still in "
1480 "development. Warning: Enabling this may pose a security risk.";
1481
Brett Wilsonecb80982017-07-12 20:34:511482const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1483const char kSimpleCacheBackendDescription[] =
1484 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1485 "disk space allocation.";
1486
Christopher Thompson75ff845d2018-02-01 20:12:461487const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1488const char kSimplifyHttpsIndicatorDescription[] =
1489 "Change the UI treatment for HTTPS pages.";
1490
Brett Wilsonecb80982017-07-12 20:34:511491const char kSingleClickAutofillName[] = "Single-click autofill";
1492const char kSingleClickAutofillDescription[] =
1493 "Make autofill suggestions on initial mouse click on a form element.";
1494
Nick Carter855bc492018-03-10 00:44:571495const char kStrictSiteIsolationName[] = "Strict site isolation";
1496const char kStrictSiteIsolationDescription[] =
1497 "Security mode that enables site isolation for all sites. When enabled, "
1498 "each renderer process will contain pages from at most one site, using "
1499 "out-of-process iframes when needed. When enabled, this flag forces the "
1500 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1501 "isolation mode will be determined by enterprise policy or field trial.";
1502
1503const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1504const char kSiteIsolationTrialOptOutDescription[] =
1505 "Opts out of field trials that enable site isolation modes "
1506 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1507 "may be due to out-of-process iframes. Opt-out has no effect if site "
1508 "isolation is force-enabled via #enable-site-per-process or enterprise "
1509 "policy. Caution: this disables important mitigations for the Spectre CPU "
1510 "vulnerability affecting most computers.";
1511extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1512extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1513 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511514
Pattideade7972018-04-27 02:59:401515const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511516const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401517 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511518
Brett Wilsonecb80982017-07-12 20:34:511519const char kSmoothScrollingName[] = "Smooth Scrolling";
1520const char kSmoothScrollingDescription[] =
1521 "Animate smoothly when scrolling page content.";
1522
1523const char kSoftwareRasterizerName[] = "3D software rasterizer";
1524const char kSoftwareRasterizerDescription[] =
1525 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1526
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201527const char kSoleIntegrationName[] = "Sole integration";
1528const char kSoleIntegrationDescription[] =
1529 "Enable Sole integration for browser customization. You must restart "
1530 "the browser twice for changes to take effect.";
1531
Tommy Steimel77704be2017-08-28 22:14:401532const char kSoundContentSettingName[] = "Sound content setting";
1533const char kSoundContentSettingDescription[] =
1534 "Enable site-wide muting in content settings and tab strip context menu.";
1535
Alexandr Ilinf0500ed32017-09-27 21:12:361536const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1537const char kSpeculativePreconnectDescription[] =
1538 "Enable the new implementation of preconnect and DNS preresolve. "
1539 "\"Learning\" means that only database construction is enabled, "
1540 "\"Preconnect\" enables both learning and preconnect and disables the "
1541 "existing implementation. \"No preconnect\" disables both implementations.";
1542
Brett Wilsonecb80982017-07-12 20:34:511543const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341544const char kSpeculativePrefetchDescription[] =
1545 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1546 R"*(load times, based on a local database (see chrome://predictors). )*"
1547 R"*("Learning" means that only the database construction is enabled, )*"
1548 R"*("Prefetching" that learning and prefetching are enabled.)*";
1549
Justin Donnelly4e448cb2017-07-07 21:32:131550const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1551 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131552const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1553 "If enabled, when the user enters text in the omnibox that looks like a "
1554 "a query, any service worker associated with the search engine the query "
1555 "will be sent to is started early.";
1556
Brett Wilsonecb80982017-07-12 20:34:511557const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1558const char kSpellingFeedbackFieldTrialDescription[] =
1559 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401560
Shubhie Panickerfaf082ed2018-01-03 04:49:151561const char kStopInBackgroundName[] = "Stop in background";
1562const char kStopInBackgroundDescription[] =
1563 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281564 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151565
1566const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1567const char kStopLoadingInBackgroundDescription[] =
1568 "Stop loading tasks and loading "
1569 "resources, in the background, after certain grace time.";
1570
Shubhie Panicker56c99a22018-03-21 00:22:281571const char kStopNonTimersInBackgroundName[] =
1572 "Stop non-timer task queues background";
1573const char kStopNonTimersInBackgroundDescription[] =
1574 "Stop non-timer task queues, in the background, "
1575 "after a grace period.";
1576
Brett Wilsonecb80982017-07-12 20:34:511577const char kSuggestionsWithSubStringMatchName[] =
1578 "Substring matching for Autofill suggestions";
1579const char kSuggestionsWithSubStringMatchDescription[] =
1580 "Match Autofill suggestions based on substrings (token prefixes) rather "
1581 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341582
Brett Wilsonecb80982017-07-12 20:34:511583const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1584const char kSyncSandboxDescription[] =
1585 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341586
Joe Downing8cbbc192018-05-14 17:37:071587const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1588const char kSystemKeyboardLockDescription[] =
1589 "Enables websites to use the keyboard.lock() API to intercept system "
1590 "keyboard shortcuts and have the events routed directly to the website "
1591 "when in fullscreen mode.";
1592
Brett Wilsonecb80982017-07-12 20:34:511593const char kTabAudioMutingName[] = "Tab audio muting UI control";
1594const char kTabAudioMutingDescription[] =
1595 "When enabled, the audio indicators in the tab strip double as tab audio "
1596 "mute controls. This also adds commands in the tab context menu for "
1597 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341598
Christian Dullweberd0d96f02017-09-13 09:22:511599const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1600const char kTabsInCbdDescription[] =
1601 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1602
Becky Zhou99c22802017-10-19 05:09:271603const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1604const char kTabModalJsDialogDescription[] =
1605 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1606 " tab.";
1607
Brett Wilsonecb80982017-07-12 20:34:511608const char kTcpFastOpenName[] = "TCP Fast Open";
1609const char kTcpFastOpenDescription[] =
1610 "Enable the option to send extra authentication information in the initial "
1611 "SYN packet for a previously connected client, allowing faster data send "
1612 "start.";
vabr0215a8e2017-03-28 12:47:341613
Daniele Castagna0fead93e2018-01-10 20:40:291614const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1615const char kTintGlCompositedContentDescription[] =
1616 "Tint contents composited using GL with a shade of red to help debug and "
1617 "study overlay support.";
1618
Brett Wilsonecb80982017-07-12 20:34:511619const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1620const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581621 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401622 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431623 "- new unified interface for touch and convertibles (Chrome OS), 4) "
1624 "Material Design refresh and 5) Touchable Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511625const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531626const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461627const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581628const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401629const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431630const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341631
Brett Wilsonecb80982017-07-12 20:34:511632const char kThreadedScrollingName[] = "Threaded scrolling";
1633const char kThreadedScrollingDescription[] =
1634 "Threaded handling of scroll-related input events. Disabling this will "
1635 "force all such scroll events to be handled on the main thread. Note that "
1636 "this can dramatically hurt scrolling performance of most websites and is "
1637 "intended for testing purposes only.";
1638
Steven Valdez4584b2482017-07-14 01:11:571639const char kTLS13VariantName[] = "TLS 1.3";
1640const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1641const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111642const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041643const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571644
Brett Wilsonecb80982017-07-12 20:34:511645const char kTopDocumentIsolationName[] = "Top document isolation";
1646const char kTopDocumentIsolationDescription[] =
1647 "Highly experimental performance mode where cross-site iframes are kept in "
1648 "a separate process from the top document. In this mode, iframes from "
1649 "different third-party sites will be allowed to share a process.";
1650
Dominick Ng8896b1cd2017-10-17 23:24:361651const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1652const char kTopSitesFromSiteEngagementDescription[] =
1653 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1654 "engagement.";
1655
Brett Wilsonecb80982017-07-12 20:34:511656const char kTouchAdjustmentName[] = "Touch adjustment";
1657const char kTouchAdjustmentDescription[] =
1658 "Refine the position of a touch gesture in order to compensate for touches "
1659 "having poor resolution compared to a mouse.";
1660
Alex Newcomerb3d3c972018-05-03 14:59:401661const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1662const char kTouchableAppContextMenuDescription[] =
1663 "Enable the touchable app context menu, which enlarges app context menus "
1664 "in the Launcher and Shelf to make room for new features.";
1665
Brett Wilsonecb80982017-07-12 20:34:511666const char kTouchDragDropName[] = "Touch initiated drag and drop";
1667const char kTouchDragDropDescription[] =
1668 "Touch drag and drop can be initiated through long press on a draggable "
1669 "element.";
1670
1671const char kTouchEventsName[] = "Touch Events API";
1672const char kTouchEventsDescription[] =
1673 "Force Touch Events API feature detection to always be enabled or "
1674 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291675 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511676
1677const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1678const char kTouchSelectionStrategyDescription[] =
1679 "Controls how text selection granularity changes when touch text selection "
1680 "handles are dragged. Non-default behavior is experimental.";
1681const char kTouchSelectionStrategyCharacter[] = "Character";
1682const char kTouchSelectionStrategyDirection[] = "Direction";
1683
1684const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1685const char kTraceUploadUrlDescription[] =
1686 "This is to be used in conjunction with the enable-navigation-tracing "
1687 "flag. Please select the label that best describes the recorded traces. "
1688 "This will choose the destination the traces are uploaded to. If you are "
1689 "not sure, select other. If left empty, no traces will be uploaded.";
1690const char kTraceUploadUrlChoiceOther[] = "Other";
1691const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1692const char kTraceUploadUrlChoiceQa[] = "QA";
1693const char kTraceUploadUrlChoiceTesting[] = "Testing";
1694
Philippe Hamel7fdaa452017-09-29 17:22:491695const char kTranslateRankerEnforcementName[] =
1696 "Enforce TranslateRanker decisions";
1697const char kTranslateRankerEnforcementDescription[] =
1698 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1699 "or not Translate UI should be triggered in a given context.";
1700
Brett Wilsonecb80982017-07-12 20:34:511701const char kTrySupportedChannelLayoutsName[] =
1702 "Causes audio output streams to check if channel layouts other than the "
1703 "default hardware layout are available.";
1704const char kTrySupportedChannelLayoutsDescription[] =
1705 "Causes audio output streams to check if channel layouts other than the "
1706 "default hardware layout are available. Turning this on will allow the OS "
1707 "to do stereo to surround expansion if supported. May expose third party "
1708 "driver bugs, use with caution.";
1709
David Roger6762a092018-01-31 15:55:071710const char kUnifiedConsentName[] = "Unified Consent";
1711const char kUnifiedConsentDescription[] =
1712 "Enables a unified management of user consent for privacy-related "
1713 "features. This includes new confirmation screens and improved settings "
1714 "pages.";
1715
Brett Wilsonecb80982017-07-12 20:34:511716const char kUiPartialSwapName[] = "Partial swap";
1717const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1718
Chris Pickel3a227ae62017-08-24 10:47:261719const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1720const char kUseDdljsonApiDescription[] =
1721 "Enables the new ddljson API to fetch Doodles for the NTP.";
1722
Becca Hughes59c05b42017-11-03 13:11:581723const char kUseModernMediaControlsName[] = "New Media Controls";
1724const char kUseModernMediaControlsDescription[] =
1725 "Enables the new style native media controls.";
1726
Wei Li790e7a8572018-03-23 01:31:551727const char kUsePdfCompositorServiceName[] =
1728 "Use PDF compositor service for printing";
1729const char kUsePdfCompositorServiceDescription[] =
1730 "When enabled, use PDF compositor service to composite and generate PDF "
1731 "files for printing. When site isolation is enabled, disabling this will "
1732 "not stop using PDF compositor service since the service is required for "
1733 "printing out-of-process iframes correctly.";
1734
Mustaq Ahmedc646c0a2017-10-20 20:08:301735const char kUserActivationV2Name[] = "User Activation v2";
1736const char kUserActivationV2Description[] =
1737 "Enable simple user activation for APIs that are otherwise controlled by "
1738 "user gesture tokens.";
1739
Brett Wilsonecb80982017-07-12 20:34:511740const char kUserConsentForExtensionScriptsName[] =
1741 "User consent for extension scripts";
1742const char kUserConsentForExtensionScriptsDescription[] =
1743 "Require user consent for an extension running a script on the page, if "
1744 "the extension requested permission to run on all urls.";
1745
1746const char kUseSuggestionsEvenIfFewFeatureName[] =
1747 "Disable minimum for server-side tile suggestions on NTP.";
1748const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1749 "Request server-side suggestions even if there are only very few of them "
1750 "and use them for tiles on the New Tab Page.";
1751
1752const char kV8CacheOptionsName[] = "V8 caching mode.";
1753const char kV8CacheOptionsDescription[] =
1754 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511755const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1756
Hitoshi Yoshida3e5db562017-09-11 02:31:081757const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1758const char kV8ContextSnapshotDescription[] =
1759 "Sets to use a snapshot to create V8 contexts in frame creation.";
1760
Michael Hablich896d52662017-10-23 15:59:571761const char kV8VmFutureName[] = "Future V8 VM features";
1762const char kV8VmFutureDescription[] =
1763 "This enables upcoming and experimental V8 VM features. "
1764 "This flag does not enable experimental JavaScript features.";
1765
Brett Wilsonecb80982017-07-12 20:34:511766const char kVideoFullscreenOrientationLockName[] =
1767 "Lock screen orientation when playing a video fullscreen.";
1768const char kVideoFullscreenOrientationLockDescription[] =
1769 "Lock the screen orientation of the device to match video orientation when "
1770 "a video goes fullscreen. Only on phones.";
1771
1772const char kVideoRotateToFullscreenName[] =
1773 "Rotate-to-fullscreen gesture for videos.";
1774const char kVideoRotateToFullscreenDescription[] =
1775 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1776 "the video. Only on phones.";
1777
Elly Fong-Jonesf4c79502018-03-23 19:21:531778const char kViewsBrowserWindowsName[] =
1779 "Use Views browser windows instead of Cocoa.";
1780const char kViewsBrowserWindowsDescription[] =
1781 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1782
Brett Wilsonecb80982017-07-12 20:34:511783const char kWalletServiceUseSandboxName[] =
1784 "Use Google Payments sandbox servers";
1785const char kWalletServiceUseSandboxDescription[] =
1786 "For developers: use the sandbox service for Google Payments API calls.";
1787
Brett Wilsonecb80982017-07-12 20:34:511788const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1789const char kWebglDraftExtensionsDescription[] =
1790 "Enabling this option allows web applications to access the WebGL "
1791 "Extensions that are still in draft status.";
1792
1793const char kWebMidiName[] = "Web MIDI API";
1794const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1795
1796const char kWebPaymentsName[] = "Web Payments";
1797const char kWebPaymentsDescription[] =
1798 "Enable Web Payments API integration, a JavaScript API for merchants.";
1799
Mathieu Perreault51339b82017-07-20 17:06:051800const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1801const char kWebPaymentsModifiersDescription[] =
1802 "If the website provides modifiers in the payment request, show the custom "
1803 "total for each payment instrument, update the shopping cart when "
1804 "instruments are switched, and send modified payment method specific data "
1805 "to the payment app.";
1806
Brett Wilsonecb80982017-07-12 20:34:511807const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1808const char kWebrtcEchoCanceller3Description[] =
1809 "Experimental WebRTC echo canceller (AEC3).";
1810
1811const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1812const char kWebrtcHwDecodingDescription[] =
1813 "Support in WebRTC for decoding video streams using platform hardware.";
1814
1815const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1816const char kWebrtcHwEncodingDescription[] =
1817 "Support in WebRTC for encoding video streams using platform hardware.";
1818
1819const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1820const char kWebrtcHwH264EncodingDescription[] =
1821 "Support in WebRTC for encoding h264 video streams using platform "
1822 "hardware.";
1823
1824const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1825const char kWebrtcHwVP8EncodingDescription[] =
1826 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1827
Niels Möller090866a2018-02-13 10:55:031828const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1829 "WebRTC new encode cpu load estimator";
1830const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1831 "Enable new estimator for the encoder cpu load, for evaluation and "
1832 "testing. Intended to improve accuracy when screen casting.";
1833
Brett Wilsonecb80982017-07-12 20:34:511834const char kWebrtcSrtpAesGcmName[] =
1835 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1836const char kWebrtcSrtpAesGcmDescription[] =
1837 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1838
Joachim Bauch4a41d7512017-08-23 14:24:231839const char kWebrtcSrtpEncryptedHeadersName[] =
1840 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1841const char kWebrtcSrtpEncryptedHeadersDescription[] =
1842 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1843 "for SRTP.";
1844
Brett Wilsonecb80982017-07-12 20:34:511845const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1846const char kWebrtcStunOriginDescription[] =
1847 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1848 "header.";
1849
1850const char kWebvrName[] = "WebVR";
1851const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011852 "Enables access to experimental Virtual Reality functionality via the "
1853 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1854 "Device API. Warning: Enabling this will also allow WebVR content on "
1855 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221856 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511857
Brandon Jonese9d9b2b2017-12-11 22:20:111858const char kWebXrName[] = "WebXR Device API";
1859const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011860 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1861 "and Augmented Reality (AR) devices.";
1862
1863const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1864const char kWebXrGamepadSupportDescription[] =
1865 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221866 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1867 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431868
1869const char kWebXrHitTestName[] = "WebXR Hit Test";
1870const char kWebXrHitTestDescription[] =
1871 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111872
Anna Maria57ecf7592018-01-12 03:10:401873const char kWebXrOrientationSensorDeviceName[] =
1874 "WebXR orientation sensor device";
1875const char kWebXrOrientationSensorDeviceDescription[] =
1876 "When no VR platform device is available, expose a non-presenting device "
1877 "based on the device's orientation sensors, if available.";
1878
Brett Wilsonecb80982017-07-12 20:34:511879const char kWifiCredentialSyncName[] = "WiFi credential sync";
1880const char kWifiCredentialSyncDescription[] =
1881 "Enables synchronizing WiFi network settings across devices. When enabled, "
1882 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1883 "credentials are synchronized subject to user preferences. (See also, "
1884 "chrome://settings/syncSetup.)";
1885
1886const char kZeroCopyName[] = "Zero-copy rasterizer";
1887const char kZeroCopyDescription[] =
1888 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341889
Brett Wilsonff596952017-07-14 01:06:551890// Android ---------------------------------------------------------------------
1891
1892#if defined(OS_ANDROID)
1893
1894const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1895const char kAiaFetchingDescription[] =
1896 "Enable intermediate certificate fetching when a server does not provide "
1897 "sufficient certificates to build a chain to a trusted root.";
1898
1899const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1900const char kAccessibilityTabSwitcherDescription[] =
1901 "Enable the accessibility tab switcher for Android.";
1902
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251903const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1904const char kAllowReaderForAccessibilityDescription[] =
1905 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1906
Brett Wilsonff596952017-07-14 01:06:551907const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1908const char kAndroidAutofillAccessibilityDescription[] =
1909 "Enable accessibility for autofill popup.";
1910
1911const char kAndroidPaymentAppsName[] = "Android payment apps";
1912const char kAndroidPaymentAppsDescription[] =
1913 "Enable third party Android apps to integrate as payment apps";
1914
Miriam Gershenson8cf1397222018-01-23 22:48:291915const char kAsyncDnsName[] = "Async DNS resolver";
1916const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1917
Brett Wilsonff596952017-07-14 01:06:551918const char kAutofillAccessoryViewName[] =
1919 "Autofill suggestions as keyboard accessory view";
1920const char kAutofillAccessoryViewDescription[] =
1921 "Shows Autofill suggestions on top of the keyboard rather than in a "
1922 "dropdown.";
1923
1924const char kBackgroundLoaderForDownloadsName[] =
1925 "Enables background downloading of pages.";
1926const char kBackgroundLoaderForDownloadsDescription[] =
1927 "Enables downloading pages in the background in case page is not yet "
1928 "loaded in current tab.";
1929
Matthew Jones6c1f5e22018-02-06 18:19:531930const char kChromeDuplexName[] = "Chrome Duplex";
1931const char kChromeDuplexDescription[] =
1932 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051933
Brett Wilsonff596952017-07-14 01:06:551934const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1935const char kChromeHomeSwipeLogicDescription[] =
1936 "Various swipe logic options for Chrome Home for sheet expansion.";
1937const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151938const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551939
Matthew Jones5b7f1d62018-01-23 00:37:251940const char kChromeModernDesignName[] = "Chrome Modern Design";
1941const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451942 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1943 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251944
Megan Jablonskic61eb1b82017-10-02 18:03:061945const char kChromeMemexName[] = "Chrome Memex";
1946const char kChromeMemexDescription[] =
1947 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1948 "Googlers.";
1949
Sarath Singapati83aef1c2017-11-16 15:54:521950const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1951const char kClearOldBrowsingDataDescription[] =
1952 "Enables clearing of browsing data which is older than a given time "
1953 "period.";
1954
Brett Wilsonff596952017-07-14 01:06:551955const char kContentSuggestionsCategoryOrderName[] =
1956 "Default content suggestions category order (e.g. on NTP)";
1957const char kContentSuggestionsCategoryOrderDescription[] =
1958 "Set default order of content suggestion categories (e.g. on the NTP).";
1959
1960const char kContentSuggestionsCategoryRankerName[] =
1961 "Content suggestions category ranker (e.g. on NTP)";
1962const char kContentSuggestionsCategoryRankerDescription[] =
1963 "Set category ranker to order categories of content suggestions (e.g. on "
1964 "the NTP).";
1965
Vitalii Iarkof52ff802017-09-14 12:34:241966const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1967const char kContentSuggestionsDebugLogDescription[] =
1968 "Enable content suggestions debug log accessible through "
1969 "snippets-internals.";
1970
Donn Denman8e58ead2017-11-04 01:44:011971const char kContextualSearchMlTapSuppressionName[] =
1972 "Contextual Search ML tap suppression";
1973const char kContextualSearchMlTapSuppressionDescription[] =
1974 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021975 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1976 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551977
1978const char kContextualSearchName[] = "Contextual Search";
1979const char kContextualSearchDescription[] =
1980 "Whether or not Contextual Search is enabled.";
1981
Donn Denman59729812018-01-09 01:27:021982const char kContextualSearchRankerQueryName[] =
1983 "Contextual Search Ranker prediction";
1984const char kContextualSearchRankerQueryDescription[] =
1985 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1986
1987const char kContextualSearchSecondTapName[] =
1988 "Contextual Search second tap triggering";
1989const char kContextualSearchSecondTapDescription[] =
1990 "Enables triggering on a second tap gesture even when Ranker would "
1991 "normally suppress that tap.";
1992
Dmitry Skiba9c3efa72017-07-20 22:01:141993const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1994const char kDontPrefetchLibrariesDescription[] =
1995 "Don't prefetch libraries after loading.";
1996
Joy Ming5fd29ca62017-10-02 22:51:221997const char kDownloadsForegroundName[] = "Enable downloads foreground";
1998const char kDownloadsForegroundDescription[] =
1999 "Enable downloads as a foreground service for all versions of Android.";
2000
Joy Ming189b0cc2017-12-08 19:42:432001const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2002const char kDownloadsLocationChangeDescription[] =
2003 "Enable changing default downloads storage location on Android.";
2004
Brett Wilsonff596952017-07-14 01:06:552005const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2006const char kEnableAndroidPayIntegrationV1Description[] =
2007 "Enable integration with Android Pay using the first version of the API";
2008
2009const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2010const char kEnableAndroidPayIntegrationV2Description[] =
2011 "Enable integration with Android Pay using the second version of the API";
2012
Vitalii Iarkof4ed32d2017-09-26 13:15:532013const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552014const char kEnableAndroidSpellcheckerDescription[] =
2015 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552016
Lei Tianbd5a3bf2018-02-28 19:01:162017const char kEnableCommandLineOnNonRootedName[] =
2018 "Enable command line on non-rooted devices";
2019const char kEnableCommandLineOnNoRootedDescription[] =
2020 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2021
Vitalii Iarkof4ed32d2017-09-26 13:15:532022const char kEnableContentSuggestionsNewFaviconServerName[] =
2023 "Get favicons for content suggestions from a new server.";
2024const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2025 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2026 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552027
2028const char kEnableContentSuggestionsSettingsName[] =
2029 "Show content suggestions settings.";
2030const char kEnableContentSuggestionsSettingsDescription[] =
2031 "If enabled, the content suggestions settings will be available from the "
2032 "main settings menu.";
2033
Vitalii Iarkof4ed32d2017-09-26 13:15:532034const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2035 "Use content suggestions thumbnail dominant color.";
2036const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2037 "Use content suggestions thumbnail dominant color as a placeholder before "
2038 "the real thumbnail is fetched (requires Chrome Home).";
2039
Brett Wilsonff596952017-07-14 01:06:552040const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2041const char kEnableCustomContextMenuDescription[] =
2042 "Enables a new context menu when a link, image, or video is pressed within "
2043 "Chrome.";
2044
2045const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2046const char kEnableCustomFeedbackUiDescription[] =
2047 "Enables a custom feedback UI when submitting feedback through Google "
2048 "Feedback. Works with Google Play Services v10.2+";
2049
2050const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472051 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552052const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472053 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552054
Brett Wilsonff596952017-07-14 01:06:552055const char kEnableOmniboxClipboardProviderName[] =
2056 "Omnibox clipboard URL suggestions";
2057const char kEnableOmniboxClipboardProviderDescription[] =
2058 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2059 "focus in the omnibox.";
2060
2061const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2062 "Use expanded autofill credit card popup layout.";
2063const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2064 "If enabled, displays autofill credit card popup using expanded layout.";
2065
Becky Zhoua7f11d62018-02-01 16:02:532066const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2067 "Show article suggestions expandable header on New Tab Page";
2068const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2069 "If enabled, the article suggestions content on New Tab Page can be "
2070 "toggled shown or hidden by clicking the expandable header.";
2071
Brett Wilsonff596952017-07-14 01:06:552072const char kEnableNtpAssetDownloadSuggestionsName[] =
2073 "Show asset downloads on the New Tab page";
2074const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2075 "If enabled, the list of content suggestions on the New Tab page will "
2076 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2077 "later use.";
2078
2079const char kEnableNtpBookmarkSuggestionsName[] =
2080 "Show recently visited bookmarks on the New Tab page";
2081const char kEnableNtpBookmarkSuggestionsDescription[] =
2082 "If enabled, the list of content suggestions on the New Tab page will "
2083 "contain recently visited bookmarks.";
2084
2085const char kEnableNtpForeignSessionsSuggestionsName[] =
2086 "Show recent foreign tabs on the New Tab page";
2087const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2088 "If enabled, the list of content suggestions on the New Tab page will "
2089 "contain recent foreign tabs.";
2090
Brett Wilsonff596952017-07-14 01:06:552091const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2092 "Show offline page downloads on the New Tab page";
2093const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2094 "If enabled, the list of content suggestions on the New Tab page will "
2095 "contain pages that the user downloaded for later use.";
2096
2097const char kEnableNtpRemoteSuggestionsName[] =
2098 "Show server-side suggestions on the New Tab page";
2099const char kEnableNtpRemoteSuggestionsDescription[] =
2100 "If enabled, the list of content suggestions on the New Tab page will "
2101 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2102 "allows to override the source used to retrieve these server-side "
2103 "suggestions.";
2104
2105const char kEnableNtpSnippetsVisibilityName[] =
2106 "Make New Tab Page Snippets more visible.";
2107const char kEnableNtpSnippetsVisibilityDescription[] =
2108 "If enabled, the NTP snippets will become more discoverable with a larger "
2109 "portion of the first card above the fold.";
2110
2111const char kEnableNtpSuggestionsNotificationsName[] =
2112 "Notify about new content suggestions available at the New Tab page";
2113const char kEnableNtpSuggestionsNotificationsDescription[] =
2114 "If enabled, notifications will inform about new content suggestions on "
2115 "the New Tab page.";
2116
Brett Wilsonff596952017-07-14 01:06:552117const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2118const char kEnableOfflinePreviewsDescription[] =
2119 "Enable showing offline page previews on slow networks.";
2120
2121const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2122const char kEnableOskOverscrollDescription[] =
2123 "Enable OSK overscroll support. With this flag on, the OSK will only "
2124 "resize the visual viewport.";
2125
2126const char kEnableSpecialLocaleName[] =
2127 "Enable custom logic for special locales.";
2128const char kEnableSpecialLocaleDescription[] =
2129 "Enable custom logic for special locales. In this mode, Chrome might "
2130 "behave differently in some locales.";
2131
Brett Wilsonff596952017-07-14 01:06:552132const char kEnableWebNfcName[] = "WebNFC";
2133const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2134
gogeraldf3cbb422017-07-26 14:37:122135const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2136 "Enable Web Payments method section order V2.";
2137const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2138 "Enable this option to display payment method section above address "
2139 "section instead of below it.";
2140
Raymes Khoury582b43132017-12-12 23:54:302141const char kGrantNotificationsToDSEName[] =
2142 "Grant notifications to the Default Search Engine";
2143const char kGrantNotificationsToDSENameDescription[] =
2144 "Automatically grant the notifications permission to the Default Search "
2145 "Engine";
2146
Daniel Parke74fcf862018-03-27 18:05:452147const char kHomePageButtonName[] = "Force Enable Home Page Button";
2148const char kHomePageButtonDescription[] =
2149 "Displays a home button if enabled. "
2150 "Chrome must be restarted twice for this flag to take effect.";
2151
Theresa920e0ed2018-03-07 18:12:442152const char kInterestFeedContentSuggestionsDescription[] =
2153 "Use the interest feed to render content suggestions. Currently content "
2154 "suggestions are shown on the New Tab Page.";
2155const char kInterestFeedContentSuggestionsName[] =
2156 "Interest Feed Content Suggestions";
2157
Brett Wilsonff596952017-07-14 01:06:552158const char kKeepPrefetchedContentSuggestionsName[] =
2159 "Keep prefetched content suggestions";
2160const char kKeepPrefetchedContentSuggestionsDescription[] =
2161 "If enabled, some of prefetched content suggestions are not replaced by "
2162 "the new fetched suggestions.";
2163
Leo Zhang051b75482017-12-20 03:28:302164const char kLanguagesPreferenceName[] = "Language Settings";
2165const char kLanguagesPreferenceDescription[] =
2166 "Enable this option for Language Settings feature on Android.";
2167
Brett Wilsonff596952017-07-14 01:06:552168const char kLsdPermissionPromptName[] =
2169 "Location Settings Dialog Permission Prompt";
2170const char kLsdPermissionPromptDescription[] =
2171 "Whether to use the Google Play Services Location Settings Dialog "
2172 "permission dialog.";
2173
Amirhossein Simjour97b4154f2018-02-20 03:49:592174const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2175const char kModalPermissionDialogViewDescription[] =
2176 "Enable this option to use ModalDialogManager for permission Dialogs.";
2177
Brett Wilsonff596952017-07-14 01:06:552178const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2179const char kMediaScreenCaptureDescription[] =
2180 "Enable this option for experimental ScreenCapture feature on Android.";
2181
2182const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2183const char kModalPermissionPromptsDescription[] =
2184 "Whether to use permission dialogs in place of permission infobars.";
2185
Brett Wilsonff596952017-07-14 01:06:552186const char kNewPhotoPickerName[] = "Enable new Photopicker";
2187const char kNewPhotoPickerDescription[] =
2188 "Activates the new picker for selecting photos.";
2189
2190const char kNoCreditCardAbort[] = "No Credit Card Abort";
2191const char kNoCreditCardAbortDescription[] =
2192 "Whether or not the No Credit Card Abort is enabled.";
2193
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062194const char kNtpModernLayoutName[] = "Modern NTP layout";
2195const char kNtpModernLayoutDescription[] =
2196 "Show a modern layout on the New Tab Page.";
2197
Brett Wilsonff596952017-07-14 01:06:552198const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2199const char kNtpGoogleGInOmniboxDescription[] =
2200 "Show a Google G in the omnibox on the New Tab Page.";
2201
Brett Wilsonff596952017-07-14 01:06:552202const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2203const char kOfflineBookmarksDescription[] =
2204 "Enable saving bookmarked pages for offline viewing.";
2205
Brett Wilsonff596952017-07-14 01:06:552206const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2207const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2208
2209const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2210const char kOfflinePagesCtV2Description[] =
2211 "V2 features include attributing pages to the app that initiated the "
2212 "custom tabs, and being able to query for pages by page attribution.";
2213
Cathy Li7311d792018-04-05 00:34:162214const char kOfflinePagesCTSuppressNotificationsName[] =
2215 "Disable download complete notification for whitelisted CCT apps.";
2216const char kOfflinePagesCTSuppressNotificationsDescription[] =
2217 "Disable download complete notification for page downloads originating "
2218 "from a CCT app whitelisted to show their own download complete "
2219 "notification.";
2220
Candice Sy74fa7a352018-03-30 23:46:492221const char kOfflinePagesDescriptiveFailStatusName[] =
2222 "Enables descriptive failed download status text.";
2223const char kOfflinePagesDescriptiveFailStatusDescription[] =
2224 "Enables failed download status text in notifications and Downloads Home "
2225 "to state the reason the request failed if the failure is actionable.";
2226
2227const char kOfflinePagesDescriptivePendingStatusName[] =
2228 "Enables descriptive pending download status text.";
2229const char kOfflinePagesDescriptivePendingStatusDescription[] =
2230 "Enables pending download status text in notifications and Downloads Home "
2231 "to state the reason the request is pending.";
2232
2233const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2234 "Enables offline pages in the downloads home to be opened in CCT.";
2235const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2236 "When enabled offline pages launched from the Downloads Home will be "
2237 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2238
Carlos Knippschild09272ecd2017-12-09 03:29:362239const char kOfflinePagesLimitlessPrefetchingName[] =
2240 "Removes resource usage limits for the prefetching of offline pages.";
2241const char kOfflinePagesLimitlessPrefetchingDescription[] =
2242 "Allows the prefetching of suggested offline pages to ignore resource "
2243 "usage limits. This allows it to completely ignore data usage limitations "
2244 "and allows downloads to happen with any kind of connection.";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kOfflinePagesLoadSignalCollectingName[] =
2247 "Enables collecting load timing data for offline page snapshots.";
2248const char kOfflinePagesLoadSignalCollectingDescription[] =
2249 "Enables loading completeness data collection while writing an offline "
2250 "page. This data is collected in the snapshotted offline page to allow "
2251 "data analysis to improve deciding when to make the offline snapshot.";
2252
2253const char kOfflinePagesPrefetchingName[] =
2254 "Enables suggested offline pages to be prefetched.";
2255const char kOfflinePagesPrefetchingDescription[] =
2256 "Enables suggested offline pages to be prefetched, so useful content is "
2257 "available while offline.";
2258
Cathy Li3d5379e2017-09-07 00:11:092259const char kOfflinePagesPrefetchingUIName[] =
2260 "Enables prefetched offline pages to be shown in UI.";
2261const char kOfflinePagesPrefetchingUIDescription[] =
2262 "Enables prefetched offline pages to raise notifications and be shown in "
2263 "download home UI.";
2264
Pete Williamson7845dff2017-09-20 11:06:192265const char kOfflinePagesResourceBasedSnapshotName[] =
2266 "Enables offline page snapshots to be based on percentage of page loaded.";
2267const char kOfflinePagesResourceBasedSnapshotDescription[] =
2268 "Enables offline page snapshots to use a resource percentage based "
2269 "approach for determining when the page is loaded as opposed to a time "
2270 "based approach";
2271
Collin Baker17f92a52017-07-19 21:41:252272const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2273const char kOfflinePagesRenovationsDescription[] =
2274 "Enables offline page renovations which correct issues with dynamic "
2275 "content that occur when offlining pages that use JavaScript.";
2276
Brett Wilsonff596952017-07-14 01:06:552277const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2278const char kOfflinePagesSharingDescription[] =
2279 "Enables the saved offline pages to be shared via other applications.";
2280
Cathy Lie0d88762018-04-12 08:03:012281const char kOfflinePagesShowAlternateDinoPageName[] =
2282 "Enable alternate dino page with more user capabilities.";
2283const char kOfflinePagesShowAlternateDinoPageDescription[] =
2284 "Enables the dino page to show more buttons and offer existing offline "
2285 "content.";
2286
Brett Wilsonff596952017-07-14 01:06:552287const char kOfflinePagesSvelteConcurrentLoadingName[] =
2288 "Enables concurrent background loading on svelte.";
2289const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2290 "Enables concurrent background loading (or downloading) of pages on "
2291 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2292 "happen when the svelte device is idle.";
2293
2294const char kOffliningRecentPagesName[] =
2295 "Enable offlining of recently visited pages";
2296const char kOffliningRecentPagesDescription[] =
2297 "Enable storing recently visited pages locally for offline use. Requires "
2298 "Offline Pages to be enabled.";
2299
Lei Zhang2eca9082017-10-17 20:42:502300const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2301const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552302 "Enable Pay with Google integration into Web Payments with API version "
2303 "'1'.";
2304
Matthew Jonesa88b95852017-11-08 23:13:502305const char kProgressBarThrottleName[] = "Android progress update throttling.";
2306const char kProgressBarThrottleDescription[] =
2307 "Limit the maximum progress update to make progress appear smoother.";
2308
Brett Wilsonff596952017-07-14 01:06:552309const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2310const char kPullToRefreshEffectDescription[] =
2311 "Page reloads triggered by vertically overscrolling content.";
2312
Piotr Swigon7c296ef2017-08-29 04:32:002313const char kPwaImprovedSplashScreenName[] =
2314 "Improved Splash Screen for standalone PWAs";
2315const char kPwaImprovedSplashScreenDescription[] =
2316 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2317 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492318const char kPwaPersistentNotificationName[] =
2319 "Persistent notification in standalone PWA";
2320const char kPwaPersistentNotificationDescription[] =
2321 "Enables a persistent Android notification for standalone PWAs";
2322
Brett Wilsonff596952017-07-14 01:06:552323const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2324const char kReaderModeHeuristicsDescription[] =
2325 "Determines what pages the Reader Mode infobar is shown on.";
2326const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2327const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2328const char kReaderModeHeuristicsAllArticles[] = "All articles";
2329const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2330const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2331
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182332const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2333const char kReaderModeInCCTDescription[] =
2334 "Open Reader Mode in Chrome Custom Tabs.";
2335
Brett Wilsonff596952017-07-14 01:06:552336const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2337const char kSetMarketUrlForTestingDescription[] =
2338 "When enabled, sets the market URL for use in testing the update menu "
2339 "item.";
2340
2341const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2342const char kSpannableInlineAutocompleteDescription[] =
2343 "A new type of inline autocomplete for the omnibox that works with "
2344 "keyboards that compose text.";
2345
Theresaeea05a12018-05-09 21:01:592346const char kSimplifiedNtpName[] = "Simplified NTP";
2347const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2348
2349const char kSiteExplorationUiName[] = "Site Exploration UI";
2350const char kSiteExplorationUiDescription[] =
2351 "Show site suggestions in the Exploration UI";
2352
Brett Wilsonff596952017-07-14 01:06:552353const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2354const char kUpdateMenuBadgeDescription[] =
2355 "When enabled, an update badge will be shown on the app menu button.";
2356
2357const char kUpdateMenuItemCustomSummaryDescription[] =
2358 "When this flag and the force show update menu item flag are enabled, a "
2359 "custom summary string will be displayed below the update menu item.";
2360const char kUpdateMenuItemCustomSummaryName[] =
2361 "Update menu item custom summary";
2362
2363const char kUpdateMenuItemName[] = "Force show update menu item";
2364const char kUpdateMenuItemDescription[] =
2365 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2366 R"*(menu.)*";
2367
Amirhossein Simjourd78bbcf2018-02-02 16:23:392368const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2369const char kVrBrowsingNativeAndroidUiDescription[] =
2370 "Enable Android UI elements in VR.";
2371
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462372const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2373const char kVrBrowsingTabsViewDescription[] =
2374 "Enable tab overview (tab switcher) in VR.";
2375
Marc Treib93af46a2017-08-23 13:30:002376const char kThirdPartyDoodlesName[] =
2377 "Enable Doodles for third-party search engines";
2378const char kThirdPartyDoodlesDescription[] =
2379 "Enables fetching and displaying Doodles on the NTP for third-party search "
2380 "engines.";
2381
Klaus Weidneraaf697f2018-01-18 20:07:362382const char kWebXrRenderPathName[] = "WebXR presentation render path";
2383const char kWebXrRenderPathDescription[] =
2384 "Render path to use for WebXR presentation (including WebVR)";
2385const char kWebXrRenderPathChoiceClientWaitDescription[] =
2386 "ClientWait (Baseline)";
2387const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2388 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072389const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2390 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362391
Brett Wilson7b44537e2017-08-18 01:38:282392// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552393
Brett Wilson7b44537e2017-08-18 01:38:282394#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482395
Brett Wilson7b44537e2017-08-18 01:38:282396const char kAccountConsistencyName[] =
2397 "Identity consistency between browser and cookie jar";
2398const char kAccountConsistencyDescription[] =
2399 "When enabled, the browser manages signing in and out of Google accounts.";
2400const char kAccountConsistencyChoiceMirror[] = "Mirror";
2401const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342402
Chris Pickel3a227ae62017-08-24 10:47:262403const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2404const char kDoodlesOnLocalNtpDescription[] =
2405 "Show doodles on the local New Tab page if Google is the default search "
2406 "engine.";
2407
mlamouriff56c092017-05-11 15:31:392408const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392409const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342410 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392411const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392412const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392413const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342414 "Enabled (Flash lowers volume when interrupted by other sound, "
2415 "experimental)";
2416
Brett Wilson7b44537e2017-08-18 01:38:282417const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2418const char kEnableNewAppMenuIconDescription[] =
2419 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342420
Dave Schuyler598a4a42018-01-04 02:15:102421const char kOmniboxRichEntitySuggestionsName[] =
2422 "Omnibox rich entity suggestions";
2423const char kOmniboxRichEntitySuggestionsDescription[] =
2424 "Display entity suggestions using images and an enhanced layout; showing "
2425 "more context and descriptive text about the entity";
2426
Dave Schuyler616273d2018-04-19 03:12:522427const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2428const char kOmniboxNewAnswerLayoutDescription[] =
2429 "Display answers using an enhanced layout with larger images";
2430
Kevin Bailey898669972017-11-06 15:34:492431const char kOmniboxTabSwitchSuggestionsName[] =
2432 "Omnibox tab switch suggestions";
2433const char kOmniboxTabSwitchSuggestionsDescription[] =
2434 "Enable suggestions for switching to open tabs within the Omnibox.";
2435
krbcc621412017-06-01 19:40:282436const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2437const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192438 "Enable receiving tail suggestions, a type of search suggestion based on "
2439 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342440
Brett Wilson7b44537e2017-08-18 01:38:282441const char kOneGoogleBarOnLocalNtpName[] =
2442 "Enable the OneGoogleBar on the local NTP";
2443const char kOneGoogleBarOnLocalNtpDescription[] =
2444 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2445 "search engine.";
2446
Brett Wilson7b44537e2017-08-18 01:38:282447const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2448const char kUseGoogleLocalNtpDescription[] =
2449 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322450
Brett Wilson7b44537e2017-08-18 01:38:282451const char kVoiceSearchOnLocalNtpName[] =
2452 "Enable Voice Search on the local NTP";
2453const char kVoiceSearchOnLocalNtpDescription[] =
2454 "Show a microphone for voice search on the local New Tab page "
2455 "if Google is the default search engine.";
2456
Balazs Engedy00c5cea2018-03-30 15:36:392457const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422458const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392459 "Enable Web Authentication API support";
2460
2461const char kEnableWebAuthenticationTestingAPIName[] =
2462 "Web Authentication Testing API";
2463const char kEnableWebAuthenticationTestingAPIDescription[] =
2464 "Enable Web Authentication Testing API support, which disconnects the API "
2465 "implementation from the real world, and allows configuring virtual "
2466 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422467
Brett Wilson7b44537e2017-08-18 01:38:282468#if defined(GOOGLE_CHROME_BUILD)
2469
2470const char kGoogleBrandedContextMenuName[] =
2471 "Google branding in the context menu";
2472const char kGoogleBrandedContextMenuDescription[] =
2473 "Shows a Google icon next to context menu items powered by Google "
2474 "services.";
2475
2476#endif // !defined(GOOGLE_CHROME_BUILD)
2477
2478#endif // !defined(OS_ANDROID)
2479
2480// Windows ---------------------------------------------------------------------
2481
2482#if defined(OS_WIN)
2483
2484const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2485const char kCloudPrintXpsDescription[] =
2486 "XPS enables advanced options for classic printers connected to the Cloud "
2487 "Print with Chrome. Printers must be re-connected after changing this "
2488 "flag.";
2489
Dave Tapuskadd43469d2017-08-22 22:15:532490const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2491const char kDirectManipulationStylusDescription[] =
2492 "If enabled, Chrome will scroll web pages on stylus drag.";
2493
Brett Wilson7b44537e2017-08-18 01:38:282494const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2495const char kDisablePostscriptPrintingDescription[] =
2496 "Disables PostScript generation when printing to PostScript capable "
2497 "printers, and uses EMF generation in its place.";
2498
2499const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2500const char kEnableAppcontainerDescription[] =
2501 "Enables the use of an AppContainer on sandboxed processes to improve "
2502 "security.";
2503
2504const char kEnableD3DVsync[] = "D3D v-sync";
2505const char kEnableD3DVsyncDescription[] =
2506 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2507 "to occur.";
2508
2509const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2510const char kEnableDesktopIosPromotionsDescription[] =
2511 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2512 "eligible.";
2513
James Forshawfd0ce342018-02-14 09:55:392514const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2515const char kEnableGpuAppcontainerDescription[] =
2516 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2517 "improve security.";
2518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kGdiTextPrinting[] = "GDI Text Printing";
2520const char kGdiTextPrintingDescription[] =
2521 "Use GDI to print text as simply text";
2522
Henrik Grunell67e56ef2018-04-10 14:04:092523const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2524const char kIncreaseInputAudioBufferSizeDescription[] =
2525 "Increases the input audio endpoint buffer to 100 ms.";
2526
Brett Wilson7b44537e2017-08-18 01:38:282527const char kTraceExportEventsToEtwName[] =
2528 "Enable exporting of tracing events to ETW.";
2529const char kTraceExportEventsToEtwDesription[] =
2530 "If enabled, trace events will be exported to the Event Tracing for "
2531 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2532 "Xperf.";
2533
2534const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2535const char kUseWinrtMidiApiDescription[] =
2536 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2537 "later).";
2538
2539const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2540const char kWindows10CustomTitlebarDescription[] =
2541 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2542 "deferring to Windows.";
2543
2544#endif // defined(OS_WIN)
2545
2546// Mac -------------------------------------------------------------------------
2547
2548#if defined(OS_MACOSX)
2549
Brett Wilson7b44537e2017-08-18 01:38:282550const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2551const char kAppWindowCyclingDescription[] =
2552 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2553 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2554 "browser window, and browser windows will not be cycled when a Chrome App "
2555 "is active.";
2556
Brett Wilson7b44537e2017-08-18 01:38:282557const char kFullscreenToolbarRevealName[] =
2558 "Enables the toolbar in fullscreen to reveal itself.";
2559const char kFullscreenToolbarRevealDescription[] =
2560 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2561 "has changed.";
2562
2563const char kContentFullscreenName[] = "Improved Content Fullscreen";
2564const char kContentFullscreenDescription[] =
2565 "Fullscreen content window detaches from main browser window and goes to "
2566 "a new space without moving or changing the original browser window.";
2567
Lei Zhang2eca9082017-10-17 20:42:502568const char kDialogTouchBarName[] = "Dialog Touch Bar";
2569const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282570 "Shows Dialog buttons on the Touch Bar.";
2571
2572const char kHostedAppsInWindowsName[] =
2573 "Allow hosted apps to be opened in windows";
2574const char kHostedAppsInWindowsDescription[] =
2575 "Allows hosted apps to be opened in windows instead of being limited to "
2576 "tabs.";
2577
Lei Zhang2eca9082017-10-17 20:42:502578const char kMacRTLName[] = "Enable RTL";
2579const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282580
Lei Zhang2eca9082017-10-17 20:42:502581const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2582const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522583 "Enables sharing via macOS share extensions.";
2584
Lei Zhang2eca9082017-10-17 20:42:502585const char kMacTouchBarName[] = "Hardware Touch Bar";
2586const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282587
2588const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2589const char kMacV2SandboxDescription[] =
2590 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2591 "entire life cycle.";
2592
2593const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2594const char kMacViewsNativeAppWindowsDescription[] =
2595 "Controls whether to use Toolkit-Views based Chrome App windows.";
2596
2597const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2598const char kMacViewsTaskManagerDescription[] =
2599 "Controls whether to use the Toolkit-Views based Task Manager.";
2600
2601const char kTabDetachingInFullscreenName[] =
2602 "Allow tab detaching in fullscreen";
2603const char kTabDetachingInFullscreenDescription[] =
2604 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2605
2606const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2607const char kTabStripKeyboardFocusDescription[] =
2608 "Enable keyboard focus for the tabs in the tab strip.";
2609
Brett Wilson7b44537e2017-08-18 01:38:282610#endif
2611
2612// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342613
2614#if defined(OS_CHROMEOS)
2615
Brett Wilson7b44537e2017-08-18 01:38:282616const char kAcceleratedMjpegDecodeName[] =
2617 "Hardware-accelerated mjpeg decode for captured frame";
2618const char kAcceleratedMjpegDecodeDescription[] =
2619 "Enable hardware-accelerated mjpeg decode for captured frame where "
2620 "available.";
vabr0215a8e2017-03-28 12:47:342621
Brett Wilson7b44537e2017-08-18 01:38:282622const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2623const char kAllowTouchpadThreeFingerClickDescription[] =
2624 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342625
Brett Wilson7b44537e2017-08-18 01:38:282626const char kArcBootCompleted[] = "Load Android apps automatically";
2627const char kArcBootCompletedDescription[] =
2628 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342629
Lev Rumyantsev7a8544312017-08-18 19:26:512630const char kArcNativeBridgeExperimentName[] =
2631 "Enable native bridge experiment for ARC";
2632const char kArcNativeBridgeExperimentDescription[] =
2633 "Enables experimental native bridge feature.";
2634
lgchengecd1c1a62018-01-09 02:59:462635const char kArcUsbHostName[] = "Enable ARC USB host integration";
2636const char kArcUsbHostDescription[] =
2637 "Allow Android apps to use USB host feature on ChromeOS devices.";
2638
Kevin Cernekeeb7f96a52017-10-25 17:40:182639const char kArcVpnName[] = "Enable ARC VPN integration";
2640const char kArcVpnDescription[] =
2641 "Allow Android VPN clients to tunnel Chrome traffic.";
2642
Brett Wilson7b44537e2017-08-18 01:38:282643const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2644const char kAshEnableUnifiedDesktopDescription[] =
2645 "Enable unified desktop mode which allows a window to span multiple "
2646 "displays.";
vabr0215a8e2017-03-28 12:47:342647
Sean Kau5e956192017-10-06 22:25:172648const char kBulkPrintersName[] = "Bulk Printers Policy";
2649const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2650
Brett Wilson7b44537e2017-08-18 01:38:282651const char kCaptivePortalBypassProxyName[] =
2652 "Bypass proxy for Captive Portal Authorization";
2653const char kCaptivePortalBypassProxyDescription[] =
2654 "If proxy is configured, it usually prevents from authorization on "
2655 "different captive portals. This enables opening captive portal "
2656 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342657
Brett Wilson7b44537e2017-08-18 01:38:282658const char kCrOSComponentName[] = "Chrome OS Component";
2659const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082660 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342661
Xiaochu Liu51d03fd2017-09-08 23:51:022662const char kCrOSContainerName[] = "Chrome OS Container";
2663const char kCrOSContainerDescription[] =
2664 "Enable the use of Chrome OS Container utility.";
2665
Brett Wilson7b44537e2017-08-18 01:38:282666const char kCrosRegionsModeName[] = "Cros-regions load mode";
2667const char kCrosRegionsModeDescription[] =
2668 "This flag controls cros-regions load mode";
2669const char kCrosRegionsModeDefault[] = "Default";
2670const char kCrosRegionsModeOverride[] = "Override VPD values.";
2671const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342672
Joel Hockey0ab36feb02018-05-03 00:09:322673const char kCrostiniFilesName[] = "Crostini Files";
2674const char kCrostiniFilesDescription[] = "Enable Crostini Files in Files app.";
2675
Jacob Dufault2becbc482017-08-25 00:36:352676const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2677const char kDisableLockScreenAppsDescription[] =
2678 "Disable new-note action handler apps on the lock screen. The user will "
2679 "not be able to launch the preferred note-taking action from the lock "
2680 "screen, provided that the app supports lock screen note taking.";
2681
Sammie Quonef6b4882017-09-14 16:50:052682const char kDisableTabletAutohideTitlebarsName[] =
2683 "Disable autohide titlebars in tablet mode";
2684const char kDisableTabletAutohideTitlebarsDescription[] =
2685 "Disable tablet mode autohide titlebars functionality. The user will be "
2686 "able to see the titlebar in tablet mode.";
2687
Xiaoqian Dai24b33eb2018-04-10 21:01:572688const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2689const char kDisableTabletSplitViewDescription[] =
2690 "Disable split view for Chrome OS tablet mode.";
2691
Brett Wilson7b44537e2017-08-18 01:38:282692const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2693const char kEnablePerUserTimezoneDescription[] =
2694 "Chrome OS system timezone preference is stored and handled for each user "
2695 "individually.";
vabr0215a8e2017-03-28 12:47:342696
Brett Wilson7b44537e2017-08-18 01:38:282697const char kDisableSystemTimezoneAutomaticDetectionName[] =
2698 "SystemTimezoneAutomaticDetection policy support";
2699const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2700 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342701
Lei Zhang2eca9082017-10-17 20:42:502702const char kEnableBackgroundBlurName[] = "Enable background blur.";
2703const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422704 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392705
Brett Wilson7b44537e2017-08-18 01:38:282706const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2707const char kEnableChromevoxArcSupportDescription[] =
2708 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342709
F#m75862c92018-01-25 19:10:472710const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2711const char kEnableDisplayZoomSettingDescription[] =
2712 "Allows the user to modify the display size or zoom via the chrome display "
2713 "settings page.";
2714
Brett Wilson7b44537e2017-08-18 01:38:282715const char kEnableEhvInputName[] =
2716 "Emoji, handwriting and voice input on opt-in IME menu";
2717const char kEnableEhvInputDescription[] =
2718 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342719
Brett Wilson7b44537e2017-08-18 01:38:282720const char kEnableEncryptionMigrationName[] =
2721 "Enable encryption migration of user data";
2722const char kEnableEncryptionMigrationDescription[] =
2723 "If enabled and the device supports ARC, the user will be asked to update "
2724 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342725
Blake O'Hare9e9317b22017-10-24 02:49:352726const char kEnableFloatingVirtualKeyboardName[] =
2727 "Enable floating virtual keyboard";
2728const char kEnableFloatingVirtualKeyboardDescription[] =
2729 "If enabled, the keyboard will use floating behavior by default.";
2730
Brett Wilson7b44537e2017-08-18 01:38:282731const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2732const char kEnableImeMenuDescription[] =
2733 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342734
Darren Shen3e49c63d2018-03-28 04:45:502735const char kEnableStylusVirtualKeyboardName[] =
2736 "Enable stylus virtual keyboard";
2737const char kEnableStylusVirtualKeyboardDescription[] =
2738 "If enabled, tapping with a stylus will show the handwriting virtual "
2739 "keyboard.";
2740
Jianzhou Feng4fb046c2018-03-29 07:38:542741const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2742 "Enable full screen handwriting virtual keyboard";
2743const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2744 "If enabled, the handwriting virtual keyboard will allow user to write "
2745 "anywhere on the screen";
2746
Jordy Greenblatt2f23df22018-02-22 19:49:192747const char kEnableUnifiedMultiDeviceSettingsName[] =
2748 "Enable unified MultiDevice settings";
2749const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2750 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2751 "MultiDevice settings.";
2752
2753const char kEnableUnifiedMultiDeviceSetupName[] =
2754 "Enable unified MultiDevice setup";
2755const char kEnableUnifiedMultiDeviceSetupDescription[] =
2756 "Enable the device to setup all MultiDevice services in a single workflow.";
2757
Klemen Kozjek05fc4512017-10-18 12:51:102758const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2759const char kEnableZipArchiverPackerDescription[] =
2760 "Enable the ability to archive files on Drive in the Files app";
2761
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412762const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2763const char kZipArchiverUnpackerDescription[] =
2764 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282765
2766const char kEolNotificationName[] = "Disable Device End of Life notification.";
2767const char kEolNotificationDescription[] =
2768 "Disable Notifcation when Device is End of Life.";
2769
2770const char kExperimentalAccessibilityFeaturesName[] =
2771 "Experimental accessibility features";
2772const char kExperimentalAccessibilityFeaturesDescription[] =
2773 "Enable additional accessibility features in the Settings page.";
2774
2775const char kExperimentalInputViewFeaturesName[] =
2776 "Experimental input view features";
2777const char kExperimentalInputViewFeaturesDescription[] =
2778 "Enable experimental features for IME input views.";
2779
2780const char kFileManagerTouchModeName[] = "Files App. touch mode";
2781const char kFileManagerTouchModeDescription[] =
2782 "Touchscreen-specific interactions of the Files app.";
2783
2784const char kFirstRunUiTransitionsName[] =
2785 "Animated transitions in the first-run tutorial";
2786const char kFirstRunUiTransitionsDescription[] =
2787 "Transitions during first-run tutorial are animated.";
2788
Brett Wilson7b44537e2017-08-18 01:38:282789const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2790const char kForceEnableStylusToolsDescription[] =
2791 "Forces display of the stylus tools menu in the shelf and the stylus "
2792 "section in settings, even if there is no attached stylus device.";
2793
2794const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2795const char kGestureEditingDescription[] =
2796 "Enable/Disable gesture editing option in the settings page for the "
2797 "virtual keyboard.";
2798
2799const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2800const char kGestureTypingDescription[] =
2801 "Enable/Disable gesture typing option in the settings page for the virtual "
2802 "keyboard.";
2803
2804const char kInputViewName[] = "Input views";
2805const char kInputViewDescription[] =
2806 "Enable IME extensions to supply custom views for user input such as "
2807 "virtual keyboards.";
2808
Megumi Hattori5a0d4182018-03-06 11:09:502809const char kLockScreenNotificationName[] = "Lock screen notification";
2810const char kLockScreenNotificationDescription[] =
2811 "Enable notifications on the lock screen.";
2812
Brett Wilson7b44537e2017-08-18 01:38:282813const char kMemoryPressureThresholdName[] =
2814 "Memory discard strategy for advanced pressure handling";
2815const char kMemoryPressureThresholdDescription[] =
2816 "Memory discarding strategy to use";
2817const char kConservativeThresholds[] =
2818 "Conservative memory pressure release strategy";
2819const char kAggressiveCacheDiscardThresholds[] =
2820 "Aggressive cache release strategy";
2821const char kAggressiveTabDiscardThresholds[] =
2822 "Aggressive tab release strategy";
2823const char kAggressiveThresholds[] =
2824 "Aggressive tab and cache release strategy";
2825
2826const char kMtpWriteSupportName[] = "MTP write support";
2827const char kMtpWriteSupportDescription[] =
2828 "MTP write support in File System API (and file manager). In-place editing "
2829 "operations are not supported.";
2830
2831const char kMultideviceName[] = "Enable multidevice features";
2832const char kMultideviceDescription[] =
2833 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342834
Kyle Horimoto027590fb2018-02-13 22:19:482835const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2836const char kMultiDeviceApiDescription[] =
2837 "Enable Mojo-based API which provides synced device metadata and the "
2838 "ability to connect to other devices associated the logged-in Google "
2839 "account.";
2840
Bailey Berrodca8eeca02017-11-18 00:49:122841const char kNativeSmbName[] = "Native Smb Client";
2842const char kNativeSmbDescription[] =
2843 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302844
vabr0215a8e2017-03-28 12:47:342845const char kNetworkPortalNotificationName[] =
2846 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342847const char kNetworkPortalNotificationDescription[] =
2848 "If enabled, notification is displayed when device is connected to a "
2849 "network behind captive portal.";
2850
Steven Bennetts77b67972017-12-14 19:38:322851const char kDisableNetworkSettingsConfigName[] =
2852 "Disable Settings based Network Configuration";
2853const char kDisableNetworkSettingsConfigDescription[] =
2854 "Disables the Settings based network configuration UI and restores the "
2855 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242856
Brett Wilson7b44537e2017-08-18 01:38:282857const char kNewKoreanImeName[] = "New Korean IME";
2858const char kNewKoreanImeDescription[] =
2859 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342860
Brett Wilson7b44537e2017-08-18 01:38:282861const char kNewZipUnpackerName[] = "New ZIP unpacker";
2862const char kNewZipUnpackerDescription[] =
2863 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342864
Brett Wilson7b44537e2017-08-18 01:38:282865const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2866const char kPhysicalKeyboardAutocorrectDescription[] =
2867 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2868 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342869
2870const char kPrinterProviderSearchAppName[] =
2871 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342872const char kPrinterProviderSearchAppDescription[] =
2873 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192874 "searches Chrome Web Store for extensions that support printing to a USB "
2875 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342876
Brett Wilson7b44537e2017-08-18 01:38:282877const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2878const char kQuickUnlockPinDescription[] =
2879 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2880 "device on the lock screen after you have signed into your device.";
2881const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2882const char kQuickUnlockPinSigninDescription[] =
2883 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2884 "device. After changing this flag PIN needs to be set up again.";
2885const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2886const char kQuickUnlockFingerprintDescription[] =
2887 "Enabling fingerprint quick unlock allows you to setup and use a "
2888 "fingerprint to unlock your Chromebook on the lock screen after you have "
2889 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342890
Brett Wilson7b44537e2017-08-18 01:38:282891const char kOfficeEditingComponentAppName[] =
2892 "Office Editing for Docs, Sheets & Slides";
2893const char kOfficeEditingComponentAppDescription[] =
2894 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072895
James Cook0ba192bf2017-12-01 20:53:112896const char kShowTapsName[] = "Show taps";
2897const char kShowTapsDescription[] =
2898 "Draws a circle at each touch point, which makes touch points more obvious "
2899 "when projecting or mirroring the display. Similar to the Android OS "
2900 "developer option.";
2901
2902const char kShowTouchHudName[] = "Show HUD for touch points";
2903const char kShowTouchHudDescription[] =
2904 "Shows a trail of colored dots for the last few touch points. Pressing "
2905 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2906 "debug hardware issues that generate spurious touch events.";
2907
Chung-Sheng Wu468b0b32017-09-01 14:41:572908const char kSysInternalsName[] = "Enable Sys-Internals";
2909const char kSysInternalsDescription[] =
2910 "If enabled, user can monitor system information at "
2911 "chrome://sys-internals.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kTeamDrivesName[] = "Enable Team Drives Integration";
2914const char kTeamDrivesDescription[] =
2915 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342916
Brett Wilson7b44537e2017-08-18 01:38:282917const char kTetherName[] = "Instant Tethering";
2918const char kTetherDescription[] =
2919 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2920 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372921
Brett Wilson7b44537e2017-08-18 01:38:282922const char kTouchscreenCalibrationName[] =
2923 "Enable/disable touchscreen calibration option in material design settings";
2924const char kTouchscreenCalibrationDescription[] =
2925 "If enabled, the user can calibrate the touch screen displays in "
2926 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092927
Mitsuru Oshima63d3f2a2017-08-23 00:12:112928// Force UI Mode
2929const char kUiModeName[] = "Force Ui Mode";
2930const char kUiModeDescription[] =
2931 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2932 R"*(despite its current orientation. "Tablet" means that the )*"
2933 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2934 R"*(means that the chromebook will act as if it were in clamshell )*"
2935 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2936 R"*(the two, based on its orientation.)*";
2937const char kUiModeTablet[] = "TouchView";
2938const char kUiModeClamshell[] = "Clamshell";
2939const char kUiModeAuto[] = "Auto (default)";
2940
bruthigeafb0c02017-06-09 13:11:532941const char kUiDevToolsName[] = "Enable native UI inspection";
2942const char kUiDevToolsDescription[] =
2943 "Enables inspection of native UI elements. For local inspection use "
2944 "chrome://inspect#other";
2945
James Cooka1bcfa9a2018-01-30 00:18:402946const char kUseMashName[] = "Out-of-process system UI (mash)";
2947const char kUseMashDescription[] =
2948 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2949 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282950
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342951// TODO(mcasas): remove after https://crbug.com/771345.
2952const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2953const char kUseMonitorColorSpaceDescription[] =
2954 "Enables Chrome to use the color space information provided by the monitor"
2955 " instead of the default sRGB color space.";
2956
Brett Wilson7b44537e2017-08-18 01:38:282957const char kVideoPlayerChromecastSupportName[] =
2958 "Experimental Chromecast support for Video Player";
2959const char kVideoPlayerChromecastSupportDescription[] =
2960 "This option enables experimental Chromecast support for Video Player app "
2961 "on ChromeOS.";
2962
2963const char kVirtualKeyboardName[] = "Virtual Keyboard";
2964const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2965
2966const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2967const char kVirtualKeyboardOverscrollDescription[] =
2968 "Enables virtual keyboard overscroll support.";
2969
2970const char kVoiceInputName[] = "Voice input on virtual keyboard";
2971const char kVoiceInputDescription[] =
2972 "Enables voice input on virtual keyboard.";
2973
2974const char kWakeOnPacketsName[] = "Wake On Packets";
2975const char kWakeOnPacketsDescription[] =
2976 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202977
Weidong Guo7ae47532018-04-05 21:30:372978const char kEnableHomeLauncherName[] = "Enable home launcher";
2979const char kEnableHomeLauncherDescription[] =
2980 "Enable home launcher in tablet mode.";
2981
wutao7bfb1f22018-04-19 01:30:582982const char kEnableSettingsShortcutSearchName[] =
2983 "Enable Settings shortcut search";
2984const char kEnableSettingsShortcutSearchDescription[] =
2985 "Enable Settings shortcut search in launcher.";
2986
yhanadac5bff5b2017-05-18 06:37:092987#endif // defined(OS_CHROMEOS)
2988
Brett Wilson7b44537e2017-08-18 01:38:282989// Random platform combinations -----------------------------------------------
2990
2991#if defined(OS_WIN) || defined(OS_LINUX)
2992
2993const char kEnableInputImeApiName[] = "Enable Input IME API";
2994const char kEnableInputImeApiDescription[] =
2995 "Enable the use of chrome.input.ime API.";
2996
Tom Anderson6cbd5052018-05-03 23:49:542997#if !defined(OS_CHROMEOS)
2998
2999const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3000const char kWarnBeforeQuittingFlagDescription[] =
3001 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3002
3003#endif // !defined(OS_CHROMEOS)
3004
Brett Wilson7b44537e2017-08-18 01:38:283005#endif // defined(OS_WIN) || defined(OS_LINUX)
3006
3007#if defined(OS_WIN) || defined(OS_MACOSX)
3008
3009const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3010const char kAutomaticTabDiscardingDescription[] =
3011 "If enabled, tabs get automatically discarded from memory when the system "
3012 "memory is low. Discarded tabs are still visible on the tab strip and get "
3013 "reloaded when clicked on. Info about discarded tabs can be found at "
3014 "chrome://discards.";
3015
3016#endif // defined(OS_WIN) || defined(OS_MACOSX)
3017
3018// Feature flags --------------------------------------------------------------
3019
3020#if BUILDFLAG(ENABLE_VR)
3021
David Dorwin5a496c32017-11-17 01:45:053022const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3023const char kWebVrVsyncAlignDescription[] =
3024 "Align WebVR application rendering with VSync for smoother animations.";
3025
Brett Wilson7b44537e2017-08-18 01:38:283026#if defined(OS_ANDROID)
3027
Yash Malikb78e72a72018-02-21 09:14:103028const char kVrWebInputEditingName[] = "VR browsing web input editing";
3029const char kVrWebInputEditingDescription[] =
3030 "Allow editing web input fields while in VR mode.";
3031
David Dorwin5a496c32017-11-17 01:45:053032const char kVrBrowsingExperimentalFeaturesName[] =
3033 "VR browsing experimental features";
3034const char kVrBrowsingExperimentalFeaturesDescription[] =
3035 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283036
David Dorwin5a496c32017-11-17 01:45:053037const char kVrBrowsingExperimentalRenderingName[] =
3038 "VR browsing experimental rendering features";
3039const char kVrBrowsingExperimentalRenderingDescription[] =
3040 "Experimental rendering features for VR browsing (e.g. power-saving "
3041 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103042
David Dorwin5a496c32017-11-17 01:45:053043const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3044const char kVrBrowsingInCustomTabDescription[] =
3045 "Allow browsing within a VR headset while in a Custom Tab.";
3046
Michael Thiessen37895912018-01-19 20:15:543047const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3048const char kVrIconInDaydreamHomeDescription[] =
3049 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3050
David Dorwin5a496c32017-11-17 01:45:053051const char kWebVrAutopresentFromIntentName[] =
3052 "WebVR auto presentation from intents";
3053const char kWebVrAutopresentFromIntentDescription[] =
3054 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283055
3056#endif // OS_ANDROID
3057
Bill Orr103ed272018-02-14 21:23:053058#if BUILDFLAG(ENABLE_OCULUS_VR)
3059const char kOculusVRName[] = "Oculus hardware support";
3060const char kOculusVRDescription[] =
3061 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3062 "Windows 10 or later).";
3063#endif // ENABLE_OCULUS_VR
3064
Bill Orr49527562017-11-22 16:58:483065#if BUILDFLAG(ENABLE_OPENVR)
3066const char kOpenVRName[] = "OpenVR hardware support";
3067const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073068 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3069 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483070#endif // ENABLE_OPENVR
3071
Brett Wilson7b44537e2017-08-18 01:38:283072#endif // ENABLE_VR
3073
Nico Weberaf3b00b2017-09-11 17:58:173074#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283075
3076const char kNaclDebugMaskName[] =
3077 "Restrict Native Client GDB-based debugging by pattern";
3078const char kNaclDebugMaskDescription[] =
3079 "Restricts Native Client application GDB-based debugging by URL of "
3080 "manifest file. Native Client GDB-based debugging must be enabled for this "
3081 "option to work.";
3082const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3083const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3084 "Debug everything except secure shell and the PNaCl translator.";
3085const char kNaclDebugMaskChoiceIncludeDebug[] =
3086 "Debug only if manifest URL ends with debug.nmf.";
3087
3088const char kNaclDebugName[] = "Native Client GDB-based debugging";
3089const char kNaclDebugDescription[] =
3090 "Enable GDB debug stub. This will stop a Native Client application on "
3091 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3092
3093const char kNaclName[] = "Native Client";
3094const char kNaclDescription[] =
3095 "Support Native Client for all web applications, even those that were not "
3096 "installed from the Chrome Web Store.";
3097
3098const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3099const char kPnaclSubzeroDescription[] =
3100 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3101
Nico Weberaf3b00b2017-09-11 17:58:173102#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283103
Brett Wilson7b44537e2017-08-18 01:38:283104#if BUILDFLAG(ENABLE_WEBRTC)
3105
3106const char kWebrtcH264WithOpenh264FfmpegName[] =
3107 "WebRTC H.264 software video encoder/decoder";
3108const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3109 "When enabled, an H.264 software video encoder/decoder pair is included. "
3110 "If a hardware encoder/decoder is also available it may be used instead of "
3111 "this encoder/decoder.";
3112
3113#endif // BUILDFLAG(ENABLE_WEBRTC)
3114
James Cookf9d34d22017-10-04 16:39:353115#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283116
Wenzhao Zang50fb0b22017-11-07 01:38:423117const char kAshDisableLoginDimAndBlurName[] =
3118 "Disable dimming and blur on login screen.";
3119const char kAshDisableLoginDimAndBlurDescription[] =
3120 "Disable dimming and blur on login screen.";
3121
Brett Wilson7b44537e2017-08-18 01:38:283122const char kAshDisableSmoothScreenRotationName[] =
3123 "Disable smooth rotation animations.";
3124const char kAshDisableSmoothScreenRotationDescription[] =
3125 "Disable smooth rotation animations.";
3126
Qiang Xub7e921072017-12-07 21:02:113127const char kAshEnableDisplayMoveWindowAccelsName[] =
3128 "Enable shortcuts for moving window between displays.";
3129const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3130 "Enable shortcuts for moving window between displays.";
3131
wutaoc70d7b92017-11-01 08:06:013132const char kAshEnableKeyboardShortcutViewerName[] =
3133 "Enable keyboard shortcut viewer.";
3134const char kAshEnableKeyboardShortcutViewerDescription[] =
3135 "Enable keyboard shortcut viewer.";
3136
Brett Wilson7b44537e2017-08-18 01:38:283137const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3138const char kAshEnableMirroredScreenDescription[] =
3139 "Enable the mirrored screen mode. This mode flips the screen image "
3140 "horizontally.";
3141
Sammie Quon4e14214d2018-01-30 22:45:243142const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3143const char kAshEnableNewOverviewUiDescription[] =
3144 "Enables the new overview mode UI.";
3145
wutaod9cbcd32018-02-17 02:31:063146const char kAshEnableNewOverviewAnimationsName[] =
3147 "Enable new overview animations.";
3148const char kAshEnableNewOverviewAnimationsDescription[] =
3149 "Enables the new overview mode animations.";
3150
Qiang Xufa19cfd2018-01-29 19:36:503151const char kAshEnablePersistentWindowBoundsName[] =
3152 "Enable persistent window bounds in multi-displays scenario.";
3153const char kAshEnablePersistentWindowBoundsDescription[] =
3154 "Enable persistent window bounds in multi-displays scenario.";
3155
wutaoc5062be2018-03-16 02:16:233156const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3157const char kAshEnableTrilinearFilteringDescription[] =
3158 "Enable trilinear filtering.";
3159
Brett Wilson7b44537e2017-08-18 01:38:283160const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3161const char kAshShelfColorDescription[] =
3162 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3163 "--ash-shelf-color-scheme flag defines how that color is derived.";
3164
3165const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3166const char kAshShelfColorSchemeDescription[] =
3167 "Specify how the color is derived from the wallpaper. This flag is only "
3168 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3169const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3170const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3171const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3172const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3173const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3174const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3175
Wenzhao Zang06a28872018-02-23 04:01:353176const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3177const char kEnableNewWallpaperPickerDescription[] =
3178 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3179
Brett Wilson7b44537e2017-08-18 01:38:283180const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373181 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283182const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3183 "Sets the speed of the experimental visual feedback animations for "
3184 "material design.";
3185const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3186const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3187
3188const char kUiShowCompositedLayerBordersName[] =
3189 "Show UI composited layer borders";
3190const char kUiShowCompositedLayerBordersDescription[] =
3191 "Show border around composited layers created by UI.";
3192const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3193const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3194const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3195const char kUiShowCompositedLayerBordersAll[] = "All";
3196
3197const char kUiSlowAnimationsName[] = "Slow UI animations";
3198const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3199
James Cookf9d34d22017-10-04 16:39:353200#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283201
Brett Wilson7b44537e2017-08-18 01:38:283202#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3203
3204const char kAutofillCreditCardUploadName[] =
3205 "Enable offering upload of Autofilled credit cards";
3206const char kAutofillCreditCardUploadDescription[] =
3207 "Enables a new option to upload credit cards to Google Payments for sync "
3208 "to all Chrome devices.";
3209
3210#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3211
Becca Hughesdc96e842018-05-04 22:48:283212#if defined(OS_ANDROID)
3213
3214const char kDisplayCutoutAPIName[] =
3215 "Enable support for the Display Cutout API";
3216const char kDisplayCutoutAPIDescription[] =
3217 "Enables developers to support devices that have a display cutout.";
3218
3219#endif // defined(OS_ANDROID)
3220
Brett Wilson7b44537e2017-08-18 01:38:283221// ============================================================================
3222// Don't just add flags to the end, put them in the right section in
3223// alphabetical order just like the header file.
3224// ============================================================================
3225
vabr0215a8e2017-03-28 12:47:343226} // namespace flag_descriptions