blob: 15d9cbb2cffde6162b30ebad961ea540e75d17a5 [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
Shakti Sahu32b2ee102018-05-17 00:04:462005const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2006const char kDownloadProgressInfoBarDescription[] =
2007 "Enables an infobar notifying users about status of current downloads.";
2008
Brett Wilsonff596952017-07-14 01:06:552009const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2010const char kEnableAndroidPayIntegrationV1Description[] =
2011 "Enable integration with Android Pay using the first version of the API";
2012
2013const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2014const char kEnableAndroidPayIntegrationV2Description[] =
2015 "Enable integration with Android Pay using the second version of the API";
2016
Vitalii Iarkof4ed32d2017-09-26 13:15:532017const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552018const char kEnableAndroidSpellcheckerDescription[] =
2019 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552020
Lei Tianbd5a3bf2018-02-28 19:01:162021const char kEnableCommandLineOnNonRootedName[] =
2022 "Enable command line on non-rooted devices";
2023const char kEnableCommandLineOnNoRootedDescription[] =
2024 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2025
Vitalii Iarkof4ed32d2017-09-26 13:15:532026const char kEnableContentSuggestionsNewFaviconServerName[] =
2027 "Get favicons for content suggestions from a new server.";
2028const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2029 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2030 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552031
2032const char kEnableContentSuggestionsSettingsName[] =
2033 "Show content suggestions settings.";
2034const char kEnableContentSuggestionsSettingsDescription[] =
2035 "If enabled, the content suggestions settings will be available from the "
2036 "main settings menu.";
2037
Vitalii Iarkof4ed32d2017-09-26 13:15:532038const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2039 "Use content suggestions thumbnail dominant color.";
2040const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2041 "Use content suggestions thumbnail dominant color as a placeholder before "
2042 "the real thumbnail is fetched (requires Chrome Home).";
2043
Brett Wilsonff596952017-07-14 01:06:552044const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2045const char kEnableCustomContextMenuDescription[] =
2046 "Enables a new context menu when a link, image, or video is pressed within "
2047 "Chrome.";
2048
2049const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2050const char kEnableCustomFeedbackUiDescription[] =
2051 "Enables a custom feedback UI when submitting feedback through Google "
2052 "Feedback. Works with Google Play Services v10.2+";
2053
2054const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472055 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552056const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472057 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552058
Brett Wilsonff596952017-07-14 01:06:552059const char kEnableOmniboxClipboardProviderName[] =
2060 "Omnibox clipboard URL suggestions";
2061const char kEnableOmniboxClipboardProviderDescription[] =
2062 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2063 "focus in the omnibox.";
2064
2065const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2066 "Use expanded autofill credit card popup layout.";
2067const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2068 "If enabled, displays autofill credit card popup using expanded layout.";
2069
Becky Zhoua7f11d62018-02-01 16:02:532070const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2071 "Show article suggestions expandable header on New Tab Page";
2072const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2073 "If enabled, the article suggestions content on New Tab Page can be "
2074 "toggled shown or hidden by clicking the expandable header.";
2075
Brett Wilsonff596952017-07-14 01:06:552076const char kEnableNtpAssetDownloadSuggestionsName[] =
2077 "Show asset downloads on the New Tab page";
2078const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2079 "If enabled, the list of content suggestions on the New Tab page will "
2080 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2081 "later use.";
2082
2083const char kEnableNtpBookmarkSuggestionsName[] =
2084 "Show recently visited bookmarks on the New Tab page";
2085const char kEnableNtpBookmarkSuggestionsDescription[] =
2086 "If enabled, the list of content suggestions on the New Tab page will "
2087 "contain recently visited bookmarks.";
2088
2089const char kEnableNtpForeignSessionsSuggestionsName[] =
2090 "Show recent foreign tabs on the New Tab page";
2091const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2092 "If enabled, the list of content suggestions on the New Tab page will "
2093 "contain recent foreign tabs.";
2094
Brett Wilsonff596952017-07-14 01:06:552095const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2096 "Show offline page downloads on the New Tab page";
2097const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2098 "If enabled, the list of content suggestions on the New Tab page will "
2099 "contain pages that the user downloaded for later use.";
2100
2101const char kEnableNtpRemoteSuggestionsName[] =
2102 "Show server-side suggestions on the New Tab page";
2103const char kEnableNtpRemoteSuggestionsDescription[] =
2104 "If enabled, the list of content suggestions on the New Tab page will "
2105 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2106 "allows to override the source used to retrieve these server-side "
2107 "suggestions.";
2108
2109const char kEnableNtpSnippetsVisibilityName[] =
2110 "Make New Tab Page Snippets more visible.";
2111const char kEnableNtpSnippetsVisibilityDescription[] =
2112 "If enabled, the NTP snippets will become more discoverable with a larger "
2113 "portion of the first card above the fold.";
2114
2115const char kEnableNtpSuggestionsNotificationsName[] =
2116 "Notify about new content suggestions available at the New Tab page";
2117const char kEnableNtpSuggestionsNotificationsDescription[] =
2118 "If enabled, notifications will inform about new content suggestions on "
2119 "the New Tab page.";
2120
Brett Wilsonff596952017-07-14 01:06:552121const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2122const char kEnableOfflinePreviewsDescription[] =
2123 "Enable showing offline page previews on slow networks.";
2124
2125const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2126const char kEnableOskOverscrollDescription[] =
2127 "Enable OSK overscroll support. With this flag on, the OSK will only "
2128 "resize the visual viewport.";
2129
2130const char kEnableSpecialLocaleName[] =
2131 "Enable custom logic for special locales.";
2132const char kEnableSpecialLocaleDescription[] =
2133 "Enable custom logic for special locales. In this mode, Chrome might "
2134 "behave differently in some locales.";
2135
Brett Wilsonff596952017-07-14 01:06:552136const char kEnableWebNfcName[] = "WebNFC";
2137const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2138
gogeraldf3cbb422017-07-26 14:37:122139const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2140 "Enable Web Payments method section order V2.";
2141const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2142 "Enable this option to display payment method section above address "
2143 "section instead of below it.";
2144
Raymes Khoury582b43132017-12-12 23:54:302145const char kGrantNotificationsToDSEName[] =
2146 "Grant notifications to the Default Search Engine";
2147const char kGrantNotificationsToDSENameDescription[] =
2148 "Automatically grant the notifications permission to the Default Search "
2149 "Engine";
2150
Daniel Parke74fcf862018-03-27 18:05:452151const char kHomePageButtonName[] = "Force Enable Home Page Button";
2152const char kHomePageButtonDescription[] =
2153 "Displays a home button if enabled. "
2154 "Chrome must be restarted twice for this flag to take effect.";
2155
Theresa920e0ed2018-03-07 18:12:442156const char kInterestFeedContentSuggestionsDescription[] =
2157 "Use the interest feed to render content suggestions. Currently content "
2158 "suggestions are shown on the New Tab Page.";
2159const char kInterestFeedContentSuggestionsName[] =
2160 "Interest Feed Content Suggestions";
2161
Brett Wilsonff596952017-07-14 01:06:552162const char kKeepPrefetchedContentSuggestionsName[] =
2163 "Keep prefetched content suggestions";
2164const char kKeepPrefetchedContentSuggestionsDescription[] =
2165 "If enabled, some of prefetched content suggestions are not replaced by "
2166 "the new fetched suggestions.";
2167
Leo Zhang051b75482017-12-20 03:28:302168const char kLanguagesPreferenceName[] = "Language Settings";
2169const char kLanguagesPreferenceDescription[] =
2170 "Enable this option for Language Settings feature on Android.";
2171
Brett Wilsonff596952017-07-14 01:06:552172const char kLsdPermissionPromptName[] =
2173 "Location Settings Dialog Permission Prompt";
2174const char kLsdPermissionPromptDescription[] =
2175 "Whether to use the Google Play Services Location Settings Dialog "
2176 "permission dialog.";
2177
Amirhossein Simjour97b4154f2018-02-20 03:49:592178const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2179const char kModalPermissionDialogViewDescription[] =
2180 "Enable this option to use ModalDialogManager for permission Dialogs.";
2181
Brett Wilsonff596952017-07-14 01:06:552182const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2183const char kMediaScreenCaptureDescription[] =
2184 "Enable this option for experimental ScreenCapture feature on Android.";
2185
2186const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2187const char kModalPermissionPromptsDescription[] =
2188 "Whether to use permission dialogs in place of permission infobars.";
2189
Brett Wilsonff596952017-07-14 01:06:552190const char kNewPhotoPickerName[] = "Enable new Photopicker";
2191const char kNewPhotoPickerDescription[] =
2192 "Activates the new picker for selecting photos.";
2193
2194const char kNoCreditCardAbort[] = "No Credit Card Abort";
2195const char kNoCreditCardAbortDescription[] =
2196 "Whether or not the No Credit Card Abort is enabled.";
2197
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062198const char kNtpModernLayoutName[] = "Modern NTP layout";
2199const char kNtpModernLayoutDescription[] =
2200 "Show a modern layout on the New Tab Page.";
2201
Brett Wilsonff596952017-07-14 01:06:552202const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2203const char kNtpGoogleGInOmniboxDescription[] =
2204 "Show a Google G in the omnibox on the New Tab Page.";
2205
Brett Wilsonff596952017-07-14 01:06:552206const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2207const char kOfflineBookmarksDescription[] =
2208 "Enable saving bookmarked pages for offline viewing.";
2209
Brett Wilsonff596952017-07-14 01:06:552210const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2211const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2212
2213const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2214const char kOfflinePagesCtV2Description[] =
2215 "V2 features include attributing pages to the app that initiated the "
2216 "custom tabs, and being able to query for pages by page attribution.";
2217
Cathy Li7311d792018-04-05 00:34:162218const char kOfflinePagesCTSuppressNotificationsName[] =
2219 "Disable download complete notification for whitelisted CCT apps.";
2220const char kOfflinePagesCTSuppressNotificationsDescription[] =
2221 "Disable download complete notification for page downloads originating "
2222 "from a CCT app whitelisted to show their own download complete "
2223 "notification.";
2224
Candice Sy74fa7a352018-03-30 23:46:492225const char kOfflinePagesDescriptiveFailStatusName[] =
2226 "Enables descriptive failed download status text.";
2227const char kOfflinePagesDescriptiveFailStatusDescription[] =
2228 "Enables failed download status text in notifications and Downloads Home "
2229 "to state the reason the request failed if the failure is actionable.";
2230
2231const char kOfflinePagesDescriptivePendingStatusName[] =
2232 "Enables descriptive pending download status text.";
2233const char kOfflinePagesDescriptivePendingStatusDescription[] =
2234 "Enables pending download status text in notifications and Downloads Home "
2235 "to state the reason the request is pending.";
2236
2237const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2238 "Enables offline pages in the downloads home to be opened in CCT.";
2239const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2240 "When enabled offline pages launched from the Downloads Home will be "
2241 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2242
Carlos Knippschild09272ecd2017-12-09 03:29:362243const char kOfflinePagesLimitlessPrefetchingName[] =
2244 "Removes resource usage limits for the prefetching of offline pages.";
2245const char kOfflinePagesLimitlessPrefetchingDescription[] =
2246 "Allows the prefetching of suggested offline pages to ignore resource "
2247 "usage limits. This allows it to completely ignore data usage limitations "
2248 "and allows downloads to happen with any kind of connection.";
2249
Brett Wilsonff596952017-07-14 01:06:552250const char kOfflinePagesLoadSignalCollectingName[] =
2251 "Enables collecting load timing data for offline page snapshots.";
2252const char kOfflinePagesLoadSignalCollectingDescription[] =
2253 "Enables loading completeness data collection while writing an offline "
2254 "page. This data is collected in the snapshotted offline page to allow "
2255 "data analysis to improve deciding when to make the offline snapshot.";
2256
2257const char kOfflinePagesPrefetchingName[] =
2258 "Enables suggested offline pages to be prefetched.";
2259const char kOfflinePagesPrefetchingDescription[] =
2260 "Enables suggested offline pages to be prefetched, so useful content is "
2261 "available while offline.";
2262
Cathy Li3d5379e2017-09-07 00:11:092263const char kOfflinePagesPrefetchingUIName[] =
2264 "Enables prefetched offline pages to be shown in UI.";
2265const char kOfflinePagesPrefetchingUIDescription[] =
2266 "Enables prefetched offline pages to raise notifications and be shown in "
2267 "download home UI.";
2268
Pete Williamson7845dff2017-09-20 11:06:192269const char kOfflinePagesResourceBasedSnapshotName[] =
2270 "Enables offline page snapshots to be based on percentage of page loaded.";
2271const char kOfflinePagesResourceBasedSnapshotDescription[] =
2272 "Enables offline page snapshots to use a resource percentage based "
2273 "approach for determining when the page is loaded as opposed to a time "
2274 "based approach";
2275
Collin Baker17f92a52017-07-19 21:41:252276const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2277const char kOfflinePagesRenovationsDescription[] =
2278 "Enables offline page renovations which correct issues with dynamic "
2279 "content that occur when offlining pages that use JavaScript.";
2280
Brett Wilsonff596952017-07-14 01:06:552281const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2282const char kOfflinePagesSharingDescription[] =
2283 "Enables the saved offline pages to be shared via other applications.";
2284
Cathy Lie0d88762018-04-12 08:03:012285const char kOfflinePagesShowAlternateDinoPageName[] =
2286 "Enable alternate dino page with more user capabilities.";
2287const char kOfflinePagesShowAlternateDinoPageDescription[] =
2288 "Enables the dino page to show more buttons and offer existing offline "
2289 "content.";
2290
Brett Wilsonff596952017-07-14 01:06:552291const char kOfflinePagesSvelteConcurrentLoadingName[] =
2292 "Enables concurrent background loading on svelte.";
2293const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2294 "Enables concurrent background loading (or downloading) of pages on "
2295 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2296 "happen when the svelte device is idle.";
2297
2298const char kOffliningRecentPagesName[] =
2299 "Enable offlining of recently visited pages";
2300const char kOffliningRecentPagesDescription[] =
2301 "Enable storing recently visited pages locally for offline use. Requires "
2302 "Offline Pages to be enabled.";
2303
Lei Zhang2eca9082017-10-17 20:42:502304const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2305const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552306 "Enable Pay with Google integration into Web Payments with API version "
2307 "'1'.";
2308
Matthew Jonesa88b95852017-11-08 23:13:502309const char kProgressBarThrottleName[] = "Android progress update throttling.";
2310const char kProgressBarThrottleDescription[] =
2311 "Limit the maximum progress update to make progress appear smoother.";
2312
Brett Wilsonff596952017-07-14 01:06:552313const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2314const char kPullToRefreshEffectDescription[] =
2315 "Page reloads triggered by vertically overscrolling content.";
2316
Piotr Swigon7c296ef2017-08-29 04:32:002317const char kPwaImprovedSplashScreenName[] =
2318 "Improved Splash Screen for standalone PWAs";
2319const char kPwaImprovedSplashScreenDescription[] =
2320 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2321 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492322const char kPwaPersistentNotificationName[] =
2323 "Persistent notification in standalone PWA";
2324const char kPwaPersistentNotificationDescription[] =
2325 "Enables a persistent Android notification for standalone PWAs";
2326
Brett Wilsonff596952017-07-14 01:06:552327const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2328const char kReaderModeHeuristicsDescription[] =
2329 "Determines what pages the Reader Mode infobar is shown on.";
2330const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2331const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2332const char kReaderModeHeuristicsAllArticles[] = "All articles";
2333const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2334const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2335
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182336const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2337const char kReaderModeInCCTDescription[] =
2338 "Open Reader Mode in Chrome Custom Tabs.";
2339
Brett Wilsonff596952017-07-14 01:06:552340const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2341const char kSetMarketUrlForTestingDescription[] =
2342 "When enabled, sets the market URL for use in testing the update menu "
2343 "item.";
2344
2345const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2346const char kSpannableInlineAutocompleteDescription[] =
2347 "A new type of inline autocomplete for the omnibox that works with "
2348 "keyboards that compose text.";
2349
Theresaeea05a12018-05-09 21:01:592350const char kSimplifiedNtpName[] = "Simplified NTP";
2351const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2352
2353const char kSiteExplorationUiName[] = "Site Exploration UI";
2354const char kSiteExplorationUiDescription[] =
2355 "Show site suggestions in the Exploration UI";
2356
Brett Wilsonff596952017-07-14 01:06:552357const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2358const char kUpdateMenuBadgeDescription[] =
2359 "When enabled, an update badge will be shown on the app menu button.";
2360
2361const char kUpdateMenuItemCustomSummaryDescription[] =
2362 "When this flag and the force show update menu item flag are enabled, a "
2363 "custom summary string will be displayed below the update menu item.";
2364const char kUpdateMenuItemCustomSummaryName[] =
2365 "Update menu item custom summary";
2366
2367const char kUpdateMenuItemName[] = "Force show update menu item";
2368const char kUpdateMenuItemDescription[] =
2369 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2370 R"*(menu.)*";
2371
Amirhossein Simjourd78bbcf2018-02-02 16:23:392372const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2373const char kVrBrowsingNativeAndroidUiDescription[] =
2374 "Enable Android UI elements in VR.";
2375
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462376const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2377const char kVrBrowsingTabsViewDescription[] =
2378 "Enable tab overview (tab switcher) in VR.";
2379
Marc Treib93af46a2017-08-23 13:30:002380const char kThirdPartyDoodlesName[] =
2381 "Enable Doodles for third-party search engines";
2382const char kThirdPartyDoodlesDescription[] =
2383 "Enables fetching and displaying Doodles on the NTP for third-party search "
2384 "engines.";
2385
Klaus Weidneraaf697f2018-01-18 20:07:362386const char kWebXrRenderPathName[] = "WebXR presentation render path";
2387const char kWebXrRenderPathDescription[] =
2388 "Render path to use for WebXR presentation (including WebVR)";
2389const char kWebXrRenderPathChoiceClientWaitDescription[] =
2390 "ClientWait (Baseline)";
2391const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2392 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072393const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2394 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362395
Brett Wilson7b44537e2017-08-18 01:38:282396// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552397
Brett Wilson7b44537e2017-08-18 01:38:282398#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482399
Brett Wilson7b44537e2017-08-18 01:38:282400const char kAccountConsistencyName[] =
2401 "Identity consistency between browser and cookie jar";
2402const char kAccountConsistencyDescription[] =
2403 "When enabled, the browser manages signing in and out of Google accounts.";
2404const char kAccountConsistencyChoiceMirror[] = "Mirror";
2405const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342406
Chris Pickel3a227ae62017-08-24 10:47:262407const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2408const char kDoodlesOnLocalNtpDescription[] =
2409 "Show doodles on the local New Tab page if Google is the default search "
2410 "engine.";
2411
mlamouriff56c092017-05-11 15:31:392412const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392413const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342414 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392415const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392416const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392417const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342418 "Enabled (Flash lowers volume when interrupted by other sound, "
2419 "experimental)";
2420
Brett Wilson7b44537e2017-08-18 01:38:282421const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2422const char kEnableNewAppMenuIconDescription[] =
2423 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342424
Dave Schuyler598a4a42018-01-04 02:15:102425const char kOmniboxRichEntitySuggestionsName[] =
2426 "Omnibox rich entity suggestions";
2427const char kOmniboxRichEntitySuggestionsDescription[] =
2428 "Display entity suggestions using images and an enhanced layout; showing "
2429 "more context and descriptive text about the entity";
2430
Dave Schuyler616273d2018-04-19 03:12:522431const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2432const char kOmniboxNewAnswerLayoutDescription[] =
2433 "Display answers using an enhanced layout with larger images";
2434
Kevin Bailey898669972017-11-06 15:34:492435const char kOmniboxTabSwitchSuggestionsName[] =
2436 "Omnibox tab switch suggestions";
2437const char kOmniboxTabSwitchSuggestionsDescription[] =
2438 "Enable suggestions for switching to open tabs within the Omnibox.";
2439
krbcc621412017-06-01 19:40:282440const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2441const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192442 "Enable receiving tail suggestions, a type of search suggestion based on "
2443 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342444
Brett Wilson7b44537e2017-08-18 01:38:282445const char kOneGoogleBarOnLocalNtpName[] =
2446 "Enable the OneGoogleBar on the local NTP";
2447const char kOneGoogleBarOnLocalNtpDescription[] =
2448 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2449 "search engine.";
2450
Brett Wilson7b44537e2017-08-18 01:38:282451const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2452const char kUseGoogleLocalNtpDescription[] =
2453 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322454
Brett Wilson7b44537e2017-08-18 01:38:282455const char kVoiceSearchOnLocalNtpName[] =
2456 "Enable Voice Search on the local NTP";
2457const char kVoiceSearchOnLocalNtpDescription[] =
2458 "Show a microphone for voice search on the local New Tab page "
2459 "if Google is the default search engine.";
2460
Balazs Engedy00c5cea2018-03-30 15:36:392461const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422462const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392463 "Enable Web Authentication API support";
2464
2465const char kEnableWebAuthenticationTestingAPIName[] =
2466 "Web Authentication Testing API";
2467const char kEnableWebAuthenticationTestingAPIDescription[] =
2468 "Enable Web Authentication Testing API support, which disconnects the API "
2469 "implementation from the real world, and allows configuring virtual "
2470 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422471
Brett Wilson7b44537e2017-08-18 01:38:282472#if defined(GOOGLE_CHROME_BUILD)
2473
2474const char kGoogleBrandedContextMenuName[] =
2475 "Google branding in the context menu";
2476const char kGoogleBrandedContextMenuDescription[] =
2477 "Shows a Google icon next to context menu items powered by Google "
2478 "services.";
2479
2480#endif // !defined(GOOGLE_CHROME_BUILD)
2481
2482#endif // !defined(OS_ANDROID)
2483
2484// Windows ---------------------------------------------------------------------
2485
2486#if defined(OS_WIN)
2487
2488const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2489const char kCloudPrintXpsDescription[] =
2490 "XPS enables advanced options for classic printers connected to the Cloud "
2491 "Print with Chrome. Printers must be re-connected after changing this "
2492 "flag.";
2493
Dave Tapuskadd43469d2017-08-22 22:15:532494const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2495const char kDirectManipulationStylusDescription[] =
2496 "If enabled, Chrome will scroll web pages on stylus drag.";
2497
Brett Wilson7b44537e2017-08-18 01:38:282498const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2499const char kDisablePostscriptPrintingDescription[] =
2500 "Disables PostScript generation when printing to PostScript capable "
2501 "printers, and uses EMF generation in its place.";
2502
2503const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2504const char kEnableAppcontainerDescription[] =
2505 "Enables the use of an AppContainer on sandboxed processes to improve "
2506 "security.";
2507
2508const char kEnableD3DVsync[] = "D3D v-sync";
2509const char kEnableD3DVsyncDescription[] =
2510 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2511 "to occur.";
2512
2513const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2514const char kEnableDesktopIosPromotionsDescription[] =
2515 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2516 "eligible.";
2517
James Forshawfd0ce342018-02-14 09:55:392518const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2519const char kEnableGpuAppcontainerDescription[] =
2520 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2521 "improve security.";
2522
Brett Wilson7b44537e2017-08-18 01:38:282523const char kGdiTextPrinting[] = "GDI Text Printing";
2524const char kGdiTextPrintingDescription[] =
2525 "Use GDI to print text as simply text";
2526
Henrik Grunell67e56ef2018-04-10 14:04:092527const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2528const char kIncreaseInputAudioBufferSizeDescription[] =
2529 "Increases the input audio endpoint buffer to 100 ms.";
2530
Brett Wilson7b44537e2017-08-18 01:38:282531const char kTraceExportEventsToEtwName[] =
2532 "Enable exporting of tracing events to ETW.";
2533const char kTraceExportEventsToEtwDesription[] =
2534 "If enabled, trace events will be exported to the Event Tracing for "
2535 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2536 "Xperf.";
2537
2538const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2539const char kUseWinrtMidiApiDescription[] =
2540 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2541 "later).";
2542
2543const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2544const char kWindows10CustomTitlebarDescription[] =
2545 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2546 "deferring to Windows.";
2547
2548#endif // defined(OS_WIN)
2549
2550// Mac -------------------------------------------------------------------------
2551
2552#if defined(OS_MACOSX)
2553
Brett Wilson7b44537e2017-08-18 01:38:282554const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2555const char kAppWindowCyclingDescription[] =
2556 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2557 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2558 "browser window, and browser windows will not be cycled when a Chrome App "
2559 "is active.";
2560
Brett Wilson7b44537e2017-08-18 01:38:282561const char kFullscreenToolbarRevealName[] =
2562 "Enables the toolbar in fullscreen to reveal itself.";
2563const char kFullscreenToolbarRevealDescription[] =
2564 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2565 "has changed.";
2566
2567const char kContentFullscreenName[] = "Improved Content Fullscreen";
2568const char kContentFullscreenDescription[] =
2569 "Fullscreen content window detaches from main browser window and goes to "
2570 "a new space without moving or changing the original browser window.";
2571
Lei Zhang2eca9082017-10-17 20:42:502572const char kDialogTouchBarName[] = "Dialog Touch Bar";
2573const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282574 "Shows Dialog buttons on the Touch Bar.";
2575
2576const char kHostedAppsInWindowsName[] =
2577 "Allow hosted apps to be opened in windows";
2578const char kHostedAppsInWindowsDescription[] =
2579 "Allows hosted apps to be opened in windows instead of being limited to "
2580 "tabs.";
2581
Lei Zhang2eca9082017-10-17 20:42:502582const char kMacRTLName[] = "Enable RTL";
2583const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282584
Lei Zhang2eca9082017-10-17 20:42:502585const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2586const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522587 "Enables sharing via macOS share extensions.";
2588
Lei Zhang2eca9082017-10-17 20:42:502589const char kMacTouchBarName[] = "Hardware Touch Bar";
2590const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282591
2592const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2593const char kMacV2SandboxDescription[] =
2594 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2595 "entire life cycle.";
2596
2597const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2598const char kMacViewsNativeAppWindowsDescription[] =
2599 "Controls whether to use Toolkit-Views based Chrome App windows.";
2600
2601const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2602const char kMacViewsTaskManagerDescription[] =
2603 "Controls whether to use the Toolkit-Views based Task Manager.";
2604
2605const char kTabDetachingInFullscreenName[] =
2606 "Allow tab detaching in fullscreen";
2607const char kTabDetachingInFullscreenDescription[] =
2608 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2609
2610const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2611const char kTabStripKeyboardFocusDescription[] =
2612 "Enable keyboard focus for the tabs in the tab strip.";
2613
Brett Wilson7b44537e2017-08-18 01:38:282614#endif
2615
2616// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342617
2618#if defined(OS_CHROMEOS)
2619
Brett Wilson7b44537e2017-08-18 01:38:282620const char kAcceleratedMjpegDecodeName[] =
2621 "Hardware-accelerated mjpeg decode for captured frame";
2622const char kAcceleratedMjpegDecodeDescription[] =
2623 "Enable hardware-accelerated mjpeg decode for captured frame where "
2624 "available.";
vabr0215a8e2017-03-28 12:47:342625
Brett Wilson7b44537e2017-08-18 01:38:282626const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2627const char kAllowTouchpadThreeFingerClickDescription[] =
2628 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342629
Brett Wilson7b44537e2017-08-18 01:38:282630const char kArcBootCompleted[] = "Load Android apps automatically";
2631const char kArcBootCompletedDescription[] =
2632 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342633
Lev Rumyantsev7a8544312017-08-18 19:26:512634const char kArcNativeBridgeExperimentName[] =
2635 "Enable native bridge experiment for ARC";
2636const char kArcNativeBridgeExperimentDescription[] =
2637 "Enables experimental native bridge feature.";
2638
lgchengecd1c1a62018-01-09 02:59:462639const char kArcUsbHostName[] = "Enable ARC USB host integration";
2640const char kArcUsbHostDescription[] =
2641 "Allow Android apps to use USB host feature on ChromeOS devices.";
2642
Kevin Cernekeeb7f96a52017-10-25 17:40:182643const char kArcVpnName[] = "Enable ARC VPN integration";
2644const char kArcVpnDescription[] =
2645 "Allow Android VPN clients to tunnel Chrome traffic.";
2646
Brett Wilson7b44537e2017-08-18 01:38:282647const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2648const char kAshEnableUnifiedDesktopDescription[] =
2649 "Enable unified desktop mode which allows a window to span multiple "
2650 "displays.";
vabr0215a8e2017-03-28 12:47:342651
Sean Kau5e956192017-10-06 22:25:172652const char kBulkPrintersName[] = "Bulk Printers Policy";
2653const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2654
Brett Wilson7b44537e2017-08-18 01:38:282655const char kCaptivePortalBypassProxyName[] =
2656 "Bypass proxy for Captive Portal Authorization";
2657const char kCaptivePortalBypassProxyDescription[] =
2658 "If proxy is configured, it usually prevents from authorization on "
2659 "different captive portals. This enables opening captive portal "
2660 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kCrOSComponentName[] = "Chrome OS Component";
2663const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082664 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342665
Xiaochu Liu51d03fd2017-09-08 23:51:022666const char kCrOSContainerName[] = "Chrome OS Container";
2667const char kCrOSContainerDescription[] =
2668 "Enable the use of Chrome OS Container utility.";
2669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kCrosRegionsModeName[] = "Cros-regions load mode";
2671const char kCrosRegionsModeDescription[] =
2672 "This flag controls cros-regions load mode";
2673const char kCrosRegionsModeDefault[] = "Default";
2674const char kCrosRegionsModeOverride[] = "Override VPD values.";
2675const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342676
Joel Hockey0ab36feb02018-05-03 00:09:322677const char kCrostiniFilesName[] = "Crostini Files";
2678const char kCrostiniFilesDescription[] = "Enable Crostini Files in Files app.";
2679
Jacob Dufault2becbc482017-08-25 00:36:352680const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2681const char kDisableLockScreenAppsDescription[] =
2682 "Disable new-note action handler apps on the lock screen. The user will "
2683 "not be able to launch the preferred note-taking action from the lock "
2684 "screen, provided that the app supports lock screen note taking.";
2685
Sammie Quonef6b4882017-09-14 16:50:052686const char kDisableTabletAutohideTitlebarsName[] =
2687 "Disable autohide titlebars in tablet mode";
2688const char kDisableTabletAutohideTitlebarsDescription[] =
2689 "Disable tablet mode autohide titlebars functionality. The user will be "
2690 "able to see the titlebar in tablet mode.";
2691
Xiaoqian Dai24b33eb2018-04-10 21:01:572692const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2693const char kDisableTabletSplitViewDescription[] =
2694 "Disable split view for Chrome OS tablet mode.";
2695
Brett Wilson7b44537e2017-08-18 01:38:282696const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2697const char kEnablePerUserTimezoneDescription[] =
2698 "Chrome OS system timezone preference is stored and handled for each user "
2699 "individually.";
vabr0215a8e2017-03-28 12:47:342700
Brett Wilson7b44537e2017-08-18 01:38:282701const char kDisableSystemTimezoneAutomaticDetectionName[] =
2702 "SystemTimezoneAutomaticDetection policy support";
2703const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2704 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342705
Lei Zhang2eca9082017-10-17 20:42:502706const char kEnableBackgroundBlurName[] = "Enable background blur.";
2707const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422708 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392709
Brett Wilson7b44537e2017-08-18 01:38:282710const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2711const char kEnableChromevoxArcSupportDescription[] =
2712 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342713
F#m75862c92018-01-25 19:10:472714const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2715const char kEnableDisplayZoomSettingDescription[] =
2716 "Allows the user to modify the display size or zoom via the chrome display "
2717 "settings page.";
2718
Brett Wilson7b44537e2017-08-18 01:38:282719const char kEnableEhvInputName[] =
2720 "Emoji, handwriting and voice input on opt-in IME menu";
2721const char kEnableEhvInputDescription[] =
2722 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342723
Brett Wilson7b44537e2017-08-18 01:38:282724const char kEnableEncryptionMigrationName[] =
2725 "Enable encryption migration of user data";
2726const char kEnableEncryptionMigrationDescription[] =
2727 "If enabled and the device supports ARC, the user will be asked to update "
2728 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342729
Blake O'Hare9e9317b22017-10-24 02:49:352730const char kEnableFloatingVirtualKeyboardName[] =
2731 "Enable floating virtual keyboard";
2732const char kEnableFloatingVirtualKeyboardDescription[] =
2733 "If enabled, the keyboard will use floating behavior by default.";
2734
Brett Wilson7b44537e2017-08-18 01:38:282735const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2736const char kEnableImeMenuDescription[] =
2737 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342738
Darren Shen3e49c63d2018-03-28 04:45:502739const char kEnableStylusVirtualKeyboardName[] =
2740 "Enable stylus virtual keyboard";
2741const char kEnableStylusVirtualKeyboardDescription[] =
2742 "If enabled, tapping with a stylus will show the handwriting virtual "
2743 "keyboard.";
2744
Jianzhou Feng4fb046c2018-03-29 07:38:542745const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2746 "Enable full screen handwriting virtual keyboard";
2747const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2748 "If enabled, the handwriting virtual keyboard will allow user to write "
2749 "anywhere on the screen";
2750
Jordy Greenblatt2f23df22018-02-22 19:49:192751const char kEnableUnifiedMultiDeviceSettingsName[] =
2752 "Enable unified MultiDevice settings";
2753const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2754 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2755 "MultiDevice settings.";
2756
2757const char kEnableUnifiedMultiDeviceSetupName[] =
2758 "Enable unified MultiDevice setup";
2759const char kEnableUnifiedMultiDeviceSetupDescription[] =
2760 "Enable the device to setup all MultiDevice services in a single workflow.";
2761
Klemen Kozjek05fc4512017-10-18 12:51:102762const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2763const char kEnableZipArchiverPackerDescription[] =
2764 "Enable the ability to archive files on Drive in the Files app";
2765
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412766const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2767const char kZipArchiverUnpackerDescription[] =
2768 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282769
2770const char kEolNotificationName[] = "Disable Device End of Life notification.";
2771const char kEolNotificationDescription[] =
2772 "Disable Notifcation when Device is End of Life.";
2773
2774const char kExperimentalAccessibilityFeaturesName[] =
2775 "Experimental accessibility features";
2776const char kExperimentalAccessibilityFeaturesDescription[] =
2777 "Enable additional accessibility features in the Settings page.";
2778
2779const char kExperimentalInputViewFeaturesName[] =
2780 "Experimental input view features";
2781const char kExperimentalInputViewFeaturesDescription[] =
2782 "Enable experimental features for IME input views.";
2783
2784const char kFileManagerTouchModeName[] = "Files App. touch mode";
2785const char kFileManagerTouchModeDescription[] =
2786 "Touchscreen-specific interactions of the Files app.";
2787
2788const char kFirstRunUiTransitionsName[] =
2789 "Animated transitions in the first-run tutorial";
2790const char kFirstRunUiTransitionsDescription[] =
2791 "Transitions during first-run tutorial are animated.";
2792
Brett Wilson7b44537e2017-08-18 01:38:282793const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2794const char kForceEnableStylusToolsDescription[] =
2795 "Forces display of the stylus tools menu in the shelf and the stylus "
2796 "section in settings, even if there is no attached stylus device.";
2797
2798const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2799const char kGestureEditingDescription[] =
2800 "Enable/Disable gesture editing option in the settings page for the "
2801 "virtual keyboard.";
2802
2803const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2804const char kGestureTypingDescription[] =
2805 "Enable/Disable gesture typing option in the settings page for the virtual "
2806 "keyboard.";
2807
2808const char kInputViewName[] = "Input views";
2809const char kInputViewDescription[] =
2810 "Enable IME extensions to supply custom views for user input such as "
2811 "virtual keyboards.";
2812
Megumi Hattori5a0d4182018-03-06 11:09:502813const char kLockScreenNotificationName[] = "Lock screen notification";
2814const char kLockScreenNotificationDescription[] =
2815 "Enable notifications on the lock screen.";
2816
Brett Wilson7b44537e2017-08-18 01:38:282817const char kMemoryPressureThresholdName[] =
2818 "Memory discard strategy for advanced pressure handling";
2819const char kMemoryPressureThresholdDescription[] =
2820 "Memory discarding strategy to use";
2821const char kConservativeThresholds[] =
2822 "Conservative memory pressure release strategy";
2823const char kAggressiveCacheDiscardThresholds[] =
2824 "Aggressive cache release strategy";
2825const char kAggressiveTabDiscardThresholds[] =
2826 "Aggressive tab release strategy";
2827const char kAggressiveThresholds[] =
2828 "Aggressive tab and cache release strategy";
2829
2830const char kMtpWriteSupportName[] = "MTP write support";
2831const char kMtpWriteSupportDescription[] =
2832 "MTP write support in File System API (and file manager). In-place editing "
2833 "operations are not supported.";
2834
2835const char kMultideviceName[] = "Enable multidevice features";
2836const char kMultideviceDescription[] =
2837 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342838
Kyle Horimoto027590fb2018-02-13 22:19:482839const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2840const char kMultiDeviceApiDescription[] =
2841 "Enable Mojo-based API which provides synced device metadata and the "
2842 "ability to connect to other devices associated the logged-in Google "
2843 "account.";
2844
Bailey Berrodca8eeca02017-11-18 00:49:122845const char kNativeSmbName[] = "Native Smb Client";
2846const char kNativeSmbDescription[] =
2847 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302848
vabr0215a8e2017-03-28 12:47:342849const char kNetworkPortalNotificationName[] =
2850 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342851const char kNetworkPortalNotificationDescription[] =
2852 "If enabled, notification is displayed when device is connected to a "
2853 "network behind captive portal.";
2854
Steven Bennetts77b67972017-12-14 19:38:322855const char kDisableNetworkSettingsConfigName[] =
2856 "Disable Settings based Network Configuration";
2857const char kDisableNetworkSettingsConfigDescription[] =
2858 "Disables the Settings based network configuration UI and restores the "
2859 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242860
Brett Wilson7b44537e2017-08-18 01:38:282861const char kNewKoreanImeName[] = "New Korean IME";
2862const char kNewKoreanImeDescription[] =
2863 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342864
Brett Wilson7b44537e2017-08-18 01:38:282865const char kNewZipUnpackerName[] = "New ZIP unpacker";
2866const char kNewZipUnpackerDescription[] =
2867 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342868
Brett Wilson7b44537e2017-08-18 01:38:282869const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2870const char kPhysicalKeyboardAutocorrectDescription[] =
2871 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2872 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342873
2874const char kPrinterProviderSearchAppName[] =
2875 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342876const char kPrinterProviderSearchAppDescription[] =
2877 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192878 "searches Chrome Web Store for extensions that support printing to a USB "
2879 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342880
Brett Wilson7b44537e2017-08-18 01:38:282881const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2882const char kQuickUnlockPinDescription[] =
2883 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2884 "device on the lock screen after you have signed into your device.";
2885const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2886const char kQuickUnlockPinSigninDescription[] =
2887 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2888 "device. After changing this flag PIN needs to be set up again.";
2889const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2890const char kQuickUnlockFingerprintDescription[] =
2891 "Enabling fingerprint quick unlock allows you to setup and use a "
2892 "fingerprint to unlock your Chromebook on the lock screen after you have "
2893 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342894
Brett Wilson7b44537e2017-08-18 01:38:282895const char kOfficeEditingComponentAppName[] =
2896 "Office Editing for Docs, Sheets & Slides";
2897const char kOfficeEditingComponentAppDescription[] =
2898 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072899
James Cook0ba192bf2017-12-01 20:53:112900const char kShowTapsName[] = "Show taps";
2901const char kShowTapsDescription[] =
2902 "Draws a circle at each touch point, which makes touch points more obvious "
2903 "when projecting or mirroring the display. Similar to the Android OS "
2904 "developer option.";
2905
2906const char kShowTouchHudName[] = "Show HUD for touch points";
2907const char kShowTouchHudDescription[] =
2908 "Shows a trail of colored dots for the last few touch points. Pressing "
2909 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2910 "debug hardware issues that generate spurious touch events.";
2911
Chung-Sheng Wu468b0b32017-09-01 14:41:572912const char kSysInternalsName[] = "Enable Sys-Internals";
2913const char kSysInternalsDescription[] =
2914 "If enabled, user can monitor system information at "
2915 "chrome://sys-internals.";
2916
Brett Wilson7b44537e2017-08-18 01:38:282917const char kTeamDrivesName[] = "Enable Team Drives Integration";
2918const char kTeamDrivesDescription[] =
2919 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342920
Brett Wilson7b44537e2017-08-18 01:38:282921const char kTetherName[] = "Instant Tethering";
2922const char kTetherDescription[] =
2923 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2924 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372925
Brett Wilson7b44537e2017-08-18 01:38:282926const char kTouchscreenCalibrationName[] =
2927 "Enable/disable touchscreen calibration option in material design settings";
2928const char kTouchscreenCalibrationDescription[] =
2929 "If enabled, the user can calibrate the touch screen displays in "
2930 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092931
Mitsuru Oshima63d3f2a2017-08-23 00:12:112932// Force UI Mode
2933const char kUiModeName[] = "Force Ui Mode";
2934const char kUiModeDescription[] =
2935 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2936 R"*(despite its current orientation. "Tablet" means that the )*"
2937 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2938 R"*(means that the chromebook will act as if it were in clamshell )*"
2939 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2940 R"*(the two, based on its orientation.)*";
2941const char kUiModeTablet[] = "TouchView";
2942const char kUiModeClamshell[] = "Clamshell";
2943const char kUiModeAuto[] = "Auto (default)";
2944
bruthigeafb0c02017-06-09 13:11:532945const char kUiDevToolsName[] = "Enable native UI inspection";
2946const char kUiDevToolsDescription[] =
2947 "Enables inspection of native UI elements. For local inspection use "
2948 "chrome://inspect#other";
2949
James Cooka1bcfa9a2018-01-30 00:18:402950const char kUseMashName[] = "Out-of-process system UI (mash)";
2951const char kUseMashDescription[] =
2952 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2953 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282954
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342955// TODO(mcasas): remove after https://crbug.com/771345.
2956const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2957const char kUseMonitorColorSpaceDescription[] =
2958 "Enables Chrome to use the color space information provided by the monitor"
2959 " instead of the default sRGB color space.";
2960
Brett Wilson7b44537e2017-08-18 01:38:282961const char kVideoPlayerChromecastSupportName[] =
2962 "Experimental Chromecast support for Video Player";
2963const char kVideoPlayerChromecastSupportDescription[] =
2964 "This option enables experimental Chromecast support for Video Player app "
2965 "on ChromeOS.";
2966
2967const char kVirtualKeyboardName[] = "Virtual Keyboard";
2968const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2969
2970const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2971const char kVirtualKeyboardOverscrollDescription[] =
2972 "Enables virtual keyboard overscroll support.";
2973
2974const char kVoiceInputName[] = "Voice input on virtual keyboard";
2975const char kVoiceInputDescription[] =
2976 "Enables voice input on virtual keyboard.";
2977
2978const char kWakeOnPacketsName[] = "Wake On Packets";
2979const char kWakeOnPacketsDescription[] =
2980 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202981
Weidong Guo7ae47532018-04-05 21:30:372982const char kEnableHomeLauncherName[] = "Enable home launcher";
2983const char kEnableHomeLauncherDescription[] =
2984 "Enable home launcher in tablet mode.";
2985
wutao7bfb1f22018-04-19 01:30:582986const char kEnableSettingsShortcutSearchName[] =
2987 "Enable Settings shortcut search";
2988const char kEnableSettingsShortcutSearchDescription[] =
2989 "Enable Settings shortcut search in launcher.";
2990
yhanadac5bff5b2017-05-18 06:37:092991#endif // defined(OS_CHROMEOS)
2992
Brett Wilson7b44537e2017-08-18 01:38:282993// Random platform combinations -----------------------------------------------
2994
2995#if defined(OS_WIN) || defined(OS_LINUX)
2996
2997const char kEnableInputImeApiName[] = "Enable Input IME API";
2998const char kEnableInputImeApiDescription[] =
2999 "Enable the use of chrome.input.ime API.";
3000
Tom Anderson6cbd5052018-05-03 23:49:543001#if !defined(OS_CHROMEOS)
3002
3003const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3004const char kWarnBeforeQuittingFlagDescription[] =
3005 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3006
3007#endif // !defined(OS_CHROMEOS)
3008
Brett Wilson7b44537e2017-08-18 01:38:283009#endif // defined(OS_WIN) || defined(OS_LINUX)
3010
3011#if defined(OS_WIN) || defined(OS_MACOSX)
3012
3013const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3014const char kAutomaticTabDiscardingDescription[] =
3015 "If enabled, tabs get automatically discarded from memory when the system "
3016 "memory is low. Discarded tabs are still visible on the tab strip and get "
3017 "reloaded when clicked on. Info about discarded tabs can be found at "
3018 "chrome://discards.";
3019
3020#endif // defined(OS_WIN) || defined(OS_MACOSX)
3021
3022// Feature flags --------------------------------------------------------------
3023
3024#if BUILDFLAG(ENABLE_VR)
3025
David Dorwin5a496c32017-11-17 01:45:053026const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3027const char kWebVrVsyncAlignDescription[] =
3028 "Align WebVR application rendering with VSync for smoother animations.";
3029
Brett Wilson7b44537e2017-08-18 01:38:283030#if defined(OS_ANDROID)
3031
Yash Malikb78e72a72018-02-21 09:14:103032const char kVrWebInputEditingName[] = "VR browsing web input editing";
3033const char kVrWebInputEditingDescription[] =
3034 "Allow editing web input fields while in VR mode.";
3035
David Dorwin5a496c32017-11-17 01:45:053036const char kVrBrowsingExperimentalFeaturesName[] =
3037 "VR browsing experimental features";
3038const char kVrBrowsingExperimentalFeaturesDescription[] =
3039 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283040
David Dorwin5a496c32017-11-17 01:45:053041const char kVrBrowsingExperimentalRenderingName[] =
3042 "VR browsing experimental rendering features";
3043const char kVrBrowsingExperimentalRenderingDescription[] =
3044 "Experimental rendering features for VR browsing (e.g. power-saving "
3045 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103046
David Dorwin5a496c32017-11-17 01:45:053047const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3048const char kVrBrowsingInCustomTabDescription[] =
3049 "Allow browsing within a VR headset while in a Custom Tab.";
3050
Michael Thiessen37895912018-01-19 20:15:543051const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3052const char kVrIconInDaydreamHomeDescription[] =
3053 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3054
David Dorwin5a496c32017-11-17 01:45:053055const char kWebVrAutopresentFromIntentName[] =
3056 "WebVR auto presentation from intents";
3057const char kWebVrAutopresentFromIntentDescription[] =
3058 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283059
3060#endif // OS_ANDROID
3061
Bill Orr103ed272018-02-14 21:23:053062#if BUILDFLAG(ENABLE_OCULUS_VR)
3063const char kOculusVRName[] = "Oculus hardware support";
3064const char kOculusVRDescription[] =
3065 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3066 "Windows 10 or later).";
3067#endif // ENABLE_OCULUS_VR
3068
Bill Orr49527562017-11-22 16:58:483069#if BUILDFLAG(ENABLE_OPENVR)
3070const char kOpenVRName[] = "OpenVR hardware support";
3071const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073072 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3073 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483074#endif // ENABLE_OPENVR
3075
Brett Wilson7b44537e2017-08-18 01:38:283076#endif // ENABLE_VR
3077
Nico Weberaf3b00b2017-09-11 17:58:173078#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283079
3080const char kNaclDebugMaskName[] =
3081 "Restrict Native Client GDB-based debugging by pattern";
3082const char kNaclDebugMaskDescription[] =
3083 "Restricts Native Client application GDB-based debugging by URL of "
3084 "manifest file. Native Client GDB-based debugging must be enabled for this "
3085 "option to work.";
3086const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3087const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3088 "Debug everything except secure shell and the PNaCl translator.";
3089const char kNaclDebugMaskChoiceIncludeDebug[] =
3090 "Debug only if manifest URL ends with debug.nmf.";
3091
3092const char kNaclDebugName[] = "Native Client GDB-based debugging";
3093const char kNaclDebugDescription[] =
3094 "Enable GDB debug stub. This will stop a Native Client application on "
3095 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3096
3097const char kNaclName[] = "Native Client";
3098const char kNaclDescription[] =
3099 "Support Native Client for all web applications, even those that were not "
3100 "installed from the Chrome Web Store.";
3101
3102const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3103const char kPnaclSubzeroDescription[] =
3104 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3105
Nico Weberaf3b00b2017-09-11 17:58:173106#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283107
Brett Wilson7b44537e2017-08-18 01:38:283108#if BUILDFLAG(ENABLE_WEBRTC)
3109
3110const char kWebrtcH264WithOpenh264FfmpegName[] =
3111 "WebRTC H.264 software video encoder/decoder";
3112const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3113 "When enabled, an H.264 software video encoder/decoder pair is included. "
3114 "If a hardware encoder/decoder is also available it may be used instead of "
3115 "this encoder/decoder.";
3116
3117#endif // BUILDFLAG(ENABLE_WEBRTC)
3118
James Cookf9d34d22017-10-04 16:39:353119#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283120
Wenzhao Zang50fb0b22017-11-07 01:38:423121const char kAshDisableLoginDimAndBlurName[] =
3122 "Disable dimming and blur on login screen.";
3123const char kAshDisableLoginDimAndBlurDescription[] =
3124 "Disable dimming and blur on login screen.";
3125
Brett Wilson7b44537e2017-08-18 01:38:283126const char kAshDisableSmoothScreenRotationName[] =
3127 "Disable smooth rotation animations.";
3128const char kAshDisableSmoothScreenRotationDescription[] =
3129 "Disable smooth rotation animations.";
3130
Qiang Xub7e921072017-12-07 21:02:113131const char kAshEnableDisplayMoveWindowAccelsName[] =
3132 "Enable shortcuts for moving window between displays.";
3133const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3134 "Enable shortcuts for moving window between displays.";
3135
wutaoc70d7b92017-11-01 08:06:013136const char kAshEnableKeyboardShortcutViewerName[] =
3137 "Enable keyboard shortcut viewer.";
3138const char kAshEnableKeyboardShortcutViewerDescription[] =
3139 "Enable keyboard shortcut viewer.";
3140
Brett Wilson7b44537e2017-08-18 01:38:283141const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3142const char kAshEnableMirroredScreenDescription[] =
3143 "Enable the mirrored screen mode. This mode flips the screen image "
3144 "horizontally.";
3145
Sammie Quon4e14214d2018-01-30 22:45:243146const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3147const char kAshEnableNewOverviewUiDescription[] =
3148 "Enables the new overview mode UI.";
3149
wutaod9cbcd32018-02-17 02:31:063150const char kAshEnableNewOverviewAnimationsName[] =
3151 "Enable new overview animations.";
3152const char kAshEnableNewOverviewAnimationsDescription[] =
3153 "Enables the new overview mode animations.";
3154
Qiang Xufa19cfd2018-01-29 19:36:503155const char kAshEnablePersistentWindowBoundsName[] =
3156 "Enable persistent window bounds in multi-displays scenario.";
3157const char kAshEnablePersistentWindowBoundsDescription[] =
3158 "Enable persistent window bounds in multi-displays scenario.";
3159
wutaoc5062be2018-03-16 02:16:233160const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3161const char kAshEnableTrilinearFilteringDescription[] =
3162 "Enable trilinear filtering.";
3163
Brett Wilson7b44537e2017-08-18 01:38:283164const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3165const char kAshShelfColorDescription[] =
3166 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3167 "--ash-shelf-color-scheme flag defines how that color is derived.";
3168
3169const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3170const char kAshShelfColorSchemeDescription[] =
3171 "Specify how the color is derived from the wallpaper. This flag is only "
3172 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3173const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3174const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3175const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3176const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3177const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3178const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3179
Wenzhao Zang06a28872018-02-23 04:01:353180const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3181const char kEnableNewWallpaperPickerDescription[] =
3182 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3183
Brett Wilson7b44537e2017-08-18 01:38:283184const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373185 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283186const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3187 "Sets the speed of the experimental visual feedback animations for "
3188 "material design.";
3189const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3190const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3191
3192const char kUiShowCompositedLayerBordersName[] =
3193 "Show UI composited layer borders";
3194const char kUiShowCompositedLayerBordersDescription[] =
3195 "Show border around composited layers created by UI.";
3196const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3197const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3198const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3199const char kUiShowCompositedLayerBordersAll[] = "All";
3200
3201const char kUiSlowAnimationsName[] = "Slow UI animations";
3202const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3203
James Cookf9d34d22017-10-04 16:39:353204#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283205
Brett Wilson7b44537e2017-08-18 01:38:283206#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3207
3208const char kAutofillCreditCardUploadName[] =
3209 "Enable offering upload of Autofilled credit cards";
3210const char kAutofillCreditCardUploadDescription[] =
3211 "Enables a new option to upload credit cards to Google Payments for sync "
3212 "to all Chrome devices.";
3213
3214#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3215
Becca Hughesdc96e842018-05-04 22:48:283216#if defined(OS_ANDROID)
3217
3218const char kDisplayCutoutAPIName[] =
3219 "Enable support for the Display Cutout API";
3220const char kDisplayCutoutAPIDescription[] =
3221 "Enables developers to support devices that have a display cutout.";
3222
3223#endif // defined(OS_ANDROID)
3224
Brett Wilson7b44537e2017-08-18 01:38:283225// ============================================================================
3226// Don't just add flags to the end, put them in the right section in
3227// alphabetical order just like the header file.
3228// ============================================================================
3229
vabr0215a8e2017-03-28 12:47:343230} // namespace flag_descriptions