blob: 4b6e71bbd166b2703db15f2f5017a0702e0b57f6 [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
Shubhie Panicker48616c32017-10-26 21:46:2512const char kStopLoadingInBackgroundName[] = "Stop loading in background";
13const char kStopLoadingInBackgroundDescription[] =
14 "Stop loading tasks and loading "
15 "resources, in the background, after certain grace time.";
16
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
18const char kAccelerated2dCanvasDescription[] =
19 "Enables the use of the GPU to perform 2d canvas rendering instead of "
20 "using software rendering.";
horodb71a5a2017-06-09 16:08:2421
Brett Wilsonf27ff602017-07-07 22:28:4722const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
23const char kAcceleratedVideoDecodeDescription[] =
24 "Hardware-accelerated video decode where available.";
25
26const char kAffiliationBasedMatchingName[] =
27 "Affiliation based matching in password manager";
28const char kAffiliationBasedMatchingDescription[] =
29 "Allow credentials stored for Android applications to be filled into "
30 "corresponding websites.";
31
32const char kAllowInsecureLocalhostName[] =
33 "Allow invalid certificates for resources loaded from localhost.";
34const char kAllowInsecureLocalhostDescription[] =
35 "Allows requests to localhost over HTTPS even when an invalid certificate "
36 "is presented.";
37
38const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
39const char kAllowNaclSocketApiDescription[] =
40 "Allows applications to use NaCl Socket API. Use only to test NaCl "
41 "plugins.";
42
43const char kAppBannersName[] = "App Banners";
44const char kAppBannersDescription[] =
45 "Enable the display of Progressive Web App banners, which prompt a user to "
46 "add a web app to their shelf, or other platform-specific equivalent.";
47
yoshiki iguchi4a10c5f2017-11-29 20:16:5448const char kAshSidebarName[] = "Sidebar";
49const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
50
Khushalba202212017-07-12 19:53:4951const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
52const char kAsyncImageDecodingDescription[] =
53 "Enables asynchronous decoding of images from raster for web content";
54
Brett Wilsonf27ff602017-07-07 22:28:4755const char kAutoplayPolicyName[] = "Autoplay policy";
56const char kAutoplayPolicyDescription[] =
57 "Policy used when deciding if audio or video is allowed to autoplay.";
58
59const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
60 "User gesture is required for cross-origin iframes.";
61const char kAutoplayPolicyNoUserGestureRequired[] =
62 "No user gesture is required.";
63const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
64const char kAutoplayPolicyDocumentUserActivation[] =
65 "Document user activation is required.";
66
Johanne0cc6902017-11-16 00:23:5067extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
68extern const char kAv1DecoderDescription[] =
69 "Allow decoding of files with the AV1 video codec.";
70
Brett Wilsonf27ff602017-07-07 22:28:4771const char kBackgroundVideoTrackOptimizationName[] =
72 "Optimize background video playback.";
73const char kBackgroundVideoTrackOptimizationDescription[] =
74 "Disable video tracks when the video is played in the background to "
75 "optimize performance.";
76
77const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
78const char kBleAdvertisingInExtensionsDescription[] =
79 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
80 "with regular use of Bluetooth Low Energy features.";
81
Charles Harrisond629cc62017-10-05 01:39:5482const char kBlockTabUndersName[] = "Block tab-unders";
83const char kBlockTabUndersDescription[] =
84 "Blocks tab-unders in Chrome with some native UI to allow the user to "
85 "proceed.";
86
arthursonzognif2bc2d202017-11-08 11:01:0287const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
88const char kNavigationMojoResponseDescription[] =
89 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
90 "the body of the main resource to the renderer process. This flag replaces "
91 "this mechanism by using a Mojo DataPipe.";
92
Brett Wilsonf27ff602017-07-07 22:28:4793const char kBrowserTaskSchedulerName[] = "Task Scheduler";
94const char kBrowserTaskSchedulerDescription[] =
95 "Enables redirection of some task posting APIs to the task scheduler.";
96
97const char kBypassAppBannerEngagementChecksName[] =
98 "Bypass user engagement checks";
99const char kBypassAppBannerEngagementChecksDescription[] =
100 "Bypasses user engagement checks for displaying app banners, such as "
101 "requiring that users have visited the site before and that the banner "
102 "hasn't been shown recently. This allows developers to test that other "
103 "eligibility requirements for showing app banners, such as having a "
104 "manifest, are met.";
105
Lucas Garronb9539b732017-10-31 00:22:09106const char kCommittedInterstitialsName[] = "Committed Interstitials";
107const char kCommittedInterstitialsDescription[] =
108 "Use committed error pages instead of transient navigation entries "
109 "for interstitial error pages (e.g. certificate errors).";
110
Marc Treib026acc532017-10-17 18:39:59111const char kCaptureThumbnailOnNavigatingAwayName[] =
112 "Capture page thumbnail on navigating away";
113const char kCaptureThumbnailOnNavigatingAwayDescription[] =
114 "Capture a page thumbnail (for use on the New Tab page) when navigating "
115 "away from the current page, in addition to other times a thumbnail may be "
116 "captured.";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const char kCastStreamingHwEncodingName[] =
119 "Cast Streaming hardware video encoding";
120const char kCastStreamingHwEncodingDescription[] =
121 "This option enables support in Cast Streaming for encoding video streams "
122 "using platform hardware.";
123
Amber Won478561d2017-08-19 01:02:59124const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
125const char kClickToOpenPDFDescription[] =
126 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
127 "embedded PDFs.";
128
Gary Kacmarcikfb69b212017-11-14 03:41:08129const char kClipboardContentSettingName[] = "Clipboard content setting";
130const char kClipboardContentSettingDescription[] =
131 "Enables a site-wide permission in the UI which controls access to the "
132 "asynchronous clipboard web API";
133
Brett Wilsonf27ff602017-07-07 22:28:47134const char kCloudImportName[] = "Cloud Import";
135const char kCloudImportDescription[] = "Allows the cloud-import feature.";
136
Christopher Cameronceb8727d2017-09-07 23:53:16137const char kForceColorProfileSRGB[] = "sRGB";
138const char kForceColorProfileP3[] = "Display P3 D65";
139const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
140const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
141
142const char kForceColorProfileName[] = "Force color profile";
143const char kForceColorProfileDescription[] =
144 "Forces Chrome to use a specific color profile instead of the color "
145 "of the window's current monitor, as specified by the operating system.";
146
Brett Wilsonf27ff602017-07-07 22:28:47147const char kCompositedLayerBordersName[] = "Composited render layer borders";
148const char kCompositedLayerBordersDescription[] =
149 "Renders a border around composited Render Layers to help debug and study "
150 "layer compositing.";
151
152const char kContextualSuggestionsCarouselName[] =
153 "Enable Contextual Suggestions";
154const char kContextualSuggestionsCarouselDescription[] =
155 "If enabled, shows contextual suggestions in a horizontal carousel in "
156 "bottom sheet content.";
157
158const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
159const char kCreditCardAssistDescription[] =
160 "Enable assisted credit card filling on certain sites.";
161
162const char kCrossProcessGuestViewIsolationName[] =
163 "Cross process frames for guests";
164const char kCrossProcessGuestViewIsolationDescription[] =
165 "Highly experimental where guests such as <webview> are implemented on "
166 "the out-of-process iframe infrastructure.";
167
Brett Wilsonf27ff602017-07-07 22:28:47168const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
169const char kDataReductionProxyLoFiDescription[] =
170 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
171 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
172 "mode to be used.";
173const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
174const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
175const char kDataReductionProxyLoFiDisabled[] = "Disable";
176const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
177 "Slow connections only";
178
179const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
180const char kDatasaverPromptDescription[] =
181 "Enables a prompt, which appears when a cellular network connection is "
182 "detected, to take the user to the Data Saver extension page on Chrome Web "
183 "Store.";
184const char kDatasaverPromptDemoMode[] = "Demo mode";
185
186const char kDebugPackedAppName[] = "Debugging for packed apps";
187const char kDebugPackedAppDescription[] =
188 "Enables debugging context menu options such as Inspect Element for packed "
189 "applications.";
190
191const char kDefaultTileHeightName[] = "Default tile height";
192const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
193const char kDefaultTileHeightShort[] = "128";
194const char kDefaultTileHeightTall[] = "256";
195const char kDefaultTileHeightGrande[] = "512";
196const char kDefaultTileHeightVenti[] = "1024";
197
198const char kDefaultTileWidthName[] = "Default tile width";
199const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
200const char kDefaultTileWidthShort[] = "128";
201const char kDefaultTileWidthTall[] = "256";
202const char kDefaultTileWidthGrande[] = "512";
203const char kDefaultTileWidthVenti[] = "1024";
204
205const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
206const char kDebugShortcutsDescription[] =
207 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
208
209const char kDeviceDiscoveryNotificationsName[] =
210 "Device Discovery Notifications";
211const char kDeviceDiscoveryNotificationsDescription[] =
212 "Device discovery notifications on local network.";
213
214const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
215const char kDevtoolsExperimentsDescription[] =
216 "Enables Developer Tools experiments. Use Settings panel in Developer "
217 "Tools to toggle individual experiments.";
218
219const char kDisableAudioForDesktopShareName[] =
220 "Disable Audio For Desktop Share";
221const char kDisableAudioForDesktopShareDescription[] =
222 "With this flag on, desktop share picker window will not let the user "
223 "choose whether to share audio.";
224
Brett Wilsonf27ff602017-07-07 22:28:47225const char kDisableTabForDesktopShareName[] =
226 "Disable Desktop Share with tab source";
227const char kDisableTabForDesktopShareDescription[] =
228 "This flag controls whether users can choose a tab for desktop share.";
229
230const char kDisallowDocWrittenScriptsUiName[] =
231 "Block scripts loaded via document.write";
232const char kDisallowDocWrittenScriptsUiDescription[] =
233 "Disallows fetches for third-party parser-blocking scripts inserted into "
234 "the main frame via document.write.";
235
Brett Wilsonf27ff602017-07-07 22:28:47236const char kDistanceFieldTextName[] = "Distance field text";
237const char kDistanceFieldTextDescription[] =
238 "Text is rendered with signed distance fields rather than bitmap alpha "
239 "masks.";
240
241const char kDriveSearchInChromeLauncherName[] =
242 "Drive Search in Chrome App Launcher";
243const char kDriveSearchInChromeLauncherDescription[] =
244 "Files from Drive will show up when searching the Chrome App Launcher.";
245
Brett Wilsonf27ff602017-07-07 22:28:47246const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
247 "Smart Lock Bluetooth Low Energy Discovery";
248const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07249 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47250 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
251 "phone is in its proximity.";
252
Gustavo Sacomotofb11164f2017-07-21 12:56:18253const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
254const char kEasyUnlockPromotionsDescription[] =
255 "Enables Smart Lock promotions. Promotions will be periodically display "
256 "if the user is eligible.";
257
Brett Wilsonf27ff602017-07-07 22:28:47258const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
259const char kEmbeddedExtensionOptionsDescription[] =
260 "Display extension options as an embedded element in chrome://extensions "
261 "rather than opening a new tab.";
262
263const char kEnableAsmWasmName[] =
264 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
265const char kEnableAsmWasmDescription[] =
266 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
267 R"*(WebAssembly.)*";
268
Shanfeng Zhang19c16562017-10-17 02:30:40269const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
270 "Credit card autofill ablation experiment.";
271const char kEnableAutofillCreditCardAblationExperimentDescription[] =
272 "If enabled, credit card autofill suggestions will not display.";
273
Brett Wilsonf27ff602017-07-07 22:28:47274const char kEnableAutofillCreditCardBankNameDisplayName[] =
275 "Display the issuer bank name of a credit card in autofill.";
276const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
277 "If enabled, displays the issuer bank name of a credit card in autofill.";
278
279const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
280 "Display the last used date of a credit card in autofill.";
281const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
282 "If enabled, display the last used date of a credit card in autofill.";
283
284const char kEnableAutofillCreditCardUploadCvcPromptName[] =
285 "Enable requesting missing CVC during Autofill credit card upload";
286const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
287 "If enabled, requests missing CVC when offering to upload credit cards to "
288 "Google Payments.";
289
Jared Saul1e4786a2017-12-14 01:43:09290const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
291 "Always send metadata on detected form values for Autofill credit card "
292 "upload";
293const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
294 "If enabled, always checks with Google Payments when deciding whether to "
295 "offer credit card upload, even if some data is missing.";
296
Jared Saul5c2a1482017-12-09 00:24:31297const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
298 "Send first six digits of PAN when deciding whether to offer Autofill "
299 "credit card upload";
300const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
301 "If enabled, when deciding whether to offer credit card upload to Google "
302 "Payments, sends the first six digits of the card number to avoid cases "
303 "where card upload is likely to fail.";
304
Jason Guo71f621e2017-10-13 04:18:53305const char kEnableAutofillSendBillingCustomerNumberName[] =
306 "Enable autofill sending billing customer number when calling Google "
307 "Payments";
308const char kEnableAutofillSendBillingCustomerNumberDescription[] =
309 "If enabled, autofill sends billing customer number when calling Google "
310 "Payments.";
311
Mathieu Perreault069024e12017-10-24 01:14:08312const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
313 "Enable toolkit-views credit card dialogs on Mac";
314const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
315 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
316
Vitalii Iarko4f9834ce2017-08-04 07:05:19317const char kEnableBreakingNewsPushName[] = "Breaking News Push";
318const char kEnableBreakingNewsPushDescription[] =
319 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
320 "through Google Cloud Messaging.";
321
Brett Wilsonf27ff602017-07-07 22:28:47322const char kEnableBrotliName[] = "Brotli Content-Encoding.";
323const char kEnableBrotliDescription[] =
324 "Enable Brotli Content-Encoding support.";
325
sclittle50e4bb92017-07-08 02:23:03326const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
327
328const char kEnableClientLoFiDescription[] =
329 "Enable showing low fidelity images on some pages on slow networks.";
330
Doug Arnett08b4067b2017-10-12 20:14:44331const char kEnableNoScriptPreviewsName[] = "NoScript previews";
332
333const char kEnableNoScriptPreviewsDescription[] =
334 "Enable disabling JavaScript on some pages on slow networks.";
335
Brett Wilsonf27ff602017-07-07 22:28:47336const char kEnableDataReductionProxyLitePageName[] =
337 "Lite pages for Data Saver Lo-Fi mode";
338const char kEnableDataReductionProxyLitePageDescription[] =
339 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
340 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
341 "Lo-Fi must be enabled for lite pages to be shown.";
342
Thanh Le2c279fbc2017-11-21 01:25:40343const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
344const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
345const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
346const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
347const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
348const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
349const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
350const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
351const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
352const char kDataReductionProxyServerAlternative10[] =
353 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47354const char kEnableDataReductionProxyServerExperimentName[] =
355 "Use an alternative Data Saver back end configuration.";
356const char kEnableDataReductionProxyServerExperimentDescription[] =
357 "Enable a different approach to saving data by configuring the back end "
358 "server";
359
360const char kEnableDataReductionProxySavingsPromoName[] =
361 "Data Saver 1 MB Savings Promo";
362const char kEnableDataReductionProxySavingsPromoDescription[] =
363 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
364 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
365 "enabled for the promo to be shown.";
366
Matt Giucad4870432017-11-24 01:04:38367const char kEnableDesktopPWAsName[] = "Desktop PWAs";
368const char kEnableDesktopPWAsDescription[] =
369 "Experimental windowing and install banner treatment for Progressive Web "
370 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17371
Brett Wilsonf27ff602017-07-07 22:28:47372const char kEnableEnumeratingAudioDevicesName[] =
373 "Experimentally enable enumerating audio devices.";
374const char kEnableEnumeratingAudioDevicesDescription[] =
375 "Experimentally enable the use of enumerating audio devices.";
376
377const char kEnableGenericSensorName[] = "Generic Sensor";
378const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25379 "Enables motion sensor classes based on Generic Sensor API, i.e. "
380 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
381 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
382
383const char kEnableGenericSensorExtraClassesName[] =
384 "Generic Sensor Extra Classes";
385const char kEnableGenericSensorExtraClassesDescription[] =
386 "Enables an extra set of sensor classes based on Generic Sensor API, which "
387 "expose previously unavailable platform features, i.e. AmbientLightSensor "
388 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47389
Brett Wilsonf27ff602017-07-07 22:28:47390const char kEnableHDRName[] = "HDR mode";
391const char kEnableHDRDescription[] =
392 "Enables HDR support on compatible displays.";
393
394const char kEnableHeapProfilingName[] = "Heap profiling";
395const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
396const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
397const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
398const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
399
400const char kEnableHttpFormWarningName[] =
401 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15402 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47403const char kEnableHttpFormWarningDescription[] =
404 "Attaches a warning UI to any password or credit card fields detected when "
405 "the top-level page is not HTTPS";
406
Sidney San Martín9375b892017-09-09 00:29:54407const char kEnableMacMaterialDesignDownloadShelfName[] =
408 "Enable Material Design download shelf";
409
410const char kEnableMacMaterialDesignDownloadShelfDescription[] =
411 "If enabled, the download shelf uses Material Design.";
412
Tatiana Gornakafb40452017-07-31 13:50:04413const char kEnableManualFallbacksFillingName[] =
414 "Manual fallbacks for password manager forms filling";
415const char kEnableManualFallbacksFillingDescription[] =
416 "If enabled, then if user clicks on the password field on a form, popup "
417 "might contain generation fallbacks or 'Show all saved passwords' "
418 "fallback.";
419
vabr0215a8e2017-03-28 12:47:34420const char kEnableMaterialDesignBookmarksName[] =
421 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34422const char kEnableMaterialDesignBookmarksDescription[] =
423 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
424 "bookmarks page.";
425
vabr0215a8e2017-03-28 12:47:34426const char kEnableMaterialDesignExtensionsName[] =
427 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34428const char kEnableMaterialDesignExtensionsDescription[] =
429 "If enabled, the chrome://extensions/ URL loads the Material Design "
430 "extensions page.";
431
Anton Urusov47cd4932017-09-19 14:41:41432const char kEnablePolicyToolName[] = "Enable policy management page";
433const char kEnablePolicyToolDescription[] =
434 "If enabled, the chrome://policy-tool URL loads a page for managing "
435 "policies.";
436
Tsuyoshi Horoea7edb72017-11-12 04:14:00437const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
438const char kEnablePWAFullCodeCacheDescription[] =
439 "Generate V8 code cache in Cache Storage while installing Service Worker "
440 "for PWAs.";
441
Weidong Guo7dfd1482017-11-08 05:56:28442const char kEnableMultiMirroringName[] =
443 "Display mirroring across multiple displays.";
444const char kEnableMultiMirroringDescription[] =
445 "Enable Display mirroring across multiple displays.";
446
Brett Wilsonf27ff602017-07-07 22:28:47447const char kEnableNavigationTracingName[] = "Enable navigation tracing";
448const char kEnableNavigationTracingDescription[] =
449 "This is to be used in conjunction with the trace-upload-url flag. "
450 "WARNING: When enabled, Chrome will record performance data for every "
451 "navigation and upload it to the URL specified by the trace-upload-url "
452 "flag. The trace may include personally identifiable information (PII) "
453 "such as the titles and URLs of websites you visit.";
454
Bernhard Bauer5533f9912017-11-06 17:56:02455const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
456const char kEnableNetworkLoggingToFileDescription[] =
457 "Enables network logging to a file named netlog.json in the user data "
458 "directory. The file can be imported into chrome://net-internals.";
459
Brett Wilsonf27ff602017-07-07 22:28:47460const char kEnableNetworkServiceName[] = "Enable network service";
461const char kEnableNetworkServiceDescription[] =
462 "Enables the network service, which makes network requests through a "
463 "separate service. Note: most features don't work with this yet.";
464
John Abd-El-Malek8067cc02017-12-04 23:23:20465const char kEnableNetworkServiceInProcessName[] =
466 "Runs network service in-process";
467const char kEnableNetworkServiceInProcessDescription[] =
468 "Runs the network service in the browser process.";
469
dpapaded8349472017-10-25 03:21:27470const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
471const char kEnableNewPrintPreviewDescription[] =
472 "If enabled, Print Preview will display a newer UI";
473
Ahmed Fakhry2fd8fc82017-07-28 16:31:12474const char kEnableNightLightName[] = "Enable Night Light";
475const char kEnableNightLightDescription[] =
476 "Enable the Night Light feature which controls the color temperature of "
477 "the screen.";
478
Sophie Chang117a3b22017-10-24 22:25:36479const char kEnableOptimizationHintsName[] = "Optimization Hints";
480const char kEnableOptimizationHintsDescription[] =
481 "Enable the Optimization Hints feature which incorporates server hints"
482 "into decisions for what optimizations to perform on some pages on slow "
483 "networks.";
484
Yutaka Hirano98be3272017-08-07 17:55:39485const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
486const char kEnableOutOfBlinkCORSDescription[] =
487 "CORS handling logic is moved out of blink.";
488
Erik Chen49bbfa22017-08-18 08:49:56489const char kEnableOutOfProcessHeapProfilingName[] =
490 "Out of process heap profiling.";
491const char kEnableOutOfProcessHeapProfilingDescription[] =
492 "Creates a profiling service that records stacktraces for all live, "
493 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36494const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
495 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56496const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
erikchen0a5dd692017-12-12 00:53:10497const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] =
498 "Profiles all renderers.";
Albert J. Wongbd5bd902017-11-09 19:56:15499const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
500 "Profile only the browser processes.";
501const char kEnableOutOfProcessHeapProfilingModeGpu[] =
502 "Profile only the GPU processes.";
erikchen0a5dd692017-12-12 00:53:10503const char kEnableOutOfProcessHeapProfilingModeManual[] =
504 "By default, no processes are profiled. User may choose to start-profiling "
505 "processes via chrome://memory-internals.";
Albert J. Wongbd5bd902017-11-09 19:56:15506const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
507 "Profile a random sampling of renderer processes, ensuring only one is "
508 "ever profiled at a time.";
Erik Chen8bb76b52017-12-06 19:06:25509const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
510 "Keep track of even the small allocations in memlog heap dumps.";
511const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
512 "By default, small allocations are pruned from the heap dump. This reduces "
513 "the size of the compressed trace by 100x. If pruning is disabled, the "
514 "chrome://tracing UI may be unable to take or load the trace. Save the "
515 "trace directly using chrome://memory-internals, and use other mechanisms "
516 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
517 "automatically uploaded traces will always be pruned. This only affects "
518 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56519
Brett Wilsonf27ff602017-07-07 22:28:47520const char kEnablePictureInPictureName[] = "Enable picture in picture.";
521const char kEnablePictureInPictureDescription[] =
522 "Enable the picture in picture feature for videos.";
523
F#m59d036e2017-09-13 07:22:17524const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
525const char kEnablePixelCanvasRecordingDescription[] =
526 "Pixel canvas recording allows the compositor to raster contents aligned "
527 "with the pixel and improves text rendering. This should be enabled when a "
528 "device is using fractional scale factor.";
529
Brett Wilsonf27ff602017-07-07 22:28:47530const char kEnableTokenBindingName[] = "Token Binding.";
531const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
532
Sahel Sharifyd732ab12017-11-29 23:03:16533extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
534 "Wheel Scroll Latching.";
535extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
536 "Wheel scroll latching enforces latching to a single element for the "
537 "duration of a scroll sequence.";
538
Irmak Kavasoglu7e16af02017-07-19 09:52:47539const char kEnableUsernameCorrectionName[] = "Enable username correction";
540const char kEnableUsernameCorrectionDescription[] =
541 "While on the pending password state, add an edit button to the bubble so "
542 "that user can edit the username.";
543
Brett Wilsonf27ff602017-07-07 22:28:47544const char kEnableUseZoomForDsfName[] =
545 "Use Blink's zoom for device scale factor.";
546const char kEnableUseZoomForDsfDescription[] =
547 "If enabled, Blink uses its zooming mechanism to scale content for device "
548 "scale factor.";
549const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
550const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
551const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
552
553const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
554const char kEnableScrollAnchoringDescription[] =
555 "Adjusts scroll position to prevent visible jumps when offscreen content "
556 "changes.";
557
Brett Wilsonf27ff602017-07-07 22:28:47558const char kEnableWasmName[] = "WebAssembly structured cloning support.";
559const char kEnableWasmDescription[] =
560 "Enable web pages to use WebAssembly structured cloning.";
561
Brett Wilsonf27ff602017-07-07 22:28:47562const char kEnableImageCaptureAPIName[] = "Image Capture API";
563const char kEnableImageCaptureAPIDescription[] =
564 "Enables the Web Platform Image Capture API: takePhoto(), "
565 "getPhotoCapabilities(), etc.";
566
567const char kEnableZeroSuggestRedirectToChromeName[] =
568 "Experimental contextual omnibox suggestion";
569const char kEnableZeroSuggestRedirectToChromeDescription[] =
570 "Change omnibox contextual suggestions to an experimental source. Note "
571 "that this is not an on/off switch for contextual omnibox and it only "
572 "applies to suggestions provided before the user starts typing a URL or a "
573 "search query (i.e. zero suggest).";
574
575const char kEnableWasmStreamingName[] =
576 "WebAssembly streaming compile/instantiate support.";
577const char kEnableWasmStreamingDescription[] =
578 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
579
Brett Wilsonf27ff602017-07-07 22:28:47580const char kExpensiveBackgroundTimerThrottlingName[] =
581 "Throttle expensive background timers";
582const char kExpensiveBackgroundTimerThrottlingDescription[] =
583 "Enables intervention to limit CPU usage of background timers to 1%.";
584
585const char kExperimentalAppBannersName[] = "Experimental app banners";
586const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38587 "Enables a new experimental app banner flow and UI. Implies "
588 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47589
590const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
591const char kExperimentalCanvasFeaturesDescription[] =
592 "Enables the use of experimental canvas features which are still in "
593 "development.";
594
595const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
596const char kExperimentalExtensionApisDescription[] =
597 "Enables experimental extension APIs. Note that the extension gallery "
598 "doesn't allow you to upload extensions that use experimental APIs.";
599
600const char kExperimentalFullscreenExitUIName[] =
601 "Experimental fullscreen exit UI";
602const char kExperimentalFullscreenExitUIDescription[] =
603 "Displays experimental UI to allow mouse and touch input methods to exit "
604 "fullscreen mode.";
605
Brett Wilsonf27ff602017-07-07 22:28:47606const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
607const char kExperimentalKeyboardLockUiDescription[] =
608 "An experimental full screen with keyboard lock mode requiring users to "
609 "hold Esc to exit.";
610
611const char kExperimentalSecurityFeaturesName[] =
612 "Potentially annoying security features";
613const char kExperimentalSecurityFeaturesDescription[] =
614 "Enables several security features that will likely break one or more "
615 "pages that you visit on a daily basis. Strict mixed content checking, for "
616 "example. And locking powerful features to secure contexts. This flag will "
617 "probably annoy you.";
618
619const char kExperimentalWebPlatformFeaturesName[] =
620 "Experimental Web Platform features";
621const char kExperimentalWebPlatformFeaturesDescription[] =
622 "Enables experimental Web Platform features that are in development.";
623
624const char kExtensionContentVerificationName[] =
625 "Extension Content Verification";
626const char kExtensionContentVerificationDescription[] =
627 "This flag can be used to turn on verification that the contents of the "
628 "files on disk for extensions from the webstore match what they're "
629 "expected to be. This can be used to turn on this feature if it would not "
630 "otherwise have been turned on, but cannot be used to turn it off (because "
631 "this setting can be tampered with by malware).";
632const char kExtensionContentVerificationBootstrap[] =
633 "Bootstrap (get expected hashes, but do not enforce them)";
634const char kExtensionContentVerificationEnforce[] =
635 "Enforce (try to get hashes, and enforce them if successful)";
636const char kExtensionContentVerificationEnforceStrict[] =
637 "Enforce strict (hard fail if we can't get hashes)";
638
639const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
640const char kExtensionsOnChromeUrlsDescription[] =
641 "Enables running extensions on chrome:// URLs, where extensions explicitly "
642 "request this permission.";
galinapae72e152017-05-12 13:12:28643
Brett Wilsonecb80982017-07-12 20:34:51644const char kFastUnloadName[] = "Fast tab/window close";
645const char kFastUnloadDescription[] =
646 "Enables fast tab/window closing - runs a tab's onunload js handler "
647 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34648
Brett Wilsonecb80982017-07-12 20:34:51649const char kFeaturePolicyName[] = "Feature Policy";
650const char kFeaturePolicyDescription[] =
651 "Enables granting and removing access to features through the "
652 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34653
Brett Wilsonecb80982017-07-12 20:34:51654const char kFetchKeepaliveTimeoutSettingName[] =
655 "Fetch API keepalive timeout setting";
656const char kFetchKeepaliveTimeoutSettingDescription[] =
657 "This is for setting the timeout value for Fetch API with keepalive option "
658 "and SendBeacon";
659
660const char kFontCacheScalingName[] = "FontCache scaling";
661const char kFontCacheScalingDescription[] =
662 "Reuse a cached font in the renderer to serve different sizes of font for "
663 "faster layout.";
664
665const char kForceEffectiveConnectionTypeName[] =
666 "Override effective connection type";
667const char kForceEffectiveConnectionTypeDescription[] =
668 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30669 "returned by the network quality estimator. Slow 2G on Cellular returns "
670 "Slow 2G when connected to a cellular network, and the actual estimate "
671 "effective connection type when not on a cellular network. Previews are "
672 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51673const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
674const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
675const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30676const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
677 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51678const char kEffectiveConnectionType2GDescription[] = "2G";
679const char kEffectiveConnectionType3GDescription[] = "3G";
680const char kEffectiveConnectionType4GDescription[] = "4G";
681
682const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
683const char kFillOnAccountSelectDescription[] =
684 "Filling of passwords when an account is explicitly selected by the user "
685 "rather than autofilling credentials on page load.";
686
Brett Wilsonecb80982017-07-12 20:34:51687const char kForceTextDirectionName[] = "Force text direction";
688const char kForceTextDirectionDescription[] =
689 "Explicitly force the per-character directionality of UI text to "
690 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
691 "direction of the character language.";
692const char kForceDirectionLtr[] = "Left-to-right";
693const char kForceDirectionRtl[] = "Right-to-left";
694
695const char kForceUiDirectionName[] = "Force UI direction";
696const char kForceUiDirectionDescription[] =
697 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
698 "mode, overriding the default direction of the UI language.";
699
700const char kFramebustingName[] =
701 "Framebusting requires same-origin or a user gesture";
702const char kFramebustingDescription[] =
703 "Don't permit an iframe to navigate the top level browsing context unless "
704 "they are same-origin or the iframe is processing a user gesture.";
705
706const char kGamepadExtensionsName[] = "Gamepad Extensions";
707const char kGamepadExtensionsDescription[] =
708 "Enabling this option allows web applications to access experimental "
709 "extensions to the Gamepad APIs.";
710
sohan3f00ffc2017-07-14 22:28:08711const char kGlCompositedOverlayCandidateQuadBordersName[] =
712 "GL composited overlay candidate quad borders";
713const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39714 "Renders a border around GL composited overlay candidate quads to help "
715 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51716
717const char kGpuRasterizationMsaaSampleCountName[] =
718 "GPU rasterization MSAA sample count.";
719const char kGpuRasterizationMsaaSampleCountDescription[] =
720 "Specify the number of MSAA samples for GPU rasterization.";
721const char kGpuRasterizationMsaaSampleCountZero[] = "0";
722const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
723const char kGpuRasterizationMsaaSampleCountFour[] = "4";
724const char kGpuRasterizationMsaaSampleCountEight[] = "8";
725const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
726
727const char kGpuRasterizationName[] = "GPU rasterization";
728const char kGpuRasterizationDescription[] =
729 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28730const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51731
732const char kGoogleProfileInfoName[] = "Google profile name and icon";
733const char kGoogleProfileInfoDescription[] =
734 "Enables using Google information to populate the profile name and icon in "
735 "the avatar menu.";
736
737const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
738const char kHarfbuzzRendertextDescription[] =
739 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
740 "web content.";
741
742const char kHistoryRequiresUserGestureName[] =
743 "New history entries require a user gesture.";
744const char kHistoryRequiresUserGestureDescription[] =
745 "Require a user gesture to add a history entry.";
746const char kHyperlinkAuditingName[] = "Hyperlink auditing";
747const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
748
749const char kHostedAppQuitNotificationName[] =
750 "Quit notification for hosted apps";
751const char kHostedAppQuitNotificationDescription[] =
752 "Display a notification when quitting Chrome if hosted apps are currently "
753 "running.";
754
755const char kHostedAppShimCreationName[] =
756 "Creation of app shims for hosted apps on Mac";
757const char kHostedAppShimCreationDescription[] =
758 "Create app shims on Mac when creating a hosted app.";
759
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48760const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
761const char kHtmlBasedUsernameDetectorDescription[] =
762 "Use HTML-based username detector for the password manager.";
763
Brett Wilsonecb80982017-07-12 20:34:51764const char kIconNtpName[] = "Large icons on the New Tab page";
765const char kIconNtpDescription[] =
766 "Enable the experimental New Tab page using large icons.";
767
768const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
769const char kIgnoreGpuBlacklistDescription[] =
770 "Overrides the built-in software rendering list and enables "
771 "GPU-acceleration on unsupported system configurations.";
772
773const char kImportantSitesInCbdName[] =
774 "Important sites options in clear browsing data dialog";
775const char kImportantSitesInCbdDescription[] =
776 "Include the option to whitelist important sites in the clear browsing "
777 "data dialog.";
778
Brett Wilsonecb80982017-07-12 20:34:51779const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
780const char kInProductHelpDemoModeChoiceDescription[] =
781 "Selects the In-Product Help demo mode.";
782
783const char kJavascriptHarmonyName[] = "Experimental JavaScript";
784const char kJavascriptHarmonyDescription[] =
785 "Enable web pages to use experimental JavaScript features.";
786
787const char kJavascriptHarmonyShippingName[] =
788 "Latest stable JavaScript features";
789const char kJavascriptHarmonyShippingDescription[] =
790 "Some web pages use legacy or non-standard JavaScript extensions that may "
791 "conflict with the latest JavaScript features. This flag allows disabling "
792 "support of those features for compatibility with such pages.";
793
Yutaka Hiranof7f2f632017-09-06 10:40:08794const char kKeepAliveRendererForKeepaliveRequestsName[] =
795 "Keep a renderer alive for keepalive fetch requests";
796const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
797 "Keep a render process alive when the process has a pending fetch request "
798 "with `keepalive' specified.";
799
Brett Wilsonecb80982017-07-12 20:34:51800const char kLcdTextName[] = "LCD text antialiasing";
801const char kLcdTextDescription[] =
802 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
803 "(subpixel) when doing accelerated compositing.";
804
Matt Giucac399982f2017-10-06 07:51:29805const char kLeftToRightUrlsName[] =
806 "Render bidirectional URLs from left to right";
807const char kLeftToRightUrlsDescription[] =
808 "An experimental Bidi URL rendering algorithm where the URL components are "
809 "always shown in order from left to right, regardless of any RTL "
810 "characters. (The contents of each component are still rendered with the "
811 "normal Bidi algorithm.)";
812
Brett Wilsonecb80982017-07-12 20:34:51813const char kLoadMediaRouterComponentExtensionName[] =
814 "Load Media Router Component Extension";
815const char kLoadMediaRouterComponentExtensionDescription[] =
816 "Loads the Media Router component extension at startup.";
817
818const char kManualPasswordGenerationName[] = "Manual password generation.";
819const char kManualPasswordGenerationDescription[] =
820 "Show a 'Generate Password' option on the context menu for all password "
821 "fields.";
822
Dominic Battref27e8762017-08-23 11:16:25823const char kManualPasswordSavingName[] = "Manual password saving.";
824const char kManualPasswordSavingDescription[] =
825 "Show the password manager icon when typing into a password filed. "
826 "Clicking it allows to save the password without submitting the form.";
827
Brett Wilsonecb80982017-07-12 20:34:51828const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
829const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
830const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51831
Lei Zhang2eca9082017-10-17 20:42:50832const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
833const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51834 "If enabled, the Incognito New Tab page uses the new material design with "
835 "a better readable text.";
836
837const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
838const char kMediaRemotingDescription[] =
839 "When Casting a tab to a remote device, enabling this turns on an "
840 "optimization that forwards the content bitstream directly to the remote "
841 "device when a video is fullscreened.";
842
843const char kMemoryAblationName[] = "Memory ablation experiment";
844const char kMemoryAblationDescription[] =
845 "Allocates extra memory in the browser process.";
846
847const char kMemoryCoordinatorName[] = "Memory coordinator";
848const char kMemoryCoordinatorDescription[] =
849 "Enable memory coordinator instead of memory pressure listeners.";
850
851const char kMessageCenterNewStyleNotificationName[] = "New style notification";
852const char kMessageCenterNewStyleNotificationDescription[] =
853 "Enables the experiment style of material-design notification";
854
Brett Wilsonecb80982017-07-12 20:34:51855const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
856const char kMhtmlGeneratorOptionDescription[] =
857 "Provides experimental options for MHTML file generator.";
858const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
859const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
860
Miguel Casas-Sanchez10769c82017-07-27 23:52:04861const char kMojoVideoEncodeAcceleratorName[] =
862 "Hardware-accelerated video encoder accessed using Mojo IPC";
863const char kMojoVideoEncodeAcceleratorDescription[] =
864 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
865 "available.";
866
Kouhei Ueno08445c22017-09-05 03:58:30867const char kModuleScriptsDynamicImportName[] =
868 "Enable ECMAScript 6 modules dynamic import";
869const char kModuleScriptsDynamicImportDescription[] =
870 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
871 "Blink.";
872
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05873const char kModuleScriptsImportMetaUrlName[] =
874 "Enable ECMAScript 6 modules import.meta.url";
875const char kModuleScriptsImportMetaUrlDescription[] =
876 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
877 "Blink.";
878
Brett Wilsonecb80982017-07-12 20:34:51879const char kNewAudioRenderingMixingStrategyName[] =
880 "New audio rendering mixing strategy";
881const char kNewAudioRenderingMixingStrategyDescription[] =
882 "Use the new audio rendering mixing strategy.";
883
884const char kNewBookmarkAppsName[] = "The new bookmark app system";
885const char kNewBookmarkAppsDescription[] =
886 "Enables the new system for creating bookmark apps.";
887
Brett Wilsonecb80982017-07-12 20:34:51888const char kNewRemotePlaybackPipelineName[] =
889 "Enable the new remote playback pipeline.";
890const char kNewRemotePlaybackPipelineDescription[] =
891 "Enable the new pipeline for playing media element remotely via "
892 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50893const char kUseSurfaceLayerForVideoName[] =
894 "Enable the use of SurfaceLayer objects for videos.";
895const char kUseSurfaceLayerForVideoDescription[] =
896 "Enable compositing onto a Surface instead of a VideoLayer "
897 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51898
899const char kNewUsbBackendName[] = "Enable new USB backend";
900const char kNewUsbBackendDescription[] =
901 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34902
brettw5f9c1642017-05-14 17:12:48903const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34904const char kNostatePrefetchDescription[] =
905 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
906 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
907 R"*(improve load times even more. "Simple Load" does nothing and is )*"
908 R"*(similar to disabling the feature, but collects more metrics for )*"
909 R"*(comparison purposes.)*";
910
Brett Wilsonecb80982017-07-12 20:34:51911const char kNotificationsNativeFlagName[] = "Enable native notifications.";
912const char kNotificationsNativeFlagDescription[] =
913 "Enable support for using the native notification toasts and notification "
914 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34915
Zentaro Kavanaghbad511c2017-10-18 22:29:00916#if defined(OS_POSIX)
917const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
918const char kNtlmV2EnabledDescription[] =
919 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
920#endif
921
Brett Wilsonecb80982017-07-12 20:34:51922const char kNumRasterThreadsName[] = "Number of raster threads";
923const char kNumRasterThreadsDescription[] =
924 "Specify the number of raster threads.";
925const char kNumRasterThreadsOne[] = "1";
926const char kNumRasterThreadsTwo[] = "2";
927const char kNumRasterThreadsThree[] = "3";
928const char kNumRasterThreadsFour[] = "4";
929
930const char kOfferStoreUnmaskedWalletCardsName[] =
931 "Google Payments card saving checkbox";
932const char kOfferStoreUnmaskedWalletCardsDescription[] =
933 "Show the checkbox to offer local saving of a credit card downloaded from "
934 "the server.";
935
936const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
937const char kOfflineAutoReloadDescription[] =
938 "Pages that fail to load while the browser is offline will be "
939 "auto-reloaded when the browser is online again.";
940
941const char kOfflineAutoReloadVisibleOnlyName[] =
942 "Only Auto-Reload Visible Tabs";
943const char kOfflineAutoReloadVisibleOnlyDescription[] =
944 "Pages that fail to load while the browser is offline will only be "
945 "auto-reloaded if their tab is visible.";
946
Brett Wilsonecb80982017-07-12 20:34:51947const char kOmniboxDisplayTitleForCurrentUrlName[] =
948 "Include title for the current URL in the omnibox";
949const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
950 "In the event that the omnibox provides suggestions on-focus, the URL of "
951 "the current page is provided as the first suggestion without a title. "
952 "Enabling this flag causes the title to be displayed.";
953
Benoit Lizeab08362c2017-07-19 14:50:54954const char kOmniboxSpareRendererName[] =
955 "Start spare renderer on omnibox focus";
956const char kOmniboxSpareRendererDescription[] =
957 "When the omnibox is focused, start an empty spare renderer. This can "
958 "speed up the load of the navigation from the omnibox.";
959
Tommy C. Li8875a442017-08-23 00:10:59960const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
961 "Omnibox UI Elide Suggestion URL After Host";
962const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
963 "Elides the path, query, and ref of suggested URLs in the Omnibox "
964 "dropdown.";
965
Brett Wilsonecb80982017-07-12 20:34:51966const char kOmniboxUIHideSuggestionUrlSchemeName[] =
967 "Omnibox UI Hide Suggestion URL Scheme";
968const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
969 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
970
971const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
972 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
973const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
974 "Elides trivially informative subdomains from suggested URLs in the "
975 "Omnibox dropdown (e.g. www. and m.).";
976
977const char kOmniboxUIMaxAutocompleteMatchesName[] =
978 "Omnibox UI Max Autocomplete Matches";
979
980const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
981 "Changes the maximum number of autocomplete matches displayed in the "
982 "Omnibox UI.";
983
984const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
985const char kOmniboxUINarrowDropdownDescription[] =
986 "Makes the suggestions dropdown width match the omnibox width.";
987
Justin Donnelly65c9e8b2017-10-01 05:15:01988const char kOmniboxUIShowSuggestionFaviconsName[] =
989 "Omnibox UI Show Suggestion Favicons";
990const char kOmniboxUIShowSuggestionFaviconsDescription[] =
991 "Shows favicons instead of generic vector icons for URL suggestions in the "
992 "Omnibox dropdown.";
993
994const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
995const char kOmniboxUISwapTitleAndUrlDescription[] =
996 "In the omnibox dropdown, shows titles before URLs when both are "
997 "available.";
998
Brett Wilsonecb80982017-07-12 20:34:51999const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1000const char kOmniboxUIVerticalLayoutDescription[] =
1001 "Displays Omnibox sugestions in 2 lines - title over origin.";
1002
1003const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1004const char kOmniboxUIVerticalMarginDescription[] =
1005 "Changes the vertical margin in the Omnibox UI.";
1006
1007const char kOriginTrialsName[] = "Origin Trials";
1008const char kOriginTrialsDescription[] =
1009 "Enables origin trials for controlling access to feature/API experiments.";
1010
Becca Hughes930d8cd2017-10-02 11:09:121011const char kOverflowIconsForMediaControlsName[] =
1012 "Icons on Media Controls Overflow Menu";
1013const char kOverflowIconsForMediaControlsDescription[] =
1014 "Displays icons on the overflow menu of the native media controls";
1015
Brett Wilsonecb80982017-07-12 20:34:511016const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1017const char kOverlayScrollbarsDescription[] =
1018 "Enable the experimental overlay scrollbars implementation. You must also "
1019 "enable threaded compositing to have the scrollbars animate.";
1020
chaopenge8aa016b2017-08-24 15:20:191021const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1022 "Flash Overlay Scrollbars After Any Scroll Update";
1023const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1024 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1025 " must also enable Overlay Scrollbars.";
1026
chaopeng343678022017-08-24 18:45:001027const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1028 "Flash Overlay Scrollbars When Mouse Enter";
1029const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1030 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1031 " enable Overlay Scrollbars.";
1032
Claudio Magni81326f92017-09-01 05:21:181033const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1034const char kUseNewAcceptLanguageHeaderDescription[] =
1035 "Adds the base language code after other corresponding language+region "
1036 "codes. This ensures that users receive content in their preferred "
1037 "language.";
1038
Brett Wilsonecb80982017-07-12 20:34:511039const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1040const char kOverscrollHistoryNavigationDescription[] =
1041 "Experimental history navigation in response to horizontal overscroll.";
1042const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1043
1044const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1045const char kOverscrollStartThresholdDescription[] =
1046 "Changes overscroll start threshold relative to the default value.";
1047const char kOverscrollStartThreshold133Percent[] = "133%";
1048const char kOverscrollStartThreshold166Percent[] = "166%";
1049const char kOverscrollStartThreshold200Percent[] = "200%";
1050
Xing Liu5400a002017-09-15 21:48:291051const char kParallelDownloadingName[] = "Parallel downloading";
1052const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061053 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291054
Brett Wilsonecb80982017-07-12 20:34:511055const char kPassiveEventListenerDefaultName[] =
1056 "Passive Event Listener Override";
1057const char kPassiveEventListenerDefaultDescription[] =
1058 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1059 "haven't requested otherwise) to be treated as passive. This will break "
1060 "touch/wheel behavior on some websites but is useful for demonstrating the "
1061 "potential performance benefits of adopting passive event listeners.";
1062const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1063const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1064
1065const char kPassiveEventListenersDueToFlingName[] =
1066 "Touch Event Listeners Passive Default During Fling";
1067const char kPassiveEventListenersDueToFlingDescription[] =
1068 "Forces touchstart, and first touchmove per scroll event listeners during "
1069 "fling to be treated as passive.";
1070
1071const char kPassiveDocumentEventListenersName[] =
1072 "Document Level Event Listeners Passive Default";
1073const char kPassiveDocumentEventListenersDescription[] =
1074 "Forces touchstart, and touchmove event listeners on document level "
1075 "targets (which haven't requested otherwise) to be treated as passive.";
1076
1077const char kPasswordForceSavingName[] = "Force-saving of passwords";
1078const char kPasswordForceSavingDescription[] =
1079 "Allow the user to manually enforce password saving instead of relying on "
1080 "password manager's heuristics.";
1081
1082const char kPasswordGenerationName[] = "Password generation";
1083const char kPasswordGenerationDescription[] =
1084 "Allow the user to have Chrome generate passwords when it detects account "
1085 "creation pages.";
1086
Vaclav Brozekd8a3f542017-11-16 14:21:131087const char kPasswordExportName[] = "Password export";
1088const char kPasswordExportDescription[] =
1089 "Export functionality in password settings.";
1090
1091const char kPasswordImportName[] = "Password import";
1092const char kPasswordImportDescription[] =
1093 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511094
Maxim Kolosovskiyd97b94612017-09-19 20:10:391095const char kPasswordSelectionName[] =
1096 "Password selection and eye icon in prompt";
1097const char kPasswordSelectionDescription[] =
1098 "Show a password selector and an eye icon in prompt";
1099
Brett Wilsonecb80982017-07-12 20:34:511100const char kPermissionActionReportingName[] = "Permission Action Reporting";
1101const char kPermissionActionReportingDescription[] =
1102 "Enables permission action reporting to Safe Browsing servers for opted in "
1103 "users.";
1104
1105const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1106const char kPermissionsBlacklistDescription[] =
1107 "Enables the Permissions Blacklist, which blocks permissions for "
1108 "blacklisted sites for Safe Browsing users.";
1109
1110const char kPinchScaleName[] = "Pinch scale";
1111const char kPinchScaleDescription[] =
1112 "Enables experimental support for scale using pinch.";
1113
Brett Wilsonecb80982017-07-12 20:34:511114const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1115const char kPrintPdfAsImageDescription[] =
1116 "If enabled, an option to print PDF files as images will be available in "
1117 "print preview.";
1118
1119const char kPrintPreviewRegisterPromosName[] =
1120 "Print Preview Registration Promos";
1121const char kPrintPreviewRegisterPromosDescription[] =
1122 "Enable registering unregistered cloud printers from print preview.";
1123
1124const char kProtectSyncCredentialName[] = "Autofill sync credential";
1125const char kProtectSyncCredentialDescription[] =
1126 "How the password manager handles autofill for the sync credential.";
1127
1128const char kProtectSyncCredentialOnReauthName[] =
1129 "Autofill sync credential only for transactional reauth pages";
1130const char kProtectSyncCredentialOnReauthDescription[] =
1131 "How the password manager handles autofill for the sync credential only "
1132 "for transactional reauth pages.";
1133
Mohsen Izadi93faac12017-07-29 04:45:151134const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1135const char kPullToRefreshDescription[] =
1136 "Pull-to-refresh gesture in response to vertical overscroll.";
1137
Brett Wilsonecb80982017-07-12 20:34:511138const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1139const char kPushApiBackgroundModeDescription[] =
1140 "Enable background mode for the Push API. This allows Chrome to continue "
1141 "running after the last window is closed, and to launch at OS startup, if "
1142 "the Push API needs it.";
1143
Piotr Swigon46929d12017-08-11 07:16:331144const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1145const char kPwaMinimalUiDescription[] =
1146 "Enables support for Minimal-UI display mode for installed PWAs";
1147
Brett Wilsonecb80982017-07-12 20:34:511148const char kQuicName[] = "Experimental QUIC protocol";
1149const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1150
1151const char kReducedReferrerGranularityName[] =
1152 "Reduce default 'referer' header granularity.";
1153const char kReducedReferrerGranularityDescription[] =
1154 "If a page hasn't set an explicit referrer policy, setting this flag will "
1155 "reduce the amount of information in the 'referer' header for cross-origin "
1156 "requests.";
1157
Mihai Sardarescu6d0f5b72017-10-30 11:24:381158const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1159 "Remove usage of the deprecated GAIA sign-in endpoint";
1160const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1161 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1162 "This flags controls wheter it should no longer be used during a sign-in "
1163 " flow.";
1164
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351165const char kRendererSideResourceSchedulerName[] =
1166 "Renderer side ResourceScheduler";
1167const char kRendererSideResourceSchedulerDescription[] =
1168 "Migrate some ResourceScheduler functionalities to renderer";
1169
Brett Wilsonecb80982017-07-12 20:34:511170const char kRequestTabletSiteName[] =
1171 "Request tablet site option in the settings menu";
1172const char kRequestTabletSiteDescription[] =
1173 "Allows the user to request tablet site. Web content is often optimized "
1174 "for tablet devices. When this option is selected the user agent string is "
1175 "changed to indicate a tablet device. Web content optimized for tablets is "
1176 "received there after for the current tab.";
1177
1178const char kResetAppListInstallStateName[] =
1179 "Reset the App Launcher install state on every restart.";
1180const char kResetAppListInstallStateDescription[] =
1181 "Reset the App Launcher install state on every restart. While this flag is "
1182 "set, Chrome will forget the launcher has been installed each time it "
1183 "starts. This is used for testing the App Launcher install flow.";
1184
1185const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1186const char kResourceLoadSchedulerDescription[] =
1187 "Uses the resource load scheduler in blink to schedule and throttle "
1188 "resource load requests.";
1189
Brett Wilsonecb80982017-07-12 20:34:511190const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1191const char kSafeSearchUrlReportingDescription[] =
1192 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1193
1194const char kSaveasMenuLabelExperimentName[] =
1195 "Switch 'Save as' menu labels to 'Download'";
1196const char kSaveasMenuLabelExperimentDescription[] =
1197 "Enables an experiment to switch menu labels that use 'Save as...' to "
1198 "'Download'.";
1199
1200const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1201const char kSavePageAsMhtmlDescription[] =
1202 "Enables saving pages as MHTML: a single text file containing HTML and all "
1203 "sub-resources.";
1204
Nate Chapin9638e7102017-09-20 22:11:011205const char kSavePreviousDocumentResourcesName[] =
1206 "Save Previous Document Resources";
1207const char kSavePreviousDocumentResourcesDescription[] =
1208 "Saves an old document's cached resources until the specified point in the "
1209 "next document's lifecycle.";
1210const char kSavePreviousDocumentResourcesNever[] =
1211 "Don't explicitly save resources";
1212const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1213 "Save resources until onDOMContentLoaded completes";
1214const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1215 "Save resources until onload completes";
1216
Brett Wilsonecb80982017-07-12 20:34:511217const char kScrollPredictionName[] = "Scroll prediction";
1218const char kScrollPredictionDescription[] =
1219 "Predicts the finger's future position during scrolls allowing time to "
1220 "render the frame before the finger is there.";
1221
1222const char kSecondaryUiMd[] =
1223 "Material Design in the rest of the browser's native UI";
1224const char kSecondaryUiMdDescription[] =
1225 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1226 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1227 "browser dialogs.";
1228
1229const char kServiceWorkerNavigationPreloadName[] =
1230 "Service worker navigation preload.";
1231const char kServiceWorkerNavigationPreloadDescription[] =
1232 "Enable web pages to use the experimental service worker navigation "
1233 "preload API.";
1234
gogeraldd5061b592017-09-06 23:39:551235const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1236const char kServiceWorkerPaymentAppsDescription[] =
1237 "Enable Service Worker applications to integrate as payment apps";
1238
Makoto Shimazud9f333c2017-08-08 07:23:171239const char kServiceWorkerScriptStreamingName[] =
1240 "Service worker script streaming.";
1241const char kServiceWorkerScriptStreamingDescription[] =
1242 "Installed scripts for a service worker are sent over a dedicated "
1243 "message pipe and data pipes, and that is never be blocked on the main "
1244 "thread.";
1245
Tsuyoshi Horobcb1c642017-11-24 16:32:141246const char kServiceWorkerScriptFullCodeCacheName[] =
1247 "Service worker script full code cache.";
1248const char kServiceWorkerScriptFullCodeCacheDescription[] =
1249 "Generate V8 full code cache of Service Worker scripts while installing.";
1250
Brett Wilsonecb80982017-07-12 20:34:511251const char kSettingsWindowName[] = "Show settings in a window";
1252const char kSettingsWindowDescription[] =
1253 "Settings will be shown in a dedicated window instead of as a browser tab.";
1254
Trent Apted750ba7022017-10-23 13:36:251255const char kShowAllDialogsWithViewsToolkitName[] =
1256 "Show all dialogs with Views toolkit";
1257const char kShowAllDialogsWithViewsToolkitDescription[] =
1258 "All browser dialogs will be shown using the Views toolkit rather than "
1259 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1260
Brett Wilsonecb80982017-07-12 20:34:511261const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1262const char kShowAutofillSignaturesDescription[] =
1263 "Annotates web forms with Autofill signatures as HTML attributes.";
1264
1265const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1266const char kShowAutofillTypePredictionsDescription[] =
1267 "Annotates web forms with Autofill field type predictions as placeholder "
1268 "text.";
1269
1270const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1271const char kShowOverdrawFeedbackDescription[] =
1272 "Visualize overdraw by color-coding elements based on if they have other "
1273 "elements drawn underneath.";
1274
yiyixbdfa9a0b2017-10-23 22:21:471275const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1276const char kEnableDrawOcclusionDescription[] =
1277 "Enable the system to use draw occlusion to skip draw quads when they are "
1278 "not shown on the screen.";
1279
Brett Wilsonecb80982017-07-12 20:34:511280const char kShowSavedCopyName[] = "Show Saved Copy Button";
1281const char kShowSavedCopyDescription[] =
1282 "When a page fails to load, if a stale copy of the page exists in the "
1283 "browser cache, a button will be presented to allow the user to load that "
1284 "stale copy. The primary enabling choice puts the button in the most "
1285 "salient position on the error page; the secondary enabling choice puts it "
1286 "secondary to the reload button.";
1287const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1288const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1289const char kDisableShowSavedCopy[] = "Disable";
1290
Brett Wilsonecb80982017-07-12 20:34:511291const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1292const char kSilentDebuggerExtensionApiDescription[] =
1293 "Do not show the infobar when an extension attaches to a page via "
1294 "chrome.debugger API. This is required to debug extension background "
1295 "pages.";
1296
1297const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1298const char kSimpleCacheBackendDescription[] =
1299 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1300 "disk space allocation.";
1301
1302const char kSimplifiedFullscreenUiName[] =
1303 "Simplified full screen / mouse lock UI.";
1304const char kSimplifiedFullscreenUiDescription[] =
1305 "A simplified new user experience when entering page-triggered full screen "
1306 "or mouse pointer lock states.";
1307
1308const char kSingleClickAutofillName[] = "Single-click autofill";
1309const char kSingleClickAutofillDescription[] =
1310 "Make autofill suggestions on initial mouse click on a form element.";
1311
Brett Wilsonecb80982017-07-12 20:34:511312const char kSitePerProcessName[] = "Strict site isolation";
1313const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171314 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511315 "contains pages from at most one site. In this mode, out-of-process "
1316 "iframes will be used whenever an iframe is cross-site.";
1317
1318const char kSiteSettings[] = "Site settings with All sites and Site details";
1319const char kSiteSettingsDescription[] =
1320 "Adds new ways of viewing Site settings.";
1321
1322const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1323const char kSlimmingPaintInvalidationDescription[] =
1324 "Whether to enable a new paint invalidation system.";
1325
1326const char kSmoothScrollingName[] = "Smooth Scrolling";
1327const char kSmoothScrollingDescription[] =
1328 "Animate smoothly when scrolling page content.";
1329
1330const char kSoftwareRasterizerName[] = "3D software rasterizer";
1331const char kSoftwareRasterizerDescription[] =
1332 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1333
Tommy Steimel77704be2017-08-28 22:14:401334const char kSoundContentSettingName[] = "Sound content setting";
1335const char kSoundContentSettingDescription[] =
1336 "Enable site-wide muting in content settings and tab strip context menu.";
1337
Alexandr Ilinf0500ed32017-09-27 21:12:361338const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1339const char kSpeculativePreconnectDescription[] =
1340 "Enable the new implementation of preconnect and DNS preresolve. "
1341 "\"Learning\" means that only database construction is enabled, "
1342 "\"Preconnect\" enables both learning and preconnect and disables the "
1343 "existing implementation. \"No preconnect\" disables both implementations.";
1344
Brett Wilsonecb80982017-07-12 20:34:511345const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341346const char kSpeculativePrefetchDescription[] =
1347 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1348 R"*(load times, based on a local database (see chrome://predictors). )*"
1349 R"*("Learning" means that only the database construction is enabled, )*"
1350 R"*("Prefetching" that learning and prefetching are enabled.)*";
1351
Justin Donnelly4e448cb2017-07-07 21:32:131352const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1353 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131354const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1355 "If enabled, when the user enters text in the omnibox that looks like a "
1356 "a query, any service worker associated with the search engine the query "
1357 "will be sent to is started early.";
1358
Brett Wilsonecb80982017-07-12 20:34:511359const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1360const char kSpellingFeedbackFieldTrialDescription[] =
1361 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401362
Brett Wilsonecb80982017-07-12 20:34:511363const char kSuggestionsWithSubStringMatchName[] =
1364 "Substring matching for Autofill suggestions";
1365const char kSuggestionsWithSubStringMatchDescription[] =
1366 "Match Autofill suggestions based on substrings (token prefixes) rather "
1367 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341368
Brett Wilsonecb80982017-07-12 20:34:511369const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1370const char kSyncSandboxDescription[] =
1371 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341372
Brett Wilsonecb80982017-07-12 20:34:511373const char kTabAudioMutingName[] = "Tab audio muting UI control";
1374const char kTabAudioMutingDescription[] =
1375 "When enabled, the audio indicators in the tab strip double as tab audio "
1376 "mute controls. This also adds commands in the tab context menu for "
1377 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341378
Christian Dullweberd0d96f02017-09-13 09:22:511379const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1380const char kTabsInCbdDescription[] =
1381 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1382
Becky Zhou99c22802017-10-19 05:09:271383const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1384const char kTabModalJsDialogDescription[] =
1385 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1386 " tab.";
1387
Brett Wilsonecb80982017-07-12 20:34:511388const char kTcpFastOpenName[] = "TCP Fast Open";
1389const char kTcpFastOpenDescription[] =
1390 "Enable the option to send extra authentication information in the initial "
1391 "SYN packet for a previously connected client, allowing faster data send "
1392 "start.";
vabr0215a8e2017-03-28 12:47:341393
Brett Wilsonecb80982017-07-12 20:34:511394const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1395const char kTopChromeMdDescription[] =
1396 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1397const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531398const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511399const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341400
Brett Wilsonecb80982017-07-12 20:34:511401const char kThreadedScrollingName[] = "Threaded scrolling";
1402const char kThreadedScrollingDescription[] =
1403 "Threaded handling of scroll-related input events. Disabling this will "
1404 "force all such scroll events to be handled on the main thread. Note that "
1405 "this can dramatically hurt scrolling performance of most websites and is "
1406 "intended for testing purposes only.";
1407
Steven Valdez4584b2482017-07-14 01:11:571408const char kTLS13VariantName[] = "TLS 1.3";
1409const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1410const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111411const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez49408842017-12-13 18:34:481412const char kTLS13VariantDraft22[] = "Enabled (Draft 22)";
Steven Valdezf00f8782017-09-13 18:05:281413const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
Steven Valdez4584b2482017-07-14 01:11:571414
Brett Wilsonecb80982017-07-12 20:34:511415const char kTopDocumentIsolationName[] = "Top document isolation";
1416const char kTopDocumentIsolationDescription[] =
1417 "Highly experimental performance mode where cross-site iframes are kept in "
1418 "a separate process from the top document. In this mode, iframes from "
1419 "different third-party sites will be allowed to share a process.";
1420
Dominick Ng8896b1cd2017-10-17 23:24:361421const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1422const char kTopSitesFromSiteEngagementDescription[] =
1423 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1424 "engagement.";
1425
Brett Wilsonecb80982017-07-12 20:34:511426const char kTouchAdjustmentName[] = "Touch adjustment";
1427const char kTouchAdjustmentDescription[] =
1428 "Refine the position of a touch gesture in order to compensate for touches "
1429 "having poor resolution compared to a mouse.";
1430
1431const char kTouchDragDropName[] = "Touch initiated drag and drop";
1432const char kTouchDragDropDescription[] =
1433 "Touch drag and drop can be initiated through long press on a draggable "
1434 "element.";
1435
1436const char kTouchEventsName[] = "Touch Events API";
1437const char kTouchEventsDescription[] =
1438 "Force Touch Events API feature detection to always be enabled or "
1439 "disabled, or to be enabled when a touchscreen is detected on startup "
1440 "(Automatic, the default).";
1441
1442const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1443const char kTouchSelectionStrategyDescription[] =
1444 "Controls how text selection granularity changes when touch text selection "
1445 "handles are dragged. Non-default behavior is experimental.";
1446const char kTouchSelectionStrategyCharacter[] = "Character";
1447const char kTouchSelectionStrategyDirection[] = "Direction";
1448
1449const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1450const char kTraceUploadUrlDescription[] =
1451 "This is to be used in conjunction with the enable-navigation-tracing "
1452 "flag. Please select the label that best describes the recorded traces. "
1453 "This will choose the destination the traces are uploaded to. If you are "
1454 "not sure, select other. If left empty, no traces will be uploaded.";
1455const char kTraceUploadUrlChoiceOther[] = "Other";
1456const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1457const char kTraceUploadUrlChoiceQa[] = "QA";
1458const char kTraceUploadUrlChoiceTesting[] = "Testing";
1459
1460const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1461const char kTranslate2016q2UiDescription[] =
1462 "Improved triggering logic and look for Translate Bubble UI";
1463
Philippe Hamel7fdaa452017-09-29 17:22:491464const char kTranslateRankerEnforcementName[] =
1465 "Enforce TranslateRanker decisions";
1466const char kTranslateRankerEnforcementDescription[] =
1467 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1468 "or not Translate UI should be triggered in a given context.";
1469
Brett Wilsonecb80982017-07-12 20:34:511470const char kTrySupportedChannelLayoutsName[] =
1471 "Causes audio output streams to check if channel layouts other than the "
1472 "default hardware layout are available.";
1473const char kTrySupportedChannelLayoutsDescription[] =
1474 "Causes audio output streams to check if channel layouts other than the "
1475 "default hardware layout are available. Turning this on will allow the OS "
1476 "to do stereo to surround expansion if supported. May expose third party "
1477 "driver bugs, use with caution.";
1478
1479const char kUiPartialSwapName[] = "Partial swap";
1480const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1481
Chris Pickel3a227ae62017-08-24 10:47:261482const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1483const char kUseDdljsonApiDescription[] =
1484 "Enables the new ddljson API to fetch Doodles for the NTP.";
1485
Becca Hughes59c05b42017-11-03 13:11:581486const char kUseModernMediaControlsName[] = "New Media Controls";
1487const char kUseModernMediaControlsDescription[] =
1488 "Enables the new style native media controls.";
1489
Mustaq Ahmedc646c0a2017-10-20 20:08:301490const char kUserActivationV2Name[] = "User Activation v2";
1491const char kUserActivationV2Description[] =
1492 "Enable simple user activation for APIs that are otherwise controlled by "
1493 "user gesture tokens.";
1494
Brett Wilsonecb80982017-07-12 20:34:511495const char kUserConsentForExtensionScriptsName[] =
1496 "User consent for extension scripts";
1497const char kUserConsentForExtensionScriptsDescription[] =
1498 "Require user consent for an extension running a script on the page, if "
1499 "the extension requested permission to run on all urls.";
1500
1501const char kUseSuggestionsEvenIfFewFeatureName[] =
1502 "Disable minimum for server-side tile suggestions on NTP.";
1503const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1504 "Request server-side suggestions even if there are only very few of them "
1505 "and use them for tiles on the New Tab Page.";
1506
1507const char kV8CacheOptionsName[] = "V8 caching mode.";
1508const char kV8CacheOptionsDescription[] =
1509 "Caching mode for the V8 JavaScript engine.";
1510const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1511const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1512
Hitoshi Yoshida3e5db562017-09-11 02:31:081513const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1514const char kV8ContextSnapshotDescription[] =
1515 "Sets to use a snapshot to create V8 contexts in frame creation.";
1516
Michael Hablich896d52662017-10-23 15:59:571517const char kV8VmFutureName[] = "Future V8 VM features";
1518const char kV8VmFutureDescription[] =
1519 "This enables upcoming and experimental V8 VM features. "
1520 "This flag does not enable experimental JavaScript features.";
1521
Brett Wilsonecb80982017-07-12 20:34:511522const char kVibrateRequiresUserGestureName[] =
1523 "Requiring user gesture for the Vibration API";
1524const char kVibrateRequiresUserGestureDescription[] =
1525 "Block the Vibration API if no user gesture has been received on the frame "
1526 "or any embedded frame.";
1527
1528const char kVideoFullscreenOrientationLockName[] =
1529 "Lock screen orientation when playing a video fullscreen.";
1530const char kVideoFullscreenOrientationLockDescription[] =
1531 "Lock the screen orientation of the device to match video orientation when "
1532 "a video goes fullscreen. Only on phones.";
1533
1534const char kVideoRotateToFullscreenName[] =
1535 "Rotate-to-fullscreen gesture for videos.";
1536const char kVideoRotateToFullscreenDescription[] =
1537 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1538 "the video. Only on phones.";
1539
1540const char kWalletServiceUseSandboxName[] =
1541 "Use Google Payments sandbox servers";
1542const char kWalletServiceUseSandboxDescription[] =
1543 "For developers: use the sandbox service for Google Payments API calls.";
1544
Brett Wilsonecb80982017-07-12 20:34:511545const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1546const char kWebglDraftExtensionsDescription[] =
1547 "Enabling this option allows web applications to access the WebGL "
1548 "Extensions that are still in draft status.";
1549
1550const char kWebMidiName[] = "Web MIDI API";
1551const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1552
1553const char kWebPaymentsName[] = "Web Payments";
1554const char kWebPaymentsDescription[] =
1555 "Enable Web Payments API integration, a JavaScript API for merchants.";
1556
Mathieu Perreault51339b82017-07-20 17:06:051557const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1558const char kWebPaymentsModifiersDescription[] =
1559 "If the website provides modifiers in the payment request, show the custom "
1560 "total for each payment instrument, update the shopping cart when "
1561 "instruments are switched, and send modified payment method specific data "
1562 "to the payment app.";
1563
Brett Wilsonecb80982017-07-12 20:34:511564const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1565const char kWebrtcEchoCanceller3Description[] =
1566 "Experimental WebRTC echo canceller (AEC3).";
1567
1568const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1569const char kWebrtcHwDecodingDescription[] =
1570 "Support in WebRTC for decoding video streams using platform hardware.";
1571
1572const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1573const char kWebrtcHwEncodingDescription[] =
1574 "Support in WebRTC for encoding video streams using platform hardware.";
1575
1576const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1577const char kWebrtcHwH264EncodingDescription[] =
1578 "Support in WebRTC for encoding h264 video streams using platform "
1579 "hardware.";
1580
1581const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1582const char kWebrtcHwVP8EncodingDescription[] =
1583 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1584
1585const char kWebrtcSrtpAesGcmName[] =
1586 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1587const char kWebrtcSrtpAesGcmDescription[] =
1588 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1589
Joachim Bauch4a41d7512017-08-23 14:24:231590const char kWebrtcSrtpEncryptedHeadersName[] =
1591 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1592const char kWebrtcSrtpEncryptedHeadersDescription[] =
1593 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1594 "for SRTP.";
1595
Brett Wilsonecb80982017-07-12 20:34:511596const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1597const char kWebrtcStunOriginDescription[] =
1598 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1599 "header.";
1600
1601const char kWebvrName[] = "WebVR";
1602const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051603 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111604 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1605 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1606 "will also allow WebVR content on insecure origins to access these "
1607 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511608
David Dorwin5a496c32017-11-17 01:45:051609const char kWebVrExperimentalRenderingName[] =
1610 "WebVR experimental rendering optimizations";
1611const char kWebVrExperimentalRenderingDescription[] =
1612 "Experimental rendering path optimizations for WebVR.";
1613
Brandon Jonese9d9b2b2017-12-11 22:20:111614const char kWebXrName[] = "WebXR Device API";
1615const char kWebXrDescription[] =
1616 "Allow web applications to access experimental APIs to interact with "
1617 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1618
Brett Wilsonecb80982017-07-12 20:34:511619const char kWifiCredentialSyncName[] = "WiFi credential sync";
1620const char kWifiCredentialSyncDescription[] =
1621 "Enables synchronizing WiFi network settings across devices. When enabled, "
1622 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1623 "credentials are synchronized subject to user preferences. (See also, "
1624 "chrome://settings/syncSetup.)";
1625
1626const char kZeroCopyName[] = "Zero-copy rasterizer";
1627const char kZeroCopyDescription[] =
1628 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341629
Brett Wilsonff596952017-07-14 01:06:551630// Android ---------------------------------------------------------------------
1631
1632#if defined(OS_ANDROID)
1633
1634const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1635const char kAiaFetchingDescription[] =
1636 "Enable intermediate certificate fetching when a server does not provide "
1637 "sufficient certificates to build a chain to a trusted root.";
1638
1639const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1640const char kAccessibilityTabSwitcherDescription[] =
1641 "Enable the accessibility tab switcher for Android.";
1642
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251643const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1644const char kAllowReaderForAccessibilityDescription[] =
1645 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1646
Brett Wilsonff596952017-07-14 01:06:551647const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1648const char kAndroidAutofillAccessibilityDescription[] =
1649 "Enable accessibility for autofill popup.";
1650
1651const char kAndroidPaymentAppsName[] = "Android payment apps";
1652const char kAndroidPaymentAppsDescription[] =
1653 "Enable third party Android apps to integrate as payment apps";
1654
Tatiana Gornak38ab3562017-07-28 11:04:181655const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1656const char kAndroidViewPasswordsDescription[] =
1657 "Enables copying and viewing passwords in settings.";
1658
Miriam Gershenson23cfe346e2017-09-28 14:49:291659const char kAsyncDnsName[] = "Async DNS resolver";
1660const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1661
Brett Wilsonff596952017-07-14 01:06:551662const char kAutofillAccessoryViewName[] =
1663 "Autofill suggestions as keyboard accessory view";
1664const char kAutofillAccessoryViewDescription[] =
1665 "Shows Autofill suggestions on top of the keyboard rather than in a "
1666 "dropdown.";
1667
1668const char kBackgroundLoaderForDownloadsName[] =
1669 "Enables background downloading of pages.";
1670const char kBackgroundLoaderForDownloadsDescription[] =
1671 "Enables downloading pages in the background in case page is not yet "
1672 "loaded in current tab.";
1673
Theresa Wellingtonb9243b22017-12-01 16:23:051674const char kChromeHomeName[] = "Chrome Home";
1675const char kChromeHomeDescription[] =
1676 "Enables Chrome Home on Android. You must restart the browser"
1677 " twice for changes to take effect.";
1678
1679const char kChromeHomeBottomNavLabelsName[] =
1680 "Chrome Home bottom navigation menu item labels.";
1681const char kChromeHomeBottomNavLabelsDescription[] =
1682 "Enables text labels for Chrome Home bottom navigation menu items.";
1683
1684const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1685const char kChromeHomeClearUrlOnOpenDescription[] =
1686 "Clear omnibox URL when the bottom sheet is opened.";
1687
Daniel Park825a16f32017-12-08 00:44:261688const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1689const char kChromeHomeEnableSurveyDescription[] =
1690 "If enabled, the survey process will allow surveys using sample "
1691 "parameters.";
1692
Theresa Wellingtonb9243b22017-12-01 16:23:051693const char kChromeHomeInactivitySheetExpansionName[] =
1694 "Expansion of Chrome Home bottom sheet on startup";
1695const char kChromeHomeInactivitySheetExpansionDescription[] =
1696 "Expand bottom sheet on startup in Chrome Home after a period of"
1697 " inactivity.";
1698
Matthew Joneseab91aa2017-12-19 16:12:421699const char kChromeHomeMenuItemsName[] =
1700 "Show bookmarks, downloads, and history menu items in Chrome Home";
1701const char kChromeHomeMenuItemsDescription[] =
1702 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1703 " when Chrome Home is enabled. These items will open the bottom sheet to"
1704 " show the desired content.";
1705
Theresa Wellington82d6f6ef2017-10-12 02:39:131706const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1707const char kChromeHomeOptOutSnackbarDescription[] =
1708 "Show a snackbar prompting users to take a survey the first time they"
1709 " opt-out of Chrome Home";
1710
Theresa Wellingtonc4cff8a12017-11-28 04:13:181711const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1712const char kChromeHomePersistentIphDescription[] =
1713 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1714 "toolbar or a timer expires.";
1715
Theresa Wellingtondd71c5c2017-10-02 15:50:381716const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1717 "Chrome Home Personalized Omnibox Suggestions";
1718const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1719 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1720
Matthew Jones4214d2a12017-09-28 18:35:111721const char kChromeHomePromoName[] = "Chrome Home Promo";
1722const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331723 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111724
Theresa Wellington13977c832017-12-13 16:59:111725const char kChromeHomePullToRefreshIphAtTopName[] =
1726 "Chrome Home Pull-To-Refresh Iph At Top";
1727const char kChromeHomePullToRefreshIphAtTopDescription[] =
1728 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1729
Theresa Wellington306c4cdc2017-12-07 16:43:081730const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1731const char kChromeHomeShowGoogleGDescription[] =
1732 "Show the Google G when the url is cleared. The flag to clear the url "
1733 "when the sheet is opened must also be set.";
1734
Brett Wilsonff596952017-07-14 01:06:551735const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1736const char kChromeHomeSwipeLogicDescription[] =
1737 "Various swipe logic options for Chrome Home for sheet expansion.";
1738const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151739const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551740
Megan Jablonskic61eb1b82017-10-02 18:03:061741const char kChromeMemexName[] = "Chrome Memex";
1742const char kChromeMemexDescription[] =
1743 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1744 "Googlers.";
1745
Sarath Singapati83aef1c2017-11-16 15:54:521746const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1747const char kClearOldBrowsingDataDescription[] =
1748 "Enables clearing of browsing data which is older than a given time "
1749 "period.";
1750
Brett Wilsonff596952017-07-14 01:06:551751const char kContentSuggestionsCategoryOrderName[] =
1752 "Default content suggestions category order (e.g. on NTP)";
1753const char kContentSuggestionsCategoryOrderDescription[] =
1754 "Set default order of content suggestion categories (e.g. on the NTP).";
1755
1756const char kContentSuggestionsCategoryRankerName[] =
1757 "Content suggestions category ranker (e.g. on NTP)";
1758const char kContentSuggestionsCategoryRankerDescription[] =
1759 "Set category ranker to order categories of content suggestions (e.g. on "
1760 "the NTP).";
1761
Vitalii Iarkof52ff802017-09-14 12:34:241762const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1763const char kContentSuggestionsDebugLogDescription[] =
1764 "Enable content suggestions debug log accessible through "
1765 "snippets-internals.";
1766
Donn Denman8e58ead2017-11-04 01:44:011767const char kContextualSearchMlTapSuppressionName[] =
1768 "Contextual Search ML tap suppression";
1769const char kContextualSearchMlTapSuppressionDescription[] =
1770 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1771 "learning.";
Brett Wilsonff596952017-07-14 01:06:551772
1773const char kContextualSearchName[] = "Contextual Search";
1774const char kContextualSearchDescription[] =
1775 "Whether or not Contextual Search is enabled.";
1776
Dmitry Skiba9c3efa72017-07-20 22:01:141777const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1778const char kDontPrefetchLibrariesDescription[] =
1779 "Don't prefetch libraries after loading.";
1780
Joy Ming5fd29ca62017-10-02 22:51:221781const char kDownloadsForegroundName[] = "Enable downloads foreground";
1782const char kDownloadsForegroundDescription[] =
1783 "Enable downloads as a foreground service for all versions of Android.";
1784
Joy Ming189b0cc2017-12-08 19:42:431785const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1786const char kDownloadsLocationChangeDescription[] =
1787 "Enable changing default downloads storage location on Android.";
1788
Brett Wilsonff596952017-07-14 01:06:551789const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1790const char kEnableAndroidPayIntegrationV1Description[] =
1791 "Enable integration with Android Pay using the first version of the API";
1792
1793const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1794const char kEnableAndroidPayIntegrationV2Description[] =
1795 "Enable integration with Android Pay using the second version of the API";
1796
Vitalii Iarkof4ed32d2017-09-26 13:15:531797const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551798const char kEnableAndroidSpellcheckerDescription[] =
1799 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551800
Vitalii Iarkof4ed32d2017-09-26 13:15:531801const char kEnableContentSuggestionsNewFaviconServerName[] =
1802 "Get favicons for content suggestions from a new server.";
1803const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1804 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1805 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551806
1807const char kEnableContentSuggestionsSettingsName[] =
1808 "Show content suggestions settings.";
1809const char kEnableContentSuggestionsSettingsDescription[] =
1810 "If enabled, the content suggestions settings will be available from the "
1811 "main settings menu.";
1812
Vitalii Iarkof4ed32d2017-09-26 13:15:531813const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1814 "Use content suggestions thumbnail dominant color.";
1815const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1816 "Use content suggestions thumbnail dominant color as a placeholder before "
1817 "the real thumbnail is fetched (requires Chrome Home).";
1818
Brett Wilsonff596952017-07-14 01:06:551819const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1820const char kEnableCopylessPasteDescription[] =
1821 "Provide suggestions for text input, based on your recent context. For "
1822 "example, if you looked at a restaurant website and switched to the Maps "
1823 "app, the keyboard would offer the name of that restaurant as a suggestion "
1824 "to enter into the search bar. The data is indexed locally, and never sent "
1825 "to the server. It's disabled in incognito mode.";
1826
1827const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1828const char kEnableCustomContextMenuDescription[] =
1829 "Enables a new context menu when a link, image, or video is pressed within "
1830 "Chrome.";
1831
1832const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1833const char kEnableCustomFeedbackUiDescription[] =
1834 "Enables a custom feedback UI when submitting feedback through Google "
1835 "Feedback. Works with Google Play Services v10.2+";
1836
1837const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471838 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551839const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471840 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551841
1842const char kEnableDataReductionProxySiteBreakdownName[] =
1843 "Data Saver Site Breakdown";
1844const char kEnableDataReductionProxySiteBreakdownDescription[] =
1845 "Enable the site breakdown on the Data Saver settings page.";
1846
1847const char kEnableOmniboxClipboardProviderName[] =
1848 "Omnibox clipboard URL suggestions";
1849const char kEnableOmniboxClipboardProviderDescription[] =
1850 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1851 "focus in the omnibox.";
1852
1853const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1854 "Use expanded autofill credit card popup layout.";
1855const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1856 "If enabled, displays autofill credit card popup using expanded layout.";
1857
Brett Wilsonff596952017-07-14 01:06:551858const char kEnableNtpAssetDownloadSuggestionsName[] =
1859 "Show asset downloads on the New Tab page";
1860const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1861 "If enabled, the list of content suggestions on the New Tab page will "
1862 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1863 "later use.";
1864
1865const char kEnableNtpBookmarkSuggestionsName[] =
1866 "Show recently visited bookmarks on the New Tab page";
1867const char kEnableNtpBookmarkSuggestionsDescription[] =
1868 "If enabled, the list of content suggestions on the New Tab page will "
1869 "contain recently visited bookmarks.";
1870
1871const char kEnableNtpForeignSessionsSuggestionsName[] =
1872 "Show recent foreign tabs on the New Tab page";
1873const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1874 "If enabled, the list of content suggestions on the New Tab page will "
1875 "contain recent foreign tabs.";
1876
Brett Wilsonff596952017-07-14 01:06:551877const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1878 "Show offline page downloads on the New Tab page";
1879const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1880 "If enabled, the list of content suggestions on the New Tab page will "
1881 "contain pages that the user downloaded for later use.";
1882
1883const char kEnableNtpRemoteSuggestionsName[] =
1884 "Show server-side suggestions on the New Tab page";
1885const char kEnableNtpRemoteSuggestionsDescription[] =
1886 "If enabled, the list of content suggestions on the New Tab page will "
1887 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1888 "allows to override the source used to retrieve these server-side "
1889 "suggestions.";
1890
1891const char kEnableNtpSnippetsVisibilityName[] =
1892 "Make New Tab Page Snippets more visible.";
1893const char kEnableNtpSnippetsVisibilityDescription[] =
1894 "If enabled, the NTP snippets will become more discoverable with a larger "
1895 "portion of the first card above the fold.";
1896
1897const char kEnableNtpSuggestionsNotificationsName[] =
1898 "Notify about new content suggestions available at the New Tab page";
1899const char kEnableNtpSuggestionsNotificationsDescription[] =
1900 "If enabled, notifications will inform about new content suggestions on "
1901 "the New Tab page.";
1902
1903const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1904const char kEnablePhysicalWebDescription[] =
1905 "Enable scanning for URLs from Physical Web objects.";
1906
1907const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1908const char kEnableOfflinePreviewsDescription[] =
1909 "Enable showing offline page previews on slow networks.";
1910
1911const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1912const char kEnableOskOverscrollDescription[] =
1913 "Enable OSK overscroll support. With this flag on, the OSK will only "
1914 "resize the visual viewport.";
1915
1916const char kEnableSpecialLocaleName[] =
1917 "Enable custom logic for special locales.";
1918const char kEnableSpecialLocaleDescription[] =
1919 "Enable custom logic for special locales. In this mode, Chrome might "
1920 "behave differently in some locales.";
1921
Brett Wilsonff596952017-07-14 01:06:551922const char kEnableWebNfcName[] = "WebNFC";
1923const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1924
gogeraldf3cbb422017-07-26 14:37:121925const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1926 "Enable Web Payments method section order V2.";
1927const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1928 "Enable this option to display payment method section above address "
1929 "section instead of below it.";
1930
Brett Wilsonff596952017-07-14 01:06:551931const char kEnableWebPaymentsSingleAppUiSkipName[] =
1932 "Enable Web Payments single app UI skip";
1933const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1934 "Enable Web Payments to skip showing its UI if the developer specifies a "
1935 "single app.";
1936
Raymes Khoury582b43132017-12-12 23:54:301937const char kGrantNotificationsToDSEName[] =
1938 "Grant notifications to the Default Search Engine";
1939const char kGrantNotificationsToDSENameDescription[] =
1940 "Automatically grant the notifications permission to the Default Search "
1941 "Engine";
1942
Brett Wilsonff596952017-07-14 01:06:551943const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1944const char kHerbPrototypeChoicesDescription[] =
1945 "Switching this option changes which tab management prototype is being "
1946 "tested.";
1947const char kHerbPrototypeFlavorElderberry[] =
1948 "ELDERBERRY: All View Intents in CCT v2";
1949
1950const char kKeepPrefetchedContentSuggestionsName[] =
1951 "Keep prefetched content suggestions";
1952const char kKeepPrefetchedContentSuggestionsDescription[] =
1953 "If enabled, some of prefetched content suggestions are not replaced by "
1954 "the new fetched suggestions.";
1955
1956const char kLsdPermissionPromptName[] =
1957 "Location Settings Dialog Permission Prompt";
1958const char kLsdPermissionPromptDescription[] =
1959 "Whether to use the Google Play Services Location Settings Dialog "
1960 "permission dialog.";
1961
Brett Wilsonff596952017-07-14 01:06:551962const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1963const char kMediaScreenCaptureDescription[] =
1964 "Enable this option for experimental ScreenCapture feature on Android.";
1965
1966const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1967const char kModalPermissionPromptsDescription[] =
1968 "Whether to use permission dialogs in place of permission infobars.";
1969
Brett Wilsonff596952017-07-14 01:06:551970const char kNewPhotoPickerName[] = "Enable new Photopicker";
1971const char kNewPhotoPickerDescription[] =
1972 "Activates the new picker for selecting photos.";
1973
1974const char kNoCreditCardAbort[] = "No Credit Card Abort";
1975const char kNoCreditCardAbortDescription[] =
1976 "Whether or not the No Credit Card Abort is enabled.";
1977
1978const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1979const char kNtpCondensedLayoutDescription[] =
1980 "Show a condensed layout on the New Tab Page.";
1981
1982const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1983const char kNtpCondensedTileLayoutDescription[] =
1984 "Show a condensed tile layout on the New Tab Page.";
1985
Michael van Ouwerkerkcdbbe332017-11-24 15:07:061986const char kNtpModernLayoutName[] = "Modern NTP layout";
1987const char kNtpModernLayoutDescription[] =
1988 "Show a modern layout on the New Tab Page.";
1989
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041990const char kSiteExplorationUiName[] = "Site Exploration UI";
1991const char kSiteExplorationUiDescription[] =
1992 "Show site suggestions in the Exploration UI";
1993
Brett Wilsonff596952017-07-14 01:06:551994const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1995const char kNtpGoogleGInOmniboxDescription[] =
1996 "Show a Google G in the omnibox on the New Tab Page.";
1997
Brett Wilsonff596952017-07-14 01:06:551998const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1999const char kNtpPopularSitesDescription[] =
2000 "Pre-populate the New Tab page with popular sites.";
2001
Brett Wilsonff596952017-07-14 01:06:552002const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2003const char kOfflineBookmarksDescription[] =
2004 "Enable saving bookmarked pages for offline viewing.";
2005
Brett Wilsonff596952017-07-14 01:06:552006const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2007const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2008
2009const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2010const char kOfflinePagesCtV2Description[] =
2011 "V2 features include attributing pages to the app that initiated the "
2012 "custom tabs, and being able to query for pages by page attribution.";
2013
Carlos Knippschild09272ecd2017-12-09 03:29:362014const char kOfflinePagesLimitlessPrefetchingName[] =
2015 "Removes resource usage limits for the prefetching of offline pages.";
2016const char kOfflinePagesLimitlessPrefetchingDescription[] =
2017 "Allows the prefetching of suggested offline pages to ignore resource "
2018 "usage limits. This allows it to completely ignore data usage limitations "
2019 "and allows downloads to happen with any kind of connection.";
2020
Brett Wilsonff596952017-07-14 01:06:552021const char kOfflinePagesLoadSignalCollectingName[] =
2022 "Enables collecting load timing data for offline page snapshots.";
2023const char kOfflinePagesLoadSignalCollectingDescription[] =
2024 "Enables loading completeness data collection while writing an offline "
2025 "page. This data is collected in the snapshotted offline page to allow "
2026 "data analysis to improve deciding when to make the offline snapshot.";
2027
2028const char kOfflinePagesPrefetchingName[] =
2029 "Enables suggested offline pages to be prefetched.";
2030const char kOfflinePagesPrefetchingDescription[] =
2031 "Enables suggested offline pages to be prefetched, so useful content is "
2032 "available while offline.";
2033
Cathy Li3d5379e2017-09-07 00:11:092034const char kOfflinePagesPrefetchingUIName[] =
2035 "Enables prefetched offline pages to be shown in UI.";
2036const char kOfflinePagesPrefetchingUIDescription[] =
2037 "Enables prefetched offline pages to raise notifications and be shown in "
2038 "download home UI.";
2039
Pete Williamson7845dff2017-09-20 11:06:192040const char kOfflinePagesResourceBasedSnapshotName[] =
2041 "Enables offline page snapshots to be based on percentage of page loaded.";
2042const char kOfflinePagesResourceBasedSnapshotDescription[] =
2043 "Enables offline page snapshots to use a resource percentage based "
2044 "approach for determining when the page is loaded as opposed to a time "
2045 "based approach";
2046
Collin Baker17f92a52017-07-19 21:41:252047const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2048const char kOfflinePagesRenovationsDescription[] =
2049 "Enables offline page renovations which correct issues with dynamic "
2050 "content that occur when offlining pages that use JavaScript.";
2051
Brett Wilsonff596952017-07-14 01:06:552052const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2053const char kOfflinePagesSharingDescription[] =
2054 "Enables the saved offline pages to be shared via other applications.";
2055
2056const char kOfflinePagesSvelteConcurrentLoadingName[] =
2057 "Enables concurrent background loading on svelte.";
2058const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2059 "Enables concurrent background loading (or downloading) of pages on "
2060 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2061 "happen when the svelte device is idle.";
2062
2063const char kOffliningRecentPagesName[] =
2064 "Enable offlining of recently visited pages";
2065const char kOffliningRecentPagesDescription[] =
2066 "Enable storing recently visited pages locally for offline use. Requires "
2067 "Offline Pages to be enabled.";
2068
Lei Zhang2eca9082017-10-17 20:42:502069const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2070const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552071 "Enable Pay with Google integration into Web Payments with API version "
2072 "'1'.";
2073
Matthew Jonesa88b95852017-11-08 23:13:502074const char kProgressBarThrottleName[] = "Android progress update throttling.";
2075const char kProgressBarThrottleDescription[] =
2076 "Limit the maximum progress update to make progress appear smoother.";
2077
Brett Wilsonff596952017-07-14 01:06:552078const char kProgressBarCompletionName[] =
2079 "Android phone page load progress bar completion time.";
2080const char kProgressBarCompletionDescription[] =
2081 "Configures Android phone page loading progress bar completion time.";
2082const char kProgressBarCompletionLoadEvent[] =
2083 R"*(Top loading frame's onload event ("everything" is done in the )*"
2084 R"*(page, historical behavior).)*";
2085const char kProgressBarCompletionResourcesBeforeDcl[] =
2086 "Main frame's domContentLoaded and all resources loads started before "
2087 "domContentLoaded (iframes ignored).";
2088const char kProgressBarCompletionDomContentLoaded[] =
2089 "Main frame's domContentLoaded (iframes ignored).";
2090const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2091 "domContentLoaded and all resources loads started before domContentLoaded "
2092 "(main frame and same origin iframes).";
2093
2094const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2095const char kPullToRefreshEffectDescription[] =
2096 "Page reloads triggered by vertically overscrolling content.";
2097
Piotr Swigon7c296ef2017-08-29 04:32:002098const char kPwaImprovedSplashScreenName[] =
2099 "Improved Splash Screen for standalone PWAs";
2100const char kPwaImprovedSplashScreenDescription[] =
2101 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2102 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492103const char kPwaPersistentNotificationName[] =
2104 "Persistent notification in standalone PWA";
2105const char kPwaPersistentNotificationDescription[] =
2106 "Enables a persistent Android notification for standalone PWAs";
2107
Brett Wilsonff596952017-07-14 01:06:552108const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2109const char kReaderModeHeuristicsDescription[] =
2110 "Determines what pages the Reader Mode infobar is shown on.";
2111const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2112const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2113const char kReaderModeHeuristicsAllArticles[] = "All articles";
2114const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2115const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2116
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182117const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2118const char kReaderModeInCCTDescription[] =
2119 "Open Reader Mode in Chrome Custom Tabs.";
2120
Brett Wilsonff596952017-07-14 01:06:552121const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2122const char kSetMarketUrlForTestingDescription[] =
2123 "When enabled, sets the market URL for use in testing the update menu "
2124 "item.";
2125
2126const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2127const char kSpannableInlineAutocompleteDescription[] =
2128 "A new type of inline autocomplete for the omnibox that works with "
2129 "keyboards that compose text.";
2130
Brett Wilsonff596952017-07-14 01:06:552131const char kTranslateCompactUIName[] = "New Translate Infobar";
2132const char kTranslateCompactUIDescription[] =
2133 "Enable the new Translate compact infobar UI.";
2134
2135const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2136const char kUpdateMenuBadgeDescription[] =
2137 "When enabled, an update badge will be shown on the app menu button.";
2138
2139const char kUpdateMenuItemCustomSummaryDescription[] =
2140 "When this flag and the force show update menu item flag are enabled, a "
2141 "custom summary string will be displayed below the update menu item.";
2142const char kUpdateMenuItemCustomSummaryName[] =
2143 "Update menu item custom summary";
2144
2145const char kUpdateMenuItemName[] = "Force show update menu item";
2146const char kUpdateMenuItemDescription[] =
2147 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2148 R"*(menu.)*";
2149
Marc Treib93af46a2017-08-23 13:30:002150const char kThirdPartyDoodlesName[] =
2151 "Enable Doodles for third-party search engines";
2152const char kThirdPartyDoodlesDescription[] =
2153 "Enables fetching and displaying Doodles on the NTP for third-party search "
2154 "engines.";
2155
Brett Wilson7b44537e2017-08-18 01:38:282156// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552157
Brett Wilson7b44537e2017-08-18 01:38:282158#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482159
Brett Wilson7b44537e2017-08-18 01:38:282160const char kAccountConsistencyName[] =
2161 "Identity consistency between browser and cookie jar";
2162const char kAccountConsistencyDescription[] =
2163 "When enabled, the browser manages signing in and out of Google accounts.";
2164const char kAccountConsistencyChoiceMirror[] = "Mirror";
2165const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342166
Chris Pickel3a227ae62017-08-24 10:47:262167const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2168const char kDoodlesOnLocalNtpDescription[] =
2169 "Show doodles on the local New Tab page if Google is the default search "
2170 "engine.";
2171
mlamouriff56c092017-05-11 15:31:392172const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392173const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342174 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392175const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392176const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392177const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342178 "Enabled (Flash lowers volume when interrupted by other sound, "
2179 "experimental)";
2180
Brett Wilson7b44537e2017-08-18 01:38:282181const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2182const char kEnableNewAppMenuIconDescription[] =
2183 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342184
2185const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342186const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282187 "Enable receiving entity suggestions - disambiguation descriptions - for "
2188 "Omnibox suggestions.";
2189
Kevin Bailey898669972017-11-06 15:34:492190const char kOmniboxTabSwitchSuggestionsName[] =
2191 "Omnibox tab switch suggestions";
2192const char kOmniboxTabSwitchSuggestionsDescription[] =
2193 "Enable suggestions for switching to open tabs within the Omnibox.";
2194
krbcc621412017-06-01 19:40:282195const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2196const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192197 "Enable receiving tail suggestions, a type of search suggestion based on "
2198 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342199
Brett Wilson7b44537e2017-08-18 01:38:282200const char kOneGoogleBarOnLocalNtpName[] =
2201 "Enable the OneGoogleBar on the local NTP";
2202const char kOneGoogleBarOnLocalNtpDescription[] =
2203 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2204 "search engine.";
2205
ojan38c678352017-04-11 20:27:552206const char kPauseBackgroundTabsName[] = "Pause background tabs";
2207const char kPauseBackgroundTabsDescription[] =
2208 "Pause timers in background tabs after 5 minutes on desktop.";
2209
Brett Wilson7b44537e2017-08-18 01:38:282210const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2211const char kUseGoogleLocalNtpDescription[] =
2212 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322213
Brett Wilson7b44537e2017-08-18 01:38:282214const char kVoiceSearchOnLocalNtpName[] =
2215 "Enable Voice Search on the local NTP";
2216const char kVoiceSearchOnLocalNtpDescription[] =
2217 "Show a microphone for voice search on the local New Tab page "
2218 "if Google is the default search engine.";
2219
2220#if defined(GOOGLE_CHROME_BUILD)
2221
2222const char kGoogleBrandedContextMenuName[] =
2223 "Google branding in the context menu";
2224const char kGoogleBrandedContextMenuDescription[] =
2225 "Shows a Google icon next to context menu items powered by Google "
2226 "services.";
2227
2228#endif // !defined(GOOGLE_CHROME_BUILD)
2229
2230#endif // !defined(OS_ANDROID)
2231
2232// Windows ---------------------------------------------------------------------
2233
2234#if defined(OS_WIN)
2235
2236const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2237const char kCloudPrintXpsDescription[] =
2238 "XPS enables advanced options for classic printers connected to the Cloud "
2239 "Print with Chrome. Printers must be re-connected after changing this "
2240 "flag.";
2241
Dave Tapuskadd43469d2017-08-22 22:15:532242const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2243const char kDirectManipulationStylusDescription[] =
2244 "If enabled, Chrome will scroll web pages on stylus drag.";
2245
Brett Wilson7b44537e2017-08-18 01:38:282246const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2247const char kDisablePostscriptPrintingDescription[] =
2248 "Disables PostScript generation when printing to PostScript capable "
2249 "printers, and uses EMF generation in its place.";
2250
2251const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2252const char kEnableAppcontainerDescription[] =
2253 "Enables the use of an AppContainer on sandboxed processes to improve "
2254 "security.";
2255
2256const char kEnableD3DVsync[] = "D3D v-sync";
2257const char kEnableD3DVsyncDescription[] =
2258 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2259 "to occur.";
2260
2261const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2262const char kEnableDesktopIosPromotionsDescription[] =
2263 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2264 "eligible.";
2265
2266const char kGdiTextPrinting[] = "GDI Text Printing";
2267const char kGdiTextPrintingDescription[] =
2268 "Use GDI to print text as simply text";
2269
2270const char kMergeKeyCharEventsName[] =
2271 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2272 "(WM_CHAR).";
2273const char kMergeKeyCharEventsDescription[] =
2274 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2275
2276const char kTraceExportEventsToEtwName[] =
2277 "Enable exporting of tracing events to ETW.";
2278const char kTraceExportEventsToEtwDesription[] =
2279 "If enabled, trace events will be exported to the Event Tracing for "
2280 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2281 "Xperf.";
2282
2283const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2284const char kUseWinrtMidiApiDescription[] =
2285 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2286 "later).";
2287
2288const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2289const char kWindows10CustomTitlebarDescription[] =
2290 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2291 "deferring to Windows.";
2292
Wez6656c572017-08-29 22:29:582293#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502294const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2295const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582296 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2297 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2298#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2299
Brett Wilson7b44537e2017-08-18 01:38:282300#endif // defined(OS_WIN)
2301
2302// Mac -------------------------------------------------------------------------
2303
2304#if defined(OS_MACOSX)
2305
2306const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2307const char kAppInfoDialogDescription[] =
2308 "Makes the Toolkit-Views based App Info dialog accessible from "
2309 "chrome://apps or chrome://extensions in place of the native extension "
2310 "permissions dialog, or the details link (which is a link to the Web "
2311 "Store).";
2312
2313const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2314const char kAppWindowCyclingDescription[] =
2315 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2316 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2317 "browser window, and browser windows will not be cycled when a Chrome App "
2318 "is active.";
2319
Lei Zhang2eca9082017-10-17 20:42:502320const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2321const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282322 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2323
2324const char kFullscreenToolbarRevealName[] =
2325 "Enables the toolbar in fullscreen to reveal itself.";
2326const char kFullscreenToolbarRevealDescription[] =
2327 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2328 "has changed.";
2329
2330const char kContentFullscreenName[] = "Improved Content Fullscreen";
2331const char kContentFullscreenDescription[] =
2332 "Fullscreen content window detaches from main browser window and goes to "
2333 "a new space without moving or changing the original browser window.";
2334
Lei Zhang2eca9082017-10-17 20:42:502335const char kDialogTouchBarName[] = "Dialog Touch Bar";
2336const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282337 "Shows Dialog buttons on the Touch Bar.";
2338
2339const char kHostedAppsInWindowsName[] =
2340 "Allow hosted apps to be opened in windows";
2341const char kHostedAppsInWindowsDescription[] =
2342 "Allows hosted apps to be opened in windows instead of being limited to "
2343 "tabs.";
2344
Lei Zhang2eca9082017-10-17 20:42:502345const char kMacRTLName[] = "Enable RTL";
2346const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282347
Lei Zhang2eca9082017-10-17 20:42:502348const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2349const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522350 "Enables sharing via macOS share extensions.";
2351
Lei Zhang2eca9082017-10-17 20:42:502352const char kMacTouchBarName[] = "Hardware Touch Bar";
2353const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282354
2355const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2356const char kMacV2SandboxDescription[] =
2357 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2358 "entire life cycle.";
2359
2360const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2361const char kMacViewsNativeAppWindowsDescription[] =
2362 "Controls whether to use Toolkit-Views based Chrome App windows.";
2363
Jérôme Lebelff683d42017-11-10 10:24:022364const char kMacViewsProfileChooserName[] =
2365 "Profile chooser menu with toolkit-views on Mac";
2366const char kMacViewsProfileChooserDescription[] =
2367 "Enables profile chooser menu based on toolkit-views, on Mac";
2368
Brett Wilson7b44537e2017-08-18 01:38:282369const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2370const char kMacViewsTaskManagerDescription[] =
2371 "Controls whether to use the Toolkit-Views based Task Manager.";
2372
2373const char kTabDetachingInFullscreenName[] =
2374 "Allow tab detaching in fullscreen";
2375const char kTabDetachingInFullscreenDescription[] =
2376 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2377
2378const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2379const char kTabStripKeyboardFocusDescription[] =
2380 "Enable keyboard focus for the tabs in the tab strip.";
2381
2382const char kTranslateNewUxName[] = "New Translate UX";
2383const char kTranslateNewUxDescription[] =
2384 "Enable the new Translate bubble UX is offered instead of the infobar.";
2385
Brett Wilson7b44537e2017-08-18 01:38:282386#endif
2387
2388// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342389
2390#if defined(OS_CHROMEOS)
2391
Brett Wilson7b44537e2017-08-18 01:38:282392const char kAcceleratedMjpegDecodeName[] =
2393 "Hardware-accelerated mjpeg decode for captured frame";
2394const char kAcceleratedMjpegDecodeDescription[] =
2395 "Enable hardware-accelerated mjpeg decode for captured frame where "
2396 "available.";
vabr0215a8e2017-03-28 12:47:342397
Brett Wilson7b44537e2017-08-18 01:38:282398const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2399const char kAllowTouchpadThreeFingerClickDescription[] =
2400 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342401
Brett Wilson7b44537e2017-08-18 01:38:282402const char kArcBootCompleted[] = "Load Android apps automatically";
2403const char kArcBootCompletedDescription[] =
2404 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342405
Lev Rumyantsev7a8544312017-08-18 19:26:512406const char kArcNativeBridgeExperimentName[] =
2407 "Enable native bridge experiment for ARC";
2408const char kArcNativeBridgeExperimentDescription[] =
2409 "Enables experimental native bridge feature.";
2410
Kevin Cernekeeb7f96a52017-10-25 17:40:182411const char kArcVpnName[] = "Enable ARC VPN integration";
2412const char kArcVpnDescription[] =
2413 "Allow Android VPN clients to tunnel Chrome traffic.";
2414
Brett Wilson7b44537e2017-08-18 01:38:282415const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2416const char kAshEnableUnifiedDesktopDescription[] =
2417 "Enable unified desktop mode which allows a window to span multiple "
2418 "displays.";
vabr0215a8e2017-03-28 12:47:342419
Brett Wilson7b44537e2017-08-18 01:38:282420const char kBootAnimationName[] = "Boot animation";
2421const char kBootAnimationDescription[] =
2422 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342423
Sean Kau5e956192017-10-06 22:25:172424const char kBulkPrintersName[] = "Bulk Printers Policy";
2425const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2426
Brett Wilson7b44537e2017-08-18 01:38:282427const char kCaptivePortalBypassProxyName[] =
2428 "Bypass proxy for Captive Portal Authorization";
2429const char kCaptivePortalBypassProxyDescription[] =
2430 "If proxy is configured, it usually prevents from authorization on "
2431 "different captive portals. This enables opening captive portal "
2432 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342433
Brett Wilson7b44537e2017-08-18 01:38:282434const char kCrOSComponentName[] = "Chrome OS Component";
2435const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082436 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342437
Xiaochu Liu51d03fd2017-09-08 23:51:022438const char kCrOSContainerName[] = "Chrome OS Container";
2439const char kCrOSContainerDescription[] =
2440 "Enable the use of Chrome OS Container utility.";
2441
Brett Wilson7b44537e2017-08-18 01:38:282442const char kCrosRegionsModeName[] = "Cros-regions load mode";
2443const char kCrosRegionsModeDescription[] =
2444 "This flag controls cros-regions load mode";
2445const char kCrosRegionsModeDefault[] = "Default";
2446const char kCrosRegionsModeOverride[] = "Override VPD values.";
2447const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342448
Jacob Dufault2becbc482017-08-25 00:36:352449const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2450const char kDisableLockScreenAppsDescription[] =
2451 "Disable new-note action handler apps on the lock screen. The user will "
2452 "not be able to launch the preferred note-taking action from the lock "
2453 "screen, provided that the app supports lock screen note taking.";
2454
Sammie Quonef6b4882017-09-14 16:50:052455const char kDisableTabletAutohideTitlebarsName[] =
2456 "Disable autohide titlebars in tablet mode";
2457const char kDisableTabletAutohideTitlebarsDescription[] =
2458 "Disable tablet mode autohide titlebars functionality. The user will be "
2459 "able to see the titlebar in tablet mode.";
2460
Brett Wilson7b44537e2017-08-18 01:38:282461const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2462const char kEnablePerUserTimezoneDescription[] =
2463 "Chrome OS system timezone preference is stored and handled for each user "
2464 "individually.";
vabr0215a8e2017-03-28 12:47:342465
Brett Wilson7b44537e2017-08-18 01:38:282466const char kDisableSystemTimezoneAutomaticDetectionName[] =
2467 "SystemTimezoneAutomaticDetection policy support";
2468const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2469 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342470
Lei Zhang2eca9082017-10-17 20:42:502471const char kEnableBackgroundBlurName[] = "Enable background blur.";
2472const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422473 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392474
Brett Wilson7b44537e2017-08-18 01:38:282475const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2476const char kEnableAndroidWallpapersAppDescription[] =
2477 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2478 "OS.";
vabr0215a8e2017-03-28 12:47:342479
Brett Wilson7b44537e2017-08-18 01:38:282480const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2481const char kEnableChromevoxArcSupportDescription[] =
2482 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342483
Brett Wilson7b44537e2017-08-18 01:38:282484const char kEnableEhvInputName[] =
2485 "Emoji, handwriting and voice input on opt-in IME menu";
2486const char kEnableEhvInputDescription[] =
2487 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342488
Brett Wilson7b44537e2017-08-18 01:38:282489const char kEnableEncryptionMigrationName[] =
2490 "Enable encryption migration of user data";
2491const char kEnableEncryptionMigrationDescription[] =
2492 "If enabled and the device supports ARC, the user will be asked to update "
2493 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342494
Blake O'Hare9e9317b22017-10-24 02:49:352495const char kEnableFloatingVirtualKeyboardName[] =
2496 "Enable floating virtual keyboard";
2497const char kEnableFloatingVirtualKeyboardDescription[] =
2498 "If enabled, the keyboard will use floating behavior by default.";
2499
Brett Wilson7b44537e2017-08-18 01:38:282500const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2501const char kEnableImeMenuDescription[] =
2502 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342503
xdai6459d0ca2017-10-11 19:23:102504const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2505const char kEnableTabletSplitViewDescription[] =
2506 "Enable split view for Chrome OS tablet mode.";
2507
Klemen Kozjek05fc4512017-10-18 12:51:102508const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2509const char kEnableZipArchiverPackerDescription[] =
2510 "Enable the ability to archive files on Drive in the Files app";
2511
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412512const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2513const char kZipArchiverUnpackerDescription[] =
2514 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282515
2516const char kEolNotificationName[] = "Disable Device End of Life notification.";
2517const char kEolNotificationDescription[] =
2518 "Disable Notifcation when Device is End of Life.";
2519
2520const char kExperimentalAccessibilityFeaturesName[] =
2521 "Experimental accessibility features";
2522const char kExperimentalAccessibilityFeaturesDescription[] =
2523 "Enable additional accessibility features in the Settings page.";
2524
2525const char kExperimentalInputViewFeaturesName[] =
2526 "Experimental input view features";
2527const char kExperimentalInputViewFeaturesDescription[] =
2528 "Enable experimental features for IME input views.";
2529
2530const char kFileManagerTouchModeName[] = "Files App. touch mode";
2531const char kFileManagerTouchModeDescription[] =
2532 "Touchscreen-specific interactions of the Files app.";
2533
2534const char kFirstRunUiTransitionsName[] =
2535 "Animated transitions in the first-run tutorial";
2536const char kFirstRunUiTransitionsDescription[] =
2537 "Transitions during first-run tutorial are animated.";
2538
Brett Wilson7b44537e2017-08-18 01:38:282539const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2540const char kForceEnableStylusToolsDescription[] =
2541 "Forces display of the stylus tools menu in the shelf and the stylus "
2542 "section in settings, even if there is no attached stylus device.";
2543
2544const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2545const char kGestureEditingDescription[] =
2546 "Enable/Disable gesture editing option in the settings page for the "
2547 "virtual keyboard.";
2548
2549const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2550const char kGestureTypingDescription[] =
2551 "Enable/Disable gesture typing option in the settings page for the virtual "
2552 "keyboard.";
2553
2554const char kInputViewName[] = "Input views";
2555const char kInputViewDescription[] =
2556 "Enable IME extensions to supply custom views for user input such as "
2557 "virtual keyboards.";
2558
2559const char kMemoryPressureThresholdName[] =
2560 "Memory discard strategy for advanced pressure handling";
2561const char kMemoryPressureThresholdDescription[] =
2562 "Memory discarding strategy to use";
2563const char kConservativeThresholds[] =
2564 "Conservative memory pressure release strategy";
2565const char kAggressiveCacheDiscardThresholds[] =
2566 "Aggressive cache release strategy";
2567const char kAggressiveTabDiscardThresholds[] =
2568 "Aggressive tab release strategy";
2569const char kAggressiveThresholds[] =
2570 "Aggressive tab and cache release strategy";
2571
2572const char kMtpWriteSupportName[] = "MTP write support";
2573const char kMtpWriteSupportDescription[] =
2574 "MTP write support in File System API (and file manager). In-place editing "
2575 "operations are not supported.";
2576
2577const char kMultideviceName[] = "Enable multidevice features";
2578const char kMultideviceDescription[] =
2579 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342580
Bailey Berrodca8eeca02017-11-18 00:49:122581const char kNativeSmbName[] = "Native Smb Client";
2582const char kNativeSmbDescription[] =
2583 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302584
vabr0215a8e2017-03-28 12:47:342585const char kNetworkPortalNotificationName[] =
2586 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342587const char kNetworkPortalNotificationDescription[] =
2588 "If enabled, notification is displayed when device is connected to a "
2589 "network behind captive portal.";
2590
Steven Bennetts77b67972017-12-14 19:38:322591const char kDisableNetworkSettingsConfigName[] =
2592 "Disable Settings based Network Configuration";
2593const char kDisableNetworkSettingsConfigDescription[] =
2594 "Disables the Settings based network configuration UI and restores the "
2595 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kNewKoreanImeName[] = "New Korean IME";
2598const char kNewKoreanImeDescription[] =
2599 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342600
Brett Wilson7b44537e2017-08-18 01:38:282601const char kNewZipUnpackerName[] = "New ZIP unpacker";
2602const char kNewZipUnpackerDescription[] =
2603 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2606const char kPhysicalKeyboardAutocorrectDescription[] =
2607 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2608 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342609
2610const char kPrinterProviderSearchAppName[] =
2611 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342612const char kPrinterProviderSearchAppDescription[] =
2613 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192614 "searches Chrome Web Store for extensions that support printing to a USB "
2615 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342616
Brett Wilson7b44537e2017-08-18 01:38:282617const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2618const char kQuickUnlockPinDescription[] =
2619 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2620 "device on the lock screen after you have signed into your device.";
2621const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2622const char kQuickUnlockPinSigninDescription[] =
2623 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2624 "device. After changing this flag PIN needs to be set up again.";
2625const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2626const char kQuickUnlockFingerprintDescription[] =
2627 "Enabling fingerprint quick unlock allows you to setup and use a "
2628 "fingerprint to unlock your Chromebook on the lock screen after you have "
2629 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342630
Brett Wilson7b44537e2017-08-18 01:38:282631const char kOfficeEditingComponentAppName[] =
2632 "Office Editing for Docs, Sheets & Slides";
2633const char kOfficeEditingComponentAppDescription[] =
2634 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072635
James Cook0ba192bf2017-12-01 20:53:112636const char kShowTapsName[] = "Show taps";
2637const char kShowTapsDescription[] =
2638 "Draws a circle at each touch point, which makes touch points more obvious "
2639 "when projecting or mirroring the display. Similar to the Android OS "
2640 "developer option.";
2641
2642const char kShowTouchHudName[] = "Show HUD for touch points";
2643const char kShowTouchHudDescription[] =
2644 "Shows a trail of colored dots for the last few touch points. Pressing "
2645 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2646 "debug hardware issues that generate spurious touch events.";
2647
Chung-Sheng Wu468b0b32017-09-01 14:41:572648const char kSysInternalsName[] = "Enable Sys-Internals";
2649const char kSysInternalsDescription[] =
2650 "If enabled, user can monitor system information at "
2651 "chrome://sys-internals.";
2652
Brett Wilson7b44537e2017-08-18 01:38:282653const char kTeamDrivesName[] = "Enable Team Drives Integration";
2654const char kTeamDrivesDescription[] =
2655 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342656
Brett Wilson7b44537e2017-08-18 01:38:282657const char kTetherName[] = "Instant Tethering";
2658const char kTetherDescription[] =
2659 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2660 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kTouchscreenCalibrationName[] =
2663 "Enable/disable touchscreen calibration option in material design settings";
2664const char kTouchscreenCalibrationDescription[] =
2665 "If enabled, the user can calibrate the touch screen displays in "
2666 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092667
Mitsuru Oshima63d3f2a2017-08-23 00:12:112668// Force UI Mode
2669const char kUiModeName[] = "Force Ui Mode";
2670const char kUiModeDescription[] =
2671 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2672 R"*(despite its current orientation. "Tablet" means that the )*"
2673 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2674 R"*(means that the chromebook will act as if it were in clamshell )*"
2675 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2676 R"*(the two, based on its orientation.)*";
2677const char kUiModeTablet[] = "TouchView";
2678const char kUiModeClamshell[] = "Clamshell";
2679const char kUiModeAuto[] = "Auto (default)";
2680
bruthigeafb0c02017-06-09 13:11:532681const char kUiDevToolsName[] = "Enable native UI inspection";
2682const char kUiDevToolsDescription[] =
2683 "Enables inspection of native UI elements. For local inspection use "
2684 "chrome://inspect#other";
2685
Brett Wilson7b44537e2017-08-18 01:38:282686const char kUseMusName[] = "Mus";
2687const char kUseMusDescription[] = "Enable the Mojo UI service.";
2688const char kEnableMashDescription[] =
2689 "Mash (UI, Chrome and ash in separate services)";
2690const char kEnableMusDescription[] =
2691 "Mus (UI in separate service, Chrome and ash in same service)";
2692
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342693// TODO(mcasas): remove after https://crbug.com/771345.
2694const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2695const char kUseMonitorColorSpaceDescription[] =
2696 "Enables Chrome to use the color space information provided by the monitor"
2697 " instead of the default sRGB color space.";
2698
Brett Wilson7b44537e2017-08-18 01:38:282699const char kVideoPlayerChromecastSupportName[] =
2700 "Experimental Chromecast support for Video Player";
2701const char kVideoPlayerChromecastSupportDescription[] =
2702 "This option enables experimental Chromecast support for Video Player app "
2703 "on ChromeOS.";
2704
2705const char kVirtualKeyboardName[] = "Virtual Keyboard";
2706const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2707
2708const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2709const char kVirtualKeyboardOverscrollDescription[] =
2710 "Enables virtual keyboard overscroll support.";
2711
2712const char kVoiceInputName[] = "Voice input on virtual keyboard";
2713const char kVoiceInputDescription[] =
2714 "Enables voice input on virtual keyboard.";
2715
2716const char kWakeOnPacketsName[] = "Wake On Packets";
2717const char kWakeOnPacketsDescription[] =
2718 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202719
yhanadac5bff5b2017-05-18 06:37:092720#endif // defined(OS_CHROMEOS)
2721
Brett Wilson7b44537e2017-08-18 01:38:282722// Random platform combinations -----------------------------------------------
2723
2724#if defined(OS_WIN) || defined(OS_LINUX)
2725
2726const char kEnableInputImeApiName[] = "Enable Input IME API";
2727const char kEnableInputImeApiDescription[] =
2728 "Enable the use of chrome.input.ime API.";
2729
2730#endif // defined(OS_WIN) || defined(OS_LINUX)
2731
2732#if defined(OS_WIN) || defined(OS_MACOSX)
2733
2734const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2735const char kAutomaticTabDiscardingDescription[] =
2736 "If enabled, tabs get automatically discarded from memory when the system "
2737 "memory is low. Discarded tabs are still visible on the tab strip and get "
2738 "reloaded when clicked on. Info about discarded tabs can be found at "
2739 "chrome://discards.";
2740
2741#endif // defined(OS_WIN) || defined(OS_MACOSX)
2742
2743// Feature flags --------------------------------------------------------------
2744
2745#if BUILDFLAG(ENABLE_VR)
2746
David Dorwin5a496c32017-11-17 01:45:052747const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2748const char kWebVrVsyncAlignDescription[] =
2749 "Align WebVR application rendering with VSync for smoother animations.";
2750
Brett Wilson7b44537e2017-08-18 01:38:282751#if defined(OS_ANDROID)
2752
David Dorwin5a496c32017-11-17 01:45:052753const char kVrBrowsingName[] = "VR browsing";
2754const char kVrBrowsingDescription[] =
2755 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282756
Yash Malik50bcfc12017-11-18 00:47:592757const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2758const char kVrBrowserKeyboardDescription[] =
2759 "Enable a virtual keyboard for Chrome VR.";
2760
David Dorwin5a496c32017-11-17 01:45:052761const char kVrBrowsingExperimentalFeaturesName[] =
2762 "VR browsing experimental features";
2763const char kVrBrowsingExperimentalFeaturesDescription[] =
2764 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282765
David Dorwin5a496c32017-11-17 01:45:052766const char kVrBrowsingExperimentalRenderingName[] =
2767 "VR browsing experimental rendering features";
2768const char kVrBrowsingExperimentalRenderingDescription[] =
2769 "Experimental rendering features for VR browsing (e.g. power-saving "
2770 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102771
David Dorwin5a496c32017-11-17 01:45:052772const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2773const char kVrBrowsingInCustomTabDescription[] =
2774 "Allow browsing within a VR headset while in a Custom Tab.";
2775
2776const char kVrLaunchIntentsName[] = "VR intents";
2777const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262778 "Allow intents to launch Chrome in VR mode.";
2779
David Dorwin5a496c32017-11-17 01:45:052780const char kWebVrAutopresentFromIntentName[] =
2781 "WebVR auto presentation from intents";
2782const char kWebVrAutopresentFromIntentDescription[] =
2783 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282784
2785#endif // OS_ANDROID
2786
Bill Orr49527562017-11-22 16:58:482787#if BUILDFLAG(ENABLE_OPENVR)
2788const char kOpenVRName[] = "OpenVR hardware support";
2789const char kOpenVRDescription[] =
2790 "If enabled, Chrome will use OpenVR devices for VR.";
2791#endif // ENABLE_OPENVR
2792
Brett Wilson7b44537e2017-08-18 01:38:282793#endif // ENABLE_VR
2794
Nico Weberaf3b00b2017-09-11 17:58:172795#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282796
2797const char kNaclDebugMaskName[] =
2798 "Restrict Native Client GDB-based debugging by pattern";
2799const char kNaclDebugMaskDescription[] =
2800 "Restricts Native Client application GDB-based debugging by URL of "
2801 "manifest file. Native Client GDB-based debugging must be enabled for this "
2802 "option to work.";
2803const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2804const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2805 "Debug everything except secure shell and the PNaCl translator.";
2806const char kNaclDebugMaskChoiceIncludeDebug[] =
2807 "Debug only if manifest URL ends with debug.nmf.";
2808
2809const char kNaclDebugName[] = "Native Client GDB-based debugging";
2810const char kNaclDebugDescription[] =
2811 "Enable GDB debug stub. This will stop a Native Client application on "
2812 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2813
2814const char kNaclName[] = "Native Client";
2815const char kNaclDescription[] =
2816 "Support Native Client for all web applications, even those that were not "
2817 "installed from the Chrome Web Store.";
2818
2819const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2820const char kPnaclSubzeroDescription[] =
2821 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2822
Nico Weberaf3b00b2017-09-11 17:58:172823#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282824
Brett Wilson7b44537e2017-08-18 01:38:282825#if BUILDFLAG(ENABLE_WEBRTC)
2826
2827const char kWebrtcH264WithOpenh264FfmpegName[] =
2828 "WebRTC H.264 software video encoder/decoder";
2829const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2830 "When enabled, an H.264 software video encoder/decoder pair is included. "
2831 "If a hardware encoder/decoder is also available it may be used instead of "
2832 "this encoder/decoder.";
2833
2834#endif // BUILDFLAG(ENABLE_WEBRTC)
2835
James Cookf9d34d22017-10-04 16:39:352836#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282837
Wenzhao Zang50fb0b22017-11-07 01:38:422838const char kAshDisableLoginDimAndBlurName[] =
2839 "Disable dimming and blur on login screen.";
2840const char kAshDisableLoginDimAndBlurDescription[] =
2841 "Disable dimming and blur on login screen.";
2842
Brett Wilson7b44537e2017-08-18 01:38:282843const char kAshDisableSmoothScreenRotationName[] =
2844 "Disable smooth rotation animations.";
2845const char kAshDisableSmoothScreenRotationDescription[] =
2846 "Disable smooth rotation animations.";
2847
Qiang Xub7e921072017-12-07 21:02:112848const char kAshEnableDisplayMoveWindowAccelsName[] =
2849 "Enable shortcuts for moving window between displays.";
2850const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2851 "Enable shortcuts for moving window between displays.";
2852
wutaoc70d7b92017-11-01 08:06:012853const char kAshEnableKeyboardShortcutViewerName[] =
2854 "Enable keyboard shortcut viewer.";
2855const char kAshEnableKeyboardShortcutViewerDescription[] =
2856 "Enable keyboard shortcut viewer.";
2857
Brett Wilson7b44537e2017-08-18 01:38:282858const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2859const char kAshEnableMirroredScreenDescription[] =
2860 "Enable the mirrored screen mode. This mode flips the screen image "
2861 "horizontally.";
2862
2863const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2864const char kAshShelfColorDescription[] =
2865 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2866 "--ash-shelf-color-scheme flag defines how that color is derived.";
2867
2868const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2869const char kAshShelfColorSchemeDescription[] =
2870 "Specify how the color is derived from the wallpaper. This flag is only "
2871 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2872const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2873const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2874const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2875const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2876const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2877const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2878
Mike Wassermana38a8a62017-10-02 03:04:272879const char kAshDisableShelfModelSynchronization[] =
2880 "Disable shelf model synchronization";
2881const char kAshDisableShelfModelSynchronizationDescription[] =
2882 "Use a single in-process shelf data model shared between Chrome and Ash. "
2883 "This only applies to the Classic Ash and Mus configs; synchronization "
2884 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372885
Brett Wilson7b44537e2017-08-18 01:38:282886const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372887 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282888const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2889 "Sets the speed of the experimental visual feedback animations for "
2890 "material design.";
2891const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2892const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2893
2894const char kUiShowCompositedLayerBordersName[] =
2895 "Show UI composited layer borders";
2896const char kUiShowCompositedLayerBordersDescription[] =
2897 "Show border around composited layers created by UI.";
2898const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2899const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2900const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2901const char kUiShowCompositedLayerBordersAll[] = "All";
2902
2903const char kUiSlowAnimationsName[] = "Slow UI animations";
2904const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2905
James Cookf9d34d22017-10-04 16:39:352906#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282907
Brett Wilson735e1452017-11-13 21:04:092908#if defined(TOOLKIT_VIEWS)
2909
2910const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2911const char kExperimentalTabControllerDescription[] =
2912 "Enable controller for highly experimental tab policies.";
2913
2914#endif // defined(TOOLKIT_VIEWS)
2915
Brett Wilson7b44537e2017-08-18 01:38:282916#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2917
2918const char kAutofillCreditCardUploadName[] =
2919 "Enable offering upload of Autofilled credit cards";
2920const char kAutofillCreditCardUploadDescription[] =
2921 "Enables a new option to upload credit cards to Google Payments for sync "
2922 "to all Chrome devices.";
2923
2924#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2925
2926// ============================================================================
2927// Don't just add flags to the end, put them in the right section in
2928// alphabetical order just like the header file.
2929// ============================================================================
2930
vabr0215a8e2017-03-28 12:47:342931} // namespace flag_descriptions