blob: 8cb64cf5009e6a54985a71075cbbef412a52491b [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
Brett Wilsonf27ff602017-07-07 22:28:4758const char kAutoplayPolicyName[] = "Autoplay policy";
59const char kAutoplayPolicyDescription[] =
60 "Policy used when deciding if audio or video is allowed to autoplay.";
61
62const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
63 "User gesture is required for cross-origin iframes.";
64const char kAutoplayPolicyNoUserGestureRequired[] =
65 "No user gesture is required.";
66const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
67const char kAutoplayPolicyDocumentUserActivation[] =
68 "Document user activation is required.";
69
Johanne0cc6902017-11-16 00:23:5070extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
71extern const char kAv1DecoderDescription[] =
72 "Allow decoding of files with the AV1 video codec.";
73
Brett Wilsonf27ff602017-07-07 22:28:4774const char kBackgroundVideoTrackOptimizationName[] =
75 "Optimize background video playback.";
76const char kBackgroundVideoTrackOptimizationDescription[] =
77 "Disable video tracks when the video is played in the background to "
78 "optimize performance.";
79
80const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
81const char kBleAdvertisingInExtensionsDescription[] =
82 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
83 "with regular use of Bluetooth Low Energy features.";
84
Charles Harrisond629cc62017-10-05 01:39:5485const char kBlockTabUndersName[] = "Block tab-unders";
86const char kBlockTabUndersDescription[] =
87 "Blocks tab-unders in Chrome with some native UI to allow the user to "
88 "proceed.";
89
arthursonzognif2bc2d202017-11-08 11:01:0290const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
91const char kNavigationMojoResponseDescription[] =
92 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
93 "the body of the main resource to the renderer process. This flag replaces "
94 "this mechanism by using a Mojo DataPipe.";
95
Brett Wilsonf27ff602017-07-07 22:28:4796const char kBrowserTaskSchedulerName[] = "Task Scheduler";
97const char kBrowserTaskSchedulerDescription[] =
98 "Enables redirection of some task posting APIs to the task scheduler.";
99
Carlos IL766fbc882018-02-16 02:34:52100const char kBundledConnectionHelpName[] = "Bundled Connection Help";
101const char kBundledConnectionHelpDescription[] =
102 "Enables or disables redirecting users who get an interstitial when "
103 "accessing https://support.google.com/chrome/answer/6098869 to local "
104 "connection help content.";
105
Brett Wilsonf27ff602017-07-07 22:28:47106const char kBypassAppBannerEngagementChecksName[] =
107 "Bypass user engagement checks";
108const char kBypassAppBannerEngagementChecksDescription[] =
109 "Bypasses user engagement checks for displaying app banners, such as "
110 "requiring that users have visited the site before and that the banner "
111 "hasn't been shown recently. This allows developers to test that other "
112 "eligibility requirements for showing app banners, such as having a "
113 "manifest, are met.";
114
Lucas Garronb9539b732017-10-31 00:22:09115const char kCommittedInterstitialsName[] = "Committed Interstitials";
116const char kCommittedInterstitialsDescription[] =
117 "Use committed error pages instead of transient navigation entries "
118 "for interstitial error pages (e.g. certificate errors).";
119
Brett Wilsonf27ff602017-07-07 22:28:47120const char kCastStreamingHwEncodingName[] =
121 "Cast Streaming hardware video encoding";
122const char kCastStreamingHwEncodingDescription[] =
123 "This option enables support in Cast Streaming for encoding video streams "
124 "using platform hardware.";
125
Amber Won478561d2017-08-19 01:02:59126const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
127const char kClickToOpenPDFDescription[] =
128 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
129 "embedded PDFs.";
130
Gary Kacmarcikfb69b212017-11-14 03:41:08131const char kClipboardContentSettingName[] = "Clipboard content setting";
132const char kClipboardContentSettingDescription[] =
133 "Enables a site-wide permission in the UI which controls access to the "
134 "asynchronous clipboard web API";
135
Brett Wilsonf27ff602017-07-07 22:28:47136const char kCloudImportName[] = "Cloud Import";
137const char kCloudImportDescription[] = "Allows the cloud-import feature.";
138
Christopher Cameronceb8727d2017-09-07 23:53:16139const char kForceColorProfileSRGB[] = "sRGB";
140const char kForceColorProfileP3[] = "Display P3 D65";
141const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
142const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
143
144const char kForceColorProfileName[] = "Force color profile";
145const char kForceColorProfileDescription[] =
146 "Forces Chrome to use a specific color profile instead of the color "
147 "of the window's current monitor, as specified by the operating system.";
148
Brett Wilsonf27ff602017-07-07 22:28:47149const char kCompositedLayerBordersName[] = "Composited render layer borders";
150const char kCompositedLayerBordersDescription[] =
151 "Renders a border around composited Render Layers to help debug and study "
152 "layer compositing.";
153
Theresa Wellington39f634e12018-01-17 01:42:51154const char kContextualSuggestionsAboveArticlesName[] =
155 "Enable Contextual Suggestions Above Articles";
156const char kContextualSuggestionsAboveArticlesDescription[] =
157 "If enabled, shows contextual suggestions in a linear list above "
158 "article suggestions.";
159
Brett Wilsonf27ff602017-07-07 22:28:47160const char kContextualSuggestionsCarouselName[] =
Theresa Wellington39f634e12018-01-17 01:42:51161 "Enable Contextual Suggestions Carousel";
Brett Wilsonf27ff602017-07-07 22:28:47162const char kContextualSuggestionsCarouselDescription[] =
163 "If enabled, shows contextual suggestions in a horizontal carousel in "
164 "bottom sheet content.";
165
166const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
167const char kCreditCardAssistDescription[] =
168 "Enable assisted credit card filling on certain sites.";
169
170const char kCrossProcessGuestViewIsolationName[] =
171 "Cross process frames for guests";
172const char kCrossProcessGuestViewIsolationDescription[] =
173 "Highly experimental where guests such as <webview> are implemented on "
174 "the out-of-process iframe infrastructure.";
175
Thanh Le659cb102017-12-20 22:00:19176const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
177const char kDataSaverServerPreviewsDescription[] =
178 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47179
180const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
181const char kDatasaverPromptDescription[] =
182 "Enables a prompt, which appears when a cellular network connection is "
183 "detected, to take the user to the Data Saver extension page on Chrome Web "
184 "Store.";
185const char kDatasaverPromptDemoMode[] = "Demo mode";
186
187const char kDebugPackedAppName[] = "Debugging for packed apps";
188const char kDebugPackedAppDescription[] =
189 "Enables debugging context menu options such as Inspect Element for packed "
190 "applications.";
191
192const char kDefaultTileHeightName[] = "Default tile height";
193const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
194const char kDefaultTileHeightShort[] = "128";
195const char kDefaultTileHeightTall[] = "256";
196const char kDefaultTileHeightGrande[] = "512";
197const char kDefaultTileHeightVenti[] = "1024";
198
199const char kDefaultTileWidthName[] = "Default tile width";
200const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
201const char kDefaultTileWidthShort[] = "128";
202const char kDefaultTileWidthTall[] = "256";
203const char kDefaultTileWidthGrande[] = "512";
204const char kDefaultTileWidthVenti[] = "1024";
205
206const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
207const char kDebugShortcutsDescription[] =
208 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
209
210const char kDeviceDiscoveryNotificationsName[] =
211 "Device Discovery Notifications";
212const char kDeviceDiscoveryNotificationsDescription[] =
213 "Device discovery notifications on local network.";
214
215const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
216const char kDevtoolsExperimentsDescription[] =
217 "Enables Developer Tools experiments. Use Settings panel in Developer "
218 "Tools to toggle individual experiments.";
219
220const char kDisableAudioForDesktopShareName[] =
221 "Disable Audio For Desktop Share";
222const char kDisableAudioForDesktopShareDescription[] =
223 "With this flag on, desktop share picker window will not let the user "
224 "choose whether to share audio.";
225
Brett Wilsonf27ff602017-07-07 22:28:47226const char kDisableTabForDesktopShareName[] =
227 "Disable Desktop Share with tab source";
228const char kDisableTabForDesktopShareDescription[] =
229 "This flag controls whether users can choose a tab for desktop share.";
230
231const char kDisallowDocWrittenScriptsUiName[] =
232 "Block scripts loaded via document.write";
233const char kDisallowDocWrittenScriptsUiDescription[] =
234 "Disallows fetches for third-party parser-blocking scripts inserted into "
235 "the main frame via document.write.";
236
Brett Wilsonf27ff602017-07-07 22:28:47237const char kDistanceFieldTextName[] = "Distance field text";
238const char kDistanceFieldTextDescription[] =
239 "Text is rendered with signed distance fields rather than bitmap alpha "
240 "masks.";
241
242const char kDriveSearchInChromeLauncherName[] =
243 "Drive Search in Chrome App Launcher";
244const char kDriveSearchInChromeLauncherDescription[] =
245 "Files from Drive will show up when searching the Chrome App Launcher.";
246
Brett Wilsonf27ff602017-07-07 22:28:47247const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
248 "Smart Lock Bluetooth Low Energy Discovery";
249const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07250 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47251 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
252 "phone is in its proximity.";
253
Gustavo Sacomotofb11164f2017-07-21 12:56:18254const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
255const char kEasyUnlockPromotionsDescription[] =
256 "Enables Smart Lock promotions. Promotions will be periodically display "
257 "if the user is eligible.";
258
Brett Wilsonf27ff602017-07-07 22:28:47259const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
260const char kEmbeddedExtensionOptionsDescription[] =
261 "Display extension options as an embedded element in chrome://extensions "
262 "rather than opening a new tab.";
263
264const char kEnableAsmWasmName[] =
265 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
266const char kEnableAsmWasmDescription[] =
267 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
268 R"*(WebAssembly.)*";
269
Shanfeng Zhang19c16562017-10-17 02:30:40270const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
271 "Credit card autofill ablation experiment.";
272const char kEnableAutofillCreditCardAblationExperimentDescription[] =
273 "If enabled, credit card autofill suggestions will not display.";
274
Shanfeng Zhang18f58352018-01-05 19:22:49275const char kEnableAutofillCreditCardDropdownGooglePayBrandingName[] =
276 "Show the Google Pay logo in the Autofill credit card dropdown";
277const char kEnableAutofillCreditCardDropdownGooglePayBrandingDescription[] =
278 "If enabled, shows the Google Pay logo in the Autofill credit card "
279 "dropdown.";
280
Brett Wilsonf27ff602017-07-07 22:28:47281const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
282 "Display the last used date of a credit card in autofill.";
283const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
284 "If enabled, display the last used date of a credit card in autofill.";
285
286const char kEnableAutofillCreditCardUploadCvcPromptName[] =
287 "Enable requesting missing CVC during Autofill credit card upload";
288const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
289 "If enabled, requests missing CVC when offering to upload credit cards to "
290 "Google Payments.";
291
Jared Saula3d51862018-01-12 02:51:09292const char kEnableAutofillCreditCardUploadGooglePayBrandingName[] =
Jared Saul8d2fb4442018-01-22 21:20:16293 "Enable Google Pay branding when offering credit card upload";
Jared Saula3d51862018-01-12 02:51:09294const char kEnableAutofillCreditCardUploadGooglePayBrandingDescription[] =
Jared Saul8d2fb4442018-01-22 21:20:16295 "If enabled, shows the Google Pay logo, a shorter header message, and a "
296 "narrower dialog when credit card upload to Google Payments is offered.";
Jared Saula3d51862018-01-12 02:51:09297
Jared Saul1e4786a2017-12-14 01:43:09298const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
299 "Always send metadata on detected form values for Autofill credit card "
300 "upload";
301const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
302 "If enabled, always checks with Google Payments when deciding whether to "
303 "offer credit card upload, even if some data is missing.";
304
Jared Saul5c2a1482017-12-09 00:24:31305const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
306 "Send first six digits of PAN when deciding whether to offer Autofill "
307 "credit card upload";
308const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
309 "If enabled, when deciding whether to offer credit card upload to Google "
310 "Payments, sends the first six digits of the card number to avoid cases "
311 "where card upload is likely to fail.";
312
Jason Guo71f621e2017-10-13 04:18:53313const char kEnableAutofillSendBillingCustomerNumberName[] =
314 "Enable autofill sending billing customer number when calling Google "
315 "Payments";
316const char kEnableAutofillSendBillingCustomerNumberDescription[] =
317 "If enabled, autofill sends billing customer number when calling Google "
318 "Payments.";
319
Shanfeng Zhang18f58352018-01-05 19:22:49320const char kEnableAutofillUseNewSettingsNameInDropdownName[] =
321 "Show a new Autofill settings string in the Autofill dropdown";
322const char kEnableAutofillUseNewSettingsNameInDropdownDescription[] =
323 "If enabled, shows a new Autofill settings string in the Autofill "
324 "dropdown.";
325
tmartinocd414732018-02-12 19:01:01326const char kEnableAutofillNativeDropdownViewsName[] =
327 "Display Autofill Dropdown Using Views";
328const char kEnableAutofillNativeDropdownViewsDescription[] =
329 "If enabled, the Autofill Dropdown will be built natively using Views, "
330 "rather than painted directly to a canvas.";
331
Vitalii Iarko4f9834ce2017-08-04 07:05:19332const char kEnableBreakingNewsPushName[] = "Breaking News Push";
333const char kEnableBreakingNewsPushDescription[] =
334 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
335 "through Google Cloud Messaging.";
336
Brett Wilsonf27ff602017-07-07 22:28:47337const char kEnableBrotliName[] = "Brotli Content-Encoding.";
338const char kEnableBrotliDescription[] =
339 "Enable Brotli Content-Encoding support.";
340
Qiang Xu0f602fe62017-12-22 01:31:20341const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
342const char kEnableCaptivePortalRandomUrlDescription[] =
343 "Enable Captive Portal URL randomization.";
344
sclittle50e4bb92017-07-08 02:23:03345const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
346
347const char kEnableClientLoFiDescription[] =
348 "Enable showing low fidelity images on some pages on slow networks.";
349
Doug Arnett08b4067b2017-10-12 20:14:44350const char kEnableNoScriptPreviewsName[] = "NoScript previews";
351
352const char kEnableNoScriptPreviewsDescription[] =
353 "Enable disabling JavaScript on some pages on slow networks.";
354
Thanh Le2c279fbc2017-11-21 01:25:40355const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
356const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
357const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
358const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
359const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
360const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
361const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
362const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
363const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
364const char kDataReductionProxyServerAlternative10[] =
365 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47366const char kEnableDataReductionProxyServerExperimentName[] =
367 "Use an alternative Data Saver back end configuration.";
368const char kEnableDataReductionProxyServerExperimentDescription[] =
369 "Enable a different approach to saving data by configuring the back end "
370 "server";
371
372const char kEnableDataReductionProxySavingsPromoName[] =
373 "Data Saver 1 MB Savings Promo";
374const char kEnableDataReductionProxySavingsPromoDescription[] =
375 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
376 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
377 "enabled for the promo to be shown.";
378
Matt Giucad4870432017-11-24 01:04:38379const char kEnableDesktopPWAsName[] = "Desktop PWAs";
380const char kEnableDesktopPWAsDescription[] =
381 "Experimental windowing and install banner treatment for Progressive Web "
382 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17383
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59384const char kEnableDesktopPWAsLinkCapturingName[] =
385 "Desktop PWAs Link Capturing";
386const char kEnableDesktopPWAsLinkCapturingDescription[] =
387 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
388 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
389 "#enable-desktop-pwas.";
390
Ahmed Fakhry0037de02018-01-29 19:58:31391const char kEnableDockedMagnifierName[] = "Docked Magnifier";
392const char kEnableDockedMagnifierDescription[] =
393 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
394
Brett Wilsonf27ff602017-07-07 22:28:47395const char kEnableEnumeratingAudioDevicesName[] =
396 "Experimentally enable enumerating audio devices.";
397const char kEnableEnumeratingAudioDevicesDescription[] =
398 "Experimentally enable the use of enumerating audio devices.";
399
400const char kEnableGenericSensorName[] = "Generic Sensor";
401const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25402 "Enables motion sensor classes based on Generic Sensor API, i.e. "
403 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
404 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
405
406const char kEnableGenericSensorExtraClassesName[] =
407 "Generic Sensor Extra Classes";
408const char kEnableGenericSensorExtraClassesDescription[] =
409 "Enables an extra set of sensor classes based on Generic Sensor API, which "
410 "expose previously unavailable platform features, i.e. AmbientLightSensor "
411 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47412
Brett Wilsonf27ff602017-07-07 22:28:47413const char kEnableHDRName[] = "HDR mode";
414const char kEnableHDRDescription[] =
415 "Enables HDR support on compatible displays.";
416
417const char kEnableHeapProfilingName[] = "Heap profiling";
418const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
419const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
420const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
421const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
422
423const char kEnableHttpFormWarningName[] =
424 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15425 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47426const char kEnableHttpFormWarningDescription[] =
427 "Attaches a warning UI to any password or credit card fields detected when "
428 "the top-level page is not HTTPS";
429
Sidney San Martín9375b892017-09-09 00:29:54430const char kEnableMacMaterialDesignDownloadShelfName[] =
431 "Enable Material Design download shelf";
432
433const char kEnableMacMaterialDesignDownloadShelfDescription[] =
434 "If enabled, the download shelf uses Material Design.";
435
Tatiana Gornakafb40452017-07-31 13:50:04436const char kEnableManualFallbacksFillingName[] =
437 "Manual fallbacks for password manager forms filling";
438const char kEnableManualFallbacksFillingDescription[] =
439 "If enabled, then if user clicks on the password field on a form, popup "
440 "might contain generation fallbacks or 'Show all saved passwords' "
441 "fallback.";
442
vabr0215a8e2017-03-28 12:47:34443const char kEnableMaterialDesignBookmarksName[] =
444 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34445const char kEnableMaterialDesignBookmarksDescription[] =
446 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
447 "bookmarks page.";
448
vabr0215a8e2017-03-28 12:47:34449const char kEnableMaterialDesignExtensionsName[] =
450 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34451const char kEnableMaterialDesignExtensionsDescription[] =
452 "If enabled, the chrome://extensions/ URL loads the Material Design "
453 "extensions page.";
454
Anton Urusov47cd4932017-09-19 14:41:41455const char kEnablePolicyToolName[] = "Enable policy management page";
456const char kEnablePolicyToolDescription[] =
457 "If enabled, the chrome://policy-tool URL loads a page for managing "
458 "policies.";
459
Tsuyoshi Horoea7edb72017-11-12 04:14:00460const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
461const char kEnablePWAFullCodeCacheDescription[] =
462 "Generate V8 code cache in Cache Storage while installing Service Worker "
463 "for PWAs.";
464
Weidong Guof1e5a892018-01-06 02:26:39465const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28466 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39467const char kDisableMultiMirroringDescription[] =
468 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28469
Brett Wilsonf27ff602017-07-07 22:28:47470const char kEnableNavigationTracingName[] = "Enable navigation tracing";
471const char kEnableNavigationTracingDescription[] =
472 "This is to be used in conjunction with the trace-upload-url flag. "
473 "WARNING: When enabled, Chrome will record performance data for every "
474 "navigation and upload it to the URL specified by the trace-upload-url "
475 "flag. The trace may include personally identifiable information (PII) "
476 "such as the titles and URLs of websites you visit.";
477
Bernhard Bauer5533f9912017-11-06 17:56:02478const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
479const char kEnableNetworkLoggingToFileDescription[] =
480 "Enables network logging to a file named netlog.json in the user data "
481 "directory. The file can be imported into chrome://net-internals.";
482
Brett Wilsonf27ff602017-07-07 22:28:47483const char kEnableNetworkServiceName[] = "Enable network service";
484const char kEnableNetworkServiceDescription[] =
485 "Enables the network service, which makes network requests through a "
486 "separate service. Note: most features don't work with this yet.";
487
John Abd-El-Malek8067cc02017-12-04 23:23:20488const char kEnableNetworkServiceInProcessName[] =
489 "Runs network service in-process";
490const char kEnableNetworkServiceInProcessDescription[] =
491 "Runs the network service in the browser process.";
492
dpapaded8349472017-10-25 03:21:27493const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
494const char kEnableNewPrintPreviewDescription[] =
495 "If enabled, Print Preview will display a newer UI";
496
Ahmed Fakhry2fd8fc82017-07-28 16:31:12497const char kEnableNightLightName[] = "Enable Night Light";
498const char kEnableNightLightDescription[] =
499 "Enable the Night Light feature which controls the color temperature of "
500 "the screen.";
501
xlou8b56f672018-02-09 23:34:30502const char kEnableNupPrintingName[] = "Enable N-up printing";
503const char kEnableNupPrintingDescription[] =
504 "Enable N-up printing in the print preview panel.";
505
Sophie Chang117a3b22017-10-24 22:25:36506const char kEnableOptimizationHintsName[] = "Optimization Hints";
507const char kEnableOptimizationHintsDescription[] =
508 "Enable the Optimization Hints feature which incorporates server hints"
509 "into decisions for what optimizations to perform on some pages on slow "
510 "networks.";
511
Yutaka Hirano98be3272017-08-07 17:55:39512const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
513const char kEnableOutOfBlinkCORSDescription[] =
514 "CORS handling logic is moved out of blink.";
515
kylechar7051c092018-02-05 20:31:39516const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
517const char kVizDisplayCompositorDescription[] =
518 "If enabled, the display compositor runs as part of the viz service in the"
519 "GPU process.";
520
Ria Jiang6a129b982018-03-01 18:30:40521const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
522const char kVizHitTestDrawQuadDescription[] =
523 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
524 "with hit-test data computed from the CompositorFrame.";
525
Erik Chen49bbfa22017-08-18 08:49:56526const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23527 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56528const char kEnableOutOfProcessHeapProfilingDescription[] =
529 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19530 "malloced objects. Heap dumps can be obtained at chrome://tracing "
531 "[category:memory-infra] and chrome://memory-internals. This setting "
532 "controls which processes are profiled. As long as this setting is not "
533 "disabled, users can start profiling any given process in "
534 "chrome://memory-internals.";
535const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
536const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
537const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
538const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
539const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10540const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19541 "None by default. Visit chrome://memory-internals to choose which "
542 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15543const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
544 "Profile a random sampling of renderer processes, ensuring only one is "
545 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19546
Erik Chen8bb76b52017-12-06 19:06:25547const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19548 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25549const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
550 "By default, small allocations are pruned from the heap dump. This reduces "
551 "the size of the compressed trace by 100x. If pruning is disabled, the "
552 "chrome://tracing UI may be unable to take or load the trace. Save the "
553 "trace directly using chrome://memory-internals, and use other mechanisms "
554 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
555 "automatically uploaded traces will always be pruned. This only affects "
556 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56557
erikchen8bc20d82018-02-14 03:21:51558const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
559const char kOutOfProcessHeapProfilingSamplingDescription[] =
560 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22561 "10000. This results in low noise for large and/or frequent allocations ["
562 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
563 "total size of malloc-ed objects] and large and/or frequent allocations "
564 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51565
Erik Chen3303fd0232018-01-11 20:29:05566const char kOOPHPStackModeName[] =
567 "The type of stack to record for memlog heap dumps";
568const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19569 "By default, memlog heap dumps record native stacks, which requires a "
570 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55571 "pointers to work on Android. Native with thread names will add the thread "
572 "name as the first frame of each native stack. It's also possible to "
573 "record a pseudo stack using trace events as identifiers. It's also "
574 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19575const char kOOPHPStackModeMixed[] = "Mixed";
576const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55577const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19578const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05579
François Beaufort2e75f492018-02-08 20:44:46580const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47581const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46582 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47583
F#m59d036e2017-09-13 07:22:17584const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
585const char kEnablePixelCanvasRecordingDescription[] =
586 "Pixel canvas recording allows the compositor to raster contents aligned "
587 "with the pixel and improves text rendering. This should be enabled when a "
588 "device is using fractional scale factor.";
589
Brett Wilsonf27ff602017-07-07 22:28:47590const char kEnableTokenBindingName[] = "Token Binding.";
591const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
592
Sahel Sharifyd732ab12017-11-29 23:03:16593extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
594 "Wheel Scroll Latching.";
595extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
596 "Wheel scroll latching enforces latching to a single element for the "
597 "duration of a scroll sequence.";
598
Brett Wilsonf27ff602017-07-07 22:28:47599const char kEnableUseZoomForDsfName[] =
600 "Use Blink's zoom for device scale factor.";
601const char kEnableUseZoomForDsfDescription[] =
602 "If enabled, Blink uses its zooming mechanism to scale content for device "
603 "scale factor.";
604const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
605const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
606const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
607
608const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
609const char kEnableScrollAnchoringDescription[] =
610 "Adjusts scroll position to prevent visible jumps when offscreen content "
611 "changes.";
612
Patrick Noland8ee016e2018-01-24 11:44:53613const char kEnableScrollAnchorSerializationName[] =
614 "Scroll Anchor Serialization";
615const char kEnableScrollAnchorSerializationDescription[] =
616 "Save the scroll anchor and use it to restore the scroll position when "
617 "navigating.";
618
Brad Nelson5cd500e2018-01-04 00:50:19619const char kEnableSharedArrayBufferName[] =
620 "Experimental enabled SharedArrayBuffer support in JavaScript.";
621const char kEnableSharedArrayBufferDescription[] =
622 "Enable SharedArrayBuffer support in JavaScript.";
623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kEnableWasmName[] = "WebAssembly structured cloning support.";
625const char kEnableWasmDescription[] =
626 "Enable web pages to use WebAssembly structured cloning.";
627
Brett Wilsonf27ff602017-07-07 22:28:47628const char kEnableImageCaptureAPIName[] = "Image Capture API";
629const char kEnableImageCaptureAPIDescription[] =
630 "Enables the Web Platform Image Capture API: takePhoto(), "
631 "getPhotoCapabilities(), etc.";
632
633const char kEnableZeroSuggestRedirectToChromeName[] =
634 "Experimental contextual omnibox suggestion";
635const char kEnableZeroSuggestRedirectToChromeDescription[] =
636 "Change omnibox contextual suggestions to an experimental source. Note "
637 "that this is not an on/off switch for contextual omnibox and it only "
638 "applies to suggestions provided before the user starts typing a URL or a "
639 "search query (i.e. zero suggest).";
640
641const char kEnableWasmStreamingName[] =
642 "WebAssembly streaming compile/instantiate support.";
643const char kEnableWasmStreamingDescription[] =
644 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
645
Brett Wilsonf27ff602017-07-07 22:28:47646const char kExpensiveBackgroundTimerThrottlingName[] =
647 "Throttle expensive background timers";
648const char kExpensiveBackgroundTimerThrottlingDescription[] =
649 "Enables intervention to limit CPU usage of background timers to 1%.";
650
651const char kExperimentalAppBannersName[] = "Experimental app banners";
652const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38653 "Enables a new experimental app banner flow and UI. Implies "
654 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47655
656const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
657const char kExperimentalCanvasFeaturesDescription[] =
658 "Enables the use of experimental canvas features which are still in "
659 "development.";
660
Nicholas Verneccd8259802018-02-22 01:22:04661const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
662const char kExperimentalCrostiniUIDescription[] =
663 "Enables in-development Crostini features.";
664
Brett Wilsonf27ff602017-07-07 22:28:47665const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
666const char kExperimentalExtensionApisDescription[] =
667 "Enables experimental extension APIs. Note that the extension gallery "
668 "doesn't allow you to upload extensions that use experimental APIs.";
669
670const char kExperimentalFullscreenExitUIName[] =
671 "Experimental fullscreen exit UI";
672const char kExperimentalFullscreenExitUIDescription[] =
673 "Displays experimental UI to allow mouse and touch input methods to exit "
674 "fullscreen mode.";
675
Brett Wilsonf27ff602017-07-07 22:28:47676const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
677const char kExperimentalKeyboardLockUiDescription[] =
678 "An experimental full screen with keyboard lock mode requiring users to "
679 "hold Esc to exit.";
680
681const char kExperimentalSecurityFeaturesName[] =
682 "Potentially annoying security features";
683const char kExperimentalSecurityFeaturesDescription[] =
684 "Enables several security features that will likely break one or more "
685 "pages that you visit on a daily basis. Strict mixed content checking, for "
686 "example. And locking powerful features to secure contexts. This flag will "
687 "probably annoy you.";
688
689const char kExperimentalWebPlatformFeaturesName[] =
690 "Experimental Web Platform features";
691const char kExperimentalWebPlatformFeaturesDescription[] =
692 "Enables experimental Web Platform features that are in development.";
693
694const char kExtensionContentVerificationName[] =
695 "Extension Content Verification";
696const char kExtensionContentVerificationDescription[] =
697 "This flag can be used to turn on verification that the contents of the "
698 "files on disk for extensions from the webstore match what they're "
699 "expected to be. This can be used to turn on this feature if it would not "
700 "otherwise have been turned on, but cannot be used to turn it off (because "
701 "this setting can be tampered with by malware).";
702const char kExtensionContentVerificationBootstrap[] =
703 "Bootstrap (get expected hashes, but do not enforce them)";
704const char kExtensionContentVerificationEnforce[] =
705 "Enforce (try to get hashes, and enforce them if successful)";
706const char kExtensionContentVerificationEnforceStrict[] =
707 "Enforce strict (hard fail if we can't get hashes)";
708
709const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
710const char kExtensionsOnChromeUrlsDescription[] =
711 "Enables running extensions on chrome:// URLs, where extensions explicitly "
712 "request this permission.";
galinapae72e152017-05-12 13:12:28713
Brett Wilsonecb80982017-07-12 20:34:51714const char kFastUnloadName[] = "Fast tab/window close";
715const char kFastUnloadDescription[] =
716 "Enables fast tab/window closing - runs a tab's onunload js handler "
717 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34718
Brett Wilsonecb80982017-07-12 20:34:51719const char kFeaturePolicyName[] = "Feature Policy";
720const char kFeaturePolicyDescription[] =
721 "Enables granting and removing access to features through the "
722 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34723
Brett Wilsonecb80982017-07-12 20:34:51724const char kFontCacheScalingName[] = "FontCache scaling";
725const char kFontCacheScalingDescription[] =
726 "Reuse a cached font in the renderer to serve different sizes of font for "
727 "faster layout.";
728
729const char kForceEffectiveConnectionTypeName[] =
730 "Override effective connection type";
731const char kForceEffectiveConnectionTypeDescription[] =
732 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30733 "returned by the network quality estimator. Slow 2G on Cellular returns "
734 "Slow 2G when connected to a cellular network, and the actual estimate "
735 "effective connection type when not on a cellular network. Previews are "
736 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51737const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
738const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
739const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30740const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
741 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51742const char kEffectiveConnectionType2GDescription[] = "2G";
743const char kEffectiveConnectionType3GDescription[] = "3G";
744const char kEffectiveConnectionType4GDescription[] = "4G";
745
746const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
747const char kFillOnAccountSelectDescription[] =
748 "Filling of passwords when an account is explicitly selected by the user "
749 "rather than autofilling credentials on page load.";
750
Brett Wilsonecb80982017-07-12 20:34:51751const char kForceTextDirectionName[] = "Force text direction";
752const char kForceTextDirectionDescription[] =
753 "Explicitly force the per-character directionality of UI text to "
754 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
755 "direction of the character language.";
756const char kForceDirectionLtr[] = "Left-to-right";
757const char kForceDirectionRtl[] = "Right-to-left";
758
759const char kForceUiDirectionName[] = "Force UI direction";
760const char kForceUiDirectionDescription[] =
761 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
762 "mode, overriding the default direction of the UI language.";
763
764const char kFramebustingName[] =
765 "Framebusting requires same-origin or a user gesture";
766const char kFramebustingDescription[] =
767 "Don't permit an iframe to navigate the top level browsing context unless "
768 "they are same-origin or the iframe is processing a user gesture.";
769
770const char kGamepadExtensionsName[] = "Gamepad Extensions";
771const char kGamepadExtensionsDescription[] =
772 "Enabling this option allows web applications to access experimental "
773 "extensions to the Gamepad APIs.";
774
Brett Wilsonecb80982017-07-12 20:34:51775const char kGpuRasterizationMsaaSampleCountName[] =
776 "GPU rasterization MSAA sample count.";
777const char kGpuRasterizationMsaaSampleCountDescription[] =
778 "Specify the number of MSAA samples for GPU rasterization.";
779const char kGpuRasterizationMsaaSampleCountZero[] = "0";
780const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
781const char kGpuRasterizationMsaaSampleCountFour[] = "4";
782const char kGpuRasterizationMsaaSampleCountEight[] = "8";
783const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
784
785const char kGpuRasterizationName[] = "GPU rasterization";
786const char kGpuRasterizationDescription[] =
787 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28788const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51789
790const char kGoogleProfileInfoName[] = "Google profile name and icon";
791const char kGoogleProfileInfoDescription[] =
792 "Enables using Google information to populate the profile name and icon in "
793 "the avatar menu.";
794
795const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
796const char kHarfbuzzRendertextDescription[] =
797 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
798 "web content.";
799
800const char kHistoryRequiresUserGestureName[] =
801 "New history entries require a user gesture.";
802const char kHistoryRequiresUserGestureDescription[] =
803 "Require a user gesture to add a history entry.";
804const char kHyperlinkAuditingName[] = "Hyperlink auditing";
805const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
806
807const char kHostedAppQuitNotificationName[] =
808 "Quit notification for hosted apps";
809const char kHostedAppQuitNotificationDescription[] =
810 "Display a notification when quitting Chrome if hosted apps are currently "
811 "running.";
812
813const char kHostedAppShimCreationName[] =
814 "Creation of app shims for hosted apps on Mac";
815const char kHostedAppShimCreationDescription[] =
816 "Create app shims on Mac when creating a hosted app.";
817
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48818const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
819const char kHtmlBasedUsernameDetectorDescription[] =
820 "Use HTML-based username detector for the password manager.";
821
Brett Wilsonecb80982017-07-12 20:34:51822const char kIconNtpName[] = "Large icons on the New Tab page";
823const char kIconNtpDescription[] =
824 "Enable the experimental New Tab page using large icons.";
825
826const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
827const char kIgnoreGpuBlacklistDescription[] =
828 "Overrides the built-in software rendering list and enables "
829 "GPU-acceleration on unsupported system configurations.";
830
Thanh Le5f090efa52017-12-27 22:39:44831const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
832const char kIgnorePreviewsBlacklistDescription[] =
833 "Ignore decisions made by the PreviewsBlackList";
834
Brett Wilsonecb80982017-07-12 20:34:51835const char kImportantSitesInCbdName[] =
836 "Important sites options in clear browsing data dialog";
837const char kImportantSitesInCbdDescription[] =
838 "Include the option to whitelist important sites in the clear browsing "
839 "data dialog.";
840
Claudio Magni61c210922017-12-28 00:29:51841const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
842const char kImprovedLanguageSettingsDescription[] =
843 "Set of changes for Language Settings. These changes are intended to fix "
844 "the major bugs related to Language Settings.";
845
Brett Wilsonecb80982017-07-12 20:34:51846const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
847const char kInProductHelpDemoModeChoiceDescription[] =
848 "Selects the In-Product Help demo mode.";
849
850const char kJavascriptHarmonyName[] = "Experimental JavaScript";
851const char kJavascriptHarmonyDescription[] =
852 "Enable web pages to use experimental JavaScript features.";
853
854const char kJavascriptHarmonyShippingName[] =
855 "Latest stable JavaScript features";
856const char kJavascriptHarmonyShippingDescription[] =
857 "Some web pages use legacy or non-standard JavaScript extensions that may "
858 "conflict with the latest JavaScript features. This flag allows disabling "
859 "support of those features for compatibility with such pages.";
860
Yutaka Hiranof7f2f632017-09-06 10:40:08861const char kKeepAliveRendererForKeepaliveRequestsName[] =
862 "Keep a renderer alive for keepalive fetch requests";
863const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
864 "Keep a render process alive when the process has a pending fetch request "
865 "with `keepalive' specified.";
866
Joe Downing095fd6d2018-02-01 18:40:36867const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
868const char kKeyboardLockApiDescription[] =
869 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
870 "specific key events and have them routed directly to the webpage when in "
871 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
872
Brett Wilsonecb80982017-07-12 20:34:51873const char kLcdTextName[] = "LCD text antialiasing";
874const char kLcdTextDescription[] =
875 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
876 "(subpixel) when doing accelerated compositing.";
877
Matt Giucac399982f2017-10-06 07:51:29878const char kLeftToRightUrlsName[] =
879 "Render bidirectional URLs from left to right";
880const char kLeftToRightUrlsDescription[] =
881 "An experimental Bidi URL rendering algorithm where the URL components are "
882 "always shown in order from left to right, regardless of any RTL "
883 "characters. (The contents of each component are still rendered with the "
884 "normal Bidi algorithm.)";
885
Brett Wilsonecb80982017-07-12 20:34:51886const char kLoadMediaRouterComponentExtensionName[] =
887 "Load Media Router Component Extension";
888const char kLoadMediaRouterComponentExtensionDescription[] =
889 "Loads the Media Router component extension at startup.";
890
891const char kManualPasswordGenerationName[] = "Manual password generation.";
892const char kManualPasswordGenerationDescription[] =
893 "Show a 'Generate Password' option on the context menu for all password "
894 "fields.";
895
Dominic Battref27e8762017-08-23 11:16:25896const char kManualPasswordSavingName[] = "Manual password saving.";
897const char kManualPasswordSavingDescription[] =
898 "Show the password manager icon when typing into a password filed. "
899 "Clicking it allows to save the password without submitting the form.";
900
Brett Wilsonecb80982017-07-12 20:34:51901const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
902const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51903
Lei Zhang2eca9082017-10-17 20:42:50904const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
905const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51906 "If enabled, the Incognito New Tab page uses the new material design with "
907 "a better readable text.";
908
909const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
910const char kMediaRemotingDescription[] =
911 "When Casting a tab to a remote device, enabling this turns on an "
912 "optimization that forwards the content bitstream directly to the remote "
913 "device when a video is fullscreened.";
914
915const char kMemoryAblationName[] = "Memory ablation experiment";
916const char kMemoryAblationDescription[] =
917 "Allocates extra memory in the browser process.";
918
919const char kMemoryCoordinatorName[] = "Memory coordinator";
920const char kMemoryCoordinatorDescription[] =
921 "Enable memory coordinator instead of memory pressure listeners.";
922
923const char kMessageCenterNewStyleNotificationName[] = "New style notification";
924const char kMessageCenterNewStyleNotificationDescription[] =
925 "Enables the experiment style of material-design notification";
926
Brett Wilsonecb80982017-07-12 20:34:51927const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
928const char kMhtmlGeneratorOptionDescription[] =
929 "Provides experimental options for MHTML file generator.";
930const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
931const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
932
Kouhei Ueno08445c22017-09-05 03:58:30933const char kModuleScriptsDynamicImportName[] =
934 "Enable ECMAScript 6 modules dynamic import";
935const char kModuleScriptsDynamicImportDescription[] =
936 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
937 "Blink.";
938
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05939const char kModuleScriptsImportMetaUrlName[] =
940 "Enable ECMAScript 6 modules import.meta.url";
941const char kModuleScriptsImportMetaUrlDescription[] =
942 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
943 "Blink.";
944
Brett Wilsonecb80982017-07-12 20:34:51945const char kNewAudioRenderingMixingStrategyName[] =
946 "New audio rendering mixing strategy";
947const char kNewAudioRenderingMixingStrategyDescription[] =
948 "Use the new audio rendering mixing strategy.";
949
950const char kNewBookmarkAppsName[] = "The new bookmark app system";
951const char kNewBookmarkAppsDescription[] =
952 "Enables the new system for creating bookmark apps.";
953
Brett Wilsonecb80982017-07-12 20:34:51954const char kNewRemotePlaybackPipelineName[] =
955 "Enable the new remote playback pipeline.";
956const char kNewRemotePlaybackPipelineDescription[] =
957 "Enable the new pipeline for playing media element remotely via "
958 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50959const char kUseSurfaceLayerForVideoName[] =
960 "Enable the use of SurfaceLayer objects for videos.";
961const char kUseSurfaceLayerForVideoDescription[] =
962 "Enable compositing onto a Surface instead of a VideoLayer "
963 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51964
965const char kNewUsbBackendName[] = "Enable new USB backend";
966const char kNewUsbBackendDescription[] =
967 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34968
brettw5f9c1642017-05-14 17:12:48969const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34970const char kNostatePrefetchDescription[] =
971 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
972 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
973 R"*(improve load times even more. "Simple Load" does nothing and is )*"
974 R"*(similar to disabling the feature, but collects more metrics for )*"
975 R"*(comparison purposes.)*";
976
Brett Wilsonecb80982017-07-12 20:34:51977const char kNotificationsNativeFlagName[] = "Enable native notifications.";
978const char kNotificationsNativeFlagDescription[] =
979 "Enable support for using the native notification toasts and notification "
980 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34981
Zentaro Kavanaghbad511c2017-10-18 22:29:00982#if defined(OS_POSIX)
983const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
984const char kNtlmV2EnabledDescription[] =
985 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
986#endif
987
Brett Wilsonecb80982017-07-12 20:34:51988const char kNumRasterThreadsName[] = "Number of raster threads";
989const char kNumRasterThreadsDescription[] =
990 "Specify the number of raster threads.";
991const char kNumRasterThreadsOne[] = "1";
992const char kNumRasterThreadsTwo[] = "2";
993const char kNumRasterThreadsThree[] = "3";
994const char kNumRasterThreadsFour[] = "4";
995
996const char kOfferStoreUnmaskedWalletCardsName[] =
997 "Google Payments card saving checkbox";
998const char kOfferStoreUnmaskedWalletCardsDescription[] =
999 "Show the checkbox to offer local saving of a credit card downloaded from "
1000 "the server.";
1001
1002const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1003const char kOfflineAutoReloadDescription[] =
1004 "Pages that fail to load while the browser is offline will be "
1005 "auto-reloaded when the browser is online again.";
1006
1007const char kOfflineAutoReloadVisibleOnlyName[] =
1008 "Only Auto-Reload Visible Tabs";
1009const char kOfflineAutoReloadVisibleOnlyDescription[] =
1010 "Pages that fail to load while the browser is offline will only be "
1011 "auto-reloaded if their tab is visible.";
1012
Brett Wilsonecb80982017-07-12 20:34:511013const char kOmniboxDisplayTitleForCurrentUrlName[] =
1014 "Include title for the current URL in the omnibox";
1015const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1016 "In the event that the omnibox provides suggestions on-focus, the URL of "
1017 "the current page is provided as the first suggestion without a title. "
1018 "Enabling this flag causes the title to be displayed.";
1019
Benoit Lizeab08362c2017-07-19 14:50:541020const char kOmniboxSpareRendererName[] =
1021 "Start spare renderer on omnibox focus";
1022const char kOmniboxSpareRendererDescription[] =
1023 "When the omnibox is focused, start an empty spare renderer. This can "
1024 "speed up the load of the navigation from the omnibox.";
1025
Tommy C. Li8875a442017-08-23 00:10:591026const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1027 "Omnibox UI Elide Suggestion URL After Host";
1028const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1029 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1030 "dropdown.";
1031
Tommy C. Lid79d4402017-12-22 22:49:121032const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1033 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1034const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1035 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1036 "displayed URLs. Hidden portions are restored during editing.";
1037
Brett Wilsonecb80982017-07-12 20:34:511038const char kOmniboxUIHideSuggestionUrlSchemeName[] =
1039 "Omnibox UI Hide Suggestion URL Scheme";
1040const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
1041 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
1042
1043const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
1044 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
1045const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
1046 "Elides trivially informative subdomains from suggested URLs in the "
1047 "Omnibox dropdown (e.g. www. and m.).";
1048
1049const char kOmniboxUIMaxAutocompleteMatchesName[] =
1050 "Omnibox UI Max Autocomplete Matches";
1051
1052const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1053 "Changes the maximum number of autocomplete matches displayed in the "
1054 "Omnibox UI.";
1055
1056const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1057const char kOmniboxUINarrowDropdownDescription[] =
1058 "Makes the suggestions dropdown width match the omnibox width.";
1059
Justin Donnelly65c9e8b2017-10-01 05:15:011060const char kOmniboxUIShowSuggestionFaviconsName[] =
1061 "Omnibox UI Show Suggestion Favicons";
1062const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1063 "Shows favicons instead of generic vector icons for URL suggestions in the "
1064 "Omnibox dropdown.";
1065
1066const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1067const char kOmniboxUISwapTitleAndUrlDescription[] =
1068 "In the omnibox dropdown, shows titles before URLs when both are "
1069 "available.";
1070
Brett Wilsonecb80982017-07-12 20:34:511071const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1072const char kOmniboxUIVerticalLayoutDescription[] =
1073 "Displays Omnibox sugestions in 2 lines - title over origin.";
1074
1075const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1076const char kOmniboxUIVerticalMarginDescription[] =
1077 "Changes the vertical margin in the Omnibox UI.";
1078
Troy Hildebrandtb32637ca2018-02-21 23:25:091079const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1080 "Omnibox Voice Search Always Visible";
1081const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1082 "Always displays voice search icon in focused omnibox as long as voice "
1083 "search is possible";
1084
Brett Wilsonecb80982017-07-12 20:34:511085const char kOriginTrialsName[] = "Origin Trials";
1086const char kOriginTrialsDescription[] =
1087 "Enables origin trials for controlling access to feature/API experiments.";
1088
Becca Hughes930d8cd2017-10-02 11:09:121089const char kOverflowIconsForMediaControlsName[] =
1090 "Icons on Media Controls Overflow Menu";
1091const char kOverflowIconsForMediaControlsDescription[] =
1092 "Displays icons on the overflow menu of the native media controls";
1093
Brett Wilsonecb80982017-07-12 20:34:511094const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1095const char kOverlayScrollbarsDescription[] =
1096 "Enable the experimental overlay scrollbars implementation. You must also "
1097 "enable threaded compositing to have the scrollbars animate.";
1098
chaopenge8aa016b2017-08-24 15:20:191099const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1100 "Flash Overlay Scrollbars After Any Scroll Update";
1101const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1102 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1103 " must also enable Overlay Scrollbars.";
1104
chaopeng343678022017-08-24 18:45:001105const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1106 "Flash Overlay Scrollbars When Mouse Enter";
1107const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1108 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1109 " enable Overlay Scrollbars.";
1110
Claudio Magni81326f92017-09-01 05:21:181111const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1112const char kUseNewAcceptLanguageHeaderDescription[] =
1113 "Adds the base language code after other corresponding language+region "
1114 "codes. This ensures that users receive content in their preferred "
1115 "language.";
1116
Brett Wilsonecb80982017-07-12 20:34:511117const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1118const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481119 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511120const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481121const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511122
1123const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1124const char kOverscrollStartThresholdDescription[] =
1125 "Changes overscroll start threshold relative to the default value.";
1126const char kOverscrollStartThreshold133Percent[] = "133%";
1127const char kOverscrollStartThreshold166Percent[] = "166%";
1128const char kOverscrollStartThreshold200Percent[] = "200%";
1129
Xing Liu5400a002017-09-15 21:48:291130const char kParallelDownloadingName[] = "Parallel downloading";
1131const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061132 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291133
Brett Wilsonecb80982017-07-12 20:34:511134const char kPassiveEventListenerDefaultName[] =
1135 "Passive Event Listener Override";
1136const char kPassiveEventListenerDefaultDescription[] =
1137 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1138 "haven't requested otherwise) to be treated as passive. This will break "
1139 "touch/wheel behavior on some websites but is useful for demonstrating the "
1140 "potential performance benefits of adopting passive event listeners.";
1141const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1142const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1143
1144const char kPassiveEventListenersDueToFlingName[] =
1145 "Touch Event Listeners Passive Default During Fling";
1146const char kPassiveEventListenersDueToFlingDescription[] =
1147 "Forces touchstart, and first touchmove per scroll event listeners during "
1148 "fling to be treated as passive.";
1149
1150const char kPassiveDocumentEventListenersName[] =
1151 "Document Level Event Listeners Passive Default";
1152const char kPassiveDocumentEventListenersDescription[] =
1153 "Forces touchstart, and touchmove event listeners on document level "
1154 "targets (which haven't requested otherwise) to be treated as passive.";
1155
1156const char kPasswordForceSavingName[] = "Force-saving of passwords";
1157const char kPasswordForceSavingDescription[] =
1158 "Allow the user to manually enforce password saving instead of relying on "
1159 "password manager's heuristics.";
1160
1161const char kPasswordGenerationName[] = "Password generation";
1162const char kPasswordGenerationDescription[] =
1163 "Allow the user to have Chrome generate passwords when it detects account "
1164 "creation pages.";
1165
Vaclav Brozekd8a3f542017-11-16 14:21:131166const char kPasswordExportName[] = "Password export";
1167const char kPasswordExportDescription[] =
1168 "Export functionality in password settings.";
1169
1170const char kPasswordImportName[] = "Password import";
1171const char kPasswordImportDescription[] =
1172 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511173
Friedrich Horschig03c91982018-01-25 14:21:281174const char kPasswordSearchMobileName[] = "Password search";
1175const char kPasswordSearchMobileDescription[] =
1176 "Search functionality in password settings.";
1177
Brett Wilsonecb80982017-07-12 20:34:511178const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1179const char kPermissionsBlacklistDescription[] =
1180 "Enables the Permissions Blacklist, which blocks permissions for "
1181 "blacklisted sites for Safe Browsing users.";
1182
1183const char kPinchScaleName[] = "Pinch scale";
1184const char kPinchScaleDescription[] =
1185 "Enables experimental support for scale using pinch.";
1186
Doug Arnett620ff542018-02-06 17:54:221187const char kPreviewsAllowedName[] = "Previews Allowed";
1188const char kPreviewsAllowedDescription[] =
1189 "Allows previews to be shown subject to specific preview types being "
1190 "enabled and the client experiencing specific triggering conditions. "
1191 "May be used as a kill-switch to turn off all potential preview types.";
1192
Brett Wilsonecb80982017-07-12 20:34:511193const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1194const char kPrintPdfAsImageDescription[] =
1195 "If enabled, an option to print PDF files as images will be available in "
1196 "print preview.";
1197
1198const char kPrintPreviewRegisterPromosName[] =
1199 "Print Preview Registration Promos";
1200const char kPrintPreviewRegisterPromosDescription[] =
1201 "Enable registering unregistered cloud printers from print preview.";
1202
1203const char kProtectSyncCredentialName[] = "Autofill sync credential";
1204const char kProtectSyncCredentialDescription[] =
1205 "How the password manager handles autofill for the sync credential.";
1206
1207const char kProtectSyncCredentialOnReauthName[] =
1208 "Autofill sync credential only for transactional reauth pages";
1209const char kProtectSyncCredentialOnReauthDescription[] =
1210 "How the password manager handles autofill for the sync credential only "
1211 "for transactional reauth pages.";
1212
Mohsen Izadi93faac12017-07-29 04:45:151213const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1214const char kPullToRefreshDescription[] =
1215 "Pull-to-refresh gesture in response to vertical overscroll.";
1216
Brett Wilsonecb80982017-07-12 20:34:511217const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1218const char kPushApiBackgroundModeDescription[] =
1219 "Enable background mode for the Push API. This allows Chrome to continue "
1220 "running after the last window is closed, and to launch at OS startup, if "
1221 "the Push API needs it.";
1222
Troy Hildebrandt7228ad12018-02-23 21:18:241223const char kQueryInOmniboxName[] = "Query in Omnibox";
1224const char kQueryInOmniboxDescription[] =
1225 "Only display query terms in the omnibox when viewing a search results "
1226 "page.";
1227
Brett Wilsonecb80982017-07-12 20:34:511228const char kQuicName[] = "Experimental QUIC protocol";
1229const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1230
1231const char kReducedReferrerGranularityName[] =
1232 "Reduce default 'referer' header granularity.";
1233const char kReducedReferrerGranularityDescription[] =
1234 "If a page hasn't set an explicit referrer policy, setting this flag will "
1235 "reduce the amount of information in the 'referer' header for cross-origin "
1236 "requests.";
1237
Claudio Magnie0a80bb2018-01-31 02:52:581238extern const char kRegionalLocalesAsDisplayUIName[] =
1239 "Allow regional locales as display UI";
1240extern const char kRegionalLocalesAsDisplayUIDescription[] =
1241 "This flag allows regional locales to be selected as display UI by the "
1242 "user in Language Settings. The actual locale of the system is derived "
1243 "from the user selection based on some simple fallback logic.";
1244
Christian Dullweber1af31e62018-02-22 11:49:481245const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141246 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481247const char kRemoveNavigationHistoryDescription[] =
1248 "Remove a navigation entry when the corresponding history entry has been "
1249 "deleted.";
1250
Mihai Sardarescu6d0f5b72017-10-30 11:24:381251const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1252 "Remove usage of the deprecated GAIA sign-in endpoint";
1253const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1254 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1255 "This flags controls wheter it should no longer be used during a sign-in "
1256 " flow.";
1257
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351258const char kRendererSideResourceSchedulerName[] =
1259 "Renderer side ResourceScheduler";
1260const char kRendererSideResourceSchedulerDescription[] =
1261 "Migrate some ResourceScheduler functionalities to renderer";
1262
Brett Wilsonecb80982017-07-12 20:34:511263const char kRequestTabletSiteName[] =
1264 "Request tablet site option in the settings menu";
1265const char kRequestTabletSiteDescription[] =
1266 "Allows the user to request tablet site. Web content is often optimized "
1267 "for tablet devices. When this option is selected the user agent string is "
1268 "changed to indicate a tablet device. Web content optimized for tablets is "
1269 "received there after for the current tab.";
1270
1271const char kResetAppListInstallStateName[] =
1272 "Reset the App Launcher install state on every restart.";
1273const char kResetAppListInstallStateDescription[] =
1274 "Reset the App Launcher install state on every restart. While this flag is "
1275 "set, Chrome will forget the launcher has been installed each time it "
1276 "starts. This is used for testing the App Launcher install flow.";
1277
1278const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1279const char kResourceLoadSchedulerDescription[] =
1280 "Uses the resource load scheduler in blink to schedule and throttle "
1281 "resource load requests.";
1282
Brett Wilsonecb80982017-07-12 20:34:511283const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1284const char kSafeSearchUrlReportingDescription[] =
1285 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1286
Alexei Filippov98772752018-01-27 08:26:521287const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1288const char kSamplingHeapProfilerDescription[] =
1289 "Enables native memory sampling profiler with specified rate in KiB. "
1290 "If sampling rate is not provided the default value of 128 KiB is used.";
1291
Brett Wilsonecb80982017-07-12 20:34:511292const char kSaveasMenuLabelExperimentName[] =
1293 "Switch 'Save as' menu labels to 'Download'";
1294const char kSaveasMenuLabelExperimentDescription[] =
1295 "Enables an experiment to switch menu labels that use 'Save as...' to "
1296 "'Download'.";
1297
1298const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1299const char kSavePageAsMhtmlDescription[] =
1300 "Enables saving pages as MHTML: a single text file containing HTML and all "
1301 "sub-resources.";
1302
Nate Chapin9638e7102017-09-20 22:11:011303const char kSavePreviousDocumentResourcesName[] =
1304 "Save Previous Document Resources";
1305const char kSavePreviousDocumentResourcesDescription[] =
1306 "Saves an old document's cached resources until the specified point in the "
1307 "next document's lifecycle.";
1308const char kSavePreviousDocumentResourcesNever[] =
1309 "Don't explicitly save resources";
1310const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1311 "Save resources until onDOMContentLoaded completes";
1312const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1313 "Save resources until onload completes";
1314
Brett Wilsonecb80982017-07-12 20:34:511315const char kScrollPredictionName[] = "Scroll prediction";
1316const char kScrollPredictionDescription[] =
1317 "Predicts the finger's future position during scrolls allowing time to "
1318 "render the frame before the finger is there.";
1319
1320const char kSecondaryUiMd[] =
1321 "Material Design in the rest of the browser's native UI";
1322const char kSecondaryUiMdDescription[] =
1323 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1324 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1325 "browser dialogs.";
1326
1327const char kServiceWorkerNavigationPreloadName[] =
1328 "Service worker navigation preload.";
1329const char kServiceWorkerNavigationPreloadDescription[] =
1330 "Enable web pages to use the experimental service worker navigation "
1331 "preload API.";
1332
gogeraldd5061b592017-09-06 23:39:551333const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1334const char kServiceWorkerPaymentAppsDescription[] =
1335 "Enable Service Worker applications to integrate as payment apps";
1336
Makoto Shimazu22078cc2018-02-21 03:01:441337extern const char kServiceWorkerServicificationName[] =
1338 "Servicified service workers";
1339extern const char kServiceWorkerServicificationDescription[] =
1340 "Enable the servicified service workers. A servicified service worker can "
1341 "have direct connection from its clients, so that fetch events can be "
1342 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171343
Tsuyoshi Horobcb1c642017-11-24 16:32:141344const char kServiceWorkerScriptFullCodeCacheName[] =
1345 "Service worker script full code cache.";
1346const char kServiceWorkerScriptFullCodeCacheDescription[] =
1347 "Generate V8 full code cache of Service Worker scripts while installing.";
1348
Brett Wilsonecb80982017-07-12 20:34:511349const char kSettingsWindowName[] = "Show settings in a window";
1350const char kSettingsWindowDescription[] =
1351 "Settings will be shown in a dedicated window instead of as a browser tab.";
1352
Trent Apted750ba7022017-10-23 13:36:251353const char kShowAllDialogsWithViewsToolkitName[] =
1354 "Show all dialogs with Views toolkit";
1355const char kShowAllDialogsWithViewsToolkitDescription[] =
1356 "All browser dialogs will be shown using the Views toolkit rather than "
1357 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1358
Brett Wilsonecb80982017-07-12 20:34:511359const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1360const char kShowAutofillSignaturesDescription[] =
1361 "Annotates web forms with Autofill signatures as HTML attributes.";
1362
1363const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1364const char kShowAutofillTypePredictionsDescription[] =
1365 "Annotates web forms with Autofill field type predictions as placeholder "
1366 "text.";
1367
1368const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1369const char kShowOverdrawFeedbackDescription[] =
1370 "Visualize overdraw by color-coding elements based on if they have other "
1371 "elements drawn underneath.";
1372
yiyixbdfa9a0b2017-10-23 22:21:471373const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1374const char kEnableDrawOcclusionDescription[] =
1375 "Enable the system to use draw occlusion to skip draw quads when they are "
1376 "not shown on the screen.";
1377
Brett Wilsonecb80982017-07-12 20:34:511378const char kShowSavedCopyName[] = "Show Saved Copy Button";
1379const char kShowSavedCopyDescription[] =
1380 "When a page fails to load, if a stale copy of the page exists in the "
1381 "browser cache, a button will be presented to allow the user to load that "
1382 "stale copy. The primary enabling choice puts the button in the most "
1383 "salient position on the error page; the secondary enabling choice puts it "
1384 "secondary to the reload button.";
1385const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1386const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1387const char kDisableShowSavedCopy[] = "Disable";
1388
Brett Wilsonecb80982017-07-12 20:34:511389const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1390const char kSilentDebuggerExtensionApiDescription[] =
1391 "Do not show the infobar when an extension attaches to a page via "
1392 "chrome.debugger API. This is required to debug extension background "
1393 "pages.";
1394
1395const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1396const char kSimpleCacheBackendDescription[] =
1397 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1398 "disk space allocation.";
1399
1400const char kSimplifiedFullscreenUiName[] =
1401 "Simplified full screen / mouse lock UI.";
1402const char kSimplifiedFullscreenUiDescription[] =
1403 "A simplified new user experience when entering page-triggered full screen "
1404 "or mouse pointer lock states.";
1405
Christopher Thompson75ff845d2018-02-01 20:12:461406const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1407const char kSimplifyHttpsIndicatorDescription[] =
1408 "Change the UI treatment for HTTPS pages.";
1409
Brett Wilsonecb80982017-07-12 20:34:511410const char kSingleClickAutofillName[] = "Single-click autofill";
1411const char kSingleClickAutofillDescription[] =
1412 "Make autofill suggestions on initial mouse click on a form element.";
1413
Brett Wilsonecb80982017-07-12 20:34:511414const char kSitePerProcessName[] = "Strict site isolation";
1415const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171416 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511417 "contains pages from at most one site. In this mode, out-of-process "
1418 "iframes will be used whenever an iframe is cross-site.";
1419
1420const char kSiteSettings[] = "Site settings with All sites and Site details";
1421const char kSiteSettingsDescription[] =
1422 "Adds new ways of viewing Site settings.";
1423
Brett Wilsonecb80982017-07-12 20:34:511424const char kSmoothScrollingName[] = "Smooth Scrolling";
1425const char kSmoothScrollingDescription[] =
1426 "Animate smoothly when scrolling page content.";
1427
1428const char kSoftwareRasterizerName[] = "3D software rasterizer";
1429const char kSoftwareRasterizerDescription[] =
1430 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1431
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201432const char kSoleIntegrationName[] = "Sole integration";
1433const char kSoleIntegrationDescription[] =
1434 "Enable Sole integration for browser customization. You must restart "
1435 "the browser twice for changes to take effect.";
1436
Tommy Steimel77704be2017-08-28 22:14:401437const char kSoundContentSettingName[] = "Sound content setting";
1438const char kSoundContentSettingDescription[] =
1439 "Enable site-wide muting in content settings and tab strip context menu.";
1440
Alexandr Ilinf0500ed32017-09-27 21:12:361441const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1442const char kSpeculativePreconnectDescription[] =
1443 "Enable the new implementation of preconnect and DNS preresolve. "
1444 "\"Learning\" means that only database construction is enabled, "
1445 "\"Preconnect\" enables both learning and preconnect and disables the "
1446 "existing implementation. \"No preconnect\" disables both implementations.";
1447
Brett Wilsonecb80982017-07-12 20:34:511448const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341449const char kSpeculativePrefetchDescription[] =
1450 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1451 R"*(load times, based on a local database (see chrome://predictors). )*"
1452 R"*("Learning" means that only the database construction is enabled, )*"
1453 R"*("Prefetching" that learning and prefetching are enabled.)*";
1454
Justin Donnelly4e448cb2017-07-07 21:32:131455const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1456 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131457const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1458 "If enabled, when the user enters text in the omnibox that looks like a "
1459 "a query, any service worker associated with the search engine the query "
1460 "will be sent to is started early.";
1461
Brett Wilsonecb80982017-07-12 20:34:511462const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1463const char kSpellingFeedbackFieldTrialDescription[] =
1464 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401465
Shubhie Panickerfaf082ed2018-01-03 04:49:151466const char kStopInBackgroundName[] = "Stop in background";
1467const char kStopInBackgroundDescription[] =
1468 "Stop scheduler task queues, in the background, "
1469 " after certain grace time.";
1470
1471const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1472const char kStopLoadingInBackgroundDescription[] =
1473 "Stop loading tasks and loading "
1474 "resources, in the background, after certain grace time.";
1475
Brett Wilsonecb80982017-07-12 20:34:511476const char kSuggestionsWithSubStringMatchName[] =
1477 "Substring matching for Autofill suggestions";
1478const char kSuggestionsWithSubStringMatchDescription[] =
1479 "Match Autofill suggestions based on substrings (token prefixes) rather "
1480 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341481
Brett Wilsonecb80982017-07-12 20:34:511482const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1483const char kSyncSandboxDescription[] =
1484 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341485
Brett Wilsonecb80982017-07-12 20:34:511486const char kTabAudioMutingName[] = "Tab audio muting UI control";
1487const char kTabAudioMutingDescription[] =
1488 "When enabled, the audio indicators in the tab strip double as tab audio "
1489 "mute controls. This also adds commands in the tab context menu for "
1490 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341491
Christian Dullweberd0d96f02017-09-13 09:22:511492const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1493const char kTabsInCbdDescription[] =
1494 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1495
Becky Zhou99c22802017-10-19 05:09:271496const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1497const char kTabModalJsDialogDescription[] =
1498 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1499 " tab.";
1500
Brett Wilsonecb80982017-07-12 20:34:511501const char kTcpFastOpenName[] = "TCP Fast Open";
1502const char kTcpFastOpenDescription[] =
1503 "Enable the option to send extra authentication information in the initial "
1504 "SYN packet for a previously connected client, allowing faster data send "
1505 "start.";
vabr0215a8e2017-03-28 12:47:341506
Daniele Castagna0fead93e2018-01-10 20:40:291507const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1508const char kTintGlCompositedContentDescription[] =
1509 "Tint contents composited using GL with a shade of red to help debug and "
1510 "study overlay support.";
1511
Brett Wilsonecb80982017-07-12 20:34:511512const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1513const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581514 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
1515 "touch) - middle point for devices with a touch screen, and 3) Touchable "
1516 "- new unified interface for touch and convertibles (Chrome OS).";
Brett Wilsonecb80982017-07-12 20:34:511517const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531518const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461519const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581520const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
vabr0215a8e2017-03-28 12:47:341521
Brett Wilsonecb80982017-07-12 20:34:511522const char kThreadedScrollingName[] = "Threaded scrolling";
1523const char kThreadedScrollingDescription[] =
1524 "Threaded handling of scroll-related input events. Disabling this will "
1525 "force all such scroll events to be handled on the main thread. Note that "
1526 "this can dramatically hurt scrolling performance of most websites and is "
1527 "intended for testing purposes only.";
1528
Steven Valdez4584b2482017-07-14 01:11:571529const char kTLS13VariantName[] = "TLS 1.3";
1530const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1531const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111532const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041533const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571534
Brett Wilsonecb80982017-07-12 20:34:511535const char kTopDocumentIsolationName[] = "Top document isolation";
1536const char kTopDocumentIsolationDescription[] =
1537 "Highly experimental performance mode where cross-site iframes are kept in "
1538 "a separate process from the top document. In this mode, iframes from "
1539 "different third-party sites will be allowed to share a process.";
1540
Dominick Ng8896b1cd2017-10-17 23:24:361541const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1542const char kTopSitesFromSiteEngagementDescription[] =
1543 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1544 "engagement.";
1545
Brett Wilsonecb80982017-07-12 20:34:511546const char kTouchAdjustmentName[] = "Touch adjustment";
1547const char kTouchAdjustmentDescription[] =
1548 "Refine the position of a touch gesture in order to compensate for touches "
1549 "having poor resolution compared to a mouse.";
1550
1551const char kTouchDragDropName[] = "Touch initiated drag and drop";
1552const char kTouchDragDropDescription[] =
1553 "Touch drag and drop can be initiated through long press on a draggable "
1554 "element.";
1555
1556const char kTouchEventsName[] = "Touch Events API";
1557const char kTouchEventsDescription[] =
1558 "Force Touch Events API feature detection to always be enabled or "
1559 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291560 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511561
1562const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1563const char kTouchSelectionStrategyDescription[] =
1564 "Controls how text selection granularity changes when touch text selection "
1565 "handles are dragged. Non-default behavior is experimental.";
1566const char kTouchSelectionStrategyCharacter[] = "Character";
1567const char kTouchSelectionStrategyDirection[] = "Direction";
1568
1569const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1570const char kTraceUploadUrlDescription[] =
1571 "This is to be used in conjunction with the enable-navigation-tracing "
1572 "flag. Please select the label that best describes the recorded traces. "
1573 "This will choose the destination the traces are uploaded to. If you are "
1574 "not sure, select other. If left empty, no traces will be uploaded.";
1575const char kTraceUploadUrlChoiceOther[] = "Other";
1576const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1577const char kTraceUploadUrlChoiceQa[] = "QA";
1578const char kTraceUploadUrlChoiceTesting[] = "Testing";
1579
Philippe Hamel7fdaa452017-09-29 17:22:491580const char kTranslateRankerEnforcementName[] =
1581 "Enforce TranslateRanker decisions";
1582const char kTranslateRankerEnforcementDescription[] =
1583 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1584 "or not Translate UI should be triggered in a given context.";
1585
Brett Wilsonecb80982017-07-12 20:34:511586const char kTrySupportedChannelLayoutsName[] =
1587 "Causes audio output streams to check if channel layouts other than the "
1588 "default hardware layout are available.";
1589const char kTrySupportedChannelLayoutsDescription[] =
1590 "Causes audio output streams to check if channel layouts other than the "
1591 "default hardware layout are available. Turning this on will allow the OS "
1592 "to do stereo to surround expansion if supported. May expose third party "
1593 "driver bugs, use with caution.";
1594
David Roger6762a092018-01-31 15:55:071595const char kUnifiedConsentName[] = "Unified Consent";
1596const char kUnifiedConsentDescription[] =
1597 "Enables a unified management of user consent for privacy-related "
1598 "features. This includes new confirmation screens and improved settings "
1599 "pages.";
1600
Brett Wilsonecb80982017-07-12 20:34:511601const char kUiPartialSwapName[] = "Partial swap";
1602const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1603
Chris Pickel3a227ae62017-08-24 10:47:261604const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1605const char kUseDdljsonApiDescription[] =
1606 "Enables the new ddljson API to fetch Doodles for the NTP.";
1607
Becca Hughes59c05b42017-11-03 13:11:581608const char kUseModernMediaControlsName[] = "New Media Controls";
1609const char kUseModernMediaControlsDescription[] =
1610 "Enables the new style native media controls.";
1611
Mustaq Ahmedc646c0a2017-10-20 20:08:301612const char kUserActivationV2Name[] = "User Activation v2";
1613const char kUserActivationV2Description[] =
1614 "Enable simple user activation for APIs that are otherwise controlled by "
1615 "user gesture tokens.";
1616
Brett Wilsonecb80982017-07-12 20:34:511617const char kUserConsentForExtensionScriptsName[] =
1618 "User consent for extension scripts";
1619const char kUserConsentForExtensionScriptsDescription[] =
1620 "Require user consent for an extension running a script on the page, if "
1621 "the extension requested permission to run on all urls.";
1622
1623const char kUseSuggestionsEvenIfFewFeatureName[] =
1624 "Disable minimum for server-side tile suggestions on NTP.";
1625const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1626 "Request server-side suggestions even if there are only very few of them "
1627 "and use them for tiles on the New Tab Page.";
1628
1629const char kV8CacheOptionsName[] = "V8 caching mode.";
1630const char kV8CacheOptionsDescription[] =
1631 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511632const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1633
Hitoshi Yoshida3e5db562017-09-11 02:31:081634const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1635const char kV8ContextSnapshotDescription[] =
1636 "Sets to use a snapshot to create V8 contexts in frame creation.";
1637
Michael Hablich896d52662017-10-23 15:59:571638const char kV8VmFutureName[] = "Future V8 VM features";
1639const char kV8VmFutureDescription[] =
1640 "This enables upcoming and experimental V8 VM features. "
1641 "This flag does not enable experimental JavaScript features.";
1642
Brett Wilsonecb80982017-07-12 20:34:511643const char kVibrateRequiresUserGestureName[] =
1644 "Requiring user gesture for the Vibration API";
1645const char kVibrateRequiresUserGestureDescription[] =
1646 "Block the Vibration API if no user gesture has been received on the frame "
1647 "or any embedded frame.";
1648
1649const char kVideoFullscreenOrientationLockName[] =
1650 "Lock screen orientation when playing a video fullscreen.";
1651const char kVideoFullscreenOrientationLockDescription[] =
1652 "Lock the screen orientation of the device to match video orientation when "
1653 "a video goes fullscreen. Only on phones.";
1654
1655const char kVideoRotateToFullscreenName[] =
1656 "Rotate-to-fullscreen gesture for videos.";
1657const char kVideoRotateToFullscreenDescription[] =
1658 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1659 "the video. Only on phones.";
1660
1661const char kWalletServiceUseSandboxName[] =
1662 "Use Google Payments sandbox servers";
1663const char kWalletServiceUseSandboxDescription[] =
1664 "For developers: use the sandbox service for Google Payments API calls.";
1665
Brett Wilsonecb80982017-07-12 20:34:511666const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1667const char kWebglDraftExtensionsDescription[] =
1668 "Enabling this option allows web applications to access the WebGL "
1669 "Extensions that are still in draft status.";
1670
1671const char kWebMidiName[] = "Web MIDI API";
1672const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1673
1674const char kWebPaymentsName[] = "Web Payments";
1675const char kWebPaymentsDescription[] =
1676 "Enable Web Payments API integration, a JavaScript API for merchants.";
1677
Mathieu Perreault51339b82017-07-20 17:06:051678const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1679const char kWebPaymentsModifiersDescription[] =
1680 "If the website provides modifiers in the payment request, show the custom "
1681 "total for each payment instrument, update the shopping cart when "
1682 "instruments are switched, and send modified payment method specific data "
1683 "to the payment app.";
1684
Brett Wilsonecb80982017-07-12 20:34:511685const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1686const char kWebrtcEchoCanceller3Description[] =
1687 "Experimental WebRTC echo canceller (AEC3).";
1688
1689const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1690const char kWebrtcHwDecodingDescription[] =
1691 "Support in WebRTC for decoding video streams using platform hardware.";
1692
1693const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1694const char kWebrtcHwEncodingDescription[] =
1695 "Support in WebRTC for encoding video streams using platform hardware.";
1696
1697const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1698const char kWebrtcHwH264EncodingDescription[] =
1699 "Support in WebRTC for encoding h264 video streams using platform "
1700 "hardware.";
1701
1702const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1703const char kWebrtcHwVP8EncodingDescription[] =
1704 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1705
Niels Möller090866a2018-02-13 10:55:031706const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1707 "WebRTC new encode cpu load estimator";
1708const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1709 "Enable new estimator for the encoder cpu load, for evaluation and "
1710 "testing. Intended to improve accuracy when screen casting.";
1711
Brett Wilsonecb80982017-07-12 20:34:511712const char kWebrtcSrtpAesGcmName[] =
1713 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1714const char kWebrtcSrtpAesGcmDescription[] =
1715 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1716
Joachim Bauch4a41d7512017-08-23 14:24:231717const char kWebrtcSrtpEncryptedHeadersName[] =
1718 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1719const char kWebrtcSrtpEncryptedHeadersDescription[] =
1720 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1721 "for SRTP.";
1722
Brett Wilsonecb80982017-07-12 20:34:511723const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1724const char kWebrtcStunOriginDescription[] =
1725 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1726 "header.";
1727
1728const char kWebvrName[] = "WebVR";
1729const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051730 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111731 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1732 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1733 "will also allow WebVR content on insecure origins to access these "
1734 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511735
Brandon Jonese9d9b2b2017-12-11 22:20:111736const char kWebXrName[] = "WebXR Device API";
1737const char kWebXrDescription[] =
1738 "Allow web applications to access experimental APIs to interact with "
1739 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1740
Anna Maria57ecf7592018-01-12 03:10:401741const char kWebXrOrientationSensorDeviceName[] =
1742 "WebXR orientation sensor device";
1743const char kWebXrOrientationSensorDeviceDescription[] =
1744 "When no VR platform device is available, expose a non-presenting device "
1745 "based on the device's orientation sensors, if available.";
1746
Brett Wilsonecb80982017-07-12 20:34:511747const char kWifiCredentialSyncName[] = "WiFi credential sync";
1748const char kWifiCredentialSyncDescription[] =
1749 "Enables synchronizing WiFi network settings across devices. When enabled, "
1750 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1751 "credentials are synchronized subject to user preferences. (See also, "
1752 "chrome://settings/syncSetup.)";
1753
1754const char kZeroCopyName[] = "Zero-copy rasterizer";
1755const char kZeroCopyDescription[] =
1756 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341757
Brett Wilsonff596952017-07-14 01:06:551758// Android ---------------------------------------------------------------------
1759
1760#if defined(OS_ANDROID)
1761
1762const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1763const char kAiaFetchingDescription[] =
1764 "Enable intermediate certificate fetching when a server does not provide "
1765 "sufficient certificates to build a chain to a trusted root.";
1766
1767const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1768const char kAccessibilityTabSwitcherDescription[] =
1769 "Enable the accessibility tab switcher for Android.";
1770
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251771const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1772const char kAllowReaderForAccessibilityDescription[] =
1773 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1774
Brett Wilsonff596952017-07-14 01:06:551775const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1776const char kAndroidAutofillAccessibilityDescription[] =
1777 "Enable accessibility for autofill popup.";
1778
1779const char kAndroidPaymentAppsName[] = "Android payment apps";
1780const char kAndroidPaymentAppsDescription[] =
1781 "Enable third party Android apps to integrate as payment apps";
1782
Miriam Gershenson8cf1397222018-01-23 22:48:291783const char kAsyncDnsName[] = "Async DNS resolver";
1784const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1785
Brett Wilsonff596952017-07-14 01:06:551786const char kAutofillAccessoryViewName[] =
1787 "Autofill suggestions as keyboard accessory view";
1788const char kAutofillAccessoryViewDescription[] =
1789 "Shows Autofill suggestions on top of the keyboard rather than in a "
1790 "dropdown.";
1791
1792const char kBackgroundLoaderForDownloadsName[] =
1793 "Enables background downloading of pages.";
1794const char kBackgroundLoaderForDownloadsDescription[] =
1795 "Enables downloading pages in the background in case page is not yet "
1796 "loaded in current tab.";
1797
Matthew Jones6c1f5e22018-02-06 18:19:531798const char kChromeDuplexName[] = "Chrome Duplex";
1799const char kChromeDuplexDescription[] =
1800 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051801
1802const char kChromeHomeBottomNavLabelsName[] =
1803 "Chrome Home bottom navigation menu item labels.";
1804const char kChromeHomeBottomNavLabelsDescription[] =
1805 "Enables text labels for Chrome Home bottom navigation menu items.";
1806
Daniel Park825a16f32017-12-08 00:44:261807const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1808const char kChromeHomeEnableSurveyDescription[] =
1809 "If enabled, the survey process will allow surveys using sample "
1810 "parameters.";
1811
Theresa Wellingtonb9243b22017-12-01 16:23:051812const char kChromeHomeInactivitySheetExpansionName[] =
1813 "Expansion of Chrome Home bottom sheet on startup";
1814const char kChromeHomeInactivitySheetExpansionDescription[] =
1815 "Expand bottom sheet on startup in Chrome Home after a period of"
1816 " inactivity.";
1817
Matthew Joneseab91aa2017-12-19 16:12:421818const char kChromeHomeMenuItemsName[] =
1819 "Show bookmarks, downloads, and history menu items in Chrome Home";
1820const char kChromeHomeMenuItemsDescription[] =
1821 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1822 " when Chrome Home is enabled. These items will open the bottom sheet to"
1823 " show the desired content.";
1824
Theresa Wellingtonc4cff8a12017-11-28 04:13:181825const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1826const char kChromeHomePersistentIphDescription[] =
1827 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1828 "toolbar or a timer expires.";
1829
Theresa Wellington13977c832017-12-13 16:59:111830const char kChromeHomePullToRefreshIphAtTopName[] =
1831 "Chrome Home Pull-To-Refresh Iph At Top";
1832const char kChromeHomePullToRefreshIphAtTopDescription[] =
1833 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1834
Brett Wilsonff596952017-07-14 01:06:551835const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1836const char kChromeHomeSwipeLogicDescription[] =
1837 "Various swipe logic options for Chrome Home for sheet expansion.";
1838const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151839const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551840
Matthew Jones5b7f1d62018-01-23 00:37:251841const char kChromeModernDesignName[] = "Chrome Modern Design";
1842const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451843 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1844 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251845
Megan Jablonskic61eb1b82017-10-02 18:03:061846const char kChromeMemexName[] = "Chrome Memex";
1847const char kChromeMemexDescription[] =
1848 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1849 "Googlers.";
1850
Sarath Singapati83aef1c2017-11-16 15:54:521851const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1852const char kClearOldBrowsingDataDescription[] =
1853 "Enables clearing of browsing data which is older than a given time "
1854 "period.";
1855
Brett Wilsonff596952017-07-14 01:06:551856const char kContentSuggestionsCategoryOrderName[] =
1857 "Default content suggestions category order (e.g. on NTP)";
1858const char kContentSuggestionsCategoryOrderDescription[] =
1859 "Set default order of content suggestion categories (e.g. on the NTP).";
1860
1861const char kContentSuggestionsCategoryRankerName[] =
1862 "Content suggestions category ranker (e.g. on NTP)";
1863const char kContentSuggestionsCategoryRankerDescription[] =
1864 "Set category ranker to order categories of content suggestions (e.g. on "
1865 "the NTP).";
1866
Vitalii Iarkof52ff802017-09-14 12:34:241867const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1868const char kContentSuggestionsDebugLogDescription[] =
1869 "Enable content suggestions debug log accessible through "
1870 "snippets-internals.";
1871
Donn Denman8e58ead2017-11-04 01:44:011872const char kContextualSearchMlTapSuppressionName[] =
1873 "Contextual Search ML tap suppression";
1874const char kContextualSearchMlTapSuppressionDescription[] =
1875 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021876 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1877 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551878
1879const char kContextualSearchName[] = "Contextual Search";
1880const char kContextualSearchDescription[] =
1881 "Whether or not Contextual Search is enabled.";
1882
Donn Denman59729812018-01-09 01:27:021883const char kContextualSearchRankerQueryName[] =
1884 "Contextual Search Ranker prediction";
1885const char kContextualSearchRankerQueryDescription[] =
1886 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1887
1888const char kContextualSearchSecondTapName[] =
1889 "Contextual Search second tap triggering";
1890const char kContextualSearchSecondTapDescription[] =
1891 "Enables triggering on a second tap gesture even when Ranker would "
1892 "normally suppress that tap.";
1893
Dmitry Skiba9c3efa72017-07-20 22:01:141894const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1895const char kDontPrefetchLibrariesDescription[] =
1896 "Don't prefetch libraries after loading.";
1897
Joy Ming5fd29ca62017-10-02 22:51:221898const char kDownloadsForegroundName[] = "Enable downloads foreground";
1899const char kDownloadsForegroundDescription[] =
1900 "Enable downloads as a foreground service for all versions of Android.";
1901
Joy Ming189b0cc2017-12-08 19:42:431902const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1903const char kDownloadsLocationChangeDescription[] =
1904 "Enable changing default downloads storage location on Android.";
1905
Brett Wilsonff596952017-07-14 01:06:551906const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1907const char kEnableAndroidPayIntegrationV1Description[] =
1908 "Enable integration with Android Pay using the first version of the API";
1909
1910const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1911const char kEnableAndroidPayIntegrationV2Description[] =
1912 "Enable integration with Android Pay using the second version of the API";
1913
Vitalii Iarkof4ed32d2017-09-26 13:15:531914const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551915const char kEnableAndroidSpellcheckerDescription[] =
1916 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551917
Lei Tianbd5a3bf2018-02-28 19:01:161918const char kEnableCommandLineOnNonRootedName[] =
1919 "Enable command line on non-rooted devices";
1920const char kEnableCommandLineOnNoRootedDescription[] =
1921 "Enable reading command line file on non-rooted devices (DANGEROUS).";
1922
Vitalii Iarkof4ed32d2017-09-26 13:15:531923const char kEnableContentSuggestionsNewFaviconServerName[] =
1924 "Get favicons for content suggestions from a new server.";
1925const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1926 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1927 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551928
1929const char kEnableContentSuggestionsSettingsName[] =
1930 "Show content suggestions settings.";
1931const char kEnableContentSuggestionsSettingsDescription[] =
1932 "If enabled, the content suggestions settings will be available from the "
1933 "main settings menu.";
1934
Vitalii Iarkof4ed32d2017-09-26 13:15:531935const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1936 "Use content suggestions thumbnail dominant color.";
1937const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1938 "Use content suggestions thumbnail dominant color as a placeholder before "
1939 "the real thumbnail is fetched (requires Chrome Home).";
1940
Brett Wilsonff596952017-07-14 01:06:551941const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1942const char kEnableCustomContextMenuDescription[] =
1943 "Enables a new context menu when a link, image, or video is pressed within "
1944 "Chrome.";
1945
1946const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1947const char kEnableCustomFeedbackUiDescription[] =
1948 "Enables a custom feedback UI when submitting feedback through Google "
1949 "Feedback. Works with Google Play Services v10.2+";
1950
1951const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471952 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551953const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471954 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551955
Brett Wilsonff596952017-07-14 01:06:551956const char kEnableOmniboxClipboardProviderName[] =
1957 "Omnibox clipboard URL suggestions";
1958const char kEnableOmniboxClipboardProviderDescription[] =
1959 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1960 "focus in the omnibox.";
1961
1962const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1963 "Use expanded autofill credit card popup layout.";
1964const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1965 "If enabled, displays autofill credit card popup using expanded layout.";
1966
Becky Zhoua7f11d62018-02-01 16:02:531967const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1968 "Show article suggestions expandable header on New Tab Page";
1969const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1970 "If enabled, the article suggestions content on New Tab Page can be "
1971 "toggled shown or hidden by clicking the expandable header.";
1972
Brett Wilsonff596952017-07-14 01:06:551973const char kEnableNtpAssetDownloadSuggestionsName[] =
1974 "Show asset downloads on the New Tab page";
1975const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1976 "If enabled, the list of content suggestions on the New Tab page will "
1977 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1978 "later use.";
1979
1980const char kEnableNtpBookmarkSuggestionsName[] =
1981 "Show recently visited bookmarks on the New Tab page";
1982const char kEnableNtpBookmarkSuggestionsDescription[] =
1983 "If enabled, the list of content suggestions on the New Tab page will "
1984 "contain recently visited bookmarks.";
1985
1986const char kEnableNtpForeignSessionsSuggestionsName[] =
1987 "Show recent foreign tabs on the New Tab page";
1988const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1989 "If enabled, the list of content suggestions on the New Tab page will "
1990 "contain recent foreign tabs.";
1991
Brett Wilsonff596952017-07-14 01:06:551992const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1993 "Show offline page downloads on the New Tab page";
1994const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1995 "If enabled, the list of content suggestions on the New Tab page will "
1996 "contain pages that the user downloaded for later use.";
1997
1998const char kEnableNtpRemoteSuggestionsName[] =
1999 "Show server-side suggestions on the New Tab page";
2000const char kEnableNtpRemoteSuggestionsDescription[] =
2001 "If enabled, the list of content suggestions on the New Tab page will "
2002 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2003 "allows to override the source used to retrieve these server-side "
2004 "suggestions.";
2005
2006const char kEnableNtpSnippetsVisibilityName[] =
2007 "Make New Tab Page Snippets more visible.";
2008const char kEnableNtpSnippetsVisibilityDescription[] =
2009 "If enabled, the NTP snippets will become more discoverable with a larger "
2010 "portion of the first card above the fold.";
2011
2012const char kEnableNtpSuggestionsNotificationsName[] =
2013 "Notify about new content suggestions available at the New Tab page";
2014const char kEnableNtpSuggestionsNotificationsDescription[] =
2015 "If enabled, notifications will inform about new content suggestions on "
2016 "the New Tab page.";
2017
2018const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
2019const char kEnablePhysicalWebDescription[] =
2020 "Enable scanning for URLs from Physical Web objects.";
2021
2022const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2023const char kEnableOfflinePreviewsDescription[] =
2024 "Enable showing offline page previews on slow networks.";
2025
2026const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2027const char kEnableOskOverscrollDescription[] =
2028 "Enable OSK overscroll support. With this flag on, the OSK will only "
2029 "resize the visual viewport.";
2030
2031const char kEnableSpecialLocaleName[] =
2032 "Enable custom logic for special locales.";
2033const char kEnableSpecialLocaleDescription[] =
2034 "Enable custom logic for special locales. In this mode, Chrome might "
2035 "behave differently in some locales.";
2036
Brett Wilsonff596952017-07-14 01:06:552037const char kEnableWebNfcName[] = "WebNFC";
2038const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2039
gogeraldf3cbb422017-07-26 14:37:122040const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2041 "Enable Web Payments method section order V2.";
2042const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2043 "Enable this option to display payment method section above address "
2044 "section instead of below it.";
2045
Brett Wilsonff596952017-07-14 01:06:552046const char kEnableWebPaymentsSingleAppUiSkipName[] =
2047 "Enable Web Payments single app UI skip";
2048const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2049 "Enable Web Payments to skip showing its UI if the developer specifies a "
2050 "single app.";
2051
Raymes Khoury582b43132017-12-12 23:54:302052const char kGrantNotificationsToDSEName[] =
2053 "Grant notifications to the Default Search Engine";
2054const char kGrantNotificationsToDSENameDescription[] =
2055 "Automatically grant the notifications permission to the Default Search "
2056 "Engine";
2057
Theresa920e0ed2018-03-07 18:12:442058const char kInterestFeedContentSuggestionsDescription[] =
2059 "Use the interest feed to render content suggestions. Currently content "
2060 "suggestions are shown on the New Tab Page.";
2061const char kInterestFeedContentSuggestionsName[] =
2062 "Interest Feed Content Suggestions";
2063
Brett Wilsonff596952017-07-14 01:06:552064const char kKeepPrefetchedContentSuggestionsName[] =
2065 "Keep prefetched content suggestions";
2066const char kKeepPrefetchedContentSuggestionsDescription[] =
2067 "If enabled, some of prefetched content suggestions are not replaced by "
2068 "the new fetched suggestions.";
2069
Leo Zhang051b75482017-12-20 03:28:302070const char kLanguagesPreferenceName[] = "Language Settings";
2071const char kLanguagesPreferenceDescription[] =
2072 "Enable this option for Language Settings feature on Android.";
2073
Brett Wilsonff596952017-07-14 01:06:552074const char kLsdPermissionPromptName[] =
2075 "Location Settings Dialog Permission Prompt";
2076const char kLsdPermissionPromptDescription[] =
2077 "Whether to use the Google Play Services Location Settings Dialog "
2078 "permission dialog.";
2079
Amirhossein Simjour97b4154f2018-02-20 03:49:592080const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2081const char kModalPermissionDialogViewDescription[] =
2082 "Enable this option to use ModalDialogManager for permission Dialogs.";
2083
Brett Wilsonff596952017-07-14 01:06:552084const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2085const char kMediaScreenCaptureDescription[] =
2086 "Enable this option for experimental ScreenCapture feature on Android.";
2087
2088const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2089const char kModalPermissionPromptsDescription[] =
2090 "Whether to use permission dialogs in place of permission infobars.";
2091
Brett Wilsonff596952017-07-14 01:06:552092const char kNewPhotoPickerName[] = "Enable new Photopicker";
2093const char kNewPhotoPickerDescription[] =
2094 "Activates the new picker for selecting photos.";
2095
2096const char kNoCreditCardAbort[] = "No Credit Card Abort";
2097const char kNoCreditCardAbortDescription[] =
2098 "Whether or not the No Credit Card Abort is enabled.";
2099
2100const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2101const char kNtpCondensedLayoutDescription[] =
2102 "Show a condensed layout on the New Tab Page.";
2103
2104const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2105const char kNtpCondensedTileLayoutDescription[] =
2106 "Show a condensed tile layout on the New Tab Page.";
2107
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062108const char kNtpModernLayoutName[] = "Modern NTP layout";
2109const char kNtpModernLayoutDescription[] =
2110 "Show a modern layout on the New Tab Page.";
2111
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042112const char kSiteExplorationUiName[] = "Site Exploration UI";
2113const char kSiteExplorationUiDescription[] =
2114 "Show site suggestions in the Exploration UI";
2115
Brett Wilsonff596952017-07-14 01:06:552116const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2117const char kNtpGoogleGInOmniboxDescription[] =
2118 "Show a Google G in the omnibox on the New Tab Page.";
2119
Brett Wilsonff596952017-07-14 01:06:552120const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2121const char kOfflineBookmarksDescription[] =
2122 "Enable saving bookmarked pages for offline viewing.";
2123
Brett Wilsonff596952017-07-14 01:06:552124const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2125const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2126
2127const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2128const char kOfflinePagesCtV2Description[] =
2129 "V2 features include attributing pages to the app that initiated the "
2130 "custom tabs, and being able to query for pages by page attribution.";
2131
Carlos Knippschild09272ecd2017-12-09 03:29:362132const char kOfflinePagesLimitlessPrefetchingName[] =
2133 "Removes resource usage limits for the prefetching of offline pages.";
2134const char kOfflinePagesLimitlessPrefetchingDescription[] =
2135 "Allows the prefetching of suggested offline pages to ignore resource "
2136 "usage limits. This allows it to completely ignore data usage limitations "
2137 "and allows downloads to happen with any kind of connection.";
2138
Brett Wilsonff596952017-07-14 01:06:552139const char kOfflinePagesLoadSignalCollectingName[] =
2140 "Enables collecting load timing data for offline page snapshots.";
2141const char kOfflinePagesLoadSignalCollectingDescription[] =
2142 "Enables loading completeness data collection while writing an offline "
2143 "page. This data is collected in the snapshotted offline page to allow "
2144 "data analysis to improve deciding when to make the offline snapshot.";
2145
Candice Sy229768e02017-12-21 00:19:222146const char kOfflinePagesDescriptivePendingStatusName[] =
2147 "Enables descriptive pending download status text.";
2148const char kOfflinePagesDescriptivePendingStatusDescription[] =
2149 "Enables pending download status text in notifications and Downloads Home "
2150 "to state the reason the request is pending.";
2151
Brett Wilsonff596952017-07-14 01:06:552152const char kOfflinePagesPrefetchingName[] =
2153 "Enables suggested offline pages to be prefetched.";
2154const char kOfflinePagesPrefetchingDescription[] =
2155 "Enables suggested offline pages to be prefetched, so useful content is "
2156 "available while offline.";
2157
Cathy Li3d5379e2017-09-07 00:11:092158const char kOfflinePagesPrefetchingUIName[] =
2159 "Enables prefetched offline pages to be shown in UI.";
2160const char kOfflinePagesPrefetchingUIDescription[] =
2161 "Enables prefetched offline pages to raise notifications and be shown in "
2162 "download home UI.";
2163
Pete Williamson7845dff2017-09-20 11:06:192164const char kOfflinePagesResourceBasedSnapshotName[] =
2165 "Enables offline page snapshots to be based on percentage of page loaded.";
2166const char kOfflinePagesResourceBasedSnapshotDescription[] =
2167 "Enables offline page snapshots to use a resource percentage based "
2168 "approach for determining when the page is loaded as opposed to a time "
2169 "based approach";
2170
Collin Baker17f92a52017-07-19 21:41:252171const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2172const char kOfflinePagesRenovationsDescription[] =
2173 "Enables offline page renovations which correct issues with dynamic "
2174 "content that occur when offlining pages that use JavaScript.";
2175
Brett Wilsonff596952017-07-14 01:06:552176const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2177const char kOfflinePagesSharingDescription[] =
2178 "Enables the saved offline pages to be shared via other applications.";
2179
2180const char kOfflinePagesSvelteConcurrentLoadingName[] =
2181 "Enables concurrent background loading on svelte.";
2182const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2183 "Enables concurrent background loading (or downloading) of pages on "
2184 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2185 "happen when the svelte device is idle.";
2186
2187const char kOffliningRecentPagesName[] =
2188 "Enable offlining of recently visited pages";
2189const char kOffliningRecentPagesDescription[] =
2190 "Enable storing recently visited pages locally for offline use. Requires "
2191 "Offline Pages to be enabled.";
2192
Lei Zhang2eca9082017-10-17 20:42:502193const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2194const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552195 "Enable Pay with Google integration into Web Payments with API version "
2196 "'1'.";
2197
Matthew Jonesa88b95852017-11-08 23:13:502198const char kProgressBarThrottleName[] = "Android progress update throttling.";
2199const char kProgressBarThrottleDescription[] =
2200 "Limit the maximum progress update to make progress appear smoother.";
2201
Brett Wilsonff596952017-07-14 01:06:552202const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2203const char kPullToRefreshEffectDescription[] =
2204 "Page reloads triggered by vertically overscrolling content.";
2205
Piotr Swigon7c296ef2017-08-29 04:32:002206const char kPwaImprovedSplashScreenName[] =
2207 "Improved Splash Screen for standalone PWAs";
2208const char kPwaImprovedSplashScreenDescription[] =
2209 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2210 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492211const char kPwaPersistentNotificationName[] =
2212 "Persistent notification in standalone PWA";
2213const char kPwaPersistentNotificationDescription[] =
2214 "Enables a persistent Android notification for standalone PWAs";
2215
Brett Wilsonff596952017-07-14 01:06:552216const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2217const char kReaderModeHeuristicsDescription[] =
2218 "Determines what pages the Reader Mode infobar is shown on.";
2219const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2220const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2221const char kReaderModeHeuristicsAllArticles[] = "All articles";
2222const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2223const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2224
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182225const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2226const char kReaderModeInCCTDescription[] =
2227 "Open Reader Mode in Chrome Custom Tabs.";
2228
Brett Wilsonff596952017-07-14 01:06:552229const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2230const char kSetMarketUrlForTestingDescription[] =
2231 "When enabled, sets the market URL for use in testing the update menu "
2232 "item.";
2233
2234const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2235const char kSpannableInlineAutocompleteDescription[] =
2236 "A new type of inline autocomplete for the omnibox that works with "
2237 "keyboards that compose text.";
2238
Brett Wilsonff596952017-07-14 01:06:552239const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2240const char kUpdateMenuBadgeDescription[] =
2241 "When enabled, an update badge will be shown on the app menu button.";
2242
2243const char kUpdateMenuItemCustomSummaryDescription[] =
2244 "When this flag and the force show update menu item flag are enabled, a "
2245 "custom summary string will be displayed below the update menu item.";
2246const char kUpdateMenuItemCustomSummaryName[] =
2247 "Update menu item custom summary";
2248
2249const char kUpdateMenuItemName[] = "Force show update menu item";
2250const char kUpdateMenuItemDescription[] =
2251 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2252 R"*(menu.)*";
2253
Amirhossein Simjourd78bbcf2018-02-02 16:23:392254const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2255const char kVrBrowsingNativeAndroidUiDescription[] =
2256 "Enable Android UI elements in VR.";
2257
Marc Treib93af46a2017-08-23 13:30:002258const char kThirdPartyDoodlesName[] =
2259 "Enable Doodles for third-party search engines";
2260const char kThirdPartyDoodlesDescription[] =
2261 "Enables fetching and displaying Doodles on the NTP for third-party search "
2262 "engines.";
2263
Klaus Weidneraaf697f2018-01-18 20:07:362264const char kWebXrRenderPathName[] = "WebXR presentation render path";
2265const char kWebXrRenderPathDescription[] =
2266 "Render path to use for WebXR presentation (including WebVR)";
2267const char kWebXrRenderPathChoiceClientWaitDescription[] =
2268 "ClientWait (Baseline)";
2269const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2270 "GpuFence (Android N+)";
2271
Brett Wilson7b44537e2017-08-18 01:38:282272// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552273
Brett Wilson7b44537e2017-08-18 01:38:282274#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482275
Brett Wilson7b44537e2017-08-18 01:38:282276const char kAccountConsistencyName[] =
2277 "Identity consistency between browser and cookie jar";
2278const char kAccountConsistencyDescription[] =
2279 "When enabled, the browser manages signing in and out of Google accounts.";
2280const char kAccountConsistencyChoiceMirror[] = "Mirror";
2281const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342282
Chris Pickel3a227ae62017-08-24 10:47:262283const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2284const char kDoodlesOnLocalNtpDescription[] =
2285 "Show doodles on the local New Tab page if Google is the default search "
2286 "engine.";
2287
mlamouriff56c092017-05-11 15:31:392288const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392289const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342290 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392291const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392292const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392293const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342294 "Enabled (Flash lowers volume when interrupted by other sound, "
2295 "experimental)";
2296
Brett Wilson7b44537e2017-08-18 01:38:282297const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2298const char kEnableNewAppMenuIconDescription[] =
2299 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342300
2301const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342302const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282303 "Enable receiving entity suggestions - disambiguation descriptions - for "
2304 "Omnibox suggestions.";
2305
Dave Schuyler598a4a42018-01-04 02:15:102306const char kOmniboxRichEntitySuggestionsName[] =
2307 "Omnibox rich entity suggestions";
2308const char kOmniboxRichEntitySuggestionsDescription[] =
2309 "Display entity suggestions using images and an enhanced layout; showing "
2310 "more context and descriptive text about the entity";
2311
Kevin Bailey898669972017-11-06 15:34:492312const char kOmniboxTabSwitchSuggestionsName[] =
2313 "Omnibox tab switch suggestions";
2314const char kOmniboxTabSwitchSuggestionsDescription[] =
2315 "Enable suggestions for switching to open tabs within the Omnibox.";
2316
krbcc621412017-06-01 19:40:282317const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2318const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192319 "Enable receiving tail suggestions, a type of search suggestion based on "
2320 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342321
Brett Wilson7b44537e2017-08-18 01:38:282322const char kOneGoogleBarOnLocalNtpName[] =
2323 "Enable the OneGoogleBar on the local NTP";
2324const char kOneGoogleBarOnLocalNtpDescription[] =
2325 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2326 "search engine.";
2327
Brett Wilson7b44537e2017-08-18 01:38:282328const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2329const char kUseGoogleLocalNtpDescription[] =
2330 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322331
Brett Wilson7b44537e2017-08-18 01:38:282332const char kVoiceSearchOnLocalNtpName[] =
2333 "Enable Voice Search on the local NTP";
2334const char kVoiceSearchOnLocalNtpDescription[] =
2335 "Show a microphone for voice search on the local New Tab page "
2336 "if Google is the default search engine.";
2337
Kim Paulhamus33f87b12018-01-18 22:00:422338const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2339const char kEnableWebAuthenticationAPIDescription[] =
2340 "Enable Web Authentication API support.";
2341
Brett Wilson7b44537e2017-08-18 01:38:282342#if defined(GOOGLE_CHROME_BUILD)
2343
2344const char kGoogleBrandedContextMenuName[] =
2345 "Google branding in the context menu";
2346const char kGoogleBrandedContextMenuDescription[] =
2347 "Shows a Google icon next to context menu items powered by Google "
2348 "services.";
2349
2350#endif // !defined(GOOGLE_CHROME_BUILD)
2351
2352#endif // !defined(OS_ANDROID)
2353
2354// Windows ---------------------------------------------------------------------
2355
2356#if defined(OS_WIN)
2357
2358const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2359const char kCloudPrintXpsDescription[] =
2360 "XPS enables advanced options for classic printers connected to the Cloud "
2361 "Print with Chrome. Printers must be re-connected after changing this "
2362 "flag.";
2363
Dave Tapuskadd43469d2017-08-22 22:15:532364const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2365const char kDirectManipulationStylusDescription[] =
2366 "If enabled, Chrome will scroll web pages on stylus drag.";
2367
Brett Wilson7b44537e2017-08-18 01:38:282368const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2369const char kDisablePostscriptPrintingDescription[] =
2370 "Disables PostScript generation when printing to PostScript capable "
2371 "printers, and uses EMF generation in its place.";
2372
2373const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2374const char kEnableAppcontainerDescription[] =
2375 "Enables the use of an AppContainer on sandboxed processes to improve "
2376 "security.";
2377
2378const char kEnableD3DVsync[] = "D3D v-sync";
2379const char kEnableD3DVsyncDescription[] =
2380 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2381 "to occur.";
2382
2383const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2384const char kEnableDesktopIosPromotionsDescription[] =
2385 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2386 "eligible.";
2387
James Forshawfd0ce342018-02-14 09:55:392388const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2389const char kEnableGpuAppcontainerDescription[] =
2390 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2391 "improve security.";
2392
Brett Wilson7b44537e2017-08-18 01:38:282393const char kGdiTextPrinting[] = "GDI Text Printing";
2394const char kGdiTextPrintingDescription[] =
2395 "Use GDI to print text as simply text";
2396
Brett Wilson7b44537e2017-08-18 01:38:282397const char kTraceExportEventsToEtwName[] =
2398 "Enable exporting of tracing events to ETW.";
2399const char kTraceExportEventsToEtwDesription[] =
2400 "If enabled, trace events will be exported to the Event Tracing for "
2401 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2402 "Xperf.";
2403
2404const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2405const char kUseWinrtMidiApiDescription[] =
2406 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2407 "later).";
2408
2409const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2410const char kWindows10CustomTitlebarDescription[] =
2411 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2412 "deferring to Windows.";
2413
Wez6656c572017-08-29 22:29:582414#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502415const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2416const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582417 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2418 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2419#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2420
Brett Wilson7b44537e2017-08-18 01:38:282421#endif // defined(OS_WIN)
2422
2423// Mac -------------------------------------------------------------------------
2424
2425#if defined(OS_MACOSX)
2426
2427const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2428const char kAppInfoDialogDescription[] =
2429 "Makes the Toolkit-Views based App Info dialog accessible from "
2430 "chrome://apps or chrome://extensions in place of the native extension "
2431 "permissions dialog, or the details link (which is a link to the Web "
2432 "Store).";
2433
2434const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2435const char kAppWindowCyclingDescription[] =
2436 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2437 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2438 "browser window, and browser windows will not be cycled when a Chrome App "
2439 "is active.";
2440
Lei Zhang2eca9082017-10-17 20:42:502441const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2442const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282443 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2444
2445const char kFullscreenToolbarRevealName[] =
2446 "Enables the toolbar in fullscreen to reveal itself.";
2447const char kFullscreenToolbarRevealDescription[] =
2448 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2449 "has changed.";
2450
2451const char kContentFullscreenName[] = "Improved Content Fullscreen";
2452const char kContentFullscreenDescription[] =
2453 "Fullscreen content window detaches from main browser window and goes to "
2454 "a new space without moving or changing the original browser window.";
2455
Lei Zhang2eca9082017-10-17 20:42:502456const char kDialogTouchBarName[] = "Dialog Touch Bar";
2457const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282458 "Shows Dialog buttons on the Touch Bar.";
2459
2460const char kHostedAppsInWindowsName[] =
2461 "Allow hosted apps to be opened in windows";
2462const char kHostedAppsInWindowsDescription[] =
2463 "Allows hosted apps to be opened in windows instead of being limited to "
2464 "tabs.";
2465
Lei Zhang2eca9082017-10-17 20:42:502466const char kMacRTLName[] = "Enable RTL";
2467const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282468
Lei Zhang2eca9082017-10-17 20:42:502469const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2470const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522471 "Enables sharing via macOS share extensions.";
2472
Lei Zhang2eca9082017-10-17 20:42:502473const char kMacTouchBarName[] = "Hardware Touch Bar";
2474const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282475
2476const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2477const char kMacV2SandboxDescription[] =
2478 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2479 "entire life cycle.";
2480
2481const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2482const char kMacViewsNativeAppWindowsDescription[] =
2483 "Controls whether to use Toolkit-Views based Chrome App windows.";
2484
Jérôme Lebelff683d42017-11-10 10:24:022485const char kMacViewsProfileChooserName[] =
2486 "Profile chooser menu with toolkit-views on Mac";
2487const char kMacViewsProfileChooserDescription[] =
2488 "Enables profile chooser menu based on toolkit-views, on Mac";
2489
Brett Wilson7b44537e2017-08-18 01:38:282490const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2491const char kMacViewsTaskManagerDescription[] =
2492 "Controls whether to use the Toolkit-Views based Task Manager.";
2493
2494const char kTabDetachingInFullscreenName[] =
2495 "Allow tab detaching in fullscreen";
2496const char kTabDetachingInFullscreenDescription[] =
2497 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2498
2499const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2500const char kTabStripKeyboardFocusDescription[] =
2501 "Enable keyboard focus for the tabs in the tab strip.";
2502
Brett Wilson7b44537e2017-08-18 01:38:282503#endif
2504
2505// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342506
2507#if defined(OS_CHROMEOS)
2508
Brett Wilson7b44537e2017-08-18 01:38:282509const char kAcceleratedMjpegDecodeName[] =
2510 "Hardware-accelerated mjpeg decode for captured frame";
2511const char kAcceleratedMjpegDecodeDescription[] =
2512 "Enable hardware-accelerated mjpeg decode for captured frame where "
2513 "available.";
vabr0215a8e2017-03-28 12:47:342514
Brett Wilson7b44537e2017-08-18 01:38:282515const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2516const char kAllowTouchpadThreeFingerClickDescription[] =
2517 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kArcBootCompleted[] = "Load Android apps automatically";
2520const char kArcBootCompletedDescription[] =
2521 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342522
Lev Rumyantsev7a8544312017-08-18 19:26:512523const char kArcNativeBridgeExperimentName[] =
2524 "Enable native bridge experiment for ARC";
2525const char kArcNativeBridgeExperimentDescription[] =
2526 "Enables experimental native bridge feature.";
2527
lgchengecd1c1a62018-01-09 02:59:462528const char kArcUsbHostName[] = "Enable ARC USB host integration";
2529const char kArcUsbHostDescription[] =
2530 "Allow Android apps to use USB host feature on ChromeOS devices.";
2531
Kevin Cernekeeb7f96a52017-10-25 17:40:182532const char kArcVpnName[] = "Enable ARC VPN integration";
2533const char kArcVpnDescription[] =
2534 "Allow Android VPN clients to tunnel Chrome traffic.";
2535
Brett Wilson7b44537e2017-08-18 01:38:282536const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2537const char kAshEnableUnifiedDesktopDescription[] =
2538 "Enable unified desktop mode which allows a window to span multiple "
2539 "displays.";
vabr0215a8e2017-03-28 12:47:342540
Sean Kau5e956192017-10-06 22:25:172541const char kBulkPrintersName[] = "Bulk Printers Policy";
2542const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2543
Brett Wilson7b44537e2017-08-18 01:38:282544const char kCaptivePortalBypassProxyName[] =
2545 "Bypass proxy for Captive Portal Authorization";
2546const char kCaptivePortalBypassProxyDescription[] =
2547 "If proxy is configured, it usually prevents from authorization on "
2548 "different captive portals. This enables opening captive portal "
2549 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342550
Brett Wilson7b44537e2017-08-18 01:38:282551const char kCrOSComponentName[] = "Chrome OS Component";
2552const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082553 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342554
Xiaochu Liu51d03fd2017-09-08 23:51:022555const char kCrOSContainerName[] = "Chrome OS Container";
2556const char kCrOSContainerDescription[] =
2557 "Enable the use of Chrome OS Container utility.";
2558
Brett Wilson7b44537e2017-08-18 01:38:282559const char kCrosRegionsModeName[] = "Cros-regions load mode";
2560const char kCrosRegionsModeDescription[] =
2561 "This flag controls cros-regions load mode";
2562const char kCrosRegionsModeDefault[] = "Default";
2563const char kCrosRegionsModeOverride[] = "Override VPD values.";
2564const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342565
Jacob Dufault2becbc482017-08-25 00:36:352566const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2567const char kDisableLockScreenAppsDescription[] =
2568 "Disable new-note action handler apps on the lock screen. The user will "
2569 "not be able to launch the preferred note-taking action from the lock "
2570 "screen, provided that the app supports lock screen note taking.";
2571
Sammie Quonef6b4882017-09-14 16:50:052572const char kDisableTabletAutohideTitlebarsName[] =
2573 "Disable autohide titlebars in tablet mode";
2574const char kDisableTabletAutohideTitlebarsDescription[] =
2575 "Disable tablet mode autohide titlebars functionality. The user will be "
2576 "able to see the titlebar in tablet mode.";
2577
xdaid45327d2018-01-29 18:57:072578const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2579const char kDisableTabletSplitViewDescription[] =
2580 "Disable split view for Chrome OS tablet mode.";
2581
Brett Wilson7b44537e2017-08-18 01:38:282582const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2583const char kEnablePerUserTimezoneDescription[] =
2584 "Chrome OS system timezone preference is stored and handled for each user "
2585 "individually.";
vabr0215a8e2017-03-28 12:47:342586
Brett Wilson7b44537e2017-08-18 01:38:282587const char kDisableSystemTimezoneAutomaticDetectionName[] =
2588 "SystemTimezoneAutomaticDetection policy support";
2589const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2590 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342591
Lei Zhang2eca9082017-10-17 20:42:502592const char kEnableBackgroundBlurName[] = "Enable background blur.";
2593const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422594 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392595
Brett Wilson7b44537e2017-08-18 01:38:282596const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2597const char kEnableChromevoxArcSupportDescription[] =
2598 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342599
F#m75862c92018-01-25 19:10:472600const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2601const char kEnableDisplayZoomSettingDescription[] =
2602 "Allows the user to modify the display size or zoom via the chrome display "
2603 "settings page.";
2604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kEnableEhvInputName[] =
2606 "Emoji, handwriting and voice input on opt-in IME menu";
2607const char kEnableEhvInputDescription[] =
2608 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342609
Brett Wilson7b44537e2017-08-18 01:38:282610const char kEnableEncryptionMigrationName[] =
2611 "Enable encryption migration of user data";
2612const char kEnableEncryptionMigrationDescription[] =
2613 "If enabled and the device supports ARC, the user will be asked to update "
2614 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342615
Blake O'Hare9e9317b22017-10-24 02:49:352616const char kEnableFloatingVirtualKeyboardName[] =
2617 "Enable floating virtual keyboard";
2618const char kEnableFloatingVirtualKeyboardDescription[] =
2619 "If enabled, the keyboard will use floating behavior by default.";
2620
Brett Wilson7b44537e2017-08-18 01:38:282621const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2622const char kEnableImeMenuDescription[] =
2623 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342624
Jordy Greenblatt2f23df22018-02-22 19:49:192625const char kEnableUnifiedMultiDeviceSettingsName[] =
2626 "Enable unified MultiDevice settings";
2627const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2628 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2629 "MultiDevice settings.";
2630
2631const char kEnableUnifiedMultiDeviceSetupName[] =
2632 "Enable unified MultiDevice setup";
2633const char kEnableUnifiedMultiDeviceSetupDescription[] =
2634 "Enable the device to setup all MultiDevice services in a single workflow.";
2635
Klemen Kozjek05fc4512017-10-18 12:51:102636const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2637const char kEnableZipArchiverPackerDescription[] =
2638 "Enable the ability to archive files on Drive in the Files app";
2639
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412640const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2641const char kZipArchiverUnpackerDescription[] =
2642 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282643
2644const char kEolNotificationName[] = "Disable Device End of Life notification.";
2645const char kEolNotificationDescription[] =
2646 "Disable Notifcation when Device is End of Life.";
2647
2648const char kExperimentalAccessibilityFeaturesName[] =
2649 "Experimental accessibility features";
2650const char kExperimentalAccessibilityFeaturesDescription[] =
2651 "Enable additional accessibility features in the Settings page.";
2652
2653const char kExperimentalInputViewFeaturesName[] =
2654 "Experimental input view features";
2655const char kExperimentalInputViewFeaturesDescription[] =
2656 "Enable experimental features for IME input views.";
2657
2658const char kFileManagerTouchModeName[] = "Files App. touch mode";
2659const char kFileManagerTouchModeDescription[] =
2660 "Touchscreen-specific interactions of the Files app.";
2661
2662const char kFirstRunUiTransitionsName[] =
2663 "Animated transitions in the first-run tutorial";
2664const char kFirstRunUiTransitionsDescription[] =
2665 "Transitions during first-run tutorial are animated.";
2666
Brett Wilson7b44537e2017-08-18 01:38:282667const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2668const char kForceEnableStylusToolsDescription[] =
2669 "Forces display of the stylus tools menu in the shelf and the stylus "
2670 "section in settings, even if there is no attached stylus device.";
2671
2672const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2673const char kGestureEditingDescription[] =
2674 "Enable/Disable gesture editing option in the settings page for the "
2675 "virtual keyboard.";
2676
2677const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2678const char kGestureTypingDescription[] =
2679 "Enable/Disable gesture typing option in the settings page for the virtual "
2680 "keyboard.";
2681
2682const char kInputViewName[] = "Input views";
2683const char kInputViewDescription[] =
2684 "Enable IME extensions to supply custom views for user input such as "
2685 "virtual keyboards.";
2686
Megumi Hattori5a0d4182018-03-06 11:09:502687const char kLockScreenNotificationName[] = "Lock screen notification";
2688const char kLockScreenNotificationDescription[] =
2689 "Enable notifications on the lock screen.";
2690
Brett Wilson7b44537e2017-08-18 01:38:282691const char kMemoryPressureThresholdName[] =
2692 "Memory discard strategy for advanced pressure handling";
2693const char kMemoryPressureThresholdDescription[] =
2694 "Memory discarding strategy to use";
2695const char kConservativeThresholds[] =
2696 "Conservative memory pressure release strategy";
2697const char kAggressiveCacheDiscardThresholds[] =
2698 "Aggressive cache release strategy";
2699const char kAggressiveTabDiscardThresholds[] =
2700 "Aggressive tab release strategy";
2701const char kAggressiveThresholds[] =
2702 "Aggressive tab and cache release strategy";
2703
2704const char kMtpWriteSupportName[] = "MTP write support";
2705const char kMtpWriteSupportDescription[] =
2706 "MTP write support in File System API (and file manager). In-place editing "
2707 "operations are not supported.";
2708
2709const char kMultideviceName[] = "Enable multidevice features";
2710const char kMultideviceDescription[] =
2711 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342712
Kyle Horimoto027590fb2018-02-13 22:19:482713const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2714const char kMultiDeviceApiDescription[] =
2715 "Enable Mojo-based API which provides synced device metadata and the "
2716 "ability to connect to other devices associated the logged-in Google "
2717 "account.";
2718
Bailey Berrodca8eeca02017-11-18 00:49:122719const char kNativeSmbName[] = "Native Smb Client";
2720const char kNativeSmbDescription[] =
2721 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302722
vabr0215a8e2017-03-28 12:47:342723const char kNetworkPortalNotificationName[] =
2724 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342725const char kNetworkPortalNotificationDescription[] =
2726 "If enabled, notification is displayed when device is connected to a "
2727 "network behind captive portal.";
2728
Steven Bennetts77b67972017-12-14 19:38:322729const char kDisableNetworkSettingsConfigName[] =
2730 "Disable Settings based Network Configuration";
2731const char kDisableNetworkSettingsConfigDescription[] =
2732 "Disables the Settings based network configuration UI and restores the "
2733 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242734
Brett Wilson7b44537e2017-08-18 01:38:282735const char kNewKoreanImeName[] = "New Korean IME";
2736const char kNewKoreanImeDescription[] =
2737 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342738
Brett Wilson7b44537e2017-08-18 01:38:282739const char kNewZipUnpackerName[] = "New ZIP unpacker";
2740const char kNewZipUnpackerDescription[] =
2741 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342742
Brett Wilson7b44537e2017-08-18 01:38:282743const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2744const char kPhysicalKeyboardAutocorrectDescription[] =
2745 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2746 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342747
2748const char kPrinterProviderSearchAppName[] =
2749 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342750const char kPrinterProviderSearchAppDescription[] =
2751 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192752 "searches Chrome Web Store for extensions that support printing to a USB "
2753 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342754
Brett Wilson7b44537e2017-08-18 01:38:282755const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2756const char kQuickUnlockPinDescription[] =
2757 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2758 "device on the lock screen after you have signed into your device.";
2759const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2760const char kQuickUnlockPinSigninDescription[] =
2761 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2762 "device. After changing this flag PIN needs to be set up again.";
2763const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2764const char kQuickUnlockFingerprintDescription[] =
2765 "Enabling fingerprint quick unlock allows you to setup and use a "
2766 "fingerprint to unlock your Chromebook on the lock screen after you have "
2767 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342768
Brett Wilson7b44537e2017-08-18 01:38:282769const char kOfficeEditingComponentAppName[] =
2770 "Office Editing for Docs, Sheets & Slides";
2771const char kOfficeEditingComponentAppDescription[] =
2772 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072773
James Cook0ba192bf2017-12-01 20:53:112774const char kShowTapsName[] = "Show taps";
2775const char kShowTapsDescription[] =
2776 "Draws a circle at each touch point, which makes touch points more obvious "
2777 "when projecting or mirroring the display. Similar to the Android OS "
2778 "developer option.";
2779
2780const char kShowTouchHudName[] = "Show HUD for touch points";
2781const char kShowTouchHudDescription[] =
2782 "Shows a trail of colored dots for the last few touch points. Pressing "
2783 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2784 "debug hardware issues that generate spurious touch events.";
2785
Chung-Sheng Wu468b0b32017-09-01 14:41:572786const char kSysInternalsName[] = "Enable Sys-Internals";
2787const char kSysInternalsDescription[] =
2788 "If enabled, user can monitor system information at "
2789 "chrome://sys-internals.";
2790
Brett Wilson7b44537e2017-08-18 01:38:282791const char kTeamDrivesName[] = "Enable Team Drives Integration";
2792const char kTeamDrivesDescription[] =
2793 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342794
Brett Wilson7b44537e2017-08-18 01:38:282795const char kTetherName[] = "Instant Tethering";
2796const char kTetherDescription[] =
2797 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2798 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372799
Brett Wilson7b44537e2017-08-18 01:38:282800const char kTouchscreenCalibrationName[] =
2801 "Enable/disable touchscreen calibration option in material design settings";
2802const char kTouchscreenCalibrationDescription[] =
2803 "If enabled, the user can calibrate the touch screen displays in "
2804 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092805
Mitsuru Oshima63d3f2a2017-08-23 00:12:112806// Force UI Mode
2807const char kUiModeName[] = "Force Ui Mode";
2808const char kUiModeDescription[] =
2809 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2810 R"*(despite its current orientation. "Tablet" means that the )*"
2811 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2812 R"*(means that the chromebook will act as if it were in clamshell )*"
2813 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2814 R"*(the two, based on its orientation.)*";
2815const char kUiModeTablet[] = "TouchView";
2816const char kUiModeClamshell[] = "Clamshell";
2817const char kUiModeAuto[] = "Auto (default)";
2818
bruthigeafb0c02017-06-09 13:11:532819const char kUiDevToolsName[] = "Enable native UI inspection";
2820const char kUiDevToolsDescription[] =
2821 "Enables inspection of native UI elements. For local inspection use "
2822 "chrome://inspect#other";
2823
James Cooka1bcfa9a2018-01-30 00:18:402824const char kUseMusName[] = "Mojo UI service (mus)";
2825const char kUseMusDescription[] =
2826 "Handles input events, display configuration, and windowing in a mojo "
2827 "service on a thread in the browser process.";
2828
2829const char kUseMashName[] = "Out-of-process system UI (mash)";
2830const char kUseMashDescription[] =
2831 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2832 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282833
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342834// TODO(mcasas): remove after https://crbug.com/771345.
2835const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2836const char kUseMonitorColorSpaceDescription[] =
2837 "Enables Chrome to use the color space information provided by the monitor"
2838 " instead of the default sRGB color space.";
2839
Brett Wilson7b44537e2017-08-18 01:38:282840const char kVideoPlayerChromecastSupportName[] =
2841 "Experimental Chromecast support for Video Player";
2842const char kVideoPlayerChromecastSupportDescription[] =
2843 "This option enables experimental Chromecast support for Video Player app "
2844 "on ChromeOS.";
2845
2846const char kVirtualKeyboardName[] = "Virtual Keyboard";
2847const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2848
2849const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2850const char kVirtualKeyboardOverscrollDescription[] =
2851 "Enables virtual keyboard overscroll support.";
2852
2853const char kVoiceInputName[] = "Voice input on virtual keyboard";
2854const char kVoiceInputDescription[] =
2855 "Enables voice input on virtual keyboard.";
2856
2857const char kWakeOnPacketsName[] = "Wake On Packets";
2858const char kWakeOnPacketsDescription[] =
2859 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202860
yhanadac5bff5b2017-05-18 06:37:092861#endif // defined(OS_CHROMEOS)
2862
Brett Wilson7b44537e2017-08-18 01:38:282863// Random platform combinations -----------------------------------------------
2864
2865#if defined(OS_WIN) || defined(OS_LINUX)
2866
2867const char kEnableInputImeApiName[] = "Enable Input IME API";
2868const char kEnableInputImeApiDescription[] =
2869 "Enable the use of chrome.input.ime API.";
2870
2871#endif // defined(OS_WIN) || defined(OS_LINUX)
2872
2873#if defined(OS_WIN) || defined(OS_MACOSX)
2874
2875const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2876const char kAutomaticTabDiscardingDescription[] =
2877 "If enabled, tabs get automatically discarded from memory when the system "
2878 "memory is low. Discarded tabs are still visible on the tab strip and get "
2879 "reloaded when clicked on. Info about discarded tabs can be found at "
2880 "chrome://discards.";
2881
2882#endif // defined(OS_WIN) || defined(OS_MACOSX)
2883
2884// Feature flags --------------------------------------------------------------
2885
2886#if BUILDFLAG(ENABLE_VR)
2887
David Dorwin5a496c32017-11-17 01:45:052888const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2889const char kWebVrVsyncAlignDescription[] =
2890 "Align WebVR application rendering with VSync for smoother animations.";
2891
Brett Wilson7b44537e2017-08-18 01:38:282892#if defined(OS_ANDROID)
2893
David Dorwin5a496c32017-11-17 01:45:052894const char kVrBrowsingName[] = "VR browsing";
2895const char kVrBrowsingDescription[] =
2896 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282897
Yash Malik50bcfc12017-11-18 00:47:592898const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2899const char kVrBrowserKeyboardDescription[] =
2900 "Enable a virtual keyboard for Chrome VR.";
2901
Yash Malikb78e72a72018-02-21 09:14:102902const char kVrWebInputEditingName[] = "VR browsing web input editing";
2903const char kVrWebInputEditingDescription[] =
2904 "Allow editing web input fields while in VR mode.";
2905
David Dorwin5a496c32017-11-17 01:45:052906const char kVrBrowsingExperimentalFeaturesName[] =
2907 "VR browsing experimental features";
2908const char kVrBrowsingExperimentalFeaturesDescription[] =
2909 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282910
David Dorwin5a496c32017-11-17 01:45:052911const char kVrBrowsingExperimentalRenderingName[] =
2912 "VR browsing experimental rendering features";
2913const char kVrBrowsingExperimentalRenderingDescription[] =
2914 "Experimental rendering features for VR browsing (e.g. power-saving "
2915 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102916
David Dorwin5a496c32017-11-17 01:45:052917const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2918const char kVrBrowsingInCustomTabDescription[] =
2919 "Allow browsing within a VR headset while in a Custom Tab.";
2920
Michael Thiessen37895912018-01-19 20:15:542921const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2922const char kVrIconInDaydreamHomeDescription[] =
2923 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2924
David Dorwin5a496c32017-11-17 01:45:052925const char kVrLaunchIntentsName[] = "VR intents";
2926const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262927 "Allow intents to launch Chrome in VR mode.";
2928
David Dorwin5a496c32017-11-17 01:45:052929const char kWebVrAutopresentFromIntentName[] =
2930 "WebVR auto presentation from intents";
2931const char kWebVrAutopresentFromIntentDescription[] =
2932 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282933
2934#endif // OS_ANDROID
2935
Bill Orr103ed272018-02-14 21:23:052936#if BUILDFLAG(ENABLE_OCULUS_VR)
2937const char kOculusVRName[] = "Oculus hardware support";
2938const char kOculusVRDescription[] =
2939 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2940 "Windows 10 or later).";
2941#endif // ENABLE_OCULUS_VR
2942
Bill Orr49527562017-11-22 16:58:482943#if BUILDFLAG(ENABLE_OPENVR)
2944const char kOpenVRName[] = "OpenVR hardware support";
2945const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:072946 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
2947 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:482948#endif // ENABLE_OPENVR
2949
Brett Wilson7b44537e2017-08-18 01:38:282950#endif // ENABLE_VR
2951
Nico Weberaf3b00b2017-09-11 17:58:172952#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282953
2954const char kNaclDebugMaskName[] =
2955 "Restrict Native Client GDB-based debugging by pattern";
2956const char kNaclDebugMaskDescription[] =
2957 "Restricts Native Client application GDB-based debugging by URL of "
2958 "manifest file. Native Client GDB-based debugging must be enabled for this "
2959 "option to work.";
2960const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2961const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2962 "Debug everything except secure shell and the PNaCl translator.";
2963const char kNaclDebugMaskChoiceIncludeDebug[] =
2964 "Debug only if manifest URL ends with debug.nmf.";
2965
2966const char kNaclDebugName[] = "Native Client GDB-based debugging";
2967const char kNaclDebugDescription[] =
2968 "Enable GDB debug stub. This will stop a Native Client application on "
2969 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2970
2971const char kNaclName[] = "Native Client";
2972const char kNaclDescription[] =
2973 "Support Native Client for all web applications, even those that were not "
2974 "installed from the Chrome Web Store.";
2975
2976const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2977const char kPnaclSubzeroDescription[] =
2978 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2979
Nico Weberaf3b00b2017-09-11 17:58:172980#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282981
Brett Wilson7b44537e2017-08-18 01:38:282982#if BUILDFLAG(ENABLE_WEBRTC)
2983
2984const char kWebrtcH264WithOpenh264FfmpegName[] =
2985 "WebRTC H.264 software video encoder/decoder";
2986const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2987 "When enabled, an H.264 software video encoder/decoder pair is included. "
2988 "If a hardware encoder/decoder is also available it may be used instead of "
2989 "this encoder/decoder.";
2990
2991#endif // BUILDFLAG(ENABLE_WEBRTC)
2992
James Cookf9d34d22017-10-04 16:39:352993#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282994
Wenzhao Zang50fb0b22017-11-07 01:38:422995const char kAshDisableLoginDimAndBlurName[] =
2996 "Disable dimming and blur on login screen.";
2997const char kAshDisableLoginDimAndBlurDescription[] =
2998 "Disable dimming and blur on login screen.";
2999
Brett Wilson7b44537e2017-08-18 01:38:283000const char kAshDisableSmoothScreenRotationName[] =
3001 "Disable smooth rotation animations.";
3002const char kAshDisableSmoothScreenRotationDescription[] =
3003 "Disable smooth rotation animations.";
3004
wutaoead73f582018-02-11 23:25:363005const char kAshDisableTrilinearFilteringName[] = "Disable trilinear filtering.";
3006const char kAshDisableTrilinearFilteringDescription[] =
3007 "Disable trilinear filtering.";
3008
Qiang Xub7e921072017-12-07 21:02:113009const char kAshEnableDisplayMoveWindowAccelsName[] =
3010 "Enable shortcuts for moving window between displays.";
3011const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3012 "Enable shortcuts for moving window between displays.";
3013
wutaoc70d7b92017-11-01 08:06:013014const char kAshEnableKeyboardShortcutViewerName[] =
3015 "Enable keyboard shortcut viewer.";
3016const char kAshEnableKeyboardShortcutViewerDescription[] =
3017 "Enable keyboard shortcut viewer.";
3018
Brett Wilson7b44537e2017-08-18 01:38:283019const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3020const char kAshEnableMirroredScreenDescription[] =
3021 "Enable the mirrored screen mode. This mode flips the screen image "
3022 "horizontally.";
3023
Sammie Quon4e14214d2018-01-30 22:45:243024const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3025const char kAshEnableNewOverviewUiDescription[] =
3026 "Enables the new overview mode UI.";
3027
wutaod9cbcd32018-02-17 02:31:063028const char kAshEnableNewOverviewAnimationsName[] =
3029 "Enable new overview animations.";
3030const char kAshEnableNewOverviewAnimationsDescription[] =
3031 "Enables the new overview mode animations.";
3032
Qiang Xufa19cfd2018-01-29 19:36:503033const char kAshEnablePersistentWindowBoundsName[] =
3034 "Enable persistent window bounds in multi-displays scenario.";
3035const char kAshEnablePersistentWindowBoundsDescription[] =
3036 "Enable persistent window bounds in multi-displays scenario.";
3037
Brett Wilson7b44537e2017-08-18 01:38:283038const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3039const char kAshShelfColorDescription[] =
3040 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3041 "--ash-shelf-color-scheme flag defines how that color is derived.";
3042
3043const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3044const char kAshShelfColorSchemeDescription[] =
3045 "Specify how the color is derived from the wallpaper. This flag is only "
3046 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3047const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3048const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3049const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3050const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3051const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3052const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3053
Wenzhao Zang06a28872018-02-23 04:01:353054const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3055const char kEnableNewWallpaperPickerDescription[] =
3056 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3057
Brett Wilson7b44537e2017-08-18 01:38:283058const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373059 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283060const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3061 "Sets the speed of the experimental visual feedback animations for "
3062 "material design.";
3063const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3064const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3065
3066const char kUiShowCompositedLayerBordersName[] =
3067 "Show UI composited layer borders";
3068const char kUiShowCompositedLayerBordersDescription[] =
3069 "Show border around composited layers created by UI.";
3070const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3071const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3072const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3073const char kUiShowCompositedLayerBordersAll[] = "All";
3074
3075const char kUiSlowAnimationsName[] = "Slow UI animations";
3076const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3077
James Cookf9d34d22017-10-04 16:39:353078#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283079
Brett Wilson7b44537e2017-08-18 01:38:283080#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3081
3082const char kAutofillCreditCardUploadName[] =
3083 "Enable offering upload of Autofilled credit cards";
3084const char kAutofillCreditCardUploadDescription[] =
3085 "Enables a new option to upload credit cards to Google Payments for sync "
3086 "to all Chrome devices.";
3087
3088#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3089
3090// ============================================================================
3091// Don't just add flags to the end, put them in the right section in
3092// alphabetical order just like the header file.
3093// ============================================================================
3094
vabr0215a8e2017-03-28 12:47:343095} // namespace flag_descriptions