blob: 3668224dc2bda50d402c2e13dc80f202fb5a2c77 [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
Jason Guo71f621e2017-10-13 04:18:53302const char kEnableAutofillSendBillingCustomerNumberName[] =
303 "Enable autofill sending billing customer number when calling Google "
304 "Payments";
305const char kEnableAutofillSendBillingCustomerNumberDescription[] =
306 "If enabled, autofill sends billing customer number when calling Google "
307 "Payments.";
308
Mathieu Perreault069024e12017-10-24 01:14:08309const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
310 "Enable toolkit-views credit card dialogs on Mac";
311const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
312 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
313
Vitalii Iarko4f9834ce2017-08-04 07:05:19314const char kEnableBreakingNewsPushName[] = "Breaking News Push";
315const char kEnableBreakingNewsPushDescription[] =
316 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
317 "through Google Cloud Messaging.";
318
Brett Wilsonf27ff602017-07-07 22:28:47319const char kEnableBrotliName[] = "Brotli Content-Encoding.";
320const char kEnableBrotliDescription[] =
321 "Enable Brotli Content-Encoding support.";
322
sclittle50e4bb92017-07-08 02:23:03323const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
324
325const char kEnableClientLoFiDescription[] =
326 "Enable showing low fidelity images on some pages on slow networks.";
327
Doug Arnett08b4067b2017-10-12 20:14:44328const char kEnableNoScriptPreviewsName[] = "NoScript previews";
329
330const char kEnableNoScriptPreviewsDescription[] =
331 "Enable disabling JavaScript on some pages on slow networks.";
332
Brett Wilsonf27ff602017-07-07 22:28:47333const char kEnableDataReductionProxyLitePageName[] =
334 "Lite pages for Data Saver Lo-Fi mode";
335const char kEnableDataReductionProxyLitePageDescription[] =
336 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
337 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
338 "Lo-Fi must be enabled for lite pages to be shown.";
339
Thanh Le2c279fbc2017-11-21 01:25:40340const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
341const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
342const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
343const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
344const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
345const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
346const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
347const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
348const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
349const char kDataReductionProxyServerAlternative10[] =
350 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47351const char kEnableDataReductionProxyServerExperimentName[] =
352 "Use an alternative Data Saver back end configuration.";
353const char kEnableDataReductionProxyServerExperimentDescription[] =
354 "Enable a different approach to saving data by configuring the back end "
355 "server";
356
357const char kEnableDataReductionProxySavingsPromoName[] =
358 "Data Saver 1 MB Savings Promo";
359const char kEnableDataReductionProxySavingsPromoDescription[] =
360 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
361 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
362 "enabled for the promo to be shown.";
363
Matt Giucad4870432017-11-24 01:04:38364const char kEnableDesktopPWAsName[] = "Desktop PWAs";
365const char kEnableDesktopPWAsDescription[] =
366 "Experimental windowing and install banner treatment for Progressive Web "
367 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17368
Brett Wilsonf27ff602017-07-07 22:28:47369const char kEnableEnumeratingAudioDevicesName[] =
370 "Experimentally enable enumerating audio devices.";
371const char kEnableEnumeratingAudioDevicesDescription[] =
372 "Experimentally enable the use of enumerating audio devices.";
373
374const char kEnableGenericSensorName[] = "Generic Sensor";
375const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25376 "Enables motion sensor classes based on Generic Sensor API, i.e. "
377 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
378 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
379
380const char kEnableGenericSensorExtraClassesName[] =
381 "Generic Sensor Extra Classes";
382const char kEnableGenericSensorExtraClassesDescription[] =
383 "Enables an extra set of sensor classes based on Generic Sensor API, which "
384 "expose previously unavailable platform features, i.e. AmbientLightSensor "
385 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47386
Brett Wilsonf27ff602017-07-07 22:28:47387const char kEnableHDRName[] = "HDR mode";
388const char kEnableHDRDescription[] =
389 "Enables HDR support on compatible displays.";
390
391const char kEnableHeapProfilingName[] = "Heap profiling";
392const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
393const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
394const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
395const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
396
397const char kEnableHttpFormWarningName[] =
398 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15399 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47400const char kEnableHttpFormWarningDescription[] =
401 "Attaches a warning UI to any password or credit card fields detected when "
402 "the top-level page is not HTTPS";
403
Sidney San Martín9375b892017-09-09 00:29:54404const char kEnableMacMaterialDesignDownloadShelfName[] =
405 "Enable Material Design download shelf";
406
407const char kEnableMacMaterialDesignDownloadShelfDescription[] =
408 "If enabled, the download shelf uses Material Design.";
409
Tatiana Gornakafb40452017-07-31 13:50:04410const char kEnableManualFallbacksFillingName[] =
411 "Manual fallbacks for password manager forms filling";
412const char kEnableManualFallbacksFillingDescription[] =
413 "If enabled, then if user clicks on the password field on a form, popup "
414 "might contain generation fallbacks or 'Show all saved passwords' "
415 "fallback.";
416
vabr0215a8e2017-03-28 12:47:34417const char kEnableMaterialDesignBookmarksName[] =
418 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34419const char kEnableMaterialDesignBookmarksDescription[] =
420 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
421 "bookmarks page.";
422
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignExtensionsName[] =
424 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34425const char kEnableMaterialDesignExtensionsDescription[] =
426 "If enabled, the chrome://extensions/ URL loads the Material Design "
427 "extensions page.";
428
Anton Urusov47cd4932017-09-19 14:41:41429const char kEnablePolicyToolName[] = "Enable policy management page";
430const char kEnablePolicyToolDescription[] =
431 "If enabled, the chrome://policy-tool URL loads a page for managing "
432 "policies.";
433
Tsuyoshi Horoea7edb72017-11-12 04:14:00434const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
435const char kEnablePWAFullCodeCacheDescription[] =
436 "Generate V8 code cache in Cache Storage while installing Service Worker "
437 "for PWAs.";
438
Weidong Guo7dfd1482017-11-08 05:56:28439const char kEnableMultiMirroringName[] =
440 "Display mirroring across multiple displays.";
441const char kEnableMultiMirroringDescription[] =
442 "Enable Display mirroring across multiple displays.";
443
Brett Wilsonf27ff602017-07-07 22:28:47444const char kEnableNavigationTracingName[] = "Enable navigation tracing";
445const char kEnableNavigationTracingDescription[] =
446 "This is to be used in conjunction with the trace-upload-url flag. "
447 "WARNING: When enabled, Chrome will record performance data for every "
448 "navigation and upload it to the URL specified by the trace-upload-url "
449 "flag. The trace may include personally identifiable information (PII) "
450 "such as the titles and URLs of websites you visit.";
451
Bernhard Bauer5533f9912017-11-06 17:56:02452const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
453const char kEnableNetworkLoggingToFileDescription[] =
454 "Enables network logging to a file named netlog.json in the user data "
455 "directory. The file can be imported into chrome://net-internals.";
456
Brett Wilsonf27ff602017-07-07 22:28:47457const char kEnableNetworkServiceName[] = "Enable network service";
458const char kEnableNetworkServiceDescription[] =
459 "Enables the network service, which makes network requests through a "
460 "separate service. Note: most features don't work with this yet.";
461
John Abd-El-Malek8067cc02017-12-04 23:23:20462const char kEnableNetworkServiceInProcessName[] =
463 "Runs network service in-process";
464const char kEnableNetworkServiceInProcessDescription[] =
465 "Runs the network service in the browser process.";
466
dpapaded8349472017-10-25 03:21:27467const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
468const char kEnableNewPrintPreviewDescription[] =
469 "If enabled, Print Preview will display a newer UI";
470
Ahmed Fakhry2fd8fc82017-07-28 16:31:12471const char kEnableNightLightName[] = "Enable Night Light";
472const char kEnableNightLightDescription[] =
473 "Enable the Night Light feature which controls the color temperature of "
474 "the screen.";
475
Sophie Chang117a3b22017-10-24 22:25:36476const char kEnableOptimizationHintsName[] = "Optimization Hints";
477const char kEnableOptimizationHintsDescription[] =
478 "Enable the Optimization Hints feature which incorporates server hints"
479 "into decisions for what optimizations to perform on some pages on slow "
480 "networks.";
481
Yutaka Hirano98be3272017-08-07 17:55:39482const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
483const char kEnableOutOfBlinkCORSDescription[] =
484 "CORS handling logic is moved out of blink.";
485
Erik Chen49bbfa22017-08-18 08:49:56486const char kEnableOutOfProcessHeapProfilingName[] =
487 "Out of process heap profiling.";
488const char kEnableOutOfProcessHeapProfilingDescription[] =
489 "Creates a profiling service that records stacktraces for all live, "
490 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36491const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
492 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56493const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
Albert J. Wongbd5bd902017-11-09 19:56:15494const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
495 "Profile only the browser processes.";
496const char kEnableOutOfProcessHeapProfilingModeGpu[] =
497 "Profile only the GPU processes.";
498const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
499 "Profile a random sampling of renderer processes, ensuring only one is "
500 "ever profiled at a time.";
Erik Chen8bb76b52017-12-06 19:06:25501const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
502 "Keep track of even the small allocations in memlog heap dumps.";
503const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
504 "By default, small allocations are pruned from the heap dump. This reduces "
505 "the size of the compressed trace by 100x. If pruning is disabled, the "
506 "chrome://tracing UI may be unable to take or load the trace. Save the "
507 "trace directly using chrome://memory-internals, and use other mechanisms "
508 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
509 "automatically uploaded traces will always be pruned. This only affects "
510 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56511
Brett Wilsonf27ff602017-07-07 22:28:47512const char kEnablePictureInPictureName[] = "Enable picture in picture.";
513const char kEnablePictureInPictureDescription[] =
514 "Enable the picture in picture feature for videos.";
515
F#m59d036e2017-09-13 07:22:17516const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
517const char kEnablePixelCanvasRecordingDescription[] =
518 "Pixel canvas recording allows the compositor to raster contents aligned "
519 "with the pixel and improves text rendering. This should be enabled when a "
520 "device is using fractional scale factor.";
521
Brett Wilsonf27ff602017-07-07 22:28:47522const char kEnableTokenBindingName[] = "Token Binding.";
523const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
524
Sahel Sharifyd732ab12017-11-29 23:03:16525extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
526 "Wheel Scroll Latching.";
527extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
528 "Wheel scroll latching enforces latching to a single element for the "
529 "duration of a scroll sequence.";
530
Irmak Kavasoglu7e16af02017-07-19 09:52:47531const char kEnableUsernameCorrectionName[] = "Enable username correction";
532const char kEnableUsernameCorrectionDescription[] =
533 "While on the pending password state, add an edit button to the bubble so "
534 "that user can edit the username.";
535
Brett Wilsonf27ff602017-07-07 22:28:47536const char kEnableUseZoomForDsfName[] =
537 "Use Blink's zoom for device scale factor.";
538const char kEnableUseZoomForDsfDescription[] =
539 "If enabled, Blink uses its zooming mechanism to scale content for device "
540 "scale factor.";
541const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
542const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
543const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
544
545const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
546const char kEnableScrollAnchoringDescription[] =
547 "Adjusts scroll position to prevent visible jumps when offscreen content "
548 "changes.";
549
Brett Wilsonf27ff602017-07-07 22:28:47550const char kEnableWasmName[] = "WebAssembly structured cloning support.";
551const char kEnableWasmDescription[] =
552 "Enable web pages to use WebAssembly structured cloning.";
553
Brett Wilsonf27ff602017-07-07 22:28:47554const char kEnableImageCaptureAPIName[] = "Image Capture API";
555const char kEnableImageCaptureAPIDescription[] =
556 "Enables the Web Platform Image Capture API: takePhoto(), "
557 "getPhotoCapabilities(), etc.";
558
559const char kEnableZeroSuggestRedirectToChromeName[] =
560 "Experimental contextual omnibox suggestion";
561const char kEnableZeroSuggestRedirectToChromeDescription[] =
562 "Change omnibox contextual suggestions to an experimental source. Note "
563 "that this is not an on/off switch for contextual omnibox and it only "
564 "applies to suggestions provided before the user starts typing a URL or a "
565 "search query (i.e. zero suggest).";
566
567const char kEnableWasmStreamingName[] =
568 "WebAssembly streaming compile/instantiate support.";
569const char kEnableWasmStreamingDescription[] =
570 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
571
Brett Wilsonf27ff602017-07-07 22:28:47572const char kExpensiveBackgroundTimerThrottlingName[] =
573 "Throttle expensive background timers";
574const char kExpensiveBackgroundTimerThrottlingDescription[] =
575 "Enables intervention to limit CPU usage of background timers to 1%.";
576
577const char kExperimentalAppBannersName[] = "Experimental app banners";
578const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38579 "Enables a new experimental app banner flow and UI. Implies "
580 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47581
582const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
583const char kExperimentalCanvasFeaturesDescription[] =
584 "Enables the use of experimental canvas features which are still in "
585 "development.";
586
587const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
588const char kExperimentalExtensionApisDescription[] =
589 "Enables experimental extension APIs. Note that the extension gallery "
590 "doesn't allow you to upload extensions that use experimental APIs.";
591
592const char kExperimentalFullscreenExitUIName[] =
593 "Experimental fullscreen exit UI";
594const char kExperimentalFullscreenExitUIDescription[] =
595 "Displays experimental UI to allow mouse and touch input methods to exit "
596 "fullscreen mode.";
597
Brett Wilsonf27ff602017-07-07 22:28:47598const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
599const char kExperimentalKeyboardLockUiDescription[] =
600 "An experimental full screen with keyboard lock mode requiring users to "
601 "hold Esc to exit.";
602
603const char kExperimentalSecurityFeaturesName[] =
604 "Potentially annoying security features";
605const char kExperimentalSecurityFeaturesDescription[] =
606 "Enables several security features that will likely break one or more "
607 "pages that you visit on a daily basis. Strict mixed content checking, for "
608 "example. And locking powerful features to secure contexts. This flag will "
609 "probably annoy you.";
610
611const char kExperimentalWebPlatformFeaturesName[] =
612 "Experimental Web Platform features";
613const char kExperimentalWebPlatformFeaturesDescription[] =
614 "Enables experimental Web Platform features that are in development.";
615
616const char kExtensionContentVerificationName[] =
617 "Extension Content Verification";
618const char kExtensionContentVerificationDescription[] =
619 "This flag can be used to turn on verification that the contents of the "
620 "files on disk for extensions from the webstore match what they're "
621 "expected to be. This can be used to turn on this feature if it would not "
622 "otherwise have been turned on, but cannot be used to turn it off (because "
623 "this setting can be tampered with by malware).";
624const char kExtensionContentVerificationBootstrap[] =
625 "Bootstrap (get expected hashes, but do not enforce them)";
626const char kExtensionContentVerificationEnforce[] =
627 "Enforce (try to get hashes, and enforce them if successful)";
628const char kExtensionContentVerificationEnforceStrict[] =
629 "Enforce strict (hard fail if we can't get hashes)";
630
631const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
632const char kExtensionsOnChromeUrlsDescription[] =
633 "Enables running extensions on chrome:// URLs, where extensions explicitly "
634 "request this permission.";
galinapae72e152017-05-12 13:12:28635
Brett Wilsonecb80982017-07-12 20:34:51636const char kFastUnloadName[] = "Fast tab/window close";
637const char kFastUnloadDescription[] =
638 "Enables fast tab/window closing - runs a tab's onunload js handler "
639 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34640
Brett Wilsonecb80982017-07-12 20:34:51641const char kFeaturePolicyName[] = "Feature Policy";
642const char kFeaturePolicyDescription[] =
643 "Enables granting and removing access to features through the "
644 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34645
Brett Wilsonecb80982017-07-12 20:34:51646const char kFetchKeepaliveTimeoutSettingName[] =
647 "Fetch API keepalive timeout setting";
648const char kFetchKeepaliveTimeoutSettingDescription[] =
649 "This is for setting the timeout value for Fetch API with keepalive option "
650 "and SendBeacon";
651
652const char kFontCacheScalingName[] = "FontCache scaling";
653const char kFontCacheScalingDescription[] =
654 "Reuse a cached font in the renderer to serve different sizes of font for "
655 "faster layout.";
656
657const char kForceEffectiveConnectionTypeName[] =
658 "Override effective connection type";
659const char kForceEffectiveConnectionTypeDescription[] =
660 "Overrides the effective connection type of the current connection "
661 "returned by the network quality estimator.";
662const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
663const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
664const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
665const char kEffectiveConnectionType2GDescription[] = "2G";
666const char kEffectiveConnectionType3GDescription[] = "3G";
667const char kEffectiveConnectionType4GDescription[] = "4G";
668
669const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
670const char kFillOnAccountSelectDescription[] =
671 "Filling of passwords when an account is explicitly selected by the user "
672 "rather than autofilling credentials on page load.";
673
Brett Wilsonecb80982017-07-12 20:34:51674const char kForceTextDirectionName[] = "Force text direction";
675const char kForceTextDirectionDescription[] =
676 "Explicitly force the per-character directionality of UI text to "
677 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
678 "direction of the character language.";
679const char kForceDirectionLtr[] = "Left-to-right";
680const char kForceDirectionRtl[] = "Right-to-left";
681
682const char kForceUiDirectionName[] = "Force UI direction";
683const char kForceUiDirectionDescription[] =
684 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
685 "mode, overriding the default direction of the UI language.";
686
687const char kFramebustingName[] =
688 "Framebusting requires same-origin or a user gesture";
689const char kFramebustingDescription[] =
690 "Don't permit an iframe to navigate the top level browsing context unless "
691 "they are same-origin or the iframe is processing a user gesture.";
692
693const char kGamepadExtensionsName[] = "Gamepad Extensions";
694const char kGamepadExtensionsDescription[] =
695 "Enabling this option allows web applications to access experimental "
696 "extensions to the Gamepad APIs.";
697
sohan3f00ffc2017-07-14 22:28:08698const char kGlCompositedOverlayCandidateQuadBordersName[] =
699 "GL composited overlay candidate quad borders";
700const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39701 "Renders a border around GL composited overlay candidate quads to help "
702 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51703
704const char kGpuRasterizationMsaaSampleCountName[] =
705 "GPU rasterization MSAA sample count.";
706const char kGpuRasterizationMsaaSampleCountDescription[] =
707 "Specify the number of MSAA samples for GPU rasterization.";
708const char kGpuRasterizationMsaaSampleCountZero[] = "0";
709const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
710const char kGpuRasterizationMsaaSampleCountFour[] = "4";
711const char kGpuRasterizationMsaaSampleCountEight[] = "8";
712const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
713
714const char kGpuRasterizationName[] = "GPU rasterization";
715const char kGpuRasterizationDescription[] =
716 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28717const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51718
719const char kGoogleProfileInfoName[] = "Google profile name and icon";
720const char kGoogleProfileInfoDescription[] =
721 "Enables using Google information to populate the profile name and icon in "
722 "the avatar menu.";
723
724const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
725const char kHarfbuzzRendertextDescription[] =
726 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
727 "web content.";
728
729const char kHistoryRequiresUserGestureName[] =
730 "New history entries require a user gesture.";
731const char kHistoryRequiresUserGestureDescription[] =
732 "Require a user gesture to add a history entry.";
733const char kHyperlinkAuditingName[] = "Hyperlink auditing";
734const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
735
736const char kHostedAppQuitNotificationName[] =
737 "Quit notification for hosted apps";
738const char kHostedAppQuitNotificationDescription[] =
739 "Display a notification when quitting Chrome if hosted apps are currently "
740 "running.";
741
742const char kHostedAppShimCreationName[] =
743 "Creation of app shims for hosted apps on Mac";
744const char kHostedAppShimCreationDescription[] =
745 "Create app shims on Mac when creating a hosted app.";
746
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48747const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
748const char kHtmlBasedUsernameDetectorDescription[] =
749 "Use HTML-based username detector for the password manager.";
750
Brett Wilsonecb80982017-07-12 20:34:51751const char kIconNtpName[] = "Large icons on the New Tab page";
752const char kIconNtpDescription[] =
753 "Enable the experimental New Tab page using large icons.";
754
755const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
756const char kIgnoreGpuBlacklistDescription[] =
757 "Overrides the built-in software rendering list and enables "
758 "GPU-acceleration on unsupported system configurations.";
759
760const char kImportantSitesInCbdName[] =
761 "Important sites options in clear browsing data dialog";
762const char kImportantSitesInCbdDescription[] =
763 "Include the option to whitelist important sites in the clear browsing "
764 "data dialog.";
765
Brett Wilsonecb80982017-07-12 20:34:51766const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
767const char kInProductHelpDemoModeChoiceDescription[] =
768 "Selects the In-Product Help demo mode.";
769
770const char kJavascriptHarmonyName[] = "Experimental JavaScript";
771const char kJavascriptHarmonyDescription[] =
772 "Enable web pages to use experimental JavaScript features.";
773
774const char kJavascriptHarmonyShippingName[] =
775 "Latest stable JavaScript features";
776const char kJavascriptHarmonyShippingDescription[] =
777 "Some web pages use legacy or non-standard JavaScript extensions that may "
778 "conflict with the latest JavaScript features. This flag allows disabling "
779 "support of those features for compatibility with such pages.";
780
Yutaka Hiranof7f2f632017-09-06 10:40:08781const char kKeepAliveRendererForKeepaliveRequestsName[] =
782 "Keep a renderer alive for keepalive fetch requests";
783const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
784 "Keep a render process alive when the process has a pending fetch request "
785 "with `keepalive' specified.";
786
Brett Wilsonecb80982017-07-12 20:34:51787const char kLcdTextName[] = "LCD text antialiasing";
788const char kLcdTextDescription[] =
789 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
790 "(subpixel) when doing accelerated compositing.";
791
Matt Giucac399982f2017-10-06 07:51:29792const char kLeftToRightUrlsName[] =
793 "Render bidirectional URLs from left to right";
794const char kLeftToRightUrlsDescription[] =
795 "An experimental Bidi URL rendering algorithm where the URL components are "
796 "always shown in order from left to right, regardless of any RTL "
797 "characters. (The contents of each component are still rendered with the "
798 "normal Bidi algorithm.)";
799
Brett Wilsonecb80982017-07-12 20:34:51800const char kLoadMediaRouterComponentExtensionName[] =
801 "Load Media Router Component Extension";
802const char kLoadMediaRouterComponentExtensionDescription[] =
803 "Loads the Media Router component extension at startup.";
804
805const char kManualPasswordGenerationName[] = "Manual password generation.";
806const char kManualPasswordGenerationDescription[] =
807 "Show a 'Generate Password' option on the context menu for all password "
808 "fields.";
809
Dominic Battref27e8762017-08-23 11:16:25810const char kManualPasswordSavingName[] = "Manual password saving.";
811const char kManualPasswordSavingDescription[] =
812 "Show the password manager icon when typing into a password filed. "
813 "Clicking it allows to save the password without submitting the form.";
814
Brett Wilsonecb80982017-07-12 20:34:51815const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
816const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
817const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51818
Lei Zhang2eca9082017-10-17 20:42:50819const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
820const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51821 "If enabled, the Incognito New Tab page uses the new material design with "
822 "a better readable text.";
823
824const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
825const char kMediaRemotingDescription[] =
826 "When Casting a tab to a remote device, enabling this turns on an "
827 "optimization that forwards the content bitstream directly to the remote "
828 "device when a video is fullscreened.";
829
830const char kMemoryAblationName[] = "Memory ablation experiment";
831const char kMemoryAblationDescription[] =
832 "Allocates extra memory in the browser process.";
833
834const char kMemoryCoordinatorName[] = "Memory coordinator";
835const char kMemoryCoordinatorDescription[] =
836 "Enable memory coordinator instead of memory pressure listeners.";
837
838const char kMessageCenterNewStyleNotificationName[] = "New style notification";
839const char kMessageCenterNewStyleNotificationDescription[] =
840 "Enables the experiment style of material-design notification";
841
Brett Wilsonecb80982017-07-12 20:34:51842const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
843const char kMhtmlGeneratorOptionDescription[] =
844 "Provides experimental options for MHTML file generator.";
845const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
846const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
847
848const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
849const char kMojoLoadingDescription[] =
850 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
851
Miguel Casas-Sanchez10769c82017-07-27 23:52:04852const char kMojoVideoEncodeAcceleratorName[] =
853 "Hardware-accelerated video encoder accessed using Mojo IPC";
854const char kMojoVideoEncodeAcceleratorDescription[] =
855 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
856 "available.";
857
Kouhei Ueno08445c22017-09-05 03:58:30858const char kModuleScriptsDynamicImportName[] =
859 "Enable ECMAScript 6 modules dynamic import";
860const char kModuleScriptsDynamicImportDescription[] =
861 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
862 "Blink.";
863
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05864const char kModuleScriptsImportMetaUrlName[] =
865 "Enable ECMAScript 6 modules import.meta.url";
866const char kModuleScriptsImportMetaUrlDescription[] =
867 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
868 "Blink.";
869
Brett Wilsonecb80982017-07-12 20:34:51870const char kNewAudioRenderingMixingStrategyName[] =
871 "New audio rendering mixing strategy";
872const char kNewAudioRenderingMixingStrategyDescription[] =
873 "Use the new audio rendering mixing strategy.";
874
875const char kNewBookmarkAppsName[] = "The new bookmark app system";
876const char kNewBookmarkAppsDescription[] =
877 "Enables the new system for creating bookmark apps.";
878
Brett Wilsonecb80982017-07-12 20:34:51879const char kNewRemotePlaybackPipelineName[] =
880 "Enable the new remote playback pipeline.";
881const char kNewRemotePlaybackPipelineDescription[] =
882 "Enable the new pipeline for playing media element remotely via "
883 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50884const char kUseSurfaceLayerForVideoName[] =
885 "Enable the use of SurfaceLayer objects for videos.";
886const char kUseSurfaceLayerForVideoDescription[] =
887 "Enable compositing onto a Surface instead of a VideoLayer "
888 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51889
890const char kNewUsbBackendName[] = "Enable new USB backend";
891const char kNewUsbBackendDescription[] =
892 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34893
brettw5f9c1642017-05-14 17:12:48894const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34895const char kNostatePrefetchDescription[] =
896 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
897 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
898 R"*(improve load times even more. "Simple Load" does nothing and is )*"
899 R"*(similar to disabling the feature, but collects more metrics for )*"
900 R"*(comparison purposes.)*";
901
Brett Wilsonecb80982017-07-12 20:34:51902const char kNotificationsNativeFlagName[] = "Enable native notifications.";
903const char kNotificationsNativeFlagDescription[] =
904 "Enable support for using the native notification toasts and notification "
905 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34906
Zentaro Kavanaghbad511c2017-10-18 22:29:00907#if defined(OS_POSIX)
908const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
909const char kNtlmV2EnabledDescription[] =
910 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
911#endif
912
Brett Wilsonecb80982017-07-12 20:34:51913const char kNumRasterThreadsName[] = "Number of raster threads";
914const char kNumRasterThreadsDescription[] =
915 "Specify the number of raster threads.";
916const char kNumRasterThreadsOne[] = "1";
917const char kNumRasterThreadsTwo[] = "2";
918const char kNumRasterThreadsThree[] = "3";
919const char kNumRasterThreadsFour[] = "4";
920
921const char kOfferStoreUnmaskedWalletCardsName[] =
922 "Google Payments card saving checkbox";
923const char kOfferStoreUnmaskedWalletCardsDescription[] =
924 "Show the checkbox to offer local saving of a credit card downloaded from "
925 "the server.";
926
927const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
928const char kOfflineAutoReloadDescription[] =
929 "Pages that fail to load while the browser is offline will be "
930 "auto-reloaded when the browser is online again.";
931
932const char kOfflineAutoReloadVisibleOnlyName[] =
933 "Only Auto-Reload Visible Tabs";
934const char kOfflineAutoReloadVisibleOnlyDescription[] =
935 "Pages that fail to load while the browser is offline will only be "
936 "auto-reloaded if their tab is visible.";
937
938const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
939const char kOffMainThreadFetchDescription[] =
940 "If enabled, the resource fetches from worker threads will not be blocked "
941 "by the busy main thread.";
942
943const char kOmniboxDisplayTitleForCurrentUrlName[] =
944 "Include title for the current URL in the omnibox";
945const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
946 "In the event that the omnibox provides suggestions on-focus, the URL of "
947 "the current page is provided as the first suggestion without a title. "
948 "Enabling this flag causes the title to be displayed.";
949
Benoit Lizeab08362c2017-07-19 14:50:54950const char kOmniboxSpareRendererName[] =
951 "Start spare renderer on omnibox focus";
952const char kOmniboxSpareRendererDescription[] =
953 "When the omnibox is focused, start an empty spare renderer. This can "
954 "speed up the load of the navigation from the omnibox.";
955
Tommy C. Li8875a442017-08-23 00:10:59956const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
957 "Omnibox UI Elide Suggestion URL After Host";
958const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
959 "Elides the path, query, and ref of suggested URLs in the Omnibox "
960 "dropdown.";
961
Brett Wilsonecb80982017-07-12 20:34:51962const char kOmniboxUIHideSuggestionUrlSchemeName[] =
963 "Omnibox UI Hide Suggestion URL Scheme";
964const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
965 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
966
967const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
968 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
969const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
970 "Elides trivially informative subdomains from suggested URLs in the "
971 "Omnibox dropdown (e.g. www. and m.).";
972
973const char kOmniboxUIMaxAutocompleteMatchesName[] =
974 "Omnibox UI Max Autocomplete Matches";
975
976const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
977 "Changes the maximum number of autocomplete matches displayed in the "
978 "Omnibox UI.";
979
980const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
981const char kOmniboxUINarrowDropdownDescription[] =
982 "Makes the suggestions dropdown width match the omnibox width.";
983
Justin Donnelly65c9e8b2017-10-01 05:15:01984const char kOmniboxUIShowSuggestionFaviconsName[] =
985 "Omnibox UI Show Suggestion Favicons";
986const char kOmniboxUIShowSuggestionFaviconsDescription[] =
987 "Shows favicons instead of generic vector icons for URL suggestions in the "
988 "Omnibox dropdown.";
989
990const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
991const char kOmniboxUISwapTitleAndUrlDescription[] =
992 "In the omnibox dropdown, shows titles before URLs when both are "
993 "available.";
994
Brett Wilsonecb80982017-07-12 20:34:51995const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
996const char kOmniboxUIVerticalLayoutDescription[] =
997 "Displays Omnibox sugestions in 2 lines - title over origin.";
998
999const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1000const char kOmniboxUIVerticalMarginDescription[] =
1001 "Changes the vertical margin in the Omnibox UI.";
1002
1003const char kOriginTrialsName[] = "Origin Trials";
1004const char kOriginTrialsDescription[] =
1005 "Enables origin trials for controlling access to feature/API experiments.";
1006
Becca Hughes930d8cd2017-10-02 11:09:121007const char kOverflowIconsForMediaControlsName[] =
1008 "Icons on Media Controls Overflow Menu";
1009const char kOverflowIconsForMediaControlsDescription[] =
1010 "Displays icons on the overflow menu of the native media controls";
1011
Brett Wilsonecb80982017-07-12 20:34:511012const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1013const char kOverlayScrollbarsDescription[] =
1014 "Enable the experimental overlay scrollbars implementation. You must also "
1015 "enable threaded compositing to have the scrollbars animate.";
1016
chaopenge8aa016b2017-08-24 15:20:191017const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1018 "Flash Overlay Scrollbars After Any Scroll Update";
1019const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1020 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1021 " must also enable Overlay Scrollbars.";
1022
chaopeng343678022017-08-24 18:45:001023const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1024 "Flash Overlay Scrollbars When Mouse Enter";
1025const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1026 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1027 " enable Overlay Scrollbars.";
1028
Claudio Magni81326f92017-09-01 05:21:181029const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1030const char kUseNewAcceptLanguageHeaderDescription[] =
1031 "Adds the base language code after other corresponding language+region "
1032 "codes. This ensures that users receive content in their preferred "
1033 "language.";
1034
Brett Wilsonecb80982017-07-12 20:34:511035const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1036const char kOverscrollHistoryNavigationDescription[] =
1037 "Experimental history navigation in response to horizontal overscroll.";
1038const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1039
1040const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1041const char kOverscrollStartThresholdDescription[] =
1042 "Changes overscroll start threshold relative to the default value.";
1043const char kOverscrollStartThreshold133Percent[] = "133%";
1044const char kOverscrollStartThreshold166Percent[] = "166%";
1045const char kOverscrollStartThreshold200Percent[] = "200%";
1046
Xing Liu5400a002017-09-15 21:48:291047const char kParallelDownloadingName[] = "Parallel downloading";
1048const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061049 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291050
Brett Wilsonecb80982017-07-12 20:34:511051const char kPassiveEventListenerDefaultName[] =
1052 "Passive Event Listener Override";
1053const char kPassiveEventListenerDefaultDescription[] =
1054 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1055 "haven't requested otherwise) to be treated as passive. This will break "
1056 "touch/wheel behavior on some websites but is useful for demonstrating the "
1057 "potential performance benefits of adopting passive event listeners.";
1058const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1059const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1060
1061const char kPassiveEventListenersDueToFlingName[] =
1062 "Touch Event Listeners Passive Default During Fling";
1063const char kPassiveEventListenersDueToFlingDescription[] =
1064 "Forces touchstart, and first touchmove per scroll event listeners during "
1065 "fling to be treated as passive.";
1066
1067const char kPassiveDocumentEventListenersName[] =
1068 "Document Level Event Listeners Passive Default";
1069const char kPassiveDocumentEventListenersDescription[] =
1070 "Forces touchstart, and touchmove event listeners on document level "
1071 "targets (which haven't requested otherwise) to be treated as passive.";
1072
1073const char kPasswordForceSavingName[] = "Force-saving of passwords";
1074const char kPasswordForceSavingDescription[] =
1075 "Allow the user to manually enforce password saving instead of relying on "
1076 "password manager's heuristics.";
1077
1078const char kPasswordGenerationName[] = "Password generation";
1079const char kPasswordGenerationDescription[] =
1080 "Allow the user to have Chrome generate passwords when it detects account "
1081 "creation pages.";
1082
Vaclav Brozekd8a3f542017-11-16 14:21:131083const char kPasswordExportName[] = "Password export";
1084const char kPasswordExportDescription[] =
1085 "Export functionality in password settings.";
1086
1087const char kPasswordImportName[] = "Password import";
1088const char kPasswordImportDescription[] =
1089 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511090
Maxim Kolosovskiyd97b94612017-09-19 20:10:391091const char kPasswordSelectionName[] =
1092 "Password selection and eye icon in prompt";
1093const char kPasswordSelectionDescription[] =
1094 "Show a password selector and an eye icon in prompt";
1095
Brett Wilsonecb80982017-07-12 20:34:511096const char kPermissionActionReportingName[] = "Permission Action Reporting";
1097const char kPermissionActionReportingDescription[] =
1098 "Enables permission action reporting to Safe Browsing servers for opted in "
1099 "users.";
1100
1101const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1102const char kPermissionsBlacklistDescription[] =
1103 "Enables the Permissions Blacklist, which blocks permissions for "
1104 "blacklisted sites for Safe Browsing users.";
1105
1106const char kPinchScaleName[] = "Pinch scale";
1107const char kPinchScaleDescription[] =
1108 "Enables experimental support for scale using pinch.";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1111const char kPrintPdfAsImageDescription[] =
1112 "If enabled, an option to print PDF files as images will be available in "
1113 "print preview.";
1114
1115const char kPrintPreviewRegisterPromosName[] =
1116 "Print Preview Registration Promos";
1117const char kPrintPreviewRegisterPromosDescription[] =
1118 "Enable registering unregistered cloud printers from print preview.";
1119
1120const char kProtectSyncCredentialName[] = "Autofill sync credential";
1121const char kProtectSyncCredentialDescription[] =
1122 "How the password manager handles autofill for the sync credential.";
1123
1124const char kProtectSyncCredentialOnReauthName[] =
1125 "Autofill sync credential only for transactional reauth pages";
1126const char kProtectSyncCredentialOnReauthDescription[] =
1127 "How the password manager handles autofill for the sync credential only "
1128 "for transactional reauth pages.";
1129
Mohsen Izadi93faac12017-07-29 04:45:151130const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1131const char kPullToRefreshDescription[] =
1132 "Pull-to-refresh gesture in response to vertical overscroll.";
1133
Brett Wilsonecb80982017-07-12 20:34:511134const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1135const char kPushApiBackgroundModeDescription[] =
1136 "Enable background mode for the Push API. This allows Chrome to continue "
1137 "running after the last window is closed, and to launch at OS startup, if "
1138 "the Push API needs it.";
1139
Piotr Swigon46929d12017-08-11 07:16:331140const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1141const char kPwaMinimalUiDescription[] =
1142 "Enables support for Minimal-UI display mode for installed PWAs";
1143
Brett Wilsonecb80982017-07-12 20:34:511144const char kQuicName[] = "Experimental QUIC protocol";
1145const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1146
1147const char kReducedReferrerGranularityName[] =
1148 "Reduce default 'referer' header granularity.";
1149const char kReducedReferrerGranularityDescription[] =
1150 "If a page hasn't set an explicit referrer policy, setting this flag will "
1151 "reduce the amount of information in the 'referer' header for cross-origin "
1152 "requests.";
1153
Mihai Sardarescu6d0f5b72017-10-30 11:24:381154const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1155 "Remove usage of the deprecated GAIA sign-in endpoint";
1156const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1157 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1158 "This flags controls wheter it should no longer be used during a sign-in "
1159 " flow.";
1160
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351161const char kRendererSideResourceSchedulerName[] =
1162 "Renderer side ResourceScheduler";
1163const char kRendererSideResourceSchedulerDescription[] =
1164 "Migrate some ResourceScheduler functionalities to renderer";
1165
Brett Wilsonecb80982017-07-12 20:34:511166const char kRequestTabletSiteName[] =
1167 "Request tablet site option in the settings menu";
1168const char kRequestTabletSiteDescription[] =
1169 "Allows the user to request tablet site. Web content is often optimized "
1170 "for tablet devices. When this option is selected the user agent string is "
1171 "changed to indicate a tablet device. Web content optimized for tablets is "
1172 "received there after for the current tab.";
1173
1174const char kResetAppListInstallStateName[] =
1175 "Reset the App Launcher install state on every restart.";
1176const char kResetAppListInstallStateDescription[] =
1177 "Reset the App Launcher install state on every restart. While this flag is "
1178 "set, Chrome will forget the launcher has been installed each time it "
1179 "starts. This is used for testing the App Launcher install flow.";
1180
1181const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1182const char kResourceLoadSchedulerDescription[] =
1183 "Uses the resource load scheduler in blink to schedule and throttle "
1184 "resource load requests.";
1185
Brett Wilsonecb80982017-07-12 20:34:511186const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1187const char kSafeSearchUrlReportingDescription[] =
1188 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1189
1190const char kSaveasMenuLabelExperimentName[] =
1191 "Switch 'Save as' menu labels to 'Download'";
1192const char kSaveasMenuLabelExperimentDescription[] =
1193 "Enables an experiment to switch menu labels that use 'Save as...' to "
1194 "'Download'.";
1195
1196const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1197const char kSavePageAsMhtmlDescription[] =
1198 "Enables saving pages as MHTML: a single text file containing HTML and all "
1199 "sub-resources.";
1200
Nate Chapin9638e7102017-09-20 22:11:011201const char kSavePreviousDocumentResourcesName[] =
1202 "Save Previous Document Resources";
1203const char kSavePreviousDocumentResourcesDescription[] =
1204 "Saves an old document's cached resources until the specified point in the "
1205 "next document's lifecycle.";
1206const char kSavePreviousDocumentResourcesNever[] =
1207 "Don't explicitly save resources";
1208const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1209 "Save resources until onDOMContentLoaded completes";
1210const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1211 "Save resources until onload completes";
1212
Brett Wilsonecb80982017-07-12 20:34:511213const char kScrollPredictionName[] = "Scroll prediction";
1214const char kScrollPredictionDescription[] =
1215 "Predicts the finger's future position during scrolls allowing time to "
1216 "render the frame before the finger is there.";
1217
1218const char kSecondaryUiMd[] =
1219 "Material Design in the rest of the browser's native UI";
1220const char kSecondaryUiMdDescription[] =
1221 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1222 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1223 "browser dialogs.";
1224
1225const char kServiceWorkerNavigationPreloadName[] =
1226 "Service worker navigation preload.";
1227const char kServiceWorkerNavigationPreloadDescription[] =
1228 "Enable web pages to use the experimental service worker navigation "
1229 "preload API.";
1230
gogeraldd5061b592017-09-06 23:39:551231const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1232const char kServiceWorkerPaymentAppsDescription[] =
1233 "Enable Service Worker applications to integrate as payment apps";
1234
Makoto Shimazud9f333c2017-08-08 07:23:171235const char kServiceWorkerScriptStreamingName[] =
1236 "Service worker script streaming.";
1237const char kServiceWorkerScriptStreamingDescription[] =
1238 "Installed scripts for a service worker are sent over a dedicated "
1239 "message pipe and data pipes, and that is never be blocked on the main "
1240 "thread.";
1241
Tsuyoshi Horobcb1c642017-11-24 16:32:141242const char kServiceWorkerScriptFullCodeCacheName[] =
1243 "Service worker script full code cache.";
1244const char kServiceWorkerScriptFullCodeCacheDescription[] =
1245 "Generate V8 full code cache of Service Worker scripts while installing.";
1246
Brett Wilsonecb80982017-07-12 20:34:511247const char kSettingsWindowName[] = "Show settings in a window";
1248const char kSettingsWindowDescription[] =
1249 "Settings will be shown in a dedicated window instead of as a browser tab.";
1250
Trent Apted750ba7022017-10-23 13:36:251251const char kShowAllDialogsWithViewsToolkitName[] =
1252 "Show all dialogs with Views toolkit";
1253const char kShowAllDialogsWithViewsToolkitDescription[] =
1254 "All browser dialogs will be shown using the Views toolkit rather than "
1255 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1256
Brett Wilsonecb80982017-07-12 20:34:511257const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1258const char kShowAutofillSignaturesDescription[] =
1259 "Annotates web forms with Autofill signatures as HTML attributes.";
1260
1261const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1262const char kShowAutofillTypePredictionsDescription[] =
1263 "Annotates web forms with Autofill field type predictions as placeholder "
1264 "text.";
1265
1266const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1267const char kShowOverdrawFeedbackDescription[] =
1268 "Visualize overdraw by color-coding elements based on if they have other "
1269 "elements drawn underneath.";
1270
yiyixbdfa9a0b2017-10-23 22:21:471271const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1272const char kEnableDrawOcclusionDescription[] =
1273 "Enable the system to use draw occlusion to skip draw quads when they are "
1274 "not shown on the screen.";
1275
Brett Wilsonecb80982017-07-12 20:34:511276const char kShowSavedCopyName[] = "Show Saved Copy Button";
1277const char kShowSavedCopyDescription[] =
1278 "When a page fails to load, if a stale copy of the page exists in the "
1279 "browser cache, a button will be presented to allow the user to load that "
1280 "stale copy. The primary enabling choice puts the button in the most "
1281 "salient position on the error page; the secondary enabling choice puts it "
1282 "secondary to the reload button.";
1283const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1284const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1285const char kDisableShowSavedCopy[] = "Disable";
1286
Brett Wilsonecb80982017-07-12 20:34:511287const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1288const char kSilentDebuggerExtensionApiDescription[] =
1289 "Do not show the infobar when an extension attaches to a page via "
1290 "chrome.debugger API. This is required to debug extension background "
1291 "pages.";
1292
1293const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1294const char kSimpleCacheBackendDescription[] =
1295 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1296 "disk space allocation.";
1297
1298const char kSimplifiedFullscreenUiName[] =
1299 "Simplified full screen / mouse lock UI.";
1300const char kSimplifiedFullscreenUiDescription[] =
1301 "A simplified new user experience when entering page-triggered full screen "
1302 "or mouse pointer lock states.";
1303
1304const char kSingleClickAutofillName[] = "Single-click autofill";
1305const char kSingleClickAutofillDescription[] =
1306 "Make autofill suggestions on initial mouse click on a form element.";
1307
Brett Wilsonecb80982017-07-12 20:34:511308const char kSitePerProcessName[] = "Strict site isolation";
1309const char kSitePerProcessDescription[] =
1310 "Highly experimental security mode that ensures each renderer process "
1311 "contains pages from at most one site. In this mode, out-of-process "
1312 "iframes will be used whenever an iframe is cross-site.";
1313
1314const char kSiteSettings[] = "Site settings with All sites and Site details";
1315const char kSiteSettingsDescription[] =
1316 "Adds new ways of viewing Site settings.";
1317
1318const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1319const char kSlimmingPaintInvalidationDescription[] =
1320 "Whether to enable a new paint invalidation system.";
1321
1322const char kSmoothScrollingName[] = "Smooth Scrolling";
1323const char kSmoothScrollingDescription[] =
1324 "Animate smoothly when scrolling page content.";
1325
1326const char kSoftwareRasterizerName[] = "3D software rasterizer";
1327const char kSoftwareRasterizerDescription[] =
1328 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1329
Tommy Steimel77704be2017-08-28 22:14:401330const char kSoundContentSettingName[] = "Sound content setting";
1331const char kSoundContentSettingDescription[] =
1332 "Enable site-wide muting in content settings and tab strip context menu.";
1333
Alexandr Ilinf0500ed32017-09-27 21:12:361334const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1335const char kSpeculativePreconnectDescription[] =
1336 "Enable the new implementation of preconnect and DNS preresolve. "
1337 "\"Learning\" means that only database construction is enabled, "
1338 "\"Preconnect\" enables both learning and preconnect and disables the "
1339 "existing implementation. \"No preconnect\" disables both implementations.";
1340
Brett Wilsonecb80982017-07-12 20:34:511341const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341342const char kSpeculativePrefetchDescription[] =
1343 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1344 R"*(load times, based on a local database (see chrome://predictors). )*"
1345 R"*("Learning" means that only the database construction is enabled, )*"
1346 R"*("Prefetching" that learning and prefetching are enabled.)*";
1347
Justin Donnelly4e448cb2017-07-07 21:32:131348const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1349 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131350const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1351 "If enabled, when the user enters text in the omnibox that looks like a "
1352 "a query, any service worker associated with the search engine the query "
1353 "will be sent to is started early.";
1354
Brett Wilsonecb80982017-07-12 20:34:511355const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1356const char kSpellingFeedbackFieldTrialDescription[] =
1357 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401358
Brett Wilsonecb80982017-07-12 20:34:511359const char kSuggestionsWithSubStringMatchName[] =
1360 "Substring matching for Autofill suggestions";
1361const char kSuggestionsWithSubStringMatchDescription[] =
1362 "Match Autofill suggestions based on substrings (token prefixes) rather "
1363 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341364
Brett Wilsonecb80982017-07-12 20:34:511365const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1366const char kSyncSandboxDescription[] =
1367 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341368
Brett Wilsonecb80982017-07-12 20:34:511369const char kTabAudioMutingName[] = "Tab audio muting UI control";
1370const char kTabAudioMutingDescription[] =
1371 "When enabled, the audio indicators in the tab strip double as tab audio "
1372 "mute controls. This also adds commands in the tab context menu for "
1373 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341374
Christian Dullweberd0d96f02017-09-13 09:22:511375const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1376const char kTabsInCbdDescription[] =
1377 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1378
Becky Zhou99c22802017-10-19 05:09:271379const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1380const char kTabModalJsDialogDescription[] =
1381 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1382 " tab.";
1383
Brett Wilsonecb80982017-07-12 20:34:511384const char kTcpFastOpenName[] = "TCP Fast Open";
1385const char kTcpFastOpenDescription[] =
1386 "Enable the option to send extra authentication information in the initial "
1387 "SYN packet for a previously connected client, allowing faster data send "
1388 "start.";
vabr0215a8e2017-03-28 12:47:341389
Brett Wilsonecb80982017-07-12 20:34:511390const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1391const char kTopChromeMdDescription[] =
1392 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1393const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531394const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511395const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341396
Brett Wilsonecb80982017-07-12 20:34:511397const char kThreadedScrollingName[] = "Threaded scrolling";
1398const char kThreadedScrollingDescription[] =
1399 "Threaded handling of scroll-related input events. Disabling this will "
1400 "force all such scroll events to be handled on the main thread. Note that "
1401 "this can dramatically hurt scrolling performance of most websites and is "
1402 "intended for testing purposes only.";
1403
Steven Valdez4584b2482017-07-14 01:11:571404const char kTLS13VariantName[] = "TLS 1.3";
1405const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1406const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111407const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571408const char kTLS13VariantDraft[] = "Enabled (Draft)";
1409const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281410const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1411const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571412
Brett Wilsonecb80982017-07-12 20:34:511413const char kTopDocumentIsolationName[] = "Top document isolation";
1414const char kTopDocumentIsolationDescription[] =
1415 "Highly experimental performance mode where cross-site iframes are kept in "
1416 "a separate process from the top document. In this mode, iframes from "
1417 "different third-party sites will be allowed to share a process.";
1418
Dominick Ng8896b1cd2017-10-17 23:24:361419const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1420const char kTopSitesFromSiteEngagementDescription[] =
1421 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1422 "engagement.";
1423
Brett Wilsonecb80982017-07-12 20:34:511424const char kTouchAdjustmentName[] = "Touch adjustment";
1425const char kTouchAdjustmentDescription[] =
1426 "Refine the position of a touch gesture in order to compensate for touches "
1427 "having poor resolution compared to a mouse.";
1428
1429const char kTouchDragDropName[] = "Touch initiated drag and drop";
1430const char kTouchDragDropDescription[] =
1431 "Touch drag and drop can be initiated through long press on a draggable "
1432 "element.";
1433
1434const char kTouchEventsName[] = "Touch Events API";
1435const char kTouchEventsDescription[] =
1436 "Force Touch Events API feature detection to always be enabled or "
1437 "disabled, or to be enabled when a touchscreen is detected on startup "
1438 "(Automatic, the default).";
1439
1440const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1441const char kTouchSelectionStrategyDescription[] =
1442 "Controls how text selection granularity changes when touch text selection "
1443 "handles are dragged. Non-default behavior is experimental.";
1444const char kTouchSelectionStrategyCharacter[] = "Character";
1445const char kTouchSelectionStrategyDirection[] = "Direction";
1446
1447const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1448const char kTraceUploadUrlDescription[] =
1449 "This is to be used in conjunction with the enable-navigation-tracing "
1450 "flag. Please select the label that best describes the recorded traces. "
1451 "This will choose the destination the traces are uploaded to. If you are "
1452 "not sure, select other. If left empty, no traces will be uploaded.";
1453const char kTraceUploadUrlChoiceOther[] = "Other";
1454const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1455const char kTraceUploadUrlChoiceQa[] = "QA";
1456const char kTraceUploadUrlChoiceTesting[] = "Testing";
1457
1458const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1459const char kTranslate2016q2UiDescription[] =
1460 "Improved triggering logic and look for Translate Bubble UI";
1461
Philippe Hamel7fdaa452017-09-29 17:22:491462const char kTranslateRankerEnforcementName[] =
1463 "Enforce TranslateRanker decisions";
1464const char kTranslateRankerEnforcementDescription[] =
1465 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1466 "or not Translate UI should be triggered in a given context.";
1467
Brett Wilsonecb80982017-07-12 20:34:511468const char kTrySupportedChannelLayoutsName[] =
1469 "Causes audio output streams to check if channel layouts other than the "
1470 "default hardware layout are available.";
1471const char kTrySupportedChannelLayoutsDescription[] =
1472 "Causes audio output streams to check if channel layouts other than the "
1473 "default hardware layout are available. Turning this on will allow the OS "
1474 "to do stereo to surround expansion if supported. May expose third party "
1475 "driver bugs, use with caution.";
1476
1477const char kUiPartialSwapName[] = "Partial swap";
1478const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1479
Chris Pickel3a227ae62017-08-24 10:47:261480const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1481const char kUseDdljsonApiDescription[] =
1482 "Enables the new ddljson API to fetch Doodles for the NTP.";
1483
Becca Hughes59c05b42017-11-03 13:11:581484const char kUseModernMediaControlsName[] = "New Media Controls";
1485const char kUseModernMediaControlsDescription[] =
1486 "Enables the new style native media controls.";
1487
Mustaq Ahmedc646c0a2017-10-20 20:08:301488const char kUserActivationV2Name[] = "User Activation v2";
1489const char kUserActivationV2Description[] =
1490 "Enable simple user activation for APIs that are otherwise controlled by "
1491 "user gesture tokens.";
1492
Brett Wilsonecb80982017-07-12 20:34:511493const char kUserConsentForExtensionScriptsName[] =
1494 "User consent for extension scripts";
1495const char kUserConsentForExtensionScriptsDescription[] =
1496 "Require user consent for an extension running a script on the page, if "
1497 "the extension requested permission to run on all urls.";
1498
1499const char kUseSuggestionsEvenIfFewFeatureName[] =
1500 "Disable minimum for server-side tile suggestions on NTP.";
1501const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1502 "Request server-side suggestions even if there are only very few of them "
1503 "and use them for tiles on the New Tab Page.";
1504
1505const char kV8CacheOptionsName[] = "V8 caching mode.";
1506const char kV8CacheOptionsDescription[] =
1507 "Caching mode for the V8 JavaScript engine.";
1508const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1509const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1510
Hitoshi Yoshida3e5db562017-09-11 02:31:081511const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1512const char kV8ContextSnapshotDescription[] =
1513 "Sets to use a snapshot to create V8 contexts in frame creation.";
1514
Michael Hablich896d52662017-10-23 15:59:571515const char kV8VmFutureName[] = "Future V8 VM features";
1516const char kV8VmFutureDescription[] =
1517 "This enables upcoming and experimental V8 VM features. "
1518 "This flag does not enable experimental JavaScript features.";
1519
Brett Wilsonecb80982017-07-12 20:34:511520const char kVibrateRequiresUserGestureName[] =
1521 "Requiring user gesture for the Vibration API";
1522const char kVibrateRequiresUserGestureDescription[] =
1523 "Block the Vibration API if no user gesture has been received on the frame "
1524 "or any embedded frame.";
1525
1526const char kVideoFullscreenOrientationLockName[] =
1527 "Lock screen orientation when playing a video fullscreen.";
1528const char kVideoFullscreenOrientationLockDescription[] =
1529 "Lock the screen orientation of the device to match video orientation when "
1530 "a video goes fullscreen. Only on phones.";
1531
1532const char kVideoRotateToFullscreenName[] =
1533 "Rotate-to-fullscreen gesture for videos.";
1534const char kVideoRotateToFullscreenDescription[] =
1535 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1536 "the video. Only on phones.";
1537
1538const char kWalletServiceUseSandboxName[] =
1539 "Use Google Payments sandbox servers";
1540const char kWalletServiceUseSandboxDescription[] =
1541 "For developers: use the sandbox service for Google Payments API calls.";
1542
Brett Wilsonecb80982017-07-12 20:34:511543const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1544const char kWebglDraftExtensionsDescription[] =
1545 "Enabling this option allows web applications to access the WebGL "
1546 "Extensions that are still in draft status.";
1547
1548const char kWebMidiName[] = "Web MIDI API";
1549const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1550
1551const char kWebPaymentsName[] = "Web Payments";
1552const char kWebPaymentsDescription[] =
1553 "Enable Web Payments API integration, a JavaScript API for merchants.";
1554
Mathieu Perreault51339b82017-07-20 17:06:051555const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1556const char kWebPaymentsModifiersDescription[] =
1557 "If the website provides modifiers in the payment request, show the custom "
1558 "total for each payment instrument, update the shopping cart when "
1559 "instruments are switched, and send modified payment method specific data "
1560 "to the payment app.";
1561
Brett Wilsonecb80982017-07-12 20:34:511562const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1563const char kWebrtcEchoCanceller3Description[] =
1564 "Experimental WebRTC echo canceller (AEC3).";
1565
1566const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1567const char kWebrtcHwDecodingDescription[] =
1568 "Support in WebRTC for decoding video streams using platform hardware.";
1569
1570const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1571const char kWebrtcHwEncodingDescription[] =
1572 "Support in WebRTC for encoding video streams using platform hardware.";
1573
1574const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1575const char kWebrtcHwH264EncodingDescription[] =
1576 "Support in WebRTC for encoding h264 video streams using platform "
1577 "hardware.";
1578
1579const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1580const char kWebrtcHwVP8EncodingDescription[] =
1581 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1582
1583const char kWebrtcSrtpAesGcmName[] =
1584 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1585const char kWebrtcSrtpAesGcmDescription[] =
1586 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1587
Joachim Bauch4a41d7512017-08-23 14:24:231588const char kWebrtcSrtpEncryptedHeadersName[] =
1589 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1590const char kWebrtcSrtpEncryptedHeadersDescription[] =
1591 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1592 "for SRTP.";
1593
Brett Wilsonecb80982017-07-12 20:34:511594const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1595const char kWebrtcStunOriginDescription[] =
1596 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1597 "header.";
1598
1599const char kWebvrName[] = "WebVR";
1600const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051601 "Allow web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121602 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1603 "content on insecure origins to access these powerful APIs, and may pose a "
1604 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511605
David Dorwin5a496c32017-11-17 01:45:051606const char kWebVrExperimentalRenderingName[] =
1607 "WebVR experimental rendering optimizations";
1608const char kWebVrExperimentalRenderingDescription[] =
1609 "Experimental rendering path optimizations for WebVR.";
1610
Brett Wilsonecb80982017-07-12 20:34:511611const char kWifiCredentialSyncName[] = "WiFi credential sync";
1612const char kWifiCredentialSyncDescription[] =
1613 "Enables synchronizing WiFi network settings across devices. When enabled, "
1614 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1615 "credentials are synchronized subject to user preferences. (See also, "
1616 "chrome://settings/syncSetup.)";
1617
1618const char kZeroCopyName[] = "Zero-copy rasterizer";
1619const char kZeroCopyDescription[] =
1620 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341621
Brett Wilsonff596952017-07-14 01:06:551622// Android ---------------------------------------------------------------------
1623
1624#if defined(OS_ANDROID)
1625
1626const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1627const char kAiaFetchingDescription[] =
1628 "Enable intermediate certificate fetching when a server does not provide "
1629 "sufficient certificates to build a chain to a trusted root.";
1630
1631const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1632const char kAccessibilityTabSwitcherDescription[] =
1633 "Enable the accessibility tab switcher for Android.";
1634
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251635const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1636const char kAllowReaderForAccessibilityDescription[] =
1637 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1638
Brett Wilsonff596952017-07-14 01:06:551639const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1640const char kAndroidAutofillAccessibilityDescription[] =
1641 "Enable accessibility for autofill popup.";
1642
1643const char kAndroidPaymentAppsName[] = "Android payment apps";
1644const char kAndroidPaymentAppsDescription[] =
1645 "Enable third party Android apps to integrate as payment apps";
1646
Iulia Harasim0b5a4312017-07-21 16:20:501647const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1648const char kAndroidSigninPromosDescription[] =
1649 "New signin promos for Android which will be displayed in content "
1650 "suggestions, Settings, Bookmarks and Recent Tabs.";
1651
Tatiana Gornak38ab3562017-07-28 11:04:181652const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1653const char kAndroidViewPasswordsDescription[] =
1654 "Enables copying and viewing passwords in settings.";
1655
Miriam Gershenson23cfe346e2017-09-28 14:49:291656const char kAsyncDnsName[] = "Async DNS resolver";
1657const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1658
Brett Wilsonff596952017-07-14 01:06:551659const char kAutofillAccessoryViewName[] =
1660 "Autofill suggestions as keyboard accessory view";
1661const char kAutofillAccessoryViewDescription[] =
1662 "Shows Autofill suggestions on top of the keyboard rather than in a "
1663 "dropdown.";
1664
1665const char kBackgroundLoaderForDownloadsName[] =
1666 "Enables background downloading of pages.";
1667const char kBackgroundLoaderForDownloadsDescription[] =
1668 "Enables downloading pages in the background in case page is not yet "
1669 "loaded in current tab.";
1670
Theresa Wellingtonb9243b22017-12-01 16:23:051671const char kChromeHomeName[] = "Chrome Home";
1672const char kChromeHomeDescription[] =
1673 "Enables Chrome Home on Android. You must restart the browser"
1674 " twice for changes to take effect.";
1675
1676const char kChromeHomeBottomNavLabelsName[] =
1677 "Chrome Home bottom navigation menu item labels.";
1678const char kChromeHomeBottomNavLabelsDescription[] =
1679 "Enables text labels for Chrome Home bottom navigation menu items.";
1680
1681const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1682const char kChromeHomeClearUrlOnOpenDescription[] =
1683 "Clear omnibox URL when the bottom sheet is opened.";
1684
1685const char kChromeHomeInactivitySheetExpansionName[] =
1686 "Expansion of Chrome Home bottom sheet on startup";
1687const char kChromeHomeInactivitySheetExpansionDescription[] =
1688 "Expand bottom sheet on startup in Chrome Home after a period of"
1689 " inactivity.";
1690
Theresa Wellington82d6f6ef2017-10-12 02:39:131691const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1692const char kChromeHomeOptOutSnackbarDescription[] =
1693 "Show a snackbar prompting users to take a survey the first time they"
1694 " opt-out of Chrome Home";
1695
Theresa Wellingtonc4cff8a12017-11-28 04:13:181696const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1697const char kChromeHomePersistentIphDescription[] =
1698 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1699 "toolbar or a timer expires.";
1700
Theresa Wellingtondd71c5c2017-10-02 15:50:381701const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1702 "Chrome Home Personalized Omnibox Suggestions";
1703const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1704 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1705
Matthew Jones4214d2a12017-09-28 18:35:111706const char kChromeHomePromoName[] = "Chrome Home Promo";
1707const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331708 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111709
Theresa Wellington306c4cdc2017-12-07 16:43:081710const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1711const char kChromeHomeShowGoogleGDescription[] =
1712 "Show the Google G when the url is cleared. The flag to clear the url "
1713 "when the sheet is opened must also be set.";
1714
Brett Wilsonff596952017-07-14 01:06:551715const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1716const char kChromeHomeSwipeLogicDescription[] =
1717 "Various swipe logic options for Chrome Home for sheet expansion.";
1718const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151719const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551720
Megan Jablonskic61eb1b82017-10-02 18:03:061721const char kChromeMemexName[] = "Chrome Memex";
1722const char kChromeMemexDescription[] =
1723 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1724 "Googlers.";
1725
Sarath Singapati83aef1c2017-11-16 15:54:521726const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1727const char kClearOldBrowsingDataDescription[] =
1728 "Enables clearing of browsing data which is older than a given time "
1729 "period.";
1730
Brett Wilsonff596952017-07-14 01:06:551731const char kContentSuggestionsCategoryOrderName[] =
1732 "Default content suggestions category order (e.g. on NTP)";
1733const char kContentSuggestionsCategoryOrderDescription[] =
1734 "Set default order of content suggestion categories (e.g. on the NTP).";
1735
1736const char kContentSuggestionsCategoryRankerName[] =
1737 "Content suggestions category ranker (e.g. on NTP)";
1738const char kContentSuggestionsCategoryRankerDescription[] =
1739 "Set category ranker to order categories of content suggestions (e.g. on "
1740 "the NTP).";
1741
Vitalii Iarkof52ff802017-09-14 12:34:241742const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1743const char kContentSuggestionsDebugLogDescription[] =
1744 "Enable content suggestions debug log accessible through "
1745 "snippets-internals.";
1746
Donn Denman8e58ead2017-11-04 01:44:011747const char kContextualSearchMlTapSuppressionName[] =
1748 "Contextual Search ML tap suppression";
1749const char kContextualSearchMlTapSuppressionDescription[] =
1750 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1751 "learning.";
Brett Wilsonff596952017-07-14 01:06:551752
1753const char kContextualSearchName[] = "Contextual Search";
1754const char kContextualSearchDescription[] =
1755 "Whether or not Contextual Search is enabled.";
1756
Dmitry Skiba9c3efa72017-07-20 22:01:141757const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1758const char kDontPrefetchLibrariesDescription[] =
1759 "Don't prefetch libraries after loading.";
1760
Joy Ming5fd29ca62017-10-02 22:51:221761const char kDownloadsForegroundName[] = "Enable downloads foreground";
1762const char kDownloadsForegroundDescription[] =
1763 "Enable downloads as a foreground service for all versions of Android.";
1764
Brett Wilsonff596952017-07-14 01:06:551765const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1766const char kEnableAndroidPayIntegrationV1Description[] =
1767 "Enable integration with Android Pay using the first version of the API";
1768
1769const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1770const char kEnableAndroidPayIntegrationV2Description[] =
1771 "Enable integration with Android Pay using the second version of the API";
1772
Vitalii Iarkof4ed32d2017-09-26 13:15:531773const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551774const char kEnableAndroidSpellcheckerDescription[] =
1775 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551776
Vitalii Iarkof4ed32d2017-09-26 13:15:531777const char kEnableContentSuggestionsNewFaviconServerName[] =
1778 "Get favicons for content suggestions from a new server.";
1779const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1780 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1781 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551782
1783const char kEnableContentSuggestionsSettingsName[] =
1784 "Show content suggestions settings.";
1785const char kEnableContentSuggestionsSettingsDescription[] =
1786 "If enabled, the content suggestions settings will be available from the "
1787 "main settings menu.";
1788
Vitalii Iarkof4ed32d2017-09-26 13:15:531789const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1790 "Use content suggestions thumbnail dominant color.";
1791const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1792 "Use content suggestions thumbnail dominant color as a placeholder before "
1793 "the real thumbnail is fetched (requires Chrome Home).";
1794
Brett Wilsonff596952017-07-14 01:06:551795const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1796const char kEnableCopylessPasteDescription[] =
1797 "Provide suggestions for text input, based on your recent context. For "
1798 "example, if you looked at a restaurant website and switched to the Maps "
1799 "app, the keyboard would offer the name of that restaurant as a suggestion "
1800 "to enter into the search bar. The data is indexed locally, and never sent "
1801 "to the server. It's disabled in incognito mode.";
1802
1803const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1804const char kEnableCustomContextMenuDescription[] =
1805 "Enables a new context menu when a link, image, or video is pressed within "
1806 "Chrome.";
1807
1808const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1809const char kEnableCustomFeedbackUiDescription[] =
1810 "Enables a custom feedback UI when submitting feedback through Google "
1811 "Feedback. Works with Google Play Services v10.2+";
1812
1813const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471814 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551815const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471816 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551817
1818const char kEnableDataReductionProxySiteBreakdownName[] =
1819 "Data Saver Site Breakdown";
1820const char kEnableDataReductionProxySiteBreakdownDescription[] =
1821 "Enable the site breakdown on the Data Saver settings page.";
1822
1823const char kEnableOmniboxClipboardProviderName[] =
1824 "Omnibox clipboard URL suggestions";
1825const char kEnableOmniboxClipboardProviderDescription[] =
1826 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1827 "focus in the omnibox.";
1828
1829const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1830 "Use expanded autofill credit card popup layout.";
1831const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1832 "If enabled, displays autofill credit card popup using expanded layout.";
1833
1834const char kEnableFaviconsFromWebManifestName[] =
1835 "Load favicons from Web Manifests";
1836const char kEnableFaviconsFromWebManifestDescription[] =
1837 "Fetch Web Manifests on page load to read favicons from them.";
1838
Takashi Toyoshima4fa5a71442017-11-09 14:02:481839const char kEnableMidiManagerDynamicInstantiationName[] =
1840 "MIDIManager dynamic instantiation for Web MIDI.";
1841const char kEnableMidiManagerDynamicInstantiationDescription[] =
1842 "Enable MIDIManager dynamic instantiation for Web MIDI.";
1843
Brett Wilsonff596952017-07-14 01:06:551844const char kEnableNtpAssetDownloadSuggestionsName[] =
1845 "Show asset downloads on the New Tab page";
1846const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1847 "If enabled, the list of content suggestions on the New Tab page will "
1848 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1849 "later use.";
1850
1851const char kEnableNtpBookmarkSuggestionsName[] =
1852 "Show recently visited bookmarks on the New Tab page";
1853const char kEnableNtpBookmarkSuggestionsDescription[] =
1854 "If enabled, the list of content suggestions on the New Tab page will "
1855 "contain recently visited bookmarks.";
1856
1857const char kEnableNtpForeignSessionsSuggestionsName[] =
1858 "Show recent foreign tabs on the New Tab page";
1859const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1860 "If enabled, the list of content suggestions on the New Tab page will "
1861 "contain recent foreign tabs.";
1862
Brett Wilsonff596952017-07-14 01:06:551863const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1864 "Show offline page downloads on the New Tab page";
1865const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1866 "If enabled, the list of content suggestions on the New Tab page will "
1867 "contain pages that the user downloaded for later use.";
1868
1869const char kEnableNtpRemoteSuggestionsName[] =
1870 "Show server-side suggestions on the New Tab page";
1871const char kEnableNtpRemoteSuggestionsDescription[] =
1872 "If enabled, the list of content suggestions on the New Tab page will "
1873 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1874 "allows to override the source used to retrieve these server-side "
1875 "suggestions.";
1876
1877const char kEnableNtpSnippetsVisibilityName[] =
1878 "Make New Tab Page Snippets more visible.";
1879const char kEnableNtpSnippetsVisibilityDescription[] =
1880 "If enabled, the NTP snippets will become more discoverable with a larger "
1881 "portion of the first card above the fold.";
1882
1883const char kEnableNtpSuggestionsNotificationsName[] =
1884 "Notify about new content suggestions available at the New Tab page";
1885const char kEnableNtpSuggestionsNotificationsDescription[] =
1886 "If enabled, notifications will inform about new content suggestions on "
1887 "the New Tab page.";
1888
1889const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1890const char kEnablePhysicalWebDescription[] =
1891 "Enable scanning for URLs from Physical Web objects.";
1892
1893const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1894const char kEnableOfflinePreviewsDescription[] =
1895 "Enable showing offline page previews on slow networks.";
1896
1897const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1898const char kEnableOskOverscrollDescription[] =
1899 "Enable OSK overscroll support. With this flag on, the OSK will only "
1900 "resize the visual viewport.";
1901
1902const char kEnableSpecialLocaleName[] =
1903 "Enable custom logic for special locales.";
1904const char kEnableSpecialLocaleDescription[] =
1905 "Enable custom logic for special locales. In this mode, Chrome might "
1906 "behave differently in some locales.";
1907
Brett Wilsonff596952017-07-14 01:06:551908const char kEnableWebNfcName[] = "WebNFC";
1909const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1910
gogeraldf3cbb422017-07-26 14:37:121911const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1912 "Enable Web Payments method section order V2.";
1913const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1914 "Enable this option to display payment method section above address "
1915 "section instead of below it.";
1916
Brett Wilsonff596952017-07-14 01:06:551917const char kEnableWebPaymentsSingleAppUiSkipName[] =
1918 "Enable Web Payments single app UI skip";
1919const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1920 "Enable Web Payments to skip showing its UI if the developer specifies a "
1921 "single app.";
1922
1923const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1924const char kHerbPrototypeChoicesDescription[] =
1925 "Switching this option changes which tab management prototype is being "
1926 "tested.";
1927const char kHerbPrototypeFlavorElderberry[] =
1928 "ELDERBERRY: All View Intents in CCT v2";
1929
1930const char kKeepPrefetchedContentSuggestionsName[] =
1931 "Keep prefetched content suggestions";
1932const char kKeepPrefetchedContentSuggestionsDescription[] =
1933 "If enabled, some of prefetched content suggestions are not replaced by "
1934 "the new fetched suggestions.";
1935
1936const char kLsdPermissionPromptName[] =
1937 "Location Settings Dialog Permission Prompt";
1938const char kLsdPermissionPromptDescription[] =
1939 "Whether to use the Google Play Services Location Settings Dialog "
1940 "permission dialog.";
1941
Brett Wilsonff596952017-07-14 01:06:551942const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1943const char kMediaScreenCaptureDescription[] =
1944 "Enable this option for experimental ScreenCapture feature on Android.";
1945
1946const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1947const char kModalPermissionPromptsDescription[] =
1948 "Whether to use permission dialogs in place of permission infobars.";
1949
Brett Wilsonff596952017-07-14 01:06:551950const char kNewPhotoPickerName[] = "Enable new Photopicker";
1951const char kNewPhotoPickerDescription[] =
1952 "Activates the new picker for selecting photos.";
1953
1954const char kNoCreditCardAbort[] = "No Credit Card Abort";
1955const char kNoCreditCardAbortDescription[] =
1956 "Whether or not the No Credit Card Abort is enabled.";
1957
1958const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1959const char kNtpCondensedLayoutDescription[] =
1960 "Show a condensed layout on the New Tab Page.";
1961
1962const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1963const char kNtpCondensedTileLayoutDescription[] =
1964 "Show a condensed tile layout on the New Tab Page.";
1965
Michael van Ouwerkerkcdbbe332017-11-24 15:07:061966const char kNtpModernLayoutName[] = "Modern NTP layout";
1967const char kNtpModernLayoutDescription[] =
1968 "Show a modern layout on the New Tab Page.";
1969
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041970const char kSiteExplorationUiName[] = "Site Exploration UI";
1971const char kSiteExplorationUiDescription[] =
1972 "Show site suggestions in the Exploration UI";
1973
Brett Wilsonff596952017-07-14 01:06:551974const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1975const char kNtpGoogleGInOmniboxDescription[] =
1976 "Show a Google G in the omnibox on the New Tab Page.";
1977
1978const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1979const char kNtpOfflinePagesDescription[] =
1980 "Enables badging of offline pages on the New Tab page. Only relevant if "
1981 "offline pages are enabled.";
1982
1983const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1984const char kNtpPopularSitesDescription[] =
1985 "Pre-populate the New Tab page with popular sites.";
1986
Brett Wilsonff596952017-07-14 01:06:551987const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1988const char kOfflineBookmarksDescription[] =
1989 "Enable saving bookmarked pages for offline viewing.";
1990
Brett Wilsonff596952017-07-14 01:06:551991const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1992const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1993
1994const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1995const char kOfflinePagesCtV2Description[] =
1996 "V2 features include attributing pages to the app that initiated the "
1997 "custom tabs, and being able to query for pages by page attribution.";
1998
1999const char kOfflinePagesLoadSignalCollectingName[] =
2000 "Enables collecting load timing data for offline page snapshots.";
2001const char kOfflinePagesLoadSignalCollectingDescription[] =
2002 "Enables loading completeness data collection while writing an offline "
2003 "page. This data is collected in the snapshotted offline page to allow "
2004 "data analysis to improve deciding when to make the offline snapshot.";
2005
2006const char kOfflinePagesPrefetchingName[] =
2007 "Enables suggested offline pages to be prefetched.";
2008const char kOfflinePagesPrefetchingDescription[] =
2009 "Enables suggested offline pages to be prefetched, so useful content is "
2010 "available while offline.";
2011
Cathy Li3d5379e2017-09-07 00:11:092012const char kOfflinePagesPrefetchingUIName[] =
2013 "Enables prefetched offline pages to be shown in UI.";
2014const char kOfflinePagesPrefetchingUIDescription[] =
2015 "Enables prefetched offline pages to raise notifications and be shown in "
2016 "download home UI.";
2017
Pete Williamson7845dff2017-09-20 11:06:192018const char kOfflinePagesResourceBasedSnapshotName[] =
2019 "Enables offline page snapshots to be based on percentage of page loaded.";
2020const char kOfflinePagesResourceBasedSnapshotDescription[] =
2021 "Enables offline page snapshots to use a resource percentage based "
2022 "approach for determining when the page is loaded as opposed to a time "
2023 "based approach";
2024
Collin Baker17f92a52017-07-19 21:41:252025const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2026const char kOfflinePagesRenovationsDescription[] =
2027 "Enables offline page renovations which correct issues with dynamic "
2028 "content that occur when offlining pages that use JavaScript.";
2029
Brett Wilsonff596952017-07-14 01:06:552030const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2031const char kOfflinePagesSharingDescription[] =
2032 "Enables the saved offline pages to be shared via other applications.";
2033
2034const char kOfflinePagesSvelteConcurrentLoadingName[] =
2035 "Enables concurrent background loading on svelte.";
2036const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2037 "Enables concurrent background loading (or downloading) of pages on "
2038 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2039 "happen when the svelte device is idle.";
2040
2041const char kOffliningRecentPagesName[] =
2042 "Enable offlining of recently visited pages";
2043const char kOffliningRecentPagesDescription[] =
2044 "Enable storing recently visited pages locally for offline use. Requires "
2045 "Offline Pages to be enabled.";
2046
Lei Zhang2eca9082017-10-17 20:42:502047const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2048const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552049 "Enable Pay with Google integration into Web Payments with API version "
2050 "'1'.";
2051
Matthew Jonesa88b95852017-11-08 23:13:502052const char kProgressBarThrottleName[] = "Android progress update throttling.";
2053const char kProgressBarThrottleDescription[] =
2054 "Limit the maximum progress update to make progress appear smoother.";
2055
Brett Wilsonff596952017-07-14 01:06:552056const char kProgressBarCompletionName[] =
2057 "Android phone page load progress bar completion time.";
2058const char kProgressBarCompletionDescription[] =
2059 "Configures Android phone page loading progress bar completion time.";
2060const char kProgressBarCompletionLoadEvent[] =
2061 R"*(Top loading frame's onload event ("everything" is done in the )*"
2062 R"*(page, historical behavior).)*";
2063const char kProgressBarCompletionResourcesBeforeDcl[] =
2064 "Main frame's domContentLoaded and all resources loads started before "
2065 "domContentLoaded (iframes ignored).";
2066const char kProgressBarCompletionDomContentLoaded[] =
2067 "Main frame's domContentLoaded (iframes ignored).";
2068const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2069 "domContentLoaded and all resources loads started before domContentLoaded "
2070 "(main frame and same origin iframes).";
2071
2072const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2073const char kPullToRefreshEffectDescription[] =
2074 "Page reloads triggered by vertically overscrolling content.";
2075
Piotr Swigon7c296ef2017-08-29 04:32:002076const char kPwaImprovedSplashScreenName[] =
2077 "Improved Splash Screen for standalone PWAs";
2078const char kPwaImprovedSplashScreenDescription[] =
2079 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2080 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492081const char kPwaPersistentNotificationName[] =
2082 "Persistent notification in standalone PWA";
2083const char kPwaPersistentNotificationDescription[] =
2084 "Enables a persistent Android notification for standalone PWAs";
2085
Brett Wilsonff596952017-07-14 01:06:552086const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2087const char kReaderModeHeuristicsDescription[] =
2088 "Determines what pages the Reader Mode infobar is shown on.";
2089const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2090const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2091const char kReaderModeHeuristicsAllArticles[] = "All articles";
2092const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2093const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2094
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182095const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2096const char kReaderModeInCCTDescription[] =
2097 "Open Reader Mode in Chrome Custom Tabs.";
2098
Brett Wilsonff596952017-07-14 01:06:552099const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2100const char kSetMarketUrlForTestingDescription[] =
2101 "When enabled, sets the market URL for use in testing the update menu "
2102 "item.";
2103
2104const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2105const char kSpannableInlineAutocompleteDescription[] =
2106 "A new type of inline autocomplete for the omnibox that works with "
2107 "keyboards that compose text.";
2108
Brett Wilsonff596952017-07-14 01:06:552109const char kTranslateCompactUIName[] = "New Translate Infobar";
2110const char kTranslateCompactUIDescription[] =
2111 "Enable the new Translate compact infobar UI.";
2112
2113const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2114const char kUpdateMenuBadgeDescription[] =
2115 "When enabled, an update badge will be shown on the app menu button.";
2116
2117const char kUpdateMenuItemCustomSummaryDescription[] =
2118 "When this flag and the force show update menu item flag are enabled, a "
2119 "custom summary string will be displayed below the update menu item.";
2120const char kUpdateMenuItemCustomSummaryName[] =
2121 "Update menu item custom summary";
2122
2123const char kUpdateMenuItemName[] = "Force show update menu item";
2124const char kUpdateMenuItemDescription[] =
2125 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2126 R"*(menu.)*";
2127
Marc Treib93af46a2017-08-23 13:30:002128const char kThirdPartyDoodlesName[] =
2129 "Enable Doodles for third-party search engines";
2130const char kThirdPartyDoodlesDescription[] =
2131 "Enables fetching and displaying Doodles on the NTP for third-party search "
2132 "engines.";
2133
Brett Wilson7b44537e2017-08-18 01:38:282134// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552135
Brett Wilson7b44537e2017-08-18 01:38:282136#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482137
Brett Wilson7b44537e2017-08-18 01:38:282138const char kAccountConsistencyName[] =
2139 "Identity consistency between browser and cookie jar";
2140const char kAccountConsistencyDescription[] =
2141 "When enabled, the browser manages signing in and out of Google accounts.";
2142const char kAccountConsistencyChoiceMirror[] = "Mirror";
2143const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342144
Chris Pickel3a227ae62017-08-24 10:47:262145const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2146const char kDoodlesOnLocalNtpDescription[] =
2147 "Show doodles on the local New Tab page if Google is the default search "
2148 "engine.";
2149
mlamouriff56c092017-05-11 15:31:392150const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392151const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342152 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392153const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392154const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392155const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342156 "Enabled (Flash lowers volume when interrupted by other sound, "
2157 "experimental)";
2158
Brett Wilson7b44537e2017-08-18 01:38:282159const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2160const char kEnableNewAppMenuIconDescription[] =
2161 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342162
2163const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342164const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282165 "Enable receiving entity suggestions - disambiguation descriptions - for "
2166 "Omnibox suggestions.";
2167
Kevin Bailey898669972017-11-06 15:34:492168const char kOmniboxTabSwitchSuggestionsName[] =
2169 "Omnibox tab switch suggestions";
2170const char kOmniboxTabSwitchSuggestionsDescription[] =
2171 "Enable suggestions for switching to open tabs within the Omnibox.";
2172
krbcc621412017-06-01 19:40:282173const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2174const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192175 "Enable receiving tail suggestions, a type of search suggestion based on "
2176 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342177
Brett Wilson7b44537e2017-08-18 01:38:282178const char kOneGoogleBarOnLocalNtpName[] =
2179 "Enable the OneGoogleBar on the local NTP";
2180const char kOneGoogleBarOnLocalNtpDescription[] =
2181 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2182 "search engine.";
2183
ojan38c678352017-04-11 20:27:552184const char kPauseBackgroundTabsName[] = "Pause background tabs";
2185const char kPauseBackgroundTabsDescription[] =
2186 "Pause timers in background tabs after 5 minutes on desktop.";
2187
Brett Wilson7b44537e2017-08-18 01:38:282188const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2189const char kUseGoogleLocalNtpDescription[] =
2190 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322191
Brett Wilson7b44537e2017-08-18 01:38:282192const char kVoiceSearchOnLocalNtpName[] =
2193 "Enable Voice Search on the local NTP";
2194const char kVoiceSearchOnLocalNtpDescription[] =
2195 "Show a microphone for voice search on the local New Tab page "
2196 "if Google is the default search engine.";
2197
2198#if defined(GOOGLE_CHROME_BUILD)
2199
2200const char kGoogleBrandedContextMenuName[] =
2201 "Google branding in the context menu";
2202const char kGoogleBrandedContextMenuDescription[] =
2203 "Shows a Google icon next to context menu items powered by Google "
2204 "services.";
2205
2206#endif // !defined(GOOGLE_CHROME_BUILD)
2207
2208#endif // !defined(OS_ANDROID)
2209
2210// Windows ---------------------------------------------------------------------
2211
2212#if defined(OS_WIN)
2213
2214const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2215const char kCloudPrintXpsDescription[] =
2216 "XPS enables advanced options for classic printers connected to the Cloud "
2217 "Print with Chrome. Printers must be re-connected after changing this "
2218 "flag.";
2219
Dave Tapuskadd43469d2017-08-22 22:15:532220const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2221const char kDirectManipulationStylusDescription[] =
2222 "If enabled, Chrome will scroll web pages on stylus drag.";
2223
Brett Wilson7b44537e2017-08-18 01:38:282224const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2225const char kDisablePostscriptPrintingDescription[] =
2226 "Disables PostScript generation when printing to PostScript capable "
2227 "printers, and uses EMF generation in its place.";
2228
2229const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2230const char kEnableAppcontainerDescription[] =
2231 "Enables the use of an AppContainer on sandboxed processes to improve "
2232 "security.";
2233
2234const char kEnableD3DVsync[] = "D3D v-sync";
2235const char kEnableD3DVsyncDescription[] =
2236 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2237 "to occur.";
2238
2239const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2240const char kEnableDesktopIosPromotionsDescription[] =
2241 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2242 "eligible.";
2243
2244const char kGdiTextPrinting[] = "GDI Text Printing";
2245const char kGdiTextPrintingDescription[] =
2246 "Use GDI to print text as simply text";
2247
2248const char kMergeKeyCharEventsName[] =
2249 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2250 "(WM_CHAR).";
2251const char kMergeKeyCharEventsDescription[] =
2252 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2253
2254const char kTraceExportEventsToEtwName[] =
2255 "Enable exporting of tracing events to ETW.";
2256const char kTraceExportEventsToEtwDesription[] =
2257 "If enabled, trace events will be exported to the Event Tracing for "
2258 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2259 "Xperf.";
2260
2261const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2262const char kUseWinrtMidiApiDescription[] =
2263 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2264 "later).";
2265
2266const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2267const char kWindows10CustomTitlebarDescription[] =
2268 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2269 "deferring to Windows.";
2270
Wez6656c572017-08-29 22:29:582271#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502272const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2273const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582274 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2275 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2276#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2277
Brett Wilson7b44537e2017-08-18 01:38:282278#endif // defined(OS_WIN)
2279
2280// Mac -------------------------------------------------------------------------
2281
2282#if defined(OS_MACOSX)
2283
2284const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2285const char kAppInfoDialogDescription[] =
2286 "Makes the Toolkit-Views based App Info dialog accessible from "
2287 "chrome://apps or chrome://extensions in place of the native extension "
2288 "permissions dialog, or the details link (which is a link to the Web "
2289 "Store).";
2290
2291const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2292const char kAppWindowCyclingDescription[] =
2293 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2294 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2295 "browser window, and browser windows will not be cycled when a Chrome App "
2296 "is active.";
2297
Lei Zhang2eca9082017-10-17 20:42:502298const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2299const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282300 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2301
2302const char kFullscreenToolbarRevealName[] =
2303 "Enables the toolbar in fullscreen to reveal itself.";
2304const char kFullscreenToolbarRevealDescription[] =
2305 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2306 "has changed.";
2307
2308const char kContentFullscreenName[] = "Improved Content Fullscreen";
2309const char kContentFullscreenDescription[] =
2310 "Fullscreen content window detaches from main browser window and goes to "
2311 "a new space without moving or changing the original browser window.";
2312
Lei Zhang2eca9082017-10-17 20:42:502313const char kDialogTouchBarName[] = "Dialog Touch Bar";
2314const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282315 "Shows Dialog buttons on the Touch Bar.";
2316
2317const char kHostedAppsInWindowsName[] =
2318 "Allow hosted apps to be opened in windows";
2319const char kHostedAppsInWindowsDescription[] =
2320 "Allows hosted apps to be opened in windows instead of being limited to "
2321 "tabs.";
2322
Lei Zhang2eca9082017-10-17 20:42:502323const char kMacRTLName[] = "Enable RTL";
2324const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282325
Lei Zhang2eca9082017-10-17 20:42:502326const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2327const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522328 "Enables sharing via macOS share extensions.";
2329
Lei Zhang2eca9082017-10-17 20:42:502330const char kMacTouchBarName[] = "Hardware Touch Bar";
2331const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282332
2333const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2334const char kMacV2SandboxDescription[] =
2335 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2336 "entire life cycle.";
2337
2338const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2339const char kMacViewsNativeAppWindowsDescription[] =
2340 "Controls whether to use Toolkit-Views based Chrome App windows.";
2341
Jérôme Lebelff683d42017-11-10 10:24:022342const char kMacViewsProfileChooserName[] =
2343 "Profile chooser menu with toolkit-views on Mac";
2344const char kMacViewsProfileChooserDescription[] =
2345 "Enables profile chooser menu based on toolkit-views, on Mac";
2346
Brett Wilson7b44537e2017-08-18 01:38:282347const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2348const char kMacViewsTaskManagerDescription[] =
2349 "Controls whether to use the Toolkit-Views based Task Manager.";
2350
2351const char kTabDetachingInFullscreenName[] =
2352 "Allow tab detaching in fullscreen";
2353const char kTabDetachingInFullscreenDescription[] =
2354 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2355
2356const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2357const char kTabStripKeyboardFocusDescription[] =
2358 "Enable keyboard focus for the tabs in the tab strip.";
2359
2360const char kTranslateNewUxName[] = "New Translate UX";
2361const char kTranslateNewUxDescription[] =
2362 "Enable the new Translate bubble UX is offered instead of the infobar.";
2363
Brett Wilson7b44537e2017-08-18 01:38:282364#endif
2365
2366// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342367
2368#if defined(OS_CHROMEOS)
2369
Brett Wilson7b44537e2017-08-18 01:38:282370const char kAcceleratedMjpegDecodeName[] =
2371 "Hardware-accelerated mjpeg decode for captured frame";
2372const char kAcceleratedMjpegDecodeDescription[] =
2373 "Enable hardware-accelerated mjpeg decode for captured frame where "
2374 "available.";
vabr0215a8e2017-03-28 12:47:342375
Brett Wilson7b44537e2017-08-18 01:38:282376const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2377const char kAllowTouchpadThreeFingerClickDescription[] =
2378 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342379
Brett Wilson7b44537e2017-08-18 01:38:282380const char kArcBootCompleted[] = "Load Android apps automatically";
2381const char kArcBootCompletedDescription[] =
2382 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342383
Lev Rumyantsev7a8544312017-08-18 19:26:512384const char kArcNativeBridgeExperimentName[] =
2385 "Enable native bridge experiment for ARC";
2386const char kArcNativeBridgeExperimentDescription[] =
2387 "Enables experimental native bridge feature.";
2388
Kevin Cernekeeb7f96a52017-10-25 17:40:182389const char kArcVpnName[] = "Enable ARC VPN integration";
2390const char kArcVpnDescription[] =
2391 "Allow Android VPN clients to tunnel Chrome traffic.";
2392
Brett Wilson7b44537e2017-08-18 01:38:282393const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2394const char kAshEnableUnifiedDesktopDescription[] =
2395 "Enable unified desktop mode which allows a window to span multiple "
2396 "displays.";
vabr0215a8e2017-03-28 12:47:342397
Brett Wilson7b44537e2017-08-18 01:38:282398const char kBootAnimationName[] = "Boot animation";
2399const char kBootAnimationDescription[] =
2400 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342401
Sean Kau5e956192017-10-06 22:25:172402const char kBulkPrintersName[] = "Bulk Printers Policy";
2403const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2404
Brett Wilson7b44537e2017-08-18 01:38:282405const char kCaptivePortalBypassProxyName[] =
2406 "Bypass proxy for Captive Portal Authorization";
2407const char kCaptivePortalBypassProxyDescription[] =
2408 "If proxy is configured, it usually prevents from authorization on "
2409 "different captive portals. This enables opening captive portal "
2410 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342411
Brett Wilson7b44537e2017-08-18 01:38:282412const char kCrOSComponentName[] = "Chrome OS Component";
2413const char kCrOSComponentDescription[] =
2414 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342415
Xiaochu Liu51d03fd2017-09-08 23:51:022416const char kCrOSContainerName[] = "Chrome OS Container";
2417const char kCrOSContainerDescription[] =
2418 "Enable the use of Chrome OS Container utility.";
2419
Brett Wilson7b44537e2017-08-18 01:38:282420const char kCrosRegionsModeName[] = "Cros-regions load mode";
2421const char kCrosRegionsModeDescription[] =
2422 "This flag controls cros-regions load mode";
2423const char kCrosRegionsModeDefault[] = "Default";
2424const char kCrosRegionsModeOverride[] = "Override VPD values.";
2425const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342426
Jacob Dufault2becbc482017-08-25 00:36:352427const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2428const char kDisableLockScreenAppsDescription[] =
2429 "Disable new-note action handler apps on the lock screen. The user will "
2430 "not be able to launch the preferred note-taking action from the lock "
2431 "screen, provided that the app supports lock screen note taking.";
2432
Sammie Quonef6b4882017-09-14 16:50:052433const char kDisableTabletAutohideTitlebarsName[] =
2434 "Disable autohide titlebars in tablet mode";
2435const char kDisableTabletAutohideTitlebarsDescription[] =
2436 "Disable tablet mode autohide titlebars functionality. The user will be "
2437 "able to see the titlebar in tablet mode.";
2438
Brett Wilson7b44537e2017-08-18 01:38:282439const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2440const char kEnablePerUserTimezoneDescription[] =
2441 "Chrome OS system timezone preference is stored and handled for each user "
2442 "individually.";
vabr0215a8e2017-03-28 12:47:342443
Brett Wilson7b44537e2017-08-18 01:38:282444const char kDisableSystemTimezoneAutomaticDetectionName[] =
2445 "SystemTimezoneAutomaticDetection policy support";
2446const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2447 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342448
Lei Zhang2eca9082017-10-17 20:42:502449const char kEnableBackgroundBlurName[] = "Enable background blur.";
2450const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422451 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392452
Brett Wilson7b44537e2017-08-18 01:38:282453const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2454const char kEnableAndroidWallpapersAppDescription[] =
2455 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2456 "OS.";
vabr0215a8e2017-03-28 12:47:342457
Brett Wilson7b44537e2017-08-18 01:38:282458const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2459const char kEnableChromevoxArcSupportDescription[] =
2460 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342461
Brett Wilson7b44537e2017-08-18 01:38:282462const char kEnableEhvInputName[] =
2463 "Emoji, handwriting and voice input on opt-in IME menu";
2464const char kEnableEhvInputDescription[] =
2465 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342466
Brett Wilson7b44537e2017-08-18 01:38:282467const char kEnableEncryptionMigrationName[] =
2468 "Enable encryption migration of user data";
2469const char kEnableEncryptionMigrationDescription[] =
2470 "If enabled and the device supports ARC, the user will be asked to update "
2471 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342472
Blake O'Hare9e9317b22017-10-24 02:49:352473const char kEnableFloatingVirtualKeyboardName[] =
2474 "Enable floating virtual keyboard";
2475const char kEnableFloatingVirtualKeyboardDescription[] =
2476 "If enabled, the keyboard will use floating behavior by default.";
2477
Brett Wilson7b44537e2017-08-18 01:38:282478const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2479const char kEnableImeMenuDescription[] =
2480 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342481
xdai6459d0ca2017-10-11 19:23:102482const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2483const char kEnableTabletSplitViewDescription[] =
2484 "Enable split view for Chrome OS tablet mode.";
2485
Klemen Kozjek05fc4512017-10-18 12:51:102486const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2487const char kEnableZipArchiverPackerDescription[] =
2488 "Enable the ability to archive files on Drive in the Files app";
2489
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412490const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2491const char kZipArchiverUnpackerDescription[] =
2492 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282493
2494const char kEolNotificationName[] = "Disable Device End of Life notification.";
2495const char kEolNotificationDescription[] =
2496 "Disable Notifcation when Device is End of Life.";
2497
2498const char kExperimentalAccessibilityFeaturesName[] =
2499 "Experimental accessibility features";
2500const char kExperimentalAccessibilityFeaturesDescription[] =
2501 "Enable additional accessibility features in the Settings page.";
2502
2503const char kExperimentalInputViewFeaturesName[] =
2504 "Experimental input view features";
2505const char kExperimentalInputViewFeaturesDescription[] =
2506 "Enable experimental features for IME input views.";
2507
2508const char kFileManagerTouchModeName[] = "Files App. touch mode";
2509const char kFileManagerTouchModeDescription[] =
2510 "Touchscreen-specific interactions of the Files app.";
2511
2512const char kFirstRunUiTransitionsName[] =
2513 "Animated transitions in the first-run tutorial";
2514const char kFirstRunUiTransitionsDescription[] =
2515 "Transitions during first-run tutorial are animated.";
2516
Brett Wilson7b44537e2017-08-18 01:38:282517const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2518const char kForceEnableStylusToolsDescription[] =
2519 "Forces display of the stylus tools menu in the shelf and the stylus "
2520 "section in settings, even if there is no attached stylus device.";
2521
2522const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2523const char kGestureEditingDescription[] =
2524 "Enable/Disable gesture editing option in the settings page for the "
2525 "virtual keyboard.";
2526
2527const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2528const char kGestureTypingDescription[] =
2529 "Enable/Disable gesture typing option in the settings page for the virtual "
2530 "keyboard.";
2531
2532const char kInputViewName[] = "Input views";
2533const char kInputViewDescription[] =
2534 "Enable IME extensions to supply custom views for user input such as "
2535 "virtual keyboards.";
2536
2537const char kMemoryPressureThresholdName[] =
2538 "Memory discard strategy for advanced pressure handling";
2539const char kMemoryPressureThresholdDescription[] =
2540 "Memory discarding strategy to use";
2541const char kConservativeThresholds[] =
2542 "Conservative memory pressure release strategy";
2543const char kAggressiveCacheDiscardThresholds[] =
2544 "Aggressive cache release strategy";
2545const char kAggressiveTabDiscardThresholds[] =
2546 "Aggressive tab release strategy";
2547const char kAggressiveThresholds[] =
2548 "Aggressive tab and cache release strategy";
2549
2550const char kMtpWriteSupportName[] = "MTP write support";
2551const char kMtpWriteSupportDescription[] =
2552 "MTP write support in File System API (and file manager). In-place editing "
2553 "operations are not supported.";
2554
2555const char kMultideviceName[] = "Enable multidevice features";
2556const char kMultideviceDescription[] =
2557 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342558
Bailey Berrodca8eeca02017-11-18 00:49:122559const char kNativeSmbName[] = "Native Smb Client";
2560const char kNativeSmbDescription[] =
2561 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302562
vabr0215a8e2017-03-28 12:47:342563const char kNetworkPortalNotificationName[] =
2564 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342565const char kNetworkPortalNotificationDescription[] =
2566 "If enabled, notification is displayed when device is connected to a "
2567 "network behind captive portal.";
2568
stevenjbe1d457382017-05-24 22:37:242569const char kNetworkSettingsConfigName[] =
2570 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242571const char kNetworkSettingsConfigDescription[] =
2572 "Enables the Settings based network configuration UI instead of the Views "
2573 "based configuration dialog.";
2574
Brett Wilson7b44537e2017-08-18 01:38:282575const char kNewKoreanImeName[] = "New Korean IME";
2576const char kNewKoreanImeDescription[] =
2577 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342578
Brett Wilson7b44537e2017-08-18 01:38:282579const char kNewZipUnpackerName[] = "New ZIP unpacker";
2580const char kNewZipUnpackerDescription[] =
2581 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342582
Brett Wilson7b44537e2017-08-18 01:38:282583const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2584const char kPhysicalKeyboardAutocorrectDescription[] =
2585 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2586 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342587
2588const char kPrinterProviderSearchAppName[] =
2589 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342590const char kPrinterProviderSearchAppDescription[] =
2591 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192592 "searches Chrome Web Store for extensions that support printing to a USB "
2593 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342594
Brett Wilson7b44537e2017-08-18 01:38:282595const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2596const char kQuickUnlockPinDescription[] =
2597 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2598 "device on the lock screen after you have signed into your device.";
2599const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2600const char kQuickUnlockPinSigninDescription[] =
2601 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2602 "device. After changing this flag PIN needs to be set up again.";
2603const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2604const char kQuickUnlockFingerprintDescription[] =
2605 "Enabling fingerprint quick unlock allows you to setup and use a "
2606 "fingerprint to unlock your Chromebook on the lock screen after you have "
2607 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342608
Brett Wilson7b44537e2017-08-18 01:38:282609const char kOfficeEditingComponentAppName[] =
2610 "Office Editing for Docs, Sheets & Slides";
2611const char kOfficeEditingComponentAppDescription[] =
2612 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072613
James Cook0ba192bf2017-12-01 20:53:112614const char kShowTapsName[] = "Show taps";
2615const char kShowTapsDescription[] =
2616 "Draws a circle at each touch point, which makes touch points more obvious "
2617 "when projecting or mirroring the display. Similar to the Android OS "
2618 "developer option.";
2619
2620const char kShowTouchHudName[] = "Show HUD for touch points";
2621const char kShowTouchHudDescription[] =
2622 "Shows a trail of colored dots for the last few touch points. Pressing "
2623 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2624 "debug hardware issues that generate spurious touch events.";
2625
Chung-Sheng Wu468b0b32017-09-01 14:41:572626const char kSysInternalsName[] = "Enable Sys-Internals";
2627const char kSysInternalsDescription[] =
2628 "If enabled, user can monitor system information at "
2629 "chrome://sys-internals.";
2630
Brett Wilson7b44537e2017-08-18 01:38:282631const char kTeamDrivesName[] = "Enable Team Drives Integration";
2632const char kTeamDrivesDescription[] =
2633 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342634
Brett Wilson7b44537e2017-08-18 01:38:282635const char kTetherName[] = "Instant Tethering";
2636const char kTetherDescription[] =
2637 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2638 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372639
Brett Wilson7b44537e2017-08-18 01:38:282640const char kTouchscreenCalibrationName[] =
2641 "Enable/disable touchscreen calibration option in material design settings";
2642const char kTouchscreenCalibrationDescription[] =
2643 "If enabled, the user can calibrate the touch screen displays in "
2644 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092645
Mitsuru Oshima63d3f2a2017-08-23 00:12:112646// Force UI Mode
2647const char kUiModeName[] = "Force Ui Mode";
2648const char kUiModeDescription[] =
2649 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2650 R"*(despite its current orientation. "Tablet" means that the )*"
2651 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2652 R"*(means that the chromebook will act as if it were in clamshell )*"
2653 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2654 R"*(the two, based on its orientation.)*";
2655const char kUiModeTablet[] = "TouchView";
2656const char kUiModeClamshell[] = "Clamshell";
2657const char kUiModeAuto[] = "Auto (default)";
2658
bruthigeafb0c02017-06-09 13:11:532659const char kUiDevToolsName[] = "Enable native UI inspection";
2660const char kUiDevToolsDescription[] =
2661 "Enables inspection of native UI elements. For local inspection use "
2662 "chrome://inspect#other";
2663
Brett Wilson7b44537e2017-08-18 01:38:282664const char kUseMusName[] = "Mus";
2665const char kUseMusDescription[] = "Enable the Mojo UI service.";
2666const char kEnableMashDescription[] =
2667 "Mash (UI, Chrome and ash in separate services)";
2668const char kEnableMusDescription[] =
2669 "Mus (UI in separate service, Chrome and ash in same service)";
2670
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342671// TODO(mcasas): remove after https://crbug.com/771345.
2672const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2673const char kUseMonitorColorSpaceDescription[] =
2674 "Enables Chrome to use the color space information provided by the monitor"
2675 " instead of the default sRGB color space.";
2676
Brett Wilson7b44537e2017-08-18 01:38:282677const char kVideoPlayerChromecastSupportName[] =
2678 "Experimental Chromecast support for Video Player";
2679const char kVideoPlayerChromecastSupportDescription[] =
2680 "This option enables experimental Chromecast support for Video Player app "
2681 "on ChromeOS.";
2682
2683const char kVirtualKeyboardName[] = "Virtual Keyboard";
2684const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2685
2686const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2687const char kVirtualKeyboardOverscrollDescription[] =
2688 "Enables virtual keyboard overscroll support.";
2689
2690const char kVoiceInputName[] = "Voice input on virtual keyboard";
2691const char kVoiceInputDescription[] =
2692 "Enables voice input on virtual keyboard.";
2693
2694const char kWakeOnPacketsName[] = "Wake On Packets";
2695const char kWakeOnPacketsDescription[] =
2696 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202697
yhanadac5bff5b2017-05-18 06:37:092698#endif // defined(OS_CHROMEOS)
2699
Brett Wilson7b44537e2017-08-18 01:38:282700// Random platform combinations -----------------------------------------------
2701
2702#if defined(OS_WIN) || defined(OS_LINUX)
2703
2704const char kEnableInputImeApiName[] = "Enable Input IME API";
2705const char kEnableInputImeApiDescription[] =
2706 "Enable the use of chrome.input.ime API.";
2707
2708#endif // defined(OS_WIN) || defined(OS_LINUX)
2709
2710#if defined(OS_WIN) || defined(OS_MACOSX)
2711
2712const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2713const char kAutomaticTabDiscardingDescription[] =
2714 "If enabled, tabs get automatically discarded from memory when the system "
2715 "memory is low. Discarded tabs are still visible on the tab strip and get "
2716 "reloaded when clicked on. Info about discarded tabs can be found at "
2717 "chrome://discards.";
2718
2719#endif // defined(OS_WIN) || defined(OS_MACOSX)
2720
2721// Feature flags --------------------------------------------------------------
2722
2723#if BUILDFLAG(ENABLE_VR)
2724
David Dorwin5a496c32017-11-17 01:45:052725const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2726const char kWebVrVsyncAlignDescription[] =
2727 "Align WebVR application rendering with VSync for smoother animations.";
2728
Brett Wilson7b44537e2017-08-18 01:38:282729#if defined(OS_ANDROID)
2730
David Dorwin5a496c32017-11-17 01:45:052731const char kVrBrowsingName[] = "VR browsing";
2732const char kVrBrowsingDescription[] =
2733 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282734
Yash Malik50bcfc12017-11-18 00:47:592735const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2736const char kVrBrowserKeyboardDescription[] =
2737 "Enable a virtual keyboard for Chrome VR.";
2738
David Dorwin5a496c32017-11-17 01:45:052739const char kVrBrowsingExperimentalFeaturesName[] =
2740 "VR browsing experimental features";
2741const char kVrBrowsingExperimentalFeaturesDescription[] =
2742 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282743
David Dorwin5a496c32017-11-17 01:45:052744const char kVrBrowsingExperimentalRenderingName[] =
2745 "VR browsing experimental rendering features";
2746const char kVrBrowsingExperimentalRenderingDescription[] =
2747 "Experimental rendering features for VR browsing (e.g. power-saving "
2748 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102749
David Dorwin5a496c32017-11-17 01:45:052750const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2751const char kVrBrowsingInCustomTabDescription[] =
2752 "Allow browsing within a VR headset while in a Custom Tab.";
2753
2754const char kVrLaunchIntentsName[] = "VR intents";
2755const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262756 "Allow intents to launch Chrome in VR mode.";
2757
David Dorwin5a496c32017-11-17 01:45:052758const char kWebVrAutopresentFromIntentName[] =
2759 "WebVR auto presentation from intents";
2760const char kWebVrAutopresentFromIntentDescription[] =
2761 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282762
2763#endif // OS_ANDROID
2764
Bill Orr49527562017-11-22 16:58:482765#if BUILDFLAG(ENABLE_OPENVR)
2766const char kOpenVRName[] = "OpenVR hardware support";
2767const char kOpenVRDescription[] =
2768 "If enabled, Chrome will use OpenVR devices for VR.";
2769#endif // ENABLE_OPENVR
2770
Brett Wilson7b44537e2017-08-18 01:38:282771#endif // ENABLE_VR
2772
Nico Weberaf3b00b2017-09-11 17:58:172773#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282774
2775const char kNaclDebugMaskName[] =
2776 "Restrict Native Client GDB-based debugging by pattern";
2777const char kNaclDebugMaskDescription[] =
2778 "Restricts Native Client application GDB-based debugging by URL of "
2779 "manifest file. Native Client GDB-based debugging must be enabled for this "
2780 "option to work.";
2781const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2782const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2783 "Debug everything except secure shell and the PNaCl translator.";
2784const char kNaclDebugMaskChoiceIncludeDebug[] =
2785 "Debug only if manifest URL ends with debug.nmf.";
2786
2787const char kNaclDebugName[] = "Native Client GDB-based debugging";
2788const char kNaclDebugDescription[] =
2789 "Enable GDB debug stub. This will stop a Native Client application on "
2790 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2791
2792const char kNaclName[] = "Native Client";
2793const char kNaclDescription[] =
2794 "Support Native Client for all web applications, even those that were not "
2795 "installed from the Chrome Web Store.";
2796
2797const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2798const char kPnaclSubzeroDescription[] =
2799 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2800
Nico Weberaf3b00b2017-09-11 17:58:172801#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282802
Brett Wilson7b44537e2017-08-18 01:38:282803#if BUILDFLAG(ENABLE_WEBRTC)
2804
2805const char kWebrtcH264WithOpenh264FfmpegName[] =
2806 "WebRTC H.264 software video encoder/decoder";
2807const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2808 "When enabled, an H.264 software video encoder/decoder pair is included. "
2809 "If a hardware encoder/decoder is also available it may be used instead of "
2810 "this encoder/decoder.";
2811
2812#endif // BUILDFLAG(ENABLE_WEBRTC)
2813
James Cookf9d34d22017-10-04 16:39:352814#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282815
Wenzhao Zang50fb0b22017-11-07 01:38:422816const char kAshDisableLoginDimAndBlurName[] =
2817 "Disable dimming and blur on login screen.";
2818const char kAshDisableLoginDimAndBlurDescription[] =
2819 "Disable dimming and blur on login screen.";
2820
Brett Wilson7b44537e2017-08-18 01:38:282821const char kAshDisableSmoothScreenRotationName[] =
2822 "Disable smooth rotation animations.";
2823const char kAshDisableSmoothScreenRotationDescription[] =
2824 "Disable smooth rotation animations.";
2825
Qiang Xub7e921072017-12-07 21:02:112826const char kAshEnableDisplayMoveWindowAccelsName[] =
2827 "Enable shortcuts for moving window between displays.";
2828const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2829 "Enable shortcuts for moving window between displays.";
2830
wutaoc70d7b92017-11-01 08:06:012831const char kAshEnableKeyboardShortcutViewerName[] =
2832 "Enable keyboard shortcut viewer.";
2833const char kAshEnableKeyboardShortcutViewerDescription[] =
2834 "Enable keyboard shortcut viewer.";
2835
Brett Wilson7b44537e2017-08-18 01:38:282836const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2837const char kAshEnableMirroredScreenDescription[] =
2838 "Enable the mirrored screen mode. This mode flips the screen image "
2839 "horizontally.";
2840
2841const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2842const char kAshShelfColorDescription[] =
2843 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2844 "--ash-shelf-color-scheme flag defines how that color is derived.";
2845
2846const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2847const char kAshShelfColorSchemeDescription[] =
2848 "Specify how the color is derived from the wallpaper. This flag is only "
2849 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2850const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2851const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2852const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2853const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2854const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2855const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2856
Mike Wassermana38a8a62017-10-02 03:04:272857const char kAshDisableShelfModelSynchronization[] =
2858 "Disable shelf model synchronization";
2859const char kAshDisableShelfModelSynchronizationDescription[] =
2860 "Use a single in-process shelf data model shared between Chrome and Ash. "
2861 "This only applies to the Classic Ash and Mus configs; synchronization "
2862 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372863
Brett Wilson7b44537e2017-08-18 01:38:282864const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372865 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282866const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2867 "Sets the speed of the experimental visual feedback animations for "
2868 "material design.";
2869const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2870const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2871
2872const char kUiShowCompositedLayerBordersName[] =
2873 "Show UI composited layer borders";
2874const char kUiShowCompositedLayerBordersDescription[] =
2875 "Show border around composited layers created by UI.";
2876const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2877const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2878const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2879const char kUiShowCompositedLayerBordersAll[] = "All";
2880
2881const char kUiSlowAnimationsName[] = "Slow UI animations";
2882const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2883
James Cookf9d34d22017-10-04 16:39:352884#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282885
Brett Wilson735e1452017-11-13 21:04:092886#if defined(TOOLKIT_VIEWS)
2887
2888const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2889const char kExperimentalTabControllerDescription[] =
2890 "Enable controller for highly experimental tab policies.";
2891
2892#endif // defined(TOOLKIT_VIEWS)
2893
Brett Wilson7b44537e2017-08-18 01:38:282894#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2895
2896const char kAutofillCreditCardUploadName[] =
2897 "Enable offering upload of Autofilled credit cards";
2898const char kAutofillCreditCardUploadDescription[] =
2899 "Enables a new option to upload credit cards to Google Payments for sync "
2900 "to all Chrome devices.";
2901
2902#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2903
2904// ============================================================================
2905// Don't just add flags to the end, put them in the right section in
2906// alphabetical order just like the header file.
2907// ============================================================================
2908
vabr0215a8e2017-03-28 12:47:342909} // namespace flag_descriptions