blob: aa2d113e3db04e4052ad54129d9bfb5e1b37522d [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 Ohkubof860b8e2018-02-16 03:50:5546const char kAshNewSystemMenuName[] = "New system menu";
47const char kAshNewSystemMenuDescription[] =
48 "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
Marc Treib026acc532017-10-17 18:39:59120const char kCaptureThumbnailOnNavigatingAwayName[] =
121 "Capture page thumbnail on navigating away";
122const char kCaptureThumbnailOnNavigatingAwayDescription[] =
123 "Capture a page thumbnail (for use on the New Tab page) when navigating "
124 "away from the current page, in addition to other times a thumbnail may be "
125 "captured.";
126
Brett Wilsonf27ff602017-07-07 22:28:47127const char kCastStreamingHwEncodingName[] =
128 "Cast Streaming hardware video encoding";
129const char kCastStreamingHwEncodingDescription[] =
130 "This option enables support in Cast Streaming for encoding video streams "
131 "using platform hardware.";
132
Amber Won478561d2017-08-19 01:02:59133const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
134const char kClickToOpenPDFDescription[] =
135 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
136 "embedded PDFs.";
137
Gary Kacmarcikfb69b212017-11-14 03:41:08138const char kClipboardContentSettingName[] = "Clipboard content setting";
139const char kClipboardContentSettingDescription[] =
140 "Enables a site-wide permission in the UI which controls access to the "
141 "asynchronous clipboard web API";
142
Brett Wilsonf27ff602017-07-07 22:28:47143const char kCloudImportName[] = "Cloud Import";
144const char kCloudImportDescription[] = "Allows the cloud-import feature.";
145
Christopher Cameronceb8727d2017-09-07 23:53:16146const char kForceColorProfileSRGB[] = "sRGB";
147const char kForceColorProfileP3[] = "Display P3 D65";
148const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
149const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
150
151const char kForceColorProfileName[] = "Force color profile";
152const char kForceColorProfileDescription[] =
153 "Forces Chrome to use a specific color profile instead of the color "
154 "of the window's current monitor, as specified by the operating system.";
155
Brett Wilsonf27ff602017-07-07 22:28:47156const char kCompositedLayerBordersName[] = "Composited render layer borders";
157const char kCompositedLayerBordersDescription[] =
158 "Renders a border around composited Render Layers to help debug and study "
159 "layer compositing.";
160
Theresa Wellington39f634e12018-01-17 01:42:51161const char kContextualSuggestionsAboveArticlesName[] =
162 "Enable Contextual Suggestions Above Articles";
163const char kContextualSuggestionsAboveArticlesDescription[] =
164 "If enabled, shows contextual suggestions in a linear list above "
165 "article suggestions.";
166
Brett Wilsonf27ff602017-07-07 22:28:47167const char kContextualSuggestionsCarouselName[] =
Theresa Wellington39f634e12018-01-17 01:42:51168 "Enable Contextual Suggestions Carousel";
Brett Wilsonf27ff602017-07-07 22:28:47169const char kContextualSuggestionsCarouselDescription[] =
170 "If enabled, shows contextual suggestions in a horizontal carousel in "
171 "bottom sheet content.";
172
173const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
174const char kCreditCardAssistDescription[] =
175 "Enable assisted credit card filling on certain sites.";
176
177const char kCrossProcessGuestViewIsolationName[] =
178 "Cross process frames for guests";
179const char kCrossProcessGuestViewIsolationDescription[] =
180 "Highly experimental where guests such as <webview> are implemented on "
181 "the out-of-process iframe infrastructure.";
182
Thanh Le659cb102017-12-20 22:00:19183const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
184const char kDataSaverServerPreviewsDescription[] =
185 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47186
187const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
188const char kDatasaverPromptDescription[] =
189 "Enables a prompt, which appears when a cellular network connection is "
190 "detected, to take the user to the Data Saver extension page on Chrome Web "
191 "Store.";
192const char kDatasaverPromptDemoMode[] = "Demo mode";
193
194const char kDebugPackedAppName[] = "Debugging for packed apps";
195const char kDebugPackedAppDescription[] =
196 "Enables debugging context menu options such as Inspect Element for packed "
197 "applications.";
198
199const char kDefaultTileHeightName[] = "Default tile height";
200const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
201const char kDefaultTileHeightShort[] = "128";
202const char kDefaultTileHeightTall[] = "256";
203const char kDefaultTileHeightGrande[] = "512";
204const char kDefaultTileHeightVenti[] = "1024";
205
206const char kDefaultTileWidthName[] = "Default tile width";
207const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
208const char kDefaultTileWidthShort[] = "128";
209const char kDefaultTileWidthTall[] = "256";
210const char kDefaultTileWidthGrande[] = "512";
211const char kDefaultTileWidthVenti[] = "1024";
212
213const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
214const char kDebugShortcutsDescription[] =
215 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
216
217const char kDeviceDiscoveryNotificationsName[] =
218 "Device Discovery Notifications";
219const char kDeviceDiscoveryNotificationsDescription[] =
220 "Device discovery notifications on local network.";
221
222const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
223const char kDevtoolsExperimentsDescription[] =
224 "Enables Developer Tools experiments. Use Settings panel in Developer "
225 "Tools to toggle individual experiments.";
226
227const char kDisableAudioForDesktopShareName[] =
228 "Disable Audio For Desktop Share";
229const char kDisableAudioForDesktopShareDescription[] =
230 "With this flag on, desktop share picker window will not let the user "
231 "choose whether to share audio.";
232
Brett Wilsonf27ff602017-07-07 22:28:47233const char kDisableTabForDesktopShareName[] =
234 "Disable Desktop Share with tab source";
235const char kDisableTabForDesktopShareDescription[] =
236 "This flag controls whether users can choose a tab for desktop share.";
237
238const char kDisallowDocWrittenScriptsUiName[] =
239 "Block scripts loaded via document.write";
240const char kDisallowDocWrittenScriptsUiDescription[] =
241 "Disallows fetches for third-party parser-blocking scripts inserted into "
242 "the main frame via document.write.";
243
Brett Wilsonf27ff602017-07-07 22:28:47244const char kDistanceFieldTextName[] = "Distance field text";
245const char kDistanceFieldTextDescription[] =
246 "Text is rendered with signed distance fields rather than bitmap alpha "
247 "masks.";
248
249const char kDriveSearchInChromeLauncherName[] =
250 "Drive Search in Chrome App Launcher";
251const char kDriveSearchInChromeLauncherDescription[] =
252 "Files from Drive will show up when searching the Chrome App Launcher.";
253
Brett Wilsonf27ff602017-07-07 22:28:47254const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
255 "Smart Lock Bluetooth Low Energy Discovery";
256const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07257 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47258 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
259 "phone is in its proximity.";
260
Gustavo Sacomotofb11164f2017-07-21 12:56:18261const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
262const char kEasyUnlockPromotionsDescription[] =
263 "Enables Smart Lock promotions. Promotions will be periodically display "
264 "if the user is eligible.";
265
Brett Wilsonf27ff602017-07-07 22:28:47266const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
267const char kEmbeddedExtensionOptionsDescription[] =
268 "Display extension options as an embedded element in chrome://extensions "
269 "rather than opening a new tab.";
270
271const char kEnableAsmWasmName[] =
272 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
273const char kEnableAsmWasmDescription[] =
274 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
275 R"*(WebAssembly.)*";
276
Shanfeng Zhang19c16562017-10-17 02:30:40277const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
278 "Credit card autofill ablation experiment.";
279const char kEnableAutofillCreditCardAblationExperimentDescription[] =
280 "If enabled, credit card autofill suggestions will not display.";
281
Shanfeng Zhang18f58352018-01-05 19:22:49282const char kEnableAutofillCreditCardDropdownGooglePayBrandingName[] =
283 "Show the Google Pay logo in the Autofill credit card dropdown";
284const char kEnableAutofillCreditCardDropdownGooglePayBrandingDescription[] =
285 "If enabled, shows the Google Pay logo in the Autofill credit card "
286 "dropdown.";
287
Brett Wilsonf27ff602017-07-07 22:28:47288const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
289 "Display the last used date of a credit card in autofill.";
290const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
291 "If enabled, display the last used date of a credit card in autofill.";
292
293const char kEnableAutofillCreditCardUploadCvcPromptName[] =
294 "Enable requesting missing CVC during Autofill credit card upload";
295const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
296 "If enabled, requests missing CVC when offering to upload credit cards to "
297 "Google Payments.";
298
Jared Saula3d51862018-01-12 02:51:09299const char kEnableAutofillCreditCardUploadGooglePayBrandingName[] =
Jared Saul8d2fb4442018-01-22 21:20:16300 "Enable Google Pay branding when offering credit card upload";
Jared Saula3d51862018-01-12 02:51:09301const char kEnableAutofillCreditCardUploadGooglePayBrandingDescription[] =
Jared Saul8d2fb4442018-01-22 21:20:16302 "If enabled, shows the Google Pay logo, a shorter header message, and a "
303 "narrower dialog when credit card upload to Google Payments is offered.";
Jared Saula3d51862018-01-12 02:51:09304
Jared Saul1e4786a2017-12-14 01:43:09305const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
306 "Always send metadata on detected form values for Autofill credit card "
307 "upload";
308const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
309 "If enabled, always checks with Google Payments when deciding whether to "
310 "offer credit card upload, even if some data is missing.";
311
Jared Saul5c2a1482017-12-09 00:24:31312const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
313 "Send first six digits of PAN when deciding whether to offer Autofill "
314 "credit card upload";
315const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
316 "If enabled, when deciding whether to offer credit card upload to Google "
317 "Payments, sends the first six digits of the card number to avoid cases "
318 "where card upload is likely to fail.";
319
Jason Guo71f621e2017-10-13 04:18:53320const char kEnableAutofillSendBillingCustomerNumberName[] =
321 "Enable autofill sending billing customer number when calling Google "
322 "Payments";
323const char kEnableAutofillSendBillingCustomerNumberDescription[] =
324 "If enabled, autofill sends billing customer number when calling Google "
325 "Payments.";
326
Shanfeng Zhang18f58352018-01-05 19:22:49327const char kEnableAutofillUseNewSettingsNameInDropdownName[] =
328 "Show a new Autofill settings string in the Autofill dropdown";
329const char kEnableAutofillUseNewSettingsNameInDropdownDescription[] =
330 "If enabled, shows a new Autofill settings string in the Autofill "
331 "dropdown.";
332
tmartinocd414732018-02-12 19:01:01333const char kEnableAutofillNativeDropdownViewsName[] =
334 "Display Autofill Dropdown Using Views";
335const char kEnableAutofillNativeDropdownViewsDescription[] =
336 "If enabled, the Autofill Dropdown will be built natively using Views, "
337 "rather than painted directly to a canvas.";
338
Vitalii Iarko4f9834ce2017-08-04 07:05:19339const char kEnableBreakingNewsPushName[] = "Breaking News Push";
340const char kEnableBreakingNewsPushDescription[] =
341 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
342 "through Google Cloud Messaging.";
343
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEnableBrotliName[] = "Brotli Content-Encoding.";
345const char kEnableBrotliDescription[] =
346 "Enable Brotli Content-Encoding support.";
347
Qiang Xu0f602fe62017-12-22 01:31:20348const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
349const char kEnableCaptivePortalRandomUrlDescription[] =
350 "Enable Captive Portal URL randomization.";
351
sclittle50e4bb92017-07-08 02:23:03352const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
353
354const char kEnableClientLoFiDescription[] =
355 "Enable showing low fidelity images on some pages on slow networks.";
356
Doug Arnett08b4067b2017-10-12 20:14:44357const char kEnableNoScriptPreviewsName[] = "NoScript previews";
358
359const char kEnableNoScriptPreviewsDescription[] =
360 "Enable disabling JavaScript on some pages on slow networks.";
361
Thanh Le2c279fbc2017-11-21 01:25:40362const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
363const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
364const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
365const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
366const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
367const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
368const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
369const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
370const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
371const char kDataReductionProxyServerAlternative10[] =
372 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47373const char kEnableDataReductionProxyServerExperimentName[] =
374 "Use an alternative Data Saver back end configuration.";
375const char kEnableDataReductionProxyServerExperimentDescription[] =
376 "Enable a different approach to saving data by configuring the back end "
377 "server";
378
379const char kEnableDataReductionProxySavingsPromoName[] =
380 "Data Saver 1 MB Savings Promo";
381const char kEnableDataReductionProxySavingsPromoDescription[] =
382 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
383 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
384 "enabled for the promo to be shown.";
385
Matt Giucad4870432017-11-24 01:04:38386const char kEnableDesktopPWAsName[] = "Desktop PWAs";
387const char kEnableDesktopPWAsDescription[] =
388 "Experimental windowing and install banner treatment for Progressive Web "
389 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17390
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
Erik Chen49bbfa22017-08-18 08:49:56521const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23522 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56523const char kEnableOutOfProcessHeapProfilingDescription[] =
524 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19525 "malloced objects. Heap dumps can be obtained at chrome://tracing "
526 "[category:memory-infra] and chrome://memory-internals. This setting "
527 "controls which processes are profiled. As long as this setting is not "
528 "disabled, users can start profiling any given process in "
529 "chrome://memory-internals.";
530const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
531const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
532const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
533const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
534const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10535const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19536 "None by default. Visit chrome://memory-internals to choose which "
537 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15538const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
539 "Profile a random sampling of renderer processes, ensuring only one is "
540 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19541
Erik Chen8bb76b52017-12-06 19:06:25542const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19543 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25544const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
545 "By default, small allocations are pruned from the heap dump. This reduces "
546 "the size of the compressed trace by 100x. If pruning is disabled, the "
547 "chrome://tracing UI may be unable to take or load the trace. Save the "
548 "trace directly using chrome://memory-internals, and use other mechanisms "
549 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
550 "automatically uploaded traces will always be pruned. This only affects "
551 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56552
erikchen8bc20d82018-02-14 03:21:51553const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
554const char kOutOfProcessHeapProfilingSamplingDescription[] =
555 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22556 "10000. This results in low noise for large and/or frequent allocations ["
557 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
558 "total size of malloc-ed objects] and large and/or frequent allocations "
559 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51560
Erik Chen3303fd0232018-01-11 20:29:05561const char kOOPHPStackModeName[] =
562 "The type of stack to record for memlog heap dumps";
563const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19564 "By default, memlog heap dumps record native stacks, which requires a "
565 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55566 "pointers to work on Android. Native with thread names will add the thread "
567 "name as the first frame of each native stack. It's also possible to "
568 "record a pseudo stack using trace events as identifiers. It's also "
569 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19570const char kOOPHPStackModeMixed[] = "Mixed";
571const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55572const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19573const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05574
François Beaufort2e75f492018-02-08 20:44:46575const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47576const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46577 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47578
F#m59d036e2017-09-13 07:22:17579const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
580const char kEnablePixelCanvasRecordingDescription[] =
581 "Pixel canvas recording allows the compositor to raster contents aligned "
582 "with the pixel and improves text rendering. This should be enabled when a "
583 "device is using fractional scale factor.";
584
Brett Wilsonf27ff602017-07-07 22:28:47585const char kEnableTokenBindingName[] = "Token Binding.";
586const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
587
Sahel Sharifyd732ab12017-11-29 23:03:16588extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
589 "Wheel Scroll Latching.";
590extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
591 "Wheel scroll latching enforces latching to a single element for the "
592 "duration of a scroll sequence.";
593
Brett Wilsonf27ff602017-07-07 22:28:47594const char kEnableUseZoomForDsfName[] =
595 "Use Blink's zoom for device scale factor.";
596const char kEnableUseZoomForDsfDescription[] =
597 "If enabled, Blink uses its zooming mechanism to scale content for device "
598 "scale factor.";
599const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
600const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
601const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
602
603const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
604const char kEnableScrollAnchoringDescription[] =
605 "Adjusts scroll position to prevent visible jumps when offscreen content "
606 "changes.";
607
Patrick Noland8ee016e2018-01-24 11:44:53608const char kEnableScrollAnchorSerializationName[] =
609 "Scroll Anchor Serialization";
610const char kEnableScrollAnchorSerializationDescription[] =
611 "Save the scroll anchor and use it to restore the scroll position when "
612 "navigating.";
613
Brad Nelson5cd500e2018-01-04 00:50:19614const char kEnableSharedArrayBufferName[] =
615 "Experimental enabled SharedArrayBuffer support in JavaScript.";
616const char kEnableSharedArrayBufferDescription[] =
617 "Enable SharedArrayBuffer support in JavaScript.";
618
Brett Wilsonf27ff602017-07-07 22:28:47619const char kEnableWasmName[] = "WebAssembly structured cloning support.";
620const char kEnableWasmDescription[] =
621 "Enable web pages to use WebAssembly structured cloning.";
622
Brett Wilsonf27ff602017-07-07 22:28:47623const char kEnableImageCaptureAPIName[] = "Image Capture API";
624const char kEnableImageCaptureAPIDescription[] =
625 "Enables the Web Platform Image Capture API: takePhoto(), "
626 "getPhotoCapabilities(), etc.";
627
628const char kEnableZeroSuggestRedirectToChromeName[] =
629 "Experimental contextual omnibox suggestion";
630const char kEnableZeroSuggestRedirectToChromeDescription[] =
631 "Change omnibox contextual suggestions to an experimental source. Note "
632 "that this is not an on/off switch for contextual omnibox and it only "
633 "applies to suggestions provided before the user starts typing a URL or a "
634 "search query (i.e. zero suggest).";
635
636const char kEnableWasmStreamingName[] =
637 "WebAssembly streaming compile/instantiate support.";
638const char kEnableWasmStreamingDescription[] =
639 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
640
Brett Wilsonf27ff602017-07-07 22:28:47641const char kExpensiveBackgroundTimerThrottlingName[] =
642 "Throttle expensive background timers";
643const char kExpensiveBackgroundTimerThrottlingDescription[] =
644 "Enables intervention to limit CPU usage of background timers to 1%.";
645
646const char kExperimentalAppBannersName[] = "Experimental app banners";
647const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38648 "Enables a new experimental app banner flow and UI. Implies "
649 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47650
651const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
652const char kExperimentalCanvasFeaturesDescription[] =
653 "Enables the use of experimental canvas features which are still in "
654 "development.";
655
656const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
657const char kExperimentalExtensionApisDescription[] =
658 "Enables experimental extension APIs. Note that the extension gallery "
659 "doesn't allow you to upload extensions that use experimental APIs.";
660
661const char kExperimentalFullscreenExitUIName[] =
662 "Experimental fullscreen exit UI";
663const char kExperimentalFullscreenExitUIDescription[] =
664 "Displays experimental UI to allow mouse and touch input methods to exit "
665 "fullscreen mode.";
666
Brett Wilsonf27ff602017-07-07 22:28:47667const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
668const char kExperimentalKeyboardLockUiDescription[] =
669 "An experimental full screen with keyboard lock mode requiring users to "
670 "hold Esc to exit.";
671
672const char kExperimentalSecurityFeaturesName[] =
673 "Potentially annoying security features";
674const char kExperimentalSecurityFeaturesDescription[] =
675 "Enables several security features that will likely break one or more "
676 "pages that you visit on a daily basis. Strict mixed content checking, for "
677 "example. And locking powerful features to secure contexts. This flag will "
678 "probably annoy you.";
679
680const char kExperimentalWebPlatformFeaturesName[] =
681 "Experimental Web Platform features";
682const char kExperimentalWebPlatformFeaturesDescription[] =
683 "Enables experimental Web Platform features that are in development.";
684
685const char kExtensionContentVerificationName[] =
686 "Extension Content Verification";
687const char kExtensionContentVerificationDescription[] =
688 "This flag can be used to turn on verification that the contents of the "
689 "files on disk for extensions from the webstore match what they're "
690 "expected to be. This can be used to turn on this feature if it would not "
691 "otherwise have been turned on, but cannot be used to turn it off (because "
692 "this setting can be tampered with by malware).";
693const char kExtensionContentVerificationBootstrap[] =
694 "Bootstrap (get expected hashes, but do not enforce them)";
695const char kExtensionContentVerificationEnforce[] =
696 "Enforce (try to get hashes, and enforce them if successful)";
697const char kExtensionContentVerificationEnforceStrict[] =
698 "Enforce strict (hard fail if we can't get hashes)";
699
700const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
701const char kExtensionsOnChromeUrlsDescription[] =
702 "Enables running extensions on chrome:// URLs, where extensions explicitly "
703 "request this permission.";
galinapae72e152017-05-12 13:12:28704
Brett Wilsonecb80982017-07-12 20:34:51705const char kFastUnloadName[] = "Fast tab/window close";
706const char kFastUnloadDescription[] =
707 "Enables fast tab/window closing - runs a tab's onunload js handler "
708 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34709
Brett Wilsonecb80982017-07-12 20:34:51710const char kFeaturePolicyName[] = "Feature Policy";
711const char kFeaturePolicyDescription[] =
712 "Enables granting and removing access to features through the "
713 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34714
Brett Wilsonecb80982017-07-12 20:34:51715const char kFontCacheScalingName[] = "FontCache scaling";
716const char kFontCacheScalingDescription[] =
717 "Reuse a cached font in the renderer to serve different sizes of font for "
718 "faster layout.";
719
720const char kForceEffectiveConnectionTypeName[] =
721 "Override effective connection type";
722const char kForceEffectiveConnectionTypeDescription[] =
723 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30724 "returned by the network quality estimator. Slow 2G on Cellular returns "
725 "Slow 2G when connected to a cellular network, and the actual estimate "
726 "effective connection type when not on a cellular network. Previews are "
727 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51728const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
729const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
730const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30731const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
732 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51733const char kEffectiveConnectionType2GDescription[] = "2G";
734const char kEffectiveConnectionType3GDescription[] = "3G";
735const char kEffectiveConnectionType4GDescription[] = "4G";
736
737const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
738const char kFillOnAccountSelectDescription[] =
739 "Filling of passwords when an account is explicitly selected by the user "
740 "rather than autofilling credentials on page load.";
741
Brett Wilsonecb80982017-07-12 20:34:51742const char kForceTextDirectionName[] = "Force text direction";
743const char kForceTextDirectionDescription[] =
744 "Explicitly force the per-character directionality of UI text to "
745 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
746 "direction of the character language.";
747const char kForceDirectionLtr[] = "Left-to-right";
748const char kForceDirectionRtl[] = "Right-to-left";
749
750const char kForceUiDirectionName[] = "Force UI direction";
751const char kForceUiDirectionDescription[] =
752 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
753 "mode, overriding the default direction of the UI language.";
754
755const char kFramebustingName[] =
756 "Framebusting requires same-origin or a user gesture";
757const char kFramebustingDescription[] =
758 "Don't permit an iframe to navigate the top level browsing context unless "
759 "they are same-origin or the iframe is processing a user gesture.";
760
761const char kGamepadExtensionsName[] = "Gamepad Extensions";
762const char kGamepadExtensionsDescription[] =
763 "Enabling this option allows web applications to access experimental "
764 "extensions to the Gamepad APIs.";
765
Brett Wilsonecb80982017-07-12 20:34:51766const char kGpuRasterizationMsaaSampleCountName[] =
767 "GPU rasterization MSAA sample count.";
768const char kGpuRasterizationMsaaSampleCountDescription[] =
769 "Specify the number of MSAA samples for GPU rasterization.";
770const char kGpuRasterizationMsaaSampleCountZero[] = "0";
771const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
772const char kGpuRasterizationMsaaSampleCountFour[] = "4";
773const char kGpuRasterizationMsaaSampleCountEight[] = "8";
774const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
775
776const char kGpuRasterizationName[] = "GPU rasterization";
777const char kGpuRasterizationDescription[] =
778 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28779const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51780
781const char kGoogleProfileInfoName[] = "Google profile name and icon";
782const char kGoogleProfileInfoDescription[] =
783 "Enables using Google information to populate the profile name and icon in "
784 "the avatar menu.";
785
786const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
787const char kHarfbuzzRendertextDescription[] =
788 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
789 "web content.";
790
791const char kHistoryRequiresUserGestureName[] =
792 "New history entries require a user gesture.";
793const char kHistoryRequiresUserGestureDescription[] =
794 "Require a user gesture to add a history entry.";
795const char kHyperlinkAuditingName[] = "Hyperlink auditing";
796const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
797
798const char kHostedAppQuitNotificationName[] =
799 "Quit notification for hosted apps";
800const char kHostedAppQuitNotificationDescription[] =
801 "Display a notification when quitting Chrome if hosted apps are currently "
802 "running.";
803
804const char kHostedAppShimCreationName[] =
805 "Creation of app shims for hosted apps on Mac";
806const char kHostedAppShimCreationDescription[] =
807 "Create app shims on Mac when creating a hosted app.";
808
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48809const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
810const char kHtmlBasedUsernameDetectorDescription[] =
811 "Use HTML-based username detector for the password manager.";
812
Brett Wilsonecb80982017-07-12 20:34:51813const char kIconNtpName[] = "Large icons on the New Tab page";
814const char kIconNtpDescription[] =
815 "Enable the experimental New Tab page using large icons.";
816
817const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
818const char kIgnoreGpuBlacklistDescription[] =
819 "Overrides the built-in software rendering list and enables "
820 "GPU-acceleration on unsupported system configurations.";
821
Thanh Le5f090efa52017-12-27 22:39:44822const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
823const char kIgnorePreviewsBlacklistDescription[] =
824 "Ignore decisions made by the PreviewsBlackList";
825
Brett Wilsonecb80982017-07-12 20:34:51826const char kImportantSitesInCbdName[] =
827 "Important sites options in clear browsing data dialog";
828const char kImportantSitesInCbdDescription[] =
829 "Include the option to whitelist important sites in the clear browsing "
830 "data dialog.";
831
Claudio Magni61c210922017-12-28 00:29:51832const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
833const char kImprovedLanguageSettingsDescription[] =
834 "Set of changes for Language Settings. These changes are intended to fix "
835 "the major bugs related to Language Settings.";
836
Brett Wilsonecb80982017-07-12 20:34:51837const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
838const char kInProductHelpDemoModeChoiceDescription[] =
839 "Selects the In-Product Help demo mode.";
840
841const char kJavascriptHarmonyName[] = "Experimental JavaScript";
842const char kJavascriptHarmonyDescription[] =
843 "Enable web pages to use experimental JavaScript features.";
844
845const char kJavascriptHarmonyShippingName[] =
846 "Latest stable JavaScript features";
847const char kJavascriptHarmonyShippingDescription[] =
848 "Some web pages use legacy or non-standard JavaScript extensions that may "
849 "conflict with the latest JavaScript features. This flag allows disabling "
850 "support of those features for compatibility with such pages.";
851
Yutaka Hiranof7f2f632017-09-06 10:40:08852const char kKeepAliveRendererForKeepaliveRequestsName[] =
853 "Keep a renderer alive for keepalive fetch requests";
854const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
855 "Keep a render process alive when the process has a pending fetch request "
856 "with `keepalive' specified.";
857
Joe Downing095fd6d2018-02-01 18:40:36858const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
859const char kKeyboardLockApiDescription[] =
860 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
861 "specific key events and have them routed directly to the webpage when in "
862 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
863
Brett Wilsonecb80982017-07-12 20:34:51864const char kLcdTextName[] = "LCD text antialiasing";
865const char kLcdTextDescription[] =
866 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
867 "(subpixel) when doing accelerated compositing.";
868
Matt Giucac399982f2017-10-06 07:51:29869const char kLeftToRightUrlsName[] =
870 "Render bidirectional URLs from left to right";
871const char kLeftToRightUrlsDescription[] =
872 "An experimental Bidi URL rendering algorithm where the URL components are "
873 "always shown in order from left to right, regardless of any RTL "
874 "characters. (The contents of each component are still rendered with the "
875 "normal Bidi algorithm.)";
876
Brett Wilsonecb80982017-07-12 20:34:51877const char kLoadMediaRouterComponentExtensionName[] =
878 "Load Media Router Component Extension";
879const char kLoadMediaRouterComponentExtensionDescription[] =
880 "Loads the Media Router component extension at startup.";
881
882const char kManualPasswordGenerationName[] = "Manual password generation.";
883const char kManualPasswordGenerationDescription[] =
884 "Show a 'Generate Password' option on the context menu for all password "
885 "fields.";
886
Dominic Battref27e8762017-08-23 11:16:25887const char kManualPasswordSavingName[] = "Manual password saving.";
888const char kManualPasswordSavingDescription[] =
889 "Show the password manager icon when typing into a password filed. "
890 "Clicking it allows to save the password without submitting the form.";
891
Brett Wilsonecb80982017-07-12 20:34:51892const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
893const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51894
Lei Zhang2eca9082017-10-17 20:42:50895const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
896const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51897 "If enabled, the Incognito New Tab page uses the new material design with "
898 "a better readable text.";
899
900const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
901const char kMediaRemotingDescription[] =
902 "When Casting a tab to a remote device, enabling this turns on an "
903 "optimization that forwards the content bitstream directly to the remote "
904 "device when a video is fullscreened.";
905
906const char kMemoryAblationName[] = "Memory ablation experiment";
907const char kMemoryAblationDescription[] =
908 "Allocates extra memory in the browser process.";
909
910const char kMemoryCoordinatorName[] = "Memory coordinator";
911const char kMemoryCoordinatorDescription[] =
912 "Enable memory coordinator instead of memory pressure listeners.";
913
914const char kMessageCenterNewStyleNotificationName[] = "New style notification";
915const char kMessageCenterNewStyleNotificationDescription[] =
916 "Enables the experiment style of material-design notification";
917
Brett Wilsonecb80982017-07-12 20:34:51918const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
919const char kMhtmlGeneratorOptionDescription[] =
920 "Provides experimental options for MHTML file generator.";
921const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
922const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
923
Kouhei Ueno08445c22017-09-05 03:58:30924const char kModuleScriptsDynamicImportName[] =
925 "Enable ECMAScript 6 modules dynamic import";
926const char kModuleScriptsDynamicImportDescription[] =
927 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
928 "Blink.";
929
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05930const char kModuleScriptsImportMetaUrlName[] =
931 "Enable ECMAScript 6 modules import.meta.url";
932const char kModuleScriptsImportMetaUrlDescription[] =
933 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
934 "Blink.";
935
Brett Wilsonecb80982017-07-12 20:34:51936const char kNewAudioRenderingMixingStrategyName[] =
937 "New audio rendering mixing strategy";
938const char kNewAudioRenderingMixingStrategyDescription[] =
939 "Use the new audio rendering mixing strategy.";
940
941const char kNewBookmarkAppsName[] = "The new bookmark app system";
942const char kNewBookmarkAppsDescription[] =
943 "Enables the new system for creating bookmark apps.";
944
Brett Wilsonecb80982017-07-12 20:34:51945const char kNewRemotePlaybackPipelineName[] =
946 "Enable the new remote playback pipeline.";
947const char kNewRemotePlaybackPipelineDescription[] =
948 "Enable the new pipeline for playing media element remotely via "
949 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50950const char kUseSurfaceLayerForVideoName[] =
951 "Enable the use of SurfaceLayer objects for videos.";
952const char kUseSurfaceLayerForVideoDescription[] =
953 "Enable compositing onto a Surface instead of a VideoLayer "
954 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51955
956const char kNewUsbBackendName[] = "Enable new USB backend";
957const char kNewUsbBackendDescription[] =
958 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34959
brettw5f9c1642017-05-14 17:12:48960const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34961const char kNostatePrefetchDescription[] =
962 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
963 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
964 R"*(improve load times even more. "Simple Load" does nothing and is )*"
965 R"*(similar to disabling the feature, but collects more metrics for )*"
966 R"*(comparison purposes.)*";
967
Brett Wilsonecb80982017-07-12 20:34:51968const char kNotificationsNativeFlagName[] = "Enable native notifications.";
969const char kNotificationsNativeFlagDescription[] =
970 "Enable support for using the native notification toasts and notification "
971 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34972
Zentaro Kavanaghbad511c2017-10-18 22:29:00973#if defined(OS_POSIX)
974const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
975const char kNtlmV2EnabledDescription[] =
976 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
977#endif
978
Brett Wilsonecb80982017-07-12 20:34:51979const char kNumRasterThreadsName[] = "Number of raster threads";
980const char kNumRasterThreadsDescription[] =
981 "Specify the number of raster threads.";
982const char kNumRasterThreadsOne[] = "1";
983const char kNumRasterThreadsTwo[] = "2";
984const char kNumRasterThreadsThree[] = "3";
985const char kNumRasterThreadsFour[] = "4";
986
987const char kOfferStoreUnmaskedWalletCardsName[] =
988 "Google Payments card saving checkbox";
989const char kOfferStoreUnmaskedWalletCardsDescription[] =
990 "Show the checkbox to offer local saving of a credit card downloaded from "
991 "the server.";
992
993const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
994const char kOfflineAutoReloadDescription[] =
995 "Pages that fail to load while the browser is offline will be "
996 "auto-reloaded when the browser is online again.";
997
998const char kOfflineAutoReloadVisibleOnlyName[] =
999 "Only Auto-Reload Visible Tabs";
1000const char kOfflineAutoReloadVisibleOnlyDescription[] =
1001 "Pages that fail to load while the browser is offline will only be "
1002 "auto-reloaded if their tab is visible.";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kOmniboxDisplayTitleForCurrentUrlName[] =
1005 "Include title for the current URL in the omnibox";
1006const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1007 "In the event that the omnibox provides suggestions on-focus, the URL of "
1008 "the current page is provided as the first suggestion without a title. "
1009 "Enabling this flag causes the title to be displayed.";
1010
Benoit Lizeab08362c2017-07-19 14:50:541011const char kOmniboxSpareRendererName[] =
1012 "Start spare renderer on omnibox focus";
1013const char kOmniboxSpareRendererDescription[] =
1014 "When the omnibox is focused, start an empty spare renderer. This can "
1015 "speed up the load of the navigation from the omnibox.";
1016
Tommy C. Li8875a442017-08-23 00:10:591017const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1018 "Omnibox UI Elide Suggestion URL After Host";
1019const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1020 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1021 "dropdown.";
1022
Tommy C. Lid79d4402017-12-22 22:49:121023const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1024 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1025const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1026 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1027 "displayed URLs. Hidden portions are restored during editing.";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kOmniboxUIHideSuggestionUrlSchemeName[] =
1030 "Omnibox UI Hide Suggestion URL Scheme";
1031const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
1032 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
1033
1034const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
1035 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
1036const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
1037 "Elides trivially informative subdomains from suggested URLs in the "
1038 "Omnibox dropdown (e.g. www. and m.).";
1039
1040const char kOmniboxUIMaxAutocompleteMatchesName[] =
1041 "Omnibox UI Max Autocomplete Matches";
1042
1043const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1044 "Changes the maximum number of autocomplete matches displayed in the "
1045 "Omnibox UI.";
1046
1047const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1048const char kOmniboxUINarrowDropdownDescription[] =
1049 "Makes the suggestions dropdown width match the omnibox width.";
1050
Justin Donnelly65c9e8b2017-10-01 05:15:011051const char kOmniboxUIShowSuggestionFaviconsName[] =
1052 "Omnibox UI Show Suggestion Favicons";
1053const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1054 "Shows favicons instead of generic vector icons for URL suggestions in the "
1055 "Omnibox dropdown.";
1056
1057const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1058const char kOmniboxUISwapTitleAndUrlDescription[] =
1059 "In the omnibox dropdown, shows titles before URLs when both are "
1060 "available.";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1063const char kOmniboxUIVerticalLayoutDescription[] =
1064 "Displays Omnibox sugestions in 2 lines - title over origin.";
1065
1066const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1067const char kOmniboxUIVerticalMarginDescription[] =
1068 "Changes the vertical margin in the Omnibox UI.";
1069
Brett Wilsonecb80982017-07-12 20:34:511070const char kOriginTrialsName[] = "Origin Trials";
1071const char kOriginTrialsDescription[] =
1072 "Enables origin trials for controlling access to feature/API experiments.";
1073
Becca Hughes930d8cd2017-10-02 11:09:121074const char kOverflowIconsForMediaControlsName[] =
1075 "Icons on Media Controls Overflow Menu";
1076const char kOverflowIconsForMediaControlsDescription[] =
1077 "Displays icons on the overflow menu of the native media controls";
1078
Brett Wilsonecb80982017-07-12 20:34:511079const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1080const char kOverlayScrollbarsDescription[] =
1081 "Enable the experimental overlay scrollbars implementation. You must also "
1082 "enable threaded compositing to have the scrollbars animate.";
1083
chaopenge8aa016b2017-08-24 15:20:191084const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1085 "Flash Overlay Scrollbars After Any Scroll Update";
1086const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1087 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1088 " must also enable Overlay Scrollbars.";
1089
chaopeng343678022017-08-24 18:45:001090const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1091 "Flash Overlay Scrollbars When Mouse Enter";
1092const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1093 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1094 " enable Overlay Scrollbars.";
1095
Claudio Magni81326f92017-09-01 05:21:181096const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1097const char kUseNewAcceptLanguageHeaderDescription[] =
1098 "Adds the base language code after other corresponding language+region "
1099 "codes. This ensures that users receive content in their preferred "
1100 "language.";
1101
Brett Wilsonecb80982017-07-12 20:34:511102const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1103const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481104 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511105const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481106const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511107
1108const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1109const char kOverscrollStartThresholdDescription[] =
1110 "Changes overscroll start threshold relative to the default value.";
1111const char kOverscrollStartThreshold133Percent[] = "133%";
1112const char kOverscrollStartThreshold166Percent[] = "166%";
1113const char kOverscrollStartThreshold200Percent[] = "200%";
1114
Xing Liu5400a002017-09-15 21:48:291115const char kParallelDownloadingName[] = "Parallel downloading";
1116const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061117 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291118
Brett Wilsonecb80982017-07-12 20:34:511119const char kPassiveEventListenerDefaultName[] =
1120 "Passive Event Listener Override";
1121const char kPassiveEventListenerDefaultDescription[] =
1122 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1123 "haven't requested otherwise) to be treated as passive. This will break "
1124 "touch/wheel behavior on some websites but is useful for demonstrating the "
1125 "potential performance benefits of adopting passive event listeners.";
1126const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1127const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1128
1129const char kPassiveEventListenersDueToFlingName[] =
1130 "Touch Event Listeners Passive Default During Fling";
1131const char kPassiveEventListenersDueToFlingDescription[] =
1132 "Forces touchstart, and first touchmove per scroll event listeners during "
1133 "fling to be treated as passive.";
1134
1135const char kPassiveDocumentEventListenersName[] =
1136 "Document Level Event Listeners Passive Default";
1137const char kPassiveDocumentEventListenersDescription[] =
1138 "Forces touchstart, and touchmove event listeners on document level "
1139 "targets (which haven't requested otherwise) to be treated as passive.";
1140
1141const char kPasswordForceSavingName[] = "Force-saving of passwords";
1142const char kPasswordForceSavingDescription[] =
1143 "Allow the user to manually enforce password saving instead of relying on "
1144 "password manager's heuristics.";
1145
1146const char kPasswordGenerationName[] = "Password generation";
1147const char kPasswordGenerationDescription[] =
1148 "Allow the user to have Chrome generate passwords when it detects account "
1149 "creation pages.";
1150
Vaclav Brozekd8a3f542017-11-16 14:21:131151const char kPasswordExportName[] = "Password export";
1152const char kPasswordExportDescription[] =
1153 "Export functionality in password settings.";
1154
1155const char kPasswordImportName[] = "Password import";
1156const char kPasswordImportDescription[] =
1157 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511158
Friedrich Horschig03c91982018-01-25 14:21:281159const char kPasswordSearchMobileName[] = "Password search";
1160const char kPasswordSearchMobileDescription[] =
1161 "Search functionality in password settings.";
1162
Brett Wilsonecb80982017-07-12 20:34:511163const char kPermissionActionReportingName[] = "Permission Action Reporting";
1164const char kPermissionActionReportingDescription[] =
1165 "Enables permission action reporting to Safe Browsing servers for opted in "
1166 "users.";
1167
1168const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1169const char kPermissionsBlacklistDescription[] =
1170 "Enables the Permissions Blacklist, which blocks permissions for "
1171 "blacklisted sites for Safe Browsing users.";
1172
1173const char kPinchScaleName[] = "Pinch scale";
1174const char kPinchScaleDescription[] =
1175 "Enables experimental support for scale using pinch.";
1176
Doug Arnett620ff542018-02-06 17:54:221177const char kPreviewsAllowedName[] = "Previews Allowed";
1178const char kPreviewsAllowedDescription[] =
1179 "Allows previews to be shown subject to specific preview types being "
1180 "enabled and the client experiencing specific triggering conditions. "
1181 "May be used as a kill-switch to turn off all potential preview types.";
1182
Brett Wilsonecb80982017-07-12 20:34:511183const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1184const char kPrintPdfAsImageDescription[] =
1185 "If enabled, an option to print PDF files as images will be available in "
1186 "print preview.";
1187
1188const char kPrintPreviewRegisterPromosName[] =
1189 "Print Preview Registration Promos";
1190const char kPrintPreviewRegisterPromosDescription[] =
1191 "Enable registering unregistered cloud printers from print preview.";
1192
1193const char kProtectSyncCredentialName[] = "Autofill sync credential";
1194const char kProtectSyncCredentialDescription[] =
1195 "How the password manager handles autofill for the sync credential.";
1196
1197const char kProtectSyncCredentialOnReauthName[] =
1198 "Autofill sync credential only for transactional reauth pages";
1199const char kProtectSyncCredentialOnReauthDescription[] =
1200 "How the password manager handles autofill for the sync credential only "
1201 "for transactional reauth pages.";
1202
Mohsen Izadi93faac12017-07-29 04:45:151203const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1204const char kPullToRefreshDescription[] =
1205 "Pull-to-refresh gesture in response to vertical overscroll.";
1206
Brett Wilsonecb80982017-07-12 20:34:511207const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1208const char kPushApiBackgroundModeDescription[] =
1209 "Enable background mode for the Push API. This allows Chrome to continue "
1210 "running after the last window is closed, and to launch at OS startup, if "
1211 "the Push API needs it.";
1212
1213const char kQuicName[] = "Experimental QUIC protocol";
1214const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1215
1216const char kReducedReferrerGranularityName[] =
1217 "Reduce default 'referer' header granularity.";
1218const char kReducedReferrerGranularityDescription[] =
1219 "If a page hasn't set an explicit referrer policy, setting this flag will "
1220 "reduce the amount of information in the 'referer' header for cross-origin "
1221 "requests.";
1222
Claudio Magnie0a80bb2018-01-31 02:52:581223extern const char kRegionalLocalesAsDisplayUIName[] =
1224 "Allow regional locales as display UI";
1225extern const char kRegionalLocalesAsDisplayUIDescription[] =
1226 "This flag allows regional locales to be selected as display UI by the "
1227 "user in Language Settings. The actual locale of the system is derived "
1228 "from the user selection based on some simple fallback logic.";
1229
Mihai Sardarescu6d0f5b72017-10-30 11:24:381230const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1231 "Remove usage of the deprecated GAIA sign-in endpoint";
1232const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1233 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1234 "This flags controls wheter it should no longer be used during a sign-in "
1235 " flow.";
1236
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351237const char kRendererSideResourceSchedulerName[] =
1238 "Renderer side ResourceScheduler";
1239const char kRendererSideResourceSchedulerDescription[] =
1240 "Migrate some ResourceScheduler functionalities to renderer";
1241
Brett Wilsonecb80982017-07-12 20:34:511242const char kRequestTabletSiteName[] =
1243 "Request tablet site option in the settings menu";
1244const char kRequestTabletSiteDescription[] =
1245 "Allows the user to request tablet site. Web content is often optimized "
1246 "for tablet devices. When this option is selected the user agent string is "
1247 "changed to indicate a tablet device. Web content optimized for tablets is "
1248 "received there after for the current tab.";
1249
1250const char kResetAppListInstallStateName[] =
1251 "Reset the App Launcher install state on every restart.";
1252const char kResetAppListInstallStateDescription[] =
1253 "Reset the App Launcher install state on every restart. While this flag is "
1254 "set, Chrome will forget the launcher has been installed each time it "
1255 "starts. This is used for testing the App Launcher install flow.";
1256
1257const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1258const char kResourceLoadSchedulerDescription[] =
1259 "Uses the resource load scheduler in blink to schedule and throttle "
1260 "resource load requests.";
1261
Brett Wilsonecb80982017-07-12 20:34:511262const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1263const char kSafeSearchUrlReportingDescription[] =
1264 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1265
Alexei Filippov98772752018-01-27 08:26:521266const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1267const char kSamplingHeapProfilerDescription[] =
1268 "Enables native memory sampling profiler with specified rate in KiB. "
1269 "If sampling rate is not provided the default value of 128 KiB is used.";
1270
Brett Wilsonecb80982017-07-12 20:34:511271const char kSaveasMenuLabelExperimentName[] =
1272 "Switch 'Save as' menu labels to 'Download'";
1273const char kSaveasMenuLabelExperimentDescription[] =
1274 "Enables an experiment to switch menu labels that use 'Save as...' to "
1275 "'Download'.";
1276
1277const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1278const char kSavePageAsMhtmlDescription[] =
1279 "Enables saving pages as MHTML: a single text file containing HTML and all "
1280 "sub-resources.";
1281
Nate Chapin9638e7102017-09-20 22:11:011282const char kSavePreviousDocumentResourcesName[] =
1283 "Save Previous Document Resources";
1284const char kSavePreviousDocumentResourcesDescription[] =
1285 "Saves an old document's cached resources until the specified point in the "
1286 "next document's lifecycle.";
1287const char kSavePreviousDocumentResourcesNever[] =
1288 "Don't explicitly save resources";
1289const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1290 "Save resources until onDOMContentLoaded completes";
1291const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1292 "Save resources until onload completes";
1293
Brett Wilsonecb80982017-07-12 20:34:511294const char kScrollPredictionName[] = "Scroll prediction";
1295const char kScrollPredictionDescription[] =
1296 "Predicts the finger's future position during scrolls allowing time to "
1297 "render the frame before the finger is there.";
1298
1299const char kSecondaryUiMd[] =
1300 "Material Design in the rest of the browser's native UI";
1301const char kSecondaryUiMdDescription[] =
1302 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1303 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1304 "browser dialogs.";
1305
1306const char kServiceWorkerNavigationPreloadName[] =
1307 "Service worker navigation preload.";
1308const char kServiceWorkerNavigationPreloadDescription[] =
1309 "Enable web pages to use the experimental service worker navigation "
1310 "preload API.";
1311
gogeraldd5061b592017-09-06 23:39:551312const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1313const char kServiceWorkerPaymentAppsDescription[] =
1314 "Enable Service Worker applications to integrate as payment apps";
1315
Makoto Shimazud9f333c2017-08-08 07:23:171316const char kServiceWorkerScriptStreamingName[] =
1317 "Service worker script streaming.";
1318const char kServiceWorkerScriptStreamingDescription[] =
1319 "Installed scripts for a service worker are sent over a dedicated "
1320 "message pipe and data pipes, and that is never be blocked on the main "
1321 "thread.";
1322
Tsuyoshi Horobcb1c642017-11-24 16:32:141323const char kServiceWorkerScriptFullCodeCacheName[] =
1324 "Service worker script full code cache.";
1325const char kServiceWorkerScriptFullCodeCacheDescription[] =
1326 "Generate V8 full code cache of Service Worker scripts while installing.";
1327
Brett Wilsonecb80982017-07-12 20:34:511328const char kSettingsWindowName[] = "Show settings in a window";
1329const char kSettingsWindowDescription[] =
1330 "Settings will be shown in a dedicated window instead of as a browser tab.";
1331
Trent Apted750ba7022017-10-23 13:36:251332const char kShowAllDialogsWithViewsToolkitName[] =
1333 "Show all dialogs with Views toolkit";
1334const char kShowAllDialogsWithViewsToolkitDescription[] =
1335 "All browser dialogs will be shown using the Views toolkit rather than "
1336 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1337
Brett Wilsonecb80982017-07-12 20:34:511338const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1339const char kShowAutofillSignaturesDescription[] =
1340 "Annotates web forms with Autofill signatures as HTML attributes.";
1341
1342const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1343const char kShowAutofillTypePredictionsDescription[] =
1344 "Annotates web forms with Autofill field type predictions as placeholder "
1345 "text.";
1346
1347const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1348const char kShowOverdrawFeedbackDescription[] =
1349 "Visualize overdraw by color-coding elements based on if they have other "
1350 "elements drawn underneath.";
1351
yiyixbdfa9a0b2017-10-23 22:21:471352const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1353const char kEnableDrawOcclusionDescription[] =
1354 "Enable the system to use draw occlusion to skip draw quads when they are "
1355 "not shown on the screen.";
1356
Brett Wilsonecb80982017-07-12 20:34:511357const char kShowSavedCopyName[] = "Show Saved Copy Button";
1358const char kShowSavedCopyDescription[] =
1359 "When a page fails to load, if a stale copy of the page exists in the "
1360 "browser cache, a button will be presented to allow the user to load that "
1361 "stale copy. The primary enabling choice puts the button in the most "
1362 "salient position on the error page; the secondary enabling choice puts it "
1363 "secondary to the reload button.";
1364const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1365const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1366const char kDisableShowSavedCopy[] = "Disable";
1367
Brett Wilsonecb80982017-07-12 20:34:511368const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1369const char kSilentDebuggerExtensionApiDescription[] =
1370 "Do not show the infobar when an extension attaches to a page via "
1371 "chrome.debugger API. This is required to debug extension background "
1372 "pages.";
1373
1374const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1375const char kSimpleCacheBackendDescription[] =
1376 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1377 "disk space allocation.";
1378
1379const char kSimplifiedFullscreenUiName[] =
1380 "Simplified full screen / mouse lock UI.";
1381const char kSimplifiedFullscreenUiDescription[] =
1382 "A simplified new user experience when entering page-triggered full screen "
1383 "or mouse pointer lock states.";
1384
Christopher Thompson75ff845d2018-02-01 20:12:461385const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1386const char kSimplifyHttpsIndicatorDescription[] =
1387 "Change the UI treatment for HTTPS pages.";
1388
Brett Wilsonecb80982017-07-12 20:34:511389const char kSingleClickAutofillName[] = "Single-click autofill";
1390const char kSingleClickAutofillDescription[] =
1391 "Make autofill suggestions on initial mouse click on a form element.";
1392
Brett Wilsonecb80982017-07-12 20:34:511393const char kSitePerProcessName[] = "Strict site isolation";
1394const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171395 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511396 "contains pages from at most one site. In this mode, out-of-process "
1397 "iframes will be used whenever an iframe is cross-site.";
1398
1399const char kSiteSettings[] = "Site settings with All sites and Site details";
1400const char kSiteSettingsDescription[] =
1401 "Adds new ways of viewing Site settings.";
1402
1403const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1404const char kSlimmingPaintInvalidationDescription[] =
1405 "Whether to enable a new paint invalidation system.";
1406
1407const char kSmoothScrollingName[] = "Smooth Scrolling";
1408const char kSmoothScrollingDescription[] =
1409 "Animate smoothly when scrolling page content.";
1410
1411const char kSoftwareRasterizerName[] = "3D software rasterizer";
1412const char kSoftwareRasterizerDescription[] =
1413 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1414
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201415const char kSoleIntegrationName[] = "Sole integration";
1416const char kSoleIntegrationDescription[] =
1417 "Enable Sole integration for browser customization. You must restart "
1418 "the browser twice for changes to take effect.";
1419
Tommy Steimel77704be2017-08-28 22:14:401420const char kSoundContentSettingName[] = "Sound content setting";
1421const char kSoundContentSettingDescription[] =
1422 "Enable site-wide muting in content settings and tab strip context menu.";
1423
Alexandr Ilinf0500ed32017-09-27 21:12:361424const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1425const char kSpeculativePreconnectDescription[] =
1426 "Enable the new implementation of preconnect and DNS preresolve. "
1427 "\"Learning\" means that only database construction is enabled, "
1428 "\"Preconnect\" enables both learning and preconnect and disables the "
1429 "existing implementation. \"No preconnect\" disables both implementations.";
1430
Brett Wilsonecb80982017-07-12 20:34:511431const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341432const char kSpeculativePrefetchDescription[] =
1433 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1434 R"*(load times, based on a local database (see chrome://predictors). )*"
1435 R"*("Learning" means that only the database construction is enabled, )*"
1436 R"*("Prefetching" that learning and prefetching are enabled.)*";
1437
Justin Donnelly4e448cb2017-07-07 21:32:131438const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1439 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131440const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1441 "If enabled, when the user enters text in the omnibox that looks like a "
1442 "a query, any service worker associated with the search engine the query "
1443 "will be sent to is started early.";
1444
Brett Wilsonecb80982017-07-12 20:34:511445const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1446const char kSpellingFeedbackFieldTrialDescription[] =
1447 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401448
Shubhie Panickerfaf082ed2018-01-03 04:49:151449const char kStopInBackgroundName[] = "Stop in background";
1450const char kStopInBackgroundDescription[] =
1451 "Stop scheduler task queues, in the background, "
1452 " after certain grace time.";
1453
1454const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1455const char kStopLoadingInBackgroundDescription[] =
1456 "Stop loading tasks and loading "
1457 "resources, in the background, after certain grace time.";
1458
Brett Wilsonecb80982017-07-12 20:34:511459const char kSuggestionsWithSubStringMatchName[] =
1460 "Substring matching for Autofill suggestions";
1461const char kSuggestionsWithSubStringMatchDescription[] =
1462 "Match Autofill suggestions based on substrings (token prefixes) rather "
1463 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341464
Brett Wilsonecb80982017-07-12 20:34:511465const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1466const char kSyncSandboxDescription[] =
1467 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341468
Brett Wilsonecb80982017-07-12 20:34:511469const char kTabAudioMutingName[] = "Tab audio muting UI control";
1470const char kTabAudioMutingDescription[] =
1471 "When enabled, the audio indicators in the tab strip double as tab audio "
1472 "mute controls. This also adds commands in the tab context menu for "
1473 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341474
Christian Dullweberd0d96f02017-09-13 09:22:511475const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1476const char kTabsInCbdDescription[] =
1477 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1478
Becky Zhou99c22802017-10-19 05:09:271479const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1480const char kTabModalJsDialogDescription[] =
1481 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1482 " tab.";
1483
Brett Wilsonecb80982017-07-12 20:34:511484const char kTcpFastOpenName[] = "TCP Fast Open";
1485const char kTcpFastOpenDescription[] =
1486 "Enable the option to send extra authentication information in the initial "
1487 "SYN packet for a previously connected client, allowing faster data send "
1488 "start.";
vabr0215a8e2017-03-28 12:47:341489
Daniele Castagna0fead93e2018-01-10 20:40:291490const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1491const char kTintGlCompositedContentDescription[] =
1492 "Tint contents composited using GL with a shade of red to help debug and "
1493 "study overlay support.";
1494
Brett Wilsonecb80982017-07-12 20:34:511495const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1496const char kTopChromeMdDescription[] =
1497 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1498const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531499const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511500const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341501
Brett Wilsonecb80982017-07-12 20:34:511502const char kThreadedScrollingName[] = "Threaded scrolling";
1503const char kThreadedScrollingDescription[] =
1504 "Threaded handling of scroll-related input events. Disabling this will "
1505 "force all such scroll events to be handled on the main thread. Note that "
1506 "this can dramatically hurt scrolling performance of most websites and is "
1507 "intended for testing purposes only.";
1508
Steven Valdez4584b2482017-07-14 01:11:571509const char kTLS13VariantName[] = "TLS 1.3";
1510const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1511const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111512const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041513const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571514
Brett Wilsonecb80982017-07-12 20:34:511515const char kTopDocumentIsolationName[] = "Top document isolation";
1516const char kTopDocumentIsolationDescription[] =
1517 "Highly experimental performance mode where cross-site iframes are kept in "
1518 "a separate process from the top document. In this mode, iframes from "
1519 "different third-party sites will be allowed to share a process.";
1520
Dominick Ng8896b1cd2017-10-17 23:24:361521const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1522const char kTopSitesFromSiteEngagementDescription[] =
1523 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1524 "engagement.";
1525
Brett Wilsonecb80982017-07-12 20:34:511526const char kTouchAdjustmentName[] = "Touch adjustment";
1527const char kTouchAdjustmentDescription[] =
1528 "Refine the position of a touch gesture in order to compensate for touches "
1529 "having poor resolution compared to a mouse.";
1530
1531const char kTouchDragDropName[] = "Touch initiated drag and drop";
1532const char kTouchDragDropDescription[] =
1533 "Touch drag and drop can be initiated through long press on a draggable "
1534 "element.";
1535
1536const char kTouchEventsName[] = "Touch Events API";
1537const char kTouchEventsDescription[] =
1538 "Force Touch Events API feature detection to always be enabled or "
1539 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291540 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511541
1542const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1543const char kTouchSelectionStrategyDescription[] =
1544 "Controls how text selection granularity changes when touch text selection "
1545 "handles are dragged. Non-default behavior is experimental.";
1546const char kTouchSelectionStrategyCharacter[] = "Character";
1547const char kTouchSelectionStrategyDirection[] = "Direction";
1548
1549const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1550const char kTraceUploadUrlDescription[] =
1551 "This is to be used in conjunction with the enable-navigation-tracing "
1552 "flag. Please select the label that best describes the recorded traces. "
1553 "This will choose the destination the traces are uploaded to. If you are "
1554 "not sure, select other. If left empty, no traces will be uploaded.";
1555const char kTraceUploadUrlChoiceOther[] = "Other";
1556const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1557const char kTraceUploadUrlChoiceQa[] = "QA";
1558const char kTraceUploadUrlChoiceTesting[] = "Testing";
1559
Philippe Hamel7fdaa452017-09-29 17:22:491560const char kTranslateRankerEnforcementName[] =
1561 "Enforce TranslateRanker decisions";
1562const char kTranslateRankerEnforcementDescription[] =
1563 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1564 "or not Translate UI should be triggered in a given context.";
1565
Brett Wilsonecb80982017-07-12 20:34:511566const char kTrySupportedChannelLayoutsName[] =
1567 "Causes audio output streams to check if channel layouts other than the "
1568 "default hardware layout are available.";
1569const char kTrySupportedChannelLayoutsDescription[] =
1570 "Causes audio output streams to check if channel layouts other than the "
1571 "default hardware layout are available. Turning this on will allow the OS "
1572 "to do stereo to surround expansion if supported. May expose third party "
1573 "driver bugs, use with caution.";
1574
David Roger6762a092018-01-31 15:55:071575const char kUnifiedConsentName[] = "Unified Consent";
1576const char kUnifiedConsentDescription[] =
1577 "Enables a unified management of user consent for privacy-related "
1578 "features. This includes new confirmation screens and improved settings "
1579 "pages.";
1580
Brett Wilsonecb80982017-07-12 20:34:511581const char kUiPartialSwapName[] = "Partial swap";
1582const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1583
Chris Pickel3a227ae62017-08-24 10:47:261584const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1585const char kUseDdljsonApiDescription[] =
1586 "Enables the new ddljson API to fetch Doodles for the NTP.";
1587
Becca Hughes59c05b42017-11-03 13:11:581588const char kUseModernMediaControlsName[] = "New Media Controls";
1589const char kUseModernMediaControlsDescription[] =
1590 "Enables the new style native media controls.";
1591
Mustaq Ahmedc646c0a2017-10-20 20:08:301592const char kUserActivationV2Name[] = "User Activation v2";
1593const char kUserActivationV2Description[] =
1594 "Enable simple user activation for APIs that are otherwise controlled by "
1595 "user gesture tokens.";
1596
Brett Wilsonecb80982017-07-12 20:34:511597const char kUserConsentForExtensionScriptsName[] =
1598 "User consent for extension scripts";
1599const char kUserConsentForExtensionScriptsDescription[] =
1600 "Require user consent for an extension running a script on the page, if "
1601 "the extension requested permission to run on all urls.";
1602
1603const char kUseSuggestionsEvenIfFewFeatureName[] =
1604 "Disable minimum for server-side tile suggestions on NTP.";
1605const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1606 "Request server-side suggestions even if there are only very few of them "
1607 "and use them for tiles on the New Tab Page.";
1608
1609const char kV8CacheOptionsName[] = "V8 caching mode.";
1610const char kV8CacheOptionsDescription[] =
1611 "Caching mode for the V8 JavaScript engine.";
1612const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1613const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1614
Hitoshi Yoshida3e5db562017-09-11 02:31:081615const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1616const char kV8ContextSnapshotDescription[] =
1617 "Sets to use a snapshot to create V8 contexts in frame creation.";
1618
Michael Hablich896d52662017-10-23 15:59:571619const char kV8VmFutureName[] = "Future V8 VM features";
1620const char kV8VmFutureDescription[] =
1621 "This enables upcoming and experimental V8 VM features. "
1622 "This flag does not enable experimental JavaScript features.";
1623
Brett Wilsonecb80982017-07-12 20:34:511624const char kVibrateRequiresUserGestureName[] =
1625 "Requiring user gesture for the Vibration API";
1626const char kVibrateRequiresUserGestureDescription[] =
1627 "Block the Vibration API if no user gesture has been received on the frame "
1628 "or any embedded frame.";
1629
1630const char kVideoFullscreenOrientationLockName[] =
1631 "Lock screen orientation when playing a video fullscreen.";
1632const char kVideoFullscreenOrientationLockDescription[] =
1633 "Lock the screen orientation of the device to match video orientation when "
1634 "a video goes fullscreen. Only on phones.";
1635
1636const char kVideoRotateToFullscreenName[] =
1637 "Rotate-to-fullscreen gesture for videos.";
1638const char kVideoRotateToFullscreenDescription[] =
1639 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1640 "the video. Only on phones.";
1641
1642const char kWalletServiceUseSandboxName[] =
1643 "Use Google Payments sandbox servers";
1644const char kWalletServiceUseSandboxDescription[] =
1645 "For developers: use the sandbox service for Google Payments API calls.";
1646
Brett Wilsonecb80982017-07-12 20:34:511647const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1648const char kWebglDraftExtensionsDescription[] =
1649 "Enabling this option allows web applications to access the WebGL "
1650 "Extensions that are still in draft status.";
1651
1652const char kWebMidiName[] = "Web MIDI API";
1653const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1654
1655const char kWebPaymentsName[] = "Web Payments";
1656const char kWebPaymentsDescription[] =
1657 "Enable Web Payments API integration, a JavaScript API for merchants.";
1658
Mathieu Perreault51339b82017-07-20 17:06:051659const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1660const char kWebPaymentsModifiersDescription[] =
1661 "If the website provides modifiers in the payment request, show the custom "
1662 "total for each payment instrument, update the shopping cart when "
1663 "instruments are switched, and send modified payment method specific data "
1664 "to the payment app.";
1665
Brett Wilsonecb80982017-07-12 20:34:511666const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1667const char kWebrtcEchoCanceller3Description[] =
1668 "Experimental WebRTC echo canceller (AEC3).";
1669
1670const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1671const char kWebrtcHwDecodingDescription[] =
1672 "Support in WebRTC for decoding video streams using platform hardware.";
1673
1674const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1675const char kWebrtcHwEncodingDescription[] =
1676 "Support in WebRTC for encoding video streams using platform hardware.";
1677
1678const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1679const char kWebrtcHwH264EncodingDescription[] =
1680 "Support in WebRTC for encoding h264 video streams using platform "
1681 "hardware.";
1682
1683const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1684const char kWebrtcHwVP8EncodingDescription[] =
1685 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1686
Niels Möller090866a2018-02-13 10:55:031687const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1688 "WebRTC new encode cpu load estimator";
1689const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1690 "Enable new estimator for the encoder cpu load, for evaluation and "
1691 "testing. Intended to improve accuracy when screen casting.";
1692
Brett Wilsonecb80982017-07-12 20:34:511693const char kWebrtcSrtpAesGcmName[] =
1694 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1695const char kWebrtcSrtpAesGcmDescription[] =
1696 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1697
Joachim Bauch4a41d7512017-08-23 14:24:231698const char kWebrtcSrtpEncryptedHeadersName[] =
1699 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1700const char kWebrtcSrtpEncryptedHeadersDescription[] =
1701 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1702 "for SRTP.";
1703
Brett Wilsonecb80982017-07-12 20:34:511704const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1705const char kWebrtcStunOriginDescription[] =
1706 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1707 "header.";
1708
1709const char kWebvrName[] = "WebVR";
1710const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051711 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111712 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1713 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1714 "will also allow WebVR content on insecure origins to access these "
1715 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511716
Brandon Jonese9d9b2b2017-12-11 22:20:111717const char kWebXrName[] = "WebXR Device API";
1718const char kWebXrDescription[] =
1719 "Allow web applications to access experimental APIs to interact with "
1720 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1721
Anna Maria57ecf7592018-01-12 03:10:401722const char kWebXrOrientationSensorDeviceName[] =
1723 "WebXR orientation sensor device";
1724const char kWebXrOrientationSensorDeviceDescription[] =
1725 "When no VR platform device is available, expose a non-presenting device "
1726 "based on the device's orientation sensors, if available.";
1727
Brett Wilsonecb80982017-07-12 20:34:511728const char kWifiCredentialSyncName[] = "WiFi credential sync";
1729const char kWifiCredentialSyncDescription[] =
1730 "Enables synchronizing WiFi network settings across devices. When enabled, "
1731 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1732 "credentials are synchronized subject to user preferences. (See also, "
1733 "chrome://settings/syncSetup.)";
1734
1735const char kZeroCopyName[] = "Zero-copy rasterizer";
1736const char kZeroCopyDescription[] =
1737 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341738
Brett Wilsonff596952017-07-14 01:06:551739// Android ---------------------------------------------------------------------
1740
1741#if defined(OS_ANDROID)
1742
1743const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1744const char kAiaFetchingDescription[] =
1745 "Enable intermediate certificate fetching when a server does not provide "
1746 "sufficient certificates to build a chain to a trusted root.";
1747
1748const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1749const char kAccessibilityTabSwitcherDescription[] =
1750 "Enable the accessibility tab switcher for Android.";
1751
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251752const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1753const char kAllowReaderForAccessibilityDescription[] =
1754 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1755
Brett Wilsonff596952017-07-14 01:06:551756const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1757const char kAndroidAutofillAccessibilityDescription[] =
1758 "Enable accessibility for autofill popup.";
1759
1760const char kAndroidPaymentAppsName[] = "Android payment apps";
1761const char kAndroidPaymentAppsDescription[] =
1762 "Enable third party Android apps to integrate as payment apps";
1763
Miriam Gershenson8cf1397222018-01-23 22:48:291764const char kAsyncDnsName[] = "Async DNS resolver";
1765const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1766
Brett Wilsonff596952017-07-14 01:06:551767const char kAutofillAccessoryViewName[] =
1768 "Autofill suggestions as keyboard accessory view";
1769const char kAutofillAccessoryViewDescription[] =
1770 "Shows Autofill suggestions on top of the keyboard rather than in a "
1771 "dropdown.";
1772
1773const char kBackgroundLoaderForDownloadsName[] =
1774 "Enables background downloading of pages.";
1775const char kBackgroundLoaderForDownloadsDescription[] =
1776 "Enables downloading pages in the background in case page is not yet "
1777 "loaded in current tab.";
1778
Matthew Jones6c1f5e22018-02-06 18:19:531779const char kChromeDuplexName[] = "Chrome Duplex";
1780const char kChromeDuplexDescription[] =
1781 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051782
1783const char kChromeHomeBottomNavLabelsName[] =
1784 "Chrome Home bottom navigation menu item labels.";
1785const char kChromeHomeBottomNavLabelsDescription[] =
1786 "Enables text labels for Chrome Home bottom navigation menu items.";
1787
1788const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1789const char kChromeHomeClearUrlOnOpenDescription[] =
1790 "Clear omnibox URL when the bottom sheet is opened.";
1791
Daniel Park825a16f32017-12-08 00:44:261792const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1793const char kChromeHomeEnableSurveyDescription[] =
1794 "If enabled, the survey process will allow surveys using sample "
1795 "parameters.";
1796
Theresa Wellingtonb9243b22017-12-01 16:23:051797const char kChromeHomeInactivitySheetExpansionName[] =
1798 "Expansion of Chrome Home bottom sheet on startup";
1799const char kChromeHomeInactivitySheetExpansionDescription[] =
1800 "Expand bottom sheet on startup in Chrome Home after a period of"
1801 " inactivity.";
1802
Matthew Joneseab91aa2017-12-19 16:12:421803const char kChromeHomeMenuItemsName[] =
1804 "Show bookmarks, downloads, and history menu items in Chrome Home";
1805const char kChromeHomeMenuItemsDescription[] =
1806 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1807 " when Chrome Home is enabled. These items will open the bottom sheet to"
1808 " show the desired content.";
1809
Theresa Wellingtonc4cff8a12017-11-28 04:13:181810const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1811const char kChromeHomePersistentIphDescription[] =
1812 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1813 "toolbar or a timer expires.";
1814
Theresa Wellingtondd71c5c2017-10-02 15:50:381815const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1816 "Chrome Home Personalized Omnibox Suggestions";
1817const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1818 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1819
Theresa Wellington13977c832017-12-13 16:59:111820const char kChromeHomePullToRefreshIphAtTopName[] =
1821 "Chrome Home Pull-To-Refresh Iph At Top";
1822const char kChromeHomePullToRefreshIphAtTopDescription[] =
1823 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1824
Theresa Wellington306c4cdc2017-12-07 16:43:081825const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1826const char kChromeHomeShowGoogleGDescription[] =
1827 "Show the Google G when the url is cleared. The flag to clear the url "
1828 "when the sheet is opened must also be set.";
1829
Brett Wilsonff596952017-07-14 01:06:551830const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1831const char kChromeHomeSwipeLogicDescription[] =
1832 "Various swipe logic options for Chrome Home for sheet expansion.";
1833const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151834const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551835
Matthew Jones5b7f1d62018-01-23 00:37:251836const char kChromeModernDesignName[] = "Chrome Modern Design";
1837const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451838 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1839 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251840
Megan Jablonskic61eb1b82017-10-02 18:03:061841const char kChromeMemexName[] = "Chrome Memex";
1842const char kChromeMemexDescription[] =
1843 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1844 "Googlers.";
1845
Sarath Singapati83aef1c2017-11-16 15:54:521846const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1847const char kClearOldBrowsingDataDescription[] =
1848 "Enables clearing of browsing data which is older than a given time "
1849 "period.";
1850
Brett Wilsonff596952017-07-14 01:06:551851const char kContentSuggestionsCategoryOrderName[] =
1852 "Default content suggestions category order (e.g. on NTP)";
1853const char kContentSuggestionsCategoryOrderDescription[] =
1854 "Set default order of content suggestion categories (e.g. on the NTP).";
1855
1856const char kContentSuggestionsCategoryRankerName[] =
1857 "Content suggestions category ranker (e.g. on NTP)";
1858const char kContentSuggestionsCategoryRankerDescription[] =
1859 "Set category ranker to order categories of content suggestions (e.g. on "
1860 "the NTP).";
1861
Vitalii Iarkof52ff802017-09-14 12:34:241862const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1863const char kContentSuggestionsDebugLogDescription[] =
1864 "Enable content suggestions debug log accessible through "
1865 "snippets-internals.";
1866
Donn Denman8e58ead2017-11-04 01:44:011867const char kContextualSearchMlTapSuppressionName[] =
1868 "Contextual Search ML tap suppression";
1869const char kContextualSearchMlTapSuppressionDescription[] =
1870 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021871 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1872 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551873
1874const char kContextualSearchName[] = "Contextual Search";
1875const char kContextualSearchDescription[] =
1876 "Whether or not Contextual Search is enabled.";
1877
Donn Denman59729812018-01-09 01:27:021878const char kContextualSearchRankerQueryName[] =
1879 "Contextual Search Ranker prediction";
1880const char kContextualSearchRankerQueryDescription[] =
1881 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1882
1883const char kContextualSearchSecondTapName[] =
1884 "Contextual Search second tap triggering";
1885const char kContextualSearchSecondTapDescription[] =
1886 "Enables triggering on a second tap gesture even when Ranker would "
1887 "normally suppress that tap.";
1888
Dmitry Skiba9c3efa72017-07-20 22:01:141889const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1890const char kDontPrefetchLibrariesDescription[] =
1891 "Don't prefetch libraries after loading.";
1892
Joy Ming5fd29ca62017-10-02 22:51:221893const char kDownloadsForegroundName[] = "Enable downloads foreground";
1894const char kDownloadsForegroundDescription[] =
1895 "Enable downloads as a foreground service for all versions of Android.";
1896
Joy Ming189b0cc2017-12-08 19:42:431897const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1898const char kDownloadsLocationChangeDescription[] =
1899 "Enable changing default downloads storage location on Android.";
1900
Brett Wilsonff596952017-07-14 01:06:551901const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1902const char kEnableAndroidPayIntegrationV1Description[] =
1903 "Enable integration with Android Pay using the first version of the API";
1904
1905const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1906const char kEnableAndroidPayIntegrationV2Description[] =
1907 "Enable integration with Android Pay using the second version of the API";
1908
Vitalii Iarkof4ed32d2017-09-26 13:15:531909const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551910const char kEnableAndroidSpellcheckerDescription[] =
1911 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551912
Vitalii Iarkof4ed32d2017-09-26 13:15:531913const char kEnableContentSuggestionsNewFaviconServerName[] =
1914 "Get favicons for content suggestions from a new server.";
1915const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1916 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1917 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551918
1919const char kEnableContentSuggestionsSettingsName[] =
1920 "Show content suggestions settings.";
1921const char kEnableContentSuggestionsSettingsDescription[] =
1922 "If enabled, the content suggestions settings will be available from the "
1923 "main settings menu.";
1924
Vitalii Iarkof4ed32d2017-09-26 13:15:531925const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1926 "Use content suggestions thumbnail dominant color.";
1927const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1928 "Use content suggestions thumbnail dominant color as a placeholder before "
1929 "the real thumbnail is fetched (requires Chrome Home).";
1930
Brett Wilsonff596952017-07-14 01:06:551931const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1932const char kEnableCustomContextMenuDescription[] =
1933 "Enables a new context menu when a link, image, or video is pressed within "
1934 "Chrome.";
1935
1936const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1937const char kEnableCustomFeedbackUiDescription[] =
1938 "Enables a custom feedback UI when submitting feedback through Google "
1939 "Feedback. Works with Google Play Services v10.2+";
1940
1941const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471942 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551943const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471944 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551945
Brett Wilsonff596952017-07-14 01:06:551946const char kEnableOmniboxClipboardProviderName[] =
1947 "Omnibox clipboard URL suggestions";
1948const char kEnableOmniboxClipboardProviderDescription[] =
1949 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1950 "focus in the omnibox.";
1951
1952const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1953 "Use expanded autofill credit card popup layout.";
1954const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1955 "If enabled, displays autofill credit card popup using expanded layout.";
1956
Becky Zhoua7f11d62018-02-01 16:02:531957const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1958 "Show article suggestions expandable header on New Tab Page";
1959const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1960 "If enabled, the article suggestions content on New Tab Page can be "
1961 "toggled shown or hidden by clicking the expandable header.";
1962
Brett Wilsonff596952017-07-14 01:06:551963const char kEnableNtpAssetDownloadSuggestionsName[] =
1964 "Show asset downloads on the New Tab page";
1965const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1966 "If enabled, the list of content suggestions on the New Tab page will "
1967 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1968 "later use.";
1969
1970const char kEnableNtpBookmarkSuggestionsName[] =
1971 "Show recently visited bookmarks on the New Tab page";
1972const char kEnableNtpBookmarkSuggestionsDescription[] =
1973 "If enabled, the list of content suggestions on the New Tab page will "
1974 "contain recently visited bookmarks.";
1975
1976const char kEnableNtpForeignSessionsSuggestionsName[] =
1977 "Show recent foreign tabs on the New Tab page";
1978const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1979 "If enabled, the list of content suggestions on the New Tab page will "
1980 "contain recent foreign tabs.";
1981
Brett Wilsonff596952017-07-14 01:06:551982const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1983 "Show offline page downloads on the New Tab page";
1984const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1985 "If enabled, the list of content suggestions on the New Tab page will "
1986 "contain pages that the user downloaded for later use.";
1987
1988const char kEnableNtpRemoteSuggestionsName[] =
1989 "Show server-side suggestions on the New Tab page";
1990const char kEnableNtpRemoteSuggestionsDescription[] =
1991 "If enabled, the list of content suggestions on the New Tab page will "
1992 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1993 "allows to override the source used to retrieve these server-side "
1994 "suggestions.";
1995
1996const char kEnableNtpSnippetsVisibilityName[] =
1997 "Make New Tab Page Snippets more visible.";
1998const char kEnableNtpSnippetsVisibilityDescription[] =
1999 "If enabled, the NTP snippets will become more discoverable with a larger "
2000 "portion of the first card above the fold.";
2001
2002const char kEnableNtpSuggestionsNotificationsName[] =
2003 "Notify about new content suggestions available at the New Tab page";
2004const char kEnableNtpSuggestionsNotificationsDescription[] =
2005 "If enabled, notifications will inform about new content suggestions on "
2006 "the New Tab page.";
2007
2008const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
2009const char kEnablePhysicalWebDescription[] =
2010 "Enable scanning for URLs from Physical Web objects.";
2011
2012const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2013const char kEnableOfflinePreviewsDescription[] =
2014 "Enable showing offline page previews on slow networks.";
2015
2016const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2017const char kEnableOskOverscrollDescription[] =
2018 "Enable OSK overscroll support. With this flag on, the OSK will only "
2019 "resize the visual viewport.";
2020
2021const char kEnableSpecialLocaleName[] =
2022 "Enable custom logic for special locales.";
2023const char kEnableSpecialLocaleDescription[] =
2024 "Enable custom logic for special locales. In this mode, Chrome might "
2025 "behave differently in some locales.";
2026
Brett Wilsonff596952017-07-14 01:06:552027const char kEnableWebNfcName[] = "WebNFC";
2028const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2029
gogeraldf3cbb422017-07-26 14:37:122030const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2031 "Enable Web Payments method section order V2.";
2032const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2033 "Enable this option to display payment method section above address "
2034 "section instead of below it.";
2035
Brett Wilsonff596952017-07-14 01:06:552036const char kEnableWebPaymentsSingleAppUiSkipName[] =
2037 "Enable Web Payments single app UI skip";
2038const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2039 "Enable Web Payments to skip showing its UI if the developer specifies a "
2040 "single app.";
2041
Raymes Khoury582b43132017-12-12 23:54:302042const char kGrantNotificationsToDSEName[] =
2043 "Grant notifications to the Default Search Engine";
2044const char kGrantNotificationsToDSENameDescription[] =
2045 "Automatically grant the notifications permission to the Default Search "
2046 "Engine";
2047
Brett Wilsonff596952017-07-14 01:06:552048const char kKeepPrefetchedContentSuggestionsName[] =
2049 "Keep prefetched content suggestions";
2050const char kKeepPrefetchedContentSuggestionsDescription[] =
2051 "If enabled, some of prefetched content suggestions are not replaced by "
2052 "the new fetched suggestions.";
2053
Leo Zhang051b75482017-12-20 03:28:302054const char kLanguagesPreferenceName[] = "Language Settings";
2055const char kLanguagesPreferenceDescription[] =
2056 "Enable this option for Language Settings feature on Android.";
2057
Brett Wilsonff596952017-07-14 01:06:552058const char kLsdPermissionPromptName[] =
2059 "Location Settings Dialog Permission Prompt";
2060const char kLsdPermissionPromptDescription[] =
2061 "Whether to use the Google Play Services Location Settings Dialog "
2062 "permission dialog.";
2063
Brett Wilsonff596952017-07-14 01:06:552064const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2065const char kMediaScreenCaptureDescription[] =
2066 "Enable this option for experimental ScreenCapture feature on Android.";
2067
2068const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2069const char kModalPermissionPromptsDescription[] =
2070 "Whether to use permission dialogs in place of permission infobars.";
2071
Brett Wilsonff596952017-07-14 01:06:552072const char kNewPhotoPickerName[] = "Enable new Photopicker";
2073const char kNewPhotoPickerDescription[] =
2074 "Activates the new picker for selecting photos.";
2075
2076const char kNoCreditCardAbort[] = "No Credit Card Abort";
2077const char kNoCreditCardAbortDescription[] =
2078 "Whether or not the No Credit Card Abort is enabled.";
2079
2080const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2081const char kNtpCondensedLayoutDescription[] =
2082 "Show a condensed layout on the New Tab Page.";
2083
2084const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2085const char kNtpCondensedTileLayoutDescription[] =
2086 "Show a condensed tile layout on the New Tab Page.";
2087
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062088const char kNtpModernLayoutName[] = "Modern NTP layout";
2089const char kNtpModernLayoutDescription[] =
2090 "Show a modern layout on the New Tab Page.";
2091
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042092const char kSiteExplorationUiName[] = "Site Exploration UI";
2093const char kSiteExplorationUiDescription[] =
2094 "Show site suggestions in the Exploration UI";
2095
Brett Wilsonff596952017-07-14 01:06:552096const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2097const char kNtpGoogleGInOmniboxDescription[] =
2098 "Show a Google G in the omnibox on the New Tab Page.";
2099
Brett Wilsonff596952017-07-14 01:06:552100const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2101const char kOfflineBookmarksDescription[] =
2102 "Enable saving bookmarked pages for offline viewing.";
2103
Brett Wilsonff596952017-07-14 01:06:552104const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2105const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2106
2107const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2108const char kOfflinePagesCtV2Description[] =
2109 "V2 features include attributing pages to the app that initiated the "
2110 "custom tabs, and being able to query for pages by page attribution.";
2111
Carlos Knippschild09272ecd2017-12-09 03:29:362112const char kOfflinePagesLimitlessPrefetchingName[] =
2113 "Removes resource usage limits for the prefetching of offline pages.";
2114const char kOfflinePagesLimitlessPrefetchingDescription[] =
2115 "Allows the prefetching of suggested offline pages to ignore resource "
2116 "usage limits. This allows it to completely ignore data usage limitations "
2117 "and allows downloads to happen with any kind of connection.";
2118
Brett Wilsonff596952017-07-14 01:06:552119const char kOfflinePagesLoadSignalCollectingName[] =
2120 "Enables collecting load timing data for offline page snapshots.";
2121const char kOfflinePagesLoadSignalCollectingDescription[] =
2122 "Enables loading completeness data collection while writing an offline "
2123 "page. This data is collected in the snapshotted offline page to allow "
2124 "data analysis to improve deciding when to make the offline snapshot.";
2125
Candice Sy229768e02017-12-21 00:19:222126const char kOfflinePagesDescriptivePendingStatusName[] =
2127 "Enables descriptive pending download status text.";
2128const char kOfflinePagesDescriptivePendingStatusDescription[] =
2129 "Enables pending download status text in notifications and Downloads Home "
2130 "to state the reason the request is pending.";
2131
Brett Wilsonff596952017-07-14 01:06:552132const char kOfflinePagesPrefetchingName[] =
2133 "Enables suggested offline pages to be prefetched.";
2134const char kOfflinePagesPrefetchingDescription[] =
2135 "Enables suggested offline pages to be prefetched, so useful content is "
2136 "available while offline.";
2137
Cathy Li3d5379e2017-09-07 00:11:092138const char kOfflinePagesPrefetchingUIName[] =
2139 "Enables prefetched offline pages to be shown in UI.";
2140const char kOfflinePagesPrefetchingUIDescription[] =
2141 "Enables prefetched offline pages to raise notifications and be shown in "
2142 "download home UI.";
2143
Pete Williamson7845dff2017-09-20 11:06:192144const char kOfflinePagesResourceBasedSnapshotName[] =
2145 "Enables offline page snapshots to be based on percentage of page loaded.";
2146const char kOfflinePagesResourceBasedSnapshotDescription[] =
2147 "Enables offline page snapshots to use a resource percentage based "
2148 "approach for determining when the page is loaded as opposed to a time "
2149 "based approach";
2150
Collin Baker17f92a52017-07-19 21:41:252151const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2152const char kOfflinePagesRenovationsDescription[] =
2153 "Enables offline page renovations which correct issues with dynamic "
2154 "content that occur when offlining pages that use JavaScript.";
2155
Brett Wilsonff596952017-07-14 01:06:552156const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2157const char kOfflinePagesSharingDescription[] =
2158 "Enables the saved offline pages to be shared via other applications.";
2159
2160const char kOfflinePagesSvelteConcurrentLoadingName[] =
2161 "Enables concurrent background loading on svelte.";
2162const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2163 "Enables concurrent background loading (or downloading) of pages on "
2164 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2165 "happen when the svelte device is idle.";
2166
2167const char kOffliningRecentPagesName[] =
2168 "Enable offlining of recently visited pages";
2169const char kOffliningRecentPagesDescription[] =
2170 "Enable storing recently visited pages locally for offline use. Requires "
2171 "Offline Pages to be enabled.";
2172
Lei Zhang2eca9082017-10-17 20:42:502173const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2174const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552175 "Enable Pay with Google integration into Web Payments with API version "
2176 "'1'.";
2177
Matthew Jonesa88b95852017-11-08 23:13:502178const char kProgressBarThrottleName[] = "Android progress update throttling.";
2179const char kProgressBarThrottleDescription[] =
2180 "Limit the maximum progress update to make progress appear smoother.";
2181
Brett Wilsonff596952017-07-14 01:06:552182const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2183const char kPullToRefreshEffectDescription[] =
2184 "Page reloads triggered by vertically overscrolling content.";
2185
Piotr Swigon7c296ef2017-08-29 04:32:002186const char kPwaImprovedSplashScreenName[] =
2187 "Improved Splash Screen for standalone PWAs";
2188const char kPwaImprovedSplashScreenDescription[] =
2189 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2190 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492191const char kPwaPersistentNotificationName[] =
2192 "Persistent notification in standalone PWA";
2193const char kPwaPersistentNotificationDescription[] =
2194 "Enables a persistent Android notification for standalone PWAs";
2195
Brett Wilsonff596952017-07-14 01:06:552196const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2197const char kReaderModeHeuristicsDescription[] =
2198 "Determines what pages the Reader Mode infobar is shown on.";
2199const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2200const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2201const char kReaderModeHeuristicsAllArticles[] = "All articles";
2202const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2203const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2204
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182205const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2206const char kReaderModeInCCTDescription[] =
2207 "Open Reader Mode in Chrome Custom Tabs.";
2208
Brett Wilsonff596952017-07-14 01:06:552209const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2210const char kSetMarketUrlForTestingDescription[] =
2211 "When enabled, sets the market URL for use in testing the update menu "
2212 "item.";
2213
2214const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2215const char kSpannableInlineAutocompleteDescription[] =
2216 "A new type of inline autocomplete for the omnibox that works with "
2217 "keyboards that compose text.";
2218
Brett Wilsonff596952017-07-14 01:06:552219const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2220const char kUpdateMenuBadgeDescription[] =
2221 "When enabled, an update badge will be shown on the app menu button.";
2222
2223const char kUpdateMenuItemCustomSummaryDescription[] =
2224 "When this flag and the force show update menu item flag are enabled, a "
2225 "custom summary string will be displayed below the update menu item.";
2226const char kUpdateMenuItemCustomSummaryName[] =
2227 "Update menu item custom summary";
2228
2229const char kUpdateMenuItemName[] = "Force show update menu item";
2230const char kUpdateMenuItemDescription[] =
2231 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2232 R"*(menu.)*";
2233
Amirhossein Simjourd78bbcf2018-02-02 16:23:392234const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2235const char kVrBrowsingNativeAndroidUiDescription[] =
2236 "Enable Android UI elements in VR.";
2237
Marc Treib93af46a2017-08-23 13:30:002238const char kThirdPartyDoodlesName[] =
2239 "Enable Doodles for third-party search engines";
2240const char kThirdPartyDoodlesDescription[] =
2241 "Enables fetching and displaying Doodles on the NTP for third-party search "
2242 "engines.";
2243
Klaus Weidneraaf697f2018-01-18 20:07:362244const char kWebXrRenderPathName[] = "WebXR presentation render path";
2245const char kWebXrRenderPathDescription[] =
2246 "Render path to use for WebXR presentation (including WebVR)";
2247const char kWebXrRenderPathChoiceClientWaitDescription[] =
2248 "ClientWait (Baseline)";
2249const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2250 "GpuFence (Android N+)";
2251
Brett Wilson7b44537e2017-08-18 01:38:282252// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552253
Brett Wilson7b44537e2017-08-18 01:38:282254#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482255
Brett Wilson7b44537e2017-08-18 01:38:282256const char kAccountConsistencyName[] =
2257 "Identity consistency between browser and cookie jar";
2258const char kAccountConsistencyDescription[] =
2259 "When enabled, the browser manages signing in and out of Google accounts.";
2260const char kAccountConsistencyChoiceMirror[] = "Mirror";
2261const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342262
Chris Pickel3a227ae62017-08-24 10:47:262263const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2264const char kDoodlesOnLocalNtpDescription[] =
2265 "Show doodles on the local New Tab page if Google is the default search "
2266 "engine.";
2267
mlamouriff56c092017-05-11 15:31:392268const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392269const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342270 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392271const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392272const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392273const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342274 "Enabled (Flash lowers volume when interrupted by other sound, "
2275 "experimental)";
2276
Brett Wilson7b44537e2017-08-18 01:38:282277const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2278const char kEnableNewAppMenuIconDescription[] =
2279 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342280
2281const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342282const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282283 "Enable receiving entity suggestions - disambiguation descriptions - for "
2284 "Omnibox suggestions.";
2285
Dave Schuyler598a4a42018-01-04 02:15:102286const char kOmniboxRichEntitySuggestionsName[] =
2287 "Omnibox rich entity suggestions";
2288const char kOmniboxRichEntitySuggestionsDescription[] =
2289 "Display entity suggestions using images and an enhanced layout; showing "
2290 "more context and descriptive text about the entity";
2291
Kevin Bailey898669972017-11-06 15:34:492292const char kOmniboxTabSwitchSuggestionsName[] =
2293 "Omnibox tab switch suggestions";
2294const char kOmniboxTabSwitchSuggestionsDescription[] =
2295 "Enable suggestions for switching to open tabs within the Omnibox.";
2296
krbcc621412017-06-01 19:40:282297const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2298const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192299 "Enable receiving tail suggestions, a type of search suggestion based on "
2300 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342301
Brett Wilson7b44537e2017-08-18 01:38:282302const char kOneGoogleBarOnLocalNtpName[] =
2303 "Enable the OneGoogleBar on the local NTP";
2304const char kOneGoogleBarOnLocalNtpDescription[] =
2305 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2306 "search engine.";
2307
Brett Wilson7b44537e2017-08-18 01:38:282308const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2309const char kUseGoogleLocalNtpDescription[] =
2310 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322311
Brett Wilson7b44537e2017-08-18 01:38:282312const char kVoiceSearchOnLocalNtpName[] =
2313 "Enable Voice Search on the local NTP";
2314const char kVoiceSearchOnLocalNtpDescription[] =
2315 "Show a microphone for voice search on the local New Tab page "
2316 "if Google is the default search engine.";
2317
Kim Paulhamus33f87b12018-01-18 22:00:422318const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2319const char kEnableWebAuthenticationAPIDescription[] =
2320 "Enable Web Authentication API support.";
2321
Brett Wilson7b44537e2017-08-18 01:38:282322#if defined(GOOGLE_CHROME_BUILD)
2323
2324const char kGoogleBrandedContextMenuName[] =
2325 "Google branding in the context menu";
2326const char kGoogleBrandedContextMenuDescription[] =
2327 "Shows a Google icon next to context menu items powered by Google "
2328 "services.";
2329
2330#endif // !defined(GOOGLE_CHROME_BUILD)
2331
2332#endif // !defined(OS_ANDROID)
2333
2334// Windows ---------------------------------------------------------------------
2335
2336#if defined(OS_WIN)
2337
2338const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2339const char kCloudPrintXpsDescription[] =
2340 "XPS enables advanced options for classic printers connected to the Cloud "
2341 "Print with Chrome. Printers must be re-connected after changing this "
2342 "flag.";
2343
Dave Tapuskadd43469d2017-08-22 22:15:532344const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2345const char kDirectManipulationStylusDescription[] =
2346 "If enabled, Chrome will scroll web pages on stylus drag.";
2347
Brett Wilson7b44537e2017-08-18 01:38:282348const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2349const char kDisablePostscriptPrintingDescription[] =
2350 "Disables PostScript generation when printing to PostScript capable "
2351 "printers, and uses EMF generation in its place.";
2352
2353const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2354const char kEnableAppcontainerDescription[] =
2355 "Enables the use of an AppContainer on sandboxed processes to improve "
2356 "security.";
2357
2358const char kEnableD3DVsync[] = "D3D v-sync";
2359const char kEnableD3DVsyncDescription[] =
2360 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2361 "to occur.";
2362
2363const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2364const char kEnableDesktopIosPromotionsDescription[] =
2365 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2366 "eligible.";
2367
James Forshawfd0ce342018-02-14 09:55:392368const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2369const char kEnableGpuAppcontainerDescription[] =
2370 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2371 "improve security.";
2372
Brett Wilson7b44537e2017-08-18 01:38:282373const char kGdiTextPrinting[] = "GDI Text Printing";
2374const char kGdiTextPrintingDescription[] =
2375 "Use GDI to print text as simply text";
2376
Brett Wilson7b44537e2017-08-18 01:38:282377const char kTraceExportEventsToEtwName[] =
2378 "Enable exporting of tracing events to ETW.";
2379const char kTraceExportEventsToEtwDesription[] =
2380 "If enabled, trace events will be exported to the Event Tracing for "
2381 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2382 "Xperf.";
2383
2384const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2385const char kUseWinrtMidiApiDescription[] =
2386 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2387 "later).";
2388
2389const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2390const char kWindows10CustomTitlebarDescription[] =
2391 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2392 "deferring to Windows.";
2393
Wez6656c572017-08-29 22:29:582394#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502395const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2396const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582397 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2398 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2399#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2400
Brett Wilson7b44537e2017-08-18 01:38:282401#endif // defined(OS_WIN)
2402
2403// Mac -------------------------------------------------------------------------
2404
2405#if defined(OS_MACOSX)
2406
2407const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2408const char kAppInfoDialogDescription[] =
2409 "Makes the Toolkit-Views based App Info dialog accessible from "
2410 "chrome://apps or chrome://extensions in place of the native extension "
2411 "permissions dialog, or the details link (which is a link to the Web "
2412 "Store).";
2413
2414const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2415const char kAppWindowCyclingDescription[] =
2416 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2417 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2418 "browser window, and browser windows will not be cycled when a Chrome App "
2419 "is active.";
2420
Lei Zhang2eca9082017-10-17 20:42:502421const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2422const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282423 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2424
2425const char kFullscreenToolbarRevealName[] =
2426 "Enables the toolbar in fullscreen to reveal itself.";
2427const char kFullscreenToolbarRevealDescription[] =
2428 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2429 "has changed.";
2430
2431const char kContentFullscreenName[] = "Improved Content Fullscreen";
2432const char kContentFullscreenDescription[] =
2433 "Fullscreen content window detaches from main browser window and goes to "
2434 "a new space without moving or changing the original browser window.";
2435
Lei Zhang2eca9082017-10-17 20:42:502436const char kDialogTouchBarName[] = "Dialog Touch Bar";
2437const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282438 "Shows Dialog buttons on the Touch Bar.";
2439
2440const char kHostedAppsInWindowsName[] =
2441 "Allow hosted apps to be opened in windows";
2442const char kHostedAppsInWindowsDescription[] =
2443 "Allows hosted apps to be opened in windows instead of being limited to "
2444 "tabs.";
2445
Lei Zhang2eca9082017-10-17 20:42:502446const char kMacRTLName[] = "Enable RTL";
2447const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282448
Lei Zhang2eca9082017-10-17 20:42:502449const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2450const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522451 "Enables sharing via macOS share extensions.";
2452
Lei Zhang2eca9082017-10-17 20:42:502453const char kMacTouchBarName[] = "Hardware Touch Bar";
2454const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282455
2456const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2457const char kMacV2SandboxDescription[] =
2458 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2459 "entire life cycle.";
2460
2461const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2462const char kMacViewsNativeAppWindowsDescription[] =
2463 "Controls whether to use Toolkit-Views based Chrome App windows.";
2464
Jérôme Lebelff683d42017-11-10 10:24:022465const char kMacViewsProfileChooserName[] =
2466 "Profile chooser menu with toolkit-views on Mac";
2467const char kMacViewsProfileChooserDescription[] =
2468 "Enables profile chooser menu based on toolkit-views, on Mac";
2469
Brett Wilson7b44537e2017-08-18 01:38:282470const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2471const char kMacViewsTaskManagerDescription[] =
2472 "Controls whether to use the Toolkit-Views based Task Manager.";
2473
2474const char kTabDetachingInFullscreenName[] =
2475 "Allow tab detaching in fullscreen";
2476const char kTabDetachingInFullscreenDescription[] =
2477 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2478
2479const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2480const char kTabStripKeyboardFocusDescription[] =
2481 "Enable keyboard focus for the tabs in the tab strip.";
2482
2483const char kTranslateNewUxName[] = "New Translate UX";
2484const char kTranslateNewUxDescription[] =
2485 "Enable the new Translate bubble UX is offered instead of the infobar.";
2486
Brett Wilson7b44537e2017-08-18 01:38:282487#endif
2488
2489// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342490
2491#if defined(OS_CHROMEOS)
2492
Brett Wilson7b44537e2017-08-18 01:38:282493const char kAcceleratedMjpegDecodeName[] =
2494 "Hardware-accelerated mjpeg decode for captured frame";
2495const char kAcceleratedMjpegDecodeDescription[] =
2496 "Enable hardware-accelerated mjpeg decode for captured frame where "
2497 "available.";
vabr0215a8e2017-03-28 12:47:342498
Brett Wilson7b44537e2017-08-18 01:38:282499const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2500const char kAllowTouchpadThreeFingerClickDescription[] =
2501 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342502
Brett Wilson7b44537e2017-08-18 01:38:282503const char kArcBootCompleted[] = "Load Android apps automatically";
2504const char kArcBootCompletedDescription[] =
2505 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342506
Lev Rumyantsev7a8544312017-08-18 19:26:512507const char kArcNativeBridgeExperimentName[] =
2508 "Enable native bridge experiment for ARC";
2509const char kArcNativeBridgeExperimentDescription[] =
2510 "Enables experimental native bridge feature.";
2511
lgchengecd1c1a62018-01-09 02:59:462512const char kArcUsbHostName[] = "Enable ARC USB host integration";
2513const char kArcUsbHostDescription[] =
2514 "Allow Android apps to use USB host feature on ChromeOS devices.";
2515
Kevin Cernekeeb7f96a52017-10-25 17:40:182516const char kArcVpnName[] = "Enable ARC VPN integration";
2517const char kArcVpnDescription[] =
2518 "Allow Android VPN clients to tunnel Chrome traffic.";
2519
Brett Wilson7b44537e2017-08-18 01:38:282520const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2521const char kAshEnableUnifiedDesktopDescription[] =
2522 "Enable unified desktop mode which allows a window to span multiple "
2523 "displays.";
vabr0215a8e2017-03-28 12:47:342524
Sean Kau5e956192017-10-06 22:25:172525const char kBulkPrintersName[] = "Bulk Printers Policy";
2526const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2527
Brett Wilson7b44537e2017-08-18 01:38:282528const char kCaptivePortalBypassProxyName[] =
2529 "Bypass proxy for Captive Portal Authorization";
2530const char kCaptivePortalBypassProxyDescription[] =
2531 "If proxy is configured, it usually prevents from authorization on "
2532 "different captive portals. This enables opening captive portal "
2533 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342534
Brett Wilson7b44537e2017-08-18 01:38:282535const char kCrOSComponentName[] = "Chrome OS Component";
2536const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082537 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342538
Xiaochu Liu51d03fd2017-09-08 23:51:022539const char kCrOSContainerName[] = "Chrome OS Container";
2540const char kCrOSContainerDescription[] =
2541 "Enable the use of Chrome OS Container utility.";
2542
Brett Wilson7b44537e2017-08-18 01:38:282543const char kCrosRegionsModeName[] = "Cros-regions load mode";
2544const char kCrosRegionsModeDescription[] =
2545 "This flag controls cros-regions load mode";
2546const char kCrosRegionsModeDefault[] = "Default";
2547const char kCrosRegionsModeOverride[] = "Override VPD values.";
2548const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342549
Jacob Dufault2becbc482017-08-25 00:36:352550const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2551const char kDisableLockScreenAppsDescription[] =
2552 "Disable new-note action handler apps on the lock screen. The user will "
2553 "not be able to launch the preferred note-taking action from the lock "
2554 "screen, provided that the app supports lock screen note taking.";
2555
Sammie Quonef6b4882017-09-14 16:50:052556const char kDisableTabletAutohideTitlebarsName[] =
2557 "Disable autohide titlebars in tablet mode";
2558const char kDisableTabletAutohideTitlebarsDescription[] =
2559 "Disable tablet mode autohide titlebars functionality. The user will be "
2560 "able to see the titlebar in tablet mode.";
2561
xdaid45327d2018-01-29 18:57:072562const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2563const char kDisableTabletSplitViewDescription[] =
2564 "Disable split view for Chrome OS tablet mode.";
2565
Brett Wilson7b44537e2017-08-18 01:38:282566const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2567const char kEnablePerUserTimezoneDescription[] =
2568 "Chrome OS system timezone preference is stored and handled for each user "
2569 "individually.";
vabr0215a8e2017-03-28 12:47:342570
Brett Wilson7b44537e2017-08-18 01:38:282571const char kDisableSystemTimezoneAutomaticDetectionName[] =
2572 "SystemTimezoneAutomaticDetection policy support";
2573const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2574 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342575
Lei Zhang2eca9082017-10-17 20:42:502576const char kEnableBackgroundBlurName[] = "Enable background blur.";
2577const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422578 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392579
Brett Wilson7b44537e2017-08-18 01:38:282580const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2581const char kEnableChromevoxArcSupportDescription[] =
2582 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342583
F#m75862c92018-01-25 19:10:472584const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2585const char kEnableDisplayZoomSettingDescription[] =
2586 "Allows the user to modify the display size or zoom via the chrome display "
2587 "settings page.";
2588
Brett Wilson7b44537e2017-08-18 01:38:282589const char kEnableEhvInputName[] =
2590 "Emoji, handwriting and voice input on opt-in IME menu";
2591const char kEnableEhvInputDescription[] =
2592 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342593
Brett Wilson7b44537e2017-08-18 01:38:282594const char kEnableEncryptionMigrationName[] =
2595 "Enable encryption migration of user data";
2596const char kEnableEncryptionMigrationDescription[] =
2597 "If enabled and the device supports ARC, the user will be asked to update "
2598 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342599
Blake O'Hare9e9317b22017-10-24 02:49:352600const char kEnableFloatingVirtualKeyboardName[] =
2601 "Enable floating virtual keyboard";
2602const char kEnableFloatingVirtualKeyboardDescription[] =
2603 "If enabled, the keyboard will use floating behavior by default.";
2604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2606const char kEnableImeMenuDescription[] =
2607 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342608
Klemen Kozjek05fc4512017-10-18 12:51:102609const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2610const char kEnableZipArchiverPackerDescription[] =
2611 "Enable the ability to archive files on Drive in the Files app";
2612
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412613const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2614const char kZipArchiverUnpackerDescription[] =
2615 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282616
2617const char kEolNotificationName[] = "Disable Device End of Life notification.";
2618const char kEolNotificationDescription[] =
2619 "Disable Notifcation when Device is End of Life.";
2620
2621const char kExperimentalAccessibilityFeaturesName[] =
2622 "Experimental accessibility features";
2623const char kExperimentalAccessibilityFeaturesDescription[] =
2624 "Enable additional accessibility features in the Settings page.";
2625
2626const char kExperimentalInputViewFeaturesName[] =
2627 "Experimental input view features";
2628const char kExperimentalInputViewFeaturesDescription[] =
2629 "Enable experimental features for IME input views.";
2630
2631const char kFileManagerTouchModeName[] = "Files App. touch mode";
2632const char kFileManagerTouchModeDescription[] =
2633 "Touchscreen-specific interactions of the Files app.";
2634
2635const char kFirstRunUiTransitionsName[] =
2636 "Animated transitions in the first-run tutorial";
2637const char kFirstRunUiTransitionsDescription[] =
2638 "Transitions during first-run tutorial are animated.";
2639
Brett Wilson7b44537e2017-08-18 01:38:282640const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2641const char kForceEnableStylusToolsDescription[] =
2642 "Forces display of the stylus tools menu in the shelf and the stylus "
2643 "section in settings, even if there is no attached stylus device.";
2644
2645const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2646const char kGestureEditingDescription[] =
2647 "Enable/Disable gesture editing option in the settings page for the "
2648 "virtual keyboard.";
2649
2650const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2651const char kGestureTypingDescription[] =
2652 "Enable/Disable gesture typing option in the settings page for the virtual "
2653 "keyboard.";
2654
2655const char kInputViewName[] = "Input views";
2656const char kInputViewDescription[] =
2657 "Enable IME extensions to supply custom views for user input such as "
2658 "virtual keyboards.";
2659
2660const char kMemoryPressureThresholdName[] =
2661 "Memory discard strategy for advanced pressure handling";
2662const char kMemoryPressureThresholdDescription[] =
2663 "Memory discarding strategy to use";
2664const char kConservativeThresholds[] =
2665 "Conservative memory pressure release strategy";
2666const char kAggressiveCacheDiscardThresholds[] =
2667 "Aggressive cache release strategy";
2668const char kAggressiveTabDiscardThresholds[] =
2669 "Aggressive tab release strategy";
2670const char kAggressiveThresholds[] =
2671 "Aggressive tab and cache release strategy";
2672
2673const char kMtpWriteSupportName[] = "MTP write support";
2674const char kMtpWriteSupportDescription[] =
2675 "MTP write support in File System API (and file manager). In-place editing "
2676 "operations are not supported.";
2677
2678const char kMultideviceName[] = "Enable multidevice features";
2679const char kMultideviceDescription[] =
2680 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342681
Kyle Horimoto027590fb2018-02-13 22:19:482682const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2683const char kMultiDeviceApiDescription[] =
2684 "Enable Mojo-based API which provides synced device metadata and the "
2685 "ability to connect to other devices associated the logged-in Google "
2686 "account.";
2687
Bailey Berrodca8eeca02017-11-18 00:49:122688const char kNativeSmbName[] = "Native Smb Client";
2689const char kNativeSmbDescription[] =
2690 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302691
vabr0215a8e2017-03-28 12:47:342692const char kNetworkPortalNotificationName[] =
2693 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342694const char kNetworkPortalNotificationDescription[] =
2695 "If enabled, notification is displayed when device is connected to a "
2696 "network behind captive portal.";
2697
Steven Bennetts77b67972017-12-14 19:38:322698const char kDisableNetworkSettingsConfigName[] =
2699 "Disable Settings based Network Configuration";
2700const char kDisableNetworkSettingsConfigDescription[] =
2701 "Disables the Settings based network configuration UI and restores the "
2702 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242703
Brett Wilson7b44537e2017-08-18 01:38:282704const char kNewKoreanImeName[] = "New Korean IME";
2705const char kNewKoreanImeDescription[] =
2706 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342707
Brett Wilson7b44537e2017-08-18 01:38:282708const char kNewZipUnpackerName[] = "New ZIP unpacker";
2709const char kNewZipUnpackerDescription[] =
2710 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342711
Brett Wilson7b44537e2017-08-18 01:38:282712const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2713const char kPhysicalKeyboardAutocorrectDescription[] =
2714 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2715 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342716
2717const char kPrinterProviderSearchAppName[] =
2718 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342719const char kPrinterProviderSearchAppDescription[] =
2720 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192721 "searches Chrome Web Store for extensions that support printing to a USB "
2722 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342723
Brett Wilson7b44537e2017-08-18 01:38:282724const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2725const char kQuickUnlockPinDescription[] =
2726 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2727 "device on the lock screen after you have signed into your device.";
2728const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2729const char kQuickUnlockPinSigninDescription[] =
2730 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2731 "device. After changing this flag PIN needs to be set up again.";
2732const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2733const char kQuickUnlockFingerprintDescription[] =
2734 "Enabling fingerprint quick unlock allows you to setup and use a "
2735 "fingerprint to unlock your Chromebook on the lock screen after you have "
2736 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342737
Brett Wilson7b44537e2017-08-18 01:38:282738const char kOfficeEditingComponentAppName[] =
2739 "Office Editing for Docs, Sheets & Slides";
2740const char kOfficeEditingComponentAppDescription[] =
2741 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072742
James Cook0ba192bf2017-12-01 20:53:112743const char kShowTapsName[] = "Show taps";
2744const char kShowTapsDescription[] =
2745 "Draws a circle at each touch point, which makes touch points more obvious "
2746 "when projecting or mirroring the display. Similar to the Android OS "
2747 "developer option.";
2748
2749const char kShowTouchHudName[] = "Show HUD for touch points";
2750const char kShowTouchHudDescription[] =
2751 "Shows a trail of colored dots for the last few touch points. Pressing "
2752 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2753 "debug hardware issues that generate spurious touch events.";
2754
Chung-Sheng Wu468b0b32017-09-01 14:41:572755const char kSysInternalsName[] = "Enable Sys-Internals";
2756const char kSysInternalsDescription[] =
2757 "If enabled, user can monitor system information at "
2758 "chrome://sys-internals.";
2759
Brett Wilson7b44537e2017-08-18 01:38:282760const char kTeamDrivesName[] = "Enable Team Drives Integration";
2761const char kTeamDrivesDescription[] =
2762 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342763
Brett Wilson7b44537e2017-08-18 01:38:282764const char kTetherName[] = "Instant Tethering";
2765const char kTetherDescription[] =
2766 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2767 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372768
Brett Wilson7b44537e2017-08-18 01:38:282769const char kTouchscreenCalibrationName[] =
2770 "Enable/disable touchscreen calibration option in material design settings";
2771const char kTouchscreenCalibrationDescription[] =
2772 "If enabled, the user can calibrate the touch screen displays in "
2773 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092774
Mitsuru Oshima63d3f2a2017-08-23 00:12:112775// Force UI Mode
2776const char kUiModeName[] = "Force Ui Mode";
2777const char kUiModeDescription[] =
2778 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2779 R"*(despite its current orientation. "Tablet" means that the )*"
2780 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2781 R"*(means that the chromebook will act as if it were in clamshell )*"
2782 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2783 R"*(the two, based on its orientation.)*";
2784const char kUiModeTablet[] = "TouchView";
2785const char kUiModeClamshell[] = "Clamshell";
2786const char kUiModeAuto[] = "Auto (default)";
2787
bruthigeafb0c02017-06-09 13:11:532788const char kUiDevToolsName[] = "Enable native UI inspection";
2789const char kUiDevToolsDescription[] =
2790 "Enables inspection of native UI elements. For local inspection use "
2791 "chrome://inspect#other";
2792
James Cooka1bcfa9a2018-01-30 00:18:402793const char kUseMusName[] = "Mojo UI service (mus)";
2794const char kUseMusDescription[] =
2795 "Handles input events, display configuration, and windowing in a mojo "
2796 "service on a thread in the browser process.";
2797
2798const char kUseMashName[] = "Out-of-process system UI (mash)";
2799const char kUseMashDescription[] =
2800 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2801 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282802
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342803// TODO(mcasas): remove after https://crbug.com/771345.
2804const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2805const char kUseMonitorColorSpaceDescription[] =
2806 "Enables Chrome to use the color space information provided by the monitor"
2807 " instead of the default sRGB color space.";
2808
Brett Wilson7b44537e2017-08-18 01:38:282809const char kVideoPlayerChromecastSupportName[] =
2810 "Experimental Chromecast support for Video Player";
2811const char kVideoPlayerChromecastSupportDescription[] =
2812 "This option enables experimental Chromecast support for Video Player app "
2813 "on ChromeOS.";
2814
2815const char kVirtualKeyboardName[] = "Virtual Keyboard";
2816const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2817
2818const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2819const char kVirtualKeyboardOverscrollDescription[] =
2820 "Enables virtual keyboard overscroll support.";
2821
2822const char kVoiceInputName[] = "Voice input on virtual keyboard";
2823const char kVoiceInputDescription[] =
2824 "Enables voice input on virtual keyboard.";
2825
2826const char kWakeOnPacketsName[] = "Wake On Packets";
2827const char kWakeOnPacketsDescription[] =
2828 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202829
yhanadac5bff5b2017-05-18 06:37:092830#endif // defined(OS_CHROMEOS)
2831
Brett Wilson7b44537e2017-08-18 01:38:282832// Random platform combinations -----------------------------------------------
2833
2834#if defined(OS_WIN) || defined(OS_LINUX)
2835
2836const char kEnableInputImeApiName[] = "Enable Input IME API";
2837const char kEnableInputImeApiDescription[] =
2838 "Enable the use of chrome.input.ime API.";
2839
2840#endif // defined(OS_WIN) || defined(OS_LINUX)
2841
2842#if defined(OS_WIN) || defined(OS_MACOSX)
2843
2844const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2845const char kAutomaticTabDiscardingDescription[] =
2846 "If enabled, tabs get automatically discarded from memory when the system "
2847 "memory is low. Discarded tabs are still visible on the tab strip and get "
2848 "reloaded when clicked on. Info about discarded tabs can be found at "
2849 "chrome://discards.";
2850
2851#endif // defined(OS_WIN) || defined(OS_MACOSX)
2852
2853// Feature flags --------------------------------------------------------------
2854
2855#if BUILDFLAG(ENABLE_VR)
2856
David Dorwin5a496c32017-11-17 01:45:052857const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2858const char kWebVrVsyncAlignDescription[] =
2859 "Align WebVR application rendering with VSync for smoother animations.";
2860
Brett Wilson7b44537e2017-08-18 01:38:282861#if defined(OS_ANDROID)
2862
David Dorwin5a496c32017-11-17 01:45:052863const char kVrBrowsingName[] = "VR browsing";
2864const char kVrBrowsingDescription[] =
2865 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282866
Yash Malik50bcfc12017-11-18 00:47:592867const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2868const char kVrBrowserKeyboardDescription[] =
2869 "Enable a virtual keyboard for Chrome VR.";
2870
David Dorwin5a496c32017-11-17 01:45:052871const char kVrBrowsingExperimentalFeaturesName[] =
2872 "VR browsing experimental features";
2873const char kVrBrowsingExperimentalFeaturesDescription[] =
2874 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282875
David Dorwin5a496c32017-11-17 01:45:052876const char kVrBrowsingExperimentalRenderingName[] =
2877 "VR browsing experimental rendering features";
2878const char kVrBrowsingExperimentalRenderingDescription[] =
2879 "Experimental rendering features for VR browsing (e.g. power-saving "
2880 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102881
David Dorwin5a496c32017-11-17 01:45:052882const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2883const char kVrBrowsingInCustomTabDescription[] =
2884 "Allow browsing within a VR headset while in a Custom Tab.";
2885
Michael Thiessen37895912018-01-19 20:15:542886const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2887const char kVrIconInDaydreamHomeDescription[] =
2888 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2889
David Dorwin5a496c32017-11-17 01:45:052890const char kVrLaunchIntentsName[] = "VR intents";
2891const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262892 "Allow intents to launch Chrome in VR mode.";
2893
David Dorwin5a496c32017-11-17 01:45:052894const char kWebVrAutopresentFromIntentName[] =
2895 "WebVR auto presentation from intents";
2896const char kWebVrAutopresentFromIntentDescription[] =
2897 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282898
2899#endif // OS_ANDROID
2900
Bill Orr103ed272018-02-14 21:23:052901#if BUILDFLAG(ENABLE_OCULUS_VR)
2902const char kOculusVRName[] = "Oculus hardware support";
2903const char kOculusVRDescription[] =
2904 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2905 "Windows 10 or later).";
2906#endif // ENABLE_OCULUS_VR
2907
Bill Orr49527562017-11-22 16:58:482908#if BUILDFLAG(ENABLE_OPENVR)
2909const char kOpenVRName[] = "OpenVR hardware support";
2910const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:072911 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
2912 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:482913#endif // ENABLE_OPENVR
2914
Brett Wilson7b44537e2017-08-18 01:38:282915#endif // ENABLE_VR
2916
Nico Weberaf3b00b2017-09-11 17:58:172917#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282918
2919const char kNaclDebugMaskName[] =
2920 "Restrict Native Client GDB-based debugging by pattern";
2921const char kNaclDebugMaskDescription[] =
2922 "Restricts Native Client application GDB-based debugging by URL of "
2923 "manifest file. Native Client GDB-based debugging must be enabled for this "
2924 "option to work.";
2925const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2926const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2927 "Debug everything except secure shell and the PNaCl translator.";
2928const char kNaclDebugMaskChoiceIncludeDebug[] =
2929 "Debug only if manifest URL ends with debug.nmf.";
2930
2931const char kNaclDebugName[] = "Native Client GDB-based debugging";
2932const char kNaclDebugDescription[] =
2933 "Enable GDB debug stub. This will stop a Native Client application on "
2934 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2935
2936const char kNaclName[] = "Native Client";
2937const char kNaclDescription[] =
2938 "Support Native Client for all web applications, even those that were not "
2939 "installed from the Chrome Web Store.";
2940
2941const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2942const char kPnaclSubzeroDescription[] =
2943 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2944
Nico Weberaf3b00b2017-09-11 17:58:172945#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282946
Brett Wilson7b44537e2017-08-18 01:38:282947#if BUILDFLAG(ENABLE_WEBRTC)
2948
2949const char kWebrtcH264WithOpenh264FfmpegName[] =
2950 "WebRTC H.264 software video encoder/decoder";
2951const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2952 "When enabled, an H.264 software video encoder/decoder pair is included. "
2953 "If a hardware encoder/decoder is also available it may be used instead of "
2954 "this encoder/decoder.";
2955
2956#endif // BUILDFLAG(ENABLE_WEBRTC)
2957
James Cookf9d34d22017-10-04 16:39:352958#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282959
Wenzhao Zang50fb0b22017-11-07 01:38:422960const char kAshDisableLoginDimAndBlurName[] =
2961 "Disable dimming and blur on login screen.";
2962const char kAshDisableLoginDimAndBlurDescription[] =
2963 "Disable dimming and blur on login screen.";
2964
Brett Wilson7b44537e2017-08-18 01:38:282965const char kAshDisableSmoothScreenRotationName[] =
2966 "Disable smooth rotation animations.";
2967const char kAshDisableSmoothScreenRotationDescription[] =
2968 "Disable smooth rotation animations.";
2969
wutaoead73f582018-02-11 23:25:362970const char kAshDisableTrilinearFilteringName[] = "Disable trilinear filtering.";
2971const char kAshDisableTrilinearFilteringDescription[] =
2972 "Disable trilinear filtering.";
2973
Qiang Xub7e921072017-12-07 21:02:112974const char kAshEnableDisplayMoveWindowAccelsName[] =
2975 "Enable shortcuts for moving window between displays.";
2976const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2977 "Enable shortcuts for moving window between displays.";
2978
wutaoc70d7b92017-11-01 08:06:012979const char kAshEnableKeyboardShortcutViewerName[] =
2980 "Enable keyboard shortcut viewer.";
2981const char kAshEnableKeyboardShortcutViewerDescription[] =
2982 "Enable keyboard shortcut viewer.";
2983
Brett Wilson7b44537e2017-08-18 01:38:282984const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2985const char kAshEnableMirroredScreenDescription[] =
2986 "Enable the mirrored screen mode. This mode flips the screen image "
2987 "horizontally.";
2988
Sammie Quon4e14214d2018-01-30 22:45:242989const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
2990const char kAshEnableNewOverviewUiDescription[] =
2991 "Enables the new overview mode UI.";
2992
wutaod9cbcd32018-02-17 02:31:062993const char kAshEnableNewOverviewAnimationsName[] =
2994 "Enable new overview animations.";
2995const char kAshEnableNewOverviewAnimationsDescription[] =
2996 "Enables the new overview mode animations.";
2997
Qiang Xufa19cfd2018-01-29 19:36:502998const char kAshEnablePersistentWindowBoundsName[] =
2999 "Enable persistent window bounds in multi-displays scenario.";
3000const char kAshEnablePersistentWindowBoundsDescription[] =
3001 "Enable persistent window bounds in multi-displays scenario.";
3002
Brett Wilson7b44537e2017-08-18 01:38:283003const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3004const char kAshShelfColorDescription[] =
3005 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3006 "--ash-shelf-color-scheme flag defines how that color is derived.";
3007
3008const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3009const char kAshShelfColorSchemeDescription[] =
3010 "Specify how the color is derived from the wallpaper. This flag is only "
3011 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3012const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3013const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3014const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3015const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3016const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3017const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3018
Mike Wassermana38a8a62017-10-02 03:04:273019const char kAshDisableShelfModelSynchronization[] =
3020 "Disable shelf model synchronization";
3021const char kAshDisableShelfModelSynchronizationDescription[] =
3022 "Use a single in-process shelf data model shared between Chrome and Ash. "
3023 "This only applies to the Classic Ash and Mus configs; synchronization "
3024 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:373025
Brett Wilson7b44537e2017-08-18 01:38:283026const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373027 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283028const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3029 "Sets the speed of the experimental visual feedback animations for "
3030 "material design.";
3031const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3032const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3033
3034const char kUiShowCompositedLayerBordersName[] =
3035 "Show UI composited layer borders";
3036const char kUiShowCompositedLayerBordersDescription[] =
3037 "Show border around composited layers created by UI.";
3038const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3039const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3040const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3041const char kUiShowCompositedLayerBordersAll[] = "All";
3042
3043const char kUiSlowAnimationsName[] = "Slow UI animations";
3044const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3045
James Cookf9d34d22017-10-04 16:39:353046#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283047
Brett Wilson7b44537e2017-08-18 01:38:283048#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3049
3050const char kAutofillCreditCardUploadName[] =
3051 "Enable offering upload of Autofilled credit cards";
3052const char kAutofillCreditCardUploadDescription[] =
3053 "Enables a new option to upload credit cards to Google Payments for sync "
3054 "to all Chrome devices.";
3055
3056#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3057
3058// ============================================================================
3059// Don't just add flags to the end, put them in the right section in
3060// alphabetical order just like the header file.
3061// ============================================================================
3062
vabr0215a8e2017-03-28 12:47:343063} // namespace flag_descriptions