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