blob: 57b5c2415c41085e3f6e1bfd14ea70900d923206 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Tetsui Ohkubof860b8e2018-02-16 03:50:5546const char kAshNewSystemMenuName[] = "New system menu";
47const char kAshNewSystemMenuDescription[] =
48 "Enable the experimental system menu.";
49
Sathya Gunasekaranbc706d62018-02-09 21:44:2250const char kArrayPrototypeValuesName[] = "Array.prototype.values ES6 method";
51const char kArrayPrototypeValuesDescription[] =
52 "Enables Array.prototype.values method";
53
Khushalba202212017-07-12 19:53:4954const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
55const char kAsyncImageDecodingDescription[] =
56 "Enables asynchronous decoding of images from raster for web content";
57
Brett Wilsonf27ff602017-07-07 22:28:4758const char kAutoplayPolicyName[] = "Autoplay policy";
59const char kAutoplayPolicyDescription[] =
60 "Policy used when deciding if audio or video is allowed to autoplay.";
61
62const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
63 "User gesture is required for cross-origin iframes.";
64const char kAutoplayPolicyNoUserGestureRequired[] =
65 "No user gesture is required.";
66const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
67const char kAutoplayPolicyDocumentUserActivation[] =
68 "Document user activation is required.";
69
Johanne0cc6902017-11-16 00:23:5070extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
71extern const char kAv1DecoderDescription[] =
72 "Allow decoding of files with the AV1 video codec.";
73
Brett Wilsonf27ff602017-07-07 22:28:4774const char kBackgroundVideoTrackOptimizationName[] =
75 "Optimize background video playback.";
76const char kBackgroundVideoTrackOptimizationDescription[] =
77 "Disable video tracks when the video is played in the background to "
78 "optimize performance.";
79
80const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
81const char kBleAdvertisingInExtensionsDescription[] =
82 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
83 "with regular use of Bluetooth Low Energy features.";
84
Charles Harrisond629cc62017-10-05 01:39:5485const char kBlockTabUndersName[] = "Block tab-unders";
86const char kBlockTabUndersDescription[] =
87 "Blocks tab-unders in Chrome with some native UI to allow the user to "
88 "proceed.";
89
arthursonzognif2bc2d202017-11-08 11:01:0290const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
91const char kNavigationMojoResponseDescription[] =
92 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
93 "the body of the main resource to the renderer process. This flag replaces "
94 "this mechanism by using a Mojo DataPipe.";
95
Brett Wilsonf27ff602017-07-07 22:28:4796const char kBrowserTaskSchedulerName[] = "Task Scheduler";
97const char kBrowserTaskSchedulerDescription[] =
98 "Enables redirection of some task posting APIs to the task scheduler.";
99
Carlos IL766fbc882018-02-16 02:34:52100const char kBundledConnectionHelpName[] = "Bundled Connection Help";
101const char kBundledConnectionHelpDescription[] =
102 "Enables or disables redirecting users who get an interstitial when "
103 "accessing https://support.google.com/chrome/answer/6098869 to local "
104 "connection help content.";
105
Brett Wilsonf27ff602017-07-07 22:28:47106const char kBypassAppBannerEngagementChecksName[] =
107 "Bypass user engagement checks";
108const char kBypassAppBannerEngagementChecksDescription[] =
109 "Bypasses user engagement checks for displaying app banners, such as "
110 "requiring that users have visited the site before and that the banner "
111 "hasn't been shown recently. This allows developers to test that other "
112 "eligibility requirements for showing app banners, such as having a "
113 "manifest, are met.";
114
Lucas Garronb9539b732017-10-31 00:22:09115const char kCommittedInterstitialsName[] = "Committed Interstitials";
116const char kCommittedInterstitialsDescription[] =
117 "Use committed error pages instead of transient navigation entries "
118 "for interstitial error pages (e.g. certificate errors).";
119
Marc Treib026acc532017-10-17 18:39:59120const char kCaptureThumbnailOnNavigatingAwayName[] =
121 "Capture page thumbnail on navigating away";
122const char kCaptureThumbnailOnNavigatingAwayDescription[] =
123 "Capture a page thumbnail (for use on the New Tab page) when navigating "
124 "away from the current page, in addition to other times a thumbnail may be "
125 "captured.";
126
Brett Wilsonf27ff602017-07-07 22:28:47127const char kCastStreamingHwEncodingName[] =
128 "Cast Streaming hardware video encoding";
129const char kCastStreamingHwEncodingDescription[] =
130 "This option enables support in Cast Streaming for encoding video streams "
131 "using platform hardware.";
132
Amber Won478561d2017-08-19 01:02:59133const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
134const char kClickToOpenPDFDescription[] =
135 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
136 "embedded PDFs.";
137
Gary Kacmarcikfb69b212017-11-14 03:41:08138const char kClipboardContentSettingName[] = "Clipboard content setting";
139const char kClipboardContentSettingDescription[] =
140 "Enables a site-wide permission in the UI which controls access to the "
141 "asynchronous clipboard web API";
142
Brett Wilsonf27ff602017-07-07 22:28:47143const char kCloudImportName[] = "Cloud Import";
144const char kCloudImportDescription[] = "Allows the cloud-import feature.";
145
Christopher Cameronceb8727d2017-09-07 23:53:16146const char kForceColorProfileSRGB[] = "sRGB";
147const char kForceColorProfileP3[] = "Display P3 D65";
148const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
149const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
150
151const char kForceColorProfileName[] = "Force color profile";
152const char kForceColorProfileDescription[] =
153 "Forces Chrome to use a specific color profile instead of the color "
154 "of the window's current monitor, as specified by the operating system.";
155
Brett Wilsonf27ff602017-07-07 22:28:47156const char kCompositedLayerBordersName[] = "Composited render layer borders";
157const char kCompositedLayerBordersDescription[] =
158 "Renders a border around composited Render Layers to help debug and study "
159 "layer compositing.";
160
Theresa Wellington39f634e12018-01-17 01:42:51161const char kContextualSuggestionsAboveArticlesName[] =
162 "Enable Contextual Suggestions Above Articles";
163const char kContextualSuggestionsAboveArticlesDescription[] =
164 "If enabled, shows contextual suggestions in a linear list above "
165 "article suggestions.";
166
Brett Wilsonf27ff602017-07-07 22:28:47167const char kContextualSuggestionsCarouselName[] =
Theresa Wellington39f634e12018-01-17 01:42:51168 "Enable Contextual Suggestions Carousel";
Brett Wilsonf27ff602017-07-07 22:28:47169const char kContextualSuggestionsCarouselDescription[] =
170 "If enabled, shows contextual suggestions in a horizontal carousel in "
171 "bottom sheet content.";
172
173const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
174const char kCreditCardAssistDescription[] =
175 "Enable assisted credit card filling on certain sites.";
176
177const char kCrossProcessGuestViewIsolationName[] =
178 "Cross process frames for guests";
179const char kCrossProcessGuestViewIsolationDescription[] =
180 "Highly experimental where guests such as <webview> are implemented on "
181 "the out-of-process iframe infrastructure.";
182
Thanh Le659cb102017-12-20 22:00:19183const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
184const char kDataSaverServerPreviewsDescription[] =
185 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47186
187const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
188const char kDatasaverPromptDescription[] =
189 "Enables a prompt, which appears when a cellular network connection is "
190 "detected, to take the user to the Data Saver extension page on Chrome Web "
191 "Store.";
192const char kDatasaverPromptDemoMode[] = "Demo mode";
193
194const char kDebugPackedAppName[] = "Debugging for packed apps";
195const char kDebugPackedAppDescription[] =
196 "Enables debugging context menu options such as Inspect Element for packed "
197 "applications.";
198
199const char kDefaultTileHeightName[] = "Default tile height";
200const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
201const char kDefaultTileHeightShort[] = "128";
202const char kDefaultTileHeightTall[] = "256";
203const char kDefaultTileHeightGrande[] = "512";
204const char kDefaultTileHeightVenti[] = "1024";
205
206const char kDefaultTileWidthName[] = "Default tile width";
207const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
208const char kDefaultTileWidthShort[] = "128";
209const char kDefaultTileWidthTall[] = "256";
210const char kDefaultTileWidthGrande[] = "512";
211const char kDefaultTileWidthVenti[] = "1024";
212
213const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
214const char kDebugShortcutsDescription[] =
215 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
216
217const char kDeviceDiscoveryNotificationsName[] =
218 "Device Discovery Notifications";
219const char kDeviceDiscoveryNotificationsDescription[] =
220 "Device discovery notifications on local network.";
221
222const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
223const char kDevtoolsExperimentsDescription[] =
224 "Enables Developer Tools experiments. Use Settings panel in Developer "
225 "Tools to toggle individual experiments.";
226
227const char kDisableAudioForDesktopShareName[] =
228 "Disable Audio For Desktop Share";
229const char kDisableAudioForDesktopShareDescription[] =
230 "With this flag on, desktop share picker window will not let the user "
231 "choose whether to share audio.";
232
Brett Wilsonf27ff602017-07-07 22:28:47233const char kDisableTabForDesktopShareName[] =
234 "Disable Desktop Share with tab source";
235const char kDisableTabForDesktopShareDescription[] =
236 "This flag controls whether users can choose a tab for desktop share.";
237
238const char kDisallowDocWrittenScriptsUiName[] =
239 "Block scripts loaded via document.write";
240const char kDisallowDocWrittenScriptsUiDescription[] =
241 "Disallows fetches for third-party parser-blocking scripts inserted into "
242 "the main frame via document.write.";
243
Brett Wilsonf27ff602017-07-07 22:28:47244const char kDistanceFieldTextName[] = "Distance field text";
245const char kDistanceFieldTextDescription[] =
246 "Text is rendered with signed distance fields rather than bitmap alpha "
247 "masks.";
248
249const char kDriveSearchInChromeLauncherName[] =
250 "Drive Search in Chrome App Launcher";
251const char kDriveSearchInChromeLauncherDescription[] =
252 "Files from Drive will show up when searching the Chrome App Launcher.";
253
Brett Wilsonf27ff602017-07-07 22:28:47254const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
255 "Smart Lock Bluetooth Low Energy Discovery";
256const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07257 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47258 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
259 "phone is in its proximity.";
260
Gustavo Sacomotofb11164f2017-07-21 12:56:18261const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
262const char kEasyUnlockPromotionsDescription[] =
263 "Enables Smart Lock promotions. Promotions will be periodically display "
264 "if the user is eligible.";
265
Brett Wilsonf27ff602017-07-07 22:28:47266const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
267const char kEmbeddedExtensionOptionsDescription[] =
268 "Display extension options as an embedded element in chrome://extensions "
269 "rather than opening a new tab.";
270
271const char kEnableAsmWasmName[] =
272 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
273const char kEnableAsmWasmDescription[] =
274 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
275 R"*(WebAssembly.)*";
276
Shanfeng Zhang19c16562017-10-17 02:30:40277const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
278 "Credit card autofill ablation experiment.";
279const char kEnableAutofillCreditCardAblationExperimentDescription[] =
280 "If enabled, credit card autofill suggestions will not display.";
281
Shanfeng Zhang18f58352018-01-05 19:22:49282const char kEnableAutofillCreditCardDropdownGooglePayBrandingName[] =
283 "Show the Google Pay logo in the Autofill credit card dropdown";
284const char kEnableAutofillCreditCardDropdownGooglePayBrandingDescription[] =
285 "If enabled, shows the Google Pay logo in the Autofill credit card "
286 "dropdown.";
287
Brett Wilsonf27ff602017-07-07 22:28:47288const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
289 "Display the last used date of a credit card in autofill.";
290const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
291 "If enabled, display the last used date of a credit card in autofill.";
292
293const char kEnableAutofillCreditCardUploadCvcPromptName[] =
294 "Enable requesting missing CVC during Autofill credit card upload";
295const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
296 "If enabled, requests missing CVC when offering to upload credit cards to "
297 "Google Payments.";
298
Jared Saula3d51862018-01-12 02:51:09299const char kEnableAutofillCreditCardUploadGooglePayBrandingName[] =
Jared Saul8d2fb4442018-01-22 21:20:16300 "Enable Google Pay branding when offering credit card upload";
Jared Saula3d51862018-01-12 02:51:09301const char kEnableAutofillCreditCardUploadGooglePayBrandingDescription[] =
Jared Saul8d2fb4442018-01-22 21:20:16302 "If enabled, shows the Google Pay logo, a shorter header message, and a "
303 "narrower dialog when credit card upload to Google Payments is offered.";
Jared Saula3d51862018-01-12 02:51:09304
Jared Saul1e4786a2017-12-14 01:43:09305const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
306 "Always send metadata on detected form values for Autofill credit card "
307 "upload";
308const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
309 "If enabled, always checks with Google Payments when deciding whether to "
310 "offer credit card upload, even if some data is missing.";
311
Jared Saul5c2a1482017-12-09 00:24:31312const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
313 "Send first six digits of PAN when deciding whether to offer Autofill "
314 "credit card upload";
315const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
316 "If enabled, when deciding whether to offer credit card upload to Google "
317 "Payments, sends the first six digits of the card number to avoid cases "
318 "where card upload is likely to fail.";
319
Jason Guo71f621e2017-10-13 04:18:53320const char kEnableAutofillSendBillingCustomerNumberName[] =
321 "Enable autofill sending billing customer number when calling Google "
322 "Payments";
323const char kEnableAutofillSendBillingCustomerNumberDescription[] =
324 "If enabled, autofill sends billing customer number when calling Google "
325 "Payments.";
326
Shanfeng Zhang18f58352018-01-05 19:22:49327const char kEnableAutofillUseNewSettingsNameInDropdownName[] =
328 "Show a new Autofill settings string in the Autofill dropdown";
329const char kEnableAutofillUseNewSettingsNameInDropdownDescription[] =
330 "If enabled, shows a new Autofill settings string in the Autofill "
331 "dropdown.";
332
tmartinocd414732018-02-12 19:01:01333const char kEnableAutofillNativeDropdownViewsName[] =
334 "Display Autofill Dropdown Using Views";
335const char kEnableAutofillNativeDropdownViewsDescription[] =
336 "If enabled, the Autofill Dropdown will be built natively using Views, "
337 "rather than painted directly to a canvas.";
338
Vitalii Iarko4f9834ce2017-08-04 07:05:19339const char kEnableBreakingNewsPushName[] = "Breaking News Push";
340const char kEnableBreakingNewsPushDescription[] =
341 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
342 "through Google Cloud Messaging.";
343
Brett Wilsonf27ff602017-07-07 22:28:47344const char kEnableBrotliName[] = "Brotli Content-Encoding.";
345const char kEnableBrotliDescription[] =
346 "Enable Brotli Content-Encoding support.";
347
Qiang Xu0f602fe62017-12-22 01:31:20348const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
349const char kEnableCaptivePortalRandomUrlDescription[] =
350 "Enable Captive Portal URL randomization.";
351
sclittle50e4bb92017-07-08 02:23:03352const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
353
354const char kEnableClientLoFiDescription[] =
355 "Enable showing low fidelity images on some pages on slow networks.";
356
Doug Arnett08b4067b2017-10-12 20:14:44357const char kEnableNoScriptPreviewsName[] = "NoScript previews";
358
359const char kEnableNoScriptPreviewsDescription[] =
360 "Enable disabling JavaScript on some pages on slow networks.";
361
Thanh Le2c279fbc2017-11-21 01:25:40362const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
363const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
364const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
365const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
366const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
367const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
368const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
369const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
370const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
371const char kDataReductionProxyServerAlternative10[] =
372 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47373const char kEnableDataReductionProxyServerExperimentName[] =
374 "Use an alternative Data Saver back end configuration.";
375const char kEnableDataReductionProxyServerExperimentDescription[] =
376 "Enable a different approach to saving data by configuring the back end "
377 "server";
378
379const char kEnableDataReductionProxySavingsPromoName[] =
380 "Data Saver 1 MB Savings Promo";
381const char kEnableDataReductionProxySavingsPromoDescription[] =
382 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
383 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
384 "enabled for the promo to be shown.";
385
Matt Giucad4870432017-11-24 01:04:38386const char kEnableDesktopPWAsName[] = "Desktop PWAs";
387const char kEnableDesktopPWAsDescription[] =
388 "Experimental windowing and install banner treatment for Progressive Web "
389 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17390
Ahmed Fakhry0037de02018-01-29 19:58:31391const char kEnableDockedMagnifierName[] = "Docked Magnifier";
392const char kEnableDockedMagnifierDescription[] =
393 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
394
Brett Wilsonf27ff602017-07-07 22:28:47395const char kEnableEnumeratingAudioDevicesName[] =
396 "Experimentally enable enumerating audio devices.";
397const char kEnableEnumeratingAudioDevicesDescription[] =
398 "Experimentally enable the use of enumerating audio devices.";
399
400const char kEnableGenericSensorName[] = "Generic Sensor";
401const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25402 "Enables motion sensor classes based on Generic Sensor API, i.e. "
403 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
404 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
405
406const char kEnableGenericSensorExtraClassesName[] =
407 "Generic Sensor Extra Classes";
408const char kEnableGenericSensorExtraClassesDescription[] =
409 "Enables an extra set of sensor classes based on Generic Sensor API, which "
410 "expose previously unavailable platform features, i.e. AmbientLightSensor "
411 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47412
Brett Wilsonf27ff602017-07-07 22:28:47413const char kEnableHDRName[] = "HDR mode";
414const char kEnableHDRDescription[] =
415 "Enables HDR support on compatible displays.";
416
417const char kEnableHeapProfilingName[] = "Heap profiling";
418const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
419const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
420const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
421const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
422
423const char kEnableHttpFormWarningName[] =
424 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15425 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47426const char kEnableHttpFormWarningDescription[] =
427 "Attaches a warning UI to any password or credit card fields detected when "
428 "the top-level page is not HTTPS";
429
Sidney San Martín9375b892017-09-09 00:29:54430const char kEnableMacMaterialDesignDownloadShelfName[] =
431 "Enable Material Design download shelf";
432
433const char kEnableMacMaterialDesignDownloadShelfDescription[] =
434 "If enabled, the download shelf uses Material Design.";
435
Tatiana Gornakafb40452017-07-31 13:50:04436const char kEnableManualFallbacksFillingName[] =
437 "Manual fallbacks for password manager forms filling";
438const char kEnableManualFallbacksFillingDescription[] =
439 "If enabled, then if user clicks on the password field on a form, popup "
440 "might contain generation fallbacks or 'Show all saved passwords' "
441 "fallback.";
442
vabr0215a8e2017-03-28 12:47:34443const char kEnableMaterialDesignBookmarksName[] =
444 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34445const char kEnableMaterialDesignBookmarksDescription[] =
446 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
447 "bookmarks page.";
448
vabr0215a8e2017-03-28 12:47:34449const char kEnableMaterialDesignExtensionsName[] =
450 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34451const char kEnableMaterialDesignExtensionsDescription[] =
452 "If enabled, the chrome://extensions/ URL loads the Material Design "
453 "extensions page.";
454
Anton Urusov47cd4932017-09-19 14:41:41455const char kEnablePolicyToolName[] = "Enable policy management page";
456const char kEnablePolicyToolDescription[] =
457 "If enabled, the chrome://policy-tool URL loads a page for managing "
458 "policies.";
459
Tsuyoshi Horoea7edb72017-11-12 04:14:00460const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
461const char kEnablePWAFullCodeCacheDescription[] =
462 "Generate V8 code cache in Cache Storage while installing Service Worker "
463 "for PWAs.";
464
Weidong Guof1e5a892018-01-06 02:26:39465const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28466 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39467const char kDisableMultiMirroringDescription[] =
468 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28469
Brett Wilsonf27ff602017-07-07 22:28:47470const char kEnableNavigationTracingName[] = "Enable navigation tracing";
471const char kEnableNavigationTracingDescription[] =
472 "This is to be used in conjunction with the trace-upload-url flag. "
473 "WARNING: When enabled, Chrome will record performance data for every "
474 "navigation and upload it to the URL specified by the trace-upload-url "
475 "flag. The trace may include personally identifiable information (PII) "
476 "such as the titles and URLs of websites you visit.";
477
Bernhard Bauer5533f9912017-11-06 17:56:02478const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
479const char kEnableNetworkLoggingToFileDescription[] =
480 "Enables network logging to a file named netlog.json in the user data "
481 "directory. The file can be imported into chrome://net-internals.";
482
Brett Wilsonf27ff602017-07-07 22:28:47483const char kEnableNetworkServiceName[] = "Enable network service";
484const char kEnableNetworkServiceDescription[] =
485 "Enables the network service, which makes network requests through a "
486 "separate service. Note: most features don't work with this yet.";
487
John Abd-El-Malek8067cc02017-12-04 23:23:20488const char kEnableNetworkServiceInProcessName[] =
489 "Runs network service in-process";
490const char kEnableNetworkServiceInProcessDescription[] =
491 "Runs the network service in the browser process.";
492
dpapaded8349472017-10-25 03:21:27493const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
494const char kEnableNewPrintPreviewDescription[] =
495 "If enabled, Print Preview will display a newer UI";
496
Ahmed Fakhry2fd8fc82017-07-28 16:31:12497const char kEnableNightLightName[] = "Enable Night Light";
498const char kEnableNightLightDescription[] =
499 "Enable the Night Light feature which controls the color temperature of "
500 "the screen.";
501
xlou8b56f672018-02-09 23:34:30502const char kEnableNupPrintingName[] = "Enable N-up printing";
503const char kEnableNupPrintingDescription[] =
504 "Enable N-up printing in the print preview panel.";
505
Sophie Chang117a3b22017-10-24 22:25:36506const char kEnableOptimizationHintsName[] = "Optimization Hints";
507const char kEnableOptimizationHintsDescription[] =
508 "Enable the Optimization Hints feature which incorporates server hints"
509 "into decisions for what optimizations to perform on some pages on slow "
510 "networks.";
511
Yutaka Hirano98be3272017-08-07 17:55:39512const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
513const char kEnableOutOfBlinkCORSDescription[] =
514 "CORS handling logic is moved out of blink.";
515
kylechar7051c092018-02-05 20:31:39516const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
517const char kVizDisplayCompositorDescription[] =
518 "If enabled, the display compositor runs as part of the viz service in the"
519 "GPU process.";
520
Erik Chen49bbfa22017-08-18 08:49:56521const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23522 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56523const char kEnableOutOfProcessHeapProfilingDescription[] =
524 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19525 "malloced objects. Heap dumps can be obtained at chrome://tracing "
526 "[category:memory-infra] and chrome://memory-internals. This setting "
527 "controls which processes are profiled. As long as this setting is not "
528 "disabled, users can start profiling any given process in "
529 "chrome://memory-internals.";
530const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
531const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
532const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
533const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
534const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10535const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19536 "None by default. Visit chrome://memory-internals to choose which "
537 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15538const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
539 "Profile a random sampling of renderer processes, ensuring only one is "
540 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19541
Erik Chen8bb76b52017-12-06 19:06:25542const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19543 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25544const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
545 "By default, small allocations are pruned from the heap dump. This reduces "
546 "the size of the compressed trace by 100x. If pruning is disabled, the "
547 "chrome://tracing UI may be unable to take or load the trace. Save the "
548 "trace directly using chrome://memory-internals, and use other mechanisms "
549 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
550 "automatically uploaded traces will always be pruned. This only affects "
551 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56552
erikchen8bc20d82018-02-14 03:21:51553const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
554const char kOutOfProcessHeapProfilingSamplingDescription[] =
555 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22556 "10000. This results in low noise for large and/or frequent allocations ["
557 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
558 "total size of malloc-ed objects] and large and/or frequent allocations "
559 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51560
Erik Chen3303fd0232018-01-11 20:29:05561const char kOOPHPStackModeName[] =
562 "The type of stack to record for memlog heap dumps";
563const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19564 "By default, memlog heap dumps record native stacks, which requires a "
565 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55566 "pointers to work on Android. Native with thread names will add the thread "
567 "name as the first frame of each native stack. It's also possible to "
568 "record a pseudo stack using trace events as identifiers. It's also "
569 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19570const char kOOPHPStackModeMixed[] = "Mixed";
571const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55572const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19573const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05574
François Beaufort2e75f492018-02-08 20:44:46575const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47576const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46577 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47578
F#m59d036e2017-09-13 07:22:17579const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
580const char kEnablePixelCanvasRecordingDescription[] =
581 "Pixel canvas recording allows the compositor to raster contents aligned "
582 "with the pixel and improves text rendering. This should be enabled when a "
583 "device is using fractional scale factor.";
584
Brett Wilsonf27ff602017-07-07 22:28:47585const char kEnableTokenBindingName[] = "Token Binding.";
586const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
587
Sahel Sharifyd732ab12017-11-29 23:03:16588extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
589 "Wheel Scroll Latching.";
590extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
591 "Wheel scroll latching enforces latching to a single element for the "
592 "duration of a scroll sequence.";
593
Brett Wilsonf27ff602017-07-07 22:28:47594const char kEnableUseZoomForDsfName[] =
595 "Use Blink's zoom for device scale factor.";
596const char kEnableUseZoomForDsfDescription[] =
597 "If enabled, Blink uses its zooming mechanism to scale content for device "
598 "scale factor.";
599const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
600const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
601const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
602
603const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
604const char kEnableScrollAnchoringDescription[] =
605 "Adjusts scroll position to prevent visible jumps when offscreen content "
606 "changes.";
607
Patrick Noland8ee016e2018-01-24 11:44:53608const char kEnableScrollAnchorSerializationName[] =
609 "Scroll Anchor Serialization";
610const char kEnableScrollAnchorSerializationDescription[] =
611 "Save the scroll anchor and use it to restore the scroll position when "
612 "navigating.";
613
Brad Nelson5cd500e2018-01-04 00:50:19614const char kEnableSharedArrayBufferName[] =
615 "Experimental enabled SharedArrayBuffer support in JavaScript.";
616const char kEnableSharedArrayBufferDescription[] =
617 "Enable SharedArrayBuffer support in JavaScript.";
618
Brett Wilsonf27ff602017-07-07 22:28:47619const char kEnableWasmName[] = "WebAssembly structured cloning support.";
620const char kEnableWasmDescription[] =
621 "Enable web pages to use WebAssembly structured cloning.";
622
Brett Wilsonf27ff602017-07-07 22:28:47623const char kEnableImageCaptureAPIName[] = "Image Capture API";
624const char kEnableImageCaptureAPIDescription[] =
625 "Enables the Web Platform Image Capture API: takePhoto(), "
626 "getPhotoCapabilities(), etc.";
627
628const char kEnableZeroSuggestRedirectToChromeName[] =
629 "Experimental contextual omnibox suggestion";
630const char kEnableZeroSuggestRedirectToChromeDescription[] =
631 "Change omnibox contextual suggestions to an experimental source. Note "
632 "that this is not an on/off switch for contextual omnibox and it only "
633 "applies to suggestions provided before the user starts typing a URL or a "
634 "search query (i.e. zero suggest).";
635
636const char kEnableWasmStreamingName[] =
637 "WebAssembly streaming compile/instantiate support.";
638const char kEnableWasmStreamingDescription[] =
639 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
640
Brett Wilsonf27ff602017-07-07 22:28:47641const char kExpensiveBackgroundTimerThrottlingName[] =
642 "Throttle expensive background timers";
643const char kExpensiveBackgroundTimerThrottlingDescription[] =
644 "Enables intervention to limit CPU usage of background timers to 1%.";
645
646const char kExperimentalAppBannersName[] = "Experimental app banners";
647const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38648 "Enables a new experimental app banner flow and UI. Implies "
649 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47650
651const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
652const char kExperimentalCanvasFeaturesDescription[] =
653 "Enables the use of experimental canvas features which are still in "
654 "development.";
655
Nicholas Verneccd8259802018-02-22 01:22:04656const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
657const char kExperimentalCrostiniUIDescription[] =
658 "Enables in-development Crostini features.";
659
Brett Wilsonf27ff602017-07-07 22:28:47660const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
661const char kExperimentalExtensionApisDescription[] =
662 "Enables experimental extension APIs. Note that the extension gallery "
663 "doesn't allow you to upload extensions that use experimental APIs.";
664
665const char kExperimentalFullscreenExitUIName[] =
666 "Experimental fullscreen exit UI";
667const char kExperimentalFullscreenExitUIDescription[] =
668 "Displays experimental UI to allow mouse and touch input methods to exit "
669 "fullscreen mode.";
670
Brett Wilsonf27ff602017-07-07 22:28:47671const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
672const char kExperimentalKeyboardLockUiDescription[] =
673 "An experimental full screen with keyboard lock mode requiring users to "
674 "hold Esc to exit.";
675
676const char kExperimentalSecurityFeaturesName[] =
677 "Potentially annoying security features";
678const char kExperimentalSecurityFeaturesDescription[] =
679 "Enables several security features that will likely break one or more "
680 "pages that you visit on a daily basis. Strict mixed content checking, for "
681 "example. And locking powerful features to secure contexts. This flag will "
682 "probably annoy you.";
683
684const char kExperimentalWebPlatformFeaturesName[] =
685 "Experimental Web Platform features";
686const char kExperimentalWebPlatformFeaturesDescription[] =
687 "Enables experimental Web Platform features that are in development.";
688
689const char kExtensionContentVerificationName[] =
690 "Extension Content Verification";
691const char kExtensionContentVerificationDescription[] =
692 "This flag can be used to turn on verification that the contents of the "
693 "files on disk for extensions from the webstore match what they're "
694 "expected to be. This can be used to turn on this feature if it would not "
695 "otherwise have been turned on, but cannot be used to turn it off (because "
696 "this setting can be tampered with by malware).";
697const char kExtensionContentVerificationBootstrap[] =
698 "Bootstrap (get expected hashes, but do not enforce them)";
699const char kExtensionContentVerificationEnforce[] =
700 "Enforce (try to get hashes, and enforce them if successful)";
701const char kExtensionContentVerificationEnforceStrict[] =
702 "Enforce strict (hard fail if we can't get hashes)";
703
704const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
705const char kExtensionsOnChromeUrlsDescription[] =
706 "Enables running extensions on chrome:// URLs, where extensions explicitly "
707 "request this permission.";
galinapae72e152017-05-12 13:12:28708
Brett Wilsonecb80982017-07-12 20:34:51709const char kFastUnloadName[] = "Fast tab/window close";
710const char kFastUnloadDescription[] =
711 "Enables fast tab/window closing - runs a tab's onunload js handler "
712 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34713
Brett Wilsonecb80982017-07-12 20:34:51714const char kFeaturePolicyName[] = "Feature Policy";
715const char kFeaturePolicyDescription[] =
716 "Enables granting and removing access to features through the "
717 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34718
Brett Wilsonecb80982017-07-12 20:34:51719const char kFontCacheScalingName[] = "FontCache scaling";
720const char kFontCacheScalingDescription[] =
721 "Reuse a cached font in the renderer to serve different sizes of font for "
722 "faster layout.";
723
724const char kForceEffectiveConnectionTypeName[] =
725 "Override effective connection type";
726const char kForceEffectiveConnectionTypeDescription[] =
727 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30728 "returned by the network quality estimator. Slow 2G on Cellular returns "
729 "Slow 2G when connected to a cellular network, and the actual estimate "
730 "effective connection type when not on a cellular network. Previews are "
731 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51732const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
733const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
734const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30735const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
736 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51737const char kEffectiveConnectionType2GDescription[] = "2G";
738const char kEffectiveConnectionType3GDescription[] = "3G";
739const char kEffectiveConnectionType4GDescription[] = "4G";
740
741const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
742const char kFillOnAccountSelectDescription[] =
743 "Filling of passwords when an account is explicitly selected by the user "
744 "rather than autofilling credentials on page load.";
745
Brett Wilsonecb80982017-07-12 20:34:51746const char kForceTextDirectionName[] = "Force text direction";
747const char kForceTextDirectionDescription[] =
748 "Explicitly force the per-character directionality of UI text to "
749 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
750 "direction of the character language.";
751const char kForceDirectionLtr[] = "Left-to-right";
752const char kForceDirectionRtl[] = "Right-to-left";
753
754const char kForceUiDirectionName[] = "Force UI direction";
755const char kForceUiDirectionDescription[] =
756 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
757 "mode, overriding the default direction of the UI language.";
758
759const char kFramebustingName[] =
760 "Framebusting requires same-origin or a user gesture";
761const char kFramebustingDescription[] =
762 "Don't permit an iframe to navigate the top level browsing context unless "
763 "they are same-origin or the iframe is processing a user gesture.";
764
765const char kGamepadExtensionsName[] = "Gamepad Extensions";
766const char kGamepadExtensionsDescription[] =
767 "Enabling this option allows web applications to access experimental "
768 "extensions to the Gamepad APIs.";
769
Brett Wilsonecb80982017-07-12 20:34:51770const char kGpuRasterizationMsaaSampleCountName[] =
771 "GPU rasterization MSAA sample count.";
772const char kGpuRasterizationMsaaSampleCountDescription[] =
773 "Specify the number of MSAA samples for GPU rasterization.";
774const char kGpuRasterizationMsaaSampleCountZero[] = "0";
775const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
776const char kGpuRasterizationMsaaSampleCountFour[] = "4";
777const char kGpuRasterizationMsaaSampleCountEight[] = "8";
778const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
779
780const char kGpuRasterizationName[] = "GPU rasterization";
781const char kGpuRasterizationDescription[] =
782 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28783const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51784
785const char kGoogleProfileInfoName[] = "Google profile name and icon";
786const char kGoogleProfileInfoDescription[] =
787 "Enables using Google information to populate the profile name and icon in "
788 "the avatar menu.";
789
790const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
791const char kHarfbuzzRendertextDescription[] =
792 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
793 "web content.";
794
795const char kHistoryRequiresUserGestureName[] =
796 "New history entries require a user gesture.";
797const char kHistoryRequiresUserGestureDescription[] =
798 "Require a user gesture to add a history entry.";
799const char kHyperlinkAuditingName[] = "Hyperlink auditing";
800const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
801
802const char kHostedAppQuitNotificationName[] =
803 "Quit notification for hosted apps";
804const char kHostedAppQuitNotificationDescription[] =
805 "Display a notification when quitting Chrome if hosted apps are currently "
806 "running.";
807
808const char kHostedAppShimCreationName[] =
809 "Creation of app shims for hosted apps on Mac";
810const char kHostedAppShimCreationDescription[] =
811 "Create app shims on Mac when creating a hosted app.";
812
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48813const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
814const char kHtmlBasedUsernameDetectorDescription[] =
815 "Use HTML-based username detector for the password manager.";
816
Brett Wilsonecb80982017-07-12 20:34:51817const char kIconNtpName[] = "Large icons on the New Tab page";
818const char kIconNtpDescription[] =
819 "Enable the experimental New Tab page using large icons.";
820
821const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
822const char kIgnoreGpuBlacklistDescription[] =
823 "Overrides the built-in software rendering list and enables "
824 "GPU-acceleration on unsupported system configurations.";
825
Thanh Le5f090efa52017-12-27 22:39:44826const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
827const char kIgnorePreviewsBlacklistDescription[] =
828 "Ignore decisions made by the PreviewsBlackList";
829
Brett Wilsonecb80982017-07-12 20:34:51830const char kImportantSitesInCbdName[] =
831 "Important sites options in clear browsing data dialog";
832const char kImportantSitesInCbdDescription[] =
833 "Include the option to whitelist important sites in the clear browsing "
834 "data dialog.";
835
Claudio Magni61c210922017-12-28 00:29:51836const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
837const char kImprovedLanguageSettingsDescription[] =
838 "Set of changes for Language Settings. These changes are intended to fix "
839 "the major bugs related to Language Settings.";
840
Brett Wilsonecb80982017-07-12 20:34:51841const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
842const char kInProductHelpDemoModeChoiceDescription[] =
843 "Selects the In-Product Help demo mode.";
844
845const char kJavascriptHarmonyName[] = "Experimental JavaScript";
846const char kJavascriptHarmonyDescription[] =
847 "Enable web pages to use experimental JavaScript features.";
848
849const char kJavascriptHarmonyShippingName[] =
850 "Latest stable JavaScript features";
851const char kJavascriptHarmonyShippingDescription[] =
852 "Some web pages use legacy or non-standard JavaScript extensions that may "
853 "conflict with the latest JavaScript features. This flag allows disabling "
854 "support of those features for compatibility with such pages.";
855
Yutaka Hiranof7f2f632017-09-06 10:40:08856const char kKeepAliveRendererForKeepaliveRequestsName[] =
857 "Keep a renderer alive for keepalive fetch requests";
858const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
859 "Keep a render process alive when the process has a pending fetch request "
860 "with `keepalive' specified.";
861
Joe Downing095fd6d2018-02-01 18:40:36862const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
863const char kKeyboardLockApiDescription[] =
864 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
865 "specific key events and have them routed directly to the webpage when in "
866 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
867
Brett Wilsonecb80982017-07-12 20:34:51868const char kLcdTextName[] = "LCD text antialiasing";
869const char kLcdTextDescription[] =
870 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
871 "(subpixel) when doing accelerated compositing.";
872
Matt Giucac399982f2017-10-06 07:51:29873const char kLeftToRightUrlsName[] =
874 "Render bidirectional URLs from left to right";
875const char kLeftToRightUrlsDescription[] =
876 "An experimental Bidi URL rendering algorithm where the URL components are "
877 "always shown in order from left to right, regardless of any RTL "
878 "characters. (The contents of each component are still rendered with the "
879 "normal Bidi algorithm.)";
880
Brett Wilsonecb80982017-07-12 20:34:51881const char kLoadMediaRouterComponentExtensionName[] =
882 "Load Media Router Component Extension";
883const char kLoadMediaRouterComponentExtensionDescription[] =
884 "Loads the Media Router component extension at startup.";
885
886const char kManualPasswordGenerationName[] = "Manual password generation.";
887const char kManualPasswordGenerationDescription[] =
888 "Show a 'Generate Password' option on the context menu for all password "
889 "fields.";
890
Dominic Battref27e8762017-08-23 11:16:25891const char kManualPasswordSavingName[] = "Manual password saving.";
892const char kManualPasswordSavingDescription[] =
893 "Show the password manager icon when typing into a password filed. "
894 "Clicking it allows to save the password without submitting the form.";
895
Brett Wilsonecb80982017-07-12 20:34:51896const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
897const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51898
Lei Zhang2eca9082017-10-17 20:42:50899const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
900const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51901 "If enabled, the Incognito New Tab page uses the new material design with "
902 "a better readable text.";
903
904const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
905const char kMediaRemotingDescription[] =
906 "When Casting a tab to a remote device, enabling this turns on an "
907 "optimization that forwards the content bitstream directly to the remote "
908 "device when a video is fullscreened.";
909
910const char kMemoryAblationName[] = "Memory ablation experiment";
911const char kMemoryAblationDescription[] =
912 "Allocates extra memory in the browser process.";
913
914const char kMemoryCoordinatorName[] = "Memory coordinator";
915const char kMemoryCoordinatorDescription[] =
916 "Enable memory coordinator instead of memory pressure listeners.";
917
918const char kMessageCenterNewStyleNotificationName[] = "New style notification";
919const char kMessageCenterNewStyleNotificationDescription[] =
920 "Enables the experiment style of material-design notification";
921
Brett Wilsonecb80982017-07-12 20:34:51922const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
923const char kMhtmlGeneratorOptionDescription[] =
924 "Provides experimental options for MHTML file generator.";
925const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
926const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
927
Kouhei Ueno08445c22017-09-05 03:58:30928const char kModuleScriptsDynamicImportName[] =
929 "Enable ECMAScript 6 modules dynamic import";
930const char kModuleScriptsDynamicImportDescription[] =
931 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
932 "Blink.";
933
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05934const char kModuleScriptsImportMetaUrlName[] =
935 "Enable ECMAScript 6 modules import.meta.url";
936const char kModuleScriptsImportMetaUrlDescription[] =
937 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
938 "Blink.";
939
Brett Wilsonecb80982017-07-12 20:34:51940const char kNewAudioRenderingMixingStrategyName[] =
941 "New audio rendering mixing strategy";
942const char kNewAudioRenderingMixingStrategyDescription[] =
943 "Use the new audio rendering mixing strategy.";
944
945const char kNewBookmarkAppsName[] = "The new bookmark app system";
946const char kNewBookmarkAppsDescription[] =
947 "Enables the new system for creating bookmark apps.";
948
Brett Wilsonecb80982017-07-12 20:34:51949const char kNewRemotePlaybackPipelineName[] =
950 "Enable the new remote playback pipeline.";
951const char kNewRemotePlaybackPipelineDescription[] =
952 "Enable the new pipeline for playing media element remotely via "
953 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:50954const char kUseSurfaceLayerForVideoName[] =
955 "Enable the use of SurfaceLayer objects for videos.";
956const char kUseSurfaceLayerForVideoDescription[] =
957 "Enable compositing onto a Surface instead of a VideoLayer "
958 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:51959
960const char kNewUsbBackendName[] = "Enable new USB backend";
961const char kNewUsbBackendDescription[] =
962 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34963
brettw5f9c1642017-05-14 17:12:48964const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34965const char kNostatePrefetchDescription[] =
966 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
967 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
968 R"*(improve load times even more. "Simple Load" does nothing and is )*"
969 R"*(similar to disabling the feature, but collects more metrics for )*"
970 R"*(comparison purposes.)*";
971
Brett Wilsonecb80982017-07-12 20:34:51972const char kNotificationsNativeFlagName[] = "Enable native notifications.";
973const char kNotificationsNativeFlagDescription[] =
974 "Enable support for using the native notification toasts and notification "
975 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34976
Zentaro Kavanaghbad511c2017-10-18 22:29:00977#if defined(OS_POSIX)
978const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
979const char kNtlmV2EnabledDescription[] =
980 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
981#endif
982
Brett Wilsonecb80982017-07-12 20:34:51983const char kNumRasterThreadsName[] = "Number of raster threads";
984const char kNumRasterThreadsDescription[] =
985 "Specify the number of raster threads.";
986const char kNumRasterThreadsOne[] = "1";
987const char kNumRasterThreadsTwo[] = "2";
988const char kNumRasterThreadsThree[] = "3";
989const char kNumRasterThreadsFour[] = "4";
990
991const char kOfferStoreUnmaskedWalletCardsName[] =
992 "Google Payments card saving checkbox";
993const char kOfferStoreUnmaskedWalletCardsDescription[] =
994 "Show the checkbox to offer local saving of a credit card downloaded from "
995 "the server.";
996
997const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
998const char kOfflineAutoReloadDescription[] =
999 "Pages that fail to load while the browser is offline will be "
1000 "auto-reloaded when the browser is online again.";
1001
1002const char kOfflineAutoReloadVisibleOnlyName[] =
1003 "Only Auto-Reload Visible Tabs";
1004const char kOfflineAutoReloadVisibleOnlyDescription[] =
1005 "Pages that fail to load while the browser is offline will only be "
1006 "auto-reloaded if their tab is visible.";
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kOmniboxDisplayTitleForCurrentUrlName[] =
1009 "Include title for the current URL in the omnibox";
1010const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1011 "In the event that the omnibox provides suggestions on-focus, the URL of "
1012 "the current page is provided as the first suggestion without a title. "
1013 "Enabling this flag causes the title to be displayed.";
1014
Benoit Lizeab08362c2017-07-19 14:50:541015const char kOmniboxSpareRendererName[] =
1016 "Start spare renderer on omnibox focus";
1017const char kOmniboxSpareRendererDescription[] =
1018 "When the omnibox is focused, start an empty spare renderer. This can "
1019 "speed up the load of the navigation from the omnibox.";
1020
Tommy C. Li8875a442017-08-23 00:10:591021const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1022 "Omnibox UI Elide Suggestion URL After Host";
1023const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1024 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1025 "dropdown.";
1026
Tommy C. Lid79d4402017-12-22 22:49:121027const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1028 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1029const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1030 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1031 "displayed URLs. Hidden portions are restored during editing.";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kOmniboxUIHideSuggestionUrlSchemeName[] =
1034 "Omnibox UI Hide Suggestion URL Scheme";
1035const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
1036 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
1037
1038const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
1039 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
1040const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
1041 "Elides trivially informative subdomains from suggested URLs in the "
1042 "Omnibox dropdown (e.g. www. and m.).";
1043
1044const char kOmniboxUIMaxAutocompleteMatchesName[] =
1045 "Omnibox UI Max Autocomplete Matches";
1046
1047const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1048 "Changes the maximum number of autocomplete matches displayed in the "
1049 "Omnibox UI.";
1050
1051const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1052const char kOmniboxUINarrowDropdownDescription[] =
1053 "Makes the suggestions dropdown width match the omnibox width.";
1054
Justin Donnelly65c9e8b2017-10-01 05:15:011055const char kOmniboxUIShowSuggestionFaviconsName[] =
1056 "Omnibox UI Show Suggestion Favicons";
1057const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1058 "Shows favicons instead of generic vector icons for URL suggestions in the "
1059 "Omnibox dropdown.";
1060
1061const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1062const char kOmniboxUISwapTitleAndUrlDescription[] =
1063 "In the omnibox dropdown, shows titles before URLs when both are "
1064 "available.";
1065
Brett Wilsonecb80982017-07-12 20:34:511066const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
1067const char kOmniboxUIVerticalLayoutDescription[] =
1068 "Displays Omnibox sugestions in 2 lines - title over origin.";
1069
1070const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1071const char kOmniboxUIVerticalMarginDescription[] =
1072 "Changes the vertical margin in the Omnibox UI.";
1073
Troy Hildebrandtb32637ca2018-02-21 23:25:091074const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1075 "Omnibox Voice Search Always Visible";
1076const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1077 "Always displays voice search icon in focused omnibox as long as voice "
1078 "search is possible";
1079
Brett Wilsonecb80982017-07-12 20:34:511080const char kOriginTrialsName[] = "Origin Trials";
1081const char kOriginTrialsDescription[] =
1082 "Enables origin trials for controlling access to feature/API experiments.";
1083
Becca Hughes930d8cd2017-10-02 11:09:121084const char kOverflowIconsForMediaControlsName[] =
1085 "Icons on Media Controls Overflow Menu";
1086const char kOverflowIconsForMediaControlsDescription[] =
1087 "Displays icons on the overflow menu of the native media controls";
1088
Brett Wilsonecb80982017-07-12 20:34:511089const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1090const char kOverlayScrollbarsDescription[] =
1091 "Enable the experimental overlay scrollbars implementation. You must also "
1092 "enable threaded compositing to have the scrollbars animate.";
1093
chaopenge8aa016b2017-08-24 15:20:191094const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1095 "Flash Overlay Scrollbars After Any Scroll Update";
1096const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1097 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1098 " must also enable Overlay Scrollbars.";
1099
chaopeng343678022017-08-24 18:45:001100const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1101 "Flash Overlay Scrollbars When Mouse Enter";
1102const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1103 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1104 " enable Overlay Scrollbars.";
1105
Claudio Magni81326f92017-09-01 05:21:181106const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1107const char kUseNewAcceptLanguageHeaderDescription[] =
1108 "Adds the base language code after other corresponding language+region "
1109 "codes. This ensures that users receive content in their preferred "
1110 "language.";
1111
Brett Wilsonecb80982017-07-12 20:34:511112const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1113const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481114 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511115const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481116const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511117
1118const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1119const char kOverscrollStartThresholdDescription[] =
1120 "Changes overscroll start threshold relative to the default value.";
1121const char kOverscrollStartThreshold133Percent[] = "133%";
1122const char kOverscrollStartThreshold166Percent[] = "166%";
1123const char kOverscrollStartThreshold200Percent[] = "200%";
1124
Xing Liu5400a002017-09-15 21:48:291125const char kParallelDownloadingName[] = "Parallel downloading";
1126const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061127 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291128
Brett Wilsonecb80982017-07-12 20:34:511129const char kPassiveEventListenerDefaultName[] =
1130 "Passive Event Listener Override";
1131const char kPassiveEventListenerDefaultDescription[] =
1132 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1133 "haven't requested otherwise) to be treated as passive. This will break "
1134 "touch/wheel behavior on some websites but is useful for demonstrating the "
1135 "potential performance benefits of adopting passive event listeners.";
1136const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1137const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1138
1139const char kPassiveEventListenersDueToFlingName[] =
1140 "Touch Event Listeners Passive Default During Fling";
1141const char kPassiveEventListenersDueToFlingDescription[] =
1142 "Forces touchstart, and first touchmove per scroll event listeners during "
1143 "fling to be treated as passive.";
1144
1145const char kPassiveDocumentEventListenersName[] =
1146 "Document Level Event Listeners Passive Default";
1147const char kPassiveDocumentEventListenersDescription[] =
1148 "Forces touchstart, and touchmove event listeners on document level "
1149 "targets (which haven't requested otherwise) to be treated as passive.";
1150
1151const char kPasswordForceSavingName[] = "Force-saving of passwords";
1152const char kPasswordForceSavingDescription[] =
1153 "Allow the user to manually enforce password saving instead of relying on "
1154 "password manager's heuristics.";
1155
1156const char kPasswordGenerationName[] = "Password generation";
1157const char kPasswordGenerationDescription[] =
1158 "Allow the user to have Chrome generate passwords when it detects account "
1159 "creation pages.";
1160
Vaclav Brozekd8a3f542017-11-16 14:21:131161const char kPasswordExportName[] = "Password export";
1162const char kPasswordExportDescription[] =
1163 "Export functionality in password settings.";
1164
1165const char kPasswordImportName[] = "Password import";
1166const char kPasswordImportDescription[] =
1167 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511168
Friedrich Horschig03c91982018-01-25 14:21:281169const char kPasswordSearchMobileName[] = "Password search";
1170const char kPasswordSearchMobileDescription[] =
1171 "Search functionality in password settings.";
1172
Brett Wilsonecb80982017-07-12 20:34:511173const char kPermissionActionReportingName[] = "Permission Action Reporting";
1174const char kPermissionActionReportingDescription[] =
1175 "Enables permission action reporting to Safe Browsing servers for opted in "
1176 "users.";
1177
1178const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1179const char kPermissionsBlacklistDescription[] =
1180 "Enables the Permissions Blacklist, which blocks permissions for "
1181 "blacklisted sites for Safe Browsing users.";
1182
1183const char kPinchScaleName[] = "Pinch scale";
1184const char kPinchScaleDescription[] =
1185 "Enables experimental support for scale using pinch.";
1186
Doug Arnett620ff542018-02-06 17:54:221187const char kPreviewsAllowedName[] = "Previews Allowed";
1188const char kPreviewsAllowedDescription[] =
1189 "Allows previews to be shown subject to specific preview types being "
1190 "enabled and the client experiencing specific triggering conditions. "
1191 "May be used as a kill-switch to turn off all potential preview types.";
1192
Brett Wilsonecb80982017-07-12 20:34:511193const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1194const char kPrintPdfAsImageDescription[] =
1195 "If enabled, an option to print PDF files as images will be available in "
1196 "print preview.";
1197
1198const char kPrintPreviewRegisterPromosName[] =
1199 "Print Preview Registration Promos";
1200const char kPrintPreviewRegisterPromosDescription[] =
1201 "Enable registering unregistered cloud printers from print preview.";
1202
1203const char kProtectSyncCredentialName[] = "Autofill sync credential";
1204const char kProtectSyncCredentialDescription[] =
1205 "How the password manager handles autofill for the sync credential.";
1206
1207const char kProtectSyncCredentialOnReauthName[] =
1208 "Autofill sync credential only for transactional reauth pages";
1209const char kProtectSyncCredentialOnReauthDescription[] =
1210 "How the password manager handles autofill for the sync credential only "
1211 "for transactional reauth pages.";
1212
Mohsen Izadi93faac12017-07-29 04:45:151213const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1214const char kPullToRefreshDescription[] =
1215 "Pull-to-refresh gesture in response to vertical overscroll.";
1216
Brett Wilsonecb80982017-07-12 20:34:511217const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1218const char kPushApiBackgroundModeDescription[] =
1219 "Enable background mode for the Push API. This allows Chrome to continue "
1220 "running after the last window is closed, and to launch at OS startup, if "
1221 "the Push API needs it.";
1222
1223const char kQuicName[] = "Experimental QUIC protocol";
1224const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1225
1226const char kReducedReferrerGranularityName[] =
1227 "Reduce default 'referer' header granularity.";
1228const char kReducedReferrerGranularityDescription[] =
1229 "If a page hasn't set an explicit referrer policy, setting this flag will "
1230 "reduce the amount of information in the 'referer' header for cross-origin "
1231 "requests.";
1232
Claudio Magnie0a80bb2018-01-31 02:52:581233extern const char kRegionalLocalesAsDisplayUIName[] =
1234 "Allow regional locales as display UI";
1235extern const char kRegionalLocalesAsDisplayUIDescription[] =
1236 "This flag allows regional locales to be selected as display UI by the "
1237 "user in Language Settings. The actual locale of the system is derived "
1238 "from the user selection based on some simple fallback logic.";
1239
Christian Dullweber1af31e62018-02-22 11:49:481240const char kRemoveNavigationHistoryName[] =
Ian Clelland445beb12018-02-22 17:14:021241 "Remove navigation entries on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481242const char kRemoveNavigationHistoryDescription[] =
1243 "Remove a navigation entry when the corresponding history entry has been "
1244 "deleted.";
1245
Mihai Sardarescu6d0f5b72017-10-30 11:24:381246const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1247 "Remove usage of the deprecated GAIA sign-in endpoint";
1248const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1249 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1250 "This flags controls wheter it should no longer be used during a sign-in "
1251 " flow.";
1252
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351253const char kRendererSideResourceSchedulerName[] =
1254 "Renderer side ResourceScheduler";
1255const char kRendererSideResourceSchedulerDescription[] =
1256 "Migrate some ResourceScheduler functionalities to renderer";
1257
Brett Wilsonecb80982017-07-12 20:34:511258const char kRequestTabletSiteName[] =
1259 "Request tablet site option in the settings menu";
1260const char kRequestTabletSiteDescription[] =
1261 "Allows the user to request tablet site. Web content is often optimized "
1262 "for tablet devices. When this option is selected the user agent string is "
1263 "changed to indicate a tablet device. Web content optimized for tablets is "
1264 "received there after for the current tab.";
1265
1266const char kResetAppListInstallStateName[] =
1267 "Reset the App Launcher install state on every restart.";
1268const char kResetAppListInstallStateDescription[] =
1269 "Reset the App Launcher install state on every restart. While this flag is "
1270 "set, Chrome will forget the launcher has been installed each time it "
1271 "starts. This is used for testing the App Launcher install flow.";
1272
1273const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1274const char kResourceLoadSchedulerDescription[] =
1275 "Uses the resource load scheduler in blink to schedule and throttle "
1276 "resource load requests.";
1277
Brett Wilsonecb80982017-07-12 20:34:511278const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1279const char kSafeSearchUrlReportingDescription[] =
1280 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1281
Alexei Filippov98772752018-01-27 08:26:521282const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1283const char kSamplingHeapProfilerDescription[] =
1284 "Enables native memory sampling profiler with specified rate in KiB. "
1285 "If sampling rate is not provided the default value of 128 KiB is used.";
1286
Brett Wilsonecb80982017-07-12 20:34:511287const char kSaveasMenuLabelExperimentName[] =
1288 "Switch 'Save as' menu labels to 'Download'";
1289const char kSaveasMenuLabelExperimentDescription[] =
1290 "Enables an experiment to switch menu labels that use 'Save as...' to "
1291 "'Download'.";
1292
1293const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1294const char kSavePageAsMhtmlDescription[] =
1295 "Enables saving pages as MHTML: a single text file containing HTML and all "
1296 "sub-resources.";
1297
Nate Chapin9638e7102017-09-20 22:11:011298const char kSavePreviousDocumentResourcesName[] =
1299 "Save Previous Document Resources";
1300const char kSavePreviousDocumentResourcesDescription[] =
1301 "Saves an old document's cached resources until the specified point in the "
1302 "next document's lifecycle.";
1303const char kSavePreviousDocumentResourcesNever[] =
1304 "Don't explicitly save resources";
1305const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1306 "Save resources until onDOMContentLoaded completes";
1307const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1308 "Save resources until onload completes";
1309
Brett Wilsonecb80982017-07-12 20:34:511310const char kScrollPredictionName[] = "Scroll prediction";
1311const char kScrollPredictionDescription[] =
1312 "Predicts the finger's future position during scrolls allowing time to "
1313 "render the frame before the finger is there.";
1314
1315const char kSecondaryUiMd[] =
1316 "Material Design in the rest of the browser's native UI";
1317const char kSecondaryUiMdDescription[] =
1318 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1319 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1320 "browser dialogs.";
1321
1322const char kServiceWorkerNavigationPreloadName[] =
1323 "Service worker navigation preload.";
1324const char kServiceWorkerNavigationPreloadDescription[] =
1325 "Enable web pages to use the experimental service worker navigation "
1326 "preload API.";
1327
gogeraldd5061b592017-09-06 23:39:551328const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1329const char kServiceWorkerPaymentAppsDescription[] =
1330 "Enable Service Worker applications to integrate as payment apps";
1331
Makoto Shimazu22078cc2018-02-21 03:01:441332extern const char kServiceWorkerServicificationName[] =
1333 "Servicified service workers";
1334extern const char kServiceWorkerServicificationDescription[] =
1335 "Enable the servicified service workers. A servicified service worker can "
1336 "have direct connection from its clients, so that fetch events can be "
1337 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171338
Tsuyoshi Horobcb1c642017-11-24 16:32:141339const char kServiceWorkerScriptFullCodeCacheName[] =
1340 "Service worker script full code cache.";
1341const char kServiceWorkerScriptFullCodeCacheDescription[] =
1342 "Generate V8 full code cache of Service Worker scripts while installing.";
1343
Brett Wilsonecb80982017-07-12 20:34:511344const char kSettingsWindowName[] = "Show settings in a window";
1345const char kSettingsWindowDescription[] =
1346 "Settings will be shown in a dedicated window instead of as a browser tab.";
1347
Trent Apted750ba7022017-10-23 13:36:251348const char kShowAllDialogsWithViewsToolkitName[] =
1349 "Show all dialogs with Views toolkit";
1350const char kShowAllDialogsWithViewsToolkitDescription[] =
1351 "All browser dialogs will be shown using the Views toolkit rather than "
1352 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1353
Brett Wilsonecb80982017-07-12 20:34:511354const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1355const char kShowAutofillSignaturesDescription[] =
1356 "Annotates web forms with Autofill signatures as HTML attributes.";
1357
1358const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1359const char kShowAutofillTypePredictionsDescription[] =
1360 "Annotates web forms with Autofill field type predictions as placeholder "
1361 "text.";
1362
1363const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1364const char kShowOverdrawFeedbackDescription[] =
1365 "Visualize overdraw by color-coding elements based on if they have other "
1366 "elements drawn underneath.";
1367
yiyixbdfa9a0b2017-10-23 22:21:471368const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1369const char kEnableDrawOcclusionDescription[] =
1370 "Enable the system to use draw occlusion to skip draw quads when they are "
1371 "not shown on the screen.";
1372
Brett Wilsonecb80982017-07-12 20:34:511373const char kShowSavedCopyName[] = "Show Saved Copy Button";
1374const char kShowSavedCopyDescription[] =
1375 "When a page fails to load, if a stale copy of the page exists in the "
1376 "browser cache, a button will be presented to allow the user to load that "
1377 "stale copy. The primary enabling choice puts the button in the most "
1378 "salient position on the error page; the secondary enabling choice puts it "
1379 "secondary to the reload button.";
1380const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1381const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1382const char kDisableShowSavedCopy[] = "Disable";
1383
Brett Wilsonecb80982017-07-12 20:34:511384const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1385const char kSilentDebuggerExtensionApiDescription[] =
1386 "Do not show the infobar when an extension attaches to a page via "
1387 "chrome.debugger API. This is required to debug extension background "
1388 "pages.";
1389
1390const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1391const char kSimpleCacheBackendDescription[] =
1392 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1393 "disk space allocation.";
1394
1395const char kSimplifiedFullscreenUiName[] =
1396 "Simplified full screen / mouse lock UI.";
1397const char kSimplifiedFullscreenUiDescription[] =
1398 "A simplified new user experience when entering page-triggered full screen "
1399 "or mouse pointer lock states.";
1400
Christopher Thompson75ff845d2018-02-01 20:12:461401const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1402const char kSimplifyHttpsIndicatorDescription[] =
1403 "Change the UI treatment for HTTPS pages.";
1404
Brett Wilsonecb80982017-07-12 20:34:511405const char kSingleClickAutofillName[] = "Single-click autofill";
1406const char kSingleClickAutofillDescription[] =
1407 "Make autofill suggestions on initial mouse click on a form element.";
1408
Brett Wilsonecb80982017-07-12 20:34:511409const char kSitePerProcessName[] = "Strict site isolation";
1410const char kSitePerProcessDescription[] =
Nasko Oskov6042073fe2017-12-08 20:35:171411 "Experimental security mode that ensures each renderer process "
Brett Wilsonecb80982017-07-12 20:34:511412 "contains pages from at most one site. In this mode, out-of-process "
1413 "iframes will be used whenever an iframe is cross-site.";
1414
1415const char kSiteSettings[] = "Site settings with All sites and Site details";
1416const char kSiteSettingsDescription[] =
1417 "Adds new ways of viewing Site settings.";
1418
Brett Wilsonecb80982017-07-12 20:34:511419const char kSmoothScrollingName[] = "Smooth Scrolling";
1420const char kSmoothScrollingDescription[] =
1421 "Animate smoothly when scrolling page content.";
1422
1423const char kSoftwareRasterizerName[] = "3D software rasterizer";
1424const char kSoftwareRasterizerDescription[] =
1425 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1426
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201427const char kSoleIntegrationName[] = "Sole integration";
1428const char kSoleIntegrationDescription[] =
1429 "Enable Sole integration for browser customization. You must restart "
1430 "the browser twice for changes to take effect.";
1431
Tommy Steimel77704be2017-08-28 22:14:401432const char kSoundContentSettingName[] = "Sound content setting";
1433const char kSoundContentSettingDescription[] =
1434 "Enable site-wide muting in content settings and tab strip context menu.";
1435
Alexandr Ilinf0500ed32017-09-27 21:12:361436const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1437const char kSpeculativePreconnectDescription[] =
1438 "Enable the new implementation of preconnect and DNS preresolve. "
1439 "\"Learning\" means that only database construction is enabled, "
1440 "\"Preconnect\" enables both learning and preconnect and disables the "
1441 "existing implementation. \"No preconnect\" disables both implementations.";
1442
Brett Wilsonecb80982017-07-12 20:34:511443const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341444const char kSpeculativePrefetchDescription[] =
1445 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1446 R"*(load times, based on a local database (see chrome://predictors). )*"
1447 R"*("Learning" means that only the database construction is enabled, )*"
1448 R"*("Prefetching" that learning and prefetching are enabled.)*";
1449
Justin Donnelly4e448cb2017-07-07 21:32:131450const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1451 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131452const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1453 "If enabled, when the user enters text in the omnibox that looks like a "
1454 "a query, any service worker associated with the search engine the query "
1455 "will be sent to is started early.";
1456
Brett Wilsonecb80982017-07-12 20:34:511457const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1458const char kSpellingFeedbackFieldTrialDescription[] =
1459 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401460
Shubhie Panickerfaf082ed2018-01-03 04:49:151461const char kStopInBackgroundName[] = "Stop in background";
1462const char kStopInBackgroundDescription[] =
1463 "Stop scheduler task queues, in the background, "
1464 " after certain grace time.";
1465
1466const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1467const char kStopLoadingInBackgroundDescription[] =
1468 "Stop loading tasks and loading "
1469 "resources, in the background, after certain grace time.";
1470
Brett Wilsonecb80982017-07-12 20:34:511471const char kSuggestionsWithSubStringMatchName[] =
1472 "Substring matching for Autofill suggestions";
1473const char kSuggestionsWithSubStringMatchDescription[] =
1474 "Match Autofill suggestions based on substrings (token prefixes) rather "
1475 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341476
Brett Wilsonecb80982017-07-12 20:34:511477const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1478const char kSyncSandboxDescription[] =
1479 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341480
Brett Wilsonecb80982017-07-12 20:34:511481const char kTabAudioMutingName[] = "Tab audio muting UI control";
1482const char kTabAudioMutingDescription[] =
1483 "When enabled, the audio indicators in the tab strip double as tab audio "
1484 "mute controls. This also adds commands in the tab context menu for "
1485 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341486
Christian Dullweberd0d96f02017-09-13 09:22:511487const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1488const char kTabsInCbdDescription[] =
1489 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1490
Becky Zhou99c22802017-10-19 05:09:271491const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1492const char kTabModalJsDialogDescription[] =
1493 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1494 " tab.";
1495
Brett Wilsonecb80982017-07-12 20:34:511496const char kTcpFastOpenName[] = "TCP Fast Open";
1497const char kTcpFastOpenDescription[] =
1498 "Enable the option to send extra authentication information in the initial "
1499 "SYN packet for a previously connected client, allowing faster data send "
1500 "start.";
vabr0215a8e2017-03-28 12:47:341501
Daniele Castagna0fead93e2018-01-10 20:40:291502const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1503const char kTintGlCompositedContentDescription[] =
1504 "Tint contents composited using GL with a shade of red to help debug and "
1505 "study overlay support.";
1506
Brett Wilsonecb80982017-07-12 20:34:511507const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1508const char kTopChromeMdDescription[] =
1509 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1510const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531511const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511512const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341513
Brett Wilsonecb80982017-07-12 20:34:511514const char kThreadedScrollingName[] = "Threaded scrolling";
1515const char kThreadedScrollingDescription[] =
1516 "Threaded handling of scroll-related input events. Disabling this will "
1517 "force all such scroll events to be handled on the main thread. Note that "
1518 "this can dramatically hurt scrolling performance of most websites and is "
1519 "intended for testing purposes only.";
1520
Steven Valdez4584b2482017-07-14 01:11:571521const char kTLS13VariantName[] = "TLS 1.3";
1522const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1523const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111524const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041525const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571526
Brett Wilsonecb80982017-07-12 20:34:511527const char kTopDocumentIsolationName[] = "Top document isolation";
1528const char kTopDocumentIsolationDescription[] =
1529 "Highly experimental performance mode where cross-site iframes are kept in "
1530 "a separate process from the top document. In this mode, iframes from "
1531 "different third-party sites will be allowed to share a process.";
1532
Dominick Ng8896b1cd2017-10-17 23:24:361533const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1534const char kTopSitesFromSiteEngagementDescription[] =
1535 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1536 "engagement.";
1537
Brett Wilsonecb80982017-07-12 20:34:511538const char kTouchAdjustmentName[] = "Touch adjustment";
1539const char kTouchAdjustmentDescription[] =
1540 "Refine the position of a touch gesture in order to compensate for touches "
1541 "having poor resolution compared to a mouse.";
1542
1543const char kTouchDragDropName[] = "Touch initiated drag and drop";
1544const char kTouchDragDropDescription[] =
1545 "Touch drag and drop can be initiated through long press on a draggable "
1546 "element.";
1547
1548const char kTouchEventsName[] = "Touch Events API";
1549const char kTouchEventsDescription[] =
1550 "Force Touch Events API feature detection to always be enabled or "
1551 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291552 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511553
1554const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1555const char kTouchSelectionStrategyDescription[] =
1556 "Controls how text selection granularity changes when touch text selection "
1557 "handles are dragged. Non-default behavior is experimental.";
1558const char kTouchSelectionStrategyCharacter[] = "Character";
1559const char kTouchSelectionStrategyDirection[] = "Direction";
1560
1561const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1562const char kTraceUploadUrlDescription[] =
1563 "This is to be used in conjunction with the enable-navigation-tracing "
1564 "flag. Please select the label that best describes the recorded traces. "
1565 "This will choose the destination the traces are uploaded to. If you are "
1566 "not sure, select other. If left empty, no traces will be uploaded.";
1567const char kTraceUploadUrlChoiceOther[] = "Other";
1568const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1569const char kTraceUploadUrlChoiceQa[] = "QA";
1570const char kTraceUploadUrlChoiceTesting[] = "Testing";
1571
Philippe Hamel7fdaa452017-09-29 17:22:491572const char kTranslateRankerEnforcementName[] =
1573 "Enforce TranslateRanker decisions";
1574const char kTranslateRankerEnforcementDescription[] =
1575 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1576 "or not Translate UI should be triggered in a given context.";
1577
Brett Wilsonecb80982017-07-12 20:34:511578const char kTrySupportedChannelLayoutsName[] =
1579 "Causes audio output streams to check if channel layouts other than the "
1580 "default hardware layout are available.";
1581const char kTrySupportedChannelLayoutsDescription[] =
1582 "Causes audio output streams to check if channel layouts other than the "
1583 "default hardware layout are available. Turning this on will allow the OS "
1584 "to do stereo to surround expansion if supported. May expose third party "
1585 "driver bugs, use with caution.";
1586
David Roger6762a092018-01-31 15:55:071587const char kUnifiedConsentName[] = "Unified Consent";
1588const char kUnifiedConsentDescription[] =
1589 "Enables a unified management of user consent for privacy-related "
1590 "features. This includes new confirmation screens and improved settings "
1591 "pages.";
1592
Brett Wilsonecb80982017-07-12 20:34:511593const char kUiPartialSwapName[] = "Partial swap";
1594const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1595
Chris Pickel3a227ae62017-08-24 10:47:261596const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1597const char kUseDdljsonApiDescription[] =
1598 "Enables the new ddljson API to fetch Doodles for the NTP.";
1599
Becca Hughes59c05b42017-11-03 13:11:581600const char kUseModernMediaControlsName[] = "New Media Controls";
1601const char kUseModernMediaControlsDescription[] =
1602 "Enables the new style native media controls.";
1603
Mustaq Ahmedc646c0a2017-10-20 20:08:301604const char kUserActivationV2Name[] = "User Activation v2";
1605const char kUserActivationV2Description[] =
1606 "Enable simple user activation for APIs that are otherwise controlled by "
1607 "user gesture tokens.";
1608
Brett Wilsonecb80982017-07-12 20:34:511609const char kUserConsentForExtensionScriptsName[] =
1610 "User consent for extension scripts";
1611const char kUserConsentForExtensionScriptsDescription[] =
1612 "Require user consent for an extension running a script on the page, if "
1613 "the extension requested permission to run on all urls.";
1614
1615const char kUseSuggestionsEvenIfFewFeatureName[] =
1616 "Disable minimum for server-side tile suggestions on NTP.";
1617const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1618 "Request server-side suggestions even if there are only very few of them "
1619 "and use them for tiles on the New Tab Page.";
1620
1621const char kV8CacheOptionsName[] = "V8 caching mode.";
1622const char kV8CacheOptionsDescription[] =
1623 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511624const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1625
Hitoshi Yoshida3e5db562017-09-11 02:31:081626const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1627const char kV8ContextSnapshotDescription[] =
1628 "Sets to use a snapshot to create V8 contexts in frame creation.";
1629
Michael Hablich896d52662017-10-23 15:59:571630const char kV8VmFutureName[] = "Future V8 VM features";
1631const char kV8VmFutureDescription[] =
1632 "This enables upcoming and experimental V8 VM features. "
1633 "This flag does not enable experimental JavaScript features.";
1634
Brett Wilsonecb80982017-07-12 20:34:511635const char kVibrateRequiresUserGestureName[] =
1636 "Requiring user gesture for the Vibration API";
1637const char kVibrateRequiresUserGestureDescription[] =
1638 "Block the Vibration API if no user gesture has been received on the frame "
1639 "or any embedded frame.";
1640
1641const char kVideoFullscreenOrientationLockName[] =
1642 "Lock screen orientation when playing a video fullscreen.";
1643const char kVideoFullscreenOrientationLockDescription[] =
1644 "Lock the screen orientation of the device to match video orientation when "
1645 "a video goes fullscreen. Only on phones.";
1646
1647const char kVideoRotateToFullscreenName[] =
1648 "Rotate-to-fullscreen gesture for videos.";
1649const char kVideoRotateToFullscreenDescription[] =
1650 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1651 "the video. Only on phones.";
1652
1653const char kWalletServiceUseSandboxName[] =
1654 "Use Google Payments sandbox servers";
1655const char kWalletServiceUseSandboxDescription[] =
1656 "For developers: use the sandbox service for Google Payments API calls.";
1657
Brett Wilsonecb80982017-07-12 20:34:511658const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1659const char kWebglDraftExtensionsDescription[] =
1660 "Enabling this option allows web applications to access the WebGL "
1661 "Extensions that are still in draft status.";
1662
1663const char kWebMidiName[] = "Web MIDI API";
1664const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1665
1666const char kWebPaymentsName[] = "Web Payments";
1667const char kWebPaymentsDescription[] =
1668 "Enable Web Payments API integration, a JavaScript API for merchants.";
1669
Mathieu Perreault51339b82017-07-20 17:06:051670const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1671const char kWebPaymentsModifiersDescription[] =
1672 "If the website provides modifiers in the payment request, show the custom "
1673 "total for each payment instrument, update the shopping cart when "
1674 "instruments are switched, and send modified payment method specific data "
1675 "to the payment app.";
1676
Brett Wilsonecb80982017-07-12 20:34:511677const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1678const char kWebrtcEchoCanceller3Description[] =
1679 "Experimental WebRTC echo canceller (AEC3).";
1680
1681const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1682const char kWebrtcHwDecodingDescription[] =
1683 "Support in WebRTC for decoding video streams using platform hardware.";
1684
1685const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1686const char kWebrtcHwEncodingDescription[] =
1687 "Support in WebRTC for encoding video streams using platform hardware.";
1688
1689const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1690const char kWebrtcHwH264EncodingDescription[] =
1691 "Support in WebRTC for encoding h264 video streams using platform "
1692 "hardware.";
1693
1694const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1695const char kWebrtcHwVP8EncodingDescription[] =
1696 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1697
Niels Möller090866a2018-02-13 10:55:031698const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1699 "WebRTC new encode cpu load estimator";
1700const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1701 "Enable new estimator for the encoder cpu load, for evaluation and "
1702 "testing. Intended to improve accuracy when screen casting.";
1703
Brett Wilsonecb80982017-07-12 20:34:511704const char kWebrtcSrtpAesGcmName[] =
1705 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1706const char kWebrtcSrtpAesGcmDescription[] =
1707 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1708
Joachim Bauch4a41d7512017-08-23 14:24:231709const char kWebrtcSrtpEncryptedHeadersName[] =
1710 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1711const char kWebrtcSrtpEncryptedHeadersDescription[] =
1712 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1713 "for SRTP.";
1714
Brett Wilsonecb80982017-07-12 20:34:511715const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1716const char kWebrtcStunOriginDescription[] =
1717 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1718 "header.";
1719
1720const char kWebvrName[] = "WebVR";
1721const char kWebvrDescription[] =
David Dorwin5a496c32017-11-17 01:45:051722 "Allow web applications to access experimental "
Brandon Jonese9d9b2b2017-12-11 22:20:111723 "Virtual Reality functionality via the WebVR 1.1 API. This feature will "
1724 "eventually be replaced by the WebXR Device API. Warning: Enabling this "
1725 "will also allow WebVR content on insecure origins to access these "
1726 "powerful APIs, and may pose a security risk.";
Brett Wilsonecb80982017-07-12 20:34:511727
Brandon Jonese9d9b2b2017-12-11 22:20:111728const char kWebXrName[] = "WebXR Device API";
1729const char kWebXrDescription[] =
1730 "Allow web applications to access experimental APIs to interact with "
1731 "Virtual Reality (VR) and Augmented Reality (AR) devices.";
1732
Anna Maria57ecf7592018-01-12 03:10:401733const char kWebXrOrientationSensorDeviceName[] =
1734 "WebXR orientation sensor device";
1735const char kWebXrOrientationSensorDeviceDescription[] =
1736 "When no VR platform device is available, expose a non-presenting device "
1737 "based on the device's orientation sensors, if available.";
1738
Brett Wilsonecb80982017-07-12 20:34:511739const char kWifiCredentialSyncName[] = "WiFi credential sync";
1740const char kWifiCredentialSyncDescription[] =
1741 "Enables synchronizing WiFi network settings across devices. When enabled, "
1742 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1743 "credentials are synchronized subject to user preferences. (See also, "
1744 "chrome://settings/syncSetup.)";
1745
1746const char kZeroCopyName[] = "Zero-copy rasterizer";
1747const char kZeroCopyDescription[] =
1748 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341749
Brett Wilsonff596952017-07-14 01:06:551750// Android ---------------------------------------------------------------------
1751
1752#if defined(OS_ANDROID)
1753
1754const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1755const char kAiaFetchingDescription[] =
1756 "Enable intermediate certificate fetching when a server does not provide "
1757 "sufficient certificates to build a chain to a trusted root.";
1758
1759const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1760const char kAccessibilityTabSwitcherDescription[] =
1761 "Enable the accessibility tab switcher for Android.";
1762
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251763const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1764const char kAllowReaderForAccessibilityDescription[] =
1765 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1766
Brett Wilsonff596952017-07-14 01:06:551767const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1768const char kAndroidAutofillAccessibilityDescription[] =
1769 "Enable accessibility for autofill popup.";
1770
1771const char kAndroidPaymentAppsName[] = "Android payment apps";
1772const char kAndroidPaymentAppsDescription[] =
1773 "Enable third party Android apps to integrate as payment apps";
1774
Miriam Gershenson8cf1397222018-01-23 22:48:291775const char kAsyncDnsName[] = "Async DNS resolver";
1776const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1777
Brett Wilsonff596952017-07-14 01:06:551778const char kAutofillAccessoryViewName[] =
1779 "Autofill suggestions as keyboard accessory view";
1780const char kAutofillAccessoryViewDescription[] =
1781 "Shows Autofill suggestions on top of the keyboard rather than in a "
1782 "dropdown.";
1783
1784const char kBackgroundLoaderForDownloadsName[] =
1785 "Enables background downloading of pages.";
1786const char kBackgroundLoaderForDownloadsDescription[] =
1787 "Enables downloading pages in the background in case page is not yet "
1788 "loaded in current tab.";
1789
Matthew Jones6c1f5e22018-02-06 18:19:531790const char kChromeDuplexName[] = "Chrome Duplex";
1791const char kChromeDuplexDescription[] =
1792 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051793
1794const char kChromeHomeBottomNavLabelsName[] =
1795 "Chrome Home bottom navigation menu item labels.";
1796const char kChromeHomeBottomNavLabelsDescription[] =
1797 "Enables text labels for Chrome Home bottom navigation menu items.";
1798
1799const char kChromeHomeClearUrlOnOpenName[] = "Chrome Home clear url on open";
1800const char kChromeHomeClearUrlOnOpenDescription[] =
1801 "Clear omnibox URL when the bottom sheet is opened.";
1802
Daniel Park825a16f32017-12-08 00:44:261803const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1804const char kChromeHomeEnableSurveyDescription[] =
1805 "If enabled, the survey process will allow surveys using sample "
1806 "parameters.";
1807
Theresa Wellingtonb9243b22017-12-01 16:23:051808const char kChromeHomeInactivitySheetExpansionName[] =
1809 "Expansion of Chrome Home bottom sheet on startup";
1810const char kChromeHomeInactivitySheetExpansionDescription[] =
1811 "Expand bottom sheet on startup in Chrome Home after a period of"
1812 " inactivity.";
1813
Matthew Joneseab91aa2017-12-19 16:12:421814const char kChromeHomeMenuItemsName[] =
1815 "Show bookmarks, downloads, and history menu items in Chrome Home";
1816const char kChromeHomeMenuItemsDescription[] =
1817 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1818 " when Chrome Home is enabled. These items will open the bottom sheet to"
1819 " show the desired content.";
1820
Theresa Wellingtonc4cff8a12017-11-28 04:13:181821const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1822const char kChromeHomePersistentIphDescription[] =
1823 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1824 "toolbar or a timer expires.";
1825
Theresa Wellingtondd71c5c2017-10-02 15:50:381826const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1827 "Chrome Home Personalized Omnibox Suggestions";
1828const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1829 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1830
Theresa Wellington13977c832017-12-13 16:59:111831const char kChromeHomePullToRefreshIphAtTopName[] =
1832 "Chrome Home Pull-To-Refresh Iph At Top";
1833const char kChromeHomePullToRefreshIphAtTopDescription[] =
1834 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1835
Theresa Wellington306c4cdc2017-12-07 16:43:081836const char kChromeHomeShowGoogleGName[] = "Chrome Home Show Google G";
1837const char kChromeHomeShowGoogleGDescription[] =
1838 "Show the Google G when the url is cleared. The flag to clear the url "
1839 "when the sheet is opened must also be set.";
1840
Brett Wilsonff596952017-07-14 01:06:551841const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1842const char kChromeHomeSwipeLogicDescription[] =
1843 "Various swipe logic options for Chrome Home for sheet expansion.";
1844const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151845const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551846
Matthew Jones5b7f1d62018-01-23 00:37:251847const char kChromeModernDesignName[] = "Chrome Modern Design";
1848const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451849 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1850 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251851
Megan Jablonskic61eb1b82017-10-02 18:03:061852const char kChromeMemexName[] = "Chrome Memex";
1853const char kChromeMemexDescription[] =
1854 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1855 "Googlers.";
1856
Sarath Singapati83aef1c2017-11-16 15:54:521857const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1858const char kClearOldBrowsingDataDescription[] =
1859 "Enables clearing of browsing data which is older than a given time "
1860 "period.";
1861
Brett Wilsonff596952017-07-14 01:06:551862const char kContentSuggestionsCategoryOrderName[] =
1863 "Default content suggestions category order (e.g. on NTP)";
1864const char kContentSuggestionsCategoryOrderDescription[] =
1865 "Set default order of content suggestion categories (e.g. on the NTP).";
1866
1867const char kContentSuggestionsCategoryRankerName[] =
1868 "Content suggestions category ranker (e.g. on NTP)";
1869const char kContentSuggestionsCategoryRankerDescription[] =
1870 "Set category ranker to order categories of content suggestions (e.g. on "
1871 "the NTP).";
1872
Vitalii Iarkof52ff802017-09-14 12:34:241873const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1874const char kContentSuggestionsDebugLogDescription[] =
1875 "Enable content suggestions debug log accessible through "
1876 "snippets-internals.";
1877
Donn Denman8e58ead2017-11-04 01:44:011878const char kContextualSearchMlTapSuppressionName[] =
1879 "Contextual Search ML tap suppression";
1880const char kContextualSearchMlTapSuppressionDescription[] =
1881 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021882 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1883 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551884
1885const char kContextualSearchName[] = "Contextual Search";
1886const char kContextualSearchDescription[] =
1887 "Whether or not Contextual Search is enabled.";
1888
Donn Denman59729812018-01-09 01:27:021889const char kContextualSearchRankerQueryName[] =
1890 "Contextual Search Ranker prediction";
1891const char kContextualSearchRankerQueryDescription[] =
1892 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1893
1894const char kContextualSearchSecondTapName[] =
1895 "Contextual Search second tap triggering";
1896const char kContextualSearchSecondTapDescription[] =
1897 "Enables triggering on a second tap gesture even when Ranker would "
1898 "normally suppress that tap.";
1899
Dmitry Skiba9c3efa72017-07-20 22:01:141900const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1901const char kDontPrefetchLibrariesDescription[] =
1902 "Don't prefetch libraries after loading.";
1903
Joy Ming5fd29ca62017-10-02 22:51:221904const char kDownloadsForegroundName[] = "Enable downloads foreground";
1905const char kDownloadsForegroundDescription[] =
1906 "Enable downloads as a foreground service for all versions of Android.";
1907
Joy Ming189b0cc2017-12-08 19:42:431908const char kDownloadsLocationChangeName[] = "Enable downloads location change";
1909const char kDownloadsLocationChangeDescription[] =
1910 "Enable changing default downloads storage location on Android.";
1911
Brett Wilsonff596952017-07-14 01:06:551912const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1913const char kEnableAndroidPayIntegrationV1Description[] =
1914 "Enable integration with Android Pay using the first version of the API";
1915
1916const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1917const char kEnableAndroidPayIntegrationV2Description[] =
1918 "Enable integration with Android Pay using the second version of the API";
1919
Vitalii Iarkof4ed32d2017-09-26 13:15:531920const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551921const char kEnableAndroidSpellcheckerDescription[] =
1922 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551923
Vitalii Iarkof4ed32d2017-09-26 13:15:531924const char kEnableContentSuggestionsNewFaviconServerName[] =
1925 "Get favicons for content suggestions from a new server.";
1926const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1927 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1928 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551929
1930const char kEnableContentSuggestionsSettingsName[] =
1931 "Show content suggestions settings.";
1932const char kEnableContentSuggestionsSettingsDescription[] =
1933 "If enabled, the content suggestions settings will be available from the "
1934 "main settings menu.";
1935
Vitalii Iarkof4ed32d2017-09-26 13:15:531936const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1937 "Use content suggestions thumbnail dominant color.";
1938const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1939 "Use content suggestions thumbnail dominant color as a placeholder before "
1940 "the real thumbnail is fetched (requires Chrome Home).";
1941
Brett Wilsonff596952017-07-14 01:06:551942const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1943const char kEnableCustomContextMenuDescription[] =
1944 "Enables a new context menu when a link, image, or video is pressed within "
1945 "Chrome.";
1946
1947const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1948const char kEnableCustomFeedbackUiDescription[] =
1949 "Enables a custom feedback UI when submitting feedback through Google "
1950 "Feedback. Works with Google Play Services v10.2+";
1951
1952const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471953 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551954const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471955 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551956
Brett Wilsonff596952017-07-14 01:06:551957const char kEnableOmniboxClipboardProviderName[] =
1958 "Omnibox clipboard URL suggestions";
1959const char kEnableOmniboxClipboardProviderDescription[] =
1960 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1961 "focus in the omnibox.";
1962
1963const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1964 "Use expanded autofill credit card popup layout.";
1965const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1966 "If enabled, displays autofill credit card popup using expanded layout.";
1967
Becky Zhoua7f11d62018-02-01 16:02:531968const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
1969 "Show article suggestions expandable header on New Tab Page";
1970const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
1971 "If enabled, the article suggestions content on New Tab Page can be "
1972 "toggled shown or hidden by clicking the expandable header.";
1973
Brett Wilsonff596952017-07-14 01:06:551974const char kEnableNtpAssetDownloadSuggestionsName[] =
1975 "Show asset downloads on the New Tab page";
1976const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1977 "If enabled, the list of content suggestions on the New Tab page will "
1978 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1979 "later use.";
1980
1981const char kEnableNtpBookmarkSuggestionsName[] =
1982 "Show recently visited bookmarks on the New Tab page";
1983const char kEnableNtpBookmarkSuggestionsDescription[] =
1984 "If enabled, the list of content suggestions on the New Tab page will "
1985 "contain recently visited bookmarks.";
1986
1987const char kEnableNtpForeignSessionsSuggestionsName[] =
1988 "Show recent foreign tabs on the New Tab page";
1989const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1990 "If enabled, the list of content suggestions on the New Tab page will "
1991 "contain recent foreign tabs.";
1992
Brett Wilsonff596952017-07-14 01:06:551993const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1994 "Show offline page downloads on the New Tab page";
1995const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1996 "If enabled, the list of content suggestions on the New Tab page will "
1997 "contain pages that the user downloaded for later use.";
1998
1999const char kEnableNtpRemoteSuggestionsName[] =
2000 "Show server-side suggestions on the New Tab page";
2001const char kEnableNtpRemoteSuggestionsDescription[] =
2002 "If enabled, the list of content suggestions on the New Tab page will "
2003 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2004 "allows to override the source used to retrieve these server-side "
2005 "suggestions.";
2006
2007const char kEnableNtpSnippetsVisibilityName[] =
2008 "Make New Tab Page Snippets more visible.";
2009const char kEnableNtpSnippetsVisibilityDescription[] =
2010 "If enabled, the NTP snippets will become more discoverable with a larger "
2011 "portion of the first card above the fold.";
2012
2013const char kEnableNtpSuggestionsNotificationsName[] =
2014 "Notify about new content suggestions available at the New Tab page";
2015const char kEnableNtpSuggestionsNotificationsDescription[] =
2016 "If enabled, notifications will inform about new content suggestions on "
2017 "the New Tab page.";
2018
2019const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
2020const char kEnablePhysicalWebDescription[] =
2021 "Enable scanning for URLs from Physical Web objects.";
2022
2023const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2024const char kEnableOfflinePreviewsDescription[] =
2025 "Enable showing offline page previews on slow networks.";
2026
2027const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2028const char kEnableOskOverscrollDescription[] =
2029 "Enable OSK overscroll support. With this flag on, the OSK will only "
2030 "resize the visual viewport.";
2031
2032const char kEnableSpecialLocaleName[] =
2033 "Enable custom logic for special locales.";
2034const char kEnableSpecialLocaleDescription[] =
2035 "Enable custom logic for special locales. In this mode, Chrome might "
2036 "behave differently in some locales.";
2037
Brett Wilsonff596952017-07-14 01:06:552038const char kEnableWebNfcName[] = "WebNFC";
2039const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2040
gogeraldf3cbb422017-07-26 14:37:122041const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2042 "Enable Web Payments method section order V2.";
2043const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2044 "Enable this option to display payment method section above address "
2045 "section instead of below it.";
2046
Brett Wilsonff596952017-07-14 01:06:552047const char kEnableWebPaymentsSingleAppUiSkipName[] =
2048 "Enable Web Payments single app UI skip";
2049const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2050 "Enable Web Payments to skip showing its UI if the developer specifies a "
2051 "single app.";
2052
Raymes Khoury582b43132017-12-12 23:54:302053const char kGrantNotificationsToDSEName[] =
2054 "Grant notifications to the Default Search Engine";
2055const char kGrantNotificationsToDSENameDescription[] =
2056 "Automatically grant the notifications permission to the Default Search "
2057 "Engine";
2058
Brett Wilsonff596952017-07-14 01:06:552059const char kKeepPrefetchedContentSuggestionsName[] =
2060 "Keep prefetched content suggestions";
2061const char kKeepPrefetchedContentSuggestionsDescription[] =
2062 "If enabled, some of prefetched content suggestions are not replaced by "
2063 "the new fetched suggestions.";
2064
Leo Zhang051b75482017-12-20 03:28:302065const char kLanguagesPreferenceName[] = "Language Settings";
2066const char kLanguagesPreferenceDescription[] =
2067 "Enable this option for Language Settings feature on Android.";
2068
Brett Wilsonff596952017-07-14 01:06:552069const char kLsdPermissionPromptName[] =
2070 "Location Settings Dialog Permission Prompt";
2071const char kLsdPermissionPromptDescription[] =
2072 "Whether to use the Google Play Services Location Settings Dialog "
2073 "permission dialog.";
2074
Amirhossein Simjour97b4154f2018-02-20 03:49:592075const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2076const char kModalPermissionDialogViewDescription[] =
2077 "Enable this option to use ModalDialogManager for permission Dialogs.";
2078
Brett Wilsonff596952017-07-14 01:06:552079const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2080const char kMediaScreenCaptureDescription[] =
2081 "Enable this option for experimental ScreenCapture feature on Android.";
2082
2083const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2084const char kModalPermissionPromptsDescription[] =
2085 "Whether to use permission dialogs in place of permission infobars.";
2086
Brett Wilsonff596952017-07-14 01:06:552087const char kNewPhotoPickerName[] = "Enable new Photopicker";
2088const char kNewPhotoPickerDescription[] =
2089 "Activates the new picker for selecting photos.";
2090
2091const char kNoCreditCardAbort[] = "No Credit Card Abort";
2092const char kNoCreditCardAbortDescription[] =
2093 "Whether or not the No Credit Card Abort is enabled.";
2094
2095const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2096const char kNtpCondensedLayoutDescription[] =
2097 "Show a condensed layout on the New Tab Page.";
2098
2099const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2100const char kNtpCondensedTileLayoutDescription[] =
2101 "Show a condensed tile layout on the New Tab Page.";
2102
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062103const char kNtpModernLayoutName[] = "Modern NTP layout";
2104const char kNtpModernLayoutDescription[] =
2105 "Show a modern layout on the New Tab Page.";
2106
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042107const char kSiteExplorationUiName[] = "Site Exploration UI";
2108const char kSiteExplorationUiDescription[] =
2109 "Show site suggestions in the Exploration UI";
2110
Brett Wilsonff596952017-07-14 01:06:552111const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2112const char kNtpGoogleGInOmniboxDescription[] =
2113 "Show a Google G in the omnibox on the New Tab Page.";
2114
Brett Wilsonff596952017-07-14 01:06:552115const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2116const char kOfflineBookmarksDescription[] =
2117 "Enable saving bookmarked pages for offline viewing.";
2118
Brett Wilsonff596952017-07-14 01:06:552119const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2120const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2121
2122const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2123const char kOfflinePagesCtV2Description[] =
2124 "V2 features include attributing pages to the app that initiated the "
2125 "custom tabs, and being able to query for pages by page attribution.";
2126
Carlos Knippschild09272ecd2017-12-09 03:29:362127const char kOfflinePagesLimitlessPrefetchingName[] =
2128 "Removes resource usage limits for the prefetching of offline pages.";
2129const char kOfflinePagesLimitlessPrefetchingDescription[] =
2130 "Allows the prefetching of suggested offline pages to ignore resource "
2131 "usage limits. This allows it to completely ignore data usage limitations "
2132 "and allows downloads to happen with any kind of connection.";
2133
Brett Wilsonff596952017-07-14 01:06:552134const char kOfflinePagesLoadSignalCollectingName[] =
2135 "Enables collecting load timing data for offline page snapshots.";
2136const char kOfflinePagesLoadSignalCollectingDescription[] =
2137 "Enables loading completeness data collection while writing an offline "
2138 "page. This data is collected in the snapshotted offline page to allow "
2139 "data analysis to improve deciding when to make the offline snapshot.";
2140
Candice Sy229768e02017-12-21 00:19:222141const char kOfflinePagesDescriptivePendingStatusName[] =
2142 "Enables descriptive pending download status text.";
2143const char kOfflinePagesDescriptivePendingStatusDescription[] =
2144 "Enables pending download status text in notifications and Downloads Home "
2145 "to state the reason the request is pending.";
2146
Brett Wilsonff596952017-07-14 01:06:552147const char kOfflinePagesPrefetchingName[] =
2148 "Enables suggested offline pages to be prefetched.";
2149const char kOfflinePagesPrefetchingDescription[] =
2150 "Enables suggested offline pages to be prefetched, so useful content is "
2151 "available while offline.";
2152
Cathy Li3d5379e2017-09-07 00:11:092153const char kOfflinePagesPrefetchingUIName[] =
2154 "Enables prefetched offline pages to be shown in UI.";
2155const char kOfflinePagesPrefetchingUIDescription[] =
2156 "Enables prefetched offline pages to raise notifications and be shown in "
2157 "download home UI.";
2158
Pete Williamson7845dff2017-09-20 11:06:192159const char kOfflinePagesResourceBasedSnapshotName[] =
2160 "Enables offline page snapshots to be based on percentage of page loaded.";
2161const char kOfflinePagesResourceBasedSnapshotDescription[] =
2162 "Enables offline page snapshots to use a resource percentage based "
2163 "approach for determining when the page is loaded as opposed to a time "
2164 "based approach";
2165
Collin Baker17f92a52017-07-19 21:41:252166const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2167const char kOfflinePagesRenovationsDescription[] =
2168 "Enables offline page renovations which correct issues with dynamic "
2169 "content that occur when offlining pages that use JavaScript.";
2170
Brett Wilsonff596952017-07-14 01:06:552171const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2172const char kOfflinePagesSharingDescription[] =
2173 "Enables the saved offline pages to be shared via other applications.";
2174
2175const char kOfflinePagesSvelteConcurrentLoadingName[] =
2176 "Enables concurrent background loading on svelte.";
2177const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2178 "Enables concurrent background loading (or downloading) of pages on "
2179 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2180 "happen when the svelte device is idle.";
2181
2182const char kOffliningRecentPagesName[] =
2183 "Enable offlining of recently visited pages";
2184const char kOffliningRecentPagesDescription[] =
2185 "Enable storing recently visited pages locally for offline use. Requires "
2186 "Offline Pages to be enabled.";
2187
Lei Zhang2eca9082017-10-17 20:42:502188const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2189const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552190 "Enable Pay with Google integration into Web Payments with API version "
2191 "'1'.";
2192
Matthew Jonesa88b95852017-11-08 23:13:502193const char kProgressBarThrottleName[] = "Android progress update throttling.";
2194const char kProgressBarThrottleDescription[] =
2195 "Limit the maximum progress update to make progress appear smoother.";
2196
Brett Wilsonff596952017-07-14 01:06:552197const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2198const char kPullToRefreshEffectDescription[] =
2199 "Page reloads triggered by vertically overscrolling content.";
2200
Piotr Swigon7c296ef2017-08-29 04:32:002201const char kPwaImprovedSplashScreenName[] =
2202 "Improved Splash Screen for standalone PWAs";
2203const char kPwaImprovedSplashScreenDescription[] =
2204 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2205 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492206const char kPwaPersistentNotificationName[] =
2207 "Persistent notification in standalone PWA";
2208const char kPwaPersistentNotificationDescription[] =
2209 "Enables a persistent Android notification for standalone PWAs";
2210
Brett Wilsonff596952017-07-14 01:06:552211const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2212const char kReaderModeHeuristicsDescription[] =
2213 "Determines what pages the Reader Mode infobar is shown on.";
2214const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2215const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2216const char kReaderModeHeuristicsAllArticles[] = "All articles";
2217const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2218const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2219
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182220const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2221const char kReaderModeInCCTDescription[] =
2222 "Open Reader Mode in Chrome Custom Tabs.";
2223
Brett Wilsonff596952017-07-14 01:06:552224const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2225const char kSetMarketUrlForTestingDescription[] =
2226 "When enabled, sets the market URL for use in testing the update menu "
2227 "item.";
2228
2229const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2230const char kSpannableInlineAutocompleteDescription[] =
2231 "A new type of inline autocomplete for the omnibox that works with "
2232 "keyboards that compose text.";
2233
Brett Wilsonff596952017-07-14 01:06:552234const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2235const char kUpdateMenuBadgeDescription[] =
2236 "When enabled, an update badge will be shown on the app menu button.";
2237
2238const char kUpdateMenuItemCustomSummaryDescription[] =
2239 "When this flag and the force show update menu item flag are enabled, a "
2240 "custom summary string will be displayed below the update menu item.";
2241const char kUpdateMenuItemCustomSummaryName[] =
2242 "Update menu item custom summary";
2243
2244const char kUpdateMenuItemName[] = "Force show update menu item";
2245const char kUpdateMenuItemDescription[] =
2246 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2247 R"*(menu.)*";
2248
Amirhossein Simjourd78bbcf2018-02-02 16:23:392249const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2250const char kVrBrowsingNativeAndroidUiDescription[] =
2251 "Enable Android UI elements in VR.";
2252
Marc Treib93af46a2017-08-23 13:30:002253const char kThirdPartyDoodlesName[] =
2254 "Enable Doodles for third-party search engines";
2255const char kThirdPartyDoodlesDescription[] =
2256 "Enables fetching and displaying Doodles on the NTP for third-party search "
2257 "engines.";
2258
Klaus Weidneraaf697f2018-01-18 20:07:362259const char kWebXrRenderPathName[] = "WebXR presentation render path";
2260const char kWebXrRenderPathDescription[] =
2261 "Render path to use for WebXR presentation (including WebVR)";
2262const char kWebXrRenderPathChoiceClientWaitDescription[] =
2263 "ClientWait (Baseline)";
2264const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2265 "GpuFence (Android N+)";
2266
Brett Wilson7b44537e2017-08-18 01:38:282267// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552268
Brett Wilson7b44537e2017-08-18 01:38:282269#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482270
Brett Wilson7b44537e2017-08-18 01:38:282271const char kAccountConsistencyName[] =
2272 "Identity consistency between browser and cookie jar";
2273const char kAccountConsistencyDescription[] =
2274 "When enabled, the browser manages signing in and out of Google accounts.";
2275const char kAccountConsistencyChoiceMirror[] = "Mirror";
2276const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342277
Chris Pickel3a227ae62017-08-24 10:47:262278const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2279const char kDoodlesOnLocalNtpDescription[] =
2280 "Show doodles on the local New Tab page if Google is the default search "
2281 "engine.";
2282
mlamouriff56c092017-05-11 15:31:392283const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392284const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342285 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392286const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392287const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392288const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342289 "Enabled (Flash lowers volume when interrupted by other sound, "
2290 "experimental)";
2291
Brett Wilson7b44537e2017-08-18 01:38:282292const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2293const char kEnableNewAppMenuIconDescription[] =
2294 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342295
2296const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342297const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282298 "Enable receiving entity suggestions - disambiguation descriptions - for "
2299 "Omnibox suggestions.";
2300
Dave Schuyler598a4a42018-01-04 02:15:102301const char kOmniboxRichEntitySuggestionsName[] =
2302 "Omnibox rich entity suggestions";
2303const char kOmniboxRichEntitySuggestionsDescription[] =
2304 "Display entity suggestions using images and an enhanced layout; showing "
2305 "more context and descriptive text about the entity";
2306
Kevin Bailey898669972017-11-06 15:34:492307const char kOmniboxTabSwitchSuggestionsName[] =
2308 "Omnibox tab switch suggestions";
2309const char kOmniboxTabSwitchSuggestionsDescription[] =
2310 "Enable suggestions for switching to open tabs within the Omnibox.";
2311
krbcc621412017-06-01 19:40:282312const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2313const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192314 "Enable receiving tail suggestions, a type of search suggestion based on "
2315 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342316
Brett Wilson7b44537e2017-08-18 01:38:282317const char kOneGoogleBarOnLocalNtpName[] =
2318 "Enable the OneGoogleBar on the local NTP";
2319const char kOneGoogleBarOnLocalNtpDescription[] =
2320 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2321 "search engine.";
2322
Brett Wilson7b44537e2017-08-18 01:38:282323const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2324const char kUseGoogleLocalNtpDescription[] =
2325 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322326
Brett Wilson7b44537e2017-08-18 01:38:282327const char kVoiceSearchOnLocalNtpName[] =
2328 "Enable Voice Search on the local NTP";
2329const char kVoiceSearchOnLocalNtpDescription[] =
2330 "Show a microphone for voice search on the local New Tab page "
2331 "if Google is the default search engine.";
2332
Kim Paulhamus33f87b12018-01-18 22:00:422333const char kEnableWebAuthenticationAPIName[] = "Web Authentication API.";
2334const char kEnableWebAuthenticationAPIDescription[] =
2335 "Enable Web Authentication API support.";
2336
Brett Wilson7b44537e2017-08-18 01:38:282337#if defined(GOOGLE_CHROME_BUILD)
2338
2339const char kGoogleBrandedContextMenuName[] =
2340 "Google branding in the context menu";
2341const char kGoogleBrandedContextMenuDescription[] =
2342 "Shows a Google icon next to context menu items powered by Google "
2343 "services.";
2344
2345#endif // !defined(GOOGLE_CHROME_BUILD)
2346
2347#endif // !defined(OS_ANDROID)
2348
2349// Windows ---------------------------------------------------------------------
2350
2351#if defined(OS_WIN)
2352
2353const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2354const char kCloudPrintXpsDescription[] =
2355 "XPS enables advanced options for classic printers connected to the Cloud "
2356 "Print with Chrome. Printers must be re-connected after changing this "
2357 "flag.";
2358
Dave Tapuskadd43469d2017-08-22 22:15:532359const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2360const char kDirectManipulationStylusDescription[] =
2361 "If enabled, Chrome will scroll web pages on stylus drag.";
2362
Brett Wilson7b44537e2017-08-18 01:38:282363const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2364const char kDisablePostscriptPrintingDescription[] =
2365 "Disables PostScript generation when printing to PostScript capable "
2366 "printers, and uses EMF generation in its place.";
2367
2368const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2369const char kEnableAppcontainerDescription[] =
2370 "Enables the use of an AppContainer on sandboxed processes to improve "
2371 "security.";
2372
2373const char kEnableD3DVsync[] = "D3D v-sync";
2374const char kEnableD3DVsyncDescription[] =
2375 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2376 "to occur.";
2377
2378const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2379const char kEnableDesktopIosPromotionsDescription[] =
2380 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2381 "eligible.";
2382
James Forshawfd0ce342018-02-14 09:55:392383const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2384const char kEnableGpuAppcontainerDescription[] =
2385 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2386 "improve security.";
2387
Brett Wilson7b44537e2017-08-18 01:38:282388const char kGdiTextPrinting[] = "GDI Text Printing";
2389const char kGdiTextPrintingDescription[] =
2390 "Use GDI to print text as simply text";
2391
Brett Wilson7b44537e2017-08-18 01:38:282392const char kTraceExportEventsToEtwName[] =
2393 "Enable exporting of tracing events to ETW.";
2394const char kTraceExportEventsToEtwDesription[] =
2395 "If enabled, trace events will be exported to the Event Tracing for "
2396 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2397 "Xperf.";
2398
2399const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2400const char kUseWinrtMidiApiDescription[] =
2401 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2402 "later).";
2403
2404const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2405const char kWindows10CustomTitlebarDescription[] =
2406 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2407 "deferring to Windows.";
2408
Wez6656c572017-08-29 22:29:582409#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502410const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2411const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582412 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2413 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2414#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2415
Brett Wilson7b44537e2017-08-18 01:38:282416#endif // defined(OS_WIN)
2417
2418// Mac -------------------------------------------------------------------------
2419
2420#if defined(OS_MACOSX)
2421
2422const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2423const char kAppInfoDialogDescription[] =
2424 "Makes the Toolkit-Views based App Info dialog accessible from "
2425 "chrome://apps or chrome://extensions in place of the native extension "
2426 "permissions dialog, or the details link (which is a link to the Web "
2427 "Store).";
2428
2429const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2430const char kAppWindowCyclingDescription[] =
2431 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2432 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2433 "browser window, and browser windows will not be cycled when a Chrome App "
2434 "is active.";
2435
Lei Zhang2eca9082017-10-17 20:42:502436const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2437const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282438 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2439
2440const char kFullscreenToolbarRevealName[] =
2441 "Enables the toolbar in fullscreen to reveal itself.";
2442const char kFullscreenToolbarRevealDescription[] =
2443 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2444 "has changed.";
2445
2446const char kContentFullscreenName[] = "Improved Content Fullscreen";
2447const char kContentFullscreenDescription[] =
2448 "Fullscreen content window detaches from main browser window and goes to "
2449 "a new space without moving or changing the original browser window.";
2450
Lei Zhang2eca9082017-10-17 20:42:502451const char kDialogTouchBarName[] = "Dialog Touch Bar";
2452const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282453 "Shows Dialog buttons on the Touch Bar.";
2454
2455const char kHostedAppsInWindowsName[] =
2456 "Allow hosted apps to be opened in windows";
2457const char kHostedAppsInWindowsDescription[] =
2458 "Allows hosted apps to be opened in windows instead of being limited to "
2459 "tabs.";
2460
Lei Zhang2eca9082017-10-17 20:42:502461const char kMacRTLName[] = "Enable RTL";
2462const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282463
Lei Zhang2eca9082017-10-17 20:42:502464const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2465const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522466 "Enables sharing via macOS share extensions.";
2467
Lei Zhang2eca9082017-10-17 20:42:502468const char kMacTouchBarName[] = "Hardware Touch Bar";
2469const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282470
2471const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2472const char kMacV2SandboxDescription[] =
2473 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2474 "entire life cycle.";
2475
2476const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2477const char kMacViewsNativeAppWindowsDescription[] =
2478 "Controls whether to use Toolkit-Views based Chrome App windows.";
2479
Jérôme Lebelff683d42017-11-10 10:24:022480const char kMacViewsProfileChooserName[] =
2481 "Profile chooser menu with toolkit-views on Mac";
2482const char kMacViewsProfileChooserDescription[] =
2483 "Enables profile chooser menu based on toolkit-views, on Mac";
2484
Brett Wilson7b44537e2017-08-18 01:38:282485const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2486const char kMacViewsTaskManagerDescription[] =
2487 "Controls whether to use the Toolkit-Views based Task Manager.";
2488
2489const char kTabDetachingInFullscreenName[] =
2490 "Allow tab detaching in fullscreen";
2491const char kTabDetachingInFullscreenDescription[] =
2492 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2493
2494const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2495const char kTabStripKeyboardFocusDescription[] =
2496 "Enable keyboard focus for the tabs in the tab strip.";
2497
2498const char kTranslateNewUxName[] = "New Translate UX";
2499const char kTranslateNewUxDescription[] =
2500 "Enable the new Translate bubble UX is offered instead of the infobar.";
2501
Brett Wilson7b44537e2017-08-18 01:38:282502#endif
2503
2504// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342505
2506#if defined(OS_CHROMEOS)
2507
Brett Wilson7b44537e2017-08-18 01:38:282508const char kAcceleratedMjpegDecodeName[] =
2509 "Hardware-accelerated mjpeg decode for captured frame";
2510const char kAcceleratedMjpegDecodeDescription[] =
2511 "Enable hardware-accelerated mjpeg decode for captured frame where "
2512 "available.";
vabr0215a8e2017-03-28 12:47:342513
Brett Wilson7b44537e2017-08-18 01:38:282514const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2515const char kAllowTouchpadThreeFingerClickDescription[] =
2516 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342517
Brett Wilson7b44537e2017-08-18 01:38:282518const char kArcBootCompleted[] = "Load Android apps automatically";
2519const char kArcBootCompletedDescription[] =
2520 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342521
Lev Rumyantsev7a8544312017-08-18 19:26:512522const char kArcNativeBridgeExperimentName[] =
2523 "Enable native bridge experiment for ARC";
2524const char kArcNativeBridgeExperimentDescription[] =
2525 "Enables experimental native bridge feature.";
2526
lgchengecd1c1a62018-01-09 02:59:462527const char kArcUsbHostName[] = "Enable ARC USB host integration";
2528const char kArcUsbHostDescription[] =
2529 "Allow Android apps to use USB host feature on ChromeOS devices.";
2530
Kevin Cernekeeb7f96a52017-10-25 17:40:182531const char kArcVpnName[] = "Enable ARC VPN integration";
2532const char kArcVpnDescription[] =
2533 "Allow Android VPN clients to tunnel Chrome traffic.";
2534
Brett Wilson7b44537e2017-08-18 01:38:282535const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2536const char kAshEnableUnifiedDesktopDescription[] =
2537 "Enable unified desktop mode which allows a window to span multiple "
2538 "displays.";
vabr0215a8e2017-03-28 12:47:342539
Sean Kau5e956192017-10-06 22:25:172540const char kBulkPrintersName[] = "Bulk Printers Policy";
2541const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2542
Brett Wilson7b44537e2017-08-18 01:38:282543const char kCaptivePortalBypassProxyName[] =
2544 "Bypass proxy for Captive Portal Authorization";
2545const char kCaptivePortalBypassProxyDescription[] =
2546 "If proxy is configured, it usually prevents from authorization on "
2547 "different captive portals. This enables opening captive portal "
2548 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342549
Brett Wilson7b44537e2017-08-18 01:38:282550const char kCrOSComponentName[] = "Chrome OS Component";
2551const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082552 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342553
Xiaochu Liu51d03fd2017-09-08 23:51:022554const char kCrOSContainerName[] = "Chrome OS Container";
2555const char kCrOSContainerDescription[] =
2556 "Enable the use of Chrome OS Container utility.";
2557
Brett Wilson7b44537e2017-08-18 01:38:282558const char kCrosRegionsModeName[] = "Cros-regions load mode";
2559const char kCrosRegionsModeDescription[] =
2560 "This flag controls cros-regions load mode";
2561const char kCrosRegionsModeDefault[] = "Default";
2562const char kCrosRegionsModeOverride[] = "Override VPD values.";
2563const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342564
Jacob Dufault2becbc482017-08-25 00:36:352565const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2566const char kDisableLockScreenAppsDescription[] =
2567 "Disable new-note action handler apps on the lock screen. The user will "
2568 "not be able to launch the preferred note-taking action from the lock "
2569 "screen, provided that the app supports lock screen note taking.";
2570
Sammie Quonef6b4882017-09-14 16:50:052571const char kDisableTabletAutohideTitlebarsName[] =
2572 "Disable autohide titlebars in tablet mode";
2573const char kDisableTabletAutohideTitlebarsDescription[] =
2574 "Disable tablet mode autohide titlebars functionality. The user will be "
2575 "able to see the titlebar in tablet mode.";
2576
xdaid45327d2018-01-29 18:57:072577const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2578const char kDisableTabletSplitViewDescription[] =
2579 "Disable split view for Chrome OS tablet mode.";
2580
Brett Wilson7b44537e2017-08-18 01:38:282581const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2582const char kEnablePerUserTimezoneDescription[] =
2583 "Chrome OS system timezone preference is stored and handled for each user "
2584 "individually.";
vabr0215a8e2017-03-28 12:47:342585
Brett Wilson7b44537e2017-08-18 01:38:282586const char kDisableSystemTimezoneAutomaticDetectionName[] =
2587 "SystemTimezoneAutomaticDetection policy support";
2588const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2589 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342590
Lei Zhang2eca9082017-10-17 20:42:502591const char kEnableBackgroundBlurName[] = "Enable background blur.";
2592const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422593 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392594
Brett Wilson7b44537e2017-08-18 01:38:282595const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2596const char kEnableChromevoxArcSupportDescription[] =
2597 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342598
F#m75862c92018-01-25 19:10:472599const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2600const char kEnableDisplayZoomSettingDescription[] =
2601 "Allows the user to modify the display size or zoom via the chrome display "
2602 "settings page.";
2603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kEnableEhvInputName[] =
2605 "Emoji, handwriting and voice input on opt-in IME menu";
2606const char kEnableEhvInputDescription[] =
2607 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342608
Brett Wilson7b44537e2017-08-18 01:38:282609const char kEnableEncryptionMigrationName[] =
2610 "Enable encryption migration of user data";
2611const char kEnableEncryptionMigrationDescription[] =
2612 "If enabled and the device supports ARC, the user will be asked to update "
2613 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342614
Blake O'Hare9e9317b22017-10-24 02:49:352615const char kEnableFloatingVirtualKeyboardName[] =
2616 "Enable floating virtual keyboard";
2617const char kEnableFloatingVirtualKeyboardDescription[] =
2618 "If enabled, the keyboard will use floating behavior by default.";
2619
Brett Wilson7b44537e2017-08-18 01:38:282620const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2621const char kEnableImeMenuDescription[] =
2622 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342623
Jordy Greenblatt2f23df22018-02-22 19:49:192624const char kEnableUnifiedMultiDeviceSettingsName[] =
2625 "Enable unified MultiDevice settings";
2626const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2627 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2628 "MultiDevice settings.";
2629
2630const char kEnableUnifiedMultiDeviceSetupName[] =
2631 "Enable unified MultiDevice setup";
2632const char kEnableUnifiedMultiDeviceSetupDescription[] =
2633 "Enable the device to setup all MultiDevice services in a single workflow.";
2634
Klemen Kozjek05fc4512017-10-18 12:51:102635const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2636const char kEnableZipArchiverPackerDescription[] =
2637 "Enable the ability to archive files on Drive in the Files app";
2638
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412639const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2640const char kZipArchiverUnpackerDescription[] =
2641 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282642
2643const char kEolNotificationName[] = "Disable Device End of Life notification.";
2644const char kEolNotificationDescription[] =
2645 "Disable Notifcation when Device is End of Life.";
2646
2647const char kExperimentalAccessibilityFeaturesName[] =
2648 "Experimental accessibility features";
2649const char kExperimentalAccessibilityFeaturesDescription[] =
2650 "Enable additional accessibility features in the Settings page.";
2651
2652const char kExperimentalInputViewFeaturesName[] =
2653 "Experimental input view features";
2654const char kExperimentalInputViewFeaturesDescription[] =
2655 "Enable experimental features for IME input views.";
2656
2657const char kFileManagerTouchModeName[] = "Files App. touch mode";
2658const char kFileManagerTouchModeDescription[] =
2659 "Touchscreen-specific interactions of the Files app.";
2660
2661const char kFirstRunUiTransitionsName[] =
2662 "Animated transitions in the first-run tutorial";
2663const char kFirstRunUiTransitionsDescription[] =
2664 "Transitions during first-run tutorial are animated.";
2665
Brett Wilson7b44537e2017-08-18 01:38:282666const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2667const char kForceEnableStylusToolsDescription[] =
2668 "Forces display of the stylus tools menu in the shelf and the stylus "
2669 "section in settings, even if there is no attached stylus device.";
2670
2671const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2672const char kGestureEditingDescription[] =
2673 "Enable/Disable gesture editing option in the settings page for the "
2674 "virtual keyboard.";
2675
2676const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2677const char kGestureTypingDescription[] =
2678 "Enable/Disable gesture typing option in the settings page for the virtual "
2679 "keyboard.";
2680
2681const char kInputViewName[] = "Input views";
2682const char kInputViewDescription[] =
2683 "Enable IME extensions to supply custom views for user input such as "
2684 "virtual keyboards.";
2685
2686const char kMemoryPressureThresholdName[] =
2687 "Memory discard strategy for advanced pressure handling";
2688const char kMemoryPressureThresholdDescription[] =
2689 "Memory discarding strategy to use";
2690const char kConservativeThresholds[] =
2691 "Conservative memory pressure release strategy";
2692const char kAggressiveCacheDiscardThresholds[] =
2693 "Aggressive cache release strategy";
2694const char kAggressiveTabDiscardThresholds[] =
2695 "Aggressive tab release strategy";
2696const char kAggressiveThresholds[] =
2697 "Aggressive tab and cache release strategy";
2698
2699const char kMtpWriteSupportName[] = "MTP write support";
2700const char kMtpWriteSupportDescription[] =
2701 "MTP write support in File System API (and file manager). In-place editing "
2702 "operations are not supported.";
2703
2704const char kMultideviceName[] = "Enable multidevice features";
2705const char kMultideviceDescription[] =
2706 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342707
Kyle Horimoto027590fb2018-02-13 22:19:482708const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2709const char kMultiDeviceApiDescription[] =
2710 "Enable Mojo-based API which provides synced device metadata and the "
2711 "ability to connect to other devices associated the logged-in Google "
2712 "account.";
2713
Bailey Berrodca8eeca02017-11-18 00:49:122714const char kNativeSmbName[] = "Native Smb Client";
2715const char kNativeSmbDescription[] =
2716 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302717
vabr0215a8e2017-03-28 12:47:342718const char kNetworkPortalNotificationName[] =
2719 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342720const char kNetworkPortalNotificationDescription[] =
2721 "If enabled, notification is displayed when device is connected to a "
2722 "network behind captive portal.";
2723
Steven Bennetts77b67972017-12-14 19:38:322724const char kDisableNetworkSettingsConfigName[] =
2725 "Disable Settings based Network Configuration";
2726const char kDisableNetworkSettingsConfigDescription[] =
2727 "Disables the Settings based network configuration UI and restores the "
2728 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242729
Brett Wilson7b44537e2017-08-18 01:38:282730const char kNewKoreanImeName[] = "New Korean IME";
2731const char kNewKoreanImeDescription[] =
2732 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342733
Brett Wilson7b44537e2017-08-18 01:38:282734const char kNewZipUnpackerName[] = "New ZIP unpacker";
2735const char kNewZipUnpackerDescription[] =
2736 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342737
Brett Wilson7b44537e2017-08-18 01:38:282738const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2739const char kPhysicalKeyboardAutocorrectDescription[] =
2740 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2741 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342742
2743const char kPrinterProviderSearchAppName[] =
2744 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342745const char kPrinterProviderSearchAppDescription[] =
2746 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192747 "searches Chrome Web Store for extensions that support printing to a USB "
2748 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342749
Brett Wilson7b44537e2017-08-18 01:38:282750const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2751const char kQuickUnlockPinDescription[] =
2752 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2753 "device on the lock screen after you have signed into your device.";
2754const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2755const char kQuickUnlockPinSigninDescription[] =
2756 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2757 "device. After changing this flag PIN needs to be set up again.";
2758const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2759const char kQuickUnlockFingerprintDescription[] =
2760 "Enabling fingerprint quick unlock allows you to setup and use a "
2761 "fingerprint to unlock your Chromebook on the lock screen after you have "
2762 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342763
Brett Wilson7b44537e2017-08-18 01:38:282764const char kOfficeEditingComponentAppName[] =
2765 "Office Editing for Docs, Sheets & Slides";
2766const char kOfficeEditingComponentAppDescription[] =
2767 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072768
James Cook0ba192bf2017-12-01 20:53:112769const char kShowTapsName[] = "Show taps";
2770const char kShowTapsDescription[] =
2771 "Draws a circle at each touch point, which makes touch points more obvious "
2772 "when projecting or mirroring the display. Similar to the Android OS "
2773 "developer option.";
2774
2775const char kShowTouchHudName[] = "Show HUD for touch points";
2776const char kShowTouchHudDescription[] =
2777 "Shows a trail of colored dots for the last few touch points. Pressing "
2778 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2779 "debug hardware issues that generate spurious touch events.";
2780
Chung-Sheng Wu468b0b32017-09-01 14:41:572781const char kSysInternalsName[] = "Enable Sys-Internals";
2782const char kSysInternalsDescription[] =
2783 "If enabled, user can monitor system information at "
2784 "chrome://sys-internals.";
2785
Brett Wilson7b44537e2017-08-18 01:38:282786const char kTeamDrivesName[] = "Enable Team Drives Integration";
2787const char kTeamDrivesDescription[] =
2788 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342789
Brett Wilson7b44537e2017-08-18 01:38:282790const char kTetherName[] = "Instant Tethering";
2791const char kTetherDescription[] =
2792 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2793 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372794
Brett Wilson7b44537e2017-08-18 01:38:282795const char kTouchscreenCalibrationName[] =
2796 "Enable/disable touchscreen calibration option in material design settings";
2797const char kTouchscreenCalibrationDescription[] =
2798 "If enabled, the user can calibrate the touch screen displays in "
2799 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092800
Mitsuru Oshima63d3f2a2017-08-23 00:12:112801// Force UI Mode
2802const char kUiModeName[] = "Force Ui Mode";
2803const char kUiModeDescription[] =
2804 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2805 R"*(despite its current orientation. "Tablet" means that the )*"
2806 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2807 R"*(means that the chromebook will act as if it were in clamshell )*"
2808 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2809 R"*(the two, based on its orientation.)*";
2810const char kUiModeTablet[] = "TouchView";
2811const char kUiModeClamshell[] = "Clamshell";
2812const char kUiModeAuto[] = "Auto (default)";
2813
bruthigeafb0c02017-06-09 13:11:532814const char kUiDevToolsName[] = "Enable native UI inspection";
2815const char kUiDevToolsDescription[] =
2816 "Enables inspection of native UI elements. For local inspection use "
2817 "chrome://inspect#other";
2818
James Cooka1bcfa9a2018-01-30 00:18:402819const char kUseMusName[] = "Mojo UI service (mus)";
2820const char kUseMusDescription[] =
2821 "Handles input events, display configuration, and windowing in a mojo "
2822 "service on a thread in the browser process.";
2823
2824const char kUseMashName[] = "Out-of-process system UI (mash)";
2825const char kUseMashDescription[] =
2826 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2827 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282828
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342829// TODO(mcasas): remove after https://crbug.com/771345.
2830const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2831const char kUseMonitorColorSpaceDescription[] =
2832 "Enables Chrome to use the color space information provided by the monitor"
2833 " instead of the default sRGB color space.";
2834
Brett Wilson7b44537e2017-08-18 01:38:282835const char kVideoPlayerChromecastSupportName[] =
2836 "Experimental Chromecast support for Video Player";
2837const char kVideoPlayerChromecastSupportDescription[] =
2838 "This option enables experimental Chromecast support for Video Player app "
2839 "on ChromeOS.";
2840
2841const char kVirtualKeyboardName[] = "Virtual Keyboard";
2842const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2843
2844const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2845const char kVirtualKeyboardOverscrollDescription[] =
2846 "Enables virtual keyboard overscroll support.";
2847
2848const char kVoiceInputName[] = "Voice input on virtual keyboard";
2849const char kVoiceInputDescription[] =
2850 "Enables voice input on virtual keyboard.";
2851
2852const char kWakeOnPacketsName[] = "Wake On Packets";
2853const char kWakeOnPacketsDescription[] =
2854 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202855
yhanadac5bff5b2017-05-18 06:37:092856#endif // defined(OS_CHROMEOS)
2857
Brett Wilson7b44537e2017-08-18 01:38:282858// Random platform combinations -----------------------------------------------
2859
2860#if defined(OS_WIN) || defined(OS_LINUX)
2861
2862const char kEnableInputImeApiName[] = "Enable Input IME API";
2863const char kEnableInputImeApiDescription[] =
2864 "Enable the use of chrome.input.ime API.";
2865
2866#endif // defined(OS_WIN) || defined(OS_LINUX)
2867
2868#if defined(OS_WIN) || defined(OS_MACOSX)
2869
2870const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2871const char kAutomaticTabDiscardingDescription[] =
2872 "If enabled, tabs get automatically discarded from memory when the system "
2873 "memory is low. Discarded tabs are still visible on the tab strip and get "
2874 "reloaded when clicked on. Info about discarded tabs can be found at "
2875 "chrome://discards.";
2876
2877#endif // defined(OS_WIN) || defined(OS_MACOSX)
2878
2879// Feature flags --------------------------------------------------------------
2880
2881#if BUILDFLAG(ENABLE_VR)
2882
David Dorwin5a496c32017-11-17 01:45:052883const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
2884const char kWebVrVsyncAlignDescription[] =
2885 "Align WebVR application rendering with VSync for smoother animations.";
2886
Brett Wilson7b44537e2017-08-18 01:38:282887#if defined(OS_ANDROID)
2888
David Dorwin5a496c32017-11-17 01:45:052889const char kVrBrowsingName[] = "VR browsing";
2890const char kVrBrowsingDescription[] =
2891 "Browsing within a VR headset if available for this device.";
Brett Wilson7b44537e2017-08-18 01:38:282892
Yash Malik50bcfc12017-11-18 00:47:592893const char kVrBrowserKeyboardName[] = "Chrome VR virtual keyboard.";
2894const char kVrBrowserKeyboardDescription[] =
2895 "Enable a virtual keyboard for Chrome VR.";
2896
Yash Malikb78e72a72018-02-21 09:14:102897const char kVrWebInputEditingName[] = "VR browsing web input editing";
2898const char kVrWebInputEditingDescription[] =
2899 "Allow editing web input fields while in VR mode.";
2900
David Dorwin5a496c32017-11-17 01:45:052901const char kVrBrowsingExperimentalFeaturesName[] =
2902 "VR browsing experimental features";
2903const char kVrBrowsingExperimentalFeaturesDescription[] =
2904 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:282905
David Dorwin5a496c32017-11-17 01:45:052906const char kVrBrowsingExperimentalRenderingName[] =
2907 "VR browsing experimental rendering features";
2908const char kVrBrowsingExperimentalRenderingDescription[] =
2909 "Experimental rendering features for VR browsing (e.g. power-saving "
2910 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:102911
David Dorwin5a496c32017-11-17 01:45:052912const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
2913const char kVrBrowsingInCustomTabDescription[] =
2914 "Allow browsing within a VR headset while in a Custom Tab.";
2915
Michael Thiessen37895912018-01-19 20:15:542916const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
2917const char kVrIconInDaydreamHomeDescription[] =
2918 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
2919
David Dorwin5a496c32017-11-17 01:45:052920const char kVrLaunchIntentsName[] = "VR intents";
2921const char kVrLaunchIntentsDescription[] =
Yash Malik812aebe2017-10-31 18:17:262922 "Allow intents to launch Chrome in VR mode.";
2923
David Dorwin5a496c32017-11-17 01:45:052924const char kWebVrAutopresentFromIntentName[] =
2925 "WebVR auto presentation from intents";
2926const char kWebVrAutopresentFromIntentDescription[] =
2927 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:282928
2929#endif // OS_ANDROID
2930
Bill Orr103ed272018-02-14 21:23:052931#if BUILDFLAG(ENABLE_OCULUS_VR)
2932const char kOculusVRName[] = "Oculus hardware support";
2933const char kOculusVRDescription[] =
2934 "If enabled, Chrome will use Oculus devices for VR (supported only on "
2935 "Windows 10 or later).";
2936#endif // ENABLE_OCULUS_VR
2937
Bill Orr49527562017-11-22 16:58:482938#if BUILDFLAG(ENABLE_OPENVR)
2939const char kOpenVRName[] = "OpenVR hardware support";
2940const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:072941 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
2942 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:482943#endif // ENABLE_OPENVR
2944
Brett Wilson7b44537e2017-08-18 01:38:282945#endif // ENABLE_VR
2946
Nico Weberaf3b00b2017-09-11 17:58:172947#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282948
2949const char kNaclDebugMaskName[] =
2950 "Restrict Native Client GDB-based debugging by pattern";
2951const char kNaclDebugMaskDescription[] =
2952 "Restricts Native Client application GDB-based debugging by URL of "
2953 "manifest file. Native Client GDB-based debugging must be enabled for this "
2954 "option to work.";
2955const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2956const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2957 "Debug everything except secure shell and the PNaCl translator.";
2958const char kNaclDebugMaskChoiceIncludeDebug[] =
2959 "Debug only if manifest URL ends with debug.nmf.";
2960
2961const char kNaclDebugName[] = "Native Client GDB-based debugging";
2962const char kNaclDebugDescription[] =
2963 "Enable GDB debug stub. This will stop a Native Client application on "
2964 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2965
2966const char kNaclName[] = "Native Client";
2967const char kNaclDescription[] =
2968 "Support Native Client for all web applications, even those that were not "
2969 "installed from the Chrome Web Store.";
2970
2971const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2972const char kPnaclSubzeroDescription[] =
2973 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2974
Nico Weberaf3b00b2017-09-11 17:58:172975#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282976
Brett Wilson7b44537e2017-08-18 01:38:282977#if BUILDFLAG(ENABLE_WEBRTC)
2978
2979const char kWebrtcH264WithOpenh264FfmpegName[] =
2980 "WebRTC H.264 software video encoder/decoder";
2981const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2982 "When enabled, an H.264 software video encoder/decoder pair is included. "
2983 "If a hardware encoder/decoder is also available it may be used instead of "
2984 "this encoder/decoder.";
2985
2986#endif // BUILDFLAG(ENABLE_WEBRTC)
2987
James Cookf9d34d22017-10-04 16:39:352988#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282989
Wenzhao Zang50fb0b22017-11-07 01:38:422990const char kAshDisableLoginDimAndBlurName[] =
2991 "Disable dimming and blur on login screen.";
2992const char kAshDisableLoginDimAndBlurDescription[] =
2993 "Disable dimming and blur on login screen.";
2994
Brett Wilson7b44537e2017-08-18 01:38:282995const char kAshDisableSmoothScreenRotationName[] =
2996 "Disable smooth rotation animations.";
2997const char kAshDisableSmoothScreenRotationDescription[] =
2998 "Disable smooth rotation animations.";
2999
wutaoead73f582018-02-11 23:25:363000const char kAshDisableTrilinearFilteringName[] = "Disable trilinear filtering.";
3001const char kAshDisableTrilinearFilteringDescription[] =
3002 "Disable trilinear filtering.";
3003
Qiang Xub7e921072017-12-07 21:02:113004const char kAshEnableDisplayMoveWindowAccelsName[] =
3005 "Enable shortcuts for moving window between displays.";
3006const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3007 "Enable shortcuts for moving window between displays.";
3008
wutaoc70d7b92017-11-01 08:06:013009const char kAshEnableKeyboardShortcutViewerName[] =
3010 "Enable keyboard shortcut viewer.";
3011const char kAshEnableKeyboardShortcutViewerDescription[] =
3012 "Enable keyboard shortcut viewer.";
3013
Brett Wilson7b44537e2017-08-18 01:38:283014const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3015const char kAshEnableMirroredScreenDescription[] =
3016 "Enable the mirrored screen mode. This mode flips the screen image "
3017 "horizontally.";
3018
Sammie Quon4e14214d2018-01-30 22:45:243019const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3020const char kAshEnableNewOverviewUiDescription[] =
3021 "Enables the new overview mode UI.";
3022
wutaod9cbcd32018-02-17 02:31:063023const char kAshEnableNewOverviewAnimationsName[] =
3024 "Enable new overview animations.";
3025const char kAshEnableNewOverviewAnimationsDescription[] =
3026 "Enables the new overview mode animations.";
3027
Qiang Xufa19cfd2018-01-29 19:36:503028const char kAshEnablePersistentWindowBoundsName[] =
3029 "Enable persistent window bounds in multi-displays scenario.";
3030const char kAshEnablePersistentWindowBoundsDescription[] =
3031 "Enable persistent window bounds in multi-displays scenario.";
3032
Brett Wilson7b44537e2017-08-18 01:38:283033const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3034const char kAshShelfColorDescription[] =
3035 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3036 "--ash-shelf-color-scheme flag defines how that color is derived.";
3037
3038const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3039const char kAshShelfColorSchemeDescription[] =
3040 "Specify how the color is derived from the wallpaper. This flag is only "
3041 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3042const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3043const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3044const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3045const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3046const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3047const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3048
Wenzhao Zang06a28872018-02-23 04:01:353049const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3050const char kEnableNewWallpaperPickerDescription[] =
3051 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3052
Brett Wilson7b44537e2017-08-18 01:38:283053const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373054 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283055const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3056 "Sets the speed of the experimental visual feedback animations for "
3057 "material design.";
3058const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3059const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3060
3061const char kUiShowCompositedLayerBordersName[] =
3062 "Show UI composited layer borders";
3063const char kUiShowCompositedLayerBordersDescription[] =
3064 "Show border around composited layers created by UI.";
3065const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3066const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3067const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3068const char kUiShowCompositedLayerBordersAll[] = "All";
3069
3070const char kUiSlowAnimationsName[] = "Slow UI animations";
3071const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3072
James Cookf9d34d22017-10-04 16:39:353073#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283074
Brett Wilson7b44537e2017-08-18 01:38:283075#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3076
3077const char kAutofillCreditCardUploadName[] =
3078 "Enable offering upload of Autofilled credit cards";
3079const char kAutofillCreditCardUploadDescription[] =
3080 "Enables a new option to upload credit cards to Google Payments for sync "
3081 "to all Chrome devices.";
3082
3083#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3084
3085// ============================================================================
3086// Don't just add flags to the end, put them in the right section in
3087// alphabetical order just like the header file.
3088// ============================================================================
3089
vabr0215a8e2017-03-28 12:47:343090} // namespace flag_descriptions