blob: d3be5fea58c90003e9a6727db52650b55c6a1748 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Shubhie Panicker48616c32017-10-26 21:46:2512const char kStopLoadingInBackgroundName[] = "Stop loading in background";
13const char kStopLoadingInBackgroundDescription[] =
14 "Stop loading tasks and loading "
15 "resources, in the background, after certain grace time.";
16
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
18const char kAccelerated2dCanvasDescription[] =
19 "Enables the use of the GPU to perform 2d canvas rendering instead of "
20 "using software rendering.";
horodb71a5a2017-06-09 16:08:2421
Brett Wilsonf27ff602017-07-07 22:28:4722const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
23const char kAcceleratedVideoDecodeDescription[] =
24 "Hardware-accelerated video decode where available.";
25
26const char kAffiliationBasedMatchingName[] =
27 "Affiliation based matching in password manager";
28const char kAffiliationBasedMatchingDescription[] =
29 "Allow credentials stored for Android applications to be filled into "
30 "corresponding websites.";
31
32const char kAllowInsecureLocalhostName[] =
33 "Allow invalid certificates for resources loaded from localhost.";
34const char kAllowInsecureLocalhostDescription[] =
35 "Allows requests to localhost over HTTPS even when an invalid certificate "
36 "is presented.";
37
38const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
39const char kAllowNaclSocketApiDescription[] =
40 "Allows applications to use NaCl Socket API. Use only to test NaCl "
41 "plugins.";
42
43const char kAppBannersName[] = "App Banners";
44const char kAppBannersDescription[] =
45 "Enable the display of Progressive Web App banners, which prompt a user to "
46 "add a web app to their shelf, or other platform-specific equivalent.";
47
yoshiki iguchi4a10c5f2017-11-29 20:16:5448const char kAshSidebarName[] = "Sidebar";
49const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
50
Khushalba202212017-07-12 19:53:4951const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
52const char kAsyncImageDecodingDescription[] =
53 "Enables asynchronous decoding of images from raster for web content";
54
Brett Wilsonf27ff602017-07-07 22:28:4755const char kAutoplayPolicyName[] = "Autoplay policy";
56const char kAutoplayPolicyDescription[] =
57 "Policy used when deciding if audio or video is allowed to autoplay.";
58
59const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
60 "User gesture is required for cross-origin iframes.";
61const char kAutoplayPolicyNoUserGestureRequired[] =
62 "No user gesture is required.";
63const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
64const char kAutoplayPolicyDocumentUserActivation[] =
65 "Document user activation is required.";
66
Johanne0cc6902017-11-16 00:23:5067extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
68extern const char kAv1DecoderDescription[] =
69 "Allow decoding of files with the AV1 video codec.";
70
Brett Wilsonf27ff602017-07-07 22:28:4771const char kBackgroundVideoTrackOptimizationName[] =
72 "Optimize background video playback.";
73const char kBackgroundVideoTrackOptimizationDescription[] =
74 "Disable video tracks when the video is played in the background to "
75 "optimize performance.";
76
77const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
78const char kBleAdvertisingInExtensionsDescription[] =
79 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
80 "with regular use of Bluetooth Low Energy features.";
81
Charles Harrisond629cc62017-10-05 01:39:5482const char kBlockTabUndersName[] = "Block tab-unders";
83const char kBlockTabUndersDescription[] =
84 "Blocks tab-unders in Chrome with some native UI to allow the user to "
85 "proceed.";
86
arthursonzognif2bc2d202017-11-08 11:01:0287const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
88const char kNavigationMojoResponseDescription[] =
89 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
90 "the body of the main resource to the renderer process. This flag replaces "
91 "this mechanism by using a Mojo DataPipe.";
92
Brett Wilsonf27ff602017-07-07 22:28:4793const char kBrowserTaskSchedulerName[] = "Task Scheduler";
94const char kBrowserTaskSchedulerDescription[] =
95 "Enables redirection of some task posting APIs to the task scheduler.";
96
97const char kBypassAppBannerEngagementChecksName[] =
98 "Bypass user engagement checks";
99const char kBypassAppBannerEngagementChecksDescription[] =
100 "Bypasses user engagement checks for displaying app banners, such as "
101 "requiring that users have visited the site before and that the banner "
102 "hasn't been shown recently. This allows developers to test that other "
103 "eligibility requirements for showing app banners, such as having a "
104 "manifest, are met.";
105
Lucas Garronb9539b732017-10-31 00:22:09106const char kCommittedInterstitialsName[] = "Committed Interstitials";
107const char kCommittedInterstitialsDescription[] =
108 "Use committed error pages instead of transient navigation entries "
109 "for interstitial error pages (e.g. certificate errors).";
110
Marc Treib026acc532017-10-17 18:39:59111const char kCaptureThumbnailOnNavigatingAwayName[] =
112 "Capture page thumbnail on navigating away";
113const char kCaptureThumbnailOnNavigatingAwayDescription[] =
114 "Capture a page thumbnail (for use on the New Tab page) when navigating "
115 "away from the current page, in addition to other times a thumbnail may be "
116 "captured.";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const char kCastStreamingHwEncodingName[] =
119 "Cast Streaming hardware video encoding";
120const char kCastStreamingHwEncodingDescription[] =
121 "This option enables support in Cast Streaming for encoding video streams "
122 "using platform hardware.";
123
Amber Won478561d2017-08-19 01:02:59124const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
125const char kClickToOpenPDFDescription[] =
126 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
127 "embedded PDFs.";
128
Gary Kacmarcikfb69b212017-11-14 03:41:08129const char kClipboardContentSettingName[] = "Clipboard content setting";
130const char kClipboardContentSettingDescription[] =
131 "Enables a site-wide permission in the UI which controls access to the "
132 "asynchronous clipboard web API";
133
Brett Wilsonf27ff602017-07-07 22:28:47134const char kCloudImportName[] = "Cloud Import";
135const char kCloudImportDescription[] = "Allows the cloud-import feature.";
136
Christopher Cameronceb8727d2017-09-07 23:53:16137const char kForceColorProfileSRGB[] = "sRGB";
138const char kForceColorProfileP3[] = "Display P3 D65";
139const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
140const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
141
142const char kForceColorProfileName[] = "Force color profile";
143const char kForceColorProfileDescription[] =
144 "Forces Chrome to use a specific color profile instead of the color "
145 "of the window's current monitor, as specified by the operating system.";
146
Brett Wilsonf27ff602017-07-07 22:28:47147const char kCompositedLayerBordersName[] = "Composited render layer borders";
148const char kCompositedLayerBordersDescription[] =
149 "Renders a border around composited Render Layers to help debug and study "
150 "layer compositing.";
151
152const char kContextualSuggestionsCarouselName[] =
153 "Enable Contextual Suggestions";
154const char kContextualSuggestionsCarouselDescription[] =
155 "If enabled, shows contextual suggestions in a horizontal carousel in "
156 "bottom sheet content.";
157
158const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
159const char kCreditCardAssistDescription[] =
160 "Enable assisted credit card filling on certain sites.";
161
162const char kCrossProcessGuestViewIsolationName[] =
163 "Cross process frames for guests";
164const char kCrossProcessGuestViewIsolationDescription[] =
165 "Highly experimental where guests such as <webview> are implemented on "
166 "the out-of-process iframe infrastructure.";
167
Thanh Le659cb102017-12-20 22:00:19168const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
169const char kDataSaverServerPreviewsDescription[] =
170 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47171
172const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
173const char kDatasaverPromptDescription[] =
174 "Enables a prompt, which appears when a cellular network connection is "
175 "detected, to take the user to the Data Saver extension page on Chrome Web "
176 "Store.";
177const char kDatasaverPromptDemoMode[] = "Demo mode";
178
179const char kDebugPackedAppName[] = "Debugging for packed apps";
180const char kDebugPackedAppDescription[] =
181 "Enables debugging context menu options such as Inspect Element for packed "
182 "applications.";
183
184const char kDefaultTileHeightName[] = "Default tile height";
185const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
186const char kDefaultTileHeightShort[] = "128";
187const char kDefaultTileHeightTall[] = "256";
188const char kDefaultTileHeightGrande[] = "512";
189const char kDefaultTileHeightVenti[] = "1024";
190
191const char kDefaultTileWidthName[] = "Default tile width";
192const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
193const char kDefaultTileWidthShort[] = "128";
194const char kDefaultTileWidthTall[] = "256";
195const char kDefaultTileWidthGrande[] = "512";
196const char kDefaultTileWidthVenti[] = "1024";
197
198const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
199const char kDebugShortcutsDescription[] =
200 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
201
202const char kDeviceDiscoveryNotificationsName[] =
203 "Device Discovery Notifications";
204const char kDeviceDiscoveryNotificationsDescription[] =
205 "Device discovery notifications on local network.";
206
207const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
208const char kDevtoolsExperimentsDescription[] =
209 "Enables Developer Tools experiments. Use Settings panel in Developer "
210 "Tools to toggle individual experiments.";
211
212const char kDisableAudioForDesktopShareName[] =
213 "Disable Audio For Desktop Share";
214const char kDisableAudioForDesktopShareDescription[] =
215 "With this flag on, desktop share picker window will not let the user "
216 "choose whether to share audio.";
217
Brett Wilsonf27ff602017-07-07 22:28:47218const char kDisableTabForDesktopShareName[] =
219 "Disable Desktop Share with tab source";
220const char kDisableTabForDesktopShareDescription[] =
221 "This flag controls whether users can choose a tab for desktop share.";
222
223const char kDisallowDocWrittenScriptsUiName[] =
224 "Block scripts loaded via document.write";
225const char kDisallowDocWrittenScriptsUiDescription[] =
226 "Disallows fetches for third-party parser-blocking scripts inserted into "
227 "the main frame via document.write.";
228
Brett Wilsonf27ff602017-07-07 22:28:47229const char kDistanceFieldTextName[] = "Distance field text";
230const char kDistanceFieldTextDescription[] =
231 "Text is rendered with signed distance fields rather than bitmap alpha "
232 "masks.";
233
234const char kDriveSearchInChromeLauncherName[] =
235 "Drive Search in Chrome App Launcher";
236const char kDriveSearchInChromeLauncherDescription[] =
237 "Files from Drive will show up when searching the Chrome App Launcher.";
238
Brett Wilsonf27ff602017-07-07 22:28:47239const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
240 "Smart Lock Bluetooth Low Energy Discovery";
241const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07242 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47243 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
244 "phone is in its proximity.";
245
Gustavo Sacomotofb11164f2017-07-21 12:56:18246const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
247const char kEasyUnlockPromotionsDescription[] =
248 "Enables Smart Lock promotions. Promotions will be periodically display "
249 "if the user is eligible.";
250
Brett Wilsonf27ff602017-07-07 22:28:47251const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
252const char kEmbeddedExtensionOptionsDescription[] =
253 "Display extension options as an embedded element in chrome://extensions "
254 "rather than opening a new tab.";
255
256const char kEnableAsmWasmName[] =
257 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
258const char kEnableAsmWasmDescription[] =
259 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
260 R"*(WebAssembly.)*";
261
Shanfeng Zhang19c16562017-10-17 02:30:40262const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
263 "Credit card autofill ablation experiment.";
264const char kEnableAutofillCreditCardAblationExperimentDescription[] =
265 "If enabled, credit card autofill suggestions will not display.";
266
Brett Wilsonf27ff602017-07-07 22:28:47267const char kEnableAutofillCreditCardBankNameDisplayName[] =
268 "Display the issuer bank name of a credit card in autofill.";
269const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
270 "If enabled, displays the issuer bank name of a credit card in autofill.";
271
272const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
273 "Display the last used date of a credit card in autofill.";
274const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
275 "If enabled, display the last used date of a credit card in autofill.";
276
277const char kEnableAutofillCreditCardUploadCvcPromptName[] =
278 "Enable requesting missing CVC during Autofill credit card upload";
279const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
280 "If enabled, requests missing CVC when offering to upload credit cards to "
281 "Google Payments.";
282
Jared Saul1e4786a2017-12-14 01:43:09283const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
284 "Always send metadata on detected form values for Autofill credit card "
285 "upload";
286const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
287 "If enabled, always checks with Google Payments when deciding whether to "
288 "offer credit card upload, even if some data is missing.";
289
Jared Saul5c2a1482017-12-09 00:24:31290const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
291 "Send first six digits of PAN when deciding whether to offer Autofill "
292 "credit card upload";
293const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
294 "If enabled, when deciding whether to offer credit card upload to Google "
295 "Payments, sends the first six digits of the card number to avoid cases "
296 "where card upload is likely to fail.";
297
Jason Guo71f621e2017-10-13 04:18:53298const char kEnableAutofillSendBillingCustomerNumberName[] =
299 "Enable autofill sending billing customer number when calling Google "
300 "Payments";
301const char kEnableAutofillSendBillingCustomerNumberDescription[] =
302 "If enabled, autofill sends billing customer number when calling Google "
303 "Payments.";
304
Mathieu Perreault069024e12017-10-24 01:14:08305const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
306 "Enable toolkit-views credit card dialogs on Mac";
307const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
308 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
309
Vitalii Iarko4f9834ce2017-08-04 07:05:19310const char kEnableBreakingNewsPushName[] = "Breaking News Push";
311const char kEnableBreakingNewsPushDescription[] =
312 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
313 "through Google Cloud Messaging.";
314
Brett Wilsonf27ff602017-07-07 22:28:47315const char kEnableBrotliName[] = "Brotli Content-Encoding.";
316const char kEnableBrotliDescription[] =
317 "Enable Brotli Content-Encoding support.";
318
Qiang Xu0f602fe62017-12-22 01:31:20319const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
320const char kEnableCaptivePortalRandomUrlDescription[] =
321 "Enable Captive Portal URL randomization.";
322
sclittle50e4bb92017-07-08 02:23:03323const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
324
325const char kEnableClientLoFiDescription[] =
326 "Enable showing low fidelity images on some pages on slow networks.";
327
Doug Arnett08b4067b2017-10-12 20:14:44328const char kEnableNoScriptPreviewsName[] = "NoScript previews";
329
330const char kEnableNoScriptPreviewsDescription[] =
331 "Enable disabling JavaScript on some pages on slow networks.";
332
Thanh Le2c279fbc2017-11-21 01:25:40333const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
334const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
335const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
336const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
337const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
338const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
339const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
340const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
341const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
342const char kDataReductionProxyServerAlternative10[] =
343 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEnableDataReductionProxyServerExperimentName[] =
345 "Use an alternative Data Saver back end configuration.";
346const char kEnableDataReductionProxyServerExperimentDescription[] =
347 "Enable a different approach to saving data by configuring the back end "
348 "server";
349
350const char kEnableDataReductionProxySavingsPromoName[] =
351 "Data Saver 1 MB Savings Promo";
352const char kEnableDataReductionProxySavingsPromoDescription[] =
353 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
354 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
355 "enabled for the promo to be shown.";
356
Matt Giucad4870432017-11-24 01:04:38357const char kEnableDesktopPWAsName[] = "Desktop PWAs";
358const char kEnableDesktopPWAsDescription[] =
359 "Experimental windowing and install banner treatment for Progressive Web "
360 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17361
Brett Wilsonf27ff602017-07-07 22:28:47362const char kEnableEnumeratingAudioDevicesName[] =
363 "Experimentally enable enumerating audio devices.";
364const char kEnableEnumeratingAudioDevicesDescription[] =
365 "Experimentally enable the use of enumerating audio devices.";
366
367const char kEnableGenericSensorName[] = "Generic Sensor";
368const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25369 "Enables motion sensor classes based on Generic Sensor API, i.e. "
370 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
371 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
372
373const char kEnableGenericSensorExtraClassesName[] =
374 "Generic Sensor Extra Classes";
375const char kEnableGenericSensorExtraClassesDescription[] =
376 "Enables an extra set of sensor classes based on Generic Sensor API, which "
377 "expose previously unavailable platform features, i.e. AmbientLightSensor "
378 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47379
Brett Wilsonf27ff602017-07-07 22:28:47380const char kEnableHDRName[] = "HDR mode";
381const char kEnableHDRDescription[] =
382 "Enables HDR support on compatible displays.";
383
384const char kEnableHeapProfilingName[] = "Heap profiling";
385const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
386const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
387const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
388const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
389
390const char kEnableHttpFormWarningName[] =
391 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15392 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47393const char kEnableHttpFormWarningDescription[] =
394 "Attaches a warning UI to any password or credit card fields detected when "
395 "the top-level page is not HTTPS";
396
Sidney San Martín9375b892017-09-09 00:29:54397const char kEnableMacMaterialDesignDownloadShelfName[] =
398 "Enable Material Design download shelf";
399
400const char kEnableMacMaterialDesignDownloadShelfDescription[] =
401 "If enabled, the download shelf uses Material Design.";
402
Tatiana Gornakafb40452017-07-31 13:50:04403const char kEnableManualFallbacksFillingName[] =
404 "Manual fallbacks for password manager forms filling";
405const char kEnableManualFallbacksFillingDescription[] =
406 "If enabled, then if user clicks on the password field on a form, popup "
407 "might contain generation fallbacks or 'Show all saved passwords' "
408 "fallback.";
409
vabr0215a8e2017-03-28 12:47:34410const char kEnableMaterialDesignBookmarksName[] =
411 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34412const char kEnableMaterialDesignBookmarksDescription[] =
413 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
414 "bookmarks page.";
415
vabr0215a8e2017-03-28 12:47:34416const char kEnableMaterialDesignExtensionsName[] =
417 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34418const char kEnableMaterialDesignExtensionsDescription[] =
419 "If enabled, the chrome://extensions/ URL loads the Material Design "
420 "extensions page.";
421
Anton Urusov47cd4932017-09-19 14:41:41422const char kEnablePolicyToolName[] = "Enable policy management page";
423const char kEnablePolicyToolDescription[] =
424 "If enabled, the chrome://policy-tool URL loads a page for managing "
425 "policies.";
426
Tsuyoshi Horoea7edb72017-11-12 04:14:00427const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
428const char kEnablePWAFullCodeCacheDescription[] =
429 "Generate V8 code cache in Cache Storage while installing Service Worker "
430 "for PWAs.";
431
Weidong Guo7dfd1482017-11-08 05:56:28432const char kEnableMultiMirroringName[] =
433 "Display mirroring across multiple displays.";
434const char kEnableMultiMirroringDescription[] =
435 "Enable Display mirroring across multiple displays.";
436
Brett Wilsonf27ff602017-07-07 22:28:47437const char kEnableNavigationTracingName[] = "Enable navigation tracing";
438const char kEnableNavigationTracingDescription[] =
439 "This is to be used in conjunction with the trace-upload-url flag. "
440 "WARNING: When enabled, Chrome will record performance data for every "
441 "navigation and upload it to the URL specified by the trace-upload-url "
442 "flag. The trace may include personally identifiable information (PII) "
443 "such as the titles and URLs of websites you visit.";
444
Bernhard Bauer5533f9912017-11-06 17:56:02445const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
446const char kEnableNetworkLoggingToFileDescription[] =
447 "Enables network logging to a file named netlog.json in the user data "
448 "directory. The file can be imported into chrome://net-internals.";
449
Brett Wilsonf27ff602017-07-07 22:28:47450const char kEnableNetworkServiceName[] = "Enable network service";
451const char kEnableNetworkServiceDescription[] =
452 "Enables the network service, which makes network requests through a "
453 "separate service. Note: most features don't work with this yet.";
454
John Abd-El-Malek8067cc02017-12-04 23:23:20455const char kEnableNetworkServiceInProcessName[] =
456 "Runs network service in-process";
457const char kEnableNetworkServiceInProcessDescription[] =
458 "Runs the network service in the browser process.";
459
dpapaded8349472017-10-25 03:21:27460const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
461const char kEnableNewPrintPreviewDescription[] =
462 "If enabled, Print Preview will display a newer UI";
463
Ahmed Fakhry2fd8fc82017-07-28 16:31:12464const char kEnableNightLightName[] = "Enable Night Light";
465const char kEnableNightLightDescription[] =
466 "Enable the Night Light feature which controls the color temperature of "
467 "the screen.";
468
Sophie Chang117a3b22017-10-24 22:25:36469const char kEnableOptimizationHintsName[] = "Optimization Hints";
470const char kEnableOptimizationHintsDescription[] =
471 "Enable the Optimization Hints feature which incorporates server hints"
472 "into decisions for what optimizations to perform on some pages on slow "
473 "networks.";
474
Yutaka Hirano98be3272017-08-07 17:55:39475const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
476const char kEnableOutOfBlinkCORSDescription[] =
477 "CORS handling logic is moved out of blink.";
478
Erik Chen49bbfa22017-08-18 08:49:56479const char kEnableOutOfProcessHeapProfilingName[] =
480 "Out of process heap profiling.";
481const char kEnableOutOfProcessHeapProfilingDescription[] =
482 "Creates a profiling service that records stacktraces for all live, "
483 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36484const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
485 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56486const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
erikchen0a5dd692017-12-12 00:53:10487const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] =
488 "Profiles all renderers.";
Albert J. Wongbd5bd902017-11-09 19:56:15489const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
490 "Profile only the browser processes.";
491const char kEnableOutOfProcessHeapProfilingModeGpu[] =
492 "Profile only the GPU processes.";
erikchen0a5dd692017-12-12 00:53:10493const char kEnableOutOfProcessHeapProfilingModeManual[] =
494 "By default, no processes are profiled. User may choose to start-profiling "
495 "processes via chrome://memory-internals.";
Albert J. Wongbd5bd902017-11-09 19:56:15496const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
497 "Profile a random sampling of renderer processes, ensuring only one is "
498 "ever profiled at a time.";
Erik Chen8bb76b52017-12-06 19:06:25499const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
500 "Keep track of even the small allocations in memlog heap dumps.";
501const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
502 "By default, small allocations are pruned from the heap dump. This reduces "
503 "the size of the compressed trace by 100x. If pruning is disabled, the "
504 "chrome://tracing UI may be unable to take or load the trace. Save the "
505 "trace directly using chrome://memory-internals, and use other mechanisms "
506 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
507 "automatically uploaded traces will always be pruned. This only affects "
508 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56509
Brett Wilsonf27ff602017-07-07 22:28:47510const char kEnablePictureInPictureName[] = "Enable picture in picture.";
511const char kEnablePictureInPictureDescription[] =
512 "Enable the picture in picture feature for videos.";
513
F#m59d036e2017-09-13 07:22:17514const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
515const char kEnablePixelCanvasRecordingDescription[] =
516 "Pixel canvas recording allows the compositor to raster contents aligned "
517 "with the pixel and improves text rendering. This should be enabled when a "
518 "device is using fractional scale factor.";
519
Brett Wilsonf27ff602017-07-07 22:28:47520const char kEnableTokenBindingName[] = "Token Binding.";
521const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
522
Sahel Sharifyd732ab12017-11-29 23:03:16523extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
524 "Wheel Scroll Latching.";
525extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
526 "Wheel scroll latching enforces latching to a single element for the "
527 "duration of a scroll sequence.";
528
Irmak Kavasoglu7e16af02017-07-19 09:52:47529const char kEnableUsernameCorrectionName[] = "Enable username correction";
530const char kEnableUsernameCorrectionDescription[] =
531 "While on the pending password state, add an edit button to the bubble so "
532 "that user can edit the username.";
533
Brett Wilsonf27ff602017-07-07 22:28:47534const char kEnableUseZoomForDsfName[] =
535 "Use Blink's zoom for device scale factor.";
536const char kEnableUseZoomForDsfDescription[] =
537 "If enabled, Blink uses its zooming mechanism to scale content for device "
538 "scale factor.";
539const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
540const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
541const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
542
543const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
544const char kEnableScrollAnchoringDescription[] =
545 "Adjusts scroll position to prevent visible jumps when offscreen content "
546 "changes.";
547
Brett Wilsonf27ff602017-07-07 22:28:47548const char kEnableWasmName[] = "WebAssembly structured cloning support.";
549const char kEnableWasmDescription[] =
550 "Enable web pages to use WebAssembly structured cloning.";
551
Brett Wilsonf27ff602017-07-07 22:28:47552const char kEnableImageCaptureAPIName[] = "Image Capture API";
553const char kEnableImageCaptureAPIDescription[] =
554 "Enables the Web Platform Image Capture API: takePhoto(), "
555 "getPhotoCapabilities(), etc.";
556
557const char kEnableZeroSuggestRedirectToChromeName[] =
558 "Experimental contextual omnibox suggestion";
559const char kEnableZeroSuggestRedirectToChromeDescription[] =
560 "Change omnibox contextual suggestions to an experimental source. Note "
561 "that this is not an on/off switch for contextual omnibox and it only "
562 "applies to suggestions provided before the user starts typing a URL or a "
563 "search query (i.e. zero suggest).";
564
565const char kEnableWasmStreamingName[] =
566 "WebAssembly streaming compile/instantiate support.";
567const char kEnableWasmStreamingDescription[] =
568 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
569
Brett Wilsonf27ff602017-07-07 22:28:47570const char kExpensiveBackgroundTimerThrottlingName[] =
571 "Throttle expensive background timers";
572const char kExpensiveBackgroundTimerThrottlingDescription[] =
573 "Enables intervention to limit CPU usage of background timers to 1%.";
574
575const char kExperimentalAppBannersName[] = "Experimental app banners";
576const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38577 "Enables a new experimental app banner flow and UI. Implies "
578 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47579
580const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
581const char kExperimentalCanvasFeaturesDescription[] =
582 "Enables the use of experimental canvas features which are still in "
583 "development.";
584
585const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
586const char kExperimentalExtensionApisDescription[] =
587 "Enables experimental extension APIs. Note that the extension gallery "
588 "doesn't allow you to upload extensions that use experimental APIs.";
589
590const char kExperimentalFullscreenExitUIName[] =
591 "Experimental fullscreen exit UI";
592const char kExperimentalFullscreenExitUIDescription[] =
593 "Displays experimental UI to allow mouse and touch input methods to exit "
594 "fullscreen mode.";
595
Brett Wilsonf27ff602017-07-07 22:28:47596const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
597const char kExperimentalKeyboardLockUiDescription[] =
598 "An experimental full screen with keyboard lock mode requiring users to "
599 "hold Esc to exit.";
600
601const char kExperimentalSecurityFeaturesName[] =
602 "Potentially annoying security features";
603const char kExperimentalSecurityFeaturesDescription[] =
604 "Enables several security features that will likely break one or more "
605 "pages that you visit on a daily basis. Strict mixed content checking, for "
606 "example. And locking powerful features to secure contexts. This flag will "
607 "probably annoy you.";
608
609const char kExperimentalWebPlatformFeaturesName[] =
610 "Experimental Web Platform features";
611const char kExperimentalWebPlatformFeaturesDescription[] =
612 "Enables experimental Web Platform features that are in development.";
613
614const char kExtensionContentVerificationName[] =
615 "Extension Content Verification";
616const char kExtensionContentVerificationDescription[] =
617 "This flag can be used to turn on verification that the contents of the "
618 "files on disk for extensions from the webstore match what they're "
619 "expected to be. This can be used to turn on this feature if it would not "
620 "otherwise have been turned on, but cannot be used to turn it off (because "
621 "this setting can be tampered with by malware).";
622const char kExtensionContentVerificationBootstrap[] =
623 "Bootstrap (get expected hashes, but do not enforce them)";
624const char kExtensionContentVerificationEnforce[] =
625 "Enforce (try to get hashes, and enforce them if successful)";
626const char kExtensionContentVerificationEnforceStrict[] =
627 "Enforce strict (hard fail if we can't get hashes)";
628
629const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
630const char kExtensionsOnChromeUrlsDescription[] =
631 "Enables running extensions on chrome:// URLs, where extensions explicitly "
632 "request this permission.";
galinapae72e152017-05-12 13:12:28633
Brett Wilsonecb80982017-07-12 20:34:51634const char kFastUnloadName[] = "Fast tab/window close";
635const char kFastUnloadDescription[] =
636 "Enables fast tab/window closing - runs a tab's onunload js handler "
637 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34638
Brett Wilsonecb80982017-07-12 20:34:51639const char kFeaturePolicyName[] = "Feature Policy";
640const char kFeaturePolicyDescription[] =
641 "Enables granting and removing access to features through the "
642 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34643
Brett Wilsonecb80982017-07-12 20:34:51644const char kFetchKeepaliveTimeoutSettingName[] =
645 "Fetch API keepalive timeout setting";
646const char kFetchKeepaliveTimeoutSettingDescription[] =
647 "This is for setting the timeout value for Fetch API with keepalive option "
648 "and SendBeacon";
649
650const char kFontCacheScalingName[] = "FontCache scaling";
651const char kFontCacheScalingDescription[] =
652 "Reuse a cached font in the renderer to serve different sizes of font for "
653 "faster layout.";
654
655const char kForceEffectiveConnectionTypeName[] =
656 "Override effective connection type";
657const char kForceEffectiveConnectionTypeDescription[] =
658 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30659 "returned by the network quality estimator. Slow 2G on Cellular returns "
660 "Slow 2G when connected to a cellular network, and the actual estimate "
661 "effective connection type when not on a cellular network. Previews are "
662 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51663const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
664const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
665const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30666const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
667 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51668const char kEffectiveConnectionType2GDescription[] = "2G";
669const char kEffectiveConnectionType3GDescription[] = "3G";
670const char kEffectiveConnectionType4GDescription[] = "4G";
671
672const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
673const char kFillOnAccountSelectDescription[] =
674 "Filling of passwords when an account is explicitly selected by the user "
675 "rather than autofilling credentials on page load.";
676
Brett Wilsonecb80982017-07-12 20:34:51677const char kForceTextDirectionName[] = "Force text direction";
678const char kForceTextDirectionDescription[] =
679 "Explicitly force the per-character directionality of UI text to "
680 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
681 "direction of the character language.";
682const char kForceDirectionLtr[] = "Left-to-right";
683const char kForceDirectionRtl[] = "Right-to-left";
684
685const char kForceUiDirectionName[] = "Force UI direction";
686const char kForceUiDirectionDescription[] =
687 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
688 "mode, overriding the default direction of the UI language.";
689
690const char kFramebustingName[] =
691 "Framebusting requires same-origin or a user gesture";
692const char kFramebustingDescription[] =
693 "Don't permit an iframe to navigate the top level browsing context unless "
694 "they are same-origin or the iframe is processing a user gesture.";
695
696const char kGamepadExtensionsName[] = "Gamepad Extensions";
697const char kGamepadExtensionsDescription[] =
698 "Enabling this option allows web applications to access experimental "
699 "extensions to the Gamepad APIs.";
700
sohan3f00ffc2017-07-14 22:28:08701const char kGlCompositedOverlayCandidateQuadBordersName[] =
702 "GL composited overlay candidate quad borders";
703const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39704 "Renders a border around GL composited overlay candidate quads to help "
705 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51706
707const char kGpuRasterizationMsaaSampleCountName[] =
708 "GPU rasterization MSAA sample count.";
709const char kGpuRasterizationMsaaSampleCountDescription[] =
710 "Specify the number of MSAA samples for GPU rasterization.";
711const char kGpuRasterizationMsaaSampleCountZero[] = "0";
712const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
713const char kGpuRasterizationMsaaSampleCountFour[] = "4";
714const char kGpuRasterizationMsaaSampleCountEight[] = "8";
715const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
716
717const char kGpuRasterizationName[] = "GPU rasterization";
718const char kGpuRasterizationDescription[] =
719 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28720const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51721
722const char kGoogleProfileInfoName[] = "Google profile name and icon";
723const char kGoogleProfileInfoDescription[] =
724 "Enables using Google information to populate the profile name and icon in "
725 "the avatar menu.";
726
727const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
728const char kHarfbuzzRendertextDescription[] =
729 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
730 "web content.";
731
732const char kHistoryRequiresUserGestureName[] =
733 "New history entries require a user gesture.";
734const char kHistoryRequiresUserGestureDescription[] =
735 "Require a user gesture to add a history entry.";
736const char kHyperlinkAuditingName[] = "Hyperlink auditing";
737const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
738
739const char kHostedAppQuitNotificationName[] =
740 "Quit notification for hosted apps";
741const char kHostedAppQuitNotificationDescription[] =
742 "Display a notification when quitting Chrome if hosted apps are currently "
743 "running.";
744
745const char kHostedAppShimCreationName[] =
746 "Creation of app shims for hosted apps on Mac";
747const char kHostedAppShimCreationDescription[] =
748 "Create app shims on Mac when creating a hosted app.";
749
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48750const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
751const char kHtmlBasedUsernameDetectorDescription[] =
752 "Use HTML-based username detector for the password manager.";
753
Brett Wilsonecb80982017-07-12 20:34:51754const char kIconNtpName[] = "Large icons on the New Tab page";
755const char kIconNtpDescription[] =
756 "Enable the experimental New Tab page using large icons.";
757
758const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
759const char kIgnoreGpuBlacklistDescription[] =
760 "Overrides the built-in software rendering list and enables "
761 "GPU-acceleration on unsupported system configurations.";
762
763const char kImportantSitesInCbdName[] =
764 "Important sites options in clear browsing data dialog";
765const char kImportantSitesInCbdDescription[] =
766 "Include the option to whitelist important sites in the clear browsing "
767 "data dialog.";
768
Brett Wilsonecb80982017-07-12 20:34:51769const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
770const char kInProductHelpDemoModeChoiceDescription[] =
771 "Selects the In-Product Help demo mode.";
772
773const char kJavascriptHarmonyName[] = "Experimental JavaScript";
774const char kJavascriptHarmonyDescription[] =
775 "Enable web pages to use experimental JavaScript features.";
776
777const char kJavascriptHarmonyShippingName[] =
778 "Latest stable JavaScript features";
779const char kJavascriptHarmonyShippingDescription[] =
780 "Some web pages use legacy or non-standard JavaScript extensions that may "
781 "conflict with the latest JavaScript features. This flag allows disabling "
782 "support of those features for compatibility with such pages.";
783
Yutaka Hiranof7f2f632017-09-06 10:40:08784const char kKeepAliveRendererForKeepaliveRequestsName[] =
785 "Keep a renderer alive for keepalive fetch requests";
786const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
787 "Keep a render process alive when the process has a pending fetch request "
788 "with `keepalive' specified.";
789
Brett Wilsonecb80982017-07-12 20:34:51790const char kLcdTextName[] = "LCD text antialiasing";
791const char kLcdTextDescription[] =
792 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
793 "(subpixel) when doing accelerated compositing.";
794
Matt Giucac399982f2017-10-06 07:51:29795const char kLeftToRightUrlsName[] =
796 "Render bidirectional URLs from left to right";
797const char kLeftToRightUrlsDescription[] =
798 "An experimental Bidi URL rendering algorithm where the URL components are "
799 "always shown in order from left to right, regardless of any RTL "
800 "characters. (The contents of each component are still rendered with the "
801 "normal Bidi algorithm.)";
802
Brett Wilsonecb80982017-07-12 20:34:51803const char kLoadMediaRouterComponentExtensionName[] =
804 "Load Media Router Component Extension";
805const char kLoadMediaRouterComponentExtensionDescription[] =
806 "Loads the Media Router component extension at startup.";
807
808const char kManualPasswordGenerationName[] = "Manual password generation.";
809const char kManualPasswordGenerationDescription[] =
810 "Show a 'Generate Password' option on the context menu for all password "
811 "fields.";
812
Dominic Battref27e8762017-08-23 11:16:25813const char kManualPasswordSavingName[] = "Manual password saving.";
814const char kManualPasswordSavingDescription[] =
815 "Show the password manager icon when typing into a password filed. "
816 "Clicking it allows to save the password without submitting the form.";
817
Brett Wilsonecb80982017-07-12 20:34:51818const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
819const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
820const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51821
Lei Zhang2eca9082017-10-17 20:42:50822const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
823const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51824 "If enabled, the Incognito New Tab page uses the new material design with "
825 "a better readable text.";
826
827const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
828const char kMediaRemotingDescription[] =
829 "When Casting a tab to a remote device, enabling this turns on an "
830 "optimization that forwards the content bitstream directly to the remote "
831 "device when a video is fullscreened.";
832
833const char kMemoryAblationName[] = "Memory ablation experiment";
834const char kMemoryAblationDescription[] =
835 "Allocates extra memory in the browser process.";
836
837const char kMemoryCoordinatorName[] = "Memory coordinator";
838const char kMemoryCoordinatorDescription[] =
839 "Enable memory coordinator instead of memory pressure listeners.";
840
841const char kMessageCenterNewStyleNotificationName[] = "New style notification";
842const char kMessageCenterNewStyleNotificationDescription[] =
843 "Enables the experiment style of material-design notification";
844
Brett Wilsonecb80982017-07-12 20:34:51845const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
846const char kMhtmlGeneratorOptionDescription[] =
847 "Provides experimental options for MHTML file generator.";
848const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
849const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
850
Kouhei Ueno08445c22017-09-05 03:58:30851const char kModuleScriptsDynamicImportName[] =
852 "Enable ECMAScript 6 modules dynamic import";
853const char kModuleScriptsDynamicImportDescription[] =
854 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
855 "Blink.";
856
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05857const char kModuleScriptsImportMetaUrlName[] =
858 "Enable ECMAScript 6 modules import.meta.url";
859const char kModuleScriptsImportMetaUrlDescription[] =
860 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
861 "Blink.";
862
Brett Wilsonecb80982017-07-12 20:34:51863const char kNewAudioRenderingMixingStrategyName[] =
864 "New audio rendering mixing strategy";
865const char kNewAudioRenderingMixingStrategyDescription[] =
866 "Use the new audio rendering mixing strategy.";
867
868const char kNewBookmarkAppsName[] = "The new bookmark app system";
869const char kNewBookmarkAppsDescription[] =
870 "Enables the new system for creating bookmark apps.";
871
Brett Wilsonecb80982017-07-12 20:34:51872const char kNewRemotePlaybackPipelineName[] =
873 "Enable the new remote playback pipeline.";
874const char kNewRemotePlaybackPipelineDescription[] =
875 "Enable the new pipeline for playing media element remotely via "
876 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50877const char kUseSurfaceLayerForVideoName[] =
878 "Enable the use of SurfaceLayer objects for videos.";
879const char kUseSurfaceLayerForVideoDescription[] =
880 "Enable compositing onto a Surface instead of a VideoLayer "
881 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51882
883const char kNewUsbBackendName[] = "Enable new USB backend";
884const char kNewUsbBackendDescription[] =
885 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34886
brettw5f9c1642017-05-14 17:12:48887const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34888const char kNostatePrefetchDescription[] =
889 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
890 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
891 R"*(improve load times even more. "Simple Load" does nothing and is )*"
892 R"*(similar to disabling the feature, but collects more metrics for )*"
893 R"*(comparison purposes.)*";
894
Brett Wilsonecb80982017-07-12 20:34:51895const char kNotificationsNativeFlagName[] = "Enable native notifications.";
896const char kNotificationsNativeFlagDescription[] =
897 "Enable support for using the native notification toasts and notification "
898 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34899
Zentaro Kavanaghbad511c2017-10-18 22:29:00900#if defined(OS_POSIX)
901const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
902const char kNtlmV2EnabledDescription[] =
903 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
904#endif
905
Brett Wilsonecb80982017-07-12 20:34:51906const char kNumRasterThreadsName[] = "Number of raster threads";
907const char kNumRasterThreadsDescription[] =
908 "Specify the number of raster threads.";
909const char kNumRasterThreadsOne[] = "1";
910const char kNumRasterThreadsTwo[] = "2";
911const char kNumRasterThreadsThree[] = "3";
912const char kNumRasterThreadsFour[] = "4";
913
914const char kOfferStoreUnmaskedWalletCardsName[] =
915 "Google Payments card saving checkbox";
916const char kOfferStoreUnmaskedWalletCardsDescription[] =
917 "Show the checkbox to offer local saving of a credit card downloaded from "
918 "the server.";
919
920const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
921const char kOfflineAutoReloadDescription[] =
922 "Pages that fail to load while the browser is offline will be "
923 "auto-reloaded when the browser is online again.";
924
925const char kOfflineAutoReloadVisibleOnlyName[] =
926 "Only Auto-Reload Visible Tabs";
927const char kOfflineAutoReloadVisibleOnlyDescription[] =
928 "Pages that fail to load while the browser is offline will only be "
929 "auto-reloaded if their tab is visible.";
930
Brett Wilsonecb80982017-07-12 20:34:51931const char kOmniboxDisplayTitleForCurrentUrlName[] =
932 "Include title for the current URL in the omnibox";
933const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
934 "In the event that the omnibox provides suggestions on-focus, the URL of "
935 "the current page is provided as the first suggestion without a title. "
936 "Enabling this flag causes the title to be displayed.";
937
Benoit Lizeab08362c2017-07-19 14:50:54938const char kOmniboxSpareRendererName[] =
939 "Start spare renderer on omnibox focus";
940const char kOmniboxSpareRendererDescription[] =
941 "When the omnibox is focused, start an empty spare renderer. This can "
942 "speed up the load of the navigation from the omnibox.";
943
Tommy C. Li8875a442017-08-23 00:10:59944const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
945 "Omnibox UI Elide Suggestion URL After Host";
946const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
947 "Elides the path, query, and ref of suggested URLs in the Omnibox "
948 "dropdown.";
949
Brett Wilsonecb80982017-07-12 20:34:51950const char kOmniboxUIHideSuggestionUrlSchemeName[] =
951 "Omnibox UI Hide Suggestion URL Scheme";
952const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
953 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
954
955const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
956 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
957const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
958 "Elides trivially informative subdomains from suggested URLs in the "
959 "Omnibox dropdown (e.g. www. and m.).";
960
961const char kOmniboxUIMaxAutocompleteMatchesName[] =
962 "Omnibox UI Max Autocomplete Matches";
963
964const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
965 "Changes the maximum number of autocomplete matches displayed in the "
966 "Omnibox UI.";
967
968const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
969const char kOmniboxUINarrowDropdownDescription[] =
970 "Makes the suggestions dropdown width match the omnibox width.";
971
Justin Donnelly65c9e8b2017-10-01 05:15:01972const char kOmniboxUIShowSuggestionFaviconsName[] =
973 "Omnibox UI Show Suggestion Favicons";
974const char kOmniboxUIShowSuggestionFaviconsDescription[] =
975 "Shows favicons instead of generic vector icons for URL suggestions in the "
976 "Omnibox dropdown.";
977
978const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
979const char kOmniboxUISwapTitleAndUrlDescription[] =
980 "In the omnibox dropdown, shows titles before URLs when both are "
981 "available.";
982
Brett Wilsonecb80982017-07-12 20:34:51983const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
984const char kOmniboxUIVerticalLayoutDescription[] =
985 "Displays Omnibox sugestions in 2 lines - title over origin.";
986
987const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
988const char kOmniboxUIVerticalMarginDescription[] =
989 "Changes the vertical margin in the Omnibox UI.";
990
991const char kOriginTrialsName[] = "Origin Trials";
992const char kOriginTrialsDescription[] =
993 "Enables origin trials for controlling access to feature/API experiments.";
994
Becca Hughes930d8cd2017-10-02 11:09:12995const char kOverflowIconsForMediaControlsName[] =
996 "Icons on Media Controls Overflow Menu";
997const char kOverflowIconsForMediaControlsDescription[] =
998 "Displays icons on the overflow menu of the native media controls";
999
Brett Wilsonecb80982017-07-12 20:34:511000const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1001const char kOverlayScrollbarsDescription[] =
1002 "Enable the experimental overlay scrollbars implementation. You must also "
1003 "enable threaded compositing to have the scrollbars animate.";
1004
chaopenge8aa016b2017-08-24 15:20:191005const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1006 "Flash Overlay Scrollbars After Any Scroll Update";
1007const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1008 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1009 " must also enable Overlay Scrollbars.";
1010
chaopeng343678022017-08-24 18:45:001011const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1012 "Flash Overlay Scrollbars When Mouse Enter";
1013const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1014 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1015 " enable Overlay Scrollbars.";
1016
Claudio Magni81326f92017-09-01 05:21:181017const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1018const char kUseNewAcceptLanguageHeaderDescription[] =
1019 "Adds the base language code after other corresponding language+region "
1020 "codes. This ensures that users receive content in their preferred "
1021 "language.";
1022
Brett Wilsonecb80982017-07-12 20:34:511023const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1024const char kOverscrollHistoryNavigationDescription[] =
1025 "Experimental history navigation in response to horizontal overscroll.";
1026const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1027
1028const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1029const char kOverscrollStartThresholdDescription[] =
1030 "Changes overscroll start threshold relative to the default value.";
1031const char kOverscrollStartThreshold133Percent[] = "133%";
1032const char kOverscrollStartThreshold166Percent[] = "166%";
1033const char kOverscrollStartThreshold200Percent[] = "200%";
1034
Xing Liu5400a002017-09-15 21:48:291035const char kParallelDownloadingName[] = "Parallel downloading";
1036const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061037 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291038
Brett Wilsonecb80982017-07-12 20:34:511039const char kPassiveEventListenerDefaultName[] =
1040 "Passive Event Listener Override";
1041const char kPassiveEventListenerDefaultDescription[] =
1042 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1043 "haven't requested otherwise) to be treated as passive. This will break "
1044 "touch/wheel behavior on some websites but is useful for demonstrating the "
1045 "potential performance benefits of adopting passive event listeners.";
1046const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1047const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1048
1049const char kPassiveEventListenersDueToFlingName[] =
1050 "Touch Event Listeners Passive Default During Fling";
1051const char kPassiveEventListenersDueToFlingDescription[] =
1052 "Forces touchstart, and first touchmove per scroll event listeners during "
1053 "fling to be treated as passive.";
1054
1055const char kPassiveDocumentEventListenersName[] =
1056 "Document Level Event Listeners Passive Default";
1057const char kPassiveDocumentEventListenersDescription[] =
1058 "Forces touchstart, and touchmove event listeners on document level "
1059 "targets (which haven't requested otherwise) to be treated as passive.";
1060
1061const char kPasswordForceSavingName[] = "Force-saving of passwords";
1062const char kPasswordForceSavingDescription[] =
1063 "Allow the user to manually enforce password saving instead of relying on "
1064 "password manager's heuristics.";
1065
1066const char kPasswordGenerationName[] = "Password generation";
1067const char kPasswordGenerationDescription[] =
1068 "Allow the user to have Chrome generate passwords when it detects account "
1069 "creation pages.";
1070
Vaclav Brozekd8a3f542017-11-16 14:21:131071const char kPasswordExportName[] = "Password export";
1072const char kPasswordExportDescription[] =
1073 "Export functionality in password settings.";
1074
1075const char kPasswordImportName[] = "Password import";
1076const char kPasswordImportDescription[] =
1077 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511078
Maxim Kolosovskiyd97b94612017-09-19 20:10:391079const char kPasswordSelectionName[] =
1080 "Password selection and eye icon in prompt";
1081const char kPasswordSelectionDescription[] =
1082 "Show a password selector and an eye icon in prompt";
1083
Brett Wilsonecb80982017-07-12 20:34:511084const char kPermissionActionReportingName[] = "Permission Action Reporting";
1085const char kPermissionActionReportingDescription[] =
1086 "Enables permission action reporting to Safe Browsing servers for opted in "
1087 "users.";
1088
1089const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1090const char kPermissionsBlacklistDescription[] =
1091 "Enables the Permissions Blacklist, which blocks permissions for "
1092 "blacklisted sites for Safe Browsing users.";
1093
1094const char kPinchScaleName[] = "Pinch scale";
1095const char kPinchScaleDescription[] =
1096 "Enables experimental support for scale using pinch.";
1097
Brett Wilsonecb80982017-07-12 20:34:511098const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1099const char kPrintPdfAsImageDescription[] =
1100 "If enabled, an option to print PDF files as images will be available in "
1101 "print preview.";
1102
1103const char kPrintPreviewRegisterPromosName[] =
1104 "Print Preview Registration Promos";
1105const char kPrintPreviewRegisterPromosDescription[] =
1106 "Enable registering unregistered cloud printers from print preview.";
1107
1108const char kProtectSyncCredentialName[] = "Autofill sync credential";
1109const char kProtectSyncCredentialDescription[] =
1110 "How the password manager handles autofill for the sync credential.";
1111
1112const char kProtectSyncCredentialOnReauthName[] =
1113 "Autofill sync credential only for transactional reauth pages";
1114const char kProtectSyncCredentialOnReauthDescription[] =
1115 "How the password manager handles autofill for the sync credential only "
1116 "for transactional reauth pages.";
1117
Mohsen Izadi93faac12017-07-29 04:45:151118const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1119const char kPullToRefreshDescription[] =
1120 "Pull-to-refresh gesture in response to vertical overscroll.";
1121
Brett Wilsonecb80982017-07-12 20:34:511122const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1123const char kPushApiBackgroundModeDescription[] =
1124 "Enable background mode for the Push API. This allows Chrome to continue "
1125 "running after the last window is closed, and to launch at OS startup, if "
1126 "the Push API needs it.";
1127
Piotr Swigon46929d12017-08-11 07:16:331128const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1129const char kPwaMinimalUiDescription[] =
1130 "Enables support for Minimal-UI display mode for installed PWAs";
1131
Brett Wilsonecb80982017-07-12 20:34:511132const char kQuicName[] = "Experimental QUIC protocol";
1133const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1134
1135const char kReducedReferrerGranularityName[] =
1136 "Reduce default 'referer' header granularity.";
1137const char kReducedReferrerGranularityDescription[] =
1138 "If a page hasn't set an explicit referrer policy, setting this flag will "
1139 "reduce the amount of information in the 'referer' header for cross-origin "
1140 "requests.";
1141
Mihai Sardarescu6d0f5b72017-10-30 11:24:381142const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1143 "Remove usage of the deprecated GAIA sign-in endpoint";
1144const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1145 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1146 "This flags controls wheter it should no longer be used during a sign-in "
1147 " flow.";
1148
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351149const char kRendererSideResourceSchedulerName[] =
1150 "Renderer side ResourceScheduler";
1151const char kRendererSideResourceSchedulerDescription[] =
1152 "Migrate some ResourceScheduler functionalities to renderer";
1153
Brett Wilsonecb80982017-07-12 20:34:511154const char kRequestTabletSiteName[] =
1155 "Request tablet site option in the settings menu";
1156const char kRequestTabletSiteDescription[] =
1157 "Allows the user to request tablet site. Web content is often optimized "
1158 "for tablet devices. When this option is selected the user agent string is "
1159 "changed to indicate a tablet device. Web content optimized for tablets is "
1160 "received there after for the current tab.";
1161
1162const char kResetAppListInstallStateName[] =
1163 "Reset the App Launcher install state on every restart.";
1164const char kResetAppListInstallStateDescription[] =
1165 "Reset the App Launcher install state on every restart. While this flag is "
1166 "set, Chrome will forget the launcher has been installed each time it "
1167 "starts. This is used for testing the App Launcher install flow.";
1168
1169const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1170const char kResourceLoadSchedulerDescription[] =
1171 "Uses the resource load scheduler in blink to schedule and throttle "
1172 "resource load requests.";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1175const char kSafeSearchUrlReportingDescription[] =
1176 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1177
1178const char kSaveasMenuLabelExperimentName[] =
1179 "Switch 'Save as' menu labels to 'Download'";
1180const char kSaveasMenuLabelExperimentDescription[] =
1181 "Enables an experiment to switch menu labels that use 'Save as...' to "
1182 "'Download'.";
1183
1184const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1185const char kSavePageAsMhtmlDescription[] =
1186 "Enables saving pages as MHTML: a single text file containing HTML and all "
1187 "sub-resources.";
1188
Nate Chapin9638e7102017-09-20 22:11:011189const char kSavePreviousDocumentResourcesName[] =
1190 "Save Previous Document Resources";
1191const char kSavePreviousDocumentResourcesDescription[] =
1192 "Saves an old document's cached resources until the specified point in the "
1193 "next document's lifecycle.";
1194const char kSavePreviousDocumentResourcesNever[] =
1195 "Don't explicitly save resources";
1196const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1197 "Save resources until onDOMContentLoaded completes";
1198const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1199 "Save resources until onload completes";
1200
Brett Wilsonecb80982017-07-12 20:34:511201const char kScrollPredictionName[] = "Scroll prediction";
1202const char kScrollPredictionDescription[] =
1203 "Predicts the finger's future position during scrolls allowing time to "
1204 "render the frame before the finger is there.";
1205
1206const char kSecondaryUiMd[] =
1207 "Material Design in the rest of the browser's native UI";
1208const char kSecondaryUiMdDescription[] =
1209 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1210 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1211 "browser dialogs.";
1212
1213const char kServiceWorkerNavigationPreloadName[] =
1214 "Service worker navigation preload.";
1215const char kServiceWorkerNavigationPreloadDescription[] =
1216 "Enable web pages to use the experimental service worker navigation "
1217 "preload API.";
1218
gogeraldd5061b592017-09-06 23:39:551219const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1220const char kServiceWorkerPaymentAppsDescription[] =
1221 "Enable Service Worker applications to integrate as payment apps";
1222
Makoto Shimazud9f333c2017-08-08 07:23:171223const char kServiceWorkerScriptStreamingName[] =
1224 "Service worker script streaming.";
1225const char kServiceWorkerScriptStreamingDescription[] =
1226 "Installed scripts for a service worker are sent over a dedicated "
1227 "message pipe and data pipes, and that is never be blocked on the main "
1228 "thread.";
1229
Tsuyoshi Horobcb1c642017-11-24 16:32:141230const char kServiceWorkerScriptFullCodeCacheName[] =
1231 "Service worker script full code cache.";
1232const char kServiceWorkerScriptFullCodeCacheDescription[] =
1233 "Generate V8 full code cache of Service Worker scripts while installing.";
1234
Brett Wilsonecb80982017-07-12 20:34:511235const char kSettingsWindowName[] = "Show settings in a window";
1236const char kSettingsWindowDescription[] =
1237 "Settings will be shown in a dedicated window instead of as a browser tab.";
1238
Trent Apted750ba7022017-10-23 13:36:251239const char kShowAllDialogsWithViewsToolkitName[] =
1240 "Show all dialogs with Views toolkit";
1241const char kShowAllDialogsWithViewsToolkitDescription[] =
1242 "All browser dialogs will be shown using the Views toolkit rather than "
1243 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1244
Brett Wilsonecb80982017-07-12 20:34:511245const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1246const char kShowAutofillSignaturesDescription[] =
1247 "Annotates web forms with Autofill signatures as HTML attributes.";
1248
1249const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1250const char kShowAutofillTypePredictionsDescription[] =
1251 "Annotates web forms with Autofill field type predictions as placeholder "
1252 "text.";
1253
1254const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1255const char kShowOverdrawFeedbackDescription[] =
1256 "Visualize overdraw by color-coding elements based on if they have other "
1257 "elements drawn underneath.";
1258
yiyixbdfa9a0b2017-10-23 22:21:471259const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1260const char kEnableDrawOcclusionDescription[] =
1261 "Enable the system to use draw occlusion to skip draw quads when they are "
1262 "not shown on the screen.";
1263
Brett Wilsonecb80982017-07-12 20:34:511264const char kShowSavedCopyName[] = "Show Saved Copy Button";
1265const char kShowSavedCopyDescription[] =
1266 "When a page fails to load, if a stale copy of the page exists in the "
1267 "browser cache, a button will be presented to allow the user to load that "
1268 "stale copy. The primary enabling choice puts the button in the most "
1269 "salient position on the error page; the secondary enabling choice puts it "
1270 "secondary to the reload button.";
1271const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1272const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1273const char kDisableShowSavedCopy[] = "Disable";
1274
Brett Wilsonecb80982017-07-12 20:34:511275const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1276const char kSilentDebuggerExtensionApiDescription[] =
1277 "Do not show the infobar when an extension attaches to a page via "
1278 "chrome.debugger API. This is required to debug extension background "
1279 "pages.";
1280
1281const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1282const char kSimpleCacheBackendDescription[] =
1283 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1284 "disk space allocation.";
1285
1286const char kSimplifiedFullscreenUiName[] =
1287 "Simplified full screen / mouse lock UI.";
1288const char kSimplifiedFullscreenUiDescription[] =
1289 "A simplified new user experience when entering page-triggered full screen "
1290 "or mouse pointer lock states.";
1291
1292const char kSingleClickAutofillName[] = "Single-click autofill";
1293const char kSingleClickAutofillDescription[] =
1294 "Make autofill suggestions on initial mouse click on a form element.";
1295
Brett Wilsonecb80982017-07-12 20:34:511296const char kSitePerProcessName[] = "Strict site isolation";
1297const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171298 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511299 "contains pages from at most one site. In this mode, out-of-process "
1300 "iframes will be used whenever an iframe is cross-site.";
1301
1302const char kSiteSettings[] = "Site settings with All sites and Site details";
1303const char kSiteSettingsDescription[] =
1304 "Adds new ways of viewing Site settings.";
1305
1306const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1307const char kSlimmingPaintInvalidationDescription[] =
1308 "Whether to enable a new paint invalidation system.";
1309
1310const char kSmoothScrollingName[] = "Smooth Scrolling";
1311const char kSmoothScrollingDescription[] =
1312 "Animate smoothly when scrolling page content.";
1313
1314const char kSoftwareRasterizerName[] = "3D software rasterizer";
1315const char kSoftwareRasterizerDescription[] =
1316 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1317
Tommy Steimel77704be2017-08-28 22:14:401318const char kSoundContentSettingName[] = "Sound content setting";
1319const char kSoundContentSettingDescription[] =
1320 "Enable site-wide muting in content settings and tab strip context menu.";
1321
Alexandr Ilinf0500ed32017-09-27 21:12:361322const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1323const char kSpeculativePreconnectDescription[] =
1324 "Enable the new implementation of preconnect and DNS preresolve. "
1325 "\"Learning\" means that only database construction is enabled, "
1326 "\"Preconnect\" enables both learning and preconnect and disables the "
1327 "existing implementation. \"No preconnect\" disables both implementations.";
1328
Brett Wilsonecb80982017-07-12 20:34:511329const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341330const char kSpeculativePrefetchDescription[] =
1331 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1332 R"*(load times, based on a local database (see chrome://predictors). )*"
1333 R"*("Learning" means that only the database construction is enabled, )*"
1334 R"*("Prefetching" that learning and prefetching are enabled.)*";
1335
Justin Donnelly4e448cb2017-07-07 21:32:131336const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1337 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131338const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1339 "If enabled, when the user enters text in the omnibox that looks like a "
1340 "a query, any service worker associated with the search engine the query "
1341 "will be sent to is started early.";
1342
Brett Wilsonecb80982017-07-12 20:34:511343const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1344const char kSpellingFeedbackFieldTrialDescription[] =
1345 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401346
Brett Wilsonecb80982017-07-12 20:34:511347const char kSuggestionsWithSubStringMatchName[] =
1348 "Substring matching for Autofill suggestions";
1349const char kSuggestionsWithSubStringMatchDescription[] =
1350 "Match Autofill suggestions based on substrings (token prefixes) rather "
1351 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341352
Brett Wilsonecb80982017-07-12 20:34:511353const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1354const char kSyncSandboxDescription[] =
1355 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341356
Brett Wilsonecb80982017-07-12 20:34:511357const char kTabAudioMutingName[] = "Tab audio muting UI control";
1358const char kTabAudioMutingDescription[] =
1359 "When enabled, the audio indicators in the tab strip double as tab audio "
1360 "mute controls. This also adds commands in the tab context menu for "
1361 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341362
Christian Dullweberd0d96f02017-09-13 09:22:511363const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1364const char kTabsInCbdDescription[] =
1365 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1366
Becky Zhou99c22802017-10-19 05:09:271367const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1368const char kTabModalJsDialogDescription[] =
1369 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1370 " tab.";
1371
Brett Wilsonecb80982017-07-12 20:34:511372const char kTcpFastOpenName[] = "TCP Fast Open";
1373const char kTcpFastOpenDescription[] =
1374 "Enable the option to send extra authentication information in the initial "
1375 "SYN packet for a previously connected client, allowing faster data send "
1376 "start.";
vabr0215a8e2017-03-28 12:47:341377
Brett Wilsonecb80982017-07-12 20:34:511378const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1379const char kTopChromeMdDescription[] =
1380 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1381const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531382const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511383const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341384
Brett Wilsonecb80982017-07-12 20:34:511385const char kThreadedScrollingName[] = "Threaded scrolling";
1386const char kThreadedScrollingDescription[] =
1387 "Threaded handling of scroll-related input events. Disabling this will "
1388 "force all such scroll events to be handled on the main thread. Note that "
1389 "this can dramatically hurt scrolling performance of most websites and is "
1390 "intended for testing purposes only.";
1391
Steven Valdez4584b2482017-07-14 01:11:571392const char kTLS13VariantName[] = "TLS 1.3";
1393const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1394const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111395const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez49408842017-12-13 18:34:481396const char kTLS13VariantDraft22[] = "Enabled (Draft 22)";
Steven Valdezf00f8782017-09-13 18:05:281397const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
Steven Valdez4584b2482017-07-14 01:11:571398
Brett Wilsonecb80982017-07-12 20:34:511399const char kTopDocumentIsolationName[] = "Top document isolation";
1400const char kTopDocumentIsolationDescription[] =
1401 "Highly experimental performance mode where cross-site iframes are kept in "
1402 "a separate process from the top document. In this mode, iframes from "
1403 "different third-party sites will be allowed to share a process.";
1404
Dominick Ng8896b1cd2017-10-17 23:24:361405const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1406const char kTopSitesFromSiteEngagementDescription[] =
1407 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1408 "engagement.";
1409
Brett Wilsonecb80982017-07-12 20:34:511410const char kTouchAdjustmentName[] = "Touch adjustment";
1411const char kTouchAdjustmentDescription[] =
1412 "Refine the position of a touch gesture in order to compensate for touches "
1413 "having poor resolution compared to a mouse.";
1414
1415const char kTouchDragDropName[] = "Touch initiated drag and drop";
1416const char kTouchDragDropDescription[] =
1417 "Touch drag and drop can be initiated through long press on a draggable "
1418 "element.";
1419
1420const char kTouchEventsName[] = "Touch Events API";
1421const char kTouchEventsDescription[] =
1422 "Force Touch Events API feature detection to always be enabled or "
1423 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291424 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511425
1426const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1427const char kTouchSelectionStrategyDescription[] =
1428 "Controls how text selection granularity changes when touch text selection "
1429 "handles are dragged. Non-default behavior is experimental.";
1430const char kTouchSelectionStrategyCharacter[] = "Character";
1431const char kTouchSelectionStrategyDirection[] = "Direction";
1432
1433const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1434const char kTraceUploadUrlDescription[] =
1435 "This is to be used in conjunction with the enable-navigation-tracing "
1436 "flag. Please select the label that best describes the recorded traces. "
1437 "This will choose the destination the traces are uploaded to. If you are "
1438 "not sure, select other. If left empty, no traces will be uploaded.";
1439const char kTraceUploadUrlChoiceOther[] = "Other";
1440const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1441const char kTraceUploadUrlChoiceQa[] = "QA";
1442const char kTraceUploadUrlChoiceTesting[] = "Testing";
1443
1444const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1445const char kTranslate2016q2UiDescription[] =
1446 "Improved triggering logic and look for Translate Bubble UI";
1447
Philippe Hamel7fdaa452017-09-29 17:22:491448const char kTranslateRankerEnforcementName[] =
1449 "Enforce TranslateRanker decisions";
1450const char kTranslateRankerEnforcementDescription[] =
1451 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1452 "or not Translate UI should be triggered in a given context.";
1453
Brett Wilsonecb80982017-07-12 20:34:511454const char kTrySupportedChannelLayoutsName[] =
1455 "Causes audio output streams to check if channel layouts other than the "
1456 "default hardware layout are available.";
1457const char kTrySupportedChannelLayoutsDescription[] =
1458 "Causes audio output streams to check if channel layouts other than the "
1459 "default hardware layout are available. Turning this on will allow the OS "
1460 "to do stereo to surround expansion if supported. May expose third party "
1461 "driver bugs, use with caution.";
1462
1463const char kUiPartialSwapName[] = "Partial swap";
1464const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1465
Ian Vollickaff0a442017-12-22 18:43:441466const char kEnablePreventLayerSquashingName[] = "Prevent layer squashing";
1467const char kEnablePreventLayerSquashingDescription[] =
1468 "When enabled, the compositor will avoid combining composited layers in "
1469 "more situations.";
1470
Chris Pickel3a227ae62017-08-24 10:47:261471const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1472const char kUseDdljsonApiDescription[] =
1473 "Enables the new ddljson API to fetch Doodles for the NTP.";
1474
Becca Hughes59c05b42017-11-03 13:11:581475const char kUseModernMediaControlsName[] = "New Media Controls";
1476const char kUseModernMediaControlsDescription[] =
1477 "Enables the new style native media controls.";
1478
Mustaq Ahmedc646c0a2017-10-20 20:08:301479const char kUserActivationV2Name[] = "User Activation v2";
1480const char kUserActivationV2Description[] =
1481 "Enable simple user activation for APIs that are otherwise controlled by "
1482 "user gesture tokens.";
1483
Brett Wilsonecb80982017-07-12 20:34:511484const char kUserConsentForExtensionScriptsName[] =
1485 "User consent for extension scripts";
1486const char kUserConsentForExtensionScriptsDescription[] =
1487 "Require user consent for an extension running a script on the page, if "
1488 "the extension requested permission to run on all urls.";
1489
1490const char kUseSuggestionsEvenIfFewFeatureName[] =
1491 "Disable minimum for server-side tile suggestions on NTP.";
1492const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1493 "Request server-side suggestions even if there are only very few of them "
1494 "and use them for tiles on the New Tab Page.";
1495
1496const char kV8CacheOptionsName[] = "V8 caching mode.";
1497const char kV8CacheOptionsDescription[] =
1498 "Caching mode for the V8 JavaScript engine.";
1499const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1500const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1501
Hitoshi Yoshida3e5db562017-09-11 02:31:081502const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1503const char kV8ContextSnapshotDescription[] =
1504 "Sets to use a snapshot to create V8 contexts in frame creation.";
1505
Michael Hablich896d52662017-10-23 15:59:571506const char kV8VmFutureName[] = "Future V8 VM features";
1507const char kV8VmFutureDescription[] =
1508 "This enables upcoming and experimental V8 VM features. "
1509 "This flag does not enable experimental JavaScript features.";
1510
Brett Wilsonecb80982017-07-12 20:34:511511const char kVibrateRequiresUserGestureName[] =
1512 "Requiring user gesture for the Vibration API";
1513const char kVibrateRequiresUserGestureDescription[] =
1514 "Block the Vibration API if no user gesture has been received on the frame "
1515 "or any embedded frame.";
1516
1517const char kVideoFullscreenOrientationLockName[] =
1518 "Lock screen orientation when playing a video fullscreen.";
1519const char kVideoFullscreenOrientationLockDescription[] =
1520 "Lock the screen orientation of the device to match video orientation when "
1521 "a video goes fullscreen. Only on phones.";
1522
1523const char kVideoRotateToFullscreenName[] =
1524 "Rotate-to-fullscreen gesture for videos.";
1525const char kVideoRotateToFullscreenDescription[] =
1526 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1527 "the video. Only on phones.";
1528
1529const char kWalletServiceUseSandboxName[] =
1530 "Use Google Payments sandbox servers";
1531const char kWalletServiceUseSandboxDescription[] =
1532 "For developers: use the sandbox service for Google Payments API calls.";
1533
Brett Wilsonecb80982017-07-12 20:34:511534const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1535const char kWebglDraftExtensionsDescription[] =
1536 "Enabling this option allows web applications to access the WebGL "
1537 "Extensions that are still in draft status.";
1538
1539const char kWebMidiName[] = "Web MIDI API";
1540const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1541
1542const char kWebPaymentsName[] = "Web Payments";
1543const char kWebPaymentsDescription[] =
1544 "Enable Web Payments API integration, a JavaScript API for merchants.";
1545
Mathieu Perreault51339b82017-07-20 17:06:051546const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1547const char kWebPaymentsModifiersDescription[] =
1548 "If the website provides modifiers in the payment request, show the custom "
1549 "total for each payment instrument, update the shopping cart when "
1550 "instruments are switched, and send modified payment method specific data "
1551 "to the payment app.";
1552
Brett Wilsonecb80982017-07-12 20:34:511553const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1554const char kWebrtcEchoCanceller3Description[] =
1555 "Experimental WebRTC echo canceller (AEC3).";
1556
1557const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1558const char kWebrtcHwDecodingDescription[] =
1559 "Support in WebRTC for decoding video streams using platform hardware.";
1560
1561const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1562const char kWebrtcHwEncodingDescription[] =
1563 "Support in WebRTC for encoding video streams using platform hardware.";
1564
1565const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1566const char kWebrtcHwH264EncodingDescription[] =
1567 "Support in WebRTC for encoding h264 video streams using platform "
1568 "hardware.";
1569
1570const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1571const char kWebrtcHwVP8EncodingDescription[] =
1572 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1573
1574const char kWebrtcSrtpAesGcmName[] =
1575 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1576const char kWebrtcSrtpAesGcmDescription[] =
1577 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1578
Joachim Bauch4a41d7512017-08-23 14:24:231579const char kWebrtcSrtpEncryptedHeadersName[] =
1580 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1581const char kWebrtcSrtpEncryptedHeadersDescription[] =
1582 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1583 "for SRTP.";
1584
Brett Wilsonecb80982017-07-12 20:34:511585const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1586const char kWebrtcStunOriginDescription[] =
1587 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1588 "header.";
1589
1590const char kWebvrName[] = "WebVR";
1591const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051592 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111593 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1594 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1595 "will also allow WebVR content on insecure origins to access these "
1596 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511597
David Dorwin5a496c32017-11-17 01:45:051598const char kWebVrExperimentalRenderingName[] =
1599 "WebVR experimental rendering optimizations";
1600const char kWebVrExperimentalRenderingDescription[] =
1601 "Experimental rendering path optimizations for WebVR.";
1602
Brandon Jonese9d9b2b2017-12-11 22:20:111603const char kWebXrName[] = "WebXR Device API";
1604const char kWebXrDescription[] =
1605 "Allow web applications to access experimental APIs to interact with "
1606 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1607
Brett Wilsonecb80982017-07-12 20:34:511608const char kWifiCredentialSyncName[] = "WiFi credential sync";
1609const char kWifiCredentialSyncDescription[] =
1610 "Enables synchronizing WiFi network settings across devices. When enabled, "
1611 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1612 "credentials are synchronized subject to user preferences. (See also, "
1613 "chrome://settings/syncSetup.)";
1614
1615const char kZeroCopyName[] = "Zero-copy rasterizer";
1616const char kZeroCopyDescription[] =
1617 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341618
Brett Wilsonff596952017-07-14 01:06:551619// Android ---------------------------------------------------------------------
1620
1621#if defined(OS_ANDROID)
1622
1623const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1624const char kAiaFetchingDescription[] =
1625 "Enable intermediate certificate fetching when a server does not provide "
1626 "sufficient certificates to build a chain to a trusted root.";
1627
1628const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1629const char kAccessibilityTabSwitcherDescription[] =
1630 "Enable the accessibility tab switcher for Android.";
1631
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251632const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1633const char kAllowReaderForAccessibilityDescription[] =
1634 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1635
Brett Wilsonff596952017-07-14 01:06:551636const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1637const char kAndroidAutofillAccessibilityDescription[] =
1638 "Enable accessibility for autofill popup.";
1639
1640const char kAndroidPaymentAppsName[] = "Android payment apps";
1641const char kAndroidPaymentAppsDescription[] =
1642 "Enable third party Android apps to integrate as payment apps";
1643
Tatiana Gornak38ab3562017-07-28 11:04:181644const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1645const char kAndroidViewPasswordsDescription[] =
1646 "Enables copying and viewing passwords in settings.";
1647
Miriam Gershenson23cfe346e2017-09-28 14:49:291648const char kAsyncDnsName[] = "Async DNS resolver";
1649const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1650
Brett Wilsonff596952017-07-14 01:06:551651const char kAutofillAccessoryViewName[] =
1652 "Autofill suggestions as keyboard accessory view";
1653const char kAutofillAccessoryViewDescription[] =
1654 "Shows Autofill suggestions on top of the keyboard rather than in a "
1655 "dropdown.";
1656
1657const char kBackgroundLoaderForDownloadsName[] =
1658 "Enables background downloading of pages.";
1659const char kBackgroundLoaderForDownloadsDescription[] =
1660 "Enables downloading pages in the background in case page is not yet "
1661 "loaded in current tab.";
1662
Theresa Wellingtonb9243b22017-12-01 16:23:051663const char kChromeHomeName[] = "Chrome Home";
1664const char kChromeHomeDescription[] =
1665 "Enables Chrome Home on Android. You must restart the browser"
1666 " twice for changes to take effect.";
1667
1668const char kChromeHomeBottomNavLabelsName[] =
1669 "Chrome Home bottom navigation menu item labels.";
1670const char kChromeHomeBottomNavLabelsDescription[] =
1671 "Enables text labels for Chrome Home bottom navigation menu items.";
1672
1673const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1674const char kChromeHomeClearUrlOnOpenDescription[] =
1675 "Clear omnibox URL when the bottom sheet is opened.";
1676
Daniel Park825a16f32017-12-08 00:44:261677const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1678const char kChromeHomeEnableSurveyDescription[] =
1679 "If enabled, the survey process will allow surveys using sample "
1680 "parameters.";
1681
Theresa Wellingtonb9243b22017-12-01 16:23:051682const char kChromeHomeInactivitySheetExpansionName[] =
1683 "Expansion of Chrome Home bottom sheet on startup";
1684const char kChromeHomeInactivitySheetExpansionDescription[] =
1685 "Expand bottom sheet on startup in Chrome Home after a period of"
1686 " inactivity.";
1687
Matthew Joneseab91aa2017-12-19 16:12:421688const char kChromeHomeMenuItemsName[] =
1689 "Show bookmarks, downloads, and history menu items in Chrome Home";
1690const char kChromeHomeMenuItemsDescription[] =
1691 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1692 " when Chrome Home is enabled. These items will open the bottom sheet to"
1693 " show the desired content.";
1694
Theresa Wellington82d6f6ef2017-10-12 02:39:131695const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1696const char kChromeHomeOptOutSnackbarDescription[] =
1697 "Show a snackbar prompting users to take a survey the first time they"
1698 " opt-out of Chrome Home";
1699
Theresa Wellingtonc4cff8a12017-11-28 04:13:181700const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1701const char kChromeHomePersistentIphDescription[] =
1702 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1703 "toolbar or a timer expires.";
1704
Theresa Wellingtondd71c5c2017-10-02 15:50:381705const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1706 "Chrome Home Personalized Omnibox Suggestions";
1707const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1708 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1709
Matthew Jones4214d2a12017-09-28 18:35:111710const char kChromeHomePromoName[] = "Chrome Home Promo";
1711const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331712 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111713
Theresa Wellington13977c832017-12-13 16:59:111714const char kChromeHomePullToRefreshIphAtTopName[] =
1715 "Chrome Home Pull-To-Refresh Iph At Top";
1716const char kChromeHomePullToRefreshIphAtTopDescription[] =
1717 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1718
Theresa Wellington306c4cdc2017-12-07 16:43:081719const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1720const char kChromeHomeShowGoogleGDescription[] =
1721 "Show the Google G when the url is cleared. The flag to clear the url "
1722 "when the sheet is opened must also be set.";
1723
Brett Wilsonff596952017-07-14 01:06:551724const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1725const char kChromeHomeSwipeLogicDescription[] =
1726 "Various swipe logic options for Chrome Home for sheet expansion.";
1727const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151728const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551729
Megan Jablonskic61eb1b82017-10-02 18:03:061730const char kChromeMemexName[] = "Chrome Memex";
1731const char kChromeMemexDescription[] =
1732 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1733 "Googlers.";
1734
Sarath Singapati83aef1c2017-11-16 15:54:521735const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1736const char kClearOldBrowsingDataDescription[] =
1737 "Enables clearing of browsing data which is older than a given time "
1738 "period.";
1739
Brett Wilsonff596952017-07-14 01:06:551740const char kContentSuggestionsCategoryOrderName[] =
1741 "Default content suggestions category order (e.g. on NTP)";
1742const char kContentSuggestionsCategoryOrderDescription[] =
1743 "Set default order of content suggestion categories (e.g. on the NTP).";
1744
1745const char kContentSuggestionsCategoryRankerName[] =
1746 "Content suggestions category ranker (e.g. on NTP)";
1747const char kContentSuggestionsCategoryRankerDescription[] =
1748 "Set category ranker to order categories of content suggestions (e.g. on "
1749 "the NTP).";
1750
Vitalii Iarkof52ff802017-09-14 12:34:241751const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1752const char kContentSuggestionsDebugLogDescription[] =
1753 "Enable content suggestions debug log accessible through "
1754 "snippets-internals.";
1755
Donn Denman8e58ead2017-11-04 01:44:011756const char kContextualSearchMlTapSuppressionName[] =
1757 "Contextual Search ML tap suppression";
1758const char kContextualSearchMlTapSuppressionDescription[] =
1759 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1760 "learning.";
Brett Wilsonff596952017-07-14 01:06:551761
1762const char kContextualSearchName[] = "Contextual Search";
1763const char kContextualSearchDescription[] =
1764 "Whether or not Contextual Search is enabled.";
1765
Dmitry Skiba9c3efa72017-07-20 22:01:141766const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1767const char kDontPrefetchLibrariesDescription[] =
1768 "Don't prefetch libraries after loading.";
1769
Joy Ming5fd29ca62017-10-02 22:51:221770const char kDownloadsForegroundName[] = "Enable downloads foreground";
1771const char kDownloadsForegroundDescription[] =
1772 "Enable downloads as a foreground service for all versions of Android.";
1773
Joy Ming189b0cc2017-12-08 19:42:431774const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1775const char kDownloadsLocationChangeDescription[] =
1776 "Enable changing default downloads storage location on Android.";
1777
Brett Wilsonff596952017-07-14 01:06:551778const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1779const char kEnableAndroidPayIntegrationV1Description[] =
1780 "Enable integration with Android Pay using the first version of the API";
1781
1782const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1783const char kEnableAndroidPayIntegrationV2Description[] =
1784 "Enable integration with Android Pay using the second version of the API";
1785
Vitalii Iarkof4ed32d2017-09-26 13:15:531786const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551787const char kEnableAndroidSpellcheckerDescription[] =
1788 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551789
Vitalii Iarkof4ed32d2017-09-26 13:15:531790const char kEnableContentSuggestionsNewFaviconServerName[] =
1791 "Get favicons for content suggestions from a new server.";
1792const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1793 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1794 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551795
1796const char kEnableContentSuggestionsSettingsName[] =
1797 "Show content suggestions settings.";
1798const char kEnableContentSuggestionsSettingsDescription[] =
1799 "If enabled, the content suggestions settings will be available from the "
1800 "main settings menu.";
1801
Vitalii Iarkof4ed32d2017-09-26 13:15:531802const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1803 "Use content suggestions thumbnail dominant color.";
1804const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1805 "Use content suggestions thumbnail dominant color as a placeholder before "
1806 "the real thumbnail is fetched (requires Chrome Home).";
1807
Brett Wilsonff596952017-07-14 01:06:551808const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1809const char kEnableCopylessPasteDescription[] =
1810 "Provide suggestions for text input, based on your recent context. For "
1811 "example, if you looked at a restaurant website and switched to the Maps "
1812 "app, the keyboard would offer the name of that restaurant as a suggestion "
1813 "to enter into the search bar. The data is indexed locally, and never sent "
1814 "to the server. It's disabled in incognito mode.";
1815
1816const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1817const char kEnableCustomContextMenuDescription[] =
1818 "Enables a new context menu when a link, image, or video is pressed within "
1819 "Chrome.";
1820
1821const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1822const char kEnableCustomFeedbackUiDescription[] =
1823 "Enables a custom feedback UI when submitting feedback through Google "
1824 "Feedback. Works with Google Play Services v10.2+";
1825
1826const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471827 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551828const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471829 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551830
1831const char kEnableDataReductionProxySiteBreakdownName[] =
1832 "Data Saver Site Breakdown";
1833const char kEnableDataReductionProxySiteBreakdownDescription[] =
1834 "Enable the site breakdown on the Data Saver settings page.";
1835
1836const char kEnableOmniboxClipboardProviderName[] =
1837 "Omnibox clipboard URL suggestions";
1838const char kEnableOmniboxClipboardProviderDescription[] =
1839 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1840 "focus in the omnibox.";
1841
1842const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1843 "Use expanded autofill credit card popup layout.";
1844const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1845 "If enabled, displays autofill credit card popup using expanded layout.";
1846
Brett Wilsonff596952017-07-14 01:06:551847const char kEnableNtpAssetDownloadSuggestionsName[] =
1848 "Show asset downloads on the New Tab page";
1849const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1850 "If enabled, the list of content suggestions on the New Tab page will "
1851 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1852 "later use.";
1853
1854const char kEnableNtpBookmarkSuggestionsName[] =
1855 "Show recently visited bookmarks on the New Tab page";
1856const char kEnableNtpBookmarkSuggestionsDescription[] =
1857 "If enabled, the list of content suggestions on the New Tab page will "
1858 "contain recently visited bookmarks.";
1859
1860const char kEnableNtpForeignSessionsSuggestionsName[] =
1861 "Show recent foreign tabs on the New Tab page";
1862const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1863 "If enabled, the list of content suggestions on the New Tab page will "
1864 "contain recent foreign tabs.";
1865
Brett Wilsonff596952017-07-14 01:06:551866const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1867 "Show offline page downloads on the New Tab page";
1868const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1869 "If enabled, the list of content suggestions on the New Tab page will "
1870 "contain pages that the user downloaded for later use.";
1871
1872const char kEnableNtpRemoteSuggestionsName[] =
1873 "Show server-side suggestions on the New Tab page";
1874const char kEnableNtpRemoteSuggestionsDescription[] =
1875 "If enabled, the list of content suggestions on the New Tab page will "
1876 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1877 "allows to override the source used to retrieve these server-side "
1878 "suggestions.";
1879
1880const char kEnableNtpSnippetsVisibilityName[] =
1881 "Make New Tab Page Snippets more visible.";
1882const char kEnableNtpSnippetsVisibilityDescription[] =
1883 "If enabled, the NTP snippets will become more discoverable with a larger "
1884 "portion of the first card above the fold.";
1885
1886const char kEnableNtpSuggestionsNotificationsName[] =
1887 "Notify about new content suggestions available at the New Tab page";
1888const char kEnableNtpSuggestionsNotificationsDescription[] =
1889 "If enabled, notifications will inform about new content suggestions on "
1890 "the New Tab page.";
1891
1892const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1893const char kEnablePhysicalWebDescription[] =
1894 "Enable scanning for URLs from Physical Web objects.";
1895
1896const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1897const char kEnableOfflinePreviewsDescription[] =
1898 "Enable showing offline page previews on slow networks.";
1899
1900const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1901const char kEnableOskOverscrollDescription[] =
1902 "Enable OSK overscroll support. With this flag on, the OSK will only "
1903 "resize the visual viewport.";
1904
1905const char kEnableSpecialLocaleName[] =
1906 "Enable custom logic for special locales.";
1907const char kEnableSpecialLocaleDescription[] =
1908 "Enable custom logic for special locales. In this mode, Chrome might "
1909 "behave differently in some locales.";
1910
Brett Wilsonff596952017-07-14 01:06:551911const char kEnableWebNfcName[] = "WebNFC";
1912const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1913
gogeraldf3cbb422017-07-26 14:37:121914const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1915 "Enable Web Payments method section order V2.";
1916const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1917 "Enable this option to display payment method section above address "
1918 "section instead of below it.";
1919
Brett Wilsonff596952017-07-14 01:06:551920const char kEnableWebPaymentsSingleAppUiSkipName[] =
1921 "Enable Web Payments single app UI skip";
1922const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1923 "Enable Web Payments to skip showing its UI if the developer specifies a "
1924 "single app.";
1925
Raymes Khoury582b43132017-12-12 23:54:301926const char kGrantNotificationsToDSEName[] =
1927 "Grant notifications to the Default Search Engine";
1928const char kGrantNotificationsToDSENameDescription[] =
1929 "Automatically grant the notifications permission to the Default Search "
1930 "Engine";
1931
Brett Wilsonff596952017-07-14 01:06:551932const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1933const char kHerbPrototypeChoicesDescription[] =
1934 "Switching this option changes which tab management prototype is being "
1935 "tested.";
1936const char kHerbPrototypeFlavorElderberry[] =
1937 "ELDERBERRY: All View Intents in CCT v2";
1938
1939const char kKeepPrefetchedContentSuggestionsName[] =
1940 "Keep prefetched content suggestions";
1941const char kKeepPrefetchedContentSuggestionsDescription[] =
1942 "If enabled, some of prefetched content suggestions are not replaced by "
1943 "the new fetched suggestions.";
1944
Leo Zhang051b75482017-12-20 03:28:301945const char kLanguagesPreferenceName[] = "Language Settings";
1946const char kLanguagesPreferenceDescription[] =
1947 "Enable this option for Language Settings feature on Android.";
1948
Brett Wilsonff596952017-07-14 01:06:551949const char kLsdPermissionPromptName[] =
1950 "Location Settings Dialog Permission Prompt";
1951const char kLsdPermissionPromptDescription[] =
1952 "Whether to use the Google Play Services Location Settings Dialog "
1953 "permission dialog.";
1954
Brett Wilsonff596952017-07-14 01:06:551955const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1956const char kMediaScreenCaptureDescription[] =
1957 "Enable this option for experimental ScreenCapture feature on Android.";
1958
1959const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1960const char kModalPermissionPromptsDescription[] =
1961 "Whether to use permission dialogs in place of permission infobars.";
1962
Brett Wilsonff596952017-07-14 01:06:551963const char kNewPhotoPickerName[] = "Enable new Photopicker";
1964const char kNewPhotoPickerDescription[] =
1965 "Activates the new picker for selecting photos.";
1966
1967const char kNoCreditCardAbort[] = "No Credit Card Abort";
1968const char kNoCreditCardAbortDescription[] =
1969 "Whether or not the No Credit Card Abort is enabled.";
1970
1971const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1972const char kNtpCondensedLayoutDescription[] =
1973 "Show a condensed layout on the New Tab Page.";
1974
1975const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1976const char kNtpCondensedTileLayoutDescription[] =
1977 "Show a condensed tile layout on the New Tab Page.";
1978
Michael van Ouwerkerkcdbbe332017-11-24 15:07:061979const char kNtpModernLayoutName[] = "Modern NTP layout";
1980const char kNtpModernLayoutDescription[] =
1981 "Show a modern layout on the New Tab Page.";
1982
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041983const char kSiteExplorationUiName[] = "Site Exploration UI";
1984const char kSiteExplorationUiDescription[] =
1985 "Show site suggestions in the Exploration UI";
1986
Brett Wilsonff596952017-07-14 01:06:551987const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1988const char kNtpGoogleGInOmniboxDescription[] =
1989 "Show a Google G in the omnibox on the New Tab Page.";
1990
Brett Wilsonff596952017-07-14 01:06:551991const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1992const char kNtpPopularSitesDescription[] =
1993 "Pre-populate the New Tab page with popular sites.";
1994
Brett Wilsonff596952017-07-14 01:06:551995const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1996const char kOfflineBookmarksDescription[] =
1997 "Enable saving bookmarked pages for offline viewing.";
1998
Brett Wilsonff596952017-07-14 01:06:551999const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2000const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2001
2002const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2003const char kOfflinePagesCtV2Description[] =
2004 "V2 features include attributing pages to the app that initiated the "
2005 "custom tabs, and being able to query for pages by page attribution.";
2006
Carlos Knippschild09272ecd2017-12-09 03:29:362007const char kOfflinePagesLimitlessPrefetchingName[] =
2008 "Removes resource usage limits for the prefetching of offline pages.";
2009const char kOfflinePagesLimitlessPrefetchingDescription[] =
2010 "Allows the prefetching of suggested offline pages to ignore resource "
2011 "usage limits. This allows it to completely ignore data usage limitations "
2012 "and allows downloads to happen with any kind of connection.";
2013
Brett Wilsonff596952017-07-14 01:06:552014const char kOfflinePagesLoadSignalCollectingName[] =
2015 "Enables collecting load timing data for offline page snapshots.";
2016const char kOfflinePagesLoadSignalCollectingDescription[] =
2017 "Enables loading completeness data collection while writing an offline "
2018 "page. This data is collected in the snapshotted offline page to allow "
2019 "data analysis to improve deciding when to make the offline snapshot.";
2020
Candice Sy229768e02017-12-21 00:19:222021const char kOfflinePagesDescriptivePendingStatusName[] =
2022 "Enables descriptive pending download status text.";
2023const char kOfflinePagesDescriptivePendingStatusDescription[] =
2024 "Enables pending download status text in notifications and Downloads Home "
2025 "to state the reason the request is pending.";
2026
Brett Wilsonff596952017-07-14 01:06:552027const char kOfflinePagesPrefetchingName[] =
2028 "Enables suggested offline pages to be prefetched.";
2029const char kOfflinePagesPrefetchingDescription[] =
2030 "Enables suggested offline pages to be prefetched, so useful content is "
2031 "available while offline.";
2032
Cathy Li3d5379e2017-09-07 00:11:092033const char kOfflinePagesPrefetchingUIName[] =
2034 "Enables prefetched offline pages to be shown in UI.";
2035const char kOfflinePagesPrefetchingUIDescription[] =
2036 "Enables prefetched offline pages to raise notifications and be shown in "
2037 "download home UI.";
2038
Pete Williamson7845dff2017-09-20 11:06:192039const char kOfflinePagesResourceBasedSnapshotName[] =
2040 "Enables offline page snapshots to be based on percentage of page loaded.";
2041const char kOfflinePagesResourceBasedSnapshotDescription[] =
2042 "Enables offline page snapshots to use a resource percentage based "
2043 "approach for determining when the page is loaded as opposed to a time "
2044 "based approach";
2045
Collin Baker17f92a52017-07-19 21:41:252046const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2047const char kOfflinePagesRenovationsDescription[] =
2048 "Enables offline page renovations which correct issues with dynamic "
2049 "content that occur when offlining pages that use JavaScript.";
2050
Brett Wilsonff596952017-07-14 01:06:552051const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2052const char kOfflinePagesSharingDescription[] =
2053 "Enables the saved offline pages to be shared via other applications.";
2054
2055const char kOfflinePagesSvelteConcurrentLoadingName[] =
2056 "Enables concurrent background loading on svelte.";
2057const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2058 "Enables concurrent background loading (or downloading) of pages on "
2059 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2060 "happen when the svelte device is idle.";
2061
2062const char kOffliningRecentPagesName[] =
2063 "Enable offlining of recently visited pages";
2064const char kOffliningRecentPagesDescription[] =
2065 "Enable storing recently visited pages locally for offline use. Requires "
2066 "Offline Pages to be enabled.";
2067
Lei Zhang2eca9082017-10-17 20:42:502068const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2069const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552070 "Enable Pay with Google integration into Web Payments with API version "
2071 "'1'.";
2072
Matthew Jonesa88b95852017-11-08 23:13:502073const char kProgressBarThrottleName[] = "Android progress update throttling.";
2074const char kProgressBarThrottleDescription[] =
2075 "Limit the maximum progress update to make progress appear smoother.";
2076
Brett Wilsonff596952017-07-14 01:06:552077const char kProgressBarCompletionName[] =
2078 "Android phone page load progress bar completion time.";
2079const char kProgressBarCompletionDescription[] =
2080 "Configures Android phone page loading progress bar completion time.";
2081const char kProgressBarCompletionLoadEvent[] =
2082 R"*(Top loading frame's onload event ("everything" is done in the )*"
2083 R"*(page, historical behavior).)*";
2084const char kProgressBarCompletionResourcesBeforeDcl[] =
2085 "Main frame's domContentLoaded and all resources loads started before "
2086 "domContentLoaded (iframes ignored).";
2087const char kProgressBarCompletionDomContentLoaded[] =
2088 "Main frame's domContentLoaded (iframes ignored).";
2089const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2090 "domContentLoaded and all resources loads started before domContentLoaded "
2091 "(main frame and same origin iframes).";
2092
2093const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2094const char kPullToRefreshEffectDescription[] =
2095 "Page reloads triggered by vertically overscrolling content.";
2096
Piotr Swigon7c296ef2017-08-29 04:32:002097const char kPwaImprovedSplashScreenName[] =
2098 "Improved Splash Screen for standalone PWAs";
2099const char kPwaImprovedSplashScreenDescription[] =
2100 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2101 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492102const char kPwaPersistentNotificationName[] =
2103 "Persistent notification in standalone PWA";
2104const char kPwaPersistentNotificationDescription[] =
2105 "Enables a persistent Android notification for standalone PWAs";
2106
Brett Wilsonff596952017-07-14 01:06:552107const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2108const char kReaderModeHeuristicsDescription[] =
2109 "Determines what pages the Reader Mode infobar is shown on.";
2110const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2111const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2112const char kReaderModeHeuristicsAllArticles[] = "All articles";
2113const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2114const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2115
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182116const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2117const char kReaderModeInCCTDescription[] =
2118 "Open Reader Mode in Chrome Custom Tabs.";
2119
Brett Wilsonff596952017-07-14 01:06:552120const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2121const char kSetMarketUrlForTestingDescription[] =
2122 "When enabled, sets the market URL for use in testing the update menu "
2123 "item.";
2124
2125const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2126const char kSpannableInlineAutocompleteDescription[] =
2127 "A new type of inline autocomplete for the omnibox that works with "
2128 "keyboards that compose text.";
2129
Brett Wilsonff596952017-07-14 01:06:552130const char kTranslateCompactUIName[] = "New Translate Infobar";
2131const char kTranslateCompactUIDescription[] =
2132 "Enable the new Translate compact infobar UI.";
2133
2134const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2135const char kUpdateMenuBadgeDescription[] =
2136 "When enabled, an update badge will be shown on the app menu button.";
2137
2138const char kUpdateMenuItemCustomSummaryDescription[] =
2139 "When this flag and the force show update menu item flag are enabled, a "
2140 "custom summary string will be displayed below the update menu item.";
2141const char kUpdateMenuItemCustomSummaryName[] =
2142 "Update menu item custom summary";
2143
2144const char kUpdateMenuItemName[] = "Force show update menu item";
2145const char kUpdateMenuItemDescription[] =
2146 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2147 R"*(menu.)*";
2148
Marc Treib93af46a2017-08-23 13:30:002149const char kThirdPartyDoodlesName[] =
2150 "Enable Doodles for third-party search engines";
2151const char kThirdPartyDoodlesDescription[] =
2152 "Enables fetching and displaying Doodles on the NTP for third-party search "
2153 "engines.";
2154
Brett Wilson7b44537e2017-08-18 01:38:282155// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552156
Brett Wilson7b44537e2017-08-18 01:38:282157#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482158
Brett Wilson7b44537e2017-08-18 01:38:282159const char kAccountConsistencyName[] =
2160 "Identity consistency between browser and cookie jar";
2161const char kAccountConsistencyDescription[] =
2162 "When enabled, the browser manages signing in and out of Google accounts.";
2163const char kAccountConsistencyChoiceMirror[] = "Mirror";
2164const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342165
Chris Pickel3a227ae62017-08-24 10:47:262166const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2167const char kDoodlesOnLocalNtpDescription[] =
2168 "Show doodles on the local New Tab page if Google is the default search "
2169 "engine.";
2170
mlamouriff56c092017-05-11 15:31:392171const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392172const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342173 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392174const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392175const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392176const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342177 "Enabled (Flash lowers volume when interrupted by other sound, "
2178 "experimental)";
2179
Brett Wilson7b44537e2017-08-18 01:38:282180const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2181const char kEnableNewAppMenuIconDescription[] =
2182 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342183
2184const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342185const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282186 "Enable receiving entity suggestions - disambiguation descriptions - for "
2187 "Omnibox suggestions.";
2188
Kevin Bailey898669972017-11-06 15:34:492189const char kOmniboxTabSwitchSuggestionsName[] =
2190 "Omnibox tab switch suggestions";
2191const char kOmniboxTabSwitchSuggestionsDescription[] =
2192 "Enable suggestions for switching to open tabs within the Omnibox.";
2193
krbcc621412017-06-01 19:40:282194const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2195const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192196 "Enable receiving tail suggestions, a type of search suggestion based on "
2197 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342198
Brett Wilson7b44537e2017-08-18 01:38:282199const char kOneGoogleBarOnLocalNtpName[] =
2200 "Enable the OneGoogleBar on the local NTP";
2201const char kOneGoogleBarOnLocalNtpDescription[] =
2202 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2203 "search engine.";
2204
ojan38c678352017-04-11 20:27:552205const char kPauseBackgroundTabsName[] = "Pause background tabs";
2206const char kPauseBackgroundTabsDescription[] =
2207 "Pause timers in background tabs after 5 minutes on desktop.";
2208
Brett Wilson7b44537e2017-08-18 01:38:282209const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2210const char kUseGoogleLocalNtpDescription[] =
2211 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322212
Brett Wilson7b44537e2017-08-18 01:38:282213const char kVoiceSearchOnLocalNtpName[] =
2214 "Enable Voice Search on the local NTP";
2215const char kVoiceSearchOnLocalNtpDescription[] =
2216 "Show a microphone for voice search on the local New Tab page "
2217 "if Google is the default search engine.";
2218
2219#if defined(GOOGLE_CHROME_BUILD)
2220
2221const char kGoogleBrandedContextMenuName[] =
2222 "Google branding in the context menu";
2223const char kGoogleBrandedContextMenuDescription[] =
2224 "Shows a Google icon next to context menu items powered by Google "
2225 "services.";
2226
2227#endif // !defined(GOOGLE_CHROME_BUILD)
2228
2229#endif // !defined(OS_ANDROID)
2230
2231// Windows ---------------------------------------------------------------------
2232
2233#if defined(OS_WIN)
2234
2235const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2236const char kCloudPrintXpsDescription[] =
2237 "XPS enables advanced options for classic printers connected to the Cloud "
2238 "Print with Chrome. Printers must be re-connected after changing this "
2239 "flag.";
2240
Dave Tapuskadd43469d2017-08-22 22:15:532241const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2242const char kDirectManipulationStylusDescription[] =
2243 "If enabled, Chrome will scroll web pages on stylus drag.";
2244
Brett Wilson7b44537e2017-08-18 01:38:282245const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2246const char kDisablePostscriptPrintingDescription[] =
2247 "Disables PostScript generation when printing to PostScript capable "
2248 "printers, and uses EMF generation in its place.";
2249
2250const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2251const char kEnableAppcontainerDescription[] =
2252 "Enables the use of an AppContainer on sandboxed processes to improve "
2253 "security.";
2254
2255const char kEnableD3DVsync[] = "D3D v-sync";
2256const char kEnableD3DVsyncDescription[] =
2257 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2258 "to occur.";
2259
2260const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2261const char kEnableDesktopIosPromotionsDescription[] =
2262 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2263 "eligible.";
2264
2265const char kGdiTextPrinting[] = "GDI Text Printing";
2266const char kGdiTextPrintingDescription[] =
2267 "Use GDI to print text as simply text";
2268
2269const char kMergeKeyCharEventsName[] =
2270 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2271 "(WM_CHAR).";
2272const char kMergeKeyCharEventsDescription[] =
2273 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2274
2275const char kTraceExportEventsToEtwName[] =
2276 "Enable exporting of tracing events to ETW.";
2277const char kTraceExportEventsToEtwDesription[] =
2278 "If enabled, trace events will be exported to the Event Tracing for "
2279 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2280 "Xperf.";
2281
2282const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2283const char kUseWinrtMidiApiDescription[] =
2284 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2285 "later).";
2286
2287const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2288const char kWindows10CustomTitlebarDescription[] =
2289 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2290 "deferring to Windows.";
2291
Wez6656c572017-08-29 22:29:582292#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502293const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2294const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582295 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2296 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2297#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2298
Brett Wilson7b44537e2017-08-18 01:38:282299#endif // defined(OS_WIN)
2300
2301// Mac -------------------------------------------------------------------------
2302
2303#if defined(OS_MACOSX)
2304
2305const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2306const char kAppInfoDialogDescription[] =
2307 "Makes the Toolkit-Views based App Info dialog accessible from "
2308 "chrome://apps or chrome://extensions in place of the native extension "
2309 "permissions dialog, or the details link (which is a link to the Web "
2310 "Store).";
2311
2312const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2313const char kAppWindowCyclingDescription[] =
2314 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2315 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2316 "browser window, and browser windows will not be cycled when a Chrome App "
2317 "is active.";
2318
Lei Zhang2eca9082017-10-17 20:42:502319const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2320const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282321 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2322
2323const char kFullscreenToolbarRevealName[] =
2324 "Enables the toolbar in fullscreen to reveal itself.";
2325const char kFullscreenToolbarRevealDescription[] =
2326 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2327 "has changed.";
2328
2329const char kContentFullscreenName[] = "Improved Content Fullscreen";
2330const char kContentFullscreenDescription[] =
2331 "Fullscreen content window detaches from main browser window and goes to "
2332 "a new space without moving or changing the original browser window.";
2333
Lei Zhang2eca9082017-10-17 20:42:502334const char kDialogTouchBarName[] = "Dialog Touch Bar";
2335const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282336 "Shows Dialog buttons on the Touch Bar.";
2337
2338const char kHostedAppsInWindowsName[] =
2339 "Allow hosted apps to be opened in windows";
2340const char kHostedAppsInWindowsDescription[] =
2341 "Allows hosted apps to be opened in windows instead of being limited to "
2342 "tabs.";
2343
Lei Zhang2eca9082017-10-17 20:42:502344const char kMacRTLName[] = "Enable RTL";
2345const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282346
Lei Zhang2eca9082017-10-17 20:42:502347const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2348const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522349 "Enables sharing via macOS share extensions.";
2350
Lei Zhang2eca9082017-10-17 20:42:502351const char kMacTouchBarName[] = "Hardware Touch Bar";
2352const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282353
2354const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2355const char kMacV2SandboxDescription[] =
2356 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2357 "entire life cycle.";
2358
2359const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2360const char kMacViewsNativeAppWindowsDescription[] =
2361 "Controls whether to use Toolkit-Views based Chrome App windows.";
2362
Jérôme Lebelff683d42017-11-10 10:24:022363const char kMacViewsProfileChooserName[] =
2364 "Profile chooser menu with toolkit-views on Mac";
2365const char kMacViewsProfileChooserDescription[] =
2366 "Enables profile chooser menu based on toolkit-views, on Mac";
2367
Brett Wilson7b44537e2017-08-18 01:38:282368const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2369const char kMacViewsTaskManagerDescription[] =
2370 "Controls whether to use the Toolkit-Views based Task Manager.";
2371
2372const char kTabDetachingInFullscreenName[] =
2373 "Allow tab detaching in fullscreen";
2374const char kTabDetachingInFullscreenDescription[] =
2375 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2376
2377const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2378const char kTabStripKeyboardFocusDescription[] =
2379 "Enable keyboard focus for the tabs in the tab strip.";
2380
2381const char kTranslateNewUxName[] = "New Translate UX";
2382const char kTranslateNewUxDescription[] =
2383 "Enable the new Translate bubble UX is offered instead of the infobar.";
2384
Brett Wilson7b44537e2017-08-18 01:38:282385#endif
2386
2387// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342388
2389#if defined(OS_CHROMEOS)
2390
Brett Wilson7b44537e2017-08-18 01:38:282391const char kAcceleratedMjpegDecodeName[] =
2392 "Hardware-accelerated mjpeg decode for captured frame";
2393const char kAcceleratedMjpegDecodeDescription[] =
2394 "Enable hardware-accelerated mjpeg decode for captured frame where "
2395 "available.";
vabr0215a8e2017-03-28 12:47:342396
Brett Wilson7b44537e2017-08-18 01:38:282397const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2398const char kAllowTouchpadThreeFingerClickDescription[] =
2399 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342400
Brett Wilson7b44537e2017-08-18 01:38:282401const char kArcBootCompleted[] = "Load Android apps automatically";
2402const char kArcBootCompletedDescription[] =
2403 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342404
Lev Rumyantsev7a8544312017-08-18 19:26:512405const char kArcNativeBridgeExperimentName[] =
2406 "Enable native bridge experiment for ARC";
2407const char kArcNativeBridgeExperimentDescription[] =
2408 "Enables experimental native bridge feature.";
2409
Kevin Cernekeeb7f96a52017-10-25 17:40:182410const char kArcVpnName[] = "Enable ARC VPN integration";
2411const char kArcVpnDescription[] =
2412 "Allow Android VPN clients to tunnel Chrome traffic.";
2413
Brett Wilson7b44537e2017-08-18 01:38:282414const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2415const char kAshEnableUnifiedDesktopDescription[] =
2416 "Enable unified desktop mode which allows a window to span multiple "
2417 "displays.";
vabr0215a8e2017-03-28 12:47:342418
Brett Wilson7b44537e2017-08-18 01:38:282419const char kBootAnimationName[] = "Boot animation";
2420const char kBootAnimationDescription[] =
2421 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342422
Sean Kau5e956192017-10-06 22:25:172423const char kBulkPrintersName[] = "Bulk Printers Policy";
2424const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2425
Brett Wilson7b44537e2017-08-18 01:38:282426const char kCaptivePortalBypassProxyName[] =
2427 "Bypass proxy for Captive Portal Authorization";
2428const char kCaptivePortalBypassProxyDescription[] =
2429 "If proxy is configured, it usually prevents from authorization on "
2430 "different captive portals. This enables opening captive portal "
2431 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342432
Brett Wilson7b44537e2017-08-18 01:38:282433const char kCrOSComponentName[] = "Chrome OS Component";
2434const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082435 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342436
Xiaochu Liu51d03fd2017-09-08 23:51:022437const char kCrOSContainerName[] = "Chrome OS Container";
2438const char kCrOSContainerDescription[] =
2439 "Enable the use of Chrome OS Container utility.";
2440
Brett Wilson7b44537e2017-08-18 01:38:282441const char kCrosRegionsModeName[] = "Cros-regions load mode";
2442const char kCrosRegionsModeDescription[] =
2443 "This flag controls cros-regions load mode";
2444const char kCrosRegionsModeDefault[] = "Default";
2445const char kCrosRegionsModeOverride[] = "Override VPD values.";
2446const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342447
Jacob Dufault2becbc482017-08-25 00:36:352448const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2449const char kDisableLockScreenAppsDescription[] =
2450 "Disable new-note action handler apps on the lock screen. The user will "
2451 "not be able to launch the preferred note-taking action from the lock "
2452 "screen, provided that the app supports lock screen note taking.";
2453
Sammie Quonef6b4882017-09-14 16:50:052454const char kDisableTabletAutohideTitlebarsName[] =
2455 "Disable autohide titlebars in tablet mode";
2456const char kDisableTabletAutohideTitlebarsDescription[] =
2457 "Disable tablet mode autohide titlebars functionality. The user will be "
2458 "able to see the titlebar in tablet mode.";
2459
xdai302074a2017-12-21 19:49:492460const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2461const char kDisableTabletSplitViewDescription[] =
2462 "Disable split view for Chrome OS tablet mode.";
2463
Brett Wilson7b44537e2017-08-18 01:38:282464const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2465const char kEnablePerUserTimezoneDescription[] =
2466 "Chrome OS system timezone preference is stored and handled for each user "
2467 "individually.";
vabr0215a8e2017-03-28 12:47:342468
Brett Wilson7b44537e2017-08-18 01:38:282469const char kDisableSystemTimezoneAutomaticDetectionName[] =
2470 "SystemTimezoneAutomaticDetection policy support";
2471const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2472 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342473
Lei Zhang2eca9082017-10-17 20:42:502474const char kEnableBackgroundBlurName[] = "Enable background blur.";
2475const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422476 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392477
Brett Wilson7b44537e2017-08-18 01:38:282478const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2479const char kEnableAndroidWallpapersAppDescription[] =
2480 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2481 "OS.";
vabr0215a8e2017-03-28 12:47:342482
Brett Wilson7b44537e2017-08-18 01:38:282483const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2484const char kEnableChromevoxArcSupportDescription[] =
2485 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342486
Brett Wilson7b44537e2017-08-18 01:38:282487const char kEnableEhvInputName[] =
2488 "Emoji, handwriting and voice input on opt-in IME menu";
2489const char kEnableEhvInputDescription[] =
2490 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342491
Brett Wilson7b44537e2017-08-18 01:38:282492const char kEnableEncryptionMigrationName[] =
2493 "Enable encryption migration of user data";
2494const char kEnableEncryptionMigrationDescription[] =
2495 "If enabled and the device supports ARC, the user will be asked to update "
2496 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342497
Blake O'Hare9e9317b22017-10-24 02:49:352498const char kEnableFloatingVirtualKeyboardName[] =
2499 "Enable floating virtual keyboard";
2500const char kEnableFloatingVirtualKeyboardDescription[] =
2501 "If enabled, the keyboard will use floating behavior by default.";
2502
Brett Wilson7b44537e2017-08-18 01:38:282503const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2504const char kEnableImeMenuDescription[] =
2505 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342506
Klemen Kozjek05fc4512017-10-18 12:51:102507const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2508const char kEnableZipArchiverPackerDescription[] =
2509 "Enable the ability to archive files on Drive in the Files app";
2510
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412511const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2512const char kZipArchiverUnpackerDescription[] =
2513 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282514
2515const char kEolNotificationName[] = "Disable Device End of Life notification.";
2516const char kEolNotificationDescription[] =
2517 "Disable Notifcation when Device is End of Life.";
2518
2519const char kExperimentalAccessibilityFeaturesName[] =
2520 "Experimental accessibility features";
2521const char kExperimentalAccessibilityFeaturesDescription[] =
2522 "Enable additional accessibility features in the Settings page.";
2523
2524const char kExperimentalInputViewFeaturesName[] =
2525 "Experimental input view features";
2526const char kExperimentalInputViewFeaturesDescription[] =
2527 "Enable experimental features for IME input views.";
2528
2529const char kFileManagerTouchModeName[] = "Files App. touch mode";
2530const char kFileManagerTouchModeDescription[] =
2531 "Touchscreen-specific interactions of the Files app.";
2532
2533const char kFirstRunUiTransitionsName[] =
2534 "Animated transitions in the first-run tutorial";
2535const char kFirstRunUiTransitionsDescription[] =
2536 "Transitions during first-run tutorial are animated.";
2537
Brett Wilson7b44537e2017-08-18 01:38:282538const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2539const char kForceEnableStylusToolsDescription[] =
2540 "Forces display of the stylus tools menu in the shelf and the stylus "
2541 "section in settings, even if there is no attached stylus device.";
2542
2543const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2544const char kGestureEditingDescription[] =
2545 "Enable/Disable gesture editing option in the settings page for the "
2546 "virtual keyboard.";
2547
2548const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2549const char kGestureTypingDescription[] =
2550 "Enable/Disable gesture typing option in the settings page for the virtual "
2551 "keyboard.";
2552
2553const char kInputViewName[] = "Input views";
2554const char kInputViewDescription[] =
2555 "Enable IME extensions to supply custom views for user input such as "
2556 "virtual keyboards.";
2557
2558const char kMemoryPressureThresholdName[] =
2559 "Memory discard strategy for advanced pressure handling";
2560const char kMemoryPressureThresholdDescription[] =
2561 "Memory discarding strategy to use";
2562const char kConservativeThresholds[] =
2563 "Conservative memory pressure release strategy";
2564const char kAggressiveCacheDiscardThresholds[] =
2565 "Aggressive cache release strategy";
2566const char kAggressiveTabDiscardThresholds[] =
2567 "Aggressive tab release strategy";
2568const char kAggressiveThresholds[] =
2569 "Aggressive tab and cache release strategy";
2570
2571const char kMtpWriteSupportName[] = "MTP write support";
2572const char kMtpWriteSupportDescription[] =
2573 "MTP write support in File System API (and file manager). In-place editing "
2574 "operations are not supported.";
2575
2576const char kMultideviceName[] = "Enable multidevice features";
2577const char kMultideviceDescription[] =
2578 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342579
Bailey Berrodca8eeca02017-11-18 00:49:122580const char kNativeSmbName[] = "Native Smb Client";
2581const char kNativeSmbDescription[] =
2582 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302583
vabr0215a8e2017-03-28 12:47:342584const char kNetworkPortalNotificationName[] =
2585 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342586const char kNetworkPortalNotificationDescription[] =
2587 "If enabled, notification is displayed when device is connected to a "
2588 "network behind captive portal.";
2589
Steven Bennetts77b67972017-12-14 19:38:322590const char kDisableNetworkSettingsConfigName[] =
2591 "Disable Settings based Network Configuration";
2592const char kDisableNetworkSettingsConfigDescription[] =
2593 "Disables the Settings based network configuration UI and restores the "
2594 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242595
Brett Wilson7b44537e2017-08-18 01:38:282596const char kNewKoreanImeName[] = "New Korean IME";
2597const char kNewKoreanImeDescription[] =
2598 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342599
Brett Wilson7b44537e2017-08-18 01:38:282600const char kNewZipUnpackerName[] = "New ZIP unpacker";
2601const char kNewZipUnpackerDescription[] =
2602 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2605const char kPhysicalKeyboardAutocorrectDescription[] =
2606 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2607 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342608
2609const char kPrinterProviderSearchAppName[] =
2610 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342611const char kPrinterProviderSearchAppDescription[] =
2612 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192613 "searches Chrome Web Store for extensions that support printing to a USB "
2614 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342615
Brett Wilson7b44537e2017-08-18 01:38:282616const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2617const char kQuickUnlockPinDescription[] =
2618 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2619 "device on the lock screen after you have signed into your device.";
2620const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2621const char kQuickUnlockPinSigninDescription[] =
2622 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2623 "device. After changing this flag PIN needs to be set up again.";
2624const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2625const char kQuickUnlockFingerprintDescription[] =
2626 "Enabling fingerprint quick unlock allows you to setup and use a "
2627 "fingerprint to unlock your Chromebook on the lock screen after you have "
2628 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342629
Brett Wilson7b44537e2017-08-18 01:38:282630const char kOfficeEditingComponentAppName[] =
2631 "Office Editing for Docs, Sheets & Slides";
2632const char kOfficeEditingComponentAppDescription[] =
2633 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072634
James Cook0ba192bf2017-12-01 20:53:112635const char kShowTapsName[] = "Show taps";
2636const char kShowTapsDescription[] =
2637 "Draws a circle at each touch point, which makes touch points more obvious "
2638 "when projecting or mirroring the display. Similar to the Android OS "
2639 "developer option.";
2640
2641const char kShowTouchHudName[] = "Show HUD for touch points";
2642const char kShowTouchHudDescription[] =
2643 "Shows a trail of colored dots for the last few touch points. Pressing "
2644 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2645 "debug hardware issues that generate spurious touch events.";
2646
Chung-Sheng Wu468b0b32017-09-01 14:41:572647const char kSysInternalsName[] = "Enable Sys-Internals";
2648const char kSysInternalsDescription[] =
2649 "If enabled, user can monitor system information at "
2650 "chrome://sys-internals.";
2651
Brett Wilson7b44537e2017-08-18 01:38:282652const char kTeamDrivesName[] = "Enable Team Drives Integration";
2653const char kTeamDrivesDescription[] =
2654 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342655
Brett Wilson7b44537e2017-08-18 01:38:282656const char kTetherName[] = "Instant Tethering";
2657const char kTetherDescription[] =
2658 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2659 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372660
Brett Wilson7b44537e2017-08-18 01:38:282661const char kTouchscreenCalibrationName[] =
2662 "Enable/disable touchscreen calibration option in material design settings";
2663const char kTouchscreenCalibrationDescription[] =
2664 "If enabled, the user can calibrate the touch screen displays in "
2665 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092666
Mitsuru Oshima63d3f2a2017-08-23 00:12:112667// Force UI Mode
2668const char kUiModeName[] = "Force Ui Mode";
2669const char kUiModeDescription[] =
2670 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2671 R"*(despite its current orientation. "Tablet" means that the )*"
2672 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2673 R"*(means that the chromebook will act as if it were in clamshell )*"
2674 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2675 R"*(the two, based on its orientation.)*";
2676const char kUiModeTablet[] = "TouchView";
2677const char kUiModeClamshell[] = "Clamshell";
2678const char kUiModeAuto[] = "Auto (default)";
2679
bruthigeafb0c02017-06-09 13:11:532680const char kUiDevToolsName[] = "Enable native UI inspection";
2681const char kUiDevToolsDescription[] =
2682 "Enables inspection of native UI elements. For local inspection use "
2683 "chrome://inspect#other";
2684
Brett Wilson7b44537e2017-08-18 01:38:282685const char kUseMusName[] = "Mus";
2686const char kUseMusDescription[] = "Enable the Mojo UI service.";
2687const char kEnableMashDescription[] =
2688 "Mash (UI, Chrome and ash in separate services)";
2689const char kEnableMusDescription[] =
2690 "Mus (UI in separate service, Chrome and ash in same service)";
2691
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342692// TODO(mcasas): remove after https://crbug.com/771345.
2693const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2694const char kUseMonitorColorSpaceDescription[] =
2695 "Enables Chrome to use the color space information provided by the monitor"
2696 " instead of the default sRGB color space.";
2697
Brett Wilson7b44537e2017-08-18 01:38:282698const char kVideoPlayerChromecastSupportName[] =
2699 "Experimental Chromecast support for Video Player";
2700const char kVideoPlayerChromecastSupportDescription[] =
2701 "This option enables experimental Chromecast support for Video Player app "
2702 "on ChromeOS.";
2703
2704const char kVirtualKeyboardName[] = "Virtual Keyboard";
2705const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2706
2707const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2708const char kVirtualKeyboardOverscrollDescription[] =
2709 "Enables virtual keyboard overscroll support.";
2710
2711const char kVoiceInputName[] = "Voice input on virtual keyboard";
2712const char kVoiceInputDescription[] =
2713 "Enables voice input on virtual keyboard.";
2714
2715const char kWakeOnPacketsName[] = "Wake On Packets";
2716const char kWakeOnPacketsDescription[] =
2717 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202718
yhanadac5bff5b2017-05-18 06:37:092719#endif // defined(OS_CHROMEOS)
2720
Brett Wilson7b44537e2017-08-18 01:38:282721// Random platform combinations -----------------------------------------------
2722
2723#if defined(OS_WIN) || defined(OS_LINUX)
2724
2725const char kEnableInputImeApiName[] = "Enable Input IME API";
2726const char kEnableInputImeApiDescription[] =
2727 "Enable the use of chrome.input.ime API.";
2728
2729#endif // defined(OS_WIN) || defined(OS_LINUX)
2730
2731#if defined(OS_WIN) || defined(OS_MACOSX)
2732
2733const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2734const char kAutomaticTabDiscardingDescription[] =
2735 "If enabled, tabs get automatically discarded from memory when the system "
2736 "memory is low. Discarded tabs are still visible on the tab strip and get "
2737 "reloaded when clicked on. Info about discarded tabs can be found at "
2738 "chrome://discards.";
2739
2740#endif // defined(OS_WIN) || defined(OS_MACOSX)
2741
2742// Feature flags --------------------------------------------------------------
2743
2744#if BUILDFLAG(ENABLE_VR)
2745
David Dorwin5a496c32017-11-17 01:45:052746const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2747const char kWebVrVsyncAlignDescription[] =
2748 "Align WebVR application rendering with VSync for smoother animations.";
2749
Brett Wilson7b44537e2017-08-18 01:38:282750#if defined(OS_ANDROID)
2751
David Dorwin5a496c32017-11-17 01:45:052752const char kVrBrowsingName[] = "VR browsing";
2753const char kVrBrowsingDescription[] =
2754 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282755
Yash Malik50bcfc12017-11-18 00:47:592756const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2757const char kVrBrowserKeyboardDescription[] =
2758 "Enable a virtual keyboard for Chrome VR.";
2759
David Dorwin5a496c32017-11-17 01:45:052760const char kVrBrowsingExperimentalFeaturesName[] =
2761 "VR browsing experimental features";
2762const char kVrBrowsingExperimentalFeaturesDescription[] =
2763 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282764
David Dorwin5a496c32017-11-17 01:45:052765const char kVrBrowsingExperimentalRenderingName[] =
2766 "VR browsing experimental rendering features";
2767const char kVrBrowsingExperimentalRenderingDescription[] =
2768 "Experimental rendering features for VR browsing (e.g. power-saving "
2769 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102770
David Dorwin5a496c32017-11-17 01:45:052771const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2772const char kVrBrowsingInCustomTabDescription[] =
2773 "Allow browsing within a VR headset while in a Custom Tab.";
2774
2775const char kVrLaunchIntentsName[] = "VR intents";
2776const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262777 "Allow intents to launch Chrome in VR mode.";
2778
David Dorwin5a496c32017-11-17 01:45:052779const char kWebVrAutopresentFromIntentName[] =
2780 "WebVR auto presentation from intents";
2781const char kWebVrAutopresentFromIntentDescription[] =
2782 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282783
2784#endif // OS_ANDROID
2785
Bill Orr49527562017-11-22 16:58:482786#if BUILDFLAG(ENABLE_OPENVR)
2787const char kOpenVRName[] = "OpenVR hardware support";
2788const char kOpenVRDescription[] =
2789 "If enabled, Chrome will use OpenVR devices for VR.";
2790#endif // ENABLE_OPENVR
2791
Brett Wilson7b44537e2017-08-18 01:38:282792#endif // ENABLE_VR
2793
Nico Weberaf3b00b2017-09-11 17:58:172794#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282795
2796const char kNaclDebugMaskName[] =
2797 "Restrict Native Client GDB-based debugging by pattern";
2798const char kNaclDebugMaskDescription[] =
2799 "Restricts Native Client application GDB-based debugging by URL of "
2800 "manifest file. Native Client GDB-based debugging must be enabled for this "
2801 "option to work.";
2802const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2803const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2804 "Debug everything except secure shell and the PNaCl translator.";
2805const char kNaclDebugMaskChoiceIncludeDebug[] =
2806 "Debug only if manifest URL ends with debug.nmf.";
2807
2808const char kNaclDebugName[] = "Native Client GDB-based debugging";
2809const char kNaclDebugDescription[] =
2810 "Enable GDB debug stub. This will stop a Native Client application on "
2811 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2812
2813const char kNaclName[] = "Native Client";
2814const char kNaclDescription[] =
2815 "Support Native Client for all web applications, even those that were not "
2816 "installed from the Chrome Web Store.";
2817
2818const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2819const char kPnaclSubzeroDescription[] =
2820 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2821
Nico Weberaf3b00b2017-09-11 17:58:172822#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282823
Brett Wilson7b44537e2017-08-18 01:38:282824#if BUILDFLAG(ENABLE_WEBRTC)
2825
2826const char kWebrtcH264WithOpenh264FfmpegName[] =
2827 "WebRTC H.264 software video encoder/decoder";
2828const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2829 "When enabled, an H.264 software video encoder/decoder pair is included. "
2830 "If a hardware encoder/decoder is also available it may be used instead of "
2831 "this encoder/decoder.";
2832
2833#endif // BUILDFLAG(ENABLE_WEBRTC)
2834
James Cookf9d34d22017-10-04 16:39:352835#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282836
Wenzhao Zang50fb0b22017-11-07 01:38:422837const char kAshDisableLoginDimAndBlurName[] =
2838 "Disable dimming and blur on login screen.";
2839const char kAshDisableLoginDimAndBlurDescription[] =
2840 "Disable dimming and blur on login screen.";
2841
Brett Wilson7b44537e2017-08-18 01:38:282842const char kAshDisableSmoothScreenRotationName[] =
2843 "Disable smooth rotation animations.";
2844const char kAshDisableSmoothScreenRotationDescription[] =
2845 "Disable smooth rotation animations.";
2846
Qiang Xub7e921072017-12-07 21:02:112847const char kAshEnableDisplayMoveWindowAccelsName[] =
2848 "Enable shortcuts for moving window between displays.";
2849const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2850 "Enable shortcuts for moving window between displays.";
2851
wutaoc70d7b92017-11-01 08:06:012852const char kAshEnableKeyboardShortcutViewerName[] =
2853 "Enable keyboard shortcut viewer.";
2854const char kAshEnableKeyboardShortcutViewerDescription[] =
2855 "Enable keyboard shortcut viewer.";
2856
Brett Wilson7b44537e2017-08-18 01:38:282857const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2858const char kAshEnableMirroredScreenDescription[] =
2859 "Enable the mirrored screen mode. This mode flips the screen image "
2860 "horizontally.";
2861
2862const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2863const char kAshShelfColorDescription[] =
2864 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2865 "--ash-shelf-color-scheme flag defines how that color is derived.";
2866
2867const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2868const char kAshShelfColorSchemeDescription[] =
2869 "Specify how the color is derived from the wallpaper. This flag is only "
2870 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2871const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2872const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2873const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2874const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2875const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2876const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2877
Mike Wassermana38a8a62017-10-02 03:04:272878const char kAshDisableShelfModelSynchronization[] =
2879 "Disable shelf model synchronization";
2880const char kAshDisableShelfModelSynchronizationDescription[] =
2881 "Use a single in-process shelf data model shared between Chrome and Ash. "
2882 "This only applies to the Classic Ash and Mus configs; synchronization "
2883 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372884
Brett Wilson7b44537e2017-08-18 01:38:282885const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372886 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282887const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2888 "Sets the speed of the experimental visual feedback animations for "
2889 "material design.";
2890const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2891const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2892
2893const char kUiShowCompositedLayerBordersName[] =
2894 "Show UI composited layer borders";
2895const char kUiShowCompositedLayerBordersDescription[] =
2896 "Show border around composited layers created by UI.";
2897const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2898const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2899const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2900const char kUiShowCompositedLayerBordersAll[] = "All";
2901
2902const char kUiSlowAnimationsName[] = "Slow UI animations";
2903const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2904
James Cookf9d34d22017-10-04 16:39:352905#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282906
Brett Wilson735e1452017-11-13 21:04:092907#if defined(TOOLKIT_VIEWS)
2908
2909const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2910const char kExperimentalTabControllerDescription[] =
2911 "Enable controller for highly experimental tab policies.";
2912
2913#endif // defined(TOOLKIT_VIEWS)
2914
Brett Wilson7b44537e2017-08-18 01:38:282915#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2916
2917const char kAutofillCreditCardUploadName[] =
2918 "Enable offering upload of Autofilled credit cards";
2919const char kAutofillCreditCardUploadDescription[] =
2920 "Enables a new option to upload credit cards to Google Payments for sync "
2921 "to all Chrome devices.";
2922
2923#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2924
2925// ============================================================================
2926// Don't just add flags to the end, put them in the right section in
2927// alphabetical order just like the header file.
2928// ============================================================================
2929
vabr0215a8e2017-03-28 12:47:342930} // namespace flag_descriptions