blob: 44dbac4f891a49ee5cf8ef89bb0090a3c98da9b8 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Khushalba202212017-07-12 19:53:4946const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
47const char kAsyncImageDecodingDescription[] =
48 "Enables asynchronous decoding of images from raster for web content";
49
Brett Wilsonf27ff602017-07-07 22:28:4750const char kAutoplayPolicyName[] = "Autoplay policy";
51const char kAutoplayPolicyDescription[] =
52 "Policy used when deciding if audio or video is allowed to autoplay.";
53
54const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
55 "User gesture is required for cross-origin iframes.";
56const char kAutoplayPolicyNoUserGestureRequired[] =
57 "No user gesture is required.";
58const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
59const char kAutoplayPolicyDocumentUserActivation[] =
60 "Document user activation is required.";
61
Johanne0cc6902017-11-16 00:23:5062extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
63extern const char kAv1DecoderDescription[] =
64 "Allow decoding of files with the AV1 video codec.";
65
Brett Wilsonf27ff602017-07-07 22:28:4766const char kBackgroundVideoTrackOptimizationName[] =
67 "Optimize background video playback.";
68const char kBackgroundVideoTrackOptimizationDescription[] =
69 "Disable video tracks when the video is played in the background to "
70 "optimize performance.";
71
72const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
73const char kBleAdvertisingInExtensionsDescription[] =
74 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
75 "with regular use of Bluetooth Low Energy features.";
76
Charles Harrisond629cc62017-10-05 01:39:5477const char kBlockTabUndersName[] = "Block tab-unders";
78const char kBlockTabUndersDescription[] =
79 "Blocks tab-unders in Chrome with some native UI to allow the user to "
80 "proceed.";
81
arthursonzognif2bc2d202017-11-08 11:01:0282const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
83const char kNavigationMojoResponseDescription[] =
84 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
85 "the body of the main resource to the renderer process. This flag replaces "
86 "this mechanism by using a Mojo DataPipe.";
87
Brett Wilsonf27ff602017-07-07 22:28:4788const char kBrowserTaskSchedulerName[] = "Task Scheduler";
89const char kBrowserTaskSchedulerDescription[] =
90 "Enables redirection of some task posting APIs to the task scheduler.";
91
92const char kBypassAppBannerEngagementChecksName[] =
93 "Bypass user engagement checks";
94const char kBypassAppBannerEngagementChecksDescription[] =
95 "Bypasses user engagement checks for displaying app banners, such as "
96 "requiring that users have visited the site before and that the banner "
97 "hasn't been shown recently. This allows developers to test that other "
98 "eligibility requirements for showing app banners, such as having a "
99 "manifest, are met.";
100
Lucas Garronb9539b732017-10-31 00:22:09101const char kCommittedInterstitialsName[] = "Committed Interstitials";
102const char kCommittedInterstitialsDescription[] =
103 "Use committed error pages instead of transient navigation entries "
104 "for interstitial error pages (e.g. certificate errors).";
105
Marc Treib026acc532017-10-17 18:39:59106const char kCaptureThumbnailOnNavigatingAwayName[] =
107 "Capture page thumbnail on navigating away";
108const char kCaptureThumbnailOnNavigatingAwayDescription[] =
109 "Capture a page thumbnail (for use on the New Tab page) when navigating "
110 "away from the current page, in addition to other times a thumbnail may be "
111 "captured.";
112
Brett Wilsonf27ff602017-07-07 22:28:47113const char kCastStreamingHwEncodingName[] =
114 "Cast Streaming hardware video encoding";
115const char kCastStreamingHwEncodingDescription[] =
116 "This option enables support in Cast Streaming for encoding video streams "
117 "using platform hardware.";
118
Amber Won478561d2017-08-19 01:02:59119const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
120const char kClickToOpenPDFDescription[] =
121 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
122 "embedded PDFs.";
123
Gary Kacmarcikfb69b212017-11-14 03:41:08124const char kClipboardContentSettingName[] = "Clipboard content setting";
125const char kClipboardContentSettingDescription[] =
126 "Enables a site-wide permission in the UI which controls access to the "
127 "asynchronous clipboard web API";
128
Brett Wilsonf27ff602017-07-07 22:28:47129const char kCloudImportName[] = "Cloud Import";
130const char kCloudImportDescription[] = "Allows the cloud-import feature.";
131
Christopher Cameronceb8727d2017-09-07 23:53:16132const char kForceColorProfileSRGB[] = "sRGB";
133const char kForceColorProfileP3[] = "Display P3 D65";
134const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
135const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
136
137const char kForceColorProfileName[] = "Force color profile";
138const char kForceColorProfileDescription[] =
139 "Forces Chrome to use a specific color profile instead of the color "
140 "of the window's current monitor, as specified by the operating system.";
141
Brett Wilsonf27ff602017-07-07 22:28:47142const char kCompositedLayerBordersName[] = "Composited render layer borders";
143const char kCompositedLayerBordersDescription[] =
144 "Renders a border around composited Render Layers to help debug and study "
145 "layer compositing.";
146
147const char kContextualSuggestionsCarouselName[] =
148 "Enable Contextual Suggestions";
149const char kContextualSuggestionsCarouselDescription[] =
150 "If enabled, shows contextual suggestions in a horizontal carousel in "
151 "bottom sheet content.";
152
153const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
154const char kCreditCardAssistDescription[] =
155 "Enable assisted credit card filling on certain sites.";
156
157const char kCrossProcessGuestViewIsolationName[] =
158 "Cross process frames for guests";
159const char kCrossProcessGuestViewIsolationDescription[] =
160 "Highly experimental where guests such as <webview> are implemented on "
161 "the out-of-process iframe infrastructure.";
162
Thanh Le659cb102017-12-20 22:00:19163const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
164const char kDataSaverServerPreviewsDescription[] =
165 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47166
167const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
168const char kDatasaverPromptDescription[] =
169 "Enables a prompt, which appears when a cellular network connection is "
170 "detected, to take the user to the Data Saver extension page on Chrome Web "
171 "Store.";
172const char kDatasaverPromptDemoMode[] = "Demo mode";
173
174const char kDebugPackedAppName[] = "Debugging for packed apps";
175const char kDebugPackedAppDescription[] =
176 "Enables debugging context menu options such as Inspect Element for packed "
177 "applications.";
178
179const char kDefaultTileHeightName[] = "Default tile height";
180const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
181const char kDefaultTileHeightShort[] = "128";
182const char kDefaultTileHeightTall[] = "256";
183const char kDefaultTileHeightGrande[] = "512";
184const char kDefaultTileHeightVenti[] = "1024";
185
186const char kDefaultTileWidthName[] = "Default tile width";
187const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
188const char kDefaultTileWidthShort[] = "128";
189const char kDefaultTileWidthTall[] = "256";
190const char kDefaultTileWidthGrande[] = "512";
191const char kDefaultTileWidthVenti[] = "1024";
192
193const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
194const char kDebugShortcutsDescription[] =
195 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
196
197const char kDeviceDiscoveryNotificationsName[] =
198 "Device Discovery Notifications";
199const char kDeviceDiscoveryNotificationsDescription[] =
200 "Device discovery notifications on local network.";
201
202const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
203const char kDevtoolsExperimentsDescription[] =
204 "Enables Developer Tools experiments. Use Settings panel in Developer "
205 "Tools to toggle individual experiments.";
206
207const char kDisableAudioForDesktopShareName[] =
208 "Disable Audio For Desktop Share";
209const char kDisableAudioForDesktopShareDescription[] =
210 "With this flag on, desktop share picker window will not let the user "
211 "choose whether to share audio.";
212
Brett Wilsonf27ff602017-07-07 22:28:47213const char kDisableTabForDesktopShareName[] =
214 "Disable Desktop Share with tab source";
215const char kDisableTabForDesktopShareDescription[] =
216 "This flag controls whether users can choose a tab for desktop share.";
217
218const char kDisallowDocWrittenScriptsUiName[] =
219 "Block scripts loaded via document.write";
220const char kDisallowDocWrittenScriptsUiDescription[] =
221 "Disallows fetches for third-party parser-blocking scripts inserted into "
222 "the main frame via document.write.";
223
Brett Wilsonf27ff602017-07-07 22:28:47224const char kDistanceFieldTextName[] = "Distance field text";
225const char kDistanceFieldTextDescription[] =
226 "Text is rendered with signed distance fields rather than bitmap alpha "
227 "masks.";
228
229const char kDriveSearchInChromeLauncherName[] =
230 "Drive Search in Chrome App Launcher";
231const char kDriveSearchInChromeLauncherDescription[] =
232 "Files from Drive will show up when searching the Chrome App Launcher.";
233
Brett Wilsonf27ff602017-07-07 22:28:47234const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
235 "Smart Lock Bluetooth Low Energy Discovery";
236const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07237 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47238 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
239 "phone is in its proximity.";
240
Gustavo Sacomotofb11164f2017-07-21 12:56:18241const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
242const char kEasyUnlockPromotionsDescription[] =
243 "Enables Smart Lock promotions. Promotions will be periodically display "
244 "if the user is eligible.";
245
Brett Wilsonf27ff602017-07-07 22:28:47246const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
247const char kEmbeddedExtensionOptionsDescription[] =
248 "Display extension options as an embedded element in chrome://extensions "
249 "rather than opening a new tab.";
250
251const char kEnableAsmWasmName[] =
252 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
253const char kEnableAsmWasmDescription[] =
254 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
255 R"*(WebAssembly.)*";
256
Shanfeng Zhang19c16562017-10-17 02:30:40257const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
258 "Credit card autofill ablation experiment.";
259const char kEnableAutofillCreditCardAblationExperimentDescription[] =
260 "If enabled, credit card autofill suggestions will not display.";
261
Brett Wilsonf27ff602017-07-07 22:28:47262const char kEnableAutofillCreditCardBankNameDisplayName[] =
263 "Display the issuer bank name of a credit card in autofill.";
264const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
265 "If enabled, displays the issuer bank name of a credit card in autofill.";
266
Shanfeng Zhang18f58352018-01-05 19:22:49267const char kEnableAutofillCreditCardDropdownGooglePayBrandingName[] =
268 "Show the Google Pay logo in the Autofill credit card dropdown";
269const char kEnableAutofillCreditCardDropdownGooglePayBrandingDescription[] =
270 "If enabled, shows the Google Pay logo in the Autofill credit card "
271 "dropdown.";
272
Brett Wilsonf27ff602017-07-07 22:28:47273const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
274 "Display the last used date of a credit card in autofill.";
275const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
276 "If enabled, display the last used date of a credit card in autofill.";
277
278const char kEnableAutofillCreditCardUploadCvcPromptName[] =
279 "Enable requesting missing CVC during Autofill credit card upload";
280const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
281 "If enabled, requests missing CVC when offering to upload credit cards to "
282 "Google Payments.";
283
Jared Saul1e4786a2017-12-14 01:43:09284const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
285 "Always send metadata on detected form values for Autofill credit card "
286 "upload";
287const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
288 "If enabled, always checks with Google Payments when deciding whether to "
289 "offer credit card upload, even if some data is missing.";
290
Jared Saul5c2a1482017-12-09 00:24:31291const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
292 "Send first six digits of PAN when deciding whether to offer Autofill "
293 "credit card upload";
294const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
295 "If enabled, when deciding whether to offer credit card upload to Google "
296 "Payments, sends the first six digits of the card number to avoid cases "
297 "where card upload is likely to fail.";
298
Jason Guo71f621e2017-10-13 04:18:53299const char kEnableAutofillSendBillingCustomerNumberName[] =
300 "Enable autofill sending billing customer number when calling Google "
301 "Payments";
302const char kEnableAutofillSendBillingCustomerNumberDescription[] =
303 "If enabled, autofill sends billing customer number when calling Google "
304 "Payments.";
305
Mathieu Perreault069024e12017-10-24 01:14:08306const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
307 "Enable toolkit-views credit card dialogs on Mac";
308const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
309 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
310
Shanfeng Zhang18f58352018-01-05 19:22:49311const char kEnableAutofillUseNewSettingsNameInDropdownName[] =
312 "Show a new Autofill settings string in the Autofill dropdown";
313const char kEnableAutofillUseNewSettingsNameInDropdownDescription[] =
314 "If enabled, shows a new Autofill settings string in the Autofill "
315 "dropdown.";
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
Qiang Xu0f602fe62017-12-22 01:31:20326const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
327const char kEnableCaptivePortalRandomUrlDescription[] =
328 "Enable Captive Portal URL randomization.";
329
sclittle50e4bb92017-07-08 02:23:03330const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
331
332const char kEnableClientLoFiDescription[] =
333 "Enable showing low fidelity images on some pages on slow networks.";
334
Doug Arnett08b4067b2017-10-12 20:14:44335const char kEnableNoScriptPreviewsName[] = "NoScript previews";
336
337const char kEnableNoScriptPreviewsDescription[] =
338 "Enable disabling JavaScript on some pages on slow networks.";
339
Thanh Le2c279fbc2017-11-21 01:25:40340const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
341const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
342const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
343const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
344const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
345const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
346const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
347const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
348const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
349const char kDataReductionProxyServerAlternative10[] =
350 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47351const char kEnableDataReductionProxyServerExperimentName[] =
352 "Use an alternative Data Saver back end configuration.";
353const char kEnableDataReductionProxyServerExperimentDescription[] =
354 "Enable a different approach to saving data by configuring the back end "
355 "server";
356
357const char kEnableDataReductionProxySavingsPromoName[] =
358 "Data Saver 1 MB Savings Promo";
359const char kEnableDataReductionProxySavingsPromoDescription[] =
360 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
361 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
362 "enabled for the promo to be shown.";
363
Matt Giucad4870432017-11-24 01:04:38364const char kEnableDesktopPWAsName[] = "Desktop PWAs";
365const char kEnableDesktopPWAsDescription[] =
366 "Experimental windowing and install banner treatment for Progressive Web "
367 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17368
Brett Wilsonf27ff602017-07-07 22:28:47369const char kEnableEnumeratingAudioDevicesName[] =
370 "Experimentally enable enumerating audio devices.";
371const char kEnableEnumeratingAudioDevicesDescription[] =
372 "Experimentally enable the use of enumerating audio devices.";
373
374const char kEnableGenericSensorName[] = "Generic Sensor";
375const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25376 "Enables motion sensor classes based on Generic Sensor API, i.e. "
377 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
378 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
379
380const char kEnableGenericSensorExtraClassesName[] =
381 "Generic Sensor Extra Classes";
382const char kEnableGenericSensorExtraClassesDescription[] =
383 "Enables an extra set of sensor classes based on Generic Sensor API, which "
384 "expose previously unavailable platform features, i.e. AmbientLightSensor "
385 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47386
Brett Wilsonf27ff602017-07-07 22:28:47387const char kEnableHDRName[] = "HDR mode";
388const char kEnableHDRDescription[] =
389 "Enables HDR support on compatible displays.";
390
391const char kEnableHeapProfilingName[] = "Heap profiling";
392const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
393const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
394const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
395const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
396
397const char kEnableHttpFormWarningName[] =
398 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15399 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47400const char kEnableHttpFormWarningDescription[] =
401 "Attaches a warning UI to any password or credit card fields detected when "
402 "the top-level page is not HTTPS";
403
Sidney San Martín9375b892017-09-09 00:29:54404const char kEnableMacMaterialDesignDownloadShelfName[] =
405 "Enable Material Design download shelf";
406
407const char kEnableMacMaterialDesignDownloadShelfDescription[] =
408 "If enabled, the download shelf uses Material Design.";
409
Tatiana Gornakafb40452017-07-31 13:50:04410const char kEnableManualFallbacksFillingName[] =
411 "Manual fallbacks for password manager forms filling";
412const char kEnableManualFallbacksFillingDescription[] =
413 "If enabled, then if user clicks on the password field on a form, popup "
414 "might contain generation fallbacks or 'Show all saved passwords' "
415 "fallback.";
416
vabr0215a8e2017-03-28 12:47:34417const char kEnableMaterialDesignBookmarksName[] =
418 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34419const char kEnableMaterialDesignBookmarksDescription[] =
420 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
421 "bookmarks page.";
422
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignExtensionsName[] =
424 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34425const char kEnableMaterialDesignExtensionsDescription[] =
426 "If enabled, the chrome://extensions/ URL loads the Material Design "
427 "extensions page.";
428
Anton Urusov47cd4932017-09-19 14:41:41429const char kEnablePolicyToolName[] = "Enable policy management page";
430const char kEnablePolicyToolDescription[] =
431 "If enabled, the chrome://policy-tool URL loads a page for managing "
432 "policies.";
433
Tsuyoshi Horoea7edb72017-11-12 04:14:00434const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
435const char kEnablePWAFullCodeCacheDescription[] =
436 "Generate V8 code cache in Cache Storage while installing Service Worker "
437 "for PWAs.";
438
Weidong Guof1e5a892018-01-06 02:26:39439const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28440 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39441const char kDisableMultiMirroringDescription[] =
442 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28443
Brett Wilsonf27ff602017-07-07 22:28:47444const char kEnableNavigationTracingName[] = "Enable navigation tracing";
445const char kEnableNavigationTracingDescription[] =
446 "This is to be used in conjunction with the trace-upload-url flag. "
447 "WARNING: When enabled, Chrome will record performance data for every "
448 "navigation and upload it to the URL specified by the trace-upload-url "
449 "flag. The trace may include personally identifiable information (PII) "
450 "such as the titles and URLs of websites you visit.";
451
Bernhard Bauer5533f9912017-11-06 17:56:02452const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
453const char kEnableNetworkLoggingToFileDescription[] =
454 "Enables network logging to a file named netlog.json in the user data "
455 "directory. The file can be imported into chrome://net-internals.";
456
Brett Wilsonf27ff602017-07-07 22:28:47457const char kEnableNetworkServiceName[] = "Enable network service";
458const char kEnableNetworkServiceDescription[] =
459 "Enables the network service, which makes network requests through a "
460 "separate service. Note: most features don't work with this yet.";
461
John Abd-El-Malek8067cc02017-12-04 23:23:20462const char kEnableNetworkServiceInProcessName[] =
463 "Runs network service in-process";
464const char kEnableNetworkServiceInProcessDescription[] =
465 "Runs the network service in the browser process.";
466
dpapaded8349472017-10-25 03:21:27467const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
468const char kEnableNewPrintPreviewDescription[] =
469 "If enabled, Print Preview will display a newer UI";
470
Ahmed Fakhry2fd8fc82017-07-28 16:31:12471const char kEnableNightLightName[] = "Enable Night Light";
472const char kEnableNightLightDescription[] =
473 "Enable the Night Light feature which controls the color temperature of "
474 "the screen.";
475
Sophie Chang117a3b22017-10-24 22:25:36476const char kEnableOptimizationHintsName[] = "Optimization Hints";
477const char kEnableOptimizationHintsDescription[] =
478 "Enable the Optimization Hints feature which incorporates server hints"
479 "into decisions for what optimizations to perform on some pages on slow "
480 "networks.";
481
Yutaka Hirano98be3272017-08-07 17:55:39482const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
483const char kEnableOutOfBlinkCORSDescription[] =
484 "CORS handling logic is moved out of blink.";
485
Erik Chen49bbfa22017-08-18 08:49:56486const char kEnableOutOfProcessHeapProfilingName[] =
487 "Out of process heap profiling.";
488const char kEnableOutOfProcessHeapProfilingDescription[] =
489 "Creates a profiling service that records stacktraces for all live, "
490 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36491const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
492 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56493const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
erikchen0a5dd692017-12-12 00:53:10494const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] =
495 "Profiles all renderers.";
Albert J. Wongbd5bd902017-11-09 19:56:15496const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
497 "Profile only the browser processes.";
498const char kEnableOutOfProcessHeapProfilingModeGpu[] =
499 "Profile only the GPU processes.";
erikchen0a5dd692017-12-12 00:53:10500const char kEnableOutOfProcessHeapProfilingModeManual[] =
501 "By default, no processes are profiled. User may choose to start-profiling "
502 "processes via chrome://memory-internals.";
Albert J. Wongbd5bd902017-11-09 19:56:15503const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
504 "Profile a random sampling of renderer processes, ensuring only one is "
505 "ever profiled at a time.";
Erik Chen8bb76b52017-12-06 19:06:25506const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
507 "Keep track of even the small allocations in memlog heap dumps.";
508const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
509 "By default, small allocations are pruned from the heap dump. This reduces "
510 "the size of the compressed trace by 100x. If pruning is disabled, the "
511 "chrome://tracing UI may be unable to take or load the trace. Save the "
512 "trace directly using chrome://memory-internals, and use other mechanisms "
513 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
514 "automatically uploaded traces will always be pruned. This only affects "
515 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56516
Brett Wilsonf27ff602017-07-07 22:28:47517const char kEnablePictureInPictureName[] = "Enable picture in picture.";
518const char kEnablePictureInPictureDescription[] =
519 "Enable the picture in picture feature for videos.";
520
F#m59d036e2017-09-13 07:22:17521const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
522const char kEnablePixelCanvasRecordingDescription[] =
523 "Pixel canvas recording allows the compositor to raster contents aligned "
524 "with the pixel and improves text rendering. This should be enabled when a "
525 "device is using fractional scale factor.";
526
Brett Wilsonf27ff602017-07-07 22:28:47527const char kEnableTokenBindingName[] = "Token Binding.";
528const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
529
Sahel Sharifyd732ab12017-11-29 23:03:16530extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
531 "Wheel Scroll Latching.";
532extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
533 "Wheel scroll latching enforces latching to a single element for the "
534 "duration of a scroll sequence.";
535
Brett Wilsonf27ff602017-07-07 22:28:47536const char kEnableUseZoomForDsfName[] =
537 "Use Blink's zoom for device scale factor.";
538const char kEnableUseZoomForDsfDescription[] =
539 "If enabled, Blink uses its zooming mechanism to scale content for device "
540 "scale factor.";
541const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
542const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
543const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
544
545const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
546const char kEnableScrollAnchoringDescription[] =
547 "Adjusts scroll position to prevent visible jumps when offscreen content "
548 "changes.";
549
Brad Nelson5cd500e2018-01-04 00:50:19550const char kEnableSharedArrayBufferName[] =
551 "Experimental enabled SharedArrayBuffer support in JavaScript.";
552const char kEnableSharedArrayBufferDescription[] =
553 "Enable SharedArrayBuffer support in JavaScript.";
554
Brett Wilsonf27ff602017-07-07 22:28:47555const char kEnableWasmName[] = "WebAssembly structured cloning support.";
556const char kEnableWasmDescription[] =
557 "Enable web pages to use WebAssembly structured cloning.";
558
Brett Wilsonf27ff602017-07-07 22:28:47559const char kEnableImageCaptureAPIName[] = "Image Capture API";
560const char kEnableImageCaptureAPIDescription[] =
561 "Enables the Web Platform Image Capture API: takePhoto(), "
562 "getPhotoCapabilities(), etc.";
563
564const char kEnableZeroSuggestRedirectToChromeName[] =
565 "Experimental contextual omnibox suggestion";
566const char kEnableZeroSuggestRedirectToChromeDescription[] =
567 "Change omnibox contextual suggestions to an experimental source. Note "
568 "that this is not an on/off switch for contextual omnibox and it only "
569 "applies to suggestions provided before the user starts typing a URL or a "
570 "search query (i.e. zero suggest).";
571
572const char kEnableWasmStreamingName[] =
573 "WebAssembly streaming compile/instantiate support.";
574const char kEnableWasmStreamingDescription[] =
575 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
576
Brett Wilsonf27ff602017-07-07 22:28:47577const char kExpensiveBackgroundTimerThrottlingName[] =
578 "Throttle expensive background timers";
579const char kExpensiveBackgroundTimerThrottlingDescription[] =
580 "Enables intervention to limit CPU usage of background timers to 1%.";
581
582const char kExperimentalAppBannersName[] = "Experimental app banners";
583const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38584 "Enables a new experimental app banner flow and UI. Implies "
585 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47586
587const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
588const char kExperimentalCanvasFeaturesDescription[] =
589 "Enables the use of experimental canvas features which are still in "
590 "development.";
591
592const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
593const char kExperimentalExtensionApisDescription[] =
594 "Enables experimental extension APIs. Note that the extension gallery "
595 "doesn't allow you to upload extensions that use experimental APIs.";
596
597const char kExperimentalFullscreenExitUIName[] =
598 "Experimental fullscreen exit UI";
599const char kExperimentalFullscreenExitUIDescription[] =
600 "Displays experimental UI to allow mouse and touch input methods to exit "
601 "fullscreen mode.";
602
Brett Wilsonf27ff602017-07-07 22:28:47603const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
604const char kExperimentalKeyboardLockUiDescription[] =
605 "An experimental full screen with keyboard lock mode requiring users to "
606 "hold Esc to exit.";
607
608const char kExperimentalSecurityFeaturesName[] =
609 "Potentially annoying security features";
610const char kExperimentalSecurityFeaturesDescription[] =
611 "Enables several security features that will likely break one or more "
612 "pages that you visit on a daily basis. Strict mixed content checking, for "
613 "example. And locking powerful features to secure contexts. This flag will "
614 "probably annoy you.";
615
616const char kExperimentalWebPlatformFeaturesName[] =
617 "Experimental Web Platform features";
618const char kExperimentalWebPlatformFeaturesDescription[] =
619 "Enables experimental Web Platform features that are in development.";
620
621const char kExtensionContentVerificationName[] =
622 "Extension Content Verification";
623const char kExtensionContentVerificationDescription[] =
624 "This flag can be used to turn on verification that the contents of the "
625 "files on disk for extensions from the webstore match what they're "
626 "expected to be. This can be used to turn on this feature if it would not "
627 "otherwise have been turned on, but cannot be used to turn it off (because "
628 "this setting can be tampered with by malware).";
629const char kExtensionContentVerificationBootstrap[] =
630 "Bootstrap (get expected hashes, but do not enforce them)";
631const char kExtensionContentVerificationEnforce[] =
632 "Enforce (try to get hashes, and enforce them if successful)";
633const char kExtensionContentVerificationEnforceStrict[] =
634 "Enforce strict (hard fail if we can't get hashes)";
635
636const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
637const char kExtensionsOnChromeUrlsDescription[] =
638 "Enables running extensions on chrome:// URLs, where extensions explicitly "
639 "request this permission.";
galinapae72e152017-05-12 13:12:28640
Brett Wilsonecb80982017-07-12 20:34:51641const char kFastUnloadName[] = "Fast tab/window close";
642const char kFastUnloadDescription[] =
643 "Enables fast tab/window closing - runs a tab's onunload js handler "
644 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34645
Brett Wilsonecb80982017-07-12 20:34:51646const char kFeaturePolicyName[] = "Feature Policy";
647const char kFeaturePolicyDescription[] =
648 "Enables granting and removing access to features through the "
649 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34650
Brett Wilsonecb80982017-07-12 20:34:51651const char kFontCacheScalingName[] = "FontCache scaling";
652const char kFontCacheScalingDescription[] =
653 "Reuse a cached font in the renderer to serve different sizes of font for "
654 "faster layout.";
655
656const char kForceEffectiveConnectionTypeName[] =
657 "Override effective connection type";
658const char kForceEffectiveConnectionTypeDescription[] =
659 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30660 "returned by the network quality estimator. Slow 2G on Cellular returns "
661 "Slow 2G when connected to a cellular network, and the actual estimate "
662 "effective connection type when not on a cellular network. Previews are "
663 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51664const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
665const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
666const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30667const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
668 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51669const char kEffectiveConnectionType2GDescription[] = "2G";
670const char kEffectiveConnectionType3GDescription[] = "3G";
671const char kEffectiveConnectionType4GDescription[] = "4G";
672
673const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
674const char kFillOnAccountSelectDescription[] =
675 "Filling of passwords when an account is explicitly selected by the user "
676 "rather than autofilling credentials on page load.";
677
Brett Wilsonecb80982017-07-12 20:34:51678const char kForceTextDirectionName[] = "Force text direction";
679const char kForceTextDirectionDescription[] =
680 "Explicitly force the per-character directionality of UI text to "
681 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
682 "direction of the character language.";
683const char kForceDirectionLtr[] = "Left-to-right";
684const char kForceDirectionRtl[] = "Right-to-left";
685
686const char kForceUiDirectionName[] = "Force UI direction";
687const char kForceUiDirectionDescription[] =
688 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
689 "mode, overriding the default direction of the UI language.";
690
691const char kFramebustingName[] =
692 "Framebusting requires same-origin or a user gesture";
693const char kFramebustingDescription[] =
694 "Don't permit an iframe to navigate the top level browsing context unless "
695 "they are same-origin or the iframe is processing a user gesture.";
696
697const char kGamepadExtensionsName[] = "Gamepad Extensions";
698const char kGamepadExtensionsDescription[] =
699 "Enabling this option allows web applications to access experimental "
700 "extensions to the Gamepad APIs.";
701
Brett Wilsonecb80982017-07-12 20:34:51702const char kGpuRasterizationMsaaSampleCountName[] =
703 "GPU rasterization MSAA sample count.";
704const char kGpuRasterizationMsaaSampleCountDescription[] =
705 "Specify the number of MSAA samples for GPU rasterization.";
706const char kGpuRasterizationMsaaSampleCountZero[] = "0";
707const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
708const char kGpuRasterizationMsaaSampleCountFour[] = "4";
709const char kGpuRasterizationMsaaSampleCountEight[] = "8";
710const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
711
712const char kGpuRasterizationName[] = "GPU rasterization";
713const char kGpuRasterizationDescription[] =
714 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28715const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51716
717const char kGoogleProfileInfoName[] = "Google profile name and icon";
718const char kGoogleProfileInfoDescription[] =
719 "Enables using Google information to populate the profile name and icon in "
720 "the avatar menu.";
721
722const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
723const char kHarfbuzzRendertextDescription[] =
724 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
725 "web content.";
726
727const char kHistoryRequiresUserGestureName[] =
728 "New history entries require a user gesture.";
729const char kHistoryRequiresUserGestureDescription[] =
730 "Require a user gesture to add a history entry.";
731const char kHyperlinkAuditingName[] = "Hyperlink auditing";
732const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
733
734const char kHostedAppQuitNotificationName[] =
735 "Quit notification for hosted apps";
736const char kHostedAppQuitNotificationDescription[] =
737 "Display a notification when quitting Chrome if hosted apps are currently "
738 "running.";
739
740const char kHostedAppShimCreationName[] =
741 "Creation of app shims for hosted apps on Mac";
742const char kHostedAppShimCreationDescription[] =
743 "Create app shims on Mac when creating a hosted app.";
744
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48745const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
746const char kHtmlBasedUsernameDetectorDescription[] =
747 "Use HTML-based username detector for the password manager.";
748
Brett Wilsonecb80982017-07-12 20:34:51749const char kIconNtpName[] = "Large icons on the New Tab page";
750const char kIconNtpDescription[] =
751 "Enable the experimental New Tab page using large icons.";
752
753const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
754const char kIgnoreGpuBlacklistDescription[] =
755 "Overrides the built-in software rendering list and enables "
756 "GPU-acceleration on unsupported system configurations.";
757
Thanh Le5f090efa52017-12-27 22:39:44758const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
759const char kIgnorePreviewsBlacklistDescription[] =
760 "Ignore decisions made by the PreviewsBlackList";
761
Brett Wilsonecb80982017-07-12 20:34:51762const char kImportantSitesInCbdName[] =
763 "Important sites options in clear browsing data dialog";
764const char kImportantSitesInCbdDescription[] =
765 "Include the option to whitelist important sites in the clear browsing "
766 "data dialog.";
767
Claudio Magni61c210922017-12-28 00:29:51768const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
769const char kImprovedLanguageSettingsDescription[] =
770 "Set of changes for Language Settings. These changes are intended to fix "
771 "the major bugs related to Language Settings.";
772
Brett Wilsonecb80982017-07-12 20:34:51773const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
774const char kInProductHelpDemoModeChoiceDescription[] =
775 "Selects the In-Product Help demo mode.";
776
777const char kJavascriptHarmonyName[] = "Experimental JavaScript";
778const char kJavascriptHarmonyDescription[] =
779 "Enable web pages to use experimental JavaScript features.";
780
781const char kJavascriptHarmonyShippingName[] =
782 "Latest stable JavaScript features";
783const char kJavascriptHarmonyShippingDescription[] =
784 "Some web pages use legacy or non-standard JavaScript extensions that may "
785 "conflict with the latest JavaScript features. This flag allows disabling "
786 "support of those features for compatibility with such pages.";
787
Yutaka Hiranof7f2f632017-09-06 10:40:08788const char kKeepAliveRendererForKeepaliveRequestsName[] =
789 "Keep a renderer alive for keepalive fetch requests";
790const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
791 "Keep a render process alive when the process has a pending fetch request "
792 "with `keepalive' specified.";
793
Brett Wilsonecb80982017-07-12 20:34:51794const char kLcdTextName[] = "LCD text antialiasing";
795const char kLcdTextDescription[] =
796 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
797 "(subpixel) when doing accelerated compositing.";
798
Matt Giucac399982f2017-10-06 07:51:29799const char kLeftToRightUrlsName[] =
800 "Render bidirectional URLs from left to right";
801const char kLeftToRightUrlsDescription[] =
802 "An experimental Bidi URL rendering algorithm where the URL components are "
803 "always shown in order from left to right, regardless of any RTL "
804 "characters. (The contents of each component are still rendered with the "
805 "normal Bidi algorithm.)";
806
Brett Wilsonecb80982017-07-12 20:34:51807const char kLoadMediaRouterComponentExtensionName[] =
808 "Load Media Router Component Extension";
809const char kLoadMediaRouterComponentExtensionDescription[] =
810 "Loads the Media Router component extension at startup.";
811
812const char kManualPasswordGenerationName[] = "Manual password generation.";
813const char kManualPasswordGenerationDescription[] =
814 "Show a 'Generate Password' option on the context menu for all password "
815 "fields.";
816
Dominic Battref27e8762017-08-23 11:16:25817const char kManualPasswordSavingName[] = "Manual password saving.";
818const char kManualPasswordSavingDescription[] =
819 "Show the password manager icon when typing into a password filed. "
820 "Clicking it allows to save the password without submitting the form.";
821
Brett Wilsonecb80982017-07-12 20:34:51822const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
823const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51824
Lei Zhang2eca9082017-10-17 20:42:50825const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
826const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51827 "If enabled, the Incognito New Tab page uses the new material design with "
828 "a better readable text.";
829
830const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
831const char kMediaRemotingDescription[] =
832 "When Casting a tab to a remote device, enabling this turns on an "
833 "optimization that forwards the content bitstream directly to the remote "
834 "device when a video is fullscreened.";
835
836const char kMemoryAblationName[] = "Memory ablation experiment";
837const char kMemoryAblationDescription[] =
838 "Allocates extra memory in the browser process.";
839
840const char kMemoryCoordinatorName[] = "Memory coordinator";
841const char kMemoryCoordinatorDescription[] =
842 "Enable memory coordinator instead of memory pressure listeners.";
843
844const char kMessageCenterNewStyleNotificationName[] = "New style notification";
845const char kMessageCenterNewStyleNotificationDescription[] =
846 "Enables the experiment style of material-design notification";
847
Brett Wilsonecb80982017-07-12 20:34:51848const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
849const char kMhtmlGeneratorOptionDescription[] =
850 "Provides experimental options for MHTML file generator.";
851const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
852const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
853
Kouhei Ueno08445c22017-09-05 03:58:30854const char kModuleScriptsDynamicImportName[] =
855 "Enable ECMAScript 6 modules dynamic import";
856const char kModuleScriptsDynamicImportDescription[] =
857 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
858 "Blink.";
859
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05860const char kModuleScriptsImportMetaUrlName[] =
861 "Enable ECMAScript 6 modules import.meta.url";
862const char kModuleScriptsImportMetaUrlDescription[] =
863 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
864 "Blink.";
865
Brett Wilsonecb80982017-07-12 20:34:51866const char kNewAudioRenderingMixingStrategyName[] =
867 "New audio rendering mixing strategy";
868const char kNewAudioRenderingMixingStrategyDescription[] =
869 "Use the new audio rendering mixing strategy.";
870
871const char kNewBookmarkAppsName[] = "The new bookmark app system";
872const char kNewBookmarkAppsDescription[] =
873 "Enables the new system for creating bookmark apps.";
874
Brett Wilsonecb80982017-07-12 20:34:51875const char kNewRemotePlaybackPipelineName[] =
876 "Enable the new remote playback pipeline.";
877const char kNewRemotePlaybackPipelineDescription[] =
878 "Enable the new pipeline for playing media element remotely via "
879 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50880const char kUseSurfaceLayerForVideoName[] =
881 "Enable the use of SurfaceLayer objects for videos.";
882const char kUseSurfaceLayerForVideoDescription[] =
883 "Enable compositing onto a Surface instead of a VideoLayer "
884 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51885
886const char kNewUsbBackendName[] = "Enable new USB backend";
887const char kNewUsbBackendDescription[] =
888 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34889
brettw5f9c1642017-05-14 17:12:48890const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34891const char kNostatePrefetchDescription[] =
892 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
893 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
894 R"*(improve load times even more. "Simple Load" does nothing and is )*"
895 R"*(similar to disabling the feature, but collects more metrics for )*"
896 R"*(comparison purposes.)*";
897
Brett Wilsonecb80982017-07-12 20:34:51898const char kNotificationsNativeFlagName[] = "Enable native notifications.";
899const char kNotificationsNativeFlagDescription[] =
900 "Enable support for using the native notification toasts and notification "
901 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34902
Zentaro Kavanaghbad511c2017-10-18 22:29:00903#if defined(OS_POSIX)
904const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
905const char kNtlmV2EnabledDescription[] =
906 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
907#endif
908
Brett Wilsonecb80982017-07-12 20:34:51909const char kNumRasterThreadsName[] = "Number of raster threads";
910const char kNumRasterThreadsDescription[] =
911 "Specify the number of raster threads.";
912const char kNumRasterThreadsOne[] = "1";
913const char kNumRasterThreadsTwo[] = "2";
914const char kNumRasterThreadsThree[] = "3";
915const char kNumRasterThreadsFour[] = "4";
916
917const char kOfferStoreUnmaskedWalletCardsName[] =
918 "Google Payments card saving checkbox";
919const char kOfferStoreUnmaskedWalletCardsDescription[] =
920 "Show the checkbox to offer local saving of a credit card downloaded from "
921 "the server.";
922
923const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
924const char kOfflineAutoReloadDescription[] =
925 "Pages that fail to load while the browser is offline will be "
926 "auto-reloaded when the browser is online again.";
927
928const char kOfflineAutoReloadVisibleOnlyName[] =
929 "Only Auto-Reload Visible Tabs";
930const char kOfflineAutoReloadVisibleOnlyDescription[] =
931 "Pages that fail to load while the browser is offline will only be "
932 "auto-reloaded if their tab is visible.";
933
Brett Wilsonecb80982017-07-12 20:34:51934const char kOmniboxDisplayTitleForCurrentUrlName[] =
935 "Include title for the current URL in the omnibox";
936const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
937 "In the event that the omnibox provides suggestions on-focus, the URL of "
938 "the current page is provided as the first suggestion without a title. "
939 "Enabling this flag causes the title to be displayed.";
940
Benoit Lizeab08362c2017-07-19 14:50:54941const char kOmniboxSpareRendererName[] =
942 "Start spare renderer on omnibox focus";
943const char kOmniboxSpareRendererDescription[] =
944 "When the omnibox is focused, start an empty spare renderer. This can "
945 "speed up the load of the navigation from the omnibox.";
946
Tommy C. Li8875a442017-08-23 00:10:59947const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
948 "Omnibox UI Elide Suggestion URL After Host";
949const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
950 "Elides the path, query, and ref of suggested URLs in the Omnibox "
951 "dropdown.";
952
Tommy C. Lid79d4402017-12-22 22:49:12953const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
954 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
955const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
956 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
957 "displayed URLs. Hidden portions are restored during editing.";
958
Brett Wilsonecb80982017-07-12 20:34:51959const char kOmniboxUIHideSuggestionUrlSchemeName[] =
960 "Omnibox UI Hide Suggestion URL Scheme";
961const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
962 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
963
964const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
965 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
966const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
967 "Elides trivially informative subdomains from suggested URLs in the "
968 "Omnibox dropdown (e.g. www. and m.).";
969
970const char kOmniboxUIMaxAutocompleteMatchesName[] =
971 "Omnibox UI Max Autocomplete Matches";
972
973const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
974 "Changes the maximum number of autocomplete matches displayed in the "
975 "Omnibox UI.";
976
977const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
978const char kOmniboxUINarrowDropdownDescription[] =
979 "Makes the suggestions dropdown width match the omnibox width.";
980
Justin Donnelly65c9e8b2017-10-01 05:15:01981const char kOmniboxUIShowSuggestionFaviconsName[] =
982 "Omnibox UI Show Suggestion Favicons";
983const char kOmniboxUIShowSuggestionFaviconsDescription[] =
984 "Shows favicons instead of generic vector icons for URL suggestions in the "
985 "Omnibox dropdown.";
986
987const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
988const char kOmniboxUISwapTitleAndUrlDescription[] =
989 "In the omnibox dropdown, shows titles before URLs when both are "
990 "available.";
991
Brett Wilsonecb80982017-07-12 20:34:51992const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
993const char kOmniboxUIVerticalLayoutDescription[] =
994 "Displays Omnibox sugestions in 2 lines - title over origin.";
995
996const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
997const char kOmniboxUIVerticalMarginDescription[] =
998 "Changes the vertical margin in the Omnibox UI.";
999
1000const char kOriginTrialsName[] = "Origin Trials";
1001const char kOriginTrialsDescription[] =
1002 "Enables origin trials for controlling access to feature/API experiments.";
1003
Becca Hughes930d8cd2017-10-02 11:09:121004const char kOverflowIconsForMediaControlsName[] =
1005 "Icons on Media Controls Overflow Menu";
1006const char kOverflowIconsForMediaControlsDescription[] =
1007 "Displays icons on the overflow menu of the native media controls";
1008
Brett Wilsonecb80982017-07-12 20:34:511009const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1010const char kOverlayScrollbarsDescription[] =
1011 "Enable the experimental overlay scrollbars implementation. You must also "
1012 "enable threaded compositing to have the scrollbars animate.";
1013
chaopenge8aa016b2017-08-24 15:20:191014const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1015 "Flash Overlay Scrollbars After Any Scroll Update";
1016const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1017 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1018 " must also enable Overlay Scrollbars.";
1019
chaopeng343678022017-08-24 18:45:001020const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1021 "Flash Overlay Scrollbars When Mouse Enter";
1022const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1023 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1024 " enable Overlay Scrollbars.";
1025
Claudio Magni81326f92017-09-01 05:21:181026const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1027const char kUseNewAcceptLanguageHeaderDescription[] =
1028 "Adds the base language code after other corresponding language+region "
1029 "codes. This ensures that users receive content in their preferred "
1030 "language.";
1031
Brett Wilsonecb80982017-07-12 20:34:511032const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1033const char kOverscrollHistoryNavigationDescription[] =
1034 "Experimental history navigation in response to horizontal overscroll.";
1035const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1036
1037const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1038const char kOverscrollStartThresholdDescription[] =
1039 "Changes overscroll start threshold relative to the default value.";
1040const char kOverscrollStartThreshold133Percent[] = "133%";
1041const char kOverscrollStartThreshold166Percent[] = "166%";
1042const char kOverscrollStartThreshold200Percent[] = "200%";
1043
Xing Liu5400a002017-09-15 21:48:291044const char kParallelDownloadingName[] = "Parallel downloading";
1045const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061046 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291047
Brett Wilsonecb80982017-07-12 20:34:511048const char kPassiveEventListenerDefaultName[] =
1049 "Passive Event Listener Override";
1050const char kPassiveEventListenerDefaultDescription[] =
1051 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1052 "haven't requested otherwise) to be treated as passive. This will break "
1053 "touch/wheel behavior on some websites but is useful for demonstrating the "
1054 "potential performance benefits of adopting passive event listeners.";
1055const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1056const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1057
1058const char kPassiveEventListenersDueToFlingName[] =
1059 "Touch Event Listeners Passive Default During Fling";
1060const char kPassiveEventListenersDueToFlingDescription[] =
1061 "Forces touchstart, and first touchmove per scroll event listeners during "
1062 "fling to be treated as passive.";
1063
1064const char kPassiveDocumentEventListenersName[] =
1065 "Document Level Event Listeners Passive Default";
1066const char kPassiveDocumentEventListenersDescription[] =
1067 "Forces touchstart, and touchmove event listeners on document level "
1068 "targets (which haven't requested otherwise) to be treated as passive.";
1069
1070const char kPasswordForceSavingName[] = "Force-saving of passwords";
1071const char kPasswordForceSavingDescription[] =
1072 "Allow the user to manually enforce password saving instead of relying on "
1073 "password manager's heuristics.";
1074
1075const char kPasswordGenerationName[] = "Password generation";
1076const char kPasswordGenerationDescription[] =
1077 "Allow the user to have Chrome generate passwords when it detects account "
1078 "creation pages.";
1079
Vaclav Brozekd8a3f542017-11-16 14:21:131080const char kPasswordExportName[] = "Password export";
1081const char kPasswordExportDescription[] =
1082 "Export functionality in password settings.";
1083
1084const char kPasswordImportName[] = "Password import";
1085const char kPasswordImportDescription[] =
1086 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511087
1088const char kPermissionActionReportingName[] = "Permission Action Reporting";
1089const char kPermissionActionReportingDescription[] =
1090 "Enables permission action reporting to Safe Browsing servers for opted in "
1091 "users.";
1092
1093const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1094const char kPermissionsBlacklistDescription[] =
1095 "Enables the Permissions Blacklist, which blocks permissions for "
1096 "blacklisted sites for Safe Browsing users.";
1097
1098const char kPinchScaleName[] = "Pinch scale";
1099const char kPinchScaleDescription[] =
1100 "Enables experimental support for scale using pinch.";
1101
Brett Wilsonecb80982017-07-12 20:34:511102const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1103const char kPrintPdfAsImageDescription[] =
1104 "If enabled, an option to print PDF files as images will be available in "
1105 "print preview.";
1106
1107const char kPrintPreviewRegisterPromosName[] =
1108 "Print Preview Registration Promos";
1109const char kPrintPreviewRegisterPromosDescription[] =
1110 "Enable registering unregistered cloud printers from print preview.";
1111
1112const char kProtectSyncCredentialName[] = "Autofill sync credential";
1113const char kProtectSyncCredentialDescription[] =
1114 "How the password manager handles autofill for the sync credential.";
1115
1116const char kProtectSyncCredentialOnReauthName[] =
1117 "Autofill sync credential only for transactional reauth pages";
1118const char kProtectSyncCredentialOnReauthDescription[] =
1119 "How the password manager handles autofill for the sync credential only "
1120 "for transactional reauth pages.";
1121
Mohsen Izadi93faac12017-07-29 04:45:151122const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1123const char kPullToRefreshDescription[] =
1124 "Pull-to-refresh gesture in response to vertical overscroll.";
1125
Brett Wilsonecb80982017-07-12 20:34:511126const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1127const char kPushApiBackgroundModeDescription[] =
1128 "Enable background mode for the Push API. This allows Chrome to continue "
1129 "running after the last window is closed, and to launch at OS startup, if "
1130 "the Push API needs it.";
1131
1132const char kQuicName[] = "Experimental QUIC protocol";
1133const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1134
1135const char kReducedReferrerGranularityName[] =
1136 "Reduce default 'referer' header granularity.";
1137const char kReducedReferrerGranularityDescription[] =
1138 "If a page hasn't set an explicit referrer policy, setting this flag will "
1139 "reduce the amount of information in the 'referer' header for cross-origin "
1140 "requests.";
1141
Mihai Sardarescu6d0f5b72017-10-30 11:24:381142const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1143 "Remove usage of the deprecated GAIA sign-in endpoint";
1144const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1145 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1146 "This flags controls wheter it should no longer be used during a sign-in "
1147 " flow.";
1148
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351149const char kRendererSideResourceSchedulerName[] =
1150 "Renderer side ResourceScheduler";
1151const char kRendererSideResourceSchedulerDescription[] =
1152 "Migrate some ResourceScheduler functionalities to renderer";
1153
Brett Wilsonecb80982017-07-12 20:34:511154const char kRequestTabletSiteName[] =
1155 "Request tablet site option in the settings menu";
1156const char kRequestTabletSiteDescription[] =
1157 "Allows the user to request tablet site. Web content is often optimized "
1158 "for tablet devices. When this option is selected the user agent string is "
1159 "changed to indicate a tablet device. Web content optimized for tablets is "
1160 "received there after for the current tab.";
1161
1162const char kResetAppListInstallStateName[] =
1163 "Reset the App Launcher install state on every restart.";
1164const char kResetAppListInstallStateDescription[] =
1165 "Reset the App Launcher install state on every restart. While this flag is "
1166 "set, Chrome will forget the launcher has been installed each time it "
1167 "starts. This is used for testing the App Launcher install flow.";
1168
1169const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1170const char kResourceLoadSchedulerDescription[] =
1171 "Uses the resource load scheduler in blink to schedule and throttle "
1172 "resource load requests.";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1175const char kSafeSearchUrlReportingDescription[] =
1176 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1177
1178const char kSaveasMenuLabelExperimentName[] =
1179 "Switch 'Save as' menu labels to 'Download'";
1180const char kSaveasMenuLabelExperimentDescription[] =
1181 "Enables an experiment to switch menu labels that use 'Save as...' to "
1182 "'Download'.";
1183
1184const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1185const char kSavePageAsMhtmlDescription[] =
1186 "Enables saving pages as MHTML: a single text file containing HTML and all "
1187 "sub-resources.";
1188
Nate Chapin9638e7102017-09-20 22:11:011189const char kSavePreviousDocumentResourcesName[] =
1190 "Save Previous Document Resources";
1191const char kSavePreviousDocumentResourcesDescription[] =
1192 "Saves an old document's cached resources until the specified point in the "
1193 "next document's lifecycle.";
1194const char kSavePreviousDocumentResourcesNever[] =
1195 "Don't explicitly save resources";
1196const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1197 "Save resources until onDOMContentLoaded completes";
1198const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1199 "Save resources until onload completes";
1200
Brett Wilsonecb80982017-07-12 20:34:511201const char kScrollPredictionName[] = "Scroll prediction";
1202const char kScrollPredictionDescription[] =
1203 "Predicts the finger's future position during scrolls allowing time to "
1204 "render the frame before the finger is there.";
1205
1206const char kSecondaryUiMd[] =
1207 "Material Design in the rest of the browser's native UI";
1208const char kSecondaryUiMdDescription[] =
1209 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1210 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1211 "browser dialogs.";
1212
1213const char kServiceWorkerNavigationPreloadName[] =
1214 "Service worker navigation preload.";
1215const char kServiceWorkerNavigationPreloadDescription[] =
1216 "Enable web pages to use the experimental service worker navigation "
1217 "preload API.";
1218
gogeraldd5061b592017-09-06 23:39:551219const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1220const char kServiceWorkerPaymentAppsDescription[] =
1221 "Enable Service Worker applications to integrate as payment apps";
1222
Makoto Shimazud9f333c2017-08-08 07:23:171223const char kServiceWorkerScriptStreamingName[] =
1224 "Service worker script streaming.";
1225const char kServiceWorkerScriptStreamingDescription[] =
1226 "Installed scripts for a service worker are sent over a dedicated "
1227 "message pipe and data pipes, and that is never be blocked on the main "
1228 "thread.";
1229
Tsuyoshi Horobcb1c642017-11-24 16:32:141230const char kServiceWorkerScriptFullCodeCacheName[] =
1231 "Service worker script full code cache.";
1232const char kServiceWorkerScriptFullCodeCacheDescription[] =
1233 "Generate V8 full code cache of Service Worker scripts while installing.";
1234
Brett Wilsonecb80982017-07-12 20:34:511235const char kSettingsWindowName[] = "Show settings in a window";
1236const char kSettingsWindowDescription[] =
1237 "Settings will be shown in a dedicated window instead of as a browser tab.";
1238
Trent Apted750ba7022017-10-23 13:36:251239const char kShowAllDialogsWithViewsToolkitName[] =
1240 "Show all dialogs with Views toolkit";
1241const char kShowAllDialogsWithViewsToolkitDescription[] =
1242 "All browser dialogs will be shown using the Views toolkit rather than "
1243 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1244
Brett Wilsonecb80982017-07-12 20:34:511245const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1246const char kShowAutofillSignaturesDescription[] =
1247 "Annotates web forms with Autofill signatures as HTML attributes.";
1248
1249const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1250const char kShowAutofillTypePredictionsDescription[] =
1251 "Annotates web forms with Autofill field type predictions as placeholder "
1252 "text.";
1253
1254const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1255const char kShowOverdrawFeedbackDescription[] =
1256 "Visualize overdraw by color-coding elements based on if they have other "
1257 "elements drawn underneath.";
1258
yiyixbdfa9a0b2017-10-23 22:21:471259const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1260const char kEnableDrawOcclusionDescription[] =
1261 "Enable the system to use draw occlusion to skip draw quads when they are "
1262 "not shown on the screen.";
1263
Brett Wilsonecb80982017-07-12 20:34:511264const char kShowSavedCopyName[] = "Show Saved Copy Button";
1265const char kShowSavedCopyDescription[] =
1266 "When a page fails to load, if a stale copy of the page exists in the "
1267 "browser cache, a button will be presented to allow the user to load that "
1268 "stale copy. The primary enabling choice puts the button in the most "
1269 "salient position on the error page; the secondary enabling choice puts it "
1270 "secondary to the reload button.";
1271const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1272const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1273const char kDisableShowSavedCopy[] = "Disable";
1274
Brett Wilsonecb80982017-07-12 20:34:511275const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1276const char kSilentDebuggerExtensionApiDescription[] =
1277 "Do not show the infobar when an extension attaches to a page via "
1278 "chrome.debugger API. This is required to debug extension background "
1279 "pages.";
1280
1281const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1282const char kSimpleCacheBackendDescription[] =
1283 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1284 "disk space allocation.";
1285
1286const char kSimplifiedFullscreenUiName[] =
1287 "Simplified full screen / mouse lock UI.";
1288const char kSimplifiedFullscreenUiDescription[] =
1289 "A simplified new user experience when entering page-triggered full screen "
1290 "or mouse pointer lock states.";
1291
1292const char kSingleClickAutofillName[] = "Single-click autofill";
1293const char kSingleClickAutofillDescription[] =
1294 "Make autofill suggestions on initial mouse click on a form element.";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kSitePerProcessName[] = "Strict site isolation";
1297const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171298 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511299 "contains pages from at most one site. In this mode, out-of-process "
1300 "iframes will be used whenever an iframe is cross-site.";
1301
1302const char kSiteSettings[] = "Site settings with All sites and Site details";
1303const char kSiteSettingsDescription[] =
1304 "Adds new ways of viewing Site settings.";
1305
1306const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1307const char kSlimmingPaintInvalidationDescription[] =
1308 "Whether to enable a new paint invalidation system.";
1309
1310const char kSmoothScrollingName[] = "Smooth Scrolling";
1311const char kSmoothScrollingDescription[] =
1312 "Animate smoothly when scrolling page content.";
1313
1314const char kSoftwareRasterizerName[] = "3D software rasterizer";
1315const char kSoftwareRasterizerDescription[] =
1316 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1317
Tommy Steimel77704be2017-08-28 22:14:401318const char kSoundContentSettingName[] = "Sound content setting";
1319const char kSoundContentSettingDescription[] =
1320 "Enable site-wide muting in content settings and tab strip context menu.";
1321
Alexandr Ilinf0500ed32017-09-27 21:12:361322const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1323const char kSpeculativePreconnectDescription[] =
1324 "Enable the new implementation of preconnect and DNS preresolve. "
1325 "\"Learning\" means that only database construction is enabled, "
1326 "\"Preconnect\" enables both learning and preconnect and disables the "
1327 "existing implementation. \"No preconnect\" disables both implementations.";
1328
Brett Wilsonecb80982017-07-12 20:34:511329const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341330const char kSpeculativePrefetchDescription[] =
1331 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1332 R"*(load times, based on a local database (see chrome://predictors). )*"
1333 R"*("Learning" means that only the database construction is enabled, )*"
1334 R"*("Prefetching" that learning and prefetching are enabled.)*";
1335
Justin Donnelly4e448cb2017-07-07 21:32:131336const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1337 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131338const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1339 "If enabled, when the user enters text in the omnibox that looks like a "
1340 "a query, any service worker associated with the search engine the query "
1341 "will be sent to is started early.";
1342
Brett Wilsonecb80982017-07-12 20:34:511343const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1344const char kSpellingFeedbackFieldTrialDescription[] =
1345 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401346
Shubhie Panickerfaf082ed2018-01-03 04:49:151347const char kStopInBackgroundName[] = "Stop in background";
1348const char kStopInBackgroundDescription[] =
1349 "Stop scheduler task queues, in the background, "
1350 " after certain grace time.";
1351
1352const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1353const char kStopLoadingInBackgroundDescription[] =
1354 "Stop loading tasks and loading "
1355 "resources, in the background, after certain grace time.";
1356
Brett Wilsonecb80982017-07-12 20:34:511357const char kSuggestionsWithSubStringMatchName[] =
1358 "Substring matching for Autofill suggestions";
1359const char kSuggestionsWithSubStringMatchDescription[] =
1360 "Match Autofill suggestions based on substrings (token prefixes) rather "
1361 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341362
Brett Wilsonecb80982017-07-12 20:34:511363const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1364const char kSyncSandboxDescription[] =
1365 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341366
Brett Wilsonecb80982017-07-12 20:34:511367const char kTabAudioMutingName[] = "Tab audio muting UI control";
1368const char kTabAudioMutingDescription[] =
1369 "When enabled, the audio indicators in the tab strip double as tab audio "
1370 "mute controls. This also adds commands in the tab context menu for "
1371 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341372
Christian Dullweberd0d96f02017-09-13 09:22:511373const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1374const char kTabsInCbdDescription[] =
1375 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1376
Becky Zhou99c22802017-10-19 05:09:271377const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1378const char kTabModalJsDialogDescription[] =
1379 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1380 " tab.";
1381
Brett Wilsonecb80982017-07-12 20:34:511382const char kTcpFastOpenName[] = "TCP Fast Open";
1383const char kTcpFastOpenDescription[] =
1384 "Enable the option to send extra authentication information in the initial "
1385 "SYN packet for a previously connected client, allowing faster data send "
1386 "start.";
vabr0215a8e2017-03-28 12:47:341387
Daniele Castagna0fead93e2018-01-10 20:40:291388const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1389const char kTintGlCompositedContentDescription[] =
1390 "Tint contents composited using GL with a shade of red to help debug and "
1391 "study overlay support.";
1392
Brett Wilsonecb80982017-07-12 20:34:511393const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1394const char kTopChromeMdDescription[] =
1395 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1396const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531397const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511398const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341399
Brett Wilsonecb80982017-07-12 20:34:511400const char kThreadedScrollingName[] = "Threaded scrolling";
1401const char kThreadedScrollingDescription[] =
1402 "Threaded handling of scroll-related input events. Disabling this will "
1403 "force all such scroll events to be handled on the main thread. Note that "
1404 "this can dramatically hurt scrolling performance of most websites and is "
1405 "intended for testing purposes only.";
1406
Steven Valdez4584b2482017-07-14 01:11:571407const char kTLS13VariantName[] = "TLS 1.3";
1408const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1409const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111410const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez49408842017-12-13 18:34:481411const char kTLS13VariantDraft22[] = "Enabled (Draft 22)";
Steven Valdez781157b2018-01-11 13:32:041412const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
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 "
Ella Gea6a203c92017-10-26 19:09:291440 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511441
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
Ian Vollickaff0a442017-12-22 18:43:441482const char kEnablePreventLayerSquashingName[] = "Prevent layer squashing";
1483const char kEnablePreventLayerSquashingDescription[] =
1484 "When enabled, the compositor will avoid combining composited layers in "
1485 "more situations.";
1486
Chris Pickel3a227ae62017-08-24 10:47:261487const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1488const char kUseDdljsonApiDescription[] =
1489 "Enables the new ddljson API to fetch Doodles for the NTP.";
1490
Becca Hughes59c05b42017-11-03 13:11:581491const char kUseModernMediaControlsName[] = "New Media Controls";
1492const char kUseModernMediaControlsDescription[] =
1493 "Enables the new style native media controls.";
1494
Mustaq Ahmedc646c0a2017-10-20 20:08:301495const char kUserActivationV2Name[] = "User Activation v2";
1496const char kUserActivationV2Description[] =
1497 "Enable simple user activation for APIs that are otherwise controlled by "
1498 "user gesture tokens.";
1499
Brett Wilsonecb80982017-07-12 20:34:511500const char kUserConsentForExtensionScriptsName[] =
1501 "User consent for extension scripts";
1502const char kUserConsentForExtensionScriptsDescription[] =
1503 "Require user consent for an extension running a script on the page, if "
1504 "the extension requested permission to run on all urls.";
1505
1506const char kUseSuggestionsEvenIfFewFeatureName[] =
1507 "Disable minimum for server-side tile suggestions on NTP.";
1508const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1509 "Request server-side suggestions even if there are only very few of them "
1510 "and use them for tiles on the New Tab Page.";
1511
1512const char kV8CacheOptionsName[] = "V8 caching mode.";
1513const char kV8CacheOptionsDescription[] =
1514 "Caching mode for the V8 JavaScript engine.";
1515const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1516const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1517
Hitoshi Yoshida3e5db562017-09-11 02:31:081518const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1519const char kV8ContextSnapshotDescription[] =
1520 "Sets to use a snapshot to create V8 contexts in frame creation.";
1521
Michael Hablich896d52662017-10-23 15:59:571522const char kV8VmFutureName[] = "Future V8 VM features";
1523const char kV8VmFutureDescription[] =
1524 "This enables upcoming and experimental V8 VM features. "
1525 "This flag does not enable experimental JavaScript features.";
1526
Brett Wilsonecb80982017-07-12 20:34:511527const char kVibrateRequiresUserGestureName[] =
1528 "Requiring user gesture for the Vibration API";
1529const char kVibrateRequiresUserGestureDescription[] =
1530 "Block the Vibration API if no user gesture has been received on the frame "
1531 "or any embedded frame.";
1532
1533const char kVideoFullscreenOrientationLockName[] =
1534 "Lock screen orientation when playing a video fullscreen.";
1535const char kVideoFullscreenOrientationLockDescription[] =
1536 "Lock the screen orientation of the device to match video orientation when "
1537 "a video goes fullscreen. Only on phones.";
1538
1539const char kVideoRotateToFullscreenName[] =
1540 "Rotate-to-fullscreen gesture for videos.";
1541const char kVideoRotateToFullscreenDescription[] =
1542 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1543 "the video. Only on phones.";
1544
1545const char kWalletServiceUseSandboxName[] =
1546 "Use Google Payments sandbox servers";
1547const char kWalletServiceUseSandboxDescription[] =
1548 "For developers: use the sandbox service for Google Payments API calls.";
1549
Brett Wilsonecb80982017-07-12 20:34:511550const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1551const char kWebglDraftExtensionsDescription[] =
1552 "Enabling this option allows web applications to access the WebGL "
1553 "Extensions that are still in draft status.";
1554
1555const char kWebMidiName[] = "Web MIDI API";
1556const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1557
1558const char kWebPaymentsName[] = "Web Payments";
1559const char kWebPaymentsDescription[] =
1560 "Enable Web Payments API integration, a JavaScript API for merchants.";
1561
Mathieu Perreault51339b82017-07-20 17:06:051562const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1563const char kWebPaymentsModifiersDescription[] =
1564 "If the website provides modifiers in the payment request, show the custom "
1565 "total for each payment instrument, update the shopping cart when "
1566 "instruments are switched, and send modified payment method specific data "
1567 "to the payment app.";
1568
Brett Wilsonecb80982017-07-12 20:34:511569const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1570const char kWebrtcEchoCanceller3Description[] =
1571 "Experimental WebRTC echo canceller (AEC3).";
1572
1573const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1574const char kWebrtcHwDecodingDescription[] =
1575 "Support in WebRTC for decoding video streams using platform hardware.";
1576
1577const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1578const char kWebrtcHwEncodingDescription[] =
1579 "Support in WebRTC for encoding video streams using platform hardware.";
1580
1581const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1582const char kWebrtcHwH264EncodingDescription[] =
1583 "Support in WebRTC for encoding h264 video streams using platform "
1584 "hardware.";
1585
1586const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1587const char kWebrtcHwVP8EncodingDescription[] =
1588 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1589
1590const char kWebrtcSrtpAesGcmName[] =
1591 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1592const char kWebrtcSrtpAesGcmDescription[] =
1593 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1594
Joachim Bauch4a41d7512017-08-23 14:24:231595const char kWebrtcSrtpEncryptedHeadersName[] =
1596 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1597const char kWebrtcSrtpEncryptedHeadersDescription[] =
1598 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1599 "for SRTP.";
1600
Brett Wilsonecb80982017-07-12 20:34:511601const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1602const char kWebrtcStunOriginDescription[] =
1603 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1604 "header.";
1605
1606const char kWebvrName[] = "WebVR";
1607const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051608 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111609 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1610 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1611 "will also allow WebVR content on insecure origins to access these "
1612 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511613
David Dorwin5a496c32017-11-17 01:45:051614const char kWebVrExperimentalRenderingName[] =
1615 "WebVR experimental rendering optimizations";
1616const char kWebVrExperimentalRenderingDescription[] =
1617 "Experimental rendering path optimizations for WebVR.";
1618
Brandon Jonese9d9b2b2017-12-11 22:20:111619const char kWebXrName[] = "WebXR Device API";
1620const char kWebXrDescription[] =
1621 "Allow web applications to access experimental APIs to interact with "
1622 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1623
Brett Wilsonecb80982017-07-12 20:34:511624const char kWifiCredentialSyncName[] = "WiFi credential sync";
1625const char kWifiCredentialSyncDescription[] =
1626 "Enables synchronizing WiFi network settings across devices. When enabled, "
1627 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1628 "credentials are synchronized subject to user preferences. (See also, "
1629 "chrome://settings/syncSetup.)";
1630
1631const char kZeroCopyName[] = "Zero-copy rasterizer";
1632const char kZeroCopyDescription[] =
1633 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341634
Brett Wilsonff596952017-07-14 01:06:551635// Android ---------------------------------------------------------------------
1636
1637#if defined(OS_ANDROID)
1638
1639const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1640const char kAiaFetchingDescription[] =
1641 "Enable intermediate certificate fetching when a server does not provide "
1642 "sufficient certificates to build a chain to a trusted root.";
1643
1644const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1645const char kAccessibilityTabSwitcherDescription[] =
1646 "Enable the accessibility tab switcher for Android.";
1647
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251648const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1649const char kAllowReaderForAccessibilityDescription[] =
1650 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1651
Brett Wilsonff596952017-07-14 01:06:551652const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1653const char kAndroidAutofillAccessibilityDescription[] =
1654 "Enable accessibility for autofill popup.";
1655
1656const char kAndroidPaymentAppsName[] = "Android payment apps";
1657const char kAndroidPaymentAppsDescription[] =
1658 "Enable third party Android apps to integrate as payment apps";
1659
Tatiana Gornak38ab3562017-07-28 11:04:181660const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1661const char kAndroidViewPasswordsDescription[] =
1662 "Enables copying and viewing passwords in settings.";
1663
Miriam Gershenson23cfe346e2017-09-28 14:49:291664const char kAsyncDnsName[] = "Async DNS resolver";
1665const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1666
Brett Wilsonff596952017-07-14 01:06:551667const char kAutofillAccessoryViewName[] =
1668 "Autofill suggestions as keyboard accessory view";
1669const char kAutofillAccessoryViewDescription[] =
1670 "Shows Autofill suggestions on top of the keyboard rather than in a "
1671 "dropdown.";
1672
1673const char kBackgroundLoaderForDownloadsName[] =
1674 "Enables background downloading of pages.";
1675const char kBackgroundLoaderForDownloadsDescription[] =
1676 "Enables downloading pages in the background in case page is not yet "
1677 "loaded in current tab.";
1678
Theresa Wellingtonb9243b22017-12-01 16:23:051679const char kChromeHomeName[] = "Chrome Home";
1680const char kChromeHomeDescription[] =
1681 "Enables Chrome Home on Android. You must restart the browser"
1682 " twice for changes to take effect.";
1683
1684const char kChromeHomeBottomNavLabelsName[] =
1685 "Chrome Home bottom navigation menu item labels.";
1686const char kChromeHomeBottomNavLabelsDescription[] =
1687 "Enables text labels for Chrome Home bottom navigation menu items.";
1688
1689const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1690const char kChromeHomeClearUrlOnOpenDescription[] =
1691 "Clear omnibox URL when the bottom sheet is opened.";
1692
Daniel Park825a16f32017-12-08 00:44:261693const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1694const char kChromeHomeEnableSurveyDescription[] =
1695 "If enabled, the survey process will allow surveys using sample "
1696 "parameters.";
1697
Theresa Wellingtonb9243b22017-12-01 16:23:051698const char kChromeHomeInactivitySheetExpansionName[] =
1699 "Expansion of Chrome Home bottom sheet on startup";
1700const char kChromeHomeInactivitySheetExpansionDescription[] =
1701 "Expand bottom sheet on startup in Chrome Home after a period of"
1702 " inactivity.";
1703
Matthew Joneseab91aa2017-12-19 16:12:421704const char kChromeHomeMenuItemsName[] =
1705 "Show bookmarks, downloads, and history menu items in Chrome Home";
1706const char kChromeHomeMenuItemsDescription[] =
1707 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1708 " when Chrome Home is enabled. These items will open the bottom sheet to"
1709 " show the desired content.";
1710
Theresa Wellington82d6f6ef2017-10-12 02:39:131711const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1712const char kChromeHomeOptOutSnackbarDescription[] =
1713 "Show a snackbar prompting users to take a survey the first time they"
1714 " opt-out of Chrome Home";
1715
Theresa Wellingtonc4cff8a12017-11-28 04:13:181716const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1717const char kChromeHomePersistentIphDescription[] =
1718 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1719 "toolbar or a timer expires.";
1720
Theresa Wellingtondd71c5c2017-10-02 15:50:381721const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1722 "Chrome Home Personalized Omnibox Suggestions";
1723const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1724 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1725
Matthew Jones4214d2a12017-09-28 18:35:111726const char kChromeHomePromoName[] = "Chrome Home Promo";
1727const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331728 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111729
Theresa Wellington13977c832017-12-13 16:59:111730const char kChromeHomePullToRefreshIphAtTopName[] =
1731 "Chrome Home Pull-To-Refresh Iph At Top";
1732const char kChromeHomePullToRefreshIphAtTopDescription[] =
1733 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1734
Theresa Wellington306c4cdc2017-12-07 16:43:081735const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1736const char kChromeHomeShowGoogleGDescription[] =
1737 "Show the Google G when the url is cleared. The flag to clear the url "
1738 "when the sheet is opened must also be set.";
1739
Brett Wilsonff596952017-07-14 01:06:551740const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1741const char kChromeHomeSwipeLogicDescription[] =
1742 "Various swipe logic options for Chrome Home for sheet expansion.";
1743const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151744const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551745
Megan Jablonskic61eb1b82017-10-02 18:03:061746const char kChromeMemexName[] = "Chrome Memex";
1747const char kChromeMemexDescription[] =
1748 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1749 "Googlers.";
1750
Sarath Singapati83aef1c2017-11-16 15:54:521751const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1752const char kClearOldBrowsingDataDescription[] =
1753 "Enables clearing of browsing data which is older than a given time "
1754 "period.";
1755
Brett Wilsonff596952017-07-14 01:06:551756const char kContentSuggestionsCategoryOrderName[] =
1757 "Default content suggestions category order (e.g. on NTP)";
1758const char kContentSuggestionsCategoryOrderDescription[] =
1759 "Set default order of content suggestion categories (e.g. on the NTP).";
1760
1761const char kContentSuggestionsCategoryRankerName[] =
1762 "Content suggestions category ranker (e.g. on NTP)";
1763const char kContentSuggestionsCategoryRankerDescription[] =
1764 "Set category ranker to order categories of content suggestions (e.g. on "
1765 "the NTP).";
1766
Vitalii Iarkof52ff802017-09-14 12:34:241767const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1768const char kContentSuggestionsDebugLogDescription[] =
1769 "Enable content suggestions debug log accessible through "
1770 "snippets-internals.";
1771
Donn Denman8e58ead2017-11-04 01:44:011772const char kContextualSearchMlTapSuppressionName[] =
1773 "Contextual Search ML tap suppression";
1774const char kContextualSearchMlTapSuppressionDescription[] =
1775 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021776 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1777 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551778
1779const char kContextualSearchName[] = "Contextual Search";
1780const char kContextualSearchDescription[] =
1781 "Whether or not Contextual Search is enabled.";
1782
Donn Denman59729812018-01-09 01:27:021783const char kContextualSearchRankerQueryName[] =
1784 "Contextual Search Ranker prediction";
1785const char kContextualSearchRankerQueryDescription[] =
1786 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1787
1788const char kContextualSearchSecondTapName[] =
1789 "Contextual Search second tap triggering";
1790const char kContextualSearchSecondTapDescription[] =
1791 "Enables triggering on a second tap gesture even when Ranker would "
1792 "normally suppress that tap.";
1793
Dmitry Skiba9c3efa72017-07-20 22:01:141794const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1795const char kDontPrefetchLibrariesDescription[] =
1796 "Don't prefetch libraries after loading.";
1797
Joy Ming5fd29ca62017-10-02 22:51:221798const char kDownloadsForegroundName[] = "Enable downloads foreground";
1799const char kDownloadsForegroundDescription[] =
1800 "Enable downloads as a foreground service for all versions of Android.";
1801
Joy Ming189b0cc2017-12-08 19:42:431802const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1803const char kDownloadsLocationChangeDescription[] =
1804 "Enable changing default downloads storage location on Android.";
1805
Brett Wilsonff596952017-07-14 01:06:551806const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1807const char kEnableAndroidPayIntegrationV1Description[] =
1808 "Enable integration with Android Pay using the first version of the API";
1809
1810const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1811const char kEnableAndroidPayIntegrationV2Description[] =
1812 "Enable integration with Android Pay using the second version of the API";
1813
Vitalii Iarkof4ed32d2017-09-26 13:15:531814const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551815const char kEnableAndroidSpellcheckerDescription[] =
1816 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551817
Vitalii Iarkof4ed32d2017-09-26 13:15:531818const char kEnableContentSuggestionsNewFaviconServerName[] =
1819 "Get favicons for content suggestions from a new server.";
1820const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1821 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1822 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551823
1824const char kEnableContentSuggestionsSettingsName[] =
1825 "Show content suggestions settings.";
1826const char kEnableContentSuggestionsSettingsDescription[] =
1827 "If enabled, the content suggestions settings will be available from the "
1828 "main settings menu.";
1829
Vitalii Iarkof4ed32d2017-09-26 13:15:531830const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1831 "Use content suggestions thumbnail dominant color.";
1832const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1833 "Use content suggestions thumbnail dominant color as a placeholder before "
1834 "the real thumbnail is fetched (requires Chrome Home).";
1835
Brett Wilsonff596952017-07-14 01:06:551836const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1837const char kEnableCopylessPasteDescription[] =
1838 "Provide suggestions for text input, based on your recent context. For "
1839 "example, if you looked at a restaurant website and switched to the Maps "
1840 "app, the keyboard would offer the name of that restaurant as a suggestion "
1841 "to enter into the search bar. The data is indexed locally, and never sent "
1842 "to the server. It's disabled in incognito mode.";
1843
1844const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1845const char kEnableCustomContextMenuDescription[] =
1846 "Enables a new context menu when a link, image, or video is pressed within "
1847 "Chrome.";
1848
1849const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1850const char kEnableCustomFeedbackUiDescription[] =
1851 "Enables a custom feedback UI when submitting feedback through Google "
1852 "Feedback. Works with Google Play Services v10.2+";
1853
1854const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471855 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551856const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471857 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551858
Brett Wilsonff596952017-07-14 01:06:551859const char kEnableOmniboxClipboardProviderName[] =
1860 "Omnibox clipboard URL suggestions";
1861const char kEnableOmniboxClipboardProviderDescription[] =
1862 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1863 "focus in the omnibox.";
1864
1865const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1866 "Use expanded autofill credit card popup layout.";
1867const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1868 "If enabled, displays autofill credit card popup using expanded layout.";
1869
Brett Wilsonff596952017-07-14 01:06:551870const char kEnableNtpAssetDownloadSuggestionsName[] =
1871 "Show asset downloads on the New Tab page";
1872const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1873 "If enabled, the list of content suggestions on the New Tab page will "
1874 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1875 "later use.";
1876
1877const char kEnableNtpBookmarkSuggestionsName[] =
1878 "Show recently visited bookmarks on the New Tab page";
1879const char kEnableNtpBookmarkSuggestionsDescription[] =
1880 "If enabled, the list of content suggestions on the New Tab page will "
1881 "contain recently visited bookmarks.";
1882
1883const char kEnableNtpForeignSessionsSuggestionsName[] =
1884 "Show recent foreign tabs on the New Tab page";
1885const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1886 "If enabled, the list of content suggestions on the New Tab page will "
1887 "contain recent foreign tabs.";
1888
Brett Wilsonff596952017-07-14 01:06:551889const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1890 "Show offline page downloads on the New Tab page";
1891const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1892 "If enabled, the list of content suggestions on the New Tab page will "
1893 "contain pages that the user downloaded for later use.";
1894
1895const char kEnableNtpRemoteSuggestionsName[] =
1896 "Show server-side suggestions on the New Tab page";
1897const char kEnableNtpRemoteSuggestionsDescription[] =
1898 "If enabled, the list of content suggestions on the New Tab page will "
1899 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1900 "allows to override the source used to retrieve these server-side "
1901 "suggestions.";
1902
1903const char kEnableNtpSnippetsVisibilityName[] =
1904 "Make New Tab Page Snippets more visible.";
1905const char kEnableNtpSnippetsVisibilityDescription[] =
1906 "If enabled, the NTP snippets will become more discoverable with a larger "
1907 "portion of the first card above the fold.";
1908
1909const char kEnableNtpSuggestionsNotificationsName[] =
1910 "Notify about new content suggestions available at the New Tab page";
1911const char kEnableNtpSuggestionsNotificationsDescription[] =
1912 "If enabled, notifications will inform about new content suggestions on "
1913 "the New Tab page.";
1914
1915const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1916const char kEnablePhysicalWebDescription[] =
1917 "Enable scanning for URLs from Physical Web objects.";
1918
1919const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1920const char kEnableOfflinePreviewsDescription[] =
1921 "Enable showing offline page previews on slow networks.";
1922
1923const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1924const char kEnableOskOverscrollDescription[] =
1925 "Enable OSK overscroll support. With this flag on, the OSK will only "
1926 "resize the visual viewport.";
1927
1928const char kEnableSpecialLocaleName[] =
1929 "Enable custom logic for special locales.";
1930const char kEnableSpecialLocaleDescription[] =
1931 "Enable custom logic for special locales. In this mode, Chrome might "
1932 "behave differently in some locales.";
1933
Brett Wilsonff596952017-07-14 01:06:551934const char kEnableWebNfcName[] = "WebNFC";
1935const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1936
gogeraldf3cbb422017-07-26 14:37:121937const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1938 "Enable Web Payments method section order V2.";
1939const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1940 "Enable this option to display payment method section above address "
1941 "section instead of below it.";
1942
Brett Wilsonff596952017-07-14 01:06:551943const char kEnableWebPaymentsSingleAppUiSkipName[] =
1944 "Enable Web Payments single app UI skip";
1945const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1946 "Enable Web Payments to skip showing its UI if the developer specifies a "
1947 "single app.";
1948
Raymes Khoury582b43132017-12-12 23:54:301949const char kGrantNotificationsToDSEName[] =
1950 "Grant notifications to the Default Search Engine";
1951const char kGrantNotificationsToDSENameDescription[] =
1952 "Automatically grant the notifications permission to the Default Search "
1953 "Engine";
1954
Brett Wilsonff596952017-07-14 01:06:551955const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1956const char kHerbPrototypeChoicesDescription[] =
1957 "Switching this option changes which tab management prototype is being "
1958 "tested.";
1959const char kHerbPrototypeFlavorElderberry[] =
1960 "ELDERBERRY: All View Intents in CCT v2";
1961
1962const char kKeepPrefetchedContentSuggestionsName[] =
1963 "Keep prefetched content suggestions";
1964const char kKeepPrefetchedContentSuggestionsDescription[] =
1965 "If enabled, some of prefetched content suggestions are not replaced by "
1966 "the new fetched suggestions.";
1967
Leo Zhang051b75482017-12-20 03:28:301968const char kLanguagesPreferenceName[] = "Language Settings";
1969const char kLanguagesPreferenceDescription[] =
1970 "Enable this option for Language Settings feature on Android.";
1971
Brett Wilsonff596952017-07-14 01:06:551972const char kLsdPermissionPromptName[] =
1973 "Location Settings Dialog Permission Prompt";
1974const char kLsdPermissionPromptDescription[] =
1975 "Whether to use the Google Play Services Location Settings Dialog "
1976 "permission dialog.";
1977
Brett Wilsonff596952017-07-14 01:06:551978const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1979const char kMediaScreenCaptureDescription[] =
1980 "Enable this option for experimental ScreenCapture feature on Android.";
1981
1982const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1983const char kModalPermissionPromptsDescription[] =
1984 "Whether to use permission dialogs in place of permission infobars.";
1985
Brett Wilsonff596952017-07-14 01:06:551986const char kNewPhotoPickerName[] = "Enable new Photopicker";
1987const char kNewPhotoPickerDescription[] =
1988 "Activates the new picker for selecting photos.";
1989
1990const char kNoCreditCardAbort[] = "No Credit Card Abort";
1991const char kNoCreditCardAbortDescription[] =
1992 "Whether or not the No Credit Card Abort is enabled.";
1993
1994const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1995const char kNtpCondensedLayoutDescription[] =
1996 "Show a condensed layout on the New Tab Page.";
1997
1998const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1999const char kNtpCondensedTileLayoutDescription[] =
2000 "Show a condensed tile layout on the New Tab Page.";
2001
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062002const char kNtpModernLayoutName[] = "Modern NTP layout";
2003const char kNtpModernLayoutDescription[] =
2004 "Show a modern layout on the New Tab Page.";
2005
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042006const char kSiteExplorationUiName[] = "Site Exploration UI";
2007const char kSiteExplorationUiDescription[] =
2008 "Show site suggestions in the Exploration UI";
2009
Brett Wilsonff596952017-07-14 01:06:552010const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2011const char kNtpGoogleGInOmniboxDescription[] =
2012 "Show a Google G in the omnibox on the New Tab Page.";
2013
Yoland Yan99d89cf62018-01-10 20:38:322014const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2015const char kNtpPopularSitesDescription[] =
2016 "Pre-populate the New Tab page with popular sites.";
2017
Brett Wilsonff596952017-07-14 01:06:552018const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2019const char kOfflineBookmarksDescription[] =
2020 "Enable saving bookmarked pages for offline viewing.";
2021
Brett Wilsonff596952017-07-14 01:06:552022const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2023const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2024
2025const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2026const char kOfflinePagesCtV2Description[] =
2027 "V2 features include attributing pages to the app that initiated the "
2028 "custom tabs, and being able to query for pages by page attribution.";
2029
Carlos Knippschild09272ecd2017-12-09 03:29:362030const char kOfflinePagesLimitlessPrefetchingName[] =
2031 "Removes resource usage limits for the prefetching of offline pages.";
2032const char kOfflinePagesLimitlessPrefetchingDescription[] =
2033 "Allows the prefetching of suggested offline pages to ignore resource "
2034 "usage limits. This allows it to completely ignore data usage limitations "
2035 "and allows downloads to happen with any kind of connection.";
2036
Brett Wilsonff596952017-07-14 01:06:552037const char kOfflinePagesLoadSignalCollectingName[] =
2038 "Enables collecting load timing data for offline page snapshots.";
2039const char kOfflinePagesLoadSignalCollectingDescription[] =
2040 "Enables loading completeness data collection while writing an offline "
2041 "page. This data is collected in the snapshotted offline page to allow "
2042 "data analysis to improve deciding when to make the offline snapshot.";
2043
Candice Sy229768e02017-12-21 00:19:222044const char kOfflinePagesDescriptivePendingStatusName[] =
2045 "Enables descriptive pending download status text.";
2046const char kOfflinePagesDescriptivePendingStatusDescription[] =
2047 "Enables pending download status text in notifications and Downloads Home "
2048 "to state the reason the request is pending.";
2049
Brett Wilsonff596952017-07-14 01:06:552050const char kOfflinePagesPrefetchingName[] =
2051 "Enables suggested offline pages to be prefetched.";
2052const char kOfflinePagesPrefetchingDescription[] =
2053 "Enables suggested offline pages to be prefetched, so useful content is "
2054 "available while offline.";
2055
Cathy Li3d5379e2017-09-07 00:11:092056const char kOfflinePagesPrefetchingUIName[] =
2057 "Enables prefetched offline pages to be shown in UI.";
2058const char kOfflinePagesPrefetchingUIDescription[] =
2059 "Enables prefetched offline pages to raise notifications and be shown in "
2060 "download home UI.";
2061
Pete Williamson7845dff2017-09-20 11:06:192062const char kOfflinePagesResourceBasedSnapshotName[] =
2063 "Enables offline page snapshots to be based on percentage of page loaded.";
2064const char kOfflinePagesResourceBasedSnapshotDescription[] =
2065 "Enables offline page snapshots to use a resource percentage based "
2066 "approach for determining when the page is loaded as opposed to a time "
2067 "based approach";
2068
Collin Baker17f92a52017-07-19 21:41:252069const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2070const char kOfflinePagesRenovationsDescription[] =
2071 "Enables offline page renovations which correct issues with dynamic "
2072 "content that occur when offlining pages that use JavaScript.";
2073
Brett Wilsonff596952017-07-14 01:06:552074const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2075const char kOfflinePagesSharingDescription[] =
2076 "Enables the saved offline pages to be shared via other applications.";
2077
2078const char kOfflinePagesSvelteConcurrentLoadingName[] =
2079 "Enables concurrent background loading on svelte.";
2080const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2081 "Enables concurrent background loading (or downloading) of pages on "
2082 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2083 "happen when the svelte device is idle.";
2084
2085const char kOffliningRecentPagesName[] =
2086 "Enable offlining of recently visited pages";
2087const char kOffliningRecentPagesDescription[] =
2088 "Enable storing recently visited pages locally for offline use. Requires "
2089 "Offline Pages to be enabled.";
2090
Lei Zhang2eca9082017-10-17 20:42:502091const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2092const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552093 "Enable Pay with Google integration into Web Payments with API version "
2094 "'1'.";
2095
Matthew Jonesa88b95852017-11-08 23:13:502096const char kProgressBarThrottleName[] = "Android progress update throttling.";
2097const char kProgressBarThrottleDescription[] =
2098 "Limit the maximum progress update to make progress appear smoother.";
2099
Brett Wilsonff596952017-07-14 01:06:552100const char kProgressBarCompletionName[] =
2101 "Android phone page load progress bar completion time.";
2102const char kProgressBarCompletionDescription[] =
2103 "Configures Android phone page loading progress bar completion time.";
2104const char kProgressBarCompletionLoadEvent[] =
2105 R"*(Top loading frame's onload event ("everything" is done in the )*"
2106 R"*(page, historical behavior).)*";
2107const char kProgressBarCompletionResourcesBeforeDcl[] =
2108 "Main frame's domContentLoaded and all resources loads started before "
2109 "domContentLoaded (iframes ignored).";
2110const char kProgressBarCompletionDomContentLoaded[] =
2111 "Main frame's domContentLoaded (iframes ignored).";
2112const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2113 "domContentLoaded and all resources loads started before domContentLoaded "
2114 "(main frame and same origin iframes).";
2115
2116const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2117const char kPullToRefreshEffectDescription[] =
2118 "Page reloads triggered by vertically overscrolling content.";
2119
Piotr Swigon7c296ef2017-08-29 04:32:002120const char kPwaImprovedSplashScreenName[] =
2121 "Improved Splash Screen for standalone PWAs";
2122const char kPwaImprovedSplashScreenDescription[] =
2123 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2124 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492125const char kPwaPersistentNotificationName[] =
2126 "Persistent notification in standalone PWA";
2127const char kPwaPersistentNotificationDescription[] =
2128 "Enables a persistent Android notification for standalone PWAs";
2129
Brett Wilsonff596952017-07-14 01:06:552130const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2131const char kReaderModeHeuristicsDescription[] =
2132 "Determines what pages the Reader Mode infobar is shown on.";
2133const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2134const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2135const char kReaderModeHeuristicsAllArticles[] = "All articles";
2136const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2137const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2138
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182139const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2140const char kReaderModeInCCTDescription[] =
2141 "Open Reader Mode in Chrome Custom Tabs.";
2142
Brett Wilsonff596952017-07-14 01:06:552143const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2144const char kSetMarketUrlForTestingDescription[] =
2145 "When enabled, sets the market URL for use in testing the update menu "
2146 "item.";
2147
2148const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2149const char kSpannableInlineAutocompleteDescription[] =
2150 "A new type of inline autocomplete for the omnibox that works with "
2151 "keyboards that compose text.";
2152
Brett Wilsonff596952017-07-14 01:06:552153const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2154const char kUpdateMenuBadgeDescription[] =
2155 "When enabled, an update badge will be shown on the app menu button.";
2156
2157const char kUpdateMenuItemCustomSummaryDescription[] =
2158 "When this flag and the force show update menu item flag are enabled, a "
2159 "custom summary string will be displayed below the update menu item.";
2160const char kUpdateMenuItemCustomSummaryName[] =
2161 "Update menu item custom summary";
2162
2163const char kUpdateMenuItemName[] = "Force show update menu item";
2164const char kUpdateMenuItemDescription[] =
2165 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2166 R"*(menu.)*";
2167
Marc Treib93af46a2017-08-23 13:30:002168const char kThirdPartyDoodlesName[] =
2169 "Enable Doodles for third-party search engines";
2170const char kThirdPartyDoodlesDescription[] =
2171 "Enables fetching and displaying Doodles on the NTP for third-party search "
2172 "engines.";
2173
Brett Wilson7b44537e2017-08-18 01:38:282174// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552175
Brett Wilson7b44537e2017-08-18 01:38:282176#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482177
Brett Wilson7b44537e2017-08-18 01:38:282178const char kAccountConsistencyName[] =
2179 "Identity consistency between browser and cookie jar";
2180const char kAccountConsistencyDescription[] =
2181 "When enabled, the browser manages signing in and out of Google accounts.";
2182const char kAccountConsistencyChoiceMirror[] = "Mirror";
2183const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342184
Chris Pickel3a227ae62017-08-24 10:47:262185const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2186const char kDoodlesOnLocalNtpDescription[] =
2187 "Show doodles on the local New Tab page if Google is the default search "
2188 "engine.";
2189
mlamouriff56c092017-05-11 15:31:392190const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392191const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342192 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392193const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392194const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392195const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342196 "Enabled (Flash lowers volume when interrupted by other sound, "
2197 "experimental)";
2198
Brett Wilson7b44537e2017-08-18 01:38:282199const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2200const char kEnableNewAppMenuIconDescription[] =
2201 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342202
2203const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342204const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282205 "Enable receiving entity suggestions - disambiguation descriptions - for "
2206 "Omnibox suggestions.";
2207
Dave Schuyler598a4a42018-01-04 02:15:102208const char kOmniboxRichEntitySuggestionsName[] =
2209 "Omnibox rich entity suggestions";
2210const char kOmniboxRichEntitySuggestionsDescription[] =
2211 "Display entity suggestions using images and an enhanced layout; showing "
2212 "more context and descriptive text about the entity";
2213
Kevin Bailey898669972017-11-06 15:34:492214const char kOmniboxTabSwitchSuggestionsName[] =
2215 "Omnibox tab switch suggestions";
2216const char kOmniboxTabSwitchSuggestionsDescription[] =
2217 "Enable suggestions for switching to open tabs within the Omnibox.";
2218
krbcc621412017-06-01 19:40:282219const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2220const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192221 "Enable receiving tail suggestions, a type of search suggestion based on "
2222 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342223
Brett Wilson7b44537e2017-08-18 01:38:282224const char kOneGoogleBarOnLocalNtpName[] =
2225 "Enable the OneGoogleBar on the local NTP";
2226const char kOneGoogleBarOnLocalNtpDescription[] =
2227 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2228 "search engine.";
2229
Brett Wilson7b44537e2017-08-18 01:38:282230const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2231const char kUseGoogleLocalNtpDescription[] =
2232 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322233
Brett Wilson7b44537e2017-08-18 01:38:282234const char kVoiceSearchOnLocalNtpName[] =
2235 "Enable Voice Search on the local NTP";
2236const char kVoiceSearchOnLocalNtpDescription[] =
2237 "Show a microphone for voice search on the local New Tab page "
2238 "if Google is the default search engine.";
2239
2240#if defined(GOOGLE_CHROME_BUILD)
2241
2242const char kGoogleBrandedContextMenuName[] =
2243 "Google branding in the context menu";
2244const char kGoogleBrandedContextMenuDescription[] =
2245 "Shows a Google icon next to context menu items powered by Google "
2246 "services.";
2247
2248#endif // !defined(GOOGLE_CHROME_BUILD)
2249
2250#endif // !defined(OS_ANDROID)
2251
2252// Windows ---------------------------------------------------------------------
2253
2254#if defined(OS_WIN)
2255
2256const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2257const char kCloudPrintXpsDescription[] =
2258 "XPS enables advanced options for classic printers connected to the Cloud "
2259 "Print with Chrome. Printers must be re-connected after changing this "
2260 "flag.";
2261
Dave Tapuskadd43469d2017-08-22 22:15:532262const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2263const char kDirectManipulationStylusDescription[] =
2264 "If enabled, Chrome will scroll web pages on stylus drag.";
2265
Brett Wilson7b44537e2017-08-18 01:38:282266const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2267const char kDisablePostscriptPrintingDescription[] =
2268 "Disables PostScript generation when printing to PostScript capable "
2269 "printers, and uses EMF generation in its place.";
2270
2271const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2272const char kEnableAppcontainerDescription[] =
2273 "Enables the use of an AppContainer on sandboxed processes to improve "
2274 "security.";
2275
2276const char kEnableD3DVsync[] = "D3D v-sync";
2277const char kEnableD3DVsyncDescription[] =
2278 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2279 "to occur.";
2280
2281const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2282const char kEnableDesktopIosPromotionsDescription[] =
2283 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2284 "eligible.";
2285
2286const char kGdiTextPrinting[] = "GDI Text Printing";
2287const char kGdiTextPrintingDescription[] =
2288 "Use GDI to print text as simply text";
2289
Brett Wilson7b44537e2017-08-18 01:38:282290const char kTraceExportEventsToEtwName[] =
2291 "Enable exporting of tracing events to ETW.";
2292const char kTraceExportEventsToEtwDesription[] =
2293 "If enabled, trace events will be exported to the Event Tracing for "
2294 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2295 "Xperf.";
2296
2297const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2298const char kUseWinrtMidiApiDescription[] =
2299 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2300 "later).";
2301
2302const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2303const char kWindows10CustomTitlebarDescription[] =
2304 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2305 "deferring to Windows.";
2306
Wez6656c572017-08-29 22:29:582307#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502308const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2309const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582310 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2311 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2312#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2313
Brett Wilson7b44537e2017-08-18 01:38:282314#endif // defined(OS_WIN)
2315
2316// Mac -------------------------------------------------------------------------
2317
2318#if defined(OS_MACOSX)
2319
2320const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2321const char kAppInfoDialogDescription[] =
2322 "Makes the Toolkit-Views based App Info dialog accessible from "
2323 "chrome://apps or chrome://extensions in place of the native extension "
2324 "permissions dialog, or the details link (which is a link to the Web "
2325 "Store).";
2326
2327const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2328const char kAppWindowCyclingDescription[] =
2329 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2330 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2331 "browser window, and browser windows will not be cycled when a Chrome App "
2332 "is active.";
2333
Lei Zhang2eca9082017-10-17 20:42:502334const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2335const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282336 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2337
2338const char kFullscreenToolbarRevealName[] =
2339 "Enables the toolbar in fullscreen to reveal itself.";
2340const char kFullscreenToolbarRevealDescription[] =
2341 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2342 "has changed.";
2343
2344const char kContentFullscreenName[] = "Improved Content Fullscreen";
2345const char kContentFullscreenDescription[] =
2346 "Fullscreen content window detaches from main browser window and goes to "
2347 "a new space without moving or changing the original browser window.";
2348
Lei Zhang2eca9082017-10-17 20:42:502349const char kDialogTouchBarName[] = "Dialog Touch Bar";
2350const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282351 "Shows Dialog buttons on the Touch Bar.";
2352
2353const char kHostedAppsInWindowsName[] =
2354 "Allow hosted apps to be opened in windows";
2355const char kHostedAppsInWindowsDescription[] =
2356 "Allows hosted apps to be opened in windows instead of being limited to "
2357 "tabs.";
2358
Lei Zhang2eca9082017-10-17 20:42:502359const char kMacRTLName[] = "Enable RTL";
2360const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282361
Lei Zhang2eca9082017-10-17 20:42:502362const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2363const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522364 "Enables sharing via macOS share extensions.";
2365
Lei Zhang2eca9082017-10-17 20:42:502366const char kMacTouchBarName[] = "Hardware Touch Bar";
2367const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282368
2369const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2370const char kMacV2SandboxDescription[] =
2371 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2372 "entire life cycle.";
2373
2374const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2375const char kMacViewsNativeAppWindowsDescription[] =
2376 "Controls whether to use Toolkit-Views based Chrome App windows.";
2377
Jérôme Lebelff683d42017-11-10 10:24:022378const char kMacViewsProfileChooserName[] =
2379 "Profile chooser menu with toolkit-views on Mac";
2380const char kMacViewsProfileChooserDescription[] =
2381 "Enables profile chooser menu based on toolkit-views, on Mac";
2382
Brett Wilson7b44537e2017-08-18 01:38:282383const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2384const char kMacViewsTaskManagerDescription[] =
2385 "Controls whether to use the Toolkit-Views based Task Manager.";
2386
2387const char kTabDetachingInFullscreenName[] =
2388 "Allow tab detaching in fullscreen";
2389const char kTabDetachingInFullscreenDescription[] =
2390 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2391
2392const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2393const char kTabStripKeyboardFocusDescription[] =
2394 "Enable keyboard focus for the tabs in the tab strip.";
2395
2396const char kTranslateNewUxName[] = "New Translate UX";
2397const char kTranslateNewUxDescription[] =
2398 "Enable the new Translate bubble UX is offered instead of the infobar.";
2399
Brett Wilson7b44537e2017-08-18 01:38:282400#endif
2401
2402// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342403
2404#if defined(OS_CHROMEOS)
2405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kAcceleratedMjpegDecodeName[] =
2407 "Hardware-accelerated mjpeg decode for captured frame";
2408const char kAcceleratedMjpegDecodeDescription[] =
2409 "Enable hardware-accelerated mjpeg decode for captured frame where "
2410 "available.";
vabr0215a8e2017-03-28 12:47:342411
Brett Wilson7b44537e2017-08-18 01:38:282412const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2413const char kAllowTouchpadThreeFingerClickDescription[] =
2414 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342415
Brett Wilson7b44537e2017-08-18 01:38:282416const char kArcBootCompleted[] = "Load Android apps automatically";
2417const char kArcBootCompletedDescription[] =
2418 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342419
Lev Rumyantsev7a8544312017-08-18 19:26:512420const char kArcNativeBridgeExperimentName[] =
2421 "Enable native bridge experiment for ARC";
2422const char kArcNativeBridgeExperimentDescription[] =
2423 "Enables experimental native bridge feature.";
2424
lgchengecd1c1a62018-01-09 02:59:462425const char kArcUsbHostName[] = "Enable ARC USB host integration";
2426const char kArcUsbHostDescription[] =
2427 "Allow Android apps to use USB host feature on ChromeOS devices.";
2428
Kevin Cernekeeb7f96a52017-10-25 17:40:182429const char kArcVpnName[] = "Enable ARC VPN integration";
2430const char kArcVpnDescription[] =
2431 "Allow Android VPN clients to tunnel Chrome traffic.";
2432
Brett Wilson7b44537e2017-08-18 01:38:282433const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2434const char kAshEnableUnifiedDesktopDescription[] =
2435 "Enable unified desktop mode which allows a window to span multiple "
2436 "displays.";
vabr0215a8e2017-03-28 12:47:342437
Sean Kau5e956192017-10-06 22:25:172438const char kBulkPrintersName[] = "Bulk Printers Policy";
2439const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2440
Brett Wilson7b44537e2017-08-18 01:38:282441const char kCaptivePortalBypassProxyName[] =
2442 "Bypass proxy for Captive Portal Authorization";
2443const char kCaptivePortalBypassProxyDescription[] =
2444 "If proxy is configured, it usually prevents from authorization on "
2445 "different captive portals. This enables opening captive portal "
2446 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342447
Brett Wilson7b44537e2017-08-18 01:38:282448const char kCrOSComponentName[] = "Chrome OS Component";
2449const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082450 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342451
Xiaochu Liu51d03fd2017-09-08 23:51:022452const char kCrOSContainerName[] = "Chrome OS Container";
2453const char kCrOSContainerDescription[] =
2454 "Enable the use of Chrome OS Container utility.";
2455
Brett Wilson7b44537e2017-08-18 01:38:282456const char kCrosRegionsModeName[] = "Cros-regions load mode";
2457const char kCrosRegionsModeDescription[] =
2458 "This flag controls cros-regions load mode";
2459const char kCrosRegionsModeDefault[] = "Default";
2460const char kCrosRegionsModeOverride[] = "Override VPD values.";
2461const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342462
Jacob Dufault2becbc482017-08-25 00:36:352463const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2464const char kDisableLockScreenAppsDescription[] =
2465 "Disable new-note action handler apps on the lock screen. The user will "
2466 "not be able to launch the preferred note-taking action from the lock "
2467 "screen, provided that the app supports lock screen note taking.";
2468
Sammie Quonef6b4882017-09-14 16:50:052469const char kDisableTabletAutohideTitlebarsName[] =
2470 "Disable autohide titlebars in tablet mode";
2471const char kDisableTabletAutohideTitlebarsDescription[] =
2472 "Disable tablet mode autohide titlebars functionality. The user will be "
2473 "able to see the titlebar in tablet mode.";
2474
xdai302074a2017-12-21 19:49:492475const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2476const char kDisableTabletSplitViewDescription[] =
2477 "Disable split view for Chrome OS tablet mode.";
2478
Brett Wilson7b44537e2017-08-18 01:38:282479const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2480const char kEnablePerUserTimezoneDescription[] =
2481 "Chrome OS system timezone preference is stored and handled for each user "
2482 "individually.";
vabr0215a8e2017-03-28 12:47:342483
Brett Wilson7b44537e2017-08-18 01:38:282484const char kDisableSystemTimezoneAutomaticDetectionName[] =
2485 "SystemTimezoneAutomaticDetection policy support";
2486const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2487 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342488
Lei Zhang2eca9082017-10-17 20:42:502489const char kEnableBackgroundBlurName[] = "Enable background blur.";
2490const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422491 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392492
Brett Wilson7b44537e2017-08-18 01:38:282493const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2494const char kEnableAndroidWallpapersAppDescription[] =
2495 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2496 "OS.";
vabr0215a8e2017-03-28 12:47:342497
Brett Wilson7b44537e2017-08-18 01:38:282498const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2499const char kEnableChromevoxArcSupportDescription[] =
2500 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342501
Brett Wilson7b44537e2017-08-18 01:38:282502const char kEnableEhvInputName[] =
2503 "Emoji, handwriting and voice input on opt-in IME menu";
2504const char kEnableEhvInputDescription[] =
2505 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342506
Brett Wilson7b44537e2017-08-18 01:38:282507const char kEnableEncryptionMigrationName[] =
2508 "Enable encryption migration of user data";
2509const char kEnableEncryptionMigrationDescription[] =
2510 "If enabled and the device supports ARC, the user will be asked to update "
2511 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342512
Blake O'Hare9e9317b22017-10-24 02:49:352513const char kEnableFloatingVirtualKeyboardName[] =
2514 "Enable floating virtual keyboard";
2515const char kEnableFloatingVirtualKeyboardDescription[] =
2516 "If enabled, the keyboard will use floating behavior by default.";
2517
Brett Wilson7b44537e2017-08-18 01:38:282518const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2519const char kEnableImeMenuDescription[] =
2520 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342521
Klemen Kozjek05fc4512017-10-18 12:51:102522const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2523const char kEnableZipArchiverPackerDescription[] =
2524 "Enable the ability to archive files on Drive in the Files app";
2525
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412526const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2527const char kZipArchiverUnpackerDescription[] =
2528 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282529
2530const char kEolNotificationName[] = "Disable Device End of Life notification.";
2531const char kEolNotificationDescription[] =
2532 "Disable Notifcation when Device is End of Life.";
2533
2534const char kExperimentalAccessibilityFeaturesName[] =
2535 "Experimental accessibility features";
2536const char kExperimentalAccessibilityFeaturesDescription[] =
2537 "Enable additional accessibility features in the Settings page.";
2538
2539const char kExperimentalInputViewFeaturesName[] =
2540 "Experimental input view features";
2541const char kExperimentalInputViewFeaturesDescription[] =
2542 "Enable experimental features for IME input views.";
2543
2544const char kFileManagerTouchModeName[] = "Files App. touch mode";
2545const char kFileManagerTouchModeDescription[] =
2546 "Touchscreen-specific interactions of the Files app.";
2547
2548const char kFirstRunUiTransitionsName[] =
2549 "Animated transitions in the first-run tutorial";
2550const char kFirstRunUiTransitionsDescription[] =
2551 "Transitions during first-run tutorial are animated.";
2552
Brett Wilson7b44537e2017-08-18 01:38:282553const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2554const char kForceEnableStylusToolsDescription[] =
2555 "Forces display of the stylus tools menu in the shelf and the stylus "
2556 "section in settings, even if there is no attached stylus device.";
2557
2558const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2559const char kGestureEditingDescription[] =
2560 "Enable/Disable gesture editing option in the settings page for the "
2561 "virtual keyboard.";
2562
2563const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2564const char kGestureTypingDescription[] =
2565 "Enable/Disable gesture typing option in the settings page for the virtual "
2566 "keyboard.";
2567
2568const char kInputViewName[] = "Input views";
2569const char kInputViewDescription[] =
2570 "Enable IME extensions to supply custom views for user input such as "
2571 "virtual keyboards.";
2572
2573const char kMemoryPressureThresholdName[] =
2574 "Memory discard strategy for advanced pressure handling";
2575const char kMemoryPressureThresholdDescription[] =
2576 "Memory discarding strategy to use";
2577const char kConservativeThresholds[] =
2578 "Conservative memory pressure release strategy";
2579const char kAggressiveCacheDiscardThresholds[] =
2580 "Aggressive cache release strategy";
2581const char kAggressiveTabDiscardThresholds[] =
2582 "Aggressive tab release strategy";
2583const char kAggressiveThresholds[] =
2584 "Aggressive tab and cache release strategy";
2585
2586const char kMtpWriteSupportName[] = "MTP write support";
2587const char kMtpWriteSupportDescription[] =
2588 "MTP write support in File System API (and file manager). In-place editing "
2589 "operations are not supported.";
2590
2591const char kMultideviceName[] = "Enable multidevice features";
2592const char kMultideviceDescription[] =
2593 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342594
Bailey Berrodca8eeca02017-11-18 00:49:122595const char kNativeSmbName[] = "Native Smb Client";
2596const char kNativeSmbDescription[] =
2597 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302598
vabr0215a8e2017-03-28 12:47:342599const char kNetworkPortalNotificationName[] =
2600 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342601const char kNetworkPortalNotificationDescription[] =
2602 "If enabled, notification is displayed when device is connected to a "
2603 "network behind captive portal.";
2604
Steven Bennetts77b67972017-12-14 19:38:322605const char kDisableNetworkSettingsConfigName[] =
2606 "Disable Settings based Network Configuration";
2607const char kDisableNetworkSettingsConfigDescription[] =
2608 "Disables the Settings based network configuration UI and restores the "
2609 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242610
Brett Wilson7b44537e2017-08-18 01:38:282611const char kNewKoreanImeName[] = "New Korean IME";
2612const char kNewKoreanImeDescription[] =
2613 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342614
Brett Wilson7b44537e2017-08-18 01:38:282615const char kNewZipUnpackerName[] = "New ZIP unpacker";
2616const char kNewZipUnpackerDescription[] =
2617 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2620const char kPhysicalKeyboardAutocorrectDescription[] =
2621 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2622 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342623
2624const char kPrinterProviderSearchAppName[] =
2625 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342626const char kPrinterProviderSearchAppDescription[] =
2627 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192628 "searches Chrome Web Store for extensions that support printing to a USB "
2629 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342630
Brett Wilson7b44537e2017-08-18 01:38:282631const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2632const char kQuickUnlockPinDescription[] =
2633 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2634 "device on the lock screen after you have signed into your device.";
2635const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2636const char kQuickUnlockPinSigninDescription[] =
2637 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2638 "device. After changing this flag PIN needs to be set up again.";
2639const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2640const char kQuickUnlockFingerprintDescription[] =
2641 "Enabling fingerprint quick unlock allows you to setup and use a "
2642 "fingerprint to unlock your Chromebook on the lock screen after you have "
2643 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342644
Brett Wilson7b44537e2017-08-18 01:38:282645const char kOfficeEditingComponentAppName[] =
2646 "Office Editing for Docs, Sheets & Slides";
2647const char kOfficeEditingComponentAppDescription[] =
2648 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072649
James Cook0ba192bf2017-12-01 20:53:112650const char kShowTapsName[] = "Show taps";
2651const char kShowTapsDescription[] =
2652 "Draws a circle at each touch point, which makes touch points more obvious "
2653 "when projecting or mirroring the display. Similar to the Android OS "
2654 "developer option.";
2655
2656const char kShowTouchHudName[] = "Show HUD for touch points";
2657const char kShowTouchHudDescription[] =
2658 "Shows a trail of colored dots for the last few touch points. Pressing "
2659 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2660 "debug hardware issues that generate spurious touch events.";
2661
Chung-Sheng Wu468b0b32017-09-01 14:41:572662const char kSysInternalsName[] = "Enable Sys-Internals";
2663const char kSysInternalsDescription[] =
2664 "If enabled, user can monitor system information at "
2665 "chrome://sys-internals.";
2666
Brett Wilson7b44537e2017-08-18 01:38:282667const char kTeamDrivesName[] = "Enable Team Drives Integration";
2668const char kTeamDrivesDescription[] =
2669 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342670
Brett Wilson7b44537e2017-08-18 01:38:282671const char kTetherName[] = "Instant Tethering";
2672const char kTetherDescription[] =
2673 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2674 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372675
Brett Wilson7b44537e2017-08-18 01:38:282676const char kTouchscreenCalibrationName[] =
2677 "Enable/disable touchscreen calibration option in material design settings";
2678const char kTouchscreenCalibrationDescription[] =
2679 "If enabled, the user can calibrate the touch screen displays in "
2680 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092681
Mitsuru Oshima63d3f2a2017-08-23 00:12:112682// Force UI Mode
2683const char kUiModeName[] = "Force Ui Mode";
2684const char kUiModeDescription[] =
2685 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2686 R"*(despite its current orientation. "Tablet" means that the )*"
2687 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2688 R"*(means that the chromebook will act as if it were in clamshell )*"
2689 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2690 R"*(the two, based on its orientation.)*";
2691const char kUiModeTablet[] = "TouchView";
2692const char kUiModeClamshell[] = "Clamshell";
2693const char kUiModeAuto[] = "Auto (default)";
2694
bruthigeafb0c02017-06-09 13:11:532695const char kUiDevToolsName[] = "Enable native UI inspection";
2696const char kUiDevToolsDescription[] =
2697 "Enables inspection of native UI elements. For local inspection use "
2698 "chrome://inspect#other";
2699
Brett Wilson7b44537e2017-08-18 01:38:282700const char kUseMusName[] = "Mus";
2701const char kUseMusDescription[] = "Enable the Mojo UI service.";
2702const char kEnableMashDescription[] =
2703 "Mash (UI, Chrome and ash in separate services)";
2704const char kEnableMusDescription[] =
2705 "Mus (UI in separate service, Chrome and ash in same service)";
2706
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342707// TODO(mcasas): remove after https://crbug.com/771345.
2708const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2709const char kUseMonitorColorSpaceDescription[] =
2710 "Enables Chrome to use the color space information provided by the monitor"
2711 " instead of the default sRGB color space.";
2712
Brett Wilson7b44537e2017-08-18 01:38:282713const char kVideoPlayerChromecastSupportName[] =
2714 "Experimental Chromecast support for Video Player";
2715const char kVideoPlayerChromecastSupportDescription[] =
2716 "This option enables experimental Chromecast support for Video Player app "
2717 "on ChromeOS.";
2718
2719const char kVirtualKeyboardName[] = "Virtual Keyboard";
2720const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2721
2722const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2723const char kVirtualKeyboardOverscrollDescription[] =
2724 "Enables virtual keyboard overscroll support.";
2725
2726const char kVoiceInputName[] = "Voice input on virtual keyboard";
2727const char kVoiceInputDescription[] =
2728 "Enables voice input on virtual keyboard.";
2729
2730const char kWakeOnPacketsName[] = "Wake On Packets";
2731const char kWakeOnPacketsDescription[] =
2732 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202733
yhanadac5bff5b2017-05-18 06:37:092734#endif // defined(OS_CHROMEOS)
2735
Brett Wilson7b44537e2017-08-18 01:38:282736// Random platform combinations -----------------------------------------------
2737
2738#if defined(OS_WIN) || defined(OS_LINUX)
2739
2740const char kEnableInputImeApiName[] = "Enable Input IME API";
2741const char kEnableInputImeApiDescription[] =
2742 "Enable the use of chrome.input.ime API.";
2743
2744#endif // defined(OS_WIN) || defined(OS_LINUX)
2745
2746#if defined(OS_WIN) || defined(OS_MACOSX)
2747
2748const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2749const char kAutomaticTabDiscardingDescription[] =
2750 "If enabled, tabs get automatically discarded from memory when the system "
2751 "memory is low. Discarded tabs are still visible on the tab strip and get "
2752 "reloaded when clicked on. Info about discarded tabs can be found at "
2753 "chrome://discards.";
2754
2755#endif // defined(OS_WIN) || defined(OS_MACOSX)
2756
2757// Feature flags --------------------------------------------------------------
2758
2759#if BUILDFLAG(ENABLE_VR)
2760
David Dorwin5a496c32017-11-17 01:45:052761const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2762const char kWebVrVsyncAlignDescription[] =
2763 "Align WebVR application rendering with VSync for smoother animations.";
2764
Brett Wilson7b44537e2017-08-18 01:38:282765#if defined(OS_ANDROID)
2766
David Dorwin5a496c32017-11-17 01:45:052767const char kVrBrowsingName[] = "VR browsing";
2768const char kVrBrowsingDescription[] =
2769 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282770
Yash Malik50bcfc12017-11-18 00:47:592771const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2772const char kVrBrowserKeyboardDescription[] =
2773 "Enable a virtual keyboard for Chrome VR.";
2774
David Dorwin5a496c32017-11-17 01:45:052775const char kVrBrowsingExperimentalFeaturesName[] =
2776 "VR browsing experimental features";
2777const char kVrBrowsingExperimentalFeaturesDescription[] =
2778 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282779
David Dorwin5a496c32017-11-17 01:45:052780const char kVrBrowsingExperimentalRenderingName[] =
2781 "VR browsing experimental rendering features";
2782const char kVrBrowsingExperimentalRenderingDescription[] =
2783 "Experimental rendering features for VR browsing (e.g. power-saving "
2784 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102785
David Dorwin5a496c32017-11-17 01:45:052786const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2787const char kVrBrowsingInCustomTabDescription[] =
2788 "Allow browsing within a VR headset while in a Custom Tab.";
2789
2790const char kVrLaunchIntentsName[] = "VR intents";
2791const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262792 "Allow intents to launch Chrome in VR mode.";
2793
David Dorwin5a496c32017-11-17 01:45:052794const char kWebVrAutopresentFromIntentName[] =
2795 "WebVR auto presentation from intents";
2796const char kWebVrAutopresentFromIntentDescription[] =
2797 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282798
2799#endif // OS_ANDROID
2800
Bill Orr49527562017-11-22 16:58:482801#if BUILDFLAG(ENABLE_OPENVR)
2802const char kOpenVRName[] = "OpenVR hardware support";
2803const char kOpenVRDescription[] =
2804 "If enabled, Chrome will use OpenVR devices for VR.";
2805#endif // ENABLE_OPENVR
2806
Brett Wilson7b44537e2017-08-18 01:38:282807#endif // ENABLE_VR
2808
Nico Weberaf3b00b2017-09-11 17:58:172809#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282810
2811const char kNaclDebugMaskName[] =
2812 "Restrict Native Client GDB-based debugging by pattern";
2813const char kNaclDebugMaskDescription[] =
2814 "Restricts Native Client application GDB-based debugging by URL of "
2815 "manifest file. Native Client GDB-based debugging must be enabled for this "
2816 "option to work.";
2817const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2818const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2819 "Debug everything except secure shell and the PNaCl translator.";
2820const char kNaclDebugMaskChoiceIncludeDebug[] =
2821 "Debug only if manifest URL ends with debug.nmf.";
2822
2823const char kNaclDebugName[] = "Native Client GDB-based debugging";
2824const char kNaclDebugDescription[] =
2825 "Enable GDB debug stub. This will stop a Native Client application on "
2826 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2827
2828const char kNaclName[] = "Native Client";
2829const char kNaclDescription[] =
2830 "Support Native Client for all web applications, even those that were not "
2831 "installed from the Chrome Web Store.";
2832
2833const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2834const char kPnaclSubzeroDescription[] =
2835 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2836
Nico Weberaf3b00b2017-09-11 17:58:172837#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282838
Brett Wilson7b44537e2017-08-18 01:38:282839#if BUILDFLAG(ENABLE_WEBRTC)
2840
2841const char kWebrtcH264WithOpenh264FfmpegName[] =
2842 "WebRTC H.264 software video encoder/decoder";
2843const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2844 "When enabled, an H.264 software video encoder/decoder pair is included. "
2845 "If a hardware encoder/decoder is also available it may be used instead of "
2846 "this encoder/decoder.";
2847
2848#endif // BUILDFLAG(ENABLE_WEBRTC)
2849
James Cookf9d34d22017-10-04 16:39:352850#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282851
Wenzhao Zang50fb0b22017-11-07 01:38:422852const char kAshDisableLoginDimAndBlurName[] =
2853 "Disable dimming and blur on login screen.";
2854const char kAshDisableLoginDimAndBlurDescription[] =
2855 "Disable dimming and blur on login screen.";
2856
Brett Wilson7b44537e2017-08-18 01:38:282857const char kAshDisableSmoothScreenRotationName[] =
2858 "Disable smooth rotation animations.";
2859const char kAshDisableSmoothScreenRotationDescription[] =
2860 "Disable smooth rotation animations.";
2861
Qiang Xub7e921072017-12-07 21:02:112862const char kAshEnableDisplayMoveWindowAccelsName[] =
2863 "Enable shortcuts for moving window between displays.";
2864const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2865 "Enable shortcuts for moving window between displays.";
2866
wutaoc70d7b92017-11-01 08:06:012867const char kAshEnableKeyboardShortcutViewerName[] =
2868 "Enable keyboard shortcut viewer.";
2869const char kAshEnableKeyboardShortcutViewerDescription[] =
2870 "Enable keyboard shortcut viewer.";
2871
Brett Wilson7b44537e2017-08-18 01:38:282872const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2873const char kAshEnableMirroredScreenDescription[] =
2874 "Enable the mirrored screen mode. This mode flips the screen image "
2875 "horizontally.";
2876
2877const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2878const char kAshShelfColorDescription[] =
2879 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2880 "--ash-shelf-color-scheme flag defines how that color is derived.";
2881
2882const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2883const char kAshShelfColorSchemeDescription[] =
2884 "Specify how the color is derived from the wallpaper. This flag is only "
2885 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2886const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2887const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2888const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2889const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2890const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2891const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2892
Mike Wassermana38a8a62017-10-02 03:04:272893const char kAshDisableShelfModelSynchronization[] =
2894 "Disable shelf model synchronization";
2895const char kAshDisableShelfModelSynchronizationDescription[] =
2896 "Use a single in-process shelf data model shared between Chrome and Ash. "
2897 "This only applies to the Classic Ash and Mus configs; synchronization "
2898 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372899
Brett Wilson7b44537e2017-08-18 01:38:282900const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372901 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282902const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2903 "Sets the speed of the experimental visual feedback animations for "
2904 "material design.";
2905const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2906const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2907
2908const char kUiShowCompositedLayerBordersName[] =
2909 "Show UI composited layer borders";
2910const char kUiShowCompositedLayerBordersDescription[] =
2911 "Show border around composited layers created by UI.";
2912const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2913const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2914const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2915const char kUiShowCompositedLayerBordersAll[] = "All";
2916
2917const char kUiSlowAnimationsName[] = "Slow UI animations";
2918const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2919
James Cookf9d34d22017-10-04 16:39:352920#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282921
Brett Wilson7b44537e2017-08-18 01:38:282922#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2923
2924const char kAutofillCreditCardUploadName[] =
2925 "Enable offering upload of Autofilled credit cards";
2926const char kAutofillCreditCardUploadDescription[] =
2927 "Enables a new option to upload credit cards to Google Payments for sync "
2928 "to all Chrome devices.";
2929
2930#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2931
2932// ============================================================================
2933// Don't just add flags to the end, put them in the right section in
2934// alphabetical order just like the header file.
2935// ============================================================================
2936
vabr0215a8e2017-03-28 12:47:342937} // namespace flag_descriptions