blob: fdaf1b2615d1f1dd3c5766ecafc9c38d7c6b455d [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 Saula3d51862018-01-12 02:51:09284const char kEnableAutofillCreditCardUploadGooglePayBrandingName[] =
285 "Show the Google Pay logo when offering credit card upload";
286const char kEnableAutofillCreditCardUploadGooglePayBrandingDescription[] =
287 "If enabled, shows the Google Pay logo and a shorter header message when "
288 "credit card upload to Google Payments is offered.";
289
Jared Saul1e4786a2017-12-14 01:43:09290const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
291 "Always send metadata on detected form values for Autofill credit card "
292 "upload";
293const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
294 "If enabled, always checks with Google Payments when deciding whether to "
295 "offer credit card upload, even if some data is missing.";
296
Jared Saul5c2a1482017-12-09 00:24:31297const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
298 "Send first six digits of PAN when deciding whether to offer Autofill "
299 "credit card upload";
300const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
301 "If enabled, when deciding whether to offer credit card upload to Google "
302 "Payments, sends the first six digits of the card number to avoid cases "
303 "where card upload is likely to fail.";
304
Jason Guo71f621e2017-10-13 04:18:53305const char kEnableAutofillSendBillingCustomerNumberName[] =
306 "Enable autofill sending billing customer number when calling Google "
307 "Payments";
308const char kEnableAutofillSendBillingCustomerNumberDescription[] =
309 "If enabled, autofill sends billing customer number when calling Google "
310 "Payments.";
311
Mathieu Perreault069024e12017-10-24 01:14:08312const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
313 "Enable toolkit-views credit card dialogs on Mac";
314const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
315 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
316
Shanfeng Zhang18f58352018-01-05 19:22:49317const char kEnableAutofillUseNewSettingsNameInDropdownName[] =
318 "Show a new Autofill settings string in the Autofill dropdown";
319const char kEnableAutofillUseNewSettingsNameInDropdownDescription[] =
320 "If enabled, shows a new Autofill settings string in the Autofill "
321 "dropdown.";
322
Vitalii Iarko4f9834ce2017-08-04 07:05:19323const char kEnableBreakingNewsPushName[] = "Breaking News Push";
324const char kEnableBreakingNewsPushDescription[] =
325 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
326 "through Google Cloud Messaging.";
327
Brett Wilsonf27ff602017-07-07 22:28:47328const char kEnableBrotliName[] = "Brotli Content-Encoding.";
329const char kEnableBrotliDescription[] =
330 "Enable Brotli Content-Encoding support.";
331
Qiang Xu0f602fe62017-12-22 01:31:20332const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
333const char kEnableCaptivePortalRandomUrlDescription[] =
334 "Enable Captive Portal URL randomization.";
335
sclittle50e4bb92017-07-08 02:23:03336const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
337
338const char kEnableClientLoFiDescription[] =
339 "Enable showing low fidelity images on some pages on slow networks.";
340
Doug Arnett08b4067b2017-10-12 20:14:44341const char kEnableNoScriptPreviewsName[] = "NoScript previews";
342
343const char kEnableNoScriptPreviewsDescription[] =
344 "Enable disabling JavaScript on some pages on slow networks.";
345
Thanh Le2c279fbc2017-11-21 01:25:40346const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
347const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
348const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
349const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
350const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
351const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
352const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
353const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
354const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
355const char kDataReductionProxyServerAlternative10[] =
356 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47357const char kEnableDataReductionProxyServerExperimentName[] =
358 "Use an alternative Data Saver back end configuration.";
359const char kEnableDataReductionProxyServerExperimentDescription[] =
360 "Enable a different approach to saving data by configuring the back end "
361 "server";
362
363const char kEnableDataReductionProxySavingsPromoName[] =
364 "Data Saver 1 MB Savings Promo";
365const char kEnableDataReductionProxySavingsPromoDescription[] =
366 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
367 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
368 "enabled for the promo to be shown.";
369
Matt Giucad4870432017-11-24 01:04:38370const char kEnableDesktopPWAsName[] = "Desktop PWAs";
371const char kEnableDesktopPWAsDescription[] =
372 "Experimental windowing and install banner treatment for Progressive Web "
373 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17374
Brett Wilsonf27ff602017-07-07 22:28:47375const char kEnableEnumeratingAudioDevicesName[] =
376 "Experimentally enable enumerating audio devices.";
377const char kEnableEnumeratingAudioDevicesDescription[] =
378 "Experimentally enable the use of enumerating audio devices.";
379
380const char kEnableGenericSensorName[] = "Generic Sensor";
381const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25382 "Enables motion sensor classes based on Generic Sensor API, i.e. "
383 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
384 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
385
386const char kEnableGenericSensorExtraClassesName[] =
387 "Generic Sensor Extra Classes";
388const char kEnableGenericSensorExtraClassesDescription[] =
389 "Enables an extra set of sensor classes based on Generic Sensor API, which "
390 "expose previously unavailable platform features, i.e. AmbientLightSensor "
391 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47392
Brett Wilsonf27ff602017-07-07 22:28:47393const char kEnableHDRName[] = "HDR mode";
394const char kEnableHDRDescription[] =
395 "Enables HDR support on compatible displays.";
396
397const char kEnableHeapProfilingName[] = "Heap profiling";
398const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
399const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
400const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
401const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
402
403const char kEnableHttpFormWarningName[] =
404 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15405 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47406const char kEnableHttpFormWarningDescription[] =
407 "Attaches a warning UI to any password or credit card fields detected when "
408 "the top-level page is not HTTPS";
409
Sidney San Martín9375b892017-09-09 00:29:54410const char kEnableMacMaterialDesignDownloadShelfName[] =
411 "Enable Material Design download shelf";
412
413const char kEnableMacMaterialDesignDownloadShelfDescription[] =
414 "If enabled, the download shelf uses Material Design.";
415
Tatiana Gornakafb40452017-07-31 13:50:04416const char kEnableManualFallbacksFillingName[] =
417 "Manual fallbacks for password manager forms filling";
418const char kEnableManualFallbacksFillingDescription[] =
419 "If enabled, then if user clicks on the password field on a form, popup "
420 "might contain generation fallbacks or 'Show all saved passwords' "
421 "fallback.";
422
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignBookmarksName[] =
424 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34425const char kEnableMaterialDesignBookmarksDescription[] =
426 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
427 "bookmarks page.";
428
vabr0215a8e2017-03-28 12:47:34429const char kEnableMaterialDesignExtensionsName[] =
430 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34431const char kEnableMaterialDesignExtensionsDescription[] =
432 "If enabled, the chrome://extensions/ URL loads the Material Design "
433 "extensions page.";
434
Anton Urusov47cd4932017-09-19 14:41:41435const char kEnablePolicyToolName[] = "Enable policy management page";
436const char kEnablePolicyToolDescription[] =
437 "If enabled, the chrome://policy-tool URL loads a page for managing "
438 "policies.";
439
Tsuyoshi Horoea7edb72017-11-12 04:14:00440const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
441const char kEnablePWAFullCodeCacheDescription[] =
442 "Generate V8 code cache in Cache Storage while installing Service Worker "
443 "for PWAs.";
444
Weidong Guof1e5a892018-01-06 02:26:39445const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28446 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39447const char kDisableMultiMirroringDescription[] =
448 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28449
Brett Wilsonf27ff602017-07-07 22:28:47450const char kEnableNavigationTracingName[] = "Enable navigation tracing";
451const char kEnableNavigationTracingDescription[] =
452 "This is to be used in conjunction with the trace-upload-url flag. "
453 "WARNING: When enabled, Chrome will record performance data for every "
454 "navigation and upload it to the URL specified by the trace-upload-url "
455 "flag. The trace may include personally identifiable information (PII) "
456 "such as the titles and URLs of websites you visit.";
457
Bernhard Bauer5533f9912017-11-06 17:56:02458const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
459const char kEnableNetworkLoggingToFileDescription[] =
460 "Enables network logging to a file named netlog.json in the user data "
461 "directory. The file can be imported into chrome://net-internals.";
462
Brett Wilsonf27ff602017-07-07 22:28:47463const char kEnableNetworkServiceName[] = "Enable network service";
464const char kEnableNetworkServiceDescription[] =
465 "Enables the network service, which makes network requests through a "
466 "separate service. Note: most features don't work with this yet.";
467
John Abd-El-Malek8067cc02017-12-04 23:23:20468const char kEnableNetworkServiceInProcessName[] =
469 "Runs network service in-process";
470const char kEnableNetworkServiceInProcessDescription[] =
471 "Runs the network service in the browser process.";
472
dpapaded8349472017-10-25 03:21:27473const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
474const char kEnableNewPrintPreviewDescription[] =
475 "If enabled, Print Preview will display a newer UI";
476
Ahmed Fakhry2fd8fc82017-07-28 16:31:12477const char kEnableNightLightName[] = "Enable Night Light";
478const char kEnableNightLightDescription[] =
479 "Enable the Night Light feature which controls the color temperature of "
480 "the screen.";
481
Sophie Chang117a3b22017-10-24 22:25:36482const char kEnableOptimizationHintsName[] = "Optimization Hints";
483const char kEnableOptimizationHintsDescription[] =
484 "Enable the Optimization Hints feature which incorporates server hints"
485 "into decisions for what optimizations to perform on some pages on slow "
486 "networks.";
487
Yutaka Hirano98be3272017-08-07 17:55:39488const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
489const char kEnableOutOfBlinkCORSDescription[] =
490 "CORS handling logic is moved out of blink.";
491
Erik Chen49bbfa22017-08-18 08:49:56492const char kEnableOutOfProcessHeapProfilingName[] =
493 "Out of process heap profiling.";
494const char kEnableOutOfProcessHeapProfilingDescription[] =
495 "Creates a profiling service that records stacktraces for all live, "
496 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36497const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
498 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56499const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
erikchen0a5dd692017-12-12 00:53:10500const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] =
501 "Profiles all renderers.";
Albert J. Wongbd5bd902017-11-09 19:56:15502const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
503 "Profile only the browser processes.";
504const char kEnableOutOfProcessHeapProfilingModeGpu[] =
505 "Profile only the GPU processes.";
erikchen0a5dd692017-12-12 00:53:10506const char kEnableOutOfProcessHeapProfilingModeManual[] =
507 "By default, no processes are profiled. User may choose to start-profiling "
508 "processes via chrome://memory-internals.";
Albert J. Wongbd5bd902017-11-09 19:56:15509const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
510 "Profile a random sampling of renderer processes, ensuring only one is "
511 "ever profiled at a time.";
Erik Chen8bb76b52017-12-06 19:06:25512const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
513 "Keep track of even the small allocations in memlog heap dumps.";
514const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
515 "By default, small allocations are pruned from the heap dump. This reduces "
516 "the size of the compressed trace by 100x. If pruning is disabled, the "
517 "chrome://tracing UI may be unable to take or load the trace. Save the "
518 "trace directly using chrome://memory-internals, and use other mechanisms "
519 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
520 "automatically uploaded traces will always be pruned. This only affects "
521 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56522
Erik Chen3303fd0232018-01-11 20:29:05523const char kOOPHPStackModeName[] =
524 "The type of stack to record for memlog heap dumps";
525const char kOOPHPStackModeDescription[] =
526 "By default, memlog heap dumps record a native stack, which requires "
527 "symbolization. It's also possible to record a pseudo stack using trace "
528 "events as identifiers. It's also possible to do a mix of both.";
529const char kOOPHPStackModeMixed[] =
530 "Record a mix of pseudo and native stack frames";
531const char kOOPHPStackModeNative[] =
532 "Record instruction addresses from unwinding the stack. The result "
533 "requires symbolization. Does not produce valid results on Android on "
534 "official arm32 builds. Requires a custom build with frame pointers "
535 "enabled.";
536const char kOOPHPStackModePseudo[] = "Uses trace events as identifiers";
537
Brett Wilsonf27ff602017-07-07 22:28:47538const char kEnablePictureInPictureName[] = "Enable picture in picture.";
539const char kEnablePictureInPictureDescription[] =
540 "Enable the picture in picture feature for videos.";
541
F#m59d036e2017-09-13 07:22:17542const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
543const char kEnablePixelCanvasRecordingDescription[] =
544 "Pixel canvas recording allows the compositor to raster contents aligned "
545 "with the pixel and improves text rendering. This should be enabled when a "
546 "device is using fractional scale factor.";
547
Brett Wilsonf27ff602017-07-07 22:28:47548const char kEnableTokenBindingName[] = "Token Binding.";
549const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
550
Sahel Sharifyd732ab12017-11-29 23:03:16551extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
552 "Wheel Scroll Latching.";
553extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
554 "Wheel scroll latching enforces latching to a single element for the "
555 "duration of a scroll sequence.";
556
Brett Wilsonf27ff602017-07-07 22:28:47557const char kEnableUseZoomForDsfName[] =
558 "Use Blink's zoom for device scale factor.";
559const char kEnableUseZoomForDsfDescription[] =
560 "If enabled, Blink uses its zooming mechanism to scale content for device "
561 "scale factor.";
562const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
563const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
564const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
565
566const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
567const char kEnableScrollAnchoringDescription[] =
568 "Adjusts scroll position to prevent visible jumps when offscreen content "
569 "changes.";
570
Brad Nelson5cd500e2018-01-04 00:50:19571const char kEnableSharedArrayBufferName[] =
572 "Experimental enabled SharedArrayBuffer support in JavaScript.";
573const char kEnableSharedArrayBufferDescription[] =
574 "Enable SharedArrayBuffer support in JavaScript.";
575
Brett Wilsonf27ff602017-07-07 22:28:47576const char kEnableWasmName[] = "WebAssembly structured cloning support.";
577const char kEnableWasmDescription[] =
578 "Enable web pages to use WebAssembly structured cloning.";
579
Brett Wilsonf27ff602017-07-07 22:28:47580const char kEnableImageCaptureAPIName[] = "Image Capture API";
581const char kEnableImageCaptureAPIDescription[] =
582 "Enables the Web Platform Image Capture API: takePhoto(), "
583 "getPhotoCapabilities(), etc.";
584
585const char kEnableZeroSuggestRedirectToChromeName[] =
586 "Experimental contextual omnibox suggestion";
587const char kEnableZeroSuggestRedirectToChromeDescription[] =
588 "Change omnibox contextual suggestions to an experimental source. Note "
589 "that this is not an on/off switch for contextual omnibox and it only "
590 "applies to suggestions provided before the user starts typing a URL or a "
591 "search query (i.e. zero suggest).";
592
593const char kEnableWasmStreamingName[] =
594 "WebAssembly streaming compile/instantiate support.";
595const char kEnableWasmStreamingDescription[] =
596 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
597
Brett Wilsonf27ff602017-07-07 22:28:47598const char kExpensiveBackgroundTimerThrottlingName[] =
599 "Throttle expensive background timers";
600const char kExpensiveBackgroundTimerThrottlingDescription[] =
601 "Enables intervention to limit CPU usage of background timers to 1%.";
602
603const char kExperimentalAppBannersName[] = "Experimental app banners";
604const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38605 "Enables a new experimental app banner flow and UI. Implies "
606 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47607
608const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
609const char kExperimentalCanvasFeaturesDescription[] =
610 "Enables the use of experimental canvas features which are still in "
611 "development.";
612
613const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
614const char kExperimentalExtensionApisDescription[] =
615 "Enables experimental extension APIs. Note that the extension gallery "
616 "doesn't allow you to upload extensions that use experimental APIs.";
617
618const char kExperimentalFullscreenExitUIName[] =
619 "Experimental fullscreen exit UI";
620const char kExperimentalFullscreenExitUIDescription[] =
621 "Displays experimental UI to allow mouse and touch input methods to exit "
622 "fullscreen mode.";
623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
625const char kExperimentalKeyboardLockUiDescription[] =
626 "An experimental full screen with keyboard lock mode requiring users to "
627 "hold Esc to exit.";
628
629const char kExperimentalSecurityFeaturesName[] =
630 "Potentially annoying security features";
631const char kExperimentalSecurityFeaturesDescription[] =
632 "Enables several security features that will likely break one or more "
633 "pages that you visit on a daily basis. Strict mixed content checking, for "
634 "example. And locking powerful features to secure contexts. This flag will "
635 "probably annoy you.";
636
637const char kExperimentalWebPlatformFeaturesName[] =
638 "Experimental Web Platform features";
639const char kExperimentalWebPlatformFeaturesDescription[] =
640 "Enables experimental Web Platform features that are in development.";
641
642const char kExtensionContentVerificationName[] =
643 "Extension Content Verification";
644const char kExtensionContentVerificationDescription[] =
645 "This flag can be used to turn on verification that the contents of the "
646 "files on disk for extensions from the webstore match what they're "
647 "expected to be. This can be used to turn on this feature if it would not "
648 "otherwise have been turned on, but cannot be used to turn it off (because "
649 "this setting can be tampered with by malware).";
650const char kExtensionContentVerificationBootstrap[] =
651 "Bootstrap (get expected hashes, but do not enforce them)";
652const char kExtensionContentVerificationEnforce[] =
653 "Enforce (try to get hashes, and enforce them if successful)";
654const char kExtensionContentVerificationEnforceStrict[] =
655 "Enforce strict (hard fail if we can't get hashes)";
656
657const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
658const char kExtensionsOnChromeUrlsDescription[] =
659 "Enables running extensions on chrome:// URLs, where extensions explicitly "
660 "request this permission.";
galinapae72e152017-05-12 13:12:28661
Brett Wilsonecb80982017-07-12 20:34:51662const char kFastUnloadName[] = "Fast tab/window close";
663const char kFastUnloadDescription[] =
664 "Enables fast tab/window closing - runs a tab's onunload js handler "
665 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34666
Brett Wilsonecb80982017-07-12 20:34:51667const char kFeaturePolicyName[] = "Feature Policy";
668const char kFeaturePolicyDescription[] =
669 "Enables granting and removing access to features through the "
670 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34671
Brett Wilsonecb80982017-07-12 20:34:51672const char kFontCacheScalingName[] = "FontCache scaling";
673const char kFontCacheScalingDescription[] =
674 "Reuse a cached font in the renderer to serve different sizes of font for "
675 "faster layout.";
676
677const char kForceEffectiveConnectionTypeName[] =
678 "Override effective connection type";
679const char kForceEffectiveConnectionTypeDescription[] =
680 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30681 "returned by the network quality estimator. Slow 2G on Cellular returns "
682 "Slow 2G when connected to a cellular network, and the actual estimate "
683 "effective connection type when not on a cellular network. Previews are "
684 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51685const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
686const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
687const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30688const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
689 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51690const char kEffectiveConnectionType2GDescription[] = "2G";
691const char kEffectiveConnectionType3GDescription[] = "3G";
692const char kEffectiveConnectionType4GDescription[] = "4G";
693
694const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
695const char kFillOnAccountSelectDescription[] =
696 "Filling of passwords when an account is explicitly selected by the user "
697 "rather than autofilling credentials on page load.";
698
Brett Wilsonecb80982017-07-12 20:34:51699const char kForceTextDirectionName[] = "Force text direction";
700const char kForceTextDirectionDescription[] =
701 "Explicitly force the per-character directionality of UI text to "
702 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
703 "direction of the character language.";
704const char kForceDirectionLtr[] = "Left-to-right";
705const char kForceDirectionRtl[] = "Right-to-left";
706
707const char kForceUiDirectionName[] = "Force UI direction";
708const char kForceUiDirectionDescription[] =
709 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
710 "mode, overriding the default direction of the UI language.";
711
712const char kFramebustingName[] =
713 "Framebusting requires same-origin or a user gesture";
714const char kFramebustingDescription[] =
715 "Don't permit an iframe to navigate the top level browsing context unless "
716 "they are same-origin or the iframe is processing a user gesture.";
717
718const char kGamepadExtensionsName[] = "Gamepad Extensions";
719const char kGamepadExtensionsDescription[] =
720 "Enabling this option allows web applications to access experimental "
721 "extensions to the Gamepad APIs.";
722
Brett Wilsonecb80982017-07-12 20:34:51723const char kGpuRasterizationMsaaSampleCountName[] =
724 "GPU rasterization MSAA sample count.";
725const char kGpuRasterizationMsaaSampleCountDescription[] =
726 "Specify the number of MSAA samples for GPU rasterization.";
727const char kGpuRasterizationMsaaSampleCountZero[] = "0";
728const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
729const char kGpuRasterizationMsaaSampleCountFour[] = "4";
730const char kGpuRasterizationMsaaSampleCountEight[] = "8";
731const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
732
733const char kGpuRasterizationName[] = "GPU rasterization";
734const char kGpuRasterizationDescription[] =
735 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28736const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51737
738const char kGoogleProfileInfoName[] = "Google profile name and icon";
739const char kGoogleProfileInfoDescription[] =
740 "Enables using Google information to populate the profile name and icon in "
741 "the avatar menu.";
742
743const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
744const char kHarfbuzzRendertextDescription[] =
745 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
746 "web content.";
747
748const char kHistoryRequiresUserGestureName[] =
749 "New history entries require a user gesture.";
750const char kHistoryRequiresUserGestureDescription[] =
751 "Require a user gesture to add a history entry.";
752const char kHyperlinkAuditingName[] = "Hyperlink auditing";
753const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
754
755const char kHostedAppQuitNotificationName[] =
756 "Quit notification for hosted apps";
757const char kHostedAppQuitNotificationDescription[] =
758 "Display a notification when quitting Chrome if hosted apps are currently "
759 "running.";
760
761const char kHostedAppShimCreationName[] =
762 "Creation of app shims for hosted apps on Mac";
763const char kHostedAppShimCreationDescription[] =
764 "Create app shims on Mac when creating a hosted app.";
765
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48766const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
767const char kHtmlBasedUsernameDetectorDescription[] =
768 "Use HTML-based username detector for the password manager.";
769
Brett Wilsonecb80982017-07-12 20:34:51770const char kIconNtpName[] = "Large icons on the New Tab page";
771const char kIconNtpDescription[] =
772 "Enable the experimental New Tab page using large icons.";
773
774const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
775const char kIgnoreGpuBlacklistDescription[] =
776 "Overrides the built-in software rendering list and enables "
777 "GPU-acceleration on unsupported system configurations.";
778
Thanh Le5f090efa52017-12-27 22:39:44779const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
780const char kIgnorePreviewsBlacklistDescription[] =
781 "Ignore decisions made by the PreviewsBlackList";
782
Brett Wilsonecb80982017-07-12 20:34:51783const char kImportantSitesInCbdName[] =
784 "Important sites options in clear browsing data dialog";
785const char kImportantSitesInCbdDescription[] =
786 "Include the option to whitelist important sites in the clear browsing "
787 "data dialog.";
788
Claudio Magni61c210922017-12-28 00:29:51789const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
790const char kImprovedLanguageSettingsDescription[] =
791 "Set of changes for Language Settings. These changes are intended to fix "
792 "the major bugs related to Language Settings.";
793
Brett Wilsonecb80982017-07-12 20:34:51794const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
795const char kInProductHelpDemoModeChoiceDescription[] =
796 "Selects the In-Product Help demo mode.";
797
798const char kJavascriptHarmonyName[] = "Experimental JavaScript";
799const char kJavascriptHarmonyDescription[] =
800 "Enable web pages to use experimental JavaScript features.";
801
802const char kJavascriptHarmonyShippingName[] =
803 "Latest stable JavaScript features";
804const char kJavascriptHarmonyShippingDescription[] =
805 "Some web pages use legacy or non-standard JavaScript extensions that may "
806 "conflict with the latest JavaScript features. This flag allows disabling "
807 "support of those features for compatibility with such pages.";
808
Yutaka Hiranof7f2f632017-09-06 10:40:08809const char kKeepAliveRendererForKeepaliveRequestsName[] =
810 "Keep a renderer alive for keepalive fetch requests";
811const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
812 "Keep a render process alive when the process has a pending fetch request "
813 "with `keepalive' specified.";
814
Brett Wilsonecb80982017-07-12 20:34:51815const char kLcdTextName[] = "LCD text antialiasing";
816const char kLcdTextDescription[] =
817 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
818 "(subpixel) when doing accelerated compositing.";
819
Matt Giucac399982f2017-10-06 07:51:29820const char kLeftToRightUrlsName[] =
821 "Render bidirectional URLs from left to right";
822const char kLeftToRightUrlsDescription[] =
823 "An experimental Bidi URL rendering algorithm where the URL components are "
824 "always shown in order from left to right, regardless of any RTL "
825 "characters. (The contents of each component are still rendered with the "
826 "normal Bidi algorithm.)";
827
Brett Wilsonecb80982017-07-12 20:34:51828const char kLoadMediaRouterComponentExtensionName[] =
829 "Load Media Router Component Extension";
830const char kLoadMediaRouterComponentExtensionDescription[] =
831 "Loads the Media Router component extension at startup.";
832
833const char kManualPasswordGenerationName[] = "Manual password generation.";
834const char kManualPasswordGenerationDescription[] =
835 "Show a 'Generate Password' option on the context menu for all password "
836 "fields.";
837
Dominic Battref27e8762017-08-23 11:16:25838const char kManualPasswordSavingName[] = "Manual password saving.";
839const char kManualPasswordSavingDescription[] =
840 "Show the password manager icon when typing into a password filed. "
841 "Clicking it allows to save the password without submitting the form.";
842
Brett Wilsonecb80982017-07-12 20:34:51843const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
844const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51845
Lei Zhang2eca9082017-10-17 20:42:50846const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
847const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51848 "If enabled, the Incognito New Tab page uses the new material design with "
849 "a better readable text.";
850
851const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
852const char kMediaRemotingDescription[] =
853 "When Casting a tab to a remote device, enabling this turns on an "
854 "optimization that forwards the content bitstream directly to the remote "
855 "device when a video is fullscreened.";
856
857const char kMemoryAblationName[] = "Memory ablation experiment";
858const char kMemoryAblationDescription[] =
859 "Allocates extra memory in the browser process.";
860
861const char kMemoryCoordinatorName[] = "Memory coordinator";
862const char kMemoryCoordinatorDescription[] =
863 "Enable memory coordinator instead of memory pressure listeners.";
864
865const char kMessageCenterNewStyleNotificationName[] = "New style notification";
866const char kMessageCenterNewStyleNotificationDescription[] =
867 "Enables the experiment style of material-design notification";
868
Brett Wilsonecb80982017-07-12 20:34:51869const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
870const char kMhtmlGeneratorOptionDescription[] =
871 "Provides experimental options for MHTML file generator.";
872const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
873const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
874
Kouhei Ueno08445c22017-09-05 03:58:30875const char kModuleScriptsDynamicImportName[] =
876 "Enable ECMAScript 6 modules dynamic import";
877const char kModuleScriptsDynamicImportDescription[] =
878 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
879 "Blink.";
880
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05881const char kModuleScriptsImportMetaUrlName[] =
882 "Enable ECMAScript 6 modules import.meta.url";
883const char kModuleScriptsImportMetaUrlDescription[] =
884 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
885 "Blink.";
886
Brett Wilsonecb80982017-07-12 20:34:51887const char kNewAudioRenderingMixingStrategyName[] =
888 "New audio rendering mixing strategy";
889const char kNewAudioRenderingMixingStrategyDescription[] =
890 "Use the new audio rendering mixing strategy.";
891
892const char kNewBookmarkAppsName[] = "The new bookmark app system";
893const char kNewBookmarkAppsDescription[] =
894 "Enables the new system for creating bookmark apps.";
895
Brett Wilsonecb80982017-07-12 20:34:51896const char kNewRemotePlaybackPipelineName[] =
897 "Enable the new remote playback pipeline.";
898const char kNewRemotePlaybackPipelineDescription[] =
899 "Enable the new pipeline for playing media element remotely via "
900 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50901const char kUseSurfaceLayerForVideoName[] =
902 "Enable the use of SurfaceLayer objects for videos.";
903const char kUseSurfaceLayerForVideoDescription[] =
904 "Enable compositing onto a Surface instead of a VideoLayer "
905 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51906
907const char kNewUsbBackendName[] = "Enable new USB backend";
908const char kNewUsbBackendDescription[] =
909 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34910
brettw5f9c1642017-05-14 17:12:48911const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34912const char kNostatePrefetchDescription[] =
913 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
914 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
915 R"*(improve load times even more. "Simple Load" does nothing and is )*"
916 R"*(similar to disabling the feature, but collects more metrics for )*"
917 R"*(comparison purposes.)*";
918
Brett Wilsonecb80982017-07-12 20:34:51919const char kNotificationsNativeFlagName[] = "Enable native notifications.";
920const char kNotificationsNativeFlagDescription[] =
921 "Enable support for using the native notification toasts and notification "
922 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34923
Zentaro Kavanaghbad511c2017-10-18 22:29:00924#if defined(OS_POSIX)
925const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
926const char kNtlmV2EnabledDescription[] =
927 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
928#endif
929
Brett Wilsonecb80982017-07-12 20:34:51930const char kNumRasterThreadsName[] = "Number of raster threads";
931const char kNumRasterThreadsDescription[] =
932 "Specify the number of raster threads.";
933const char kNumRasterThreadsOne[] = "1";
934const char kNumRasterThreadsTwo[] = "2";
935const char kNumRasterThreadsThree[] = "3";
936const char kNumRasterThreadsFour[] = "4";
937
938const char kOfferStoreUnmaskedWalletCardsName[] =
939 "Google Payments card saving checkbox";
940const char kOfferStoreUnmaskedWalletCardsDescription[] =
941 "Show the checkbox to offer local saving of a credit card downloaded from "
942 "the server.";
943
944const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
945const char kOfflineAutoReloadDescription[] =
946 "Pages that fail to load while the browser is offline will be "
947 "auto-reloaded when the browser is online again.";
948
949const char kOfflineAutoReloadVisibleOnlyName[] =
950 "Only Auto-Reload Visible Tabs";
951const char kOfflineAutoReloadVisibleOnlyDescription[] =
952 "Pages that fail to load while the browser is offline will only be "
953 "auto-reloaded if their tab is visible.";
954
Brett Wilsonecb80982017-07-12 20:34:51955const char kOmniboxDisplayTitleForCurrentUrlName[] =
956 "Include title for the current URL in the omnibox";
957const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
958 "In the event that the omnibox provides suggestions on-focus, the URL of "
959 "the current page is provided as the first suggestion without a title. "
960 "Enabling this flag causes the title to be displayed.";
961
Benoit Lizeab08362c2017-07-19 14:50:54962const char kOmniboxSpareRendererName[] =
963 "Start spare renderer on omnibox focus";
964const char kOmniboxSpareRendererDescription[] =
965 "When the omnibox is focused, start an empty spare renderer. This can "
966 "speed up the load of the navigation from the omnibox.";
967
Tommy C. Li8875a442017-08-23 00:10:59968const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
969 "Omnibox UI Elide Suggestion URL After Host";
970const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
971 "Elides the path, query, and ref of suggested URLs in the Omnibox "
972 "dropdown.";
973
Tommy C. Lid79d4402017-12-22 22:49:12974const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
975 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
976const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
977 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
978 "displayed URLs. Hidden portions are restored during editing.";
979
Brett Wilsonecb80982017-07-12 20:34:51980const char kOmniboxUIHideSuggestionUrlSchemeName[] =
981 "Omnibox UI Hide Suggestion URL Scheme";
982const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
983 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
984
985const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
986 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
987const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
988 "Elides trivially informative subdomains from suggested URLs in the "
989 "Omnibox dropdown (e.g. www. and m.).";
990
991const char kOmniboxUIMaxAutocompleteMatchesName[] =
992 "Omnibox UI Max Autocomplete Matches";
993
994const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
995 "Changes the maximum number of autocomplete matches displayed in the "
996 "Omnibox UI.";
997
998const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
999const char kOmniboxUINarrowDropdownDescription[] =
1000 "Makes the suggestions dropdown width match the omnibox width.";
1001
Justin Donnelly65c9e8b2017-10-01 05:15:011002const char kOmniboxUIShowSuggestionFaviconsName[] =
1003 "Omnibox UI Show Suggestion Favicons";
1004const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1005 "Shows favicons instead of generic vector icons for URL suggestions in the "
1006 "Omnibox dropdown.";
1007
1008const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1009const char kOmniboxUISwapTitleAndUrlDescription[] =
1010 "In the omnibox dropdown, shows titles before URLs when both are "
1011 "available.";
1012
Brett Wilsonecb80982017-07-12 20:34:511013const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1014const char kOmniboxUIVerticalLayoutDescription[] =
1015 "Displays Omnibox sugestions in 2 lines - title over origin.";
1016
1017const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1018const char kOmniboxUIVerticalMarginDescription[] =
1019 "Changes the vertical margin in the Omnibox UI.";
1020
1021const char kOriginTrialsName[] = "Origin Trials";
1022const char kOriginTrialsDescription[] =
1023 "Enables origin trials for controlling access to feature/API experiments.";
1024
Becca Hughes930d8cd2017-10-02 11:09:121025const char kOverflowIconsForMediaControlsName[] =
1026 "Icons on Media Controls Overflow Menu";
1027const char kOverflowIconsForMediaControlsDescription[] =
1028 "Displays icons on the overflow menu of the native media controls";
1029
Brett Wilsonecb80982017-07-12 20:34:511030const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1031const char kOverlayScrollbarsDescription[] =
1032 "Enable the experimental overlay scrollbars implementation. You must also "
1033 "enable threaded compositing to have the scrollbars animate.";
1034
chaopenge8aa016b2017-08-24 15:20:191035const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1036 "Flash Overlay Scrollbars After Any Scroll Update";
1037const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1038 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1039 " must also enable Overlay Scrollbars.";
1040
chaopeng343678022017-08-24 18:45:001041const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1042 "Flash Overlay Scrollbars When Mouse Enter";
1043const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1044 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1045 " enable Overlay Scrollbars.";
1046
Claudio Magni81326f92017-09-01 05:21:181047const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1048const char kUseNewAcceptLanguageHeaderDescription[] =
1049 "Adds the base language code after other corresponding language+region "
1050 "codes. This ensures that users receive content in their preferred "
1051 "language.";
1052
Brett Wilsonecb80982017-07-12 20:34:511053const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1054const char kOverscrollHistoryNavigationDescription[] =
1055 "Experimental history navigation in response to horizontal overscroll.";
1056const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1057
1058const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1059const char kOverscrollStartThresholdDescription[] =
1060 "Changes overscroll start threshold relative to the default value.";
1061const char kOverscrollStartThreshold133Percent[] = "133%";
1062const char kOverscrollStartThreshold166Percent[] = "166%";
1063const char kOverscrollStartThreshold200Percent[] = "200%";
1064
Xing Liu5400a002017-09-15 21:48:291065const char kParallelDownloadingName[] = "Parallel downloading";
1066const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061067 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291068
Brett Wilsonecb80982017-07-12 20:34:511069const char kPassiveEventListenerDefaultName[] =
1070 "Passive Event Listener Override";
1071const char kPassiveEventListenerDefaultDescription[] =
1072 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1073 "haven't requested otherwise) to be treated as passive. This will break "
1074 "touch/wheel behavior on some websites but is useful for demonstrating the "
1075 "potential performance benefits of adopting passive event listeners.";
1076const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1077const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1078
1079const char kPassiveEventListenersDueToFlingName[] =
1080 "Touch Event Listeners Passive Default During Fling";
1081const char kPassiveEventListenersDueToFlingDescription[] =
1082 "Forces touchstart, and first touchmove per scroll event listeners during "
1083 "fling to be treated as passive.";
1084
1085const char kPassiveDocumentEventListenersName[] =
1086 "Document Level Event Listeners Passive Default";
1087const char kPassiveDocumentEventListenersDescription[] =
1088 "Forces touchstart, and touchmove event listeners on document level "
1089 "targets (which haven't requested otherwise) to be treated as passive.";
1090
1091const char kPasswordForceSavingName[] = "Force-saving of passwords";
1092const char kPasswordForceSavingDescription[] =
1093 "Allow the user to manually enforce password saving instead of relying on "
1094 "password manager's heuristics.";
1095
1096const char kPasswordGenerationName[] = "Password generation";
1097const char kPasswordGenerationDescription[] =
1098 "Allow the user to have Chrome generate passwords when it detects account "
1099 "creation pages.";
1100
Vaclav Brozekd8a3f542017-11-16 14:21:131101const char kPasswordExportName[] = "Password export";
1102const char kPasswordExportDescription[] =
1103 "Export functionality in password settings.";
1104
1105const char kPasswordImportName[] = "Password import";
1106const char kPasswordImportDescription[] =
1107 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511108
1109const char kPermissionActionReportingName[] = "Permission Action Reporting";
1110const char kPermissionActionReportingDescription[] =
1111 "Enables permission action reporting to Safe Browsing servers for opted in "
1112 "users.";
1113
1114const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1115const char kPermissionsBlacklistDescription[] =
1116 "Enables the Permissions Blacklist, which blocks permissions for "
1117 "blacklisted sites for Safe Browsing users.";
1118
1119const char kPinchScaleName[] = "Pinch scale";
1120const char kPinchScaleDescription[] =
1121 "Enables experimental support for scale using pinch.";
1122
Brett Wilsonecb80982017-07-12 20:34:511123const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1124const char kPrintPdfAsImageDescription[] =
1125 "If enabled, an option to print PDF files as images will be available in "
1126 "print preview.";
1127
1128const char kPrintPreviewRegisterPromosName[] =
1129 "Print Preview Registration Promos";
1130const char kPrintPreviewRegisterPromosDescription[] =
1131 "Enable registering unregistered cloud printers from print preview.";
1132
1133const char kProtectSyncCredentialName[] = "Autofill sync credential";
1134const char kProtectSyncCredentialDescription[] =
1135 "How the password manager handles autofill for the sync credential.";
1136
1137const char kProtectSyncCredentialOnReauthName[] =
1138 "Autofill sync credential only for transactional reauth pages";
1139const char kProtectSyncCredentialOnReauthDescription[] =
1140 "How the password manager handles autofill for the sync credential only "
1141 "for transactional reauth pages.";
1142
Mohsen Izadi93faac12017-07-29 04:45:151143const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1144const char kPullToRefreshDescription[] =
1145 "Pull-to-refresh gesture in response to vertical overscroll.";
1146
Brett Wilsonecb80982017-07-12 20:34:511147const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1148const char kPushApiBackgroundModeDescription[] =
1149 "Enable background mode for the Push API. This allows Chrome to continue "
1150 "running after the last window is closed, and to launch at OS startup, if "
1151 "the Push API needs it.";
1152
1153const char kQuicName[] = "Experimental QUIC protocol";
1154const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1155
1156const char kReducedReferrerGranularityName[] =
1157 "Reduce default 'referer' header granularity.";
1158const char kReducedReferrerGranularityDescription[] =
1159 "If a page hasn't set an explicit referrer policy, setting this flag will "
1160 "reduce the amount of information in the 'referer' header for cross-origin "
1161 "requests.";
1162
Mihai Sardarescu6d0f5b72017-10-30 11:24:381163const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1164 "Remove usage of the deprecated GAIA sign-in endpoint";
1165const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1166 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1167 "This flags controls wheter it should no longer be used during a sign-in "
1168 " flow.";
1169
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351170const char kRendererSideResourceSchedulerName[] =
1171 "Renderer side ResourceScheduler";
1172const char kRendererSideResourceSchedulerDescription[] =
1173 "Migrate some ResourceScheduler functionalities to renderer";
1174
Brett Wilsonecb80982017-07-12 20:34:511175const char kRequestTabletSiteName[] =
1176 "Request tablet site option in the settings menu";
1177const char kRequestTabletSiteDescription[] =
1178 "Allows the user to request tablet site. Web content is often optimized "
1179 "for tablet devices. When this option is selected the user agent string is "
1180 "changed to indicate a tablet device. Web content optimized for tablets is "
1181 "received there after for the current tab.";
1182
1183const char kResetAppListInstallStateName[] =
1184 "Reset the App Launcher install state on every restart.";
1185const char kResetAppListInstallStateDescription[] =
1186 "Reset the App Launcher install state on every restart. While this flag is "
1187 "set, Chrome will forget the launcher has been installed each time it "
1188 "starts. This is used for testing the App Launcher install flow.";
1189
1190const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1191const char kResourceLoadSchedulerDescription[] =
1192 "Uses the resource load scheduler in blink to schedule and throttle "
1193 "resource load requests.";
1194
Brett Wilsonecb80982017-07-12 20:34:511195const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1196const char kSafeSearchUrlReportingDescription[] =
1197 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1198
1199const char kSaveasMenuLabelExperimentName[] =
1200 "Switch 'Save as' menu labels to 'Download'";
1201const char kSaveasMenuLabelExperimentDescription[] =
1202 "Enables an experiment to switch menu labels that use 'Save as...' to "
1203 "'Download'.";
1204
1205const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1206const char kSavePageAsMhtmlDescription[] =
1207 "Enables saving pages as MHTML: a single text file containing HTML and all "
1208 "sub-resources.";
1209
Nate Chapin9638e7102017-09-20 22:11:011210const char kSavePreviousDocumentResourcesName[] =
1211 "Save Previous Document Resources";
1212const char kSavePreviousDocumentResourcesDescription[] =
1213 "Saves an old document's cached resources until the specified point in the "
1214 "next document's lifecycle.";
1215const char kSavePreviousDocumentResourcesNever[] =
1216 "Don't explicitly save resources";
1217const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1218 "Save resources until onDOMContentLoaded completes";
1219const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1220 "Save resources until onload completes";
1221
Brett Wilsonecb80982017-07-12 20:34:511222const char kScrollPredictionName[] = "Scroll prediction";
1223const char kScrollPredictionDescription[] =
1224 "Predicts the finger's future position during scrolls allowing time to "
1225 "render the frame before the finger is there.";
1226
1227const char kSecondaryUiMd[] =
1228 "Material Design in the rest of the browser's native UI";
1229const char kSecondaryUiMdDescription[] =
1230 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1231 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1232 "browser dialogs.";
1233
1234const char kServiceWorkerNavigationPreloadName[] =
1235 "Service worker navigation preload.";
1236const char kServiceWorkerNavigationPreloadDescription[] =
1237 "Enable web pages to use the experimental service worker navigation "
1238 "preload API.";
1239
gogeraldd5061b592017-09-06 23:39:551240const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1241const char kServiceWorkerPaymentAppsDescription[] =
1242 "Enable Service Worker applications to integrate as payment apps";
1243
Makoto Shimazud9f333c2017-08-08 07:23:171244const char kServiceWorkerScriptStreamingName[] =
1245 "Service worker script streaming.";
1246const char kServiceWorkerScriptStreamingDescription[] =
1247 "Installed scripts for a service worker are sent over a dedicated "
1248 "message pipe and data pipes, and that is never be blocked on the main "
1249 "thread.";
1250
Tsuyoshi Horobcb1c642017-11-24 16:32:141251const char kServiceWorkerScriptFullCodeCacheName[] =
1252 "Service worker script full code cache.";
1253const char kServiceWorkerScriptFullCodeCacheDescription[] =
1254 "Generate V8 full code cache of Service Worker scripts while installing.";
1255
Brett Wilsonecb80982017-07-12 20:34:511256const char kSettingsWindowName[] = "Show settings in a window";
1257const char kSettingsWindowDescription[] =
1258 "Settings will be shown in a dedicated window instead of as a browser tab.";
1259
Trent Apted750ba7022017-10-23 13:36:251260const char kShowAllDialogsWithViewsToolkitName[] =
1261 "Show all dialogs with Views toolkit";
1262const char kShowAllDialogsWithViewsToolkitDescription[] =
1263 "All browser dialogs will be shown using the Views toolkit rather than "
1264 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1265
Brett Wilsonecb80982017-07-12 20:34:511266const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1267const char kShowAutofillSignaturesDescription[] =
1268 "Annotates web forms with Autofill signatures as HTML attributes.";
1269
1270const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1271const char kShowAutofillTypePredictionsDescription[] =
1272 "Annotates web forms with Autofill field type predictions as placeholder "
1273 "text.";
1274
1275const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1276const char kShowOverdrawFeedbackDescription[] =
1277 "Visualize overdraw by color-coding elements based on if they have other "
1278 "elements drawn underneath.";
1279
yiyixbdfa9a0b2017-10-23 22:21:471280const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1281const char kEnableDrawOcclusionDescription[] =
1282 "Enable the system to use draw occlusion to skip draw quads when they are "
1283 "not shown on the screen.";
1284
Brett Wilsonecb80982017-07-12 20:34:511285const char kShowSavedCopyName[] = "Show Saved Copy Button";
1286const char kShowSavedCopyDescription[] =
1287 "When a page fails to load, if a stale copy of the page exists in the "
1288 "browser cache, a button will be presented to allow the user to load that "
1289 "stale copy. The primary enabling choice puts the button in the most "
1290 "salient position on the error page; the secondary enabling choice puts it "
1291 "secondary to the reload button.";
1292const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1293const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1294const char kDisableShowSavedCopy[] = "Disable";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1297const char kSilentDebuggerExtensionApiDescription[] =
1298 "Do not show the infobar when an extension attaches to a page via "
1299 "chrome.debugger API. This is required to debug extension background "
1300 "pages.";
1301
1302const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1303const char kSimpleCacheBackendDescription[] =
1304 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1305 "disk space allocation.";
1306
1307const char kSimplifiedFullscreenUiName[] =
1308 "Simplified full screen / mouse lock UI.";
1309const char kSimplifiedFullscreenUiDescription[] =
1310 "A simplified new user experience when entering page-triggered full screen "
1311 "or mouse pointer lock states.";
1312
1313const char kSingleClickAutofillName[] = "Single-click autofill";
1314const char kSingleClickAutofillDescription[] =
1315 "Make autofill suggestions on initial mouse click on a form element.";
1316
Brett Wilsonecb80982017-07-12 20:34:511317const char kSitePerProcessName[] = "Strict site isolation";
1318const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171319 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511320 "contains pages from at most one site. In this mode, out-of-process "
1321 "iframes will be used whenever an iframe is cross-site.";
1322
1323const char kSiteSettings[] = "Site settings with All sites and Site details";
1324const char kSiteSettingsDescription[] =
1325 "Adds new ways of viewing Site settings.";
1326
1327const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1328const char kSlimmingPaintInvalidationDescription[] =
1329 "Whether to enable a new paint invalidation system.";
1330
1331const char kSmoothScrollingName[] = "Smooth Scrolling";
1332const char kSmoothScrollingDescription[] =
1333 "Animate smoothly when scrolling page content.";
1334
1335const char kSoftwareRasterizerName[] = "3D software rasterizer";
1336const char kSoftwareRasterizerDescription[] =
1337 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1338
Tommy Steimel77704be2017-08-28 22:14:401339const char kSoundContentSettingName[] = "Sound content setting";
1340const char kSoundContentSettingDescription[] =
1341 "Enable site-wide muting in content settings and tab strip context menu.";
1342
Alexandr Ilinf0500ed32017-09-27 21:12:361343const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1344const char kSpeculativePreconnectDescription[] =
1345 "Enable the new implementation of preconnect and DNS preresolve. "
1346 "\"Learning\" means that only database construction is enabled, "
1347 "\"Preconnect\" enables both learning and preconnect and disables the "
1348 "existing implementation. \"No preconnect\" disables both implementations.";
1349
Brett Wilsonecb80982017-07-12 20:34:511350const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341351const char kSpeculativePrefetchDescription[] =
1352 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1353 R"*(load times, based on a local database (see chrome://predictors). )*"
1354 R"*("Learning" means that only the database construction is enabled, )*"
1355 R"*("Prefetching" that learning and prefetching are enabled.)*";
1356
Justin Donnelly4e448cb2017-07-07 21:32:131357const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1358 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131359const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1360 "If enabled, when the user enters text in the omnibox that looks like a "
1361 "a query, any service worker associated with the search engine the query "
1362 "will be sent to is started early.";
1363
Brett Wilsonecb80982017-07-12 20:34:511364const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1365const char kSpellingFeedbackFieldTrialDescription[] =
1366 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401367
Shubhie Panickerfaf082ed2018-01-03 04:49:151368const char kStopInBackgroundName[] = "Stop in background";
1369const char kStopInBackgroundDescription[] =
1370 "Stop scheduler task queues, in the background, "
1371 " after certain grace time.";
1372
1373const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1374const char kStopLoadingInBackgroundDescription[] =
1375 "Stop loading tasks and loading "
1376 "resources, in the background, after certain grace time.";
1377
Brett Wilsonecb80982017-07-12 20:34:511378const char kSuggestionsWithSubStringMatchName[] =
1379 "Substring matching for Autofill suggestions";
1380const char kSuggestionsWithSubStringMatchDescription[] =
1381 "Match Autofill suggestions based on substrings (token prefixes) rather "
1382 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341383
Brett Wilsonecb80982017-07-12 20:34:511384const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1385const char kSyncSandboxDescription[] =
1386 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341387
Brett Wilsonecb80982017-07-12 20:34:511388const char kTabAudioMutingName[] = "Tab audio muting UI control";
1389const char kTabAudioMutingDescription[] =
1390 "When enabled, the audio indicators in the tab strip double as tab audio "
1391 "mute controls. This also adds commands in the tab context menu for "
1392 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341393
Christian Dullweberd0d96f02017-09-13 09:22:511394const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1395const char kTabsInCbdDescription[] =
1396 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1397
Becky Zhou99c22802017-10-19 05:09:271398const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1399const char kTabModalJsDialogDescription[] =
1400 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1401 " tab.";
1402
Brett Wilsonecb80982017-07-12 20:34:511403const char kTcpFastOpenName[] = "TCP Fast Open";
1404const char kTcpFastOpenDescription[] =
1405 "Enable the option to send extra authentication information in the initial "
1406 "SYN packet for a previously connected client, allowing faster data send "
1407 "start.";
vabr0215a8e2017-03-28 12:47:341408
Daniele Castagna0fead93e2018-01-10 20:40:291409const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1410const char kTintGlCompositedContentDescription[] =
1411 "Tint contents composited using GL with a shade of red to help debug and "
1412 "study overlay support.";
1413
Brett Wilsonecb80982017-07-12 20:34:511414const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1415const char kTopChromeMdDescription[] =
1416 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1417const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531418const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511419const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341420
Brett Wilsonecb80982017-07-12 20:34:511421const char kThreadedScrollingName[] = "Threaded scrolling";
1422const char kThreadedScrollingDescription[] =
1423 "Threaded handling of scroll-related input events. Disabling this will "
1424 "force all such scroll events to be handled on the main thread. Note that "
1425 "this can dramatically hurt scrolling performance of most websites and is "
1426 "intended for testing purposes only.";
1427
Steven Valdez4584b2482017-07-14 01:11:571428const char kTLS13VariantName[] = "TLS 1.3";
1429const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1430const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111431const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez49408842017-12-13 18:34:481432const char kTLS13VariantDraft22[] = "Enabled (Draft 22)";
Steven Valdez781157b2018-01-11 13:32:041433const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdezf00f8782017-09-13 18:05:281434const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
Steven Valdez4584b2482017-07-14 01:11:571435
Brett Wilsonecb80982017-07-12 20:34:511436const char kTopDocumentIsolationName[] = "Top document isolation";
1437const char kTopDocumentIsolationDescription[] =
1438 "Highly experimental performance mode where cross-site iframes are kept in "
1439 "a separate process from the top document. In this mode, iframes from "
1440 "different third-party sites will be allowed to share a process.";
1441
Dominick Ng8896b1cd2017-10-17 23:24:361442const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1443const char kTopSitesFromSiteEngagementDescription[] =
1444 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1445 "engagement.";
1446
Brett Wilsonecb80982017-07-12 20:34:511447const char kTouchAdjustmentName[] = "Touch adjustment";
1448const char kTouchAdjustmentDescription[] =
1449 "Refine the position of a touch gesture in order to compensate for touches "
1450 "having poor resolution compared to a mouse.";
1451
1452const char kTouchDragDropName[] = "Touch initiated drag and drop";
1453const char kTouchDragDropDescription[] =
1454 "Touch drag and drop can be initiated through long press on a draggable "
1455 "element.";
1456
1457const char kTouchEventsName[] = "Touch Events API";
1458const char kTouchEventsDescription[] =
1459 "Force Touch Events API feature detection to always be enabled or "
1460 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291461 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511462
1463const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1464const char kTouchSelectionStrategyDescription[] =
1465 "Controls how text selection granularity changes when touch text selection "
1466 "handles are dragged. Non-default behavior is experimental.";
1467const char kTouchSelectionStrategyCharacter[] = "Character";
1468const char kTouchSelectionStrategyDirection[] = "Direction";
1469
1470const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1471const char kTraceUploadUrlDescription[] =
1472 "This is to be used in conjunction with the enable-navigation-tracing "
1473 "flag. Please select the label that best describes the recorded traces. "
1474 "This will choose the destination the traces are uploaded to. If you are "
1475 "not sure, select other. If left empty, no traces will be uploaded.";
1476const char kTraceUploadUrlChoiceOther[] = "Other";
1477const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1478const char kTraceUploadUrlChoiceQa[] = "QA";
1479const char kTraceUploadUrlChoiceTesting[] = "Testing";
1480
1481const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1482const char kTranslate2016q2UiDescription[] =
1483 "Improved triggering logic and look for Translate Bubble UI";
1484
Philippe Hamel7fdaa452017-09-29 17:22:491485const char kTranslateRankerEnforcementName[] =
1486 "Enforce TranslateRanker decisions";
1487const char kTranslateRankerEnforcementDescription[] =
1488 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1489 "or not Translate UI should be triggered in a given context.";
1490
Brett Wilsonecb80982017-07-12 20:34:511491const char kTrySupportedChannelLayoutsName[] =
1492 "Causes audio output streams to check if channel layouts other than the "
1493 "default hardware layout are available.";
1494const char kTrySupportedChannelLayoutsDescription[] =
1495 "Causes audio output streams to check if channel layouts other than the "
1496 "default hardware layout are available. Turning this on will allow the OS "
1497 "to do stereo to surround expansion if supported. May expose third party "
1498 "driver bugs, use with caution.";
1499
1500const char kUiPartialSwapName[] = "Partial swap";
1501const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1502
Ian Vollickaff0a442017-12-22 18:43:441503const char kEnablePreventLayerSquashingName[] = "Prevent layer squashing";
1504const char kEnablePreventLayerSquashingDescription[] =
1505 "When enabled, the compositor will avoid combining composited layers in "
1506 "more situations.";
1507
Chris Pickel3a227ae62017-08-24 10:47:261508const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1509const char kUseDdljsonApiDescription[] =
1510 "Enables the new ddljson API to fetch Doodles for the NTP.";
1511
Becca Hughes59c05b42017-11-03 13:11:581512const char kUseModernMediaControlsName[] = "New Media Controls";
1513const char kUseModernMediaControlsDescription[] =
1514 "Enables the new style native media controls.";
1515
Mustaq Ahmedc646c0a2017-10-20 20:08:301516const char kUserActivationV2Name[] = "User Activation v2";
1517const char kUserActivationV2Description[] =
1518 "Enable simple user activation for APIs that are otherwise controlled by "
1519 "user gesture tokens.";
1520
Brett Wilsonecb80982017-07-12 20:34:511521const char kUserConsentForExtensionScriptsName[] =
1522 "User consent for extension scripts";
1523const char kUserConsentForExtensionScriptsDescription[] =
1524 "Require user consent for an extension running a script on the page, if "
1525 "the extension requested permission to run on all urls.";
1526
1527const char kUseSuggestionsEvenIfFewFeatureName[] =
1528 "Disable minimum for server-side tile suggestions on NTP.";
1529const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1530 "Request server-side suggestions even if there are only very few of them "
1531 "and use them for tiles on the New Tab Page.";
1532
1533const char kV8CacheOptionsName[] = "V8 caching mode.";
1534const char kV8CacheOptionsDescription[] =
1535 "Caching mode for the V8 JavaScript engine.";
1536const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1537const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1538
Hitoshi Yoshida3e5db562017-09-11 02:31:081539const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1540const char kV8ContextSnapshotDescription[] =
1541 "Sets to use a snapshot to create V8 contexts in frame creation.";
1542
Michael Hablich896d52662017-10-23 15:59:571543const char kV8VmFutureName[] = "Future V8 VM features";
1544const char kV8VmFutureDescription[] =
1545 "This enables upcoming and experimental V8 VM features. "
1546 "This flag does not enable experimental JavaScript features.";
1547
Brett Wilsonecb80982017-07-12 20:34:511548const char kVibrateRequiresUserGestureName[] =
1549 "Requiring user gesture for the Vibration API";
1550const char kVibrateRequiresUserGestureDescription[] =
1551 "Block the Vibration API if no user gesture has been received on the frame "
1552 "or any embedded frame.";
1553
1554const char kVideoFullscreenOrientationLockName[] =
1555 "Lock screen orientation when playing a video fullscreen.";
1556const char kVideoFullscreenOrientationLockDescription[] =
1557 "Lock the screen orientation of the device to match video orientation when "
1558 "a video goes fullscreen. Only on phones.";
1559
1560const char kVideoRotateToFullscreenName[] =
1561 "Rotate-to-fullscreen gesture for videos.";
1562const char kVideoRotateToFullscreenDescription[] =
1563 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1564 "the video. Only on phones.";
1565
1566const char kWalletServiceUseSandboxName[] =
1567 "Use Google Payments sandbox servers";
1568const char kWalletServiceUseSandboxDescription[] =
1569 "For developers: use the sandbox service for Google Payments API calls.";
1570
Brett Wilsonecb80982017-07-12 20:34:511571const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1572const char kWebglDraftExtensionsDescription[] =
1573 "Enabling this option allows web applications to access the WebGL "
1574 "Extensions that are still in draft status.";
1575
1576const char kWebMidiName[] = "Web MIDI API";
1577const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1578
1579const char kWebPaymentsName[] = "Web Payments";
1580const char kWebPaymentsDescription[] =
1581 "Enable Web Payments API integration, a JavaScript API for merchants.";
1582
Mathieu Perreault51339b82017-07-20 17:06:051583const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1584const char kWebPaymentsModifiersDescription[] =
1585 "If the website provides modifiers in the payment request, show the custom "
1586 "total for each payment instrument, update the shopping cart when "
1587 "instruments are switched, and send modified payment method specific data "
1588 "to the payment app.";
1589
Brett Wilsonecb80982017-07-12 20:34:511590const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1591const char kWebrtcEchoCanceller3Description[] =
1592 "Experimental WebRTC echo canceller (AEC3).";
1593
1594const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1595const char kWebrtcHwDecodingDescription[] =
1596 "Support in WebRTC for decoding video streams using platform hardware.";
1597
1598const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1599const char kWebrtcHwEncodingDescription[] =
1600 "Support in WebRTC for encoding video streams using platform hardware.";
1601
1602const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1603const char kWebrtcHwH264EncodingDescription[] =
1604 "Support in WebRTC for encoding h264 video streams using platform "
1605 "hardware.";
1606
1607const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1608const char kWebrtcHwVP8EncodingDescription[] =
1609 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1610
1611const char kWebrtcSrtpAesGcmName[] =
1612 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1613const char kWebrtcSrtpAesGcmDescription[] =
1614 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1615
Joachim Bauch4a41d7512017-08-23 14:24:231616const char kWebrtcSrtpEncryptedHeadersName[] =
1617 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1618const char kWebrtcSrtpEncryptedHeadersDescription[] =
1619 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1620 "for SRTP.";
1621
Brett Wilsonecb80982017-07-12 20:34:511622const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1623const char kWebrtcStunOriginDescription[] =
1624 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1625 "header.";
1626
1627const char kWebvrName[] = "WebVR";
1628const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051629 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111630 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1631 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1632 "will also allow WebVR content on insecure origins to access these "
1633 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511634
David Dorwin5a496c32017-11-17 01:45:051635const char kWebVrExperimentalRenderingName[] =
1636 "WebVR experimental rendering optimizations";
1637const char kWebVrExperimentalRenderingDescription[] =
1638 "Experimental rendering path optimizations for WebVR.";
1639
Brandon Jonese9d9b2b2017-12-11 22:20:111640const char kWebXrName[] = "WebXR Device API";
1641const char kWebXrDescription[] =
1642 "Allow web applications to access experimental APIs to interact with "
1643 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1644
Brett Wilsonecb80982017-07-12 20:34:511645const char kWifiCredentialSyncName[] = "WiFi credential sync";
1646const char kWifiCredentialSyncDescription[] =
1647 "Enables synchronizing WiFi network settings across devices. When enabled, "
1648 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1649 "credentials are synchronized subject to user preferences. (See also, "
1650 "chrome://settings/syncSetup.)";
1651
1652const char kZeroCopyName[] = "Zero-copy rasterizer";
1653const char kZeroCopyDescription[] =
1654 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341655
Brett Wilsonff596952017-07-14 01:06:551656// Android ---------------------------------------------------------------------
1657
1658#if defined(OS_ANDROID)
1659
1660const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1661const char kAiaFetchingDescription[] =
1662 "Enable intermediate certificate fetching when a server does not provide "
1663 "sufficient certificates to build a chain to a trusted root.";
1664
1665const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1666const char kAccessibilityTabSwitcherDescription[] =
1667 "Enable the accessibility tab switcher for Android.";
1668
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251669const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1670const char kAllowReaderForAccessibilityDescription[] =
1671 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1672
Brett Wilsonff596952017-07-14 01:06:551673const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1674const char kAndroidAutofillAccessibilityDescription[] =
1675 "Enable accessibility for autofill popup.";
1676
1677const char kAndroidPaymentAppsName[] = "Android payment apps";
1678const char kAndroidPaymentAppsDescription[] =
1679 "Enable third party Android apps to integrate as payment apps";
1680
Tatiana Gornak38ab3562017-07-28 11:04:181681const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1682const char kAndroidViewPasswordsDescription[] =
1683 "Enables copying and viewing passwords in settings.";
1684
Miriam Gershenson23cfe346e2017-09-28 14:49:291685const char kAsyncDnsName[] = "Async DNS resolver";
1686const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1687
Brett Wilsonff596952017-07-14 01:06:551688const char kAutofillAccessoryViewName[] =
1689 "Autofill suggestions as keyboard accessory view";
1690const char kAutofillAccessoryViewDescription[] =
1691 "Shows Autofill suggestions on top of the keyboard rather than in a "
1692 "dropdown.";
1693
1694const char kBackgroundLoaderForDownloadsName[] =
1695 "Enables background downloading of pages.";
1696const char kBackgroundLoaderForDownloadsDescription[] =
1697 "Enables downloading pages in the background in case page is not yet "
1698 "loaded in current tab.";
1699
Theresa Wellingtonb9243b22017-12-01 16:23:051700const char kChromeHomeName[] = "Chrome Home";
1701const char kChromeHomeDescription[] =
1702 "Enables Chrome Home on Android. You must restart the browser"
1703 " twice for changes to take effect.";
1704
1705const char kChromeHomeBottomNavLabelsName[] =
1706 "Chrome Home bottom navigation menu item labels.";
1707const char kChromeHomeBottomNavLabelsDescription[] =
1708 "Enables text labels for Chrome Home bottom navigation menu items.";
1709
1710const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1711const char kChromeHomeClearUrlOnOpenDescription[] =
1712 "Clear omnibox URL when the bottom sheet is opened.";
1713
Daniel Park825a16f32017-12-08 00:44:261714const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1715const char kChromeHomeEnableSurveyDescription[] =
1716 "If enabled, the survey process will allow surveys using sample "
1717 "parameters.";
1718
Theresa Wellingtonb9243b22017-12-01 16:23:051719const char kChromeHomeInactivitySheetExpansionName[] =
1720 "Expansion of Chrome Home bottom sheet on startup";
1721const char kChromeHomeInactivitySheetExpansionDescription[] =
1722 "Expand bottom sheet on startup in Chrome Home after a period of"
1723 " inactivity.";
1724
Matthew Joneseab91aa2017-12-19 16:12:421725const char kChromeHomeMenuItemsName[] =
1726 "Show bookmarks, downloads, and history menu items in Chrome Home";
1727const char kChromeHomeMenuItemsDescription[] =
1728 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1729 " when Chrome Home is enabled. These items will open the bottom sheet to"
1730 " show the desired content.";
1731
Theresa Wellington82d6f6ef2017-10-12 02:39:131732const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1733const char kChromeHomeOptOutSnackbarDescription[] =
1734 "Show a snackbar prompting users to take a survey the first time they"
1735 " opt-out of Chrome Home";
1736
Theresa Wellingtonc4cff8a12017-11-28 04:13:181737const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1738const char kChromeHomePersistentIphDescription[] =
1739 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1740 "toolbar or a timer expires.";
1741
Theresa Wellingtondd71c5c2017-10-02 15:50:381742const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1743 "Chrome Home Personalized Omnibox Suggestions";
1744const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1745 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1746
Matthew Jones4214d2a12017-09-28 18:35:111747const char kChromeHomePromoName[] = "Chrome Home Promo";
1748const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331749 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111750
Theresa Wellington13977c832017-12-13 16:59:111751const char kChromeHomePullToRefreshIphAtTopName[] =
1752 "Chrome Home Pull-To-Refresh Iph At Top";
1753const char kChromeHomePullToRefreshIphAtTopDescription[] =
1754 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1755
Theresa Wellington306c4cdc2017-12-07 16:43:081756const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1757const char kChromeHomeShowGoogleGDescription[] =
1758 "Show the Google G when the url is cleared. The flag to clear the url "
1759 "when the sheet is opened must also be set.";
1760
Brett Wilsonff596952017-07-14 01:06:551761const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1762const char kChromeHomeSwipeLogicDescription[] =
1763 "Various swipe logic options for Chrome Home for sheet expansion.";
1764const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151765const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551766
Megan Jablonskic61eb1b82017-10-02 18:03:061767const char kChromeMemexName[] = "Chrome Memex";
1768const char kChromeMemexDescription[] =
1769 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1770 "Googlers.";
1771
Sarath Singapati83aef1c2017-11-16 15:54:521772const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1773const char kClearOldBrowsingDataDescription[] =
1774 "Enables clearing of browsing data which is older than a given time "
1775 "period.";
1776
Brett Wilsonff596952017-07-14 01:06:551777const char kContentSuggestionsCategoryOrderName[] =
1778 "Default content suggestions category order (e.g. on NTP)";
1779const char kContentSuggestionsCategoryOrderDescription[] =
1780 "Set default order of content suggestion categories (e.g. on the NTP).";
1781
1782const char kContentSuggestionsCategoryRankerName[] =
1783 "Content suggestions category ranker (e.g. on NTP)";
1784const char kContentSuggestionsCategoryRankerDescription[] =
1785 "Set category ranker to order categories of content suggestions (e.g. on "
1786 "the NTP).";
1787
Vitalii Iarkof52ff802017-09-14 12:34:241788const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1789const char kContentSuggestionsDebugLogDescription[] =
1790 "Enable content suggestions debug log accessible through "
1791 "snippets-internals.";
1792
Donn Denman8e58ead2017-11-04 01:44:011793const char kContextualSearchMlTapSuppressionName[] =
1794 "Contextual Search ML tap suppression";
1795const char kContextualSearchMlTapSuppressionDescription[] =
1796 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021797 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1798 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551799
1800const char kContextualSearchName[] = "Contextual Search";
1801const char kContextualSearchDescription[] =
1802 "Whether or not Contextual Search is enabled.";
1803
Donn Denman59729812018-01-09 01:27:021804const char kContextualSearchRankerQueryName[] =
1805 "Contextual Search Ranker prediction";
1806const char kContextualSearchRankerQueryDescription[] =
1807 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1808
1809const char kContextualSearchSecondTapName[] =
1810 "Contextual Search second tap triggering";
1811const char kContextualSearchSecondTapDescription[] =
1812 "Enables triggering on a second tap gesture even when Ranker would "
1813 "normally suppress that tap.";
1814
Dmitry Skiba9c3efa72017-07-20 22:01:141815const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1816const char kDontPrefetchLibrariesDescription[] =
1817 "Don't prefetch libraries after loading.";
1818
Joy Ming5fd29ca62017-10-02 22:51:221819const char kDownloadsForegroundName[] = "Enable downloads foreground";
1820const char kDownloadsForegroundDescription[] =
1821 "Enable downloads as a foreground service for all versions of Android.";
1822
Joy Ming189b0cc2017-12-08 19:42:431823const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1824const char kDownloadsLocationChangeDescription[] =
1825 "Enable changing default downloads storage location on Android.";
1826
Brett Wilsonff596952017-07-14 01:06:551827const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1828const char kEnableAndroidPayIntegrationV1Description[] =
1829 "Enable integration with Android Pay using the first version of the API";
1830
1831const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1832const char kEnableAndroidPayIntegrationV2Description[] =
1833 "Enable integration with Android Pay using the second version of the API";
1834
Vitalii Iarkof4ed32d2017-09-26 13:15:531835const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551836const char kEnableAndroidSpellcheckerDescription[] =
1837 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551838
Vitalii Iarkof4ed32d2017-09-26 13:15:531839const char kEnableContentSuggestionsNewFaviconServerName[] =
1840 "Get favicons for content suggestions from a new server.";
1841const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1842 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1843 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551844
1845const char kEnableContentSuggestionsSettingsName[] =
1846 "Show content suggestions settings.";
1847const char kEnableContentSuggestionsSettingsDescription[] =
1848 "If enabled, the content suggestions settings will be available from the "
1849 "main settings menu.";
1850
Vitalii Iarkof4ed32d2017-09-26 13:15:531851const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1852 "Use content suggestions thumbnail dominant color.";
1853const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1854 "Use content suggestions thumbnail dominant color as a placeholder before "
1855 "the real thumbnail is fetched (requires Chrome Home).";
1856
Brett Wilsonff596952017-07-14 01:06:551857const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1858const char kEnableCopylessPasteDescription[] =
1859 "Provide suggestions for text input, based on your recent context. For "
1860 "example, if you looked at a restaurant website and switched to the Maps "
1861 "app, the keyboard would offer the name of that restaurant as a suggestion "
1862 "to enter into the search bar. The data is indexed locally, and never sent "
1863 "to the server. It's disabled in incognito mode.";
1864
1865const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1866const char kEnableCustomContextMenuDescription[] =
1867 "Enables a new context menu when a link, image, or video is pressed within "
1868 "Chrome.";
1869
1870const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1871const char kEnableCustomFeedbackUiDescription[] =
1872 "Enables a custom feedback UI when submitting feedback through Google "
1873 "Feedback. Works with Google Play Services v10.2+";
1874
1875const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471876 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551877const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471878 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551879
Brett Wilsonff596952017-07-14 01:06:551880const char kEnableOmniboxClipboardProviderName[] =
1881 "Omnibox clipboard URL suggestions";
1882const char kEnableOmniboxClipboardProviderDescription[] =
1883 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1884 "focus in the omnibox.";
1885
1886const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1887 "Use expanded autofill credit card popup layout.";
1888const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1889 "If enabled, displays autofill credit card popup using expanded layout.";
1890
Brett Wilsonff596952017-07-14 01:06:551891const char kEnableNtpAssetDownloadSuggestionsName[] =
1892 "Show asset downloads on the New Tab page";
1893const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1894 "If enabled, the list of content suggestions on the New Tab page will "
1895 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1896 "later use.";
1897
1898const char kEnableNtpBookmarkSuggestionsName[] =
1899 "Show recently visited bookmarks on the New Tab page";
1900const char kEnableNtpBookmarkSuggestionsDescription[] =
1901 "If enabled, the list of content suggestions on the New Tab page will "
1902 "contain recently visited bookmarks.";
1903
1904const char kEnableNtpForeignSessionsSuggestionsName[] =
1905 "Show recent foreign tabs on the New Tab page";
1906const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1907 "If enabled, the list of content suggestions on the New Tab page will "
1908 "contain recent foreign tabs.";
1909
Brett Wilsonff596952017-07-14 01:06:551910const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1911 "Show offline page downloads on the New Tab page";
1912const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1913 "If enabled, the list of content suggestions on the New Tab page will "
1914 "contain pages that the user downloaded for later use.";
1915
1916const char kEnableNtpRemoteSuggestionsName[] =
1917 "Show server-side suggestions on the New Tab page";
1918const char kEnableNtpRemoteSuggestionsDescription[] =
1919 "If enabled, the list of content suggestions on the New Tab page will "
1920 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1921 "allows to override the source used to retrieve these server-side "
1922 "suggestions.";
1923
1924const char kEnableNtpSnippetsVisibilityName[] =
1925 "Make New Tab Page Snippets more visible.";
1926const char kEnableNtpSnippetsVisibilityDescription[] =
1927 "If enabled, the NTP snippets will become more discoverable with a larger "
1928 "portion of the first card above the fold.";
1929
1930const char kEnableNtpSuggestionsNotificationsName[] =
1931 "Notify about new content suggestions available at the New Tab page";
1932const char kEnableNtpSuggestionsNotificationsDescription[] =
1933 "If enabled, notifications will inform about new content suggestions on "
1934 "the New Tab page.";
1935
1936const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1937const char kEnablePhysicalWebDescription[] =
1938 "Enable scanning for URLs from Physical Web objects.";
1939
1940const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1941const char kEnableOfflinePreviewsDescription[] =
1942 "Enable showing offline page previews on slow networks.";
1943
1944const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1945const char kEnableOskOverscrollDescription[] =
1946 "Enable OSK overscroll support. With this flag on, the OSK will only "
1947 "resize the visual viewport.";
1948
1949const char kEnableSpecialLocaleName[] =
1950 "Enable custom logic for special locales.";
1951const char kEnableSpecialLocaleDescription[] =
1952 "Enable custom logic for special locales. In this mode, Chrome might "
1953 "behave differently in some locales.";
1954
Brett Wilsonff596952017-07-14 01:06:551955const char kEnableWebNfcName[] = "WebNFC";
1956const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1957
gogeraldf3cbb422017-07-26 14:37:121958const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1959 "Enable Web Payments method section order V2.";
1960const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1961 "Enable this option to display payment method section above address "
1962 "section instead of below it.";
1963
Brett Wilsonff596952017-07-14 01:06:551964const char kEnableWebPaymentsSingleAppUiSkipName[] =
1965 "Enable Web Payments single app UI skip";
1966const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1967 "Enable Web Payments to skip showing its UI if the developer specifies a "
1968 "single app.";
1969
Raymes Khoury582b43132017-12-12 23:54:301970const char kGrantNotificationsToDSEName[] =
1971 "Grant notifications to the Default Search Engine";
1972const char kGrantNotificationsToDSENameDescription[] =
1973 "Automatically grant the notifications permission to the Default Search "
1974 "Engine";
1975
Brett Wilsonff596952017-07-14 01:06:551976const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1977const char kHerbPrototypeChoicesDescription[] =
1978 "Switching this option changes which tab management prototype is being "
1979 "tested.";
1980const char kHerbPrototypeFlavorElderberry[] =
1981 "ELDERBERRY: All View Intents in CCT v2";
1982
1983const char kKeepPrefetchedContentSuggestionsName[] =
1984 "Keep prefetched content suggestions";
1985const char kKeepPrefetchedContentSuggestionsDescription[] =
1986 "If enabled, some of prefetched content suggestions are not replaced by "
1987 "the new fetched suggestions.";
1988
Leo Zhang051b75482017-12-20 03:28:301989const char kLanguagesPreferenceName[] = "Language Settings";
1990const char kLanguagesPreferenceDescription[] =
1991 "Enable this option for Language Settings feature on Android.";
1992
Brett Wilsonff596952017-07-14 01:06:551993const char kLsdPermissionPromptName[] =
1994 "Location Settings Dialog Permission Prompt";
1995const char kLsdPermissionPromptDescription[] =
1996 "Whether to use the Google Play Services Location Settings Dialog "
1997 "permission dialog.";
1998
Brett Wilsonff596952017-07-14 01:06:551999const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2000const char kMediaScreenCaptureDescription[] =
2001 "Enable this option for experimental ScreenCapture feature on Android.";
2002
2003const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2004const char kModalPermissionPromptsDescription[] =
2005 "Whether to use permission dialogs in place of permission infobars.";
2006
Brett Wilsonff596952017-07-14 01:06:552007const char kNewPhotoPickerName[] = "Enable new Photopicker";
2008const char kNewPhotoPickerDescription[] =
2009 "Activates the new picker for selecting photos.";
2010
2011const char kNoCreditCardAbort[] = "No Credit Card Abort";
2012const char kNoCreditCardAbortDescription[] =
2013 "Whether or not the No Credit Card Abort is enabled.";
2014
2015const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2016const char kNtpCondensedLayoutDescription[] =
2017 "Show a condensed layout on the New Tab Page.";
2018
2019const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2020const char kNtpCondensedTileLayoutDescription[] =
2021 "Show a condensed tile layout on the New Tab Page.";
2022
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062023const char kNtpModernLayoutName[] = "Modern NTP layout";
2024const char kNtpModernLayoutDescription[] =
2025 "Show a modern layout on the New Tab Page.";
2026
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042027const char kSiteExplorationUiName[] = "Site Exploration UI";
2028const char kSiteExplorationUiDescription[] =
2029 "Show site suggestions in the Exploration UI";
2030
Brett Wilsonff596952017-07-14 01:06:552031const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2032const char kNtpGoogleGInOmniboxDescription[] =
2033 "Show a Google G in the omnibox on the New Tab Page.";
2034
Yoland Yan99d89cf62018-01-10 20:38:322035const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2036const char kNtpPopularSitesDescription[] =
2037 "Pre-populate the New Tab page with popular sites.";
2038
Brett Wilsonff596952017-07-14 01:06:552039const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2040const char kOfflineBookmarksDescription[] =
2041 "Enable saving bookmarked pages for offline viewing.";
2042
Brett Wilsonff596952017-07-14 01:06:552043const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2044const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2045
2046const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2047const char kOfflinePagesCtV2Description[] =
2048 "V2 features include attributing pages to the app that initiated the "
2049 "custom tabs, and being able to query for pages by page attribution.";
2050
Carlos Knippschild09272ecd2017-12-09 03:29:362051const char kOfflinePagesLimitlessPrefetchingName[] =
2052 "Removes resource usage limits for the prefetching of offline pages.";
2053const char kOfflinePagesLimitlessPrefetchingDescription[] =
2054 "Allows the prefetching of suggested offline pages to ignore resource "
2055 "usage limits. This allows it to completely ignore data usage limitations "
2056 "and allows downloads to happen with any kind of connection.";
2057
Brett Wilsonff596952017-07-14 01:06:552058const char kOfflinePagesLoadSignalCollectingName[] =
2059 "Enables collecting load timing data for offline page snapshots.";
2060const char kOfflinePagesLoadSignalCollectingDescription[] =
2061 "Enables loading completeness data collection while writing an offline "
2062 "page. This data is collected in the snapshotted offline page to allow "
2063 "data analysis to improve deciding when to make the offline snapshot.";
2064
Candice Sy229768e02017-12-21 00:19:222065const char kOfflinePagesDescriptivePendingStatusName[] =
2066 "Enables descriptive pending download status text.";
2067const char kOfflinePagesDescriptivePendingStatusDescription[] =
2068 "Enables pending download status text in notifications and Downloads Home "
2069 "to state the reason the request is pending.";
2070
Brett Wilsonff596952017-07-14 01:06:552071const char kOfflinePagesPrefetchingName[] =
2072 "Enables suggested offline pages to be prefetched.";
2073const char kOfflinePagesPrefetchingDescription[] =
2074 "Enables suggested offline pages to be prefetched, so useful content is "
2075 "available while offline.";
2076
Cathy Li3d5379e2017-09-07 00:11:092077const char kOfflinePagesPrefetchingUIName[] =
2078 "Enables prefetched offline pages to be shown in UI.";
2079const char kOfflinePagesPrefetchingUIDescription[] =
2080 "Enables prefetched offline pages to raise notifications and be shown in "
2081 "download home UI.";
2082
Pete Williamson7845dff2017-09-20 11:06:192083const char kOfflinePagesResourceBasedSnapshotName[] =
2084 "Enables offline page snapshots to be based on percentage of page loaded.";
2085const char kOfflinePagesResourceBasedSnapshotDescription[] =
2086 "Enables offline page snapshots to use a resource percentage based "
2087 "approach for determining when the page is loaded as opposed to a time "
2088 "based approach";
2089
Collin Baker17f92a52017-07-19 21:41:252090const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2091const char kOfflinePagesRenovationsDescription[] =
2092 "Enables offline page renovations which correct issues with dynamic "
2093 "content that occur when offlining pages that use JavaScript.";
2094
Brett Wilsonff596952017-07-14 01:06:552095const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2096const char kOfflinePagesSharingDescription[] =
2097 "Enables the saved offline pages to be shared via other applications.";
2098
2099const char kOfflinePagesSvelteConcurrentLoadingName[] =
2100 "Enables concurrent background loading on svelte.";
2101const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2102 "Enables concurrent background loading (or downloading) of pages on "
2103 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2104 "happen when the svelte device is idle.";
2105
2106const char kOffliningRecentPagesName[] =
2107 "Enable offlining of recently visited pages";
2108const char kOffliningRecentPagesDescription[] =
2109 "Enable storing recently visited pages locally for offline use. Requires "
2110 "Offline Pages to be enabled.";
2111
Lei Zhang2eca9082017-10-17 20:42:502112const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2113const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552114 "Enable Pay with Google integration into Web Payments with API version "
2115 "'1'.";
2116
Matthew Jonesa88b95852017-11-08 23:13:502117const char kProgressBarThrottleName[] = "Android progress update throttling.";
2118const char kProgressBarThrottleDescription[] =
2119 "Limit the maximum progress update to make progress appear smoother.";
2120
Brett Wilsonff596952017-07-14 01:06:552121const char kProgressBarCompletionName[] =
2122 "Android phone page load progress bar completion time.";
2123const char kProgressBarCompletionDescription[] =
2124 "Configures Android phone page loading progress bar completion time.";
2125const char kProgressBarCompletionLoadEvent[] =
2126 R"*(Top loading frame's onload event ("everything" is done in the )*"
2127 R"*(page, historical behavior).)*";
2128const char kProgressBarCompletionResourcesBeforeDcl[] =
2129 "Main frame's domContentLoaded and all resources loads started before "
2130 "domContentLoaded (iframes ignored).";
2131const char kProgressBarCompletionDomContentLoaded[] =
2132 "Main frame's domContentLoaded (iframes ignored).";
2133const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2134 "domContentLoaded and all resources loads started before domContentLoaded "
2135 "(main frame and same origin iframes).";
2136
2137const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2138const char kPullToRefreshEffectDescription[] =
2139 "Page reloads triggered by vertically overscrolling content.";
2140
Piotr Swigon7c296ef2017-08-29 04:32:002141const char kPwaImprovedSplashScreenName[] =
2142 "Improved Splash Screen for standalone PWAs";
2143const char kPwaImprovedSplashScreenDescription[] =
2144 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2145 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492146const char kPwaPersistentNotificationName[] =
2147 "Persistent notification in standalone PWA";
2148const char kPwaPersistentNotificationDescription[] =
2149 "Enables a persistent Android notification for standalone PWAs";
2150
Brett Wilsonff596952017-07-14 01:06:552151const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2152const char kReaderModeHeuristicsDescription[] =
2153 "Determines what pages the Reader Mode infobar is shown on.";
2154const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2155const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2156const char kReaderModeHeuristicsAllArticles[] = "All articles";
2157const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2158const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2159
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182160const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2161const char kReaderModeInCCTDescription[] =
2162 "Open Reader Mode in Chrome Custom Tabs.";
2163
Brett Wilsonff596952017-07-14 01:06:552164const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2165const char kSetMarketUrlForTestingDescription[] =
2166 "When enabled, sets the market URL for use in testing the update menu "
2167 "item.";
2168
2169const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2170const char kSpannableInlineAutocompleteDescription[] =
2171 "A new type of inline autocomplete for the omnibox that works with "
2172 "keyboards that compose text.";
2173
Brett Wilsonff596952017-07-14 01:06:552174const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2175const char kUpdateMenuBadgeDescription[] =
2176 "When enabled, an update badge will be shown on the app menu button.";
2177
2178const char kUpdateMenuItemCustomSummaryDescription[] =
2179 "When this flag and the force show update menu item flag are enabled, a "
2180 "custom summary string will be displayed below the update menu item.";
2181const char kUpdateMenuItemCustomSummaryName[] =
2182 "Update menu item custom summary";
2183
2184const char kUpdateMenuItemName[] = "Force show update menu item";
2185const char kUpdateMenuItemDescription[] =
2186 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2187 R"*(menu.)*";
2188
Marc Treib93af46a2017-08-23 13:30:002189const char kThirdPartyDoodlesName[] =
2190 "Enable Doodles for third-party search engines";
2191const char kThirdPartyDoodlesDescription[] =
2192 "Enables fetching and displaying Doodles on the NTP for third-party search "
2193 "engines.";
2194
Brett Wilson7b44537e2017-08-18 01:38:282195// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552196
Brett Wilson7b44537e2017-08-18 01:38:282197#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482198
Brett Wilson7b44537e2017-08-18 01:38:282199const char kAccountConsistencyName[] =
2200 "Identity consistency between browser and cookie jar";
2201const char kAccountConsistencyDescription[] =
2202 "When enabled, the browser manages signing in and out of Google accounts.";
2203const char kAccountConsistencyChoiceMirror[] = "Mirror";
2204const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342205
Chris Pickel3a227ae62017-08-24 10:47:262206const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2207const char kDoodlesOnLocalNtpDescription[] =
2208 "Show doodles on the local New Tab page if Google is the default search "
2209 "engine.";
2210
mlamouriff56c092017-05-11 15:31:392211const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392212const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342213 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392214const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392215const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392216const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342217 "Enabled (Flash lowers volume when interrupted by other sound, "
2218 "experimental)";
2219
Brett Wilson7b44537e2017-08-18 01:38:282220const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2221const char kEnableNewAppMenuIconDescription[] =
2222 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342223
2224const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342225const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282226 "Enable receiving entity suggestions - disambiguation descriptions - for "
2227 "Omnibox suggestions.";
2228
Dave Schuyler598a4a42018-01-04 02:15:102229const char kOmniboxRichEntitySuggestionsName[] =
2230 "Omnibox rich entity suggestions";
2231const char kOmniboxRichEntitySuggestionsDescription[] =
2232 "Display entity suggestions using images and an enhanced layout; showing "
2233 "more context and descriptive text about the entity";
2234
Kevin Bailey898669972017-11-06 15:34:492235const char kOmniboxTabSwitchSuggestionsName[] =
2236 "Omnibox tab switch suggestions";
2237const char kOmniboxTabSwitchSuggestionsDescription[] =
2238 "Enable suggestions for switching to open tabs within the Omnibox.";
2239
krbcc621412017-06-01 19:40:282240const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2241const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192242 "Enable receiving tail suggestions, a type of search suggestion based on "
2243 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342244
Brett Wilson7b44537e2017-08-18 01:38:282245const char kOneGoogleBarOnLocalNtpName[] =
2246 "Enable the OneGoogleBar on the local NTP";
2247const char kOneGoogleBarOnLocalNtpDescription[] =
2248 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2249 "search engine.";
2250
Brett Wilson7b44537e2017-08-18 01:38:282251const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2252const char kUseGoogleLocalNtpDescription[] =
2253 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322254
Brett Wilson7b44537e2017-08-18 01:38:282255const char kVoiceSearchOnLocalNtpName[] =
2256 "Enable Voice Search on the local NTP";
2257const char kVoiceSearchOnLocalNtpDescription[] =
2258 "Show a microphone for voice search on the local New Tab page "
2259 "if Google is the default search engine.";
2260
2261#if defined(GOOGLE_CHROME_BUILD)
2262
2263const char kGoogleBrandedContextMenuName[] =
2264 "Google branding in the context menu";
2265const char kGoogleBrandedContextMenuDescription[] =
2266 "Shows a Google icon next to context menu items powered by Google "
2267 "services.";
2268
2269#endif // !defined(GOOGLE_CHROME_BUILD)
2270
2271#endif // !defined(OS_ANDROID)
2272
2273// Windows ---------------------------------------------------------------------
2274
2275#if defined(OS_WIN)
2276
2277const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2278const char kCloudPrintXpsDescription[] =
2279 "XPS enables advanced options for classic printers connected to the Cloud "
2280 "Print with Chrome. Printers must be re-connected after changing this "
2281 "flag.";
2282
Dave Tapuskadd43469d2017-08-22 22:15:532283const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2284const char kDirectManipulationStylusDescription[] =
2285 "If enabled, Chrome will scroll web pages on stylus drag.";
2286
Brett Wilson7b44537e2017-08-18 01:38:282287const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2288const char kDisablePostscriptPrintingDescription[] =
2289 "Disables PostScript generation when printing to PostScript capable "
2290 "printers, and uses EMF generation in its place.";
2291
2292const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2293const char kEnableAppcontainerDescription[] =
2294 "Enables the use of an AppContainer on sandboxed processes to improve "
2295 "security.";
2296
2297const char kEnableD3DVsync[] = "D3D v-sync";
2298const char kEnableD3DVsyncDescription[] =
2299 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2300 "to occur.";
2301
2302const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2303const char kEnableDesktopIosPromotionsDescription[] =
2304 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2305 "eligible.";
2306
2307const char kGdiTextPrinting[] = "GDI Text Printing";
2308const char kGdiTextPrintingDescription[] =
2309 "Use GDI to print text as simply text";
2310
Brett Wilson7b44537e2017-08-18 01:38:282311const char kTraceExportEventsToEtwName[] =
2312 "Enable exporting of tracing events to ETW.";
2313const char kTraceExportEventsToEtwDesription[] =
2314 "If enabled, trace events will be exported to the Event Tracing for "
2315 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2316 "Xperf.";
2317
2318const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2319const char kUseWinrtMidiApiDescription[] =
2320 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2321 "later).";
2322
2323const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2324const char kWindows10CustomTitlebarDescription[] =
2325 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2326 "deferring to Windows.";
2327
Wez6656c572017-08-29 22:29:582328#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502329const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2330const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582331 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2332 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2333#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2334
Brett Wilson7b44537e2017-08-18 01:38:282335#endif // defined(OS_WIN)
2336
2337// Mac -------------------------------------------------------------------------
2338
2339#if defined(OS_MACOSX)
2340
2341const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2342const char kAppInfoDialogDescription[] =
2343 "Makes the Toolkit-Views based App Info dialog accessible from "
2344 "chrome://apps or chrome://extensions in place of the native extension "
2345 "permissions dialog, or the details link (which is a link to the Web "
2346 "Store).";
2347
2348const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2349const char kAppWindowCyclingDescription[] =
2350 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2351 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2352 "browser window, and browser windows will not be cycled when a Chrome App "
2353 "is active.";
2354
Lei Zhang2eca9082017-10-17 20:42:502355const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2356const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282357 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2358
2359const char kFullscreenToolbarRevealName[] =
2360 "Enables the toolbar in fullscreen to reveal itself.";
2361const char kFullscreenToolbarRevealDescription[] =
2362 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2363 "has changed.";
2364
2365const char kContentFullscreenName[] = "Improved Content Fullscreen";
2366const char kContentFullscreenDescription[] =
2367 "Fullscreen content window detaches from main browser window and goes to "
2368 "a new space without moving or changing the original browser window.";
2369
Lei Zhang2eca9082017-10-17 20:42:502370const char kDialogTouchBarName[] = "Dialog Touch Bar";
2371const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282372 "Shows Dialog buttons on the Touch Bar.";
2373
2374const char kHostedAppsInWindowsName[] =
2375 "Allow hosted apps to be opened in windows";
2376const char kHostedAppsInWindowsDescription[] =
2377 "Allows hosted apps to be opened in windows instead of being limited to "
2378 "tabs.";
2379
Lei Zhang2eca9082017-10-17 20:42:502380const char kMacRTLName[] = "Enable RTL";
2381const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282382
Lei Zhang2eca9082017-10-17 20:42:502383const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2384const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522385 "Enables sharing via macOS share extensions.";
2386
Lei Zhang2eca9082017-10-17 20:42:502387const char kMacTouchBarName[] = "Hardware Touch Bar";
2388const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282389
2390const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2391const char kMacV2SandboxDescription[] =
2392 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2393 "entire life cycle.";
2394
2395const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2396const char kMacViewsNativeAppWindowsDescription[] =
2397 "Controls whether to use Toolkit-Views based Chrome App windows.";
2398
Jérôme Lebelff683d42017-11-10 10:24:022399const char kMacViewsProfileChooserName[] =
2400 "Profile chooser menu with toolkit-views on Mac";
2401const char kMacViewsProfileChooserDescription[] =
2402 "Enables profile chooser menu based on toolkit-views, on Mac";
2403
Brett Wilson7b44537e2017-08-18 01:38:282404const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2405const char kMacViewsTaskManagerDescription[] =
2406 "Controls whether to use the Toolkit-Views based Task Manager.";
2407
2408const char kTabDetachingInFullscreenName[] =
2409 "Allow tab detaching in fullscreen";
2410const char kTabDetachingInFullscreenDescription[] =
2411 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2412
2413const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2414const char kTabStripKeyboardFocusDescription[] =
2415 "Enable keyboard focus for the tabs in the tab strip.";
2416
2417const char kTranslateNewUxName[] = "New Translate UX";
2418const char kTranslateNewUxDescription[] =
2419 "Enable the new Translate bubble UX is offered instead of the infobar.";
2420
Brett Wilson7b44537e2017-08-18 01:38:282421#endif
2422
2423// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342424
2425#if defined(OS_CHROMEOS)
2426
Brett Wilson7b44537e2017-08-18 01:38:282427const char kAcceleratedMjpegDecodeName[] =
2428 "Hardware-accelerated mjpeg decode for captured frame";
2429const char kAcceleratedMjpegDecodeDescription[] =
2430 "Enable hardware-accelerated mjpeg decode for captured frame where "
2431 "available.";
vabr0215a8e2017-03-28 12:47:342432
Brett Wilson7b44537e2017-08-18 01:38:282433const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2434const char kAllowTouchpadThreeFingerClickDescription[] =
2435 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342436
Brett Wilson7b44537e2017-08-18 01:38:282437const char kArcBootCompleted[] = "Load Android apps automatically";
2438const char kArcBootCompletedDescription[] =
2439 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342440
Lev Rumyantsev7a8544312017-08-18 19:26:512441const char kArcNativeBridgeExperimentName[] =
2442 "Enable native bridge experiment for ARC";
2443const char kArcNativeBridgeExperimentDescription[] =
2444 "Enables experimental native bridge feature.";
2445
lgchengecd1c1a62018-01-09 02:59:462446const char kArcUsbHostName[] = "Enable ARC USB host integration";
2447const char kArcUsbHostDescription[] =
2448 "Allow Android apps to use USB host feature on ChromeOS devices.";
2449
Kevin Cernekeeb7f96a52017-10-25 17:40:182450const char kArcVpnName[] = "Enable ARC VPN integration";
2451const char kArcVpnDescription[] =
2452 "Allow Android VPN clients to tunnel Chrome traffic.";
2453
Brett Wilson7b44537e2017-08-18 01:38:282454const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2455const char kAshEnableUnifiedDesktopDescription[] =
2456 "Enable unified desktop mode which allows a window to span multiple "
2457 "displays.";
vabr0215a8e2017-03-28 12:47:342458
Sean Kau5e956192017-10-06 22:25:172459const char kBulkPrintersName[] = "Bulk Printers Policy";
2460const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2461
Brett Wilson7b44537e2017-08-18 01:38:282462const char kCaptivePortalBypassProxyName[] =
2463 "Bypass proxy for Captive Portal Authorization";
2464const char kCaptivePortalBypassProxyDescription[] =
2465 "If proxy is configured, it usually prevents from authorization on "
2466 "different captive portals. This enables opening captive portal "
2467 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342468
Brett Wilson7b44537e2017-08-18 01:38:282469const char kCrOSComponentName[] = "Chrome OS Component";
2470const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082471 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342472
Xiaochu Liu51d03fd2017-09-08 23:51:022473const char kCrOSContainerName[] = "Chrome OS Container";
2474const char kCrOSContainerDescription[] =
2475 "Enable the use of Chrome OS Container utility.";
2476
Brett Wilson7b44537e2017-08-18 01:38:282477const char kCrosRegionsModeName[] = "Cros-regions load mode";
2478const char kCrosRegionsModeDescription[] =
2479 "This flag controls cros-regions load mode";
2480const char kCrosRegionsModeDefault[] = "Default";
2481const char kCrosRegionsModeOverride[] = "Override VPD values.";
2482const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342483
Jacob Dufault2becbc482017-08-25 00:36:352484const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2485const char kDisableLockScreenAppsDescription[] =
2486 "Disable new-note action handler apps on the lock screen. The user will "
2487 "not be able to launch the preferred note-taking action from the lock "
2488 "screen, provided that the app supports lock screen note taking.";
2489
Sammie Quonef6b4882017-09-14 16:50:052490const char kDisableTabletAutohideTitlebarsName[] =
2491 "Disable autohide titlebars in tablet mode";
2492const char kDisableTabletAutohideTitlebarsDescription[] =
2493 "Disable tablet mode autohide titlebars functionality. The user will be "
2494 "able to see the titlebar in tablet mode.";
2495
xdai302074a2017-12-21 19:49:492496const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2497const char kDisableTabletSplitViewDescription[] =
2498 "Disable split view for Chrome OS tablet mode.";
2499
Brett Wilson7b44537e2017-08-18 01:38:282500const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2501const char kEnablePerUserTimezoneDescription[] =
2502 "Chrome OS system timezone preference is stored and handled for each user "
2503 "individually.";
vabr0215a8e2017-03-28 12:47:342504
Brett Wilson7b44537e2017-08-18 01:38:282505const char kDisableSystemTimezoneAutomaticDetectionName[] =
2506 "SystemTimezoneAutomaticDetection policy support";
2507const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2508 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342509
Lei Zhang2eca9082017-10-17 20:42:502510const char kEnableBackgroundBlurName[] = "Enable background blur.";
2511const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422512 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392513
Brett Wilson7b44537e2017-08-18 01:38:282514const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2515const char kEnableAndroidWallpapersAppDescription[] =
2516 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2517 "OS.";
vabr0215a8e2017-03-28 12:47:342518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2520const char kEnableChromevoxArcSupportDescription[] =
2521 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342522
Brett Wilson7b44537e2017-08-18 01:38:282523const char kEnableEhvInputName[] =
2524 "Emoji, handwriting and voice input on opt-in IME menu";
2525const char kEnableEhvInputDescription[] =
2526 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342527
Brett Wilson7b44537e2017-08-18 01:38:282528const char kEnableEncryptionMigrationName[] =
2529 "Enable encryption migration of user data";
2530const char kEnableEncryptionMigrationDescription[] =
2531 "If enabled and the device supports ARC, the user will be asked to update "
2532 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342533
Blake O'Hare9e9317b22017-10-24 02:49:352534const char kEnableFloatingVirtualKeyboardName[] =
2535 "Enable floating virtual keyboard";
2536const char kEnableFloatingVirtualKeyboardDescription[] =
2537 "If enabled, the keyboard will use floating behavior by default.";
2538
Brett Wilson7b44537e2017-08-18 01:38:282539const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2540const char kEnableImeMenuDescription[] =
2541 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342542
Klemen Kozjek05fc4512017-10-18 12:51:102543const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2544const char kEnableZipArchiverPackerDescription[] =
2545 "Enable the ability to archive files on Drive in the Files app";
2546
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412547const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2548const char kZipArchiverUnpackerDescription[] =
2549 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282550
2551const char kEolNotificationName[] = "Disable Device End of Life notification.";
2552const char kEolNotificationDescription[] =
2553 "Disable Notifcation when Device is End of Life.";
2554
2555const char kExperimentalAccessibilityFeaturesName[] =
2556 "Experimental accessibility features";
2557const char kExperimentalAccessibilityFeaturesDescription[] =
2558 "Enable additional accessibility features in the Settings page.";
2559
2560const char kExperimentalInputViewFeaturesName[] =
2561 "Experimental input view features";
2562const char kExperimentalInputViewFeaturesDescription[] =
2563 "Enable experimental features for IME input views.";
2564
2565const char kFileManagerTouchModeName[] = "Files App. touch mode";
2566const char kFileManagerTouchModeDescription[] =
2567 "Touchscreen-specific interactions of the Files app.";
2568
2569const char kFirstRunUiTransitionsName[] =
2570 "Animated transitions in the first-run tutorial";
2571const char kFirstRunUiTransitionsDescription[] =
2572 "Transitions during first-run tutorial are animated.";
2573
Brett Wilson7b44537e2017-08-18 01:38:282574const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2575const char kForceEnableStylusToolsDescription[] =
2576 "Forces display of the stylus tools menu in the shelf and the stylus "
2577 "section in settings, even if there is no attached stylus device.";
2578
2579const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2580const char kGestureEditingDescription[] =
2581 "Enable/Disable gesture editing option in the settings page for the "
2582 "virtual keyboard.";
2583
2584const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2585const char kGestureTypingDescription[] =
2586 "Enable/Disable gesture typing option in the settings page for the virtual "
2587 "keyboard.";
2588
2589const char kInputViewName[] = "Input views";
2590const char kInputViewDescription[] =
2591 "Enable IME extensions to supply custom views for user input such as "
2592 "virtual keyboards.";
2593
2594const char kMemoryPressureThresholdName[] =
2595 "Memory discard strategy for advanced pressure handling";
2596const char kMemoryPressureThresholdDescription[] =
2597 "Memory discarding strategy to use";
2598const char kConservativeThresholds[] =
2599 "Conservative memory pressure release strategy";
2600const char kAggressiveCacheDiscardThresholds[] =
2601 "Aggressive cache release strategy";
2602const char kAggressiveTabDiscardThresholds[] =
2603 "Aggressive tab release strategy";
2604const char kAggressiveThresholds[] =
2605 "Aggressive tab and cache release strategy";
2606
2607const char kMtpWriteSupportName[] = "MTP write support";
2608const char kMtpWriteSupportDescription[] =
2609 "MTP write support in File System API (and file manager). In-place editing "
2610 "operations are not supported.";
2611
2612const char kMultideviceName[] = "Enable multidevice features";
2613const char kMultideviceDescription[] =
2614 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342615
Bailey Berrodca8eeca02017-11-18 00:49:122616const char kNativeSmbName[] = "Native Smb Client";
2617const char kNativeSmbDescription[] =
2618 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302619
vabr0215a8e2017-03-28 12:47:342620const char kNetworkPortalNotificationName[] =
2621 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342622const char kNetworkPortalNotificationDescription[] =
2623 "If enabled, notification is displayed when device is connected to a "
2624 "network behind captive portal.";
2625
Steven Bennetts77b67972017-12-14 19:38:322626const char kDisableNetworkSettingsConfigName[] =
2627 "Disable Settings based Network Configuration";
2628const char kDisableNetworkSettingsConfigDescription[] =
2629 "Disables the Settings based network configuration UI and restores the "
2630 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242631
Brett Wilson7b44537e2017-08-18 01:38:282632const char kNewKoreanImeName[] = "New Korean IME";
2633const char kNewKoreanImeDescription[] =
2634 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342635
Brett Wilson7b44537e2017-08-18 01:38:282636const char kNewZipUnpackerName[] = "New ZIP unpacker";
2637const char kNewZipUnpackerDescription[] =
2638 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342639
Brett Wilson7b44537e2017-08-18 01:38:282640const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2641const char kPhysicalKeyboardAutocorrectDescription[] =
2642 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2643 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342644
2645const char kPrinterProviderSearchAppName[] =
2646 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342647const char kPrinterProviderSearchAppDescription[] =
2648 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192649 "searches Chrome Web Store for extensions that support printing to a USB "
2650 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342651
Brett Wilson7b44537e2017-08-18 01:38:282652const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2653const char kQuickUnlockPinDescription[] =
2654 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2655 "device on the lock screen after you have signed into your device.";
2656const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2657const char kQuickUnlockPinSigninDescription[] =
2658 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2659 "device. After changing this flag PIN needs to be set up again.";
2660const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2661const char kQuickUnlockFingerprintDescription[] =
2662 "Enabling fingerprint quick unlock allows you to setup and use a "
2663 "fingerprint to unlock your Chromebook on the lock screen after you have "
2664 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342665
Brett Wilson7b44537e2017-08-18 01:38:282666const char kOfficeEditingComponentAppName[] =
2667 "Office Editing for Docs, Sheets & Slides";
2668const char kOfficeEditingComponentAppDescription[] =
2669 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072670
James Cook0ba192bf2017-12-01 20:53:112671const char kShowTapsName[] = "Show taps";
2672const char kShowTapsDescription[] =
2673 "Draws a circle at each touch point, which makes touch points more obvious "
2674 "when projecting or mirroring the display. Similar to the Android OS "
2675 "developer option.";
2676
2677const char kShowTouchHudName[] = "Show HUD for touch points";
2678const char kShowTouchHudDescription[] =
2679 "Shows a trail of colored dots for the last few touch points. Pressing "
2680 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2681 "debug hardware issues that generate spurious touch events.";
2682
Chung-Sheng Wu468b0b32017-09-01 14:41:572683const char kSysInternalsName[] = "Enable Sys-Internals";
2684const char kSysInternalsDescription[] =
2685 "If enabled, user can monitor system information at "
2686 "chrome://sys-internals.";
2687
Brett Wilson7b44537e2017-08-18 01:38:282688const char kTeamDrivesName[] = "Enable Team Drives Integration";
2689const char kTeamDrivesDescription[] =
2690 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342691
Brett Wilson7b44537e2017-08-18 01:38:282692const char kTetherName[] = "Instant Tethering";
2693const char kTetherDescription[] =
2694 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2695 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372696
Brett Wilson7b44537e2017-08-18 01:38:282697const char kTouchscreenCalibrationName[] =
2698 "Enable/disable touchscreen calibration option in material design settings";
2699const char kTouchscreenCalibrationDescription[] =
2700 "If enabled, the user can calibrate the touch screen displays in "
2701 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092702
Mitsuru Oshima63d3f2a2017-08-23 00:12:112703// Force UI Mode
2704const char kUiModeName[] = "Force Ui Mode";
2705const char kUiModeDescription[] =
2706 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2707 R"*(despite its current orientation. "Tablet" means that the )*"
2708 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2709 R"*(means that the chromebook will act as if it were in clamshell )*"
2710 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2711 R"*(the two, based on its orientation.)*";
2712const char kUiModeTablet[] = "TouchView";
2713const char kUiModeClamshell[] = "Clamshell";
2714const char kUiModeAuto[] = "Auto (default)";
2715
bruthigeafb0c02017-06-09 13:11:532716const char kUiDevToolsName[] = "Enable native UI inspection";
2717const char kUiDevToolsDescription[] =
2718 "Enables inspection of native UI elements. For local inspection use "
2719 "chrome://inspect#other";
2720
Brett Wilson7b44537e2017-08-18 01:38:282721const char kUseMusName[] = "Mus";
2722const char kUseMusDescription[] = "Enable the Mojo UI service.";
2723const char kEnableMashDescription[] =
2724 "Mash (UI, Chrome and ash in separate services)";
2725const char kEnableMusDescription[] =
2726 "Mus (UI in separate service, Chrome and ash in same service)";
2727
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342728// TODO(mcasas): remove after https://crbug.com/771345.
2729const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2730const char kUseMonitorColorSpaceDescription[] =
2731 "Enables Chrome to use the color space information provided by the monitor"
2732 " instead of the default sRGB color space.";
2733
Brett Wilson7b44537e2017-08-18 01:38:282734const char kVideoPlayerChromecastSupportName[] =
2735 "Experimental Chromecast support for Video Player";
2736const char kVideoPlayerChromecastSupportDescription[] =
2737 "This option enables experimental Chromecast support for Video Player app "
2738 "on ChromeOS.";
2739
2740const char kVirtualKeyboardName[] = "Virtual Keyboard";
2741const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2742
2743const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2744const char kVirtualKeyboardOverscrollDescription[] =
2745 "Enables virtual keyboard overscroll support.";
2746
2747const char kVoiceInputName[] = "Voice input on virtual keyboard";
2748const char kVoiceInputDescription[] =
2749 "Enables voice input on virtual keyboard.";
2750
2751const char kWakeOnPacketsName[] = "Wake On Packets";
2752const char kWakeOnPacketsDescription[] =
2753 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202754
yhanadac5bff5b2017-05-18 06:37:092755#endif // defined(OS_CHROMEOS)
2756
Brett Wilson7b44537e2017-08-18 01:38:282757// Random platform combinations -----------------------------------------------
2758
2759#if defined(OS_WIN) || defined(OS_LINUX)
2760
2761const char kEnableInputImeApiName[] = "Enable Input IME API";
2762const char kEnableInputImeApiDescription[] =
2763 "Enable the use of chrome.input.ime API.";
2764
2765#endif // defined(OS_WIN) || defined(OS_LINUX)
2766
2767#if defined(OS_WIN) || defined(OS_MACOSX)
2768
2769const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2770const char kAutomaticTabDiscardingDescription[] =
2771 "If enabled, tabs get automatically discarded from memory when the system "
2772 "memory is low. Discarded tabs are still visible on the tab strip and get "
2773 "reloaded when clicked on. Info about discarded tabs can be found at "
2774 "chrome://discards.";
2775
2776#endif // defined(OS_WIN) || defined(OS_MACOSX)
2777
2778// Feature flags --------------------------------------------------------------
2779
2780#if BUILDFLAG(ENABLE_VR)
2781
David Dorwin5a496c32017-11-17 01:45:052782const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2783const char kWebVrVsyncAlignDescription[] =
2784 "Align WebVR application rendering with VSync for smoother animations.";
2785
Brett Wilson7b44537e2017-08-18 01:38:282786#if defined(OS_ANDROID)
2787
David Dorwin5a496c32017-11-17 01:45:052788const char kVrBrowsingName[] = "VR browsing";
2789const char kVrBrowsingDescription[] =
2790 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282791
Yash Malik50bcfc12017-11-18 00:47:592792const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2793const char kVrBrowserKeyboardDescription[] =
2794 "Enable a virtual keyboard for Chrome VR.";
2795
David Dorwin5a496c32017-11-17 01:45:052796const char kVrBrowsingExperimentalFeaturesName[] =
2797 "VR browsing experimental features";
2798const char kVrBrowsingExperimentalFeaturesDescription[] =
2799 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282800
David Dorwin5a496c32017-11-17 01:45:052801const char kVrBrowsingExperimentalRenderingName[] =
2802 "VR browsing experimental rendering features";
2803const char kVrBrowsingExperimentalRenderingDescription[] =
2804 "Experimental rendering features for VR browsing (e.g. power-saving "
2805 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102806
David Dorwin5a496c32017-11-17 01:45:052807const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2808const char kVrBrowsingInCustomTabDescription[] =
2809 "Allow browsing within a VR headset while in a Custom Tab.";
2810
2811const char kVrLaunchIntentsName[] = "VR intents";
2812const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262813 "Allow intents to launch Chrome in VR mode.";
2814
David Dorwin5a496c32017-11-17 01:45:052815const char kWebVrAutopresentFromIntentName[] =
2816 "WebVR auto presentation from intents";
2817const char kWebVrAutopresentFromIntentDescription[] =
2818 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282819
2820#endif // OS_ANDROID
2821
Bill Orr49527562017-11-22 16:58:482822#if BUILDFLAG(ENABLE_OPENVR)
2823const char kOpenVRName[] = "OpenVR hardware support";
2824const char kOpenVRDescription[] =
2825 "If enabled, Chrome will use OpenVR devices for VR.";
2826#endif // ENABLE_OPENVR
2827
Brett Wilson7b44537e2017-08-18 01:38:282828#endif // ENABLE_VR
2829
Nico Weberaf3b00b2017-09-11 17:58:172830#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282831
2832const char kNaclDebugMaskName[] =
2833 "Restrict Native Client GDB-based debugging by pattern";
2834const char kNaclDebugMaskDescription[] =
2835 "Restricts Native Client application GDB-based debugging by URL of "
2836 "manifest file. Native Client GDB-based debugging must be enabled for this "
2837 "option to work.";
2838const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2839const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2840 "Debug everything except secure shell and the PNaCl translator.";
2841const char kNaclDebugMaskChoiceIncludeDebug[] =
2842 "Debug only if manifest URL ends with debug.nmf.";
2843
2844const char kNaclDebugName[] = "Native Client GDB-based debugging";
2845const char kNaclDebugDescription[] =
2846 "Enable GDB debug stub. This will stop a Native Client application on "
2847 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2848
2849const char kNaclName[] = "Native Client";
2850const char kNaclDescription[] =
2851 "Support Native Client for all web applications, even those that were not "
2852 "installed from the Chrome Web Store.";
2853
2854const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2855const char kPnaclSubzeroDescription[] =
2856 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2857
Nico Weberaf3b00b2017-09-11 17:58:172858#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282859
Brett Wilson7b44537e2017-08-18 01:38:282860#if BUILDFLAG(ENABLE_WEBRTC)
2861
2862const char kWebrtcH264WithOpenh264FfmpegName[] =
2863 "WebRTC H.264 software video encoder/decoder";
2864const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2865 "When enabled, an H.264 software video encoder/decoder pair is included. "
2866 "If a hardware encoder/decoder is also available it may be used instead of "
2867 "this encoder/decoder.";
2868
2869#endif // BUILDFLAG(ENABLE_WEBRTC)
2870
James Cookf9d34d22017-10-04 16:39:352871#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282872
Wenzhao Zang50fb0b22017-11-07 01:38:422873const char kAshDisableLoginDimAndBlurName[] =
2874 "Disable dimming and blur on login screen.";
2875const char kAshDisableLoginDimAndBlurDescription[] =
2876 "Disable dimming and blur on login screen.";
2877
Brett Wilson7b44537e2017-08-18 01:38:282878const char kAshDisableSmoothScreenRotationName[] =
2879 "Disable smooth rotation animations.";
2880const char kAshDisableSmoothScreenRotationDescription[] =
2881 "Disable smooth rotation animations.";
2882
Qiang Xub7e921072017-12-07 21:02:112883const char kAshEnableDisplayMoveWindowAccelsName[] =
2884 "Enable shortcuts for moving window between displays.";
2885const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2886 "Enable shortcuts for moving window between displays.";
2887
wutaoc70d7b92017-11-01 08:06:012888const char kAshEnableKeyboardShortcutViewerName[] =
2889 "Enable keyboard shortcut viewer.";
2890const char kAshEnableKeyboardShortcutViewerDescription[] =
2891 "Enable keyboard shortcut viewer.";
2892
Brett Wilson7b44537e2017-08-18 01:38:282893const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2894const char kAshEnableMirroredScreenDescription[] =
2895 "Enable the mirrored screen mode. This mode flips the screen image "
2896 "horizontally.";
2897
2898const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2899const char kAshShelfColorDescription[] =
2900 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2901 "--ash-shelf-color-scheme flag defines how that color is derived.";
2902
2903const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2904const char kAshShelfColorSchemeDescription[] =
2905 "Specify how the color is derived from the wallpaper. This flag is only "
2906 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2907const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2908const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2909const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2910const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2911const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2912const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2913
Mike Wassermana38a8a62017-10-02 03:04:272914const char kAshDisableShelfModelSynchronization[] =
2915 "Disable shelf model synchronization";
2916const char kAshDisableShelfModelSynchronizationDescription[] =
2917 "Use a single in-process shelf data model shared between Chrome and Ash. "
2918 "This only applies to the Classic Ash and Mus configs; synchronization "
2919 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372920
Brett Wilson7b44537e2017-08-18 01:38:282921const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372922 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282923const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2924 "Sets the speed of the experimental visual feedback animations for "
2925 "material design.";
2926const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2927const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2928
2929const char kUiShowCompositedLayerBordersName[] =
2930 "Show UI composited layer borders";
2931const char kUiShowCompositedLayerBordersDescription[] =
2932 "Show border around composited layers created by UI.";
2933const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2934const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2935const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2936const char kUiShowCompositedLayerBordersAll[] = "All";
2937
2938const char kUiSlowAnimationsName[] = "Slow UI animations";
2939const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2940
James Cookf9d34d22017-10-04 16:39:352941#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282942
Brett Wilson7b44537e2017-08-18 01:38:282943#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2944
2945const char kAutofillCreditCardUploadName[] =
2946 "Enable offering upload of Autofilled credit cards";
2947const char kAutofillCreditCardUploadDescription[] =
2948 "Enables a new option to upload credit cards to Google Payments for sync "
2949 "to all Chrome devices.";
2950
2951#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2952
2953// ============================================================================
2954// Don't just add flags to the end, put them in the right section in
2955// alphabetical order just like the header file.
2956// ============================================================================
2957
vabr0215a8e2017-03-28 12:47:342958} // namespace flag_descriptions