blob: f0aa81cb29a691d88c6b2f5624ab07593ec7962c [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 Ohkubo2852b952018-02-23 04:12:0146const char kSystemTrayUnifiedName[] = "New system menu";
47const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5548 "Enable the experimental system menu.";
49
Khushalba202212017-07-12 19:53:4950const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
51const char kAsyncImageDecodingDescription[] =
52 "Enables asynchronous decoding of images from raster for web content";
53
Roger McFarlane2eceba982018-05-18 01:37:1154const char kAutofillCacheQueryResponsesName[] =
55 "Cache Autofill Query Responses";
56const char kAutofillCacheQueryResponsesDescription[] =
57 "When enabled, autofill will cache the responses it receives from the "
58 "crowd-sourced field type prediction server.";
59
sebsge35b762c2018-03-29 20:33:2760const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
61const char kAutofillDynamicFormsDescription[] =
62 "Allows autofill to fill dynamically changing forms";
63
Roger McFarlane1a37d7b2018-04-20 22:45:1964const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
65 "Autofill Enforce Min Required Fields For Heuristics";
66const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
67 "When enabled, autofill will generally require a form to have at least 3 "
68 "fields before allowing heuristic field-type prediction to occur.";
69
70const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
71 "Autofill Enforce Min Required Fields For Query";
72const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
73 "When enabled, autofill will generally require a form to have at least 3 "
74 "fields before querying the autofill server for field-type predictions.";
75
76const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
77 "Autofill Enforce Min Required Fields For Upload";
78const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
79 "When enabled, autofill will generally require a form to have at least 3 "
80 "fillable fields before uploading field-type votes for that form.";
81
Moe Ahmadid3ddfcb2018-04-20 19:51:0882const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
83 "Restrict formless form extraction";
84const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
85 "Restrict extraction of formless forms to checkout flows";
86
Brett Wilsonf27ff602017-07-07 22:28:4787const char kAutoplayPolicyName[] = "Autoplay policy";
88const char kAutoplayPolicyDescription[] =
89 "Policy used when deciding if audio or video is allowed to autoplay.";
90
91const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
92 "User gesture is required for cross-origin iframes.";
93const char kAutoplayPolicyNoUserGestureRequired[] =
94 "No user gesture is required.";
95const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
96const char kAutoplayPolicyDocumentUserActivation[] =
97 "Document user activation is required.";
98
Johanne0cc6902017-11-16 00:23:5099extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
100extern const char kAv1DecoderDescription[] =
101 "Allow decoding of files with the AV1 video codec.";
102
Brett Wilsonf27ff602017-07-07 22:28:47103const char kBackgroundVideoTrackOptimizationName[] =
104 "Optimize background video playback.";
105const char kBackgroundVideoTrackOptimizationDescription[] =
106 "Disable video tracks when the video is played in the background to "
107 "optimize performance.";
108
109const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
110const char kBleAdvertisingInExtensionsDescription[] =
111 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
112 "with regular use of Bluetooth Low Energy features.";
113
Charles Harrisond629cc62017-10-05 01:39:54114const char kBlockTabUndersName[] = "Block tab-unders";
115const char kBlockTabUndersDescription[] =
116 "Blocks tab-unders in Chrome with some native UI to allow the user to "
117 "proceed.";
118
Brett Wilsonf27ff602017-07-07 22:28:47119const char kBrowserTaskSchedulerName[] = "Task Scheduler";
120const char kBrowserTaskSchedulerDescription[] =
121 "Enables redirection of some task posting APIs to the task scheduler.";
122
Carlos IL766fbc882018-02-16 02:34:52123const char kBundledConnectionHelpName[] = "Bundled Connection Help";
124const char kBundledConnectionHelpDescription[] =
125 "Enables or disables redirecting users who get an interstitial when "
126 "accessing https://support.google.com/chrome/answer/6098869 to local "
127 "connection help content.";
128
Brett Wilsonf27ff602017-07-07 22:28:47129const char kBypassAppBannerEngagementChecksName[] =
130 "Bypass user engagement checks";
131const char kBypassAppBannerEngagementChecksDescription[] =
132 "Bypasses user engagement checks for displaying app banners, such as "
133 "requiring that users have visited the site before and that the banner "
134 "hasn't been shown recently. This allows developers to test that other "
135 "eligibility requirements for showing app banners, such as having a "
136 "manifest, are met.";
137
Lucas Garronb9539b732017-10-31 00:22:09138const char kCommittedInterstitialsName[] = "Committed Interstitials";
139const char kCommittedInterstitialsDescription[] =
140 "Use committed error pages instead of transient navigation entries "
141 "for interstitial error pages (e.g. certificate errors).";
142
Brett Wilsonf27ff602017-07-07 22:28:47143const char kCastStreamingHwEncodingName[] =
144 "Cast Streaming hardware video encoding";
145const char kCastStreamingHwEncodingDescription[] =
146 "This option enables support in Cast Streaming for encoding video streams "
147 "using platform hardware.";
148
Amber Won478561d2017-08-19 01:02:59149const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
150const char kClickToOpenPDFDescription[] =
151 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
152 "embedded PDFs.";
153
Gary Kacmarcikfb69b212017-11-14 03:41:08154const char kClipboardContentSettingName[] = "Clipboard content setting";
155const char kClipboardContentSettingDescription[] =
156 "Enables a site-wide permission in the UI which controls access to the "
157 "asynchronous clipboard web API";
158
Brett Wilsonf27ff602017-07-07 22:28:47159const char kCloudImportName[] = "Cloud Import";
160const char kCloudImportDescription[] = "Allows the cloud-import feature.";
161
Christopher Cameronceb8727d2017-09-07 23:53:16162const char kForceColorProfileSRGB[] = "sRGB";
163const char kForceColorProfileP3[] = "Display P3 D65";
164const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
165const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
166
167const char kForceColorProfileName[] = "Force color profile";
168const char kForceColorProfileDescription[] =
169 "Forces Chrome to use a specific color profile instead of the color "
170 "of the window's current monitor, as specified by the operating system.";
171
Brett Wilsonf27ff602017-07-07 22:28:47172const char kCompositedLayerBordersName[] = "Composited render layer borders";
173const char kCompositedLayerBordersDescription[] =
174 "Renders a border around composited Render Layers to help debug and study "
175 "layer compositing.";
176
Theresaf39c1882018-03-21 18:18:07177const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07178 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07179const char kContextualSuggestionsBottomSheetDescription[] =
180 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47181
Theresa818d3452018-05-22 00:08:07182const char kContextualSuggestionsSlimPeekUIName[] =
183 "Contextual Suggestions Slim Peek UI";
184const char kContextualSuggestionsSlimPeekUIDescription[] =
185 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
186
Brett Wilsonf27ff602017-07-07 22:28:47187const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
188const char kCreditCardAssistDescription[] =
189 "Enable assisted credit card filling on certain sites.";
190
191const char kCrossProcessGuestViewIsolationName[] =
192 "Cross process frames for guests";
193const char kCrossProcessGuestViewIsolationDescription[] =
194 "Highly experimental where guests such as <webview> are implemented on "
195 "the out-of-process iframe infrastructure.";
196
Thanh Le659cb102017-12-20 22:00:19197const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
198const char kDataSaverServerPreviewsDescription[] =
199 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47200
201const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
202const char kDatasaverPromptDescription[] =
203 "Enables a prompt, which appears when a cellular network connection is "
204 "detected, to take the user to the Data Saver extension page on Chrome Web "
205 "Store.";
206const char kDatasaverPromptDemoMode[] = "Demo mode";
207
Wez54dc71b2018-04-17 00:42:34208#if DCHECK_IS_CONFIGURABLE
209const char kDcheckIsFatalName[] = "DCHECKs are fatal";
210const char kDcheckIsFatalDescription[] =
211 "By default Chrome will evaluate in this build, but only log failures, "
212 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
213#endif // DCHECK_IS_CONFIGURABLE
214
Brett Wilsonf27ff602017-07-07 22:28:47215const char kDebugPackedAppName[] = "Debugging for packed apps";
216const char kDebugPackedAppDescription[] =
217 "Enables debugging context menu options such as Inspect Element for packed "
218 "applications.";
219
220const char kDefaultTileHeightName[] = "Default tile height";
221const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
222const char kDefaultTileHeightShort[] = "128";
223const char kDefaultTileHeightTall[] = "256";
224const char kDefaultTileHeightGrande[] = "512";
225const char kDefaultTileHeightVenti[] = "1024";
226
227const char kDefaultTileWidthName[] = "Default tile width";
228const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
229const char kDefaultTileWidthShort[] = "128";
230const char kDefaultTileWidthTall[] = "256";
231const char kDefaultTileWidthGrande[] = "512";
232const char kDefaultTileWidthVenti[] = "1024";
233
234const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
235const char kDebugShortcutsDescription[] =
236 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
237
238const char kDeviceDiscoveryNotificationsName[] =
239 "Device Discovery Notifications";
240const char kDeviceDiscoveryNotificationsDescription[] =
241 "Device discovery notifications on local network.";
242
243const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
244const char kDevtoolsExperimentsDescription[] =
245 "Enables Developer Tools experiments. Use Settings panel in Developer "
246 "Tools to toggle individual experiments.";
247
248const char kDisableAudioForDesktopShareName[] =
249 "Disable Audio For Desktop Share";
250const char kDisableAudioForDesktopShareDescription[] =
251 "With this flag on, desktop share picker window will not let the user "
252 "choose whether to share audio.";
253
Chris Palmer917bc052018-03-14 19:28:31254const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
255const char kDisablePushStateThrottleDescription[] =
256 "Disables throttling of history.pushState and history.replaceState method "
257 "calls.";
258
Brett Wilsonf27ff602017-07-07 22:28:47259const char kDisableTabForDesktopShareName[] =
260 "Disable Desktop Share with tab source";
261const char kDisableTabForDesktopShareDescription[] =
262 "This flag controls whether users can choose a tab for desktop share.";
263
264const char kDisallowDocWrittenScriptsUiName[] =
265 "Block scripts loaded via document.write";
266const char kDisallowDocWrittenScriptsUiDescription[] =
267 "Disallows fetches for third-party parser-blocking scripts inserted into "
268 "the main frame via document.write.";
269
Christopher Thompson2ffffa2c2018-05-18 23:06:37270const char kDisallowUnsafeHttpDownloadsName[] =
271 "Block unsafe downloads over insecure connections";
272const char kDisallowUnsafeHttpDownloadsNameDescription[] =
273 "Disallows downloads of unsafe files (files that can potentially execute "
274 "code), where the final download origin or any origin in the redirect "
275 "chain is insecure.";
276
Brett Wilsonf27ff602017-07-07 22:28:47277const char kDriveSearchInChromeLauncherName[] =
278 "Drive Search in Chrome App Launcher";
279const char kDriveSearchInChromeLauncherDescription[] =
280 "Files from Drive will show up when searching the Chrome App Launcher.";
281
Gustavo Sacomotofb11164f2017-07-21 12:56:18282const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
283const char kEasyUnlockPromotionsDescription[] =
284 "Enables Smart Lock promotions. Promotions will be periodically display "
285 "if the user is eligible.";
286
Brett Wilsonf27ff602017-07-07 22:28:47287const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
288const char kEmbeddedExtensionOptionsDescription[] =
289 "Display extension options as an embedded element in chrome://extensions "
290 "rather than opening a new tab.";
291
Dominic Mazzoni8ac98962018-05-25 05:44:55292const char kEnableAccessibilityObjectModelName[] = "Accessibility Object Model";
293const char kEnableAccessibilityObjectModelDescription[] =
294 "Enables experimental support for Accessibility Object Model APIs "
295 "that are in development.";
296
Brett Wilsonf27ff602017-07-07 22:28:47297const char kEnableAsmWasmName[] =
298 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
299const char kEnableAsmWasmDescription[] =
300 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
301 R"*(WebAssembly.)*";
302
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36303const char kEnableWebPaymentsSingleAppUiSkipName[] =
304 "Enable Web Payments single app UI skip";
305const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
306 "Enable Web Payments to skip showing its UI if the developer specifies a "
307 "single app.";
308
Shanfeng Zhang19c16562017-10-17 02:30:40309const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
310 "Credit card autofill ablation experiment.";
311const char kEnableAutofillCreditCardAblationExperimentDescription[] =
312 "If enabled, credit card autofill suggestions will not display.";
313
Jared Saulae93aa12018-03-23 19:04:39314const char kEnableAutofillCreditCardBankNameDisplayName[] =
315 "Display the issuer bank name of a credit card in autofill.";
316const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
317 "If enabled, displays the issuer bank name of a credit card in autofill.";
318
Brett Wilsonf27ff602017-07-07 22:28:47319const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
320 "Display the last used date of a credit card in autofill.";
321const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
322 "If enabled, display the last used date of a credit card in autofill.";
323
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37324const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
325 "Enable Google Pay branding when offering credit card upload on Android";
326const char
327 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
328 "If enabled, shows the Google Pay logo and a shorter header message "
329 "when credit card upload to Google Payments is offered on Android.";
330
Jared Saul1e4786a2017-12-14 01:43:09331const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
332 "Always send metadata on detected form values for Autofill credit card "
333 "upload";
334const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
335 "If enabled, always checks with Google Payments when deciding whether to "
336 "offer credit card upload, even if some data is missing.";
337
Jared Saul5c2a1482017-12-09 00:24:31338const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
339 "Send first six digits of PAN when deciding whether to offer Autofill "
340 "credit card upload";
341const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
342 "If enabled, when deciding whether to offer credit card upload to Google "
343 "Payments, sends the first six digits of the card number to avoid cases "
344 "where card upload is likely to fail.";
345
siyua7c4e97b42018-04-24 02:49:42346const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
347 "Enable updated prompt explanation when offering credit card upload";
348const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
349 "If enabled, changes the server save card prompt's explanation to mention "
350 "the saving of the billing address.";
351
tmartinocd414732018-02-12 19:01:01352const char kEnableAutofillNativeDropdownViewsName[] =
353 "Display Autofill Dropdown Using Views";
354const char kEnableAutofillNativeDropdownViewsDescription[] =
355 "If enabled, the Autofill Dropdown will be built natively using Views, "
356 "rather than painted directly to a canvas.";
357
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23358const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
359 "Send experiment flag IDs in calls to Google Payments";
360const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
361 "If enabled, adds the status of certain experiment variations when making "
362 "calls to Google Payments.";
363
Becca Hughes4d896c42018-05-29 16:58:51364const char kEnableAutoplayIgnoreWebAudioName[] =
365 "Autoplay ignores WebAudio playbacks";
366const char kEnableAutoplayIgnoreWebAudioDescription[] =
367 "If enabled, autoplay restrictions will be ignored for WebAudio.";
368
Vitalii Iarko4f9834ce2017-08-04 07:05:19369const char kEnableBreakingNewsPushName[] = "Breaking News Push";
370const char kEnableBreakingNewsPushDescription[] =
371 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
372 "through Google Cloud Messaging.";
373
Brett Wilsonf27ff602017-07-07 22:28:47374const char kEnableBrotliName[] = "Brotli Content-Encoding.";
375const char kEnableBrotliDescription[] =
376 "Enable Brotli Content-Encoding support.";
377
Qiang Xu0f602fe62017-12-22 01:31:20378const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
379const char kEnableCaptivePortalRandomUrlDescription[] =
380 "Enable Captive Portal URL randomization.";
381
sclittle50e4bb92017-07-08 02:23:03382const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
383
384const char kEnableClientLoFiDescription[] =
385 "Enable showing low fidelity images on some pages on slow networks.";
386
David Reveman87b4b692018-03-09 21:22:22387const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
388const char kEnableCursorMotionBlurDescription[] =
389 "Enable motion blur effect for the cursor.";
390
Doug Arnett08b4067b2017-10-12 20:14:44391const char kEnableNoScriptPreviewsName[] = "NoScript previews";
392
393const char kEnableNoScriptPreviewsDescription[] =
394 "Enable disabling JavaScript on some pages on slow networks.";
395
Thanh Le2c279fbc2017-11-21 01:25:40396const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
397const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
398const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
399const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
400const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
401const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
402const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
403const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
404const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
405const char kDataReductionProxyServerAlternative10[] =
406 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47407const char kEnableDataReductionProxyServerExperimentName[] =
408 "Use an alternative Data Saver back end configuration.";
409const char kEnableDataReductionProxyServerExperimentDescription[] =
410 "Enable a different approach to saving data by configuring the back end "
411 "server";
412
413const char kEnableDataReductionProxySavingsPromoName[] =
414 "Data Saver 1 MB Savings Promo";
415const char kEnableDataReductionProxySavingsPromoDescription[] =
416 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
417 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
418 "enabled for the promo to be shown.";
419
Matt Giucad4870432017-11-24 01:04:38420const char kEnableDesktopPWAsName[] = "Desktop PWAs";
421const char kEnableDesktopPWAsDescription[] =
422 "Experimental windowing and install banner treatment for Progressive Web "
423 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17424
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59425const char kEnableDesktopPWAsLinkCapturingName[] =
426 "Desktop PWAs Link Capturing";
427const char kEnableDesktopPWAsLinkCapturingDescription[] =
428 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
429 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
430 "#enable-desktop-pwas.";
431
Ahmed Fakhry0037de02018-01-29 19:58:31432const char kEnableDockedMagnifierName[] = "Docked Magnifier";
433const char kEnableDockedMagnifierDescription[] =
434 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
435
Ramya Nagarajan5b41d8d2018-04-02 19:53:02436const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
437const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09438 "Enables the Emoji picker item in context menus for editable text areas, if"
439 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02440
Brett Wilsonf27ff602017-07-07 22:28:47441const char kEnableEnumeratingAudioDevicesName[] =
442 "Experimentally enable enumerating audio devices.";
443const char kEnableEnumeratingAudioDevicesDescription[] =
444 "Experimentally enable the use of enumerating audio devices.";
445
446const char kEnableGenericSensorName[] = "Generic Sensor";
447const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25448 "Enables motion sensor classes based on Generic Sensor API, i.e. "
449 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
450 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
451
452const char kEnableGenericSensorExtraClassesName[] =
453 "Generic Sensor Extra Classes";
454const char kEnableGenericSensorExtraClassesDescription[] =
455 "Enables an extra set of sensor classes based on Generic Sensor API, which "
456 "expose previously unavailable platform features, i.e. AmbientLightSensor "
457 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47458
Brett Wilsonf27ff602017-07-07 22:28:47459const char kEnableHDRName[] = "HDR mode";
460const char kEnableHDRDescription[] =
461 "Enables HDR support on compatible displays.";
462
Brett Wilsonf27ff602017-07-07 22:28:47463const char kEnableHttpFormWarningName[] =
464 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15465 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47466const char kEnableHttpFormWarningDescription[] =
467 "Attaches a warning UI to any password or credit card fields detected when "
468 "the top-level page is not HTTPS";
469
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41470const char kLayeredAPIName[] = "Experimental layered APIs";
471const char kLayeredAPIDescription[] =
472 "Enable layered API infrastructure, as well as several experimental "
473 "layered APIs. The syntax and the APIs exposed are experimental and will "
474 "change over time.";
475
Scott Littled0fd2d002018-04-13 03:37:26476const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
477const char kEnableLazyFrameLoadingDescription[] =
478 "Defers the loading of certain cross-origin frames until the page is "
479 "scrolled down near them.";
480
Sidney San Martín9375b892017-09-09 00:29:54481const char kEnableMacMaterialDesignDownloadShelfName[] =
482 "Enable Material Design download shelf";
483
484const char kEnableMacMaterialDesignDownloadShelfDescription[] =
485 "If enabled, the download shelf uses Material Design.";
486
Tatiana Gornakafb40452017-07-31 13:50:04487const char kEnableManualFallbacksFillingName[] =
488 "Manual fallbacks for password manager forms filling";
489const char kEnableManualFallbacksFillingDescription[] =
490 "If enabled, then if user clicks on the password field on a form, popup "
491 "might contain generation fallbacks or 'Show all saved passwords' "
492 "fallback.";
493
vabr0215a8e2017-03-28 12:47:34494const char kEnableMaterialDesignExtensionsName[] =
495 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34496const char kEnableMaterialDesignExtensionsDescription[] =
497 "If enabled, the chrome://extensions/ URL loads the Material Design "
498 "extensions page.";
499
Anton Urusov47cd4932017-09-19 14:41:41500const char kEnablePolicyToolName[] = "Enable policy management page";
501const char kEnablePolicyToolDescription[] =
502 "If enabled, the chrome://policy-tool URL loads a page for managing "
503 "policies.";
504
Tsuyoshi Horoea7edb72017-11-12 04:14:00505const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
506const char kEnablePWAFullCodeCacheDescription[] =
507 "Generate V8 code cache in Cache Storage while installing Service Worker "
508 "for PWAs.";
509
Weidong Guof1e5a892018-01-06 02:26:39510const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28511 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39512const char kDisableMultiMirroringDescription[] =
513 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28514
Brett Wilsonf27ff602017-07-07 22:28:47515const char kEnableNavigationTracingName[] = "Enable navigation tracing";
516const char kEnableNavigationTracingDescription[] =
517 "This is to be used in conjunction with the trace-upload-url flag. "
518 "WARNING: When enabled, Chrome will record performance data for every "
519 "navigation and upload it to the URL specified by the trace-upload-url "
520 "flag. The trace may include personally identifiable information (PII) "
521 "such as the titles and URLs of websites you visit.";
522
Bernhard Bauer5533f9912017-11-06 17:56:02523const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
524const char kEnableNetworkLoggingToFileDescription[] =
525 "Enables network logging to a file named netlog.json in the user data "
526 "directory. The file can be imported into chrome://net-internals.";
527
Brett Wilsonf27ff602017-07-07 22:28:47528const char kEnableNetworkServiceName[] = "Enable network service";
529const char kEnableNetworkServiceDescription[] =
530 "Enables the network service, which makes network requests through a "
531 "separate service. Note: most features don't work with this yet.";
532
John Abd-El-Malek8067cc02017-12-04 23:23:20533const char kEnableNetworkServiceInProcessName[] =
534 "Runs network service in-process";
535const char kEnableNetworkServiceInProcessDescription[] =
536 "Runs the network service in the browser process.";
537
dpapaded8349472017-10-25 03:21:27538const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
539const char kEnableNewPrintPreviewDescription[] =
540 "If enabled, Print Preview will display a newer UI";
541
Ahmed Fakhry2fd8fc82017-07-28 16:31:12542const char kEnableNightLightName[] = "Enable Night Light";
543const char kEnableNightLightDescription[] =
544 "Enable the Night Light feature which controls the color temperature of "
545 "the screen.";
546
xlou8b56f672018-02-09 23:34:30547const char kEnableNupPrintingName[] = "Enable N-up printing";
548const char kEnableNupPrintingDescription[] =
549 "Enable N-up printing in the print preview panel.";
550
Sophie Chang117a3b22017-10-24 22:25:36551const char kEnableOptimizationHintsName[] = "Optimization Hints";
552const char kEnableOptimizationHintsDescription[] =
553 "Enable the Optimization Hints feature which incorporates server hints"
554 "into decisions for what optimizations to perform on some pages on slow "
555 "networks.";
556
Yutaka Hirano98be3272017-08-07 17:55:39557const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
558const char kEnableOutOfBlinkCORSDescription[] =
559 "CORS handling logic is moved out of blink.";
560
Sammie Quon0fbf0782018-05-01 22:11:08561const char kEnableOverviewSwipeToCloseName[] =
562 "Enable overview swipe to close.";
563const char kEnableOverviewSwipeToCloseDescription[] =
564 "Enables closing of items in overview mode by dragging or flinging "
565 "vertically.";
566
kylechar7051c092018-02-05 20:31:39567const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
568const char kVizDisplayCompositorDescription[] =
569 "If enabled, the display compositor runs as part of the viz service in the"
570 "GPU process.";
571
Ria Jiang6a129b982018-03-01 18:30:40572const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
573const char kVizHitTestDrawQuadDescription[] =
574 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
575 "with hit-test data computed from the CompositorFrame.";
576
Erik Chen49bbfa22017-08-18 08:49:56577const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23578 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56579const char kEnableOutOfProcessHeapProfilingDescription[] =
580 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19581 "malloced objects. Heap dumps can be obtained at chrome://tracing "
582 "[category:memory-infra] and chrome://memory-internals. This setting "
583 "controls which processes are profiled. As long as this setting is not "
584 "disabled, users can start profiling any given process in "
585 "chrome://memory-internals.";
586const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
587const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
588const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
589const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
590const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10591const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19592 "None by default. Visit chrome://memory-internals to choose which "
593 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15594const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
595 "Profile a random sampling of renderer processes, ensuring only one is "
596 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19597
Erik Chen8bb76b52017-12-06 19:06:25598const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19599 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25600const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
601 "By default, small allocations are pruned from the heap dump. This reduces "
602 "the size of the compressed trace by 100x. If pruning is disabled, the "
603 "chrome://tracing UI may be unable to take or load the trace. Save the "
604 "trace directly using chrome://memory-internals, and use other mechanisms "
605 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
606 "automatically uploaded traces will always be pruned. This only affects "
607 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56608
erikchen8bc20d82018-02-14 03:21:51609const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
610const char kOutOfProcessHeapProfilingSamplingDescription[] =
611 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22612 "10000. This results in low noise for large and/or frequent allocations ["
613 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
614 "total size of malloc-ed objects] and large and/or frequent allocations "
615 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51616
Erik Chen3303fd0232018-01-11 20:29:05617const char kOOPHPStackModeName[] =
618 "The type of stack to record for memlog heap dumps";
619const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19620 "By default, memlog heap dumps record native stacks, which requires a "
621 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55622 "pointers to work on Android. Native with thread names will add the thread "
623 "name as the first frame of each native stack. It's also possible to "
624 "record a pseudo stack using trace events as identifiers. It's also "
625 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19626const char kOOPHPStackModeMixed[] = "Mixed";
627const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55628const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19629const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05630
François Beaufort2e75f492018-02-08 20:44:46631const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47632const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46633 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47634
F#m59d036e2017-09-13 07:22:17635const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
636const char kEnablePixelCanvasRecordingDescription[] =
637 "Pixel canvas recording allows the compositor to raster contents aligned "
638 "with the pixel and improves text rendering. This should be enabled when a "
639 "device is using fractional scale factor.";
640
Mikel Astiz38837f82018-04-24 22:23:23641const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
642const char kEnableSyncUSSSessionsDescription[] =
643 "Enables the new, experimental implementation of session sync (aka tab "
644 "sync).";
645
Brett Wilsonf27ff602017-07-07 22:28:47646const char kEnableTokenBindingName[] = "Token Binding.";
647const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
648
Sahel Sharifyd732ab12017-11-29 23:03:16649extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
650 "Wheel Scroll Latching.";
651extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
652 "Wheel scroll latching enforces latching to a single element for the "
653 "duration of a scroll sequence.";
654
Brett Wilsonf27ff602017-07-07 22:28:47655const char kEnableUseZoomForDsfName[] =
656 "Use Blink's zoom for device scale factor.";
657const char kEnableUseZoomForDsfDescription[] =
658 "If enabled, Blink uses its zooming mechanism to scale content for device "
659 "scale factor.";
660const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
661const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
662const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
663
Patrick Noland8ee016e2018-01-24 11:44:53664const char kEnableScrollAnchorSerializationName[] =
665 "Scroll Anchor Serialization";
666const char kEnableScrollAnchorSerializationDescription[] =
667 "Save the scroll anchor and use it to restore the scroll position when "
668 "navigating.";
669
Brad Nelson5cd500e2018-01-04 00:50:19670const char kEnableSharedArrayBufferName[] =
671 "Experimental enabled SharedArrayBuffer support in JavaScript.";
672const char kEnableSharedArrayBufferDescription[] =
673 "Enable SharedArrayBuffer support in JavaScript.";
674
Brett Wilsonf27ff602017-07-07 22:28:47675const char kEnableWasmName[] = "WebAssembly structured cloning support.";
676const char kEnableWasmDescription[] =
677 "Enable web pages to use WebAssembly structured cloning.";
678
Brett Wilsonf27ff602017-07-07 22:28:47679const char kEnableImageCaptureAPIName[] = "Image Capture API";
680const char kEnableImageCaptureAPIDescription[] =
681 "Enables the Web Platform Image Capture API: takePhoto(), "
682 "getPhotoCapabilities(), etc.";
683
684const char kEnableZeroSuggestRedirectToChromeName[] =
685 "Experimental contextual omnibox suggestion";
686const char kEnableZeroSuggestRedirectToChromeDescription[] =
687 "Change omnibox contextual suggestions to an experimental source. Note "
688 "that this is not an on/off switch for contextual omnibox and it only "
689 "applies to suggestions provided before the user starts typing a URL or a "
690 "search query (i.e. zero suggest).";
691
692const char kEnableWasmStreamingName[] =
693 "WebAssembly streaming compile/instantiate support.";
694const char kEnableWasmStreamingDescription[] =
695 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
696
Clemens Hammacher0c8a15a2018-04-27 13:45:32697const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
698const char kEnableWasmBaselineDescription[] =
699 "Enables WebAssembly baseline compilation and tier up.";
700
Brett Wilsonf27ff602017-07-07 22:28:47701const char kExpensiveBackgroundTimerThrottlingName[] =
702 "Throttle expensive background timers";
703const char kExpensiveBackgroundTimerThrottlingDescription[] =
704 "Enables intervention to limit CPU usage of background timers to 1%.";
705
706const char kExperimentalAppBannersName[] = "Experimental app banners";
707const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38708 "Enables a new experimental app banner flow and UI. Implies "
709 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47710
711const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
712const char kExperimentalCanvasFeaturesDescription[] =
713 "Enables the use of experimental canvas features which are still in "
714 "development.";
715
Nicholas Verneccd8259802018-02-22 01:22:04716const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
717const char kExperimentalCrostiniUIDescription[] =
718 "Enables in-development Crostini features.";
719
Brett Wilsonf27ff602017-07-07 22:28:47720const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
721const char kExperimentalExtensionApisDescription[] =
722 "Enables experimental extension APIs. Note that the extension gallery "
723 "doesn't allow you to upload extensions that use experimental APIs.";
724
725const char kExperimentalFullscreenExitUIName[] =
726 "Experimental fullscreen exit UI";
727const char kExperimentalFullscreenExitUIDescription[] =
728 "Displays experimental UI to allow mouse and touch input methods to exit "
729 "fullscreen mode.";
730
Ian Clelland37a985d2018-05-04 02:43:13731const char kExperimentalProductivityFeaturesName[] =
732 "Experimental Productivity Features";
733const char kExperimentalProductivityFeaturesDescription[] =
734 "Enable support for experimental developer productivity features, such as "
735 "Layered APIs and policies for avoiding slow rendering.";
736
Brett Wilsonf27ff602017-07-07 22:28:47737const char kExperimentalSecurityFeaturesName[] =
738 "Potentially annoying security features";
739const char kExperimentalSecurityFeaturesDescription[] =
740 "Enables several security features that will likely break one or more "
741 "pages that you visit on a daily basis. Strict mixed content checking, for "
742 "example. And locking powerful features to secure contexts. This flag will "
743 "probably annoy you.";
744
745const char kExperimentalWebPlatformFeaturesName[] =
746 "Experimental Web Platform features";
747const char kExperimentalWebPlatformFeaturesDescription[] =
748 "Enables experimental Web Platform features that are in development.";
749
750const char kExtensionContentVerificationName[] =
751 "Extension Content Verification";
752const char kExtensionContentVerificationDescription[] =
753 "This flag can be used to turn on verification that the contents of the "
754 "files on disk for extensions from the webstore match what they're "
755 "expected to be. This can be used to turn on this feature if it would not "
756 "otherwise have been turned on, but cannot be used to turn it off (because "
757 "this setting can be tampered with by malware).";
758const char kExtensionContentVerificationBootstrap[] =
759 "Bootstrap (get expected hashes, but do not enforce them)";
760const char kExtensionContentVerificationEnforce[] =
761 "Enforce (try to get hashes, and enforce them if successful)";
762const char kExtensionContentVerificationEnforceStrict[] =
763 "Enforce strict (hard fail if we can't get hashes)";
764
765const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
766const char kExtensionsOnChromeUrlsDescription[] =
767 "Enables running extensions on chrome:// URLs, where extensions explicitly "
768 "request this permission.";
galinapae72e152017-05-12 13:12:28769
Brett Wilsonecb80982017-07-12 20:34:51770const char kFastUnloadName[] = "Fast tab/window close";
771const char kFastUnloadDescription[] =
772 "Enables fast tab/window closing - runs a tab's onunload js handler "
773 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34774
Brett Wilsonecb80982017-07-12 20:34:51775const char kFeaturePolicyName[] = "Feature Policy";
776const char kFeaturePolicyDescription[] =
777 "Enables granting and removing access to features through the "
778 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34779
Brett Wilsonecb80982017-07-12 20:34:51780const char kFontCacheScalingName[] = "FontCache scaling";
781const char kFontCacheScalingDescription[] =
782 "Reuse a cached font in the renderer to serve different sizes of font for "
783 "faster layout.";
784
785const char kForceEffectiveConnectionTypeName[] =
786 "Override effective connection type";
787const char kForceEffectiveConnectionTypeDescription[] =
788 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30789 "returned by the network quality estimator. Slow 2G on Cellular returns "
790 "Slow 2G when connected to a cellular network, and the actual estimate "
791 "effective connection type when not on a cellular network. Previews are "
792 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51793const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
794const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
795const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30796const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
797 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51798const char kEffectiveConnectionType2GDescription[] = "2G";
799const char kEffectiveConnectionType3GDescription[] = "3G";
800const char kEffectiveConnectionType4GDescription[] = "4G";
801
802const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
803const char kFillOnAccountSelectDescription[] =
804 "Filling of passwords when an account is explicitly selected by the user "
805 "rather than autofilling credentials on page load.";
806
Brett Wilsonecb80982017-07-12 20:34:51807const char kForceTextDirectionName[] = "Force text direction";
808const char kForceTextDirectionDescription[] =
809 "Explicitly force the per-character directionality of UI text to "
810 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
811 "direction of the character language.";
812const char kForceDirectionLtr[] = "Left-to-right";
813const char kForceDirectionRtl[] = "Right-to-left";
814
815const char kForceUiDirectionName[] = "Force UI direction";
816const char kForceUiDirectionDescription[] =
817 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
818 "mode, overriding the default direction of the UI language.";
819
820const char kFramebustingName[] =
821 "Framebusting requires same-origin or a user gesture";
822const char kFramebustingDescription[] =
823 "Don't permit an iframe to navigate the top level browsing context unless "
824 "they are same-origin or the iframe is processing a user gesture.";
825
826const char kGamepadExtensionsName[] = "Gamepad Extensions";
827const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22828 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58829const char kGamepadVibrationName[] = "Gamepad Vibration";
830const char kGamepadVibrationDescription[] =
831 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51832
Brett Wilsonecb80982017-07-12 20:34:51833const char kGpuRasterizationMsaaSampleCountName[] =
834 "GPU rasterization MSAA sample count.";
835const char kGpuRasterizationMsaaSampleCountDescription[] =
836 "Specify the number of MSAA samples for GPU rasterization.";
837const char kGpuRasterizationMsaaSampleCountZero[] = "0";
838const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
839const char kGpuRasterizationMsaaSampleCountFour[] = "4";
840const char kGpuRasterizationMsaaSampleCountEight[] = "8";
841const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
842
843const char kGpuRasterizationName[] = "GPU rasterization";
844const char kGpuRasterizationDescription[] =
845 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28846const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51847
848const char kGoogleProfileInfoName[] = "Google profile name and icon";
849const char kGoogleProfileInfoDescription[] =
850 "Enables using Google information to populate the profile name and icon in "
851 "the avatar menu.";
852
853const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
854const char kHarfbuzzRendertextDescription[] =
855 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
856 "web content.";
857
Takumi Fujimotofb71e332018-03-31 14:04:08858const char kViewsCastDialogName[] = "Views Cast dialog";
859const char kViewsCastDialogDescription[] =
860 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
861
Manu Cornet4a908de2018-04-09 04:32:27862const char kHideActiveAppsFromShelfName[] =
863 "Hide running apps (that are not pinned) from the shelf";
864const char kHideActiveAppsFromShelfDescription[] =
865 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25866
Brett Wilsonecb80982017-07-12 20:34:51867const char kHistoryRequiresUserGestureName[] =
868 "New history entries require a user gesture.";
869const char kHistoryRequiresUserGestureDescription[] =
870 "Require a user gesture to add a history entry.";
871const char kHyperlinkAuditingName[] = "Hyperlink auditing";
872const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
873
Ryan Landay4242dbc22018-04-04 01:47:33874const char kHorizontalTabSwitcherAndroidName[] =
875 "Enable horizontal tab switcher";
876const char kHorizontalTabSwitcherAndroidDescription[] =
877 "Changes the layout of the Android tab switcher so tabs scroll "
878 "horizontally instead of vertically.";
879
Brett Wilsonecb80982017-07-12 20:34:51880const char kHostedAppQuitNotificationName[] =
881 "Quit notification for hosted apps";
882const char kHostedAppQuitNotificationDescription[] =
883 "Display a notification when quitting Chrome if hosted apps are currently "
884 "running.";
885
886const char kHostedAppShimCreationName[] =
887 "Creation of app shims for hosted apps on Mac";
888const char kHostedAppShimCreationDescription[] =
889 "Create app shims on Mac when creating a hosted app.";
890
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48891const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
892const char kHtmlBasedUsernameDetectorDescription[] =
893 "Use HTML-based username detector for the password manager.";
894
Brett Wilsonecb80982017-07-12 20:34:51895const char kIconNtpName[] = "Large icons on the New Tab page";
896const char kIconNtpDescription[] =
897 "Enable the experimental New Tab page using large icons.";
898
899const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
900const char kIgnoreGpuBlacklistDescription[] =
901 "Overrides the built-in software rendering list and enables "
902 "GPU-acceleration on unsupported system configurations.";
903
Thanh Le5f090efa52017-12-27 22:39:44904const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
905const char kIgnorePreviewsBlacklistDescription[] =
906 "Ignore decisions made by the PreviewsBlackList";
907
Brett Wilsonecb80982017-07-12 20:34:51908const char kImportantSitesInCbdName[] =
909 "Important sites options in clear browsing data dialog";
910const char kImportantSitesInCbdDescription[] =
911 "Include the option to whitelist important sites in the clear browsing "
912 "data dialog.";
913
Claudio Magni61c210922017-12-28 00:29:51914const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
915const char kImprovedLanguageSettingsDescription[] =
916 "Set of changes for Language Settings. These changes are intended to fix "
917 "the major bugs related to Language Settings.";
918
Brett Wilsonecb80982017-07-12 20:34:51919const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
920const char kInProductHelpDemoModeChoiceDescription[] =
921 "Selects the In-Product Help demo mode.";
922
923const char kJavascriptHarmonyName[] = "Experimental JavaScript";
924const char kJavascriptHarmonyDescription[] =
925 "Enable web pages to use experimental JavaScript features.";
926
927const char kJavascriptHarmonyShippingName[] =
928 "Latest stable JavaScript features";
929const char kJavascriptHarmonyShippingDescription[] =
930 "Some web pages use legacy or non-standard JavaScript extensions that may "
931 "conflict with the latest JavaScript features. This flag allows disabling "
932 "support of those features for compatibility with such pages.";
933
Yutaka Hiranof7f2f632017-09-06 10:40:08934const char kKeepAliveRendererForKeepaliveRequestsName[] =
935 "Keep a renderer alive for keepalive fetch requests";
936const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
937 "Keep a render process alive when the process has a pending fetch request "
938 "with `keepalive' specified.";
939
Joe Downing095fd6d2018-02-01 18:40:36940const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
941const char kKeyboardLockApiDescription[] =
942 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
943 "specific key events and have them routed directly to the webpage when in "
944 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
945
Brett Wilsonecb80982017-07-12 20:34:51946const char kLcdTextName[] = "LCD text antialiasing";
947const char kLcdTextDescription[] =
948 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
949 "(subpixel) when doing accelerated compositing.";
950
Matt Giucac399982f2017-10-06 07:51:29951const char kLeftToRightUrlsName[] =
952 "Render bidirectional URLs from left to right";
953const char kLeftToRightUrlsDescription[] =
954 "An experimental Bidi URL rendering algorithm where the URL components are "
955 "always shown in order from left to right, regardless of any RTL "
956 "characters. (The contents of each component are still rendered with the "
957 "normal Bidi algorithm.)";
958
Brett Wilsonecb80982017-07-12 20:34:51959const char kLoadMediaRouterComponentExtensionName[] =
960 "Load Media Router Component Extension";
961const char kLoadMediaRouterComponentExtensionDescription[] =
962 "Loads the Media Router component extension at startup.";
963
spqchanb87755692018-04-05 00:46:09964const char kMacViewsAutofillPopupName[] =
965 "Uses the Views Autofill Popup on Mac";
966const char kMacViewsAutofillPopupDescription[] =
967 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32968
Brett Wilsonecb80982017-07-12 20:34:51969const char kManualPasswordGenerationName[] = "Manual password generation.";
970const char kManualPasswordGenerationDescription[] =
971 "Show a 'Generate Password' option on the context menu for all password "
972 "fields.";
973
974const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
975const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51976
Lei Zhang2eca9082017-10-17 20:42:50977const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
978const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51979 "If enabled, the Incognito New Tab page uses the new material design with "
980 "a better readable text.";
981
spqchanb87755692018-04-05 00:46:09982const char kMediaRouterCastAllowAllIPsName[] =
983 "Connect to Cast devices on all IP addresses";
984const char kMediaRouterCastAllowAllIPsDescription[] =
985 "Have the Media Router connect to Cast devices on all IP addresses, not "
986 "just RFC1918/RFC4913 private addresses.";
987
Brett Wilsonecb80982017-07-12 20:34:51988const char kMemoryAblationName[] = "Memory ablation experiment";
989const char kMemoryAblationDescription[] =
990 "Allocates extra memory in the browser process.";
991
992const char kMemoryCoordinatorName[] = "Memory coordinator";
993const char kMemoryCoordinatorDescription[] =
994 "Enable memory coordinator instead of memory pressure listeners.";
995
996const char kMessageCenterNewStyleNotificationName[] = "New style notification";
997const char kMessageCenterNewStyleNotificationDescription[] =
998 "Enables the experiment style of material-design notification";
999
Brett Wilsonecb80982017-07-12 20:34:511000const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
1001const char kMhtmlGeneratorOptionDescription[] =
1002 "Provides experimental options for MHTML file generator.";
1003const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1004const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1005
Kouhei Ueno08445c22017-09-05 03:58:301006const char kModuleScriptsDynamicImportName[] =
1007 "Enable ECMAScript 6 modules dynamic import";
1008const char kModuleScriptsDynamicImportDescription[] =
1009 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1010 "Blink.";
1011
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051012const char kModuleScriptsImportMetaUrlName[] =
1013 "Enable ECMAScript 6 modules import.meta.url";
1014const char kModuleScriptsImportMetaUrlDescription[] =
1015 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1016 "Blink.";
1017
Brett Wilsonecb80982017-07-12 20:34:511018const char kNewAudioRenderingMixingStrategyName[] =
1019 "New audio rendering mixing strategy";
1020const char kNewAudioRenderingMixingStrategyDescription[] =
1021 "Use the new audio rendering mixing strategy.";
1022
1023const char kNewBookmarkAppsName[] = "The new bookmark app system";
1024const char kNewBookmarkAppsDescription[] =
1025 "Enables the new system for creating bookmark apps.";
1026
Vadym Doroshenkof81e8bb2018-04-18 14:35:241027const char kNewPasswordFormParsingName[] = "New password form parsing";
1028const char kNewPasswordFormParsingDescription[] =
1029 "Replaces existing form parsing in password manager with a new version, "
1030 "currently under development. WARNING: when enabled Password Manager might "
1031 "stop working";
1032
Brett Wilsonecb80982017-07-12 20:34:511033const char kNewRemotePlaybackPipelineName[] =
1034 "Enable the new remote playback pipeline.";
1035const char kNewRemotePlaybackPipelineDescription[] =
1036 "Enable the new pipeline for playing media element remotely via "
1037 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501038const char kUseSurfaceLayerForVideoName[] =
1039 "Enable the use of SurfaceLayer objects for videos.";
1040const char kUseSurfaceLayerForVideoDescription[] =
1041 "Enable compositing onto a Surface instead of a VideoLayer "
1042 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511043
1044const char kNewUsbBackendName[] = "Enable new USB backend";
1045const char kNewUsbBackendDescription[] =
1046 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341047
Sonny Sasaka2d200432018-03-22 17:43:161048const char kNewblueName[] = "Newblue";
1049const char kNewblueDescription[] =
1050 "Enables the use of newblue Bluetooth daemon.";
1051
brettw5f9c1642017-05-14 17:12:481052const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:341053const char kNostatePrefetchDescription[] =
1054 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
1055 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1056 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1057 R"*(similar to disabling the feature, but collects more metrics for )*"
1058 R"*(comparison purposes.)*";
1059
Alex Newcomerd7b0cc42018-05-25 22:58:481060const char kNotificationIndicatorName[] = "Notification Indicators";
1061const char kNotificationIndicatorDescription[] =
1062 "Enable notification indicators, which appear on app icons when a "
1063 "notification is active. This will also enable notifications in context "
1064 "menus.";
1065
Brett Wilsonecb80982017-07-12 20:34:511066const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1067const char kNotificationsNativeFlagDescription[] =
1068 "Enable support for using the native notification toasts and notification "
1069 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341070
Zentaro Kavanaghbad511c2017-10-18 22:29:001071#if defined(OS_POSIX)
1072const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1073const char kNtlmV2EnabledDescription[] =
1074 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1075#endif
1076
Ramya Nagarajane9f16b82018-05-03 01:05:341077const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1078const char kNtpBackgroundsDescription[] =
1079 "Allow selection of a custom background image on the New Tab Page.";
1080
1081const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1082const char kNtpIconsDescription[] =
1083 "Show custom link icons on the New Tab Page, instead of Most Visited "
1084 "tiles.";
1085
1086const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1087const char kNtpUIMdDescription[] =
1088 "Updates the New Tab Page with Material Design elements.";
1089
Brett Wilsonecb80982017-07-12 20:34:511090const char kNumRasterThreadsName[] = "Number of raster threads";
1091const char kNumRasterThreadsDescription[] =
1092 "Specify the number of raster threads.";
1093const char kNumRasterThreadsOne[] = "1";
1094const char kNumRasterThreadsTwo[] = "2";
1095const char kNumRasterThreadsThree[] = "3";
1096const char kNumRasterThreadsFour[] = "4";
1097
1098const char kOfferStoreUnmaskedWalletCardsName[] =
1099 "Google Payments card saving checkbox";
1100const char kOfferStoreUnmaskedWalletCardsDescription[] =
1101 "Show the checkbox to offer local saving of a credit card downloaded from "
1102 "the server.";
1103
1104const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1105const char kOfflineAutoReloadDescription[] =
1106 "Pages that fail to load while the browser is offline will be "
1107 "auto-reloaded when the browser is online again.";
1108
1109const char kOfflineAutoReloadVisibleOnlyName[] =
1110 "Only Auto-Reload Visible Tabs";
1111const char kOfflineAutoReloadVisibleOnlyDescription[] =
1112 "Pages that fail to load while the browser is offline will only be "
1113 "auto-reloaded if their tab is visible.";
1114
Brett Wilsonecb80982017-07-12 20:34:511115const char kOmniboxDisplayTitleForCurrentUrlName[] =
1116 "Include title for the current URL in the omnibox";
1117const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1118 "In the event that the omnibox provides suggestions on-focus, the URL of "
1119 "the current page is provided as the first suggestion without a title. "
1120 "Enabling this flag causes the title to be displayed.";
1121
Benoit Lizeab08362c2017-07-19 14:50:541122const char kOmniboxSpareRendererName[] =
1123 "Start spare renderer on omnibox focus";
1124const char kOmniboxSpareRendererDescription[] =
1125 "When the omnibox is focused, start an empty spare renderer. This can "
1126 "speed up the load of the navigation from the omnibox.";
1127
Tommy C. Li8875a442017-08-23 00:10:591128const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1129 "Omnibox UI Elide Suggestion URL After Host";
1130const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1131 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1132 "dropdown.";
1133
Tommy C. Lid79d4402017-12-22 22:49:121134const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1135 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1136const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1137 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1138 "displayed URLs. Hidden portions are restored during editing.";
1139
Brett Wilsonecb80982017-07-12 20:34:511140const char kOmniboxUIMaxAutocompleteMatchesName[] =
1141 "Omnibox UI Max Autocomplete Matches";
1142
1143const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1144 "Changes the maximum number of autocomplete matches displayed in the "
1145 "Omnibox UI.";
1146
Justin Donnelly65c9e8b2017-10-01 05:15:011147const char kOmniboxUIShowSuggestionFaviconsName[] =
1148 "Omnibox UI Show Suggestion Favicons";
1149const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1150 "Shows favicons instead of generic vector icons for URL suggestions in the "
1151 "Omnibox dropdown.";
1152
1153const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1154const char kOmniboxUISwapTitleAndUrlDescription[] =
1155 "In the omnibox dropdown, shows titles before URLs when both are "
1156 "available.";
1157
Brett Wilsonecb80982017-07-12 20:34:511158const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1159const char kOmniboxUIVerticalMarginDescription[] =
1160 "Changes the vertical margin in the Omnibox UI.";
1161
Troy Hildebrandtb32637ca2018-02-21 23:25:091162const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1163 "Omnibox Voice Search Always Visible";
1164const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1165 "Always displays voice search icon in focused omnibox as long as voice "
1166 "search is possible";
1167
Brett Wilsonecb80982017-07-12 20:34:511168const char kOriginTrialsName[] = "Origin Trials";
1169const char kOriginTrialsDescription[] =
1170 "Enables origin trials for controlling access to feature/API experiments.";
1171
Becca Hughes930d8cd2017-10-02 11:09:121172const char kOverflowIconsForMediaControlsName[] =
1173 "Icons on Media Controls Overflow Menu";
1174const char kOverflowIconsForMediaControlsDescription[] =
1175 "Displays icons on the overflow menu of the native media controls";
1176
Brett Wilsonecb80982017-07-12 20:34:511177const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1178const char kOverlayScrollbarsDescription[] =
1179 "Enable the experimental overlay scrollbars implementation. You must also "
1180 "enable threaded compositing to have the scrollbars animate.";
1181
chaopenge8aa016b2017-08-24 15:20:191182const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1183 "Flash Overlay Scrollbars After Any Scroll Update";
1184const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1185 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1186 " must also enable Overlay Scrollbars.";
1187
chaopeng343678022017-08-24 18:45:001188const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1189 "Flash Overlay Scrollbars When Mouse Enter";
1190const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1191 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1192 " enable Overlay Scrollbars.";
1193
Claudio Magni81326f92017-09-01 05:21:181194const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1195const char kUseNewAcceptLanguageHeaderDescription[] =
1196 "Adds the base language code after other corresponding language+region "
1197 "codes. This ensures that users receive content in their preferred "
1198 "language.";
1199
Brett Wilsonecb80982017-07-12 20:34:511200const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1201const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481202 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511203const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481204const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511205
1206const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1207const char kOverscrollStartThresholdDescription[] =
1208 "Changes overscroll start threshold relative to the default value.";
1209const char kOverscrollStartThreshold133Percent[] = "133%";
1210const char kOverscrollStartThreshold166Percent[] = "166%";
1211const char kOverscrollStartThreshold200Percent[] = "200%";
1212
chaopenge2b6e5f2018-05-08 16:40:451213const char kTouchpadOverscrollHistoryNavigationName[] =
1214 "Overscroll history navigation on Touchpad";
1215const char kTouchpadOverscrollHistoryNavigationDescription[] =
1216 "Allows swipe left/right from touchpad change browser navigation.";
1217
Xing Liu5400a002017-09-15 21:48:291218const char kParallelDownloadingName[] = "Parallel downloading";
1219const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061220 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291221
Brett Wilsonecb80982017-07-12 20:34:511222const char kPassiveEventListenerDefaultName[] =
1223 "Passive Event Listener Override";
1224const char kPassiveEventListenerDefaultDescription[] =
1225 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1226 "haven't requested otherwise) to be treated as passive. This will break "
1227 "touch/wheel behavior on some websites but is useful for demonstrating the "
1228 "potential performance benefits of adopting passive event listeners.";
1229const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1230const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1231
1232const char kPassiveEventListenersDueToFlingName[] =
1233 "Touch Event Listeners Passive Default During Fling";
1234const char kPassiveEventListenersDueToFlingDescription[] =
1235 "Forces touchstart, and first touchmove per scroll event listeners during "
1236 "fling to be treated as passive.";
1237
1238const char kPassiveDocumentEventListenersName[] =
1239 "Document Level Event Listeners Passive Default";
1240const char kPassiveDocumentEventListenersDescription[] =
1241 "Forces touchstart, and touchmove event listeners on document level "
1242 "targets (which haven't requested otherwise) to be treated as passive.";
1243
1244const char kPasswordForceSavingName[] = "Force-saving of passwords";
1245const char kPasswordForceSavingDescription[] =
1246 "Allow the user to manually enforce password saving instead of relying on "
1247 "password manager's heuristics.";
1248
1249const char kPasswordGenerationName[] = "Password generation";
1250const char kPasswordGenerationDescription[] =
1251 "Allow the user to have Chrome generate passwords when it detects account "
1252 "creation pages.";
1253
Vaclav Brozekd8a3f542017-11-16 14:21:131254const char kPasswordExportName[] = "Password export";
1255const char kPasswordExportDescription[] =
1256 "Export functionality in password settings.";
1257
1258const char kPasswordImportName[] = "Password import";
1259const char kPasswordImportDescription[] =
1260 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511261
Friedrich Horschig03c91982018-01-25 14:21:281262const char kPasswordSearchMobileName[] = "Password search";
1263const char kPasswordSearchMobileDescription[] =
1264 "Search functionality in password settings.";
1265
Friedrich Horschige6c27742018-04-23 17:13:411266const char kPasswordsKeyboardAccessoryName[] =
1267 "Add password-related functions to keyboard accessory";
1268const char kPasswordsKeyboardAccessoryDescription[] =
1269 "Adds password generation button and toggle for the passwords bottom sheet "
1270 "to the keyboard accessory. Replaces password generation popups.";
1271
Tom Sepez92a2cd242018-03-13 19:23:091272const char kPdfIsolationName[] = "PDF Isolation";
1273const char kPdfIsolationDescription[] =
1274 "Render PDF files from different origins in different plugin processes.";
1275
Brett Wilsonecb80982017-07-12 20:34:511276const char kPinchScaleName[] = "Pinch scale";
1277const char kPinchScaleDescription[] =
1278 "Enables experimental support for scale using pinch.";
1279
Doug Arnett620ff542018-02-06 17:54:221280const char kPreviewsAllowedName[] = "Previews Allowed";
1281const char kPreviewsAllowedDescription[] =
1282 "Allows previews to be shown subject to specific preview types being "
1283 "enabled and the client experiencing specific triggering conditions. "
1284 "May be used as a kill-switch to turn off all potential preview types.";
1285
Brett Wilsonecb80982017-07-12 20:34:511286const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1287const char kPrintPdfAsImageDescription[] =
1288 "If enabled, an option to print PDF files as images will be available in "
1289 "print preview.";
1290
1291const char kPrintPreviewRegisterPromosName[] =
1292 "Print Preview Registration Promos";
1293const char kPrintPreviewRegisterPromosDescription[] =
1294 "Enable registering unregistered cloud printers from print preview.";
1295
1296const char kProtectSyncCredentialName[] = "Autofill sync credential";
1297const char kProtectSyncCredentialDescription[] =
1298 "How the password manager handles autofill for the sync credential.";
1299
1300const char kProtectSyncCredentialOnReauthName[] =
1301 "Autofill sync credential only for transactional reauth pages";
1302const char kProtectSyncCredentialOnReauthDescription[] =
1303 "How the password manager handles autofill for the sync credential only "
1304 "for transactional reauth pages.";
1305
Mohsen Izadi93faac12017-07-29 04:45:151306const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1307const char kPullToRefreshDescription[] =
1308 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011309const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151310
Troy Hildebrandt7228ad12018-02-23 21:18:241311const char kQueryInOmniboxName[] = "Query in Omnibox";
1312const char kQueryInOmniboxDescription[] =
1313 "Only display query terms in the omnibox when viewing a search results "
1314 "page.";
1315
Brett Wilsonecb80982017-07-12 20:34:511316const char kQuicName[] = "Experimental QUIC protocol";
1317const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1318
Emily Starke8878d52018-05-11 21:27:261319const char kRecurrentInterstitialName[] =
1320 "Show a message when the same SSL error recurs";
1321const char kRecurrentInterstitialDescription[] =
1322 "Enable a special message on the SSL certificate error page when the same "
1323 "SSL error occurs repeatedly.";
1324
Brett Wilsonecb80982017-07-12 20:34:511325const char kReducedReferrerGranularityName[] =
1326 "Reduce default 'referer' header granularity.";
1327const char kReducedReferrerGranularityDescription[] =
1328 "If a page hasn't set an explicit referrer policy, setting this flag will "
1329 "reduce the amount of information in the 'referer' header for cross-origin "
1330 "requests.";
1331
Claudio Magnie0a80bb2018-01-31 02:52:581332extern const char kRegionalLocalesAsDisplayUIName[] =
1333 "Allow regional locales as display UI";
1334extern const char kRegionalLocalesAsDisplayUIDescription[] =
1335 "This flag allows regional locales to be selected as display UI by the "
1336 "user in Language Settings. The actual locale of the system is derived "
1337 "from the user selection based on some simple fallback logic.";
1338
Christian Dullweber1af31e62018-02-22 11:49:481339const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141340 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481341const char kRemoveNavigationHistoryDescription[] =
1342 "Remove a navigation entry when the corresponding history entry has been "
1343 "deleted.";
1344
Mihai Sardarescu6d0f5b72017-10-30 11:24:381345const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1346 "Remove usage of the deprecated GAIA sign-in endpoint";
1347const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1348 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1349 "This flags controls wheter it should no longer be used during a sign-in "
1350 " flow.";
1351
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351352const char kRendererSideResourceSchedulerName[] =
1353 "Renderer side ResourceScheduler";
1354const char kRendererSideResourceSchedulerDescription[] =
1355 "Migrate some ResourceScheduler functionalities to renderer";
1356
Brett Wilsonecb80982017-07-12 20:34:511357const char kRequestTabletSiteName[] =
1358 "Request tablet site option in the settings menu";
1359const char kRequestTabletSiteDescription[] =
1360 "Allows the user to request tablet site. Web content is often optimized "
1361 "for tablet devices. When this option is selected the user agent string is "
1362 "changed to indicate a tablet device. Web content optimized for tablets is "
1363 "received there after for the current tab.";
1364
1365const char kResetAppListInstallStateName[] =
1366 "Reset the App Launcher install state on every restart.";
1367const char kResetAppListInstallStateDescription[] =
1368 "Reset the App Launcher install state on every restart. While this flag is "
1369 "set, Chrome will forget the launcher has been installed each time it "
1370 "starts. This is used for testing the App Launcher install flow.";
1371
1372const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1373const char kResourceLoadSchedulerDescription[] =
1374 "Uses the resource load scheduler in blink to schedule and throttle "
1375 "resource load requests.";
1376
Brett Wilsonecb80982017-07-12 20:34:511377const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1378const char kSafeSearchUrlReportingDescription[] =
1379 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1380
Alexei Filippov98772752018-01-27 08:26:521381const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1382const char kSamplingHeapProfilerDescription[] =
1383 "Enables native memory sampling profiler with specified rate in KiB. "
1384 "If sampling rate is not provided the default value of 128 KiB is used.";
1385
Brett Wilsonecb80982017-07-12 20:34:511386const char kSaveasMenuLabelExperimentName[] =
1387 "Switch 'Save as' menu labels to 'Download'";
1388const char kSaveasMenuLabelExperimentDescription[] =
1389 "Enables an experiment to switch menu labels that use 'Save as...' to "
1390 "'Download'.";
1391
1392const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1393const char kSavePageAsMhtmlDescription[] =
1394 "Enables saving pages as MHTML: a single text file containing HTML and all "
1395 "sub-resources.";
1396
Nate Chapin9638e7102017-09-20 22:11:011397const char kSavePreviousDocumentResourcesName[] =
1398 "Save Previous Document Resources";
1399const char kSavePreviousDocumentResourcesDescription[] =
1400 "Saves an old document's cached resources until the specified point in the "
1401 "next document's lifecycle.";
1402const char kSavePreviousDocumentResourcesNever[] =
1403 "Don't explicitly save resources";
1404const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1405 "Save resources until onDOMContentLoaded completes";
1406const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1407 "Save resources until onload completes";
1408
Brett Wilsonecb80982017-07-12 20:34:511409const char kScrollPredictionName[] = "Scroll prediction";
1410const char kScrollPredictionDescription[] =
1411 "Predicts the finger's future position during scrolls allowing time to "
1412 "render the frame before the finger is there.";
1413
1414const char kSecondaryUiMd[] =
1415 "Material Design in the rest of the browser's native UI";
1416const char kSecondaryUiMdDescription[] =
1417 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1418 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1419 "browser dialogs.";
1420
1421const char kServiceWorkerNavigationPreloadName[] =
1422 "Service worker navigation preload.";
1423const char kServiceWorkerNavigationPreloadDescription[] =
1424 "Enable web pages to use the experimental service worker navigation "
1425 "preload API.";
1426
gogeraldd5061b592017-09-06 23:39:551427const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1428const char kServiceWorkerPaymentAppsDescription[] =
1429 "Enable Service Worker applications to integrate as payment apps";
1430
Makoto Shimazu22078cc2018-02-21 03:01:441431extern const char kServiceWorkerServicificationName[] =
1432 "Servicified service workers";
1433extern const char kServiceWorkerServicificationDescription[] =
1434 "Enable the servicified service workers. A servicified service worker can "
1435 "have direct connection from its clients, so that fetch events can be "
1436 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171437
Tsuyoshi Horobcb1c642017-11-24 16:32:141438const char kServiceWorkerScriptFullCodeCacheName[] =
1439 "Service worker script full code cache.";
1440const char kServiceWorkerScriptFullCodeCacheDescription[] =
1441 "Generate V8 full code cache of Service Worker scripts while installing.";
1442
Brett Wilsonecb80982017-07-12 20:34:511443const char kSettingsWindowName[] = "Show settings in a window";
1444const char kSettingsWindowDescription[] =
1445 "Settings will be shown in a dedicated window instead of as a browser tab.";
1446
Manu Cornetd7ef7c52018-05-01 22:08:231447const char kShelfHoverPreviewsName[] =
1448 "Show previews of running apps when hovering over the shelf.";
1449const char kShelfHoverPreviewsDescription[] =
1450 "Shows previews of the open windows for a given running app when hovering "
1451 "over the shelf.";
1452
Trent Apted750ba7022017-10-23 13:36:251453const char kShowAllDialogsWithViewsToolkitName[] =
1454 "Show all dialogs with Views toolkit";
1455const char kShowAllDialogsWithViewsToolkitDescription[] =
1456 "All browser dialogs will be shown using the Views toolkit rather than "
1457 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1458
Naoki Fukino008a0022018-05-23 18:33:001459const char kShowAndroidFilesInFilesAppName[] =
1460 "Show Android files in Files app";
1461const char kShowAndroidFilesInFilesAppDescription[] =
1462 "Show Android files in Files app if Android is enabled on the device.";
1463
Brett Wilsonecb80982017-07-12 20:34:511464const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1465const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381466 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1467 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511468
1469const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1470const char kShowAutofillTypePredictionsDescription[] =
1471 "Annotates web forms with Autofill field type predictions as placeholder "
1472 "text.";
1473
1474const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1475const char kShowOverdrawFeedbackDescription[] =
1476 "Visualize overdraw by color-coding elements based on if they have other "
1477 "elements drawn underneath.";
1478
Carlos IL89128732018-04-03 17:00:251479const char kSupervisedUserCommittedInterstitialsName[] =
1480 "Enable Supervised User Committed Interstitials";
1481const char kSupervisedUserCommittedInterstitialsDescription[] =
1482 "Use committed error pages instead of transient navigation entries for "
1483 "supervised user interstitials";
1484
yiyixbdfa9a0b2017-10-23 22:21:471485const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1486const char kEnableDrawOcclusionDescription[] =
1487 "Enable the system to use draw occlusion to skip draw quads when they are "
1488 "not shown on the screen.";
1489
Brett Wilsonecb80982017-07-12 20:34:511490const char kShowSavedCopyName[] = "Show Saved Copy Button";
1491const char kShowSavedCopyDescription[] =
1492 "When a page fails to load, if a stale copy of the page exists in the "
1493 "browser cache, a button will be presented to allow the user to load that "
1494 "stale copy. The primary enabling choice puts the button in the most "
1495 "salient position on the error page; the secondary enabling choice puts it "
1496 "secondary to the reload button.";
1497const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1498const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1499const char kDisableShowSavedCopy[] = "Disable";
1500
Brett Wilsonecb80982017-07-12 20:34:511501const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1502const char kSilentDebuggerExtensionApiDescription[] =
1503 "Do not show the infobar when an extension attaches to a page via "
1504 "chrome.debugger API. This is required to debug extension background "
1505 "pages.";
1506
Tsuyoshi Horo53895ba92018-03-14 04:06:481507const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1508const char kSignedHTTPExchangeDescription[] =
1509 "Enables Origin-Signed HTTP Exchanges support which is still in "
1510 "development. Warning: Enabling this may pose a security risk.";
1511
Brett Wilsonecb80982017-07-12 20:34:511512const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1513const char kSimpleCacheBackendDescription[] =
1514 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1515 "disk space allocation.";
1516
Christopher Thompson75ff845d2018-02-01 20:12:461517const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1518const char kSimplifyHttpsIndicatorDescription[] =
1519 "Change the UI treatment for HTTPS pages.";
1520
Brett Wilsonecb80982017-07-12 20:34:511521const char kSingleClickAutofillName[] = "Single-click autofill";
1522const char kSingleClickAutofillDescription[] =
1523 "Make autofill suggestions on initial mouse click on a form element.";
1524
Nick Carter855bc492018-03-10 00:44:571525const char kStrictSiteIsolationName[] = "Strict site isolation";
1526const char kStrictSiteIsolationDescription[] =
1527 "Security mode that enables site isolation for all sites. When enabled, "
1528 "each renderer process will contain pages from at most one site, using "
1529 "out-of-process iframes when needed. When enabled, this flag forces the "
1530 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1531 "isolation mode will be determined by enterprise policy or field trial.";
1532
1533const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1534const char kSiteIsolationTrialOptOutDescription[] =
1535 "Opts out of field trials that enable site isolation modes "
1536 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1537 "may be due to out-of-process iframes. Opt-out has no effect if site "
1538 "isolation is force-enabled via #enable-site-per-process or enterprise "
1539 "policy. Caution: this disables important mitigations for the Spectre CPU "
1540 "vulnerability affecting most computers.";
1541extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1542extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1543 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511544
Pattideade7972018-04-27 02:59:401545const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511546const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401547 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511548
Brett Wilsonecb80982017-07-12 20:34:511549const char kSmoothScrollingName[] = "Smooth Scrolling";
1550const char kSmoothScrollingDescription[] =
1551 "Animate smoothly when scrolling page content.";
1552
1553const char kSoftwareRasterizerName[] = "3D software rasterizer";
1554const char kSoftwareRasterizerDescription[] =
1555 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1556
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201557const char kSoleIntegrationName[] = "Sole integration";
1558const char kSoleIntegrationDescription[] =
1559 "Enable Sole integration for browser customization. You must restart "
1560 "the browser twice for changes to take effect.";
1561
Tommy Steimel77704be2017-08-28 22:14:401562const char kSoundContentSettingName[] = "Sound content setting";
1563const char kSoundContentSettingDescription[] =
1564 "Enable site-wide muting in content settings and tab strip context menu.";
1565
Alexandr Ilinf0500ed32017-09-27 21:12:361566const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1567const char kSpeculativePreconnectDescription[] =
1568 "Enable the new implementation of preconnect and DNS preresolve. "
1569 "\"Learning\" means that only database construction is enabled, "
1570 "\"Preconnect\" enables both learning and preconnect and disables the "
1571 "existing implementation. \"No preconnect\" disables both implementations.";
1572
Brett Wilsonecb80982017-07-12 20:34:511573const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341574const char kSpeculativePrefetchDescription[] =
1575 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1576 R"*(load times, based on a local database (see chrome://predictors). )*"
1577 R"*("Learning" means that only the database construction is enabled, )*"
1578 R"*("Prefetching" that learning and prefetching are enabled.)*";
1579
Justin Donnelly4e448cb2017-07-07 21:32:131580const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1581 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131582const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1583 "If enabled, when the user enters text in the omnibox that looks like a "
1584 "a query, any service worker associated with the search engine the query "
1585 "will be sent to is started early.";
1586
Brett Wilsonecb80982017-07-12 20:34:511587const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1588const char kSpellingFeedbackFieldTrialDescription[] =
1589 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401590
Shubhie Panickerfaf082ed2018-01-03 04:49:151591const char kStopInBackgroundName[] = "Stop in background";
1592const char kStopInBackgroundDescription[] =
1593 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281594 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151595
1596const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1597const char kStopLoadingInBackgroundDescription[] =
1598 "Stop loading tasks and loading "
1599 "resources, in the background, after certain grace time.";
1600
Shubhie Panicker56c99a22018-03-21 00:22:281601const char kStopNonTimersInBackgroundName[] =
1602 "Stop non-timer task queues background";
1603const char kStopNonTimersInBackgroundDescription[] =
1604 "Stop non-timer task queues, in the background, "
1605 "after a grace period.";
1606
Brett Wilsonecb80982017-07-12 20:34:511607const char kSuggestionsWithSubStringMatchName[] =
1608 "Substring matching for Autofill suggestions";
1609const char kSuggestionsWithSubStringMatchDescription[] =
1610 "Match Autofill suggestions based on substrings (token prefixes) rather "
1611 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341612
Brett Wilsonecb80982017-07-12 20:34:511613const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1614const char kSyncSandboxDescription[] =
1615 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341616
Joe Downing8cbbc192018-05-14 17:37:071617const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1618const char kSystemKeyboardLockDescription[] =
1619 "Enables websites to use the keyboard.lock() API to intercept system "
1620 "keyboard shortcuts and have the events routed directly to the website "
1621 "when in fullscreen mode.";
1622
Brett Wilsonecb80982017-07-12 20:34:511623const char kTabAudioMutingName[] = "Tab audio muting UI control";
1624const char kTabAudioMutingDescription[] =
1625 "When enabled, the audio indicators in the tab strip double as tab audio "
1626 "mute controls. This also adds commands in the tab context menu for "
1627 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341628
Christian Dullweberd0d96f02017-09-13 09:22:511629const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1630const char kTabsInCbdDescription[] =
1631 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1632
Becky Zhou99c22802017-10-19 05:09:271633const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1634const char kTabModalJsDialogDescription[] =
1635 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1636 " tab.";
1637
Brett Wilsonecb80982017-07-12 20:34:511638const char kTcpFastOpenName[] = "TCP Fast Open";
1639const char kTcpFastOpenDescription[] =
1640 "Enable the option to send extra authentication information in the initial "
1641 "SYN packet for a previously connected client, allowing faster data send "
1642 "start.";
vabr0215a8e2017-03-28 12:47:341643
Daniele Castagna0fead93e2018-01-10 20:40:291644const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1645const char kTintGlCompositedContentDescription[] =
1646 "Tint contents composited using GL with a shade of red to help debug and "
1647 "study overlay support.";
1648
Brett Wilsonecb80982017-07-12 20:34:511649const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1650const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581651 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401652 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431653 "- new unified interface for touch and convertibles (Chrome OS), 4) "
1654 "Material Design refresh and 5) Touchable Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511655const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531656const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461657const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581658const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401659const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431660const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341661
Brett Wilsonecb80982017-07-12 20:34:511662const char kThreadedScrollingName[] = "Threaded scrolling";
1663const char kThreadedScrollingDescription[] =
1664 "Threaded handling of scroll-related input events. Disabling this will "
1665 "force all such scroll events to be handled on the main thread. Note that "
1666 "this can dramatically hurt scrolling performance of most websites and is "
1667 "intended for testing purposes only.";
1668
Steven Valdez4584b2482017-07-14 01:11:571669const char kTLS13VariantName[] = "TLS 1.3";
1670const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1671const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111672const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041673const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381674const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571675
Brett Wilsonecb80982017-07-12 20:34:511676const char kTopDocumentIsolationName[] = "Top document isolation";
1677const char kTopDocumentIsolationDescription[] =
1678 "Highly experimental performance mode where cross-site iframes are kept in "
1679 "a separate process from the top document. In this mode, iframes from "
1680 "different third-party sites will be allowed to share a process.";
1681
Dominick Ng8896b1cd2017-10-17 23:24:361682const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1683const char kTopSitesFromSiteEngagementDescription[] =
1684 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1685 "engagement.";
1686
Brett Wilsonecb80982017-07-12 20:34:511687const char kTouchAdjustmentName[] = "Touch adjustment";
1688const char kTouchAdjustmentDescription[] =
1689 "Refine the position of a touch gesture in order to compensate for touches "
1690 "having poor resolution compared to a mouse.";
1691
Alex Newcomerb3d3c972018-05-03 14:59:401692const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1693const char kTouchableAppContextMenuDescription[] =
1694 "Enable the touchable app context menu, which enlarges app context menus "
1695 "in the Launcher and Shelf to make room for new features.";
1696
Brett Wilsonecb80982017-07-12 20:34:511697const char kTouchDragDropName[] = "Touch initiated drag and drop";
1698const char kTouchDragDropDescription[] =
1699 "Touch drag and drop can be initiated through long press on a draggable "
1700 "element.";
1701
1702const char kTouchEventsName[] = "Touch Events API";
1703const char kTouchEventsDescription[] =
1704 "Force Touch Events API feature detection to always be enabled or "
1705 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291706 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511707
1708const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1709const char kTouchSelectionStrategyDescription[] =
1710 "Controls how text selection granularity changes when touch text selection "
1711 "handles are dragged. Non-default behavior is experimental.";
1712const char kTouchSelectionStrategyCharacter[] = "Character";
1713const char kTouchSelectionStrategyDirection[] = "Direction";
1714
1715const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1716const char kTraceUploadUrlDescription[] =
1717 "This is to be used in conjunction with the enable-navigation-tracing "
1718 "flag. Please select the label that best describes the recorded traces. "
1719 "This will choose the destination the traces are uploaded to. If you are "
1720 "not sure, select other. If left empty, no traces will be uploaded.";
1721const char kTraceUploadUrlChoiceOther[] = "Other";
1722const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1723const char kTraceUploadUrlChoiceQa[] = "QA";
1724const char kTraceUploadUrlChoiceTesting[] = "Testing";
1725
Philippe Hamel7fdaa452017-09-29 17:22:491726const char kTranslateRankerEnforcementName[] =
1727 "Enforce TranslateRanker decisions";
1728const char kTranslateRankerEnforcementDescription[] =
1729 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1730 "or not Translate UI should be triggered in a given context.";
1731
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051732const char kTreatInsecureOriginAsSecureName[] =
1733 "Insecure origins treated as secure";
1734const char kTreatInsecureOriginAsSecureDescription[] =
1735 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1736 "supplied as a comma-separated list. For the definition of secure "
1737 "contexts, "
1738 "see https://w3c.github.io/webappsec-secure-contexts/";
1739
Brett Wilsonecb80982017-07-12 20:34:511740const char kTrySupportedChannelLayoutsName[] =
1741 "Causes audio output streams to check if channel layouts other than the "
1742 "default hardware layout are available.";
1743const char kTrySupportedChannelLayoutsDescription[] =
1744 "Causes audio output streams to check if channel layouts other than the "
1745 "default hardware layout are available. Turning this on will allow the OS "
1746 "to do stereo to surround expansion if supported. May expose third party "
1747 "driver bugs, use with caution.";
1748
David Roger6762a092018-01-31 15:55:071749const char kUnifiedConsentName[] = "Unified Consent";
1750const char kUnifiedConsentDescription[] =
1751 "Enables a unified management of user consent for privacy-related "
1752 "features. This includes new confirmation screens and improved settings "
1753 "pages.";
1754
Brett Wilsonecb80982017-07-12 20:34:511755const char kUiPartialSwapName[] = "Partial swap";
1756const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1757
Chris Pickel3a227ae62017-08-24 10:47:261758const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1759const char kUseDdljsonApiDescription[] =
1760 "Enables the new ddljson API to fetch Doodles for the NTP.";
1761
Becca Hughes59c05b42017-11-03 13:11:581762const char kUseModernMediaControlsName[] = "New Media Controls";
1763const char kUseModernMediaControlsDescription[] =
1764 "Enables the new style native media controls.";
1765
Wei Li790e7a8572018-03-23 01:31:551766const char kUsePdfCompositorServiceName[] =
1767 "Use PDF compositor service for printing";
1768const char kUsePdfCompositorServiceDescription[] =
1769 "When enabled, use PDF compositor service to composite and generate PDF "
1770 "files for printing. When site isolation is enabled, disabling this will "
1771 "not stop using PDF compositor service since the service is required for "
1772 "printing out-of-process iframes correctly.";
1773
Mustaq Ahmedc646c0a2017-10-20 20:08:301774const char kUserActivationV2Name[] = "User Activation v2";
1775const char kUserActivationV2Description[] =
1776 "Enable simple user activation for APIs that are otherwise controlled by "
1777 "user gesture tokens.";
1778
Brett Wilsonecb80982017-07-12 20:34:511779const char kUserConsentForExtensionScriptsName[] =
1780 "User consent for extension scripts";
1781const char kUserConsentForExtensionScriptsDescription[] =
1782 "Require user consent for an extension running a script on the page, if "
1783 "the extension requested permission to run on all urls.";
1784
1785const char kUseSuggestionsEvenIfFewFeatureName[] =
1786 "Disable minimum for server-side tile suggestions on NTP.";
1787const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1788 "Request server-side suggestions even if there are only very few of them "
1789 "and use them for tiles on the New Tab Page.";
1790
1791const char kV8CacheOptionsName[] = "V8 caching mode.";
1792const char kV8CacheOptionsDescription[] =
1793 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511794const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1795
Hitoshi Yoshida3e5db562017-09-11 02:31:081796const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1797const char kV8ContextSnapshotDescription[] =
1798 "Sets to use a snapshot to create V8 contexts in frame creation.";
1799
Michael Hablich896d52662017-10-23 15:59:571800const char kV8VmFutureName[] = "Future V8 VM features";
1801const char kV8VmFutureDescription[] =
1802 "This enables upcoming and experimental V8 VM features. "
1803 "This flag does not enable experimental JavaScript features.";
1804
Brett Wilsonecb80982017-07-12 20:34:511805const char kVideoFullscreenOrientationLockName[] =
1806 "Lock screen orientation when playing a video fullscreen.";
1807const char kVideoFullscreenOrientationLockDescription[] =
1808 "Lock the screen orientation of the device to match video orientation when "
1809 "a video goes fullscreen. Only on phones.";
1810
1811const char kVideoRotateToFullscreenName[] =
1812 "Rotate-to-fullscreen gesture for videos.";
1813const char kVideoRotateToFullscreenDescription[] =
1814 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1815 "the video. Only on phones.";
1816
Elly Fong-Jonesf4c79502018-03-23 19:21:531817const char kViewsBrowserWindowsName[] =
1818 "Use Views browser windows instead of Cocoa.";
1819const char kViewsBrowserWindowsDescription[] =
1820 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1821
Brett Wilsonecb80982017-07-12 20:34:511822const char kWalletServiceUseSandboxName[] =
1823 "Use Google Payments sandbox servers";
1824const char kWalletServiceUseSandboxDescription[] =
1825 "For developers: use the sandbox service for Google Payments API calls.";
1826
Brett Wilsonecb80982017-07-12 20:34:511827const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1828const char kWebglDraftExtensionsDescription[] =
1829 "Enabling this option allows web applications to access the WebGL "
1830 "Extensions that are still in draft status.";
1831
1832const char kWebMidiName[] = "Web MIDI API";
1833const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1834
1835const char kWebPaymentsName[] = "Web Payments";
1836const char kWebPaymentsDescription[] =
1837 "Enable Web Payments API integration, a JavaScript API for merchants.";
1838
Mathieu Perreault51339b82017-07-20 17:06:051839const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1840const char kWebPaymentsModifiersDescription[] =
1841 "If the website provides modifiers in the payment request, show the custom "
1842 "total for each payment instrument, update the shopping cart when "
1843 "instruments are switched, and send modified payment method specific data "
1844 "to the payment app.";
1845
Brett Wilsonecb80982017-07-12 20:34:511846const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1847const char kWebrtcEchoCanceller3Description[] =
1848 "Experimental WebRTC echo canceller (AEC3).";
1849
1850const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1851const char kWebrtcHwDecodingDescription[] =
1852 "Support in WebRTC for decoding video streams using platform hardware.";
1853
1854const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1855const char kWebrtcHwEncodingDescription[] =
1856 "Support in WebRTC for encoding video streams using platform hardware.";
1857
1858const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1859const char kWebrtcHwH264EncodingDescription[] =
1860 "Support in WebRTC for encoding h264 video streams using platform "
1861 "hardware.";
1862
1863const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1864const char kWebrtcHwVP8EncodingDescription[] =
1865 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1866
Niels Möller090866a2018-02-13 10:55:031867const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1868 "WebRTC new encode cpu load estimator";
1869const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1870 "Enable new estimator for the encoder cpu load, for evaluation and "
1871 "testing. Intended to improve accuracy when screen casting.";
1872
Brett Wilsonecb80982017-07-12 20:34:511873const char kWebrtcSrtpAesGcmName[] =
1874 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1875const char kWebrtcSrtpAesGcmDescription[] =
1876 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1877
Joachim Bauch4a41d7512017-08-23 14:24:231878const char kWebrtcSrtpEncryptedHeadersName[] =
1879 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1880const char kWebrtcSrtpEncryptedHeadersDescription[] =
1881 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1882 "for SRTP.";
1883
Brett Wilsonecb80982017-07-12 20:34:511884const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1885const char kWebrtcStunOriginDescription[] =
1886 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1887 "header.";
1888
Adam Ricec786ad8a2018-05-22 09:49:151889const char kWebSocketHandshakeReuseConnectionName[] =
1890 "Enable WebSocket connection reuse for authentication";
1891const char kWebSocketHandshakeReuseConnectionDescription[] =
1892 "Permits the WebSocket handshake to keep the connection open after an "
1893 "authentication failure. The connection may be used for further requests "
1894 "to send credentials. This is sometimes needed for Windows authentication.";
1895
Brett Wilsonecb80982017-07-12 20:34:511896const char kWebvrName[] = "WebVR";
1897const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011898 "Enables access to experimental Virtual Reality functionality via the "
1899 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1900 "Device API. Warning: Enabling this will also allow WebVR content on "
1901 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221902 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511903
Brandon Jonese9d9b2b2017-12-11 22:20:111904const char kWebXrName[] = "WebXR Device API";
1905const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011906 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1907 "and Augmented Reality (AR) devices.";
1908
1909const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1910const char kWebXrGamepadSupportDescription[] =
1911 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221912 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1913 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431914
1915const char kWebXrHitTestName[] = "WebXR Hit Test";
1916const char kWebXrHitTestDescription[] =
1917 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111918
Anna Maria57ecf7592018-01-12 03:10:401919const char kWebXrOrientationSensorDeviceName[] =
1920 "WebXR orientation sensor device";
1921const char kWebXrOrientationSensorDeviceDescription[] =
1922 "When no VR platform device is available, expose a non-presenting device "
1923 "based on the device's orientation sensors, if available.";
1924
Brett Wilsonecb80982017-07-12 20:34:511925const char kWifiCredentialSyncName[] = "WiFi credential sync";
1926const char kWifiCredentialSyncDescription[] =
1927 "Enables synchronizing WiFi network settings across devices. When enabled, "
1928 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1929 "credentials are synchronized subject to user preferences. (See also, "
1930 "chrome://settings/syncSetup.)";
1931
1932const char kZeroCopyName[] = "Zero-copy rasterizer";
1933const char kZeroCopyDescription[] =
1934 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341935
Brett Wilsonff596952017-07-14 01:06:551936// Android ---------------------------------------------------------------------
1937
1938#if defined(OS_ANDROID)
1939
1940const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1941const char kAiaFetchingDescription[] =
1942 "Enable intermediate certificate fetching when a server does not provide "
1943 "sufficient certificates to build a chain to a trusted root.";
1944
1945const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1946const char kAccessibilityTabSwitcherDescription[] =
1947 "Enable the accessibility tab switcher for Android.";
1948
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251949const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1950const char kAllowReaderForAccessibilityDescription[] =
1951 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1952
Brett Wilsonff596952017-07-14 01:06:551953const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1954const char kAndroidAutofillAccessibilityDescription[] =
1955 "Enable accessibility for autofill popup.";
1956
1957const char kAndroidPaymentAppsName[] = "Android payment apps";
1958const char kAndroidPaymentAppsDescription[] =
1959 "Enable third party Android apps to integrate as payment apps";
1960
Miriam Gershenson8cf1397222018-01-23 22:48:291961const char kAsyncDnsName[] = "Async DNS resolver";
1962const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1963
Brett Wilsonff596952017-07-14 01:06:551964const char kAutofillAccessoryViewName[] =
1965 "Autofill suggestions as keyboard accessory view";
1966const char kAutofillAccessoryViewDescription[] =
1967 "Shows Autofill suggestions on top of the keyboard rather than in a "
1968 "dropdown.";
1969
1970const char kBackgroundLoaderForDownloadsName[] =
1971 "Enables background downloading of pages.";
1972const char kBackgroundLoaderForDownloadsDescription[] =
1973 "Enables downloading pages in the background in case page is not yet "
1974 "loaded in current tab.";
1975
Matthew Jones6c1f5e22018-02-06 18:19:531976const char kChromeDuplexName[] = "Chrome Duplex";
1977const char kChromeDuplexDescription[] =
1978 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051979
Brett Wilsonff596952017-07-14 01:06:551980const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1981const char kChromeHomeSwipeLogicDescription[] =
1982 "Various swipe logic options for Chrome Home for sheet expansion.";
1983const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151984const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551985
Matthew Jones5b7f1d62018-01-23 00:37:251986const char kChromeModernDesignName[] = "Chrome Modern Design";
1987const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451988 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1989 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251990
Megan Jablonskic61eb1b82017-10-02 18:03:061991const char kChromeMemexName[] = "Chrome Memex";
1992const char kChromeMemexDescription[] =
1993 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1994 "Googlers.";
1995
Sarath Singapati83aef1c2017-11-16 15:54:521996const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1997const char kClearOldBrowsingDataDescription[] =
1998 "Enables clearing of browsing data which is older than a given time "
1999 "period.";
2000
Brett Wilsonff596952017-07-14 01:06:552001const char kContentSuggestionsCategoryOrderName[] =
2002 "Default content suggestions category order (e.g. on NTP)";
2003const char kContentSuggestionsCategoryOrderDescription[] =
2004 "Set default order of content suggestion categories (e.g. on the NTP).";
2005
2006const char kContentSuggestionsCategoryRankerName[] =
2007 "Content suggestions category ranker (e.g. on NTP)";
2008const char kContentSuggestionsCategoryRankerDescription[] =
2009 "Set category ranker to order categories of content suggestions (e.g. on "
2010 "the NTP).";
2011
Vitalii Iarkof52ff802017-09-14 12:34:242012const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2013const char kContentSuggestionsDebugLogDescription[] =
2014 "Enable content suggestions debug log accessible through "
2015 "snippets-internals.";
2016
Donn Denman8e58ead2017-11-04 01:44:012017const char kContextualSearchMlTapSuppressionName[] =
2018 "Contextual Search ML tap suppression";
2019const char kContextualSearchMlTapSuppressionDescription[] =
2020 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022021 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2022 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552023
2024const char kContextualSearchName[] = "Contextual Search";
2025const char kContextualSearchDescription[] =
2026 "Whether or not Contextual Search is enabled.";
2027
Donn Denman59729812018-01-09 01:27:022028const char kContextualSearchRankerQueryName[] =
2029 "Contextual Search Ranker prediction";
2030const char kContextualSearchRankerQueryDescription[] =
2031 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2032
2033const char kContextualSearchSecondTapName[] =
2034 "Contextual Search second tap triggering";
2035const char kContextualSearchSecondTapDescription[] =
2036 "Enables triggering on a second tap gesture even when Ranker would "
2037 "normally suppress that tap.";
2038
Dmitry Skiba9c3efa72017-07-20 22:01:142039const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2040const char kDontPrefetchLibrariesDescription[] =
2041 "Don't prefetch libraries after loading.";
2042
Joy Ming5fd29ca62017-10-02 22:51:222043const char kDownloadsForegroundName[] = "Enable downloads foreground";
2044const char kDownloadsForegroundDescription[] =
2045 "Enable downloads as a foreground service for all versions of Android.";
2046
Joy Ming189b0cc2017-12-08 19:42:432047const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2048const char kDownloadsLocationChangeDescription[] =
2049 "Enable changing default downloads storage location on Android.";
2050
Shakti Sahu32b2ee102018-05-17 00:04:462051const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2052const char kDownloadProgressInfoBarDescription[] =
2053 "Enables an infobar notifying users about status of current downloads.";
2054
Brett Wilsonff596952017-07-14 01:06:552055const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2056const char kEnableAndroidPayIntegrationV1Description[] =
2057 "Enable integration with Android Pay using the first version of the API";
2058
2059const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2060const char kEnableAndroidPayIntegrationV2Description[] =
2061 "Enable integration with Android Pay using the second version of the API";
2062
Vitalii Iarkof4ed32d2017-09-26 13:15:532063const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552064const char kEnableAndroidSpellcheckerDescription[] =
2065 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552066
Lei Tianbd5a3bf2018-02-28 19:01:162067const char kEnableCommandLineOnNonRootedName[] =
2068 "Enable command line on non-rooted devices";
2069const char kEnableCommandLineOnNoRootedDescription[] =
2070 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2071
Vitalii Iarkof4ed32d2017-09-26 13:15:532072const char kEnableContentSuggestionsNewFaviconServerName[] =
2073 "Get favicons for content suggestions from a new server.";
2074const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2075 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2076 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552077
2078const char kEnableContentSuggestionsSettingsName[] =
2079 "Show content suggestions settings.";
2080const char kEnableContentSuggestionsSettingsDescription[] =
2081 "If enabled, the content suggestions settings will be available from the "
2082 "main settings menu.";
2083
Vitalii Iarkof4ed32d2017-09-26 13:15:532084const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2085 "Use content suggestions thumbnail dominant color.";
2086const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2087 "Use content suggestions thumbnail dominant color as a placeholder before "
2088 "the real thumbnail is fetched (requires Chrome Home).";
2089
Brett Wilsonff596952017-07-14 01:06:552090const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2091const char kEnableCustomContextMenuDescription[] =
2092 "Enables a new context menu when a link, image, or video is pressed within "
2093 "Chrome.";
2094
2095const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2096const char kEnableCustomFeedbackUiDescription[] =
2097 "Enables a custom feedback UI when submitting feedback through Google "
2098 "Feedback. Works with Google Play Services v10.2+";
2099
2100const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472101 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552102const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472103 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552104
Brett Wilsonff596952017-07-14 01:06:552105const char kEnableOmniboxClipboardProviderName[] =
2106 "Omnibox clipboard URL suggestions";
2107const char kEnableOmniboxClipboardProviderDescription[] =
2108 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2109 "focus in the omnibox.";
2110
Becky Zhoua7f11d62018-02-01 16:02:532111const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2112 "Show article suggestions expandable header on New Tab Page";
2113const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2114 "If enabled, the article suggestions content on New Tab Page can be "
2115 "toggled shown or hidden by clicking the expandable header.";
2116
Brett Wilsonff596952017-07-14 01:06:552117const char kEnableNtpAssetDownloadSuggestionsName[] =
2118 "Show asset downloads on the New Tab page";
2119const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2120 "If enabled, the list of content suggestions on the New Tab page will "
2121 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2122 "later use.";
2123
2124const char kEnableNtpBookmarkSuggestionsName[] =
2125 "Show recently visited bookmarks on the New Tab page";
2126const char kEnableNtpBookmarkSuggestionsDescription[] =
2127 "If enabled, the list of content suggestions on the New Tab page will "
2128 "contain recently visited bookmarks.";
2129
2130const char kEnableNtpForeignSessionsSuggestionsName[] =
2131 "Show recent foreign tabs on the New Tab page";
2132const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2133 "If enabled, the list of content suggestions on the New Tab page will "
2134 "contain recent foreign tabs.";
2135
Brett Wilsonff596952017-07-14 01:06:552136const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2137 "Show offline page downloads on the New Tab page";
2138const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2139 "If enabled, the list of content suggestions on the New Tab page will "
2140 "contain pages that the user downloaded for later use.";
2141
2142const char kEnableNtpRemoteSuggestionsName[] =
2143 "Show server-side suggestions on the New Tab page";
2144const char kEnableNtpRemoteSuggestionsDescription[] =
2145 "If enabled, the list of content suggestions on the New Tab page will "
2146 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2147 "allows to override the source used to retrieve these server-side "
2148 "suggestions.";
2149
2150const char kEnableNtpSnippetsVisibilityName[] =
2151 "Make New Tab Page Snippets more visible.";
2152const char kEnableNtpSnippetsVisibilityDescription[] =
2153 "If enabled, the NTP snippets will become more discoverable with a larger "
2154 "portion of the first card above the fold.";
2155
2156const char kEnableNtpSuggestionsNotificationsName[] =
2157 "Notify about new content suggestions available at the New Tab page";
2158const char kEnableNtpSuggestionsNotificationsDescription[] =
2159 "If enabled, notifications will inform about new content suggestions on "
2160 "the New Tab page.";
2161
Brett Wilsonff596952017-07-14 01:06:552162const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2163const char kEnableOfflinePreviewsDescription[] =
2164 "Enable showing offline page previews on slow networks.";
2165
2166const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2167const char kEnableOskOverscrollDescription[] =
2168 "Enable OSK overscroll support. With this flag on, the OSK will only "
2169 "resize the visual viewport.";
2170
2171const char kEnableSpecialLocaleName[] =
2172 "Enable custom logic for special locales.";
2173const char kEnableSpecialLocaleDescription[] =
2174 "Enable custom logic for special locales. In this mode, Chrome might "
2175 "behave differently in some locales.";
2176
Brett Wilsonff596952017-07-14 01:06:552177const char kEnableWebNfcName[] = "WebNFC";
2178const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2179
gogeraldf3cbb422017-07-26 14:37:122180const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2181 "Enable Web Payments method section order V2.";
2182const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2183 "Enable this option to display payment method section above address "
2184 "section instead of below it.";
2185
Raymes Khoury582b43132017-12-12 23:54:302186const char kGrantNotificationsToDSEName[] =
2187 "Grant notifications to the Default Search Engine";
2188const char kGrantNotificationsToDSENameDescription[] =
2189 "Automatically grant the notifications permission to the Default Search "
2190 "Engine";
2191
Daniel Parke74fcf862018-03-27 18:05:452192const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512193const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452194
Theresa920e0ed2018-03-07 18:12:442195const char kInterestFeedContentSuggestionsDescription[] =
2196 "Use the interest feed to render content suggestions. Currently content "
2197 "suggestions are shown on the New Tab Page.";
2198const char kInterestFeedContentSuggestionsName[] =
2199 "Interest Feed Content Suggestions";
2200
Brett Wilsonff596952017-07-14 01:06:552201const char kKeepPrefetchedContentSuggestionsName[] =
2202 "Keep prefetched content suggestions";
2203const char kKeepPrefetchedContentSuggestionsDescription[] =
2204 "If enabled, some of prefetched content suggestions are not replaced by "
2205 "the new fetched suggestions.";
2206
Leo Zhang051b75482017-12-20 03:28:302207const char kLanguagesPreferenceName[] = "Language Settings";
2208const char kLanguagesPreferenceDescription[] =
2209 "Enable this option for Language Settings feature on Android.";
2210
Brett Wilsonff596952017-07-14 01:06:552211const char kLsdPermissionPromptName[] =
2212 "Location Settings Dialog Permission Prompt";
2213const char kLsdPermissionPromptDescription[] =
2214 "Whether to use the Google Play Services Location Settings Dialog "
2215 "permission dialog.";
2216
Amirhossein Simjour97b4154f2018-02-20 03:49:592217const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2218const char kModalPermissionDialogViewDescription[] =
2219 "Enable this option to use ModalDialogManager for permission Dialogs.";
2220
Brett Wilsonff596952017-07-14 01:06:552221const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2222const char kMediaScreenCaptureDescription[] =
2223 "Enable this option for experimental ScreenCapture feature on Android.";
2224
2225const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2226const char kModalPermissionPromptsDescription[] =
2227 "Whether to use permission dialogs in place of permission infobars.";
2228
Brett Wilsonff596952017-07-14 01:06:552229const char kNewPhotoPickerName[] = "Enable new Photopicker";
2230const char kNewPhotoPickerDescription[] =
2231 "Activates the new picker for selecting photos.";
2232
2233const char kNoCreditCardAbort[] = "No Credit Card Abort";
2234const char kNoCreditCardAbortDescription[] =
2235 "Whether or not the No Credit Card Abort is enabled.";
2236
Daniel Park990d0992018-05-18 22:12:512237const char kNtpButtonName[] = "Enable NTP Button";
2238const char kNtpButtonDescription[] =
2239 "Displays a New Tab Page button in the toolbar if enabled.";
2240
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062241const char kNtpModernLayoutName[] = "Modern NTP layout";
2242const char kNtpModernLayoutDescription[] =
2243 "Show a modern layout on the New Tab Page.";
2244
Brett Wilsonff596952017-07-14 01:06:552245const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2246const char kNtpGoogleGInOmniboxDescription[] =
2247 "Show a Google G in the omnibox on the New Tab Page.";
2248
Brett Wilsonff596952017-07-14 01:06:552249const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2250const char kOfflineBookmarksDescription[] =
2251 "Enable saving bookmarked pages for offline viewing.";
2252
Brett Wilsonff596952017-07-14 01:06:552253const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2254const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2255
2256const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2257const char kOfflinePagesCtV2Description[] =
2258 "V2 features include attributing pages to the app that initiated the "
2259 "custom tabs, and being able to query for pages by page attribution.";
2260
Cathy Li7311d792018-04-05 00:34:162261const char kOfflinePagesCTSuppressNotificationsName[] =
2262 "Disable download complete notification for whitelisted CCT apps.";
2263const char kOfflinePagesCTSuppressNotificationsDescription[] =
2264 "Disable download complete notification for page downloads originating "
2265 "from a CCT app whitelisted to show their own download complete "
2266 "notification.";
2267
Candice Sy74fa7a352018-03-30 23:46:492268const char kOfflinePagesDescriptiveFailStatusName[] =
2269 "Enables descriptive failed download status text.";
2270const char kOfflinePagesDescriptiveFailStatusDescription[] =
2271 "Enables failed download status text in notifications and Downloads Home "
2272 "to state the reason the request failed if the failure is actionable.";
2273
2274const char kOfflinePagesDescriptivePendingStatusName[] =
2275 "Enables descriptive pending download status text.";
2276const char kOfflinePagesDescriptivePendingStatusDescription[] =
2277 "Enables pending download status text in notifications and Downloads Home "
2278 "to state the reason the request is pending.";
2279
2280const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2281 "Enables offline pages in the downloads home to be opened in CCT.";
2282const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2283 "When enabled offline pages launched from the Downloads Home will be "
2284 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2285
Carlos Knippschild09272ecd2017-12-09 03:29:362286const char kOfflinePagesLimitlessPrefetchingName[] =
2287 "Removes resource usage limits for the prefetching of offline pages.";
2288const char kOfflinePagesLimitlessPrefetchingDescription[] =
2289 "Allows the prefetching of suggested offline pages to ignore resource "
2290 "usage limits. This allows it to completely ignore data usage limitations "
2291 "and allows downloads to happen with any kind of connection.";
2292
Brett Wilsonff596952017-07-14 01:06:552293const char kOfflinePagesLoadSignalCollectingName[] =
2294 "Enables collecting load timing data for offline page snapshots.";
2295const char kOfflinePagesLoadSignalCollectingDescription[] =
2296 "Enables loading completeness data collection while writing an offline "
2297 "page. This data is collected in the snapshotted offline page to allow "
2298 "data analysis to improve deciding when to make the offline snapshot.";
2299
2300const char kOfflinePagesPrefetchingName[] =
2301 "Enables suggested offline pages to be prefetched.";
2302const char kOfflinePagesPrefetchingDescription[] =
2303 "Enables suggested offline pages to be prefetched, so useful content is "
2304 "available while offline.";
2305
Cathy Li3d5379e2017-09-07 00:11:092306const char kOfflinePagesPrefetchingUIName[] =
2307 "Enables prefetched offline pages to be shown in UI.";
2308const char kOfflinePagesPrefetchingUIDescription[] =
2309 "Enables prefetched offline pages to raise notifications and be shown in "
2310 "download home UI.";
2311
Pete Williamson7845dff2017-09-20 11:06:192312const char kOfflinePagesResourceBasedSnapshotName[] =
2313 "Enables offline page snapshots to be based on percentage of page loaded.";
2314const char kOfflinePagesResourceBasedSnapshotDescription[] =
2315 "Enables offline page snapshots to use a resource percentage based "
2316 "approach for determining when the page is loaded as opposed to a time "
2317 "based approach";
2318
Collin Baker17f92a52017-07-19 21:41:252319const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2320const char kOfflinePagesRenovationsDescription[] =
2321 "Enables offline page renovations which correct issues with dynamic "
2322 "content that occur when offlining pages that use JavaScript.";
2323
Brett Wilsonff596952017-07-14 01:06:552324const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2325const char kOfflinePagesSharingDescription[] =
2326 "Enables the saved offline pages to be shared via other applications.";
2327
Cathy Lie0d88762018-04-12 08:03:012328const char kOfflinePagesShowAlternateDinoPageName[] =
2329 "Enable alternate dino page with more user capabilities.";
2330const char kOfflinePagesShowAlternateDinoPageDescription[] =
2331 "Enables the dino page to show more buttons and offer existing offline "
2332 "content.";
2333
Brett Wilsonff596952017-07-14 01:06:552334const char kOfflinePagesSvelteConcurrentLoadingName[] =
2335 "Enables concurrent background loading on svelte.";
2336const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2337 "Enables concurrent background loading (or downloading) of pages on "
2338 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2339 "happen when the svelte device is idle.";
2340
2341const char kOffliningRecentPagesName[] =
2342 "Enable offlining of recently visited pages";
2343const char kOffliningRecentPagesDescription[] =
2344 "Enable storing recently visited pages locally for offline use. Requires "
2345 "Offline Pages to be enabled.";
2346
Lei Zhang2eca9082017-10-17 20:42:502347const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2348const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552349 "Enable Pay with Google integration into Web Payments with API version "
2350 "'1'.";
2351
Matthew Jonesa88b95852017-11-08 23:13:502352const char kProgressBarThrottleName[] = "Android progress update throttling.";
2353const char kProgressBarThrottleDescription[] =
2354 "Limit the maximum progress update to make progress appear smoother.";
2355
Brett Wilsonff596952017-07-14 01:06:552356const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2357const char kPullToRefreshEffectDescription[] =
2358 "Page reloads triggered by vertically overscrolling content.";
2359
Piotr Swigon7c296ef2017-08-29 04:32:002360const char kPwaImprovedSplashScreenName[] =
2361 "Improved Splash Screen for standalone PWAs";
2362const char kPwaImprovedSplashScreenDescription[] =
2363 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2364 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492365const char kPwaPersistentNotificationName[] =
2366 "Persistent notification in standalone PWA";
2367const char kPwaPersistentNotificationDescription[] =
2368 "Enables a persistent Android notification for standalone PWAs";
2369
Brett Wilsonff596952017-07-14 01:06:552370const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2371const char kReaderModeHeuristicsDescription[] =
2372 "Determines what pages the Reader Mode infobar is shown on.";
2373const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2374const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2375const char kReaderModeHeuristicsAllArticles[] = "All articles";
2376const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2377const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2378
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182379const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2380const char kReaderModeInCCTDescription[] =
2381 "Open Reader Mode in Chrome Custom Tabs.";
2382
Brett Wilsonff596952017-07-14 01:06:552383const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2384const char kSetMarketUrlForTestingDescription[] =
2385 "When enabled, sets the market URL for use in testing the update menu "
2386 "item.";
2387
2388const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2389const char kSpannableInlineAutocompleteDescription[] =
2390 "A new type of inline autocomplete for the omnibox that works with "
2391 "keyboards that compose text.";
2392
Theresaeea05a12018-05-09 21:01:592393const char kSimplifiedNtpName[] = "Simplified NTP";
2394const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2395
2396const char kSiteExplorationUiName[] = "Site Exploration UI";
2397const char kSiteExplorationUiDescription[] =
2398 "Show site suggestions in the Exploration UI";
2399
Brett Wilsonff596952017-07-14 01:06:552400const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2401const char kUpdateMenuBadgeDescription[] =
2402 "When enabled, an update badge will be shown on the app menu button.";
2403
2404const char kUpdateMenuItemCustomSummaryDescription[] =
2405 "When this flag and the force show update menu item flag are enabled, a "
2406 "custom summary string will be displayed below the update menu item.";
2407const char kUpdateMenuItemCustomSummaryName[] =
2408 "Update menu item custom summary";
2409
2410const char kUpdateMenuItemName[] = "Force show update menu item";
2411const char kUpdateMenuItemDescription[] =
2412 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2413 R"*(menu.)*";
2414
Amirhossein Simjourd78bbcf2018-02-02 16:23:392415const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2416const char kVrBrowsingNativeAndroidUiDescription[] =
2417 "Enable Android UI elements in VR.";
2418
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462419const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2420const char kVrBrowsingTabsViewDescription[] =
2421 "Enable tab overview (tab switcher) in VR.";
2422
Marc Treib93af46a2017-08-23 13:30:002423const char kThirdPartyDoodlesName[] =
2424 "Enable Doodles for third-party search engines";
2425const char kThirdPartyDoodlesDescription[] =
2426 "Enables fetching and displaying Doodles on the NTP for third-party search "
2427 "engines.";
2428
Klaus Weidneraaf697f2018-01-18 20:07:362429const char kWebXrRenderPathName[] = "WebXR presentation render path";
2430const char kWebXrRenderPathDescription[] =
2431 "Render path to use for WebXR presentation (including WebVR)";
2432const char kWebXrRenderPathChoiceClientWaitDescription[] =
2433 "ClientWait (Baseline)";
2434const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2435 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072436const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2437 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362438
Brett Wilson7b44537e2017-08-18 01:38:282439// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552440
Brett Wilson7b44537e2017-08-18 01:38:282441#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482442
Brett Wilson7b44537e2017-08-18 01:38:282443const char kAccountConsistencyName[] =
2444 "Identity consistency between browser and cookie jar";
2445const char kAccountConsistencyDescription[] =
2446 "When enabled, the browser manages signing in and out of Google accounts.";
2447const char kAccountConsistencyChoiceMirror[] = "Mirror";
2448const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342449
Chris Pickel3a227ae62017-08-24 10:47:262450const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2451const char kDoodlesOnLocalNtpDescription[] =
2452 "Show doodles on the local New Tab page if Google is the default search "
2453 "engine.";
2454
mlamouriff56c092017-05-11 15:31:392455const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392456const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342457 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392458const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392459const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392460const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342461 "Enabled (Flash lowers volume when interrupted by other sound, "
2462 "experimental)";
2463
Brett Wilson7b44537e2017-08-18 01:38:282464const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2465const char kEnableNewAppMenuIconDescription[] =
2466 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342467
Dave Schuyler598a4a42018-01-04 02:15:102468const char kOmniboxRichEntitySuggestionsName[] =
2469 "Omnibox rich entity suggestions";
2470const char kOmniboxRichEntitySuggestionsDescription[] =
2471 "Display entity suggestions using images and an enhanced layout; showing "
2472 "more context and descriptive text about the entity";
2473
Dave Schuyler616273d2018-04-19 03:12:522474const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2475const char kOmniboxNewAnswerLayoutDescription[] =
2476 "Display answers using an enhanced layout with larger images";
2477
Kevin Bailey898669972017-11-06 15:34:492478const char kOmniboxTabSwitchSuggestionsName[] =
2479 "Omnibox tab switch suggestions";
2480const char kOmniboxTabSwitchSuggestionsDescription[] =
2481 "Enable suggestions for switching to open tabs within the Omnibox.";
2482
krbcc621412017-06-01 19:40:282483const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2484const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192485 "Enable receiving tail suggestions, a type of search suggestion based on "
2486 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342487
Brett Wilson7b44537e2017-08-18 01:38:282488const char kOneGoogleBarOnLocalNtpName[] =
2489 "Enable the OneGoogleBar on the local NTP";
2490const char kOneGoogleBarOnLocalNtpDescription[] =
2491 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2492 "search engine.";
2493
Brett Wilson7b44537e2017-08-18 01:38:282494const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2495const char kUseGoogleLocalNtpDescription[] =
2496 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322497
Brett Wilson7b44537e2017-08-18 01:38:282498const char kVoiceSearchOnLocalNtpName[] =
2499 "Enable Voice Search on the local NTP";
2500const char kVoiceSearchOnLocalNtpDescription[] =
2501 "Show a microphone for voice search on the local New Tab page "
2502 "if Google is the default search engine.";
2503
Balazs Engedy00c5cea2018-03-30 15:36:392504const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422505const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392506 "Enable Web Authentication API support";
2507
2508const char kEnableWebAuthenticationTestingAPIName[] =
2509 "Web Authentication Testing API";
2510const char kEnableWebAuthenticationTestingAPIDescription[] =
2511 "Enable Web Authentication Testing API support, which disconnects the API "
2512 "implementation from the real world, and allows configuring virtual "
2513 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422514
Brett Wilson7b44537e2017-08-18 01:38:282515#if defined(GOOGLE_CHROME_BUILD)
2516
2517const char kGoogleBrandedContextMenuName[] =
2518 "Google branding in the context menu";
2519const char kGoogleBrandedContextMenuDescription[] =
2520 "Shows a Google icon next to context menu items powered by Google "
2521 "services.";
2522
2523#endif // !defined(GOOGLE_CHROME_BUILD)
2524
2525#endif // !defined(OS_ANDROID)
2526
2527// Windows ---------------------------------------------------------------------
2528
2529#if defined(OS_WIN)
2530
2531const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2532const char kCloudPrintXpsDescription[] =
2533 "XPS enables advanced options for classic printers connected to the Cloud "
2534 "Print with Chrome. Printers must be re-connected after changing this "
2535 "flag.";
2536
Dave Tapuskadd43469d2017-08-22 22:15:532537const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2538const char kDirectManipulationStylusDescription[] =
2539 "If enabled, Chrome will scroll web pages on stylus drag.";
2540
Brett Wilson7b44537e2017-08-18 01:38:282541const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2542const char kDisablePostscriptPrintingDescription[] =
2543 "Disables PostScript generation when printing to PostScript capable "
2544 "printers, and uses EMF generation in its place.";
2545
2546const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2547const char kEnableAppcontainerDescription[] =
2548 "Enables the use of an AppContainer on sandboxed processes to improve "
2549 "security.";
2550
2551const char kEnableD3DVsync[] = "D3D v-sync";
2552const char kEnableD3DVsyncDescription[] =
2553 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2554 "to occur.";
2555
2556const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2557const char kEnableDesktopIosPromotionsDescription[] =
2558 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2559 "eligible.";
2560
James Forshawfd0ce342018-02-14 09:55:392561const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2562const char kEnableGpuAppcontainerDescription[] =
2563 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2564 "improve security.";
2565
Brett Wilson7b44537e2017-08-18 01:38:282566const char kGdiTextPrinting[] = "GDI Text Printing";
2567const char kGdiTextPrintingDescription[] =
2568 "Use GDI to print text as simply text";
2569
Henrik Grunell67e56ef2018-04-10 14:04:092570const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2571const char kIncreaseInputAudioBufferSizeDescription[] =
2572 "Increases the input audio endpoint buffer to 100 ms.";
2573
Brett Wilson7b44537e2017-08-18 01:38:282574const char kTraceExportEventsToEtwName[] =
2575 "Enable exporting of tracing events to ETW.";
2576const char kTraceExportEventsToEtwDesription[] =
2577 "If enabled, trace events will be exported to the Event Tracing for "
2578 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2579 "Xperf.";
2580
2581const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2582const char kUseWinrtMidiApiDescription[] =
2583 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2584 "later).";
2585
2586const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2587const char kWindows10CustomTitlebarDescription[] =
2588 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2589 "deferring to Windows.";
2590
2591#endif // defined(OS_WIN)
2592
2593// Mac -------------------------------------------------------------------------
2594
2595#if defined(OS_MACOSX)
2596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2598const char kAppWindowCyclingDescription[] =
2599 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2600 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2601 "browser window, and browser windows will not be cycled when a Chrome App "
2602 "is active.";
2603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kFullscreenToolbarRevealName[] =
2605 "Enables the toolbar in fullscreen to reveal itself.";
2606const char kFullscreenToolbarRevealDescription[] =
2607 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2608 "has changed.";
2609
2610const char kContentFullscreenName[] = "Improved Content Fullscreen";
2611const char kContentFullscreenDescription[] =
2612 "Fullscreen content window detaches from main browser window and goes to "
2613 "a new space without moving or changing the original browser window.";
2614
Lei Zhang2eca9082017-10-17 20:42:502615const char kDialogTouchBarName[] = "Dialog Touch Bar";
2616const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282617 "Shows Dialog buttons on the Touch Bar.";
2618
2619const char kHostedAppsInWindowsName[] =
2620 "Allow hosted apps to be opened in windows";
2621const char kHostedAppsInWindowsDescription[] =
2622 "Allows hosted apps to be opened in windows instead of being limited to "
2623 "tabs.";
2624
Lei Zhang2eca9082017-10-17 20:42:502625const char kMacRTLName[] = "Enable RTL";
2626const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282627
Lei Zhang2eca9082017-10-17 20:42:502628const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2629const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522630 "Enables sharing via macOS share extensions.";
2631
Lei Zhang2eca9082017-10-17 20:42:502632const char kMacTouchBarName[] = "Hardware Touch Bar";
2633const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282634
2635const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2636const char kMacV2SandboxDescription[] =
2637 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2638 "entire life cycle.";
2639
2640const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2641const char kMacViewsNativeAppWindowsDescription[] =
2642 "Controls whether to use Toolkit-Views based Chrome App windows.";
2643
2644const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2645const char kMacViewsTaskManagerDescription[] =
2646 "Controls whether to use the Toolkit-Views based Task Manager.";
2647
2648const char kTabDetachingInFullscreenName[] =
2649 "Allow tab detaching in fullscreen";
2650const char kTabDetachingInFullscreenDescription[] =
2651 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2652
2653const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2654const char kTabStripKeyboardFocusDescription[] =
2655 "Enable keyboard focus for the tabs in the tab strip.";
2656
Brett Wilson7b44537e2017-08-18 01:38:282657#endif
2658
2659// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342660
2661#if defined(OS_CHROMEOS)
2662
Brett Wilson7b44537e2017-08-18 01:38:282663const char kAcceleratedMjpegDecodeName[] =
2664 "Hardware-accelerated mjpeg decode for captured frame";
2665const char kAcceleratedMjpegDecodeDescription[] =
2666 "Enable hardware-accelerated mjpeg decode for captured frame where "
2667 "available.";
vabr0215a8e2017-03-28 12:47:342668
Brett Wilson7b44537e2017-08-18 01:38:282669const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2670const char kAllowTouchpadThreeFingerClickDescription[] =
2671 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342672
Brett Wilson7b44537e2017-08-18 01:38:282673const char kArcBootCompleted[] = "Load Android apps automatically";
2674const char kArcBootCompletedDescription[] =
2675 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342676
Lev Rumyantsev7a8544312017-08-18 19:26:512677const char kArcNativeBridgeExperimentName[] =
2678 "Enable native bridge experiment for ARC";
2679const char kArcNativeBridgeExperimentDescription[] =
2680 "Enables experimental native bridge feature.";
2681
lgchengecd1c1a62018-01-09 02:59:462682const char kArcUsbHostName[] = "Enable ARC USB host integration";
2683const char kArcUsbHostDescription[] =
2684 "Allow Android apps to use USB host feature on ChromeOS devices.";
2685
Kevin Cernekeeb7f96a52017-10-25 17:40:182686const char kArcVpnName[] = "Enable ARC VPN integration";
2687const char kArcVpnDescription[] =
2688 "Allow Android VPN clients to tunnel Chrome traffic.";
2689
Qiang Xu045aff222018-05-21 23:21:012690const char kAshDisableLoginDimAndBlurName[] =
2691 "Disable dimming and blur on login screen.";
2692const char kAshDisableLoginDimAndBlurDescription[] =
2693 "Disable dimming and blur on login screen.";
2694
2695const char kAshDisableSmoothScreenRotationName[] =
2696 "Disable smooth rotation animations.";
2697const char kAshDisableSmoothScreenRotationDescription[] =
2698 "Disable smooth rotation animations.";
2699
2700const char kAshEnableDisplayMoveWindowAccelsName[] =
2701 "Enable shortcuts for moving window between displays.";
2702const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2703 "Enable shortcuts for moving window between displays.";
2704
2705const char kAshEnableKeyboardShortcutViewerName[] =
2706 "Enable keyboard shortcut viewer.";
2707const char kAshEnableKeyboardShortcutViewerDescription[] =
2708 "Enable keyboard shortcut viewer.";
2709
2710const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2711const char kAshEnableMirroredScreenDescription[] =
2712 "Enable the mirrored screen mode. This mode flips the screen image "
2713 "horizontally.";
2714
2715const char kAshEnableNewOverviewAnimationsName[] =
2716 "Enable new overview animations.";
2717const char kAshEnableNewOverviewAnimationsDescription[] =
2718 "Enables the new overview mode animations.";
2719
2720const char kAshEnablePersistentWindowBoundsName[] =
2721 "Enable persistent window bounds in multi-displays scenario.";
2722const char kAshEnablePersistentWindowBoundsDescription[] =
2723 "Enable persistent window bounds in multi-displays scenario.";
2724
2725const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2726const char kAshEnableTrilinearFilteringDescription[] =
2727 "Enable trilinear filtering.";
2728
Brett Wilson7b44537e2017-08-18 01:38:282729const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2730const char kAshEnableUnifiedDesktopDescription[] =
2731 "Enable unified desktop mode which allows a window to span multiple "
2732 "displays.";
vabr0215a8e2017-03-28 12:47:342733
Qiang Xu045aff222018-05-21 23:21:012734const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2735const char kAshShelfColorDescription[] =
2736 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2737 "--ash-shelf-color-scheme flag defines how that color is derived.";
2738
2739const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2740const char kAshShelfColorSchemeDescription[] =
2741 "Specify how the color is derived from the wallpaper. This flag is only "
2742 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2743const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2744const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2745const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2746const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2747const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2748const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2749
Sean Kau5e956192017-10-06 22:25:172750const char kBulkPrintersName[] = "Bulk Printers Policy";
2751const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2752
Brett Wilson7b44537e2017-08-18 01:38:282753const char kCaptivePortalBypassProxyName[] =
2754 "Bypass proxy for Captive Portal Authorization";
2755const char kCaptivePortalBypassProxyDescription[] =
2756 "If proxy is configured, it usually prevents from authorization on "
2757 "different captive portals. This enables opening captive portal "
2758 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342759
Brett Wilson7b44537e2017-08-18 01:38:282760const char kCrOSComponentName[] = "Chrome OS Component";
2761const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082762 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342763
Xiaochu Liu51d03fd2017-09-08 23:51:022764const char kCrOSContainerName[] = "Chrome OS Container";
2765const char kCrOSContainerDescription[] =
2766 "Enable the use of Chrome OS Container utility.";
2767
Brett Wilson7b44537e2017-08-18 01:38:282768const char kCrosRegionsModeName[] = "Cros-regions load mode";
2769const char kCrosRegionsModeDescription[] =
2770 "This flag controls cros-regions load mode";
2771const char kCrosRegionsModeDefault[] = "Default";
2772const char kCrosRegionsModeOverride[] = "Override VPD values.";
2773const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342774
Jacob Dufault2becbc482017-08-25 00:36:352775const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2776const char kDisableLockScreenAppsDescription[] =
2777 "Disable new-note action handler apps on the lock screen. The user will "
2778 "not be able to launch the preferred note-taking action from the lock "
2779 "screen, provided that the app supports lock screen note taking.";
2780
Qiang Xu045aff222018-05-21 23:21:012781const char kDisableNetworkSettingsConfigName[] =
2782 "Disable Settings based Network Configuration";
2783const char kDisableNetworkSettingsConfigDescription[] =
2784 "Disables the Settings based network configuration UI and restores the "
2785 "Views based configuration dialog.";
2786
2787const char kDisableSystemTimezoneAutomaticDetectionName[] =
2788 "SystemTimezoneAutomaticDetection policy support";
2789const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2790 "Disable system timezone automatic detection device policy.";
2791
Sammie Quonef6b4882017-09-14 16:50:052792const char kDisableTabletAutohideTitlebarsName[] =
2793 "Disable autohide titlebars in tablet mode";
2794const char kDisableTabletAutohideTitlebarsDescription[] =
2795 "Disable tablet mode autohide titlebars functionality. The user will be "
2796 "able to see the titlebar in tablet mode.";
2797
Xiaoqian Dai24b33eb2018-04-10 21:01:572798const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2799const char kDisableTabletSplitViewDescription[] =
2800 "Disable split view for Chrome OS tablet mode.";
2801
Qiang Xu53d1a5832018-05-24 18:44:192802const char kEnableAppShortcutSearchName[] =
2803 "Enable app shortcut search in launcher";
2804const char kEnableAppShortcutSearchDescription[] =
2805 "Enables app shortcut search in launcher";
2806
Lei Zhang2eca9082017-10-17 20:42:502807const char kEnableBackgroundBlurName[] = "Enable background blur.";
2808const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422809 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392810
Brett Wilson7b44537e2017-08-18 01:38:282811const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2812const char kEnableChromevoxArcSupportDescription[] =
2813 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342814
F#m75862c92018-01-25 19:10:472815const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2816const char kEnableDisplayZoomSettingDescription[] =
2817 "Allows the user to modify the display size or zoom via the chrome display "
2818 "settings page.";
2819
Xiaoqian Dai82d99192018-05-25 18:51:352820const char kEnableDragTabsInTabletModeName[] =
2821 "Enable dragging tabs in tablet mode";
2822const char kEnableDragTabsInTabletModeDescription[] =
2823 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2824
Brett Wilson7b44537e2017-08-18 01:38:282825const char kEnableEhvInputName[] =
2826 "Emoji, handwriting and voice input on opt-in IME menu";
2827const char kEnableEhvInputDescription[] =
2828 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342829
Brett Wilson7b44537e2017-08-18 01:38:282830const char kEnableEncryptionMigrationName[] =
2831 "Enable encryption migration of user data";
2832const char kEnableEncryptionMigrationDescription[] =
2833 "If enabled and the device supports ARC, the user will be asked to update "
2834 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342835
Blake O'Hare9e9317b22017-10-24 02:49:352836const char kEnableFloatingVirtualKeyboardName[] =
2837 "Enable floating virtual keyboard";
2838const char kEnableFloatingVirtualKeyboardDescription[] =
2839 "If enabled, the keyboard will use floating behavior by default.";
2840
Qiang Xu045aff222018-05-21 23:21:012841const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2842 "Enable full screen handwriting virtual keyboard";
2843const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2844 "If enabled, the handwriting virtual keyboard will allow user to write "
2845 "anywhere on the screen";
2846
2847const char kEnableHomeLauncherName[] = "Enable home launcher";
2848const char kEnableHomeLauncherDescription[] =
2849 "Enable home launcher in tablet mode.";
2850
Brett Wilson7b44537e2017-08-18 01:38:282851const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2852const char kEnableImeMenuDescription[] =
2853 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342854
Qiang Xu045aff222018-05-21 23:21:012855const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2856const char kEnableNewWallpaperPickerDescription[] =
2857 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2858
2859const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2860const char kEnablePerUserTimezoneDescription[] =
2861 "Chrome OS system timezone preference is stored and handled for each user "
2862 "individually.";
2863
2864const char kEnableSettingsShortcutSearchName[] =
2865 "Enable Settings shortcut search";
2866const char kEnableSettingsShortcutSearchDescription[] =
2867 "Enable Settings shortcut search in launcher.";
2868
Darren Shen3e49c63d2018-03-28 04:45:502869const char kEnableStylusVirtualKeyboardName[] =
2870 "Enable stylus virtual keyboard";
2871const char kEnableStylusVirtualKeyboardDescription[] =
2872 "If enabled, tapping with a stylus will show the handwriting virtual "
2873 "keyboard.";
2874
Jordy Greenblatt2f23df22018-02-22 19:49:192875const char kEnableUnifiedMultiDeviceSettingsName[] =
2876 "Enable unified MultiDevice settings";
2877const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2878 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2879 "MultiDevice settings.";
2880
2881const char kEnableUnifiedMultiDeviceSetupName[] =
2882 "Enable unified MultiDevice setup";
2883const char kEnableUnifiedMultiDeviceSetupDescription[] =
2884 "Enable the device to setup all MultiDevice services in a single workflow.";
2885
Klemen Kozjek05fc4512017-10-18 12:51:102886const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2887const char kEnableZipArchiverPackerDescription[] =
2888 "Enable the ability to archive files on Drive in the Files app";
2889
Brett Wilson7b44537e2017-08-18 01:38:282890const char kEolNotificationName[] = "Disable Device End of Life notification.";
2891const char kEolNotificationDescription[] =
2892 "Disable Notifcation when Device is End of Life.";
2893
2894const char kExperimentalAccessibilityFeaturesName[] =
2895 "Experimental accessibility features";
2896const char kExperimentalAccessibilityFeaturesDescription[] =
2897 "Enable additional accessibility features in the Settings page.";
2898
2899const char kExperimentalInputViewFeaturesName[] =
2900 "Experimental input view features";
2901const char kExperimentalInputViewFeaturesDescription[] =
2902 "Enable experimental features for IME input views.";
2903
2904const char kFileManagerTouchModeName[] = "Files App. touch mode";
2905const char kFileManagerTouchModeDescription[] =
2906 "Touchscreen-specific interactions of the Files app.";
2907
2908const char kFirstRunUiTransitionsName[] =
2909 "Animated transitions in the first-run tutorial";
2910const char kFirstRunUiTransitionsDescription[] =
2911 "Transitions during first-run tutorial are animated.";
2912
Brett Wilson7b44537e2017-08-18 01:38:282913const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2914const char kForceEnableStylusToolsDescription[] =
2915 "Forces display of the stylus tools menu in the shelf and the stylus "
2916 "section in settings, even if there is no attached stylus device.";
2917
2918const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2919const char kGestureEditingDescription[] =
2920 "Enable/Disable gesture editing option in the settings page for the "
2921 "virtual keyboard.";
2922
2923const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2924const char kGestureTypingDescription[] =
2925 "Enable/Disable gesture typing option in the settings page for the virtual "
2926 "keyboard.";
2927
2928const char kInputViewName[] = "Input views";
2929const char kInputViewDescription[] =
2930 "Enable IME extensions to supply custom views for user input such as "
2931 "virtual keyboards.";
2932
Megumi Hattori5a0d4182018-03-06 11:09:502933const char kLockScreenNotificationName[] = "Lock screen notification";
2934const char kLockScreenNotificationDescription[] =
2935 "Enable notifications on the lock screen.";
2936
Qiang Xu045aff222018-05-21 23:21:012937const char kMaterialDesignInkDropAnimationSpeedName[] =
2938 "Material design ink drop animation speed";
2939const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2940 "Sets the speed of the experimental visual feedback animations for "
2941 "material design.";
2942const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2943const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2944
Brett Wilson7b44537e2017-08-18 01:38:282945const char kMemoryPressureThresholdName[] =
2946 "Memory discard strategy for advanced pressure handling";
2947const char kMemoryPressureThresholdDescription[] =
2948 "Memory discarding strategy to use";
2949const char kConservativeThresholds[] =
2950 "Conservative memory pressure release strategy";
2951const char kAggressiveCacheDiscardThresholds[] =
2952 "Aggressive cache release strategy";
2953const char kAggressiveTabDiscardThresholds[] =
2954 "Aggressive tab release strategy";
2955const char kAggressiveThresholds[] =
2956 "Aggressive tab and cache release strategy";
2957
2958const char kMtpWriteSupportName[] = "MTP write support";
2959const char kMtpWriteSupportDescription[] =
2960 "MTP write support in File System API (and file manager). In-place editing "
2961 "operations are not supported.";
2962
2963const char kMultideviceName[] = "Enable multidevice features";
2964const char kMultideviceDescription[] =
2965 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342966
Kyle Horimoto027590fb2018-02-13 22:19:482967const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2968const char kMultiDeviceApiDescription[] =
2969 "Enable Mojo-based API which provides synced device metadata and the "
2970 "ability to connect to other devices associated the logged-in Google "
2971 "account.";
2972
Bailey Berrodca8eeca02017-11-18 00:49:122973const char kNativeSmbName[] = "Native Smb Client";
2974const char kNativeSmbDescription[] =
2975 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302976
vabr0215a8e2017-03-28 12:47:342977const char kNetworkPortalNotificationName[] =
2978 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342979const char kNetworkPortalNotificationDescription[] =
2980 "If enabled, notification is displayed when device is connected to a "
2981 "network behind captive portal.";
2982
Brett Wilson7b44537e2017-08-18 01:38:282983const char kNewKoreanImeName[] = "New Korean IME";
2984const char kNewKoreanImeDescription[] =
2985 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342986
Brett Wilson7b44537e2017-08-18 01:38:282987const char kNewZipUnpackerName[] = "New ZIP unpacker";
2988const char kNewZipUnpackerDescription[] =
2989 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342990
Qiang Xu045aff222018-05-21 23:21:012991const char kOfficeEditingComponentAppName[] =
2992 "Office Editing for Docs, Sheets & Slides";
2993const char kOfficeEditingComponentAppDescription[] =
2994 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2995
Brett Wilson7b44537e2017-08-18 01:38:282996const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2997const char kPhysicalKeyboardAutocorrectDescription[] =
2998 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2999 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343000
3001const char kPrinterProviderSearchAppName[] =
3002 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343003const char kPrinterProviderSearchAppDescription[] =
3004 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193005 "searches Chrome Web Store for extensions that support printing to a USB "
3006 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343007
Brett Wilson7b44537e2017-08-18 01:38:283008const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3009const char kQuickUnlockPinDescription[] =
3010 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3011 "device on the lock screen after you have signed into your device.";
3012const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3013const char kQuickUnlockPinSigninDescription[] =
3014 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3015 "device. After changing this flag PIN needs to be set up again.";
3016const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3017const char kQuickUnlockFingerprintDescription[] =
3018 "Enabling fingerprint quick unlock allows you to setup and use a "
3019 "fingerprint to unlock your Chromebook on the lock screen after you have "
3020 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343021
James Cook0ba192bf2017-12-01 20:53:113022const char kShowTapsName[] = "Show taps";
3023const char kShowTapsDescription[] =
3024 "Draws a circle at each touch point, which makes touch points more obvious "
3025 "when projecting or mirroring the display. Similar to the Android OS "
3026 "developer option.";
3027
3028const char kShowTouchHudName[] = "Show HUD for touch points";
3029const char kShowTouchHudDescription[] =
3030 "Shows a trail of colored dots for the last few touch points. Pressing "
3031 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3032 "debug hardware issues that generate spurious touch events.";
3033
Chung-Sheng Wu468b0b32017-09-01 14:41:573034const char kSysInternalsName[] = "Enable Sys-Internals";
3035const char kSysInternalsDescription[] =
3036 "If enabled, user can monitor system information at "
3037 "chrome://sys-internals.";
3038
James Cooka9384092018-05-23 02:54:263039const char kTapVisualizerAppName[] = "Show taps with mojo app";
3040const char kTapVisualizerAppDescription[] =
3041 "Use an out-of-process mojo app to show touch points.";
3042
Brett Wilson7b44537e2017-08-18 01:38:283043const char kTeamDrivesName[] = "Enable Team Drives Integration";
3044const char kTeamDrivesDescription[] =
3045 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343046
Brett Wilson7b44537e2017-08-18 01:38:283047const char kTetherName[] = "Instant Tethering";
3048const char kTetherDescription[] =
3049 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3050 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373051
Brett Wilson7b44537e2017-08-18 01:38:283052const char kTouchscreenCalibrationName[] =
3053 "Enable/disable touchscreen calibration option in material design settings";
3054const char kTouchscreenCalibrationDescription[] =
3055 "If enabled, the user can calibrate the touch screen displays in "
3056 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093057
Qiang Xu045aff222018-05-21 23:21:013058const char kUiDevToolsName[] = "Enable native UI inspection";
3059const char kUiDevToolsDescription[] =
3060 "Enables inspection of native UI elements. For local inspection use "
3061 "chrome://inspect#other";
3062
3063const char kUiShowCompositedLayerBordersName[] =
3064 "Show UI composited layer borders";
3065const char kUiShowCompositedLayerBordersDescription[] =
3066 "Show border around composited layers created by UI.";
3067const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3068const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3069const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3070const char kUiShowCompositedLayerBordersAll[] = "All";
3071
3072const char kUiSlowAnimationsName[] = "Slow UI animations";
3073const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3074
Mitsuru Oshima63d3f2a2017-08-23 00:12:113075// Force UI Mode
3076const char kUiModeName[] = "Force Ui Mode";
3077const char kUiModeDescription[] =
3078 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3079 R"*(despite its current orientation. "Tablet" means that the )*"
3080 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3081 R"*(means that the chromebook will act as if it were in clamshell )*"
3082 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3083 R"*(the two, based on its orientation.)*";
3084const char kUiModeTablet[] = "TouchView";
3085const char kUiModeClamshell[] = "Clamshell";
3086const char kUiModeAuto[] = "Auto (default)";
3087
James Cooka1bcfa9a2018-01-30 00:18:403088const char kUseMashName[] = "Out-of-process system UI (mash)";
3089const char kUseMashDescription[] =
3090 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3091 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283092
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343093// TODO(mcasas): remove after https://crbug.com/771345.
3094const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3095const char kUseMonitorColorSpaceDescription[] =
3096 "Enables Chrome to use the color space information provided by the monitor"
3097 " instead of the default sRGB color space.";
3098
Brett Wilson7b44537e2017-08-18 01:38:283099const char kVideoPlayerChromecastSupportName[] =
3100 "Experimental Chromecast support for Video Player";
3101const char kVideoPlayerChromecastSupportDescription[] =
3102 "This option enables experimental Chromecast support for Video Player app "
3103 "on ChromeOS.";
3104
3105const char kVirtualKeyboardName[] = "Virtual Keyboard";
3106const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3107
3108const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3109const char kVirtualKeyboardOverscrollDescription[] =
3110 "Enables virtual keyboard overscroll support.";
3111
3112const char kVoiceInputName[] = "Voice input on virtual keyboard";
3113const char kVoiceInputDescription[] =
3114 "Enables voice input on virtual keyboard.";
3115
3116const char kWakeOnPacketsName[] = "Wake On Packets";
3117const char kWakeOnPacketsDescription[] =
3118 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203119
Qiang Xu53d1a5832018-05-24 18:44:193120const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3121const char kZipArchiverUnpackerDescription[] =
3122 "Enable or disable the ability to unpack archives in incognito mode";
3123
yhanadac5bff5b2017-05-18 06:37:093124#endif // defined(OS_CHROMEOS)
3125
Brett Wilson7b44537e2017-08-18 01:38:283126// Random platform combinations -----------------------------------------------
3127
3128#if defined(OS_WIN) || defined(OS_LINUX)
3129
3130const char kEnableInputImeApiName[] = "Enable Input IME API";
3131const char kEnableInputImeApiDescription[] =
3132 "Enable the use of chrome.input.ime API.";
3133
Tom Anderson6cbd5052018-05-03 23:49:543134#if !defined(OS_CHROMEOS)
3135
3136const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3137const char kWarnBeforeQuittingFlagDescription[] =
3138 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3139
3140#endif // !defined(OS_CHROMEOS)
3141
Brett Wilson7b44537e2017-08-18 01:38:283142#endif // defined(OS_WIN) || defined(OS_LINUX)
3143
3144#if defined(OS_WIN) || defined(OS_MACOSX)
3145
3146const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3147const char kAutomaticTabDiscardingDescription[] =
3148 "If enabled, tabs get automatically discarded from memory when the system "
3149 "memory is low. Discarded tabs are still visible on the tab strip and get "
3150 "reloaded when clicked on. Info about discarded tabs can be found at "
3151 "chrome://discards.";
3152
3153#endif // defined(OS_WIN) || defined(OS_MACOSX)
3154
3155// Feature flags --------------------------------------------------------------
3156
3157#if BUILDFLAG(ENABLE_VR)
3158
David Dorwin5a496c32017-11-17 01:45:053159const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3160const char kWebVrVsyncAlignDescription[] =
3161 "Align WebVR application rendering with VSync for smoother animations.";
3162
Brett Wilson7b44537e2017-08-18 01:38:283163#if defined(OS_ANDROID)
3164
Yash Malikb78e72a72018-02-21 09:14:103165const char kVrWebInputEditingName[] = "VR browsing web input editing";
3166const char kVrWebInputEditingDescription[] =
3167 "Allow editing web input fields while in VR mode.";
3168
David Dorwin5a496c32017-11-17 01:45:053169const char kVrBrowsingExperimentalFeaturesName[] =
3170 "VR browsing experimental features";
3171const char kVrBrowsingExperimentalFeaturesDescription[] =
3172 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283173
David Dorwin5a496c32017-11-17 01:45:053174const char kVrBrowsingExperimentalRenderingName[] =
3175 "VR browsing experimental rendering features";
3176const char kVrBrowsingExperimentalRenderingDescription[] =
3177 "Experimental rendering features for VR browsing (e.g. power-saving "
3178 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103179
David Dorwin5a496c32017-11-17 01:45:053180const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3181const char kVrBrowsingInCustomTabDescription[] =
3182 "Allow browsing within a VR headset while in a Custom Tab.";
3183
Michael Thiessen37895912018-01-19 20:15:543184const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3185const char kVrIconInDaydreamHomeDescription[] =
3186 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3187
David Dorwin5a496c32017-11-17 01:45:053188const char kWebVrAutopresentFromIntentName[] =
3189 "WebVR auto presentation from intents";
3190const char kWebVrAutopresentFromIntentDescription[] =
3191 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283192
3193#endif // OS_ANDROID
3194
Bill Orr103ed272018-02-14 21:23:053195#if BUILDFLAG(ENABLE_OCULUS_VR)
3196const char kOculusVRName[] = "Oculus hardware support";
3197const char kOculusVRDescription[] =
3198 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3199 "Windows 10 or later).";
3200#endif // ENABLE_OCULUS_VR
3201
Bill Orr49527562017-11-22 16:58:483202#if BUILDFLAG(ENABLE_OPENVR)
3203const char kOpenVRName[] = "OpenVR hardware support";
3204const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073205 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3206 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483207#endif // ENABLE_OPENVR
3208
Brett Wilson7b44537e2017-08-18 01:38:283209#endif // ENABLE_VR
3210
Nico Weberaf3b00b2017-09-11 17:58:173211#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283212
3213const char kNaclDebugMaskName[] =
3214 "Restrict Native Client GDB-based debugging by pattern";
3215const char kNaclDebugMaskDescription[] =
3216 "Restricts Native Client application GDB-based debugging by URL of "
3217 "manifest file. Native Client GDB-based debugging must be enabled for this "
3218 "option to work.";
3219const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3220const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3221 "Debug everything except secure shell and the PNaCl translator.";
3222const char kNaclDebugMaskChoiceIncludeDebug[] =
3223 "Debug only if manifest URL ends with debug.nmf.";
3224
3225const char kNaclDebugName[] = "Native Client GDB-based debugging";
3226const char kNaclDebugDescription[] =
3227 "Enable GDB debug stub. This will stop a Native Client application on "
3228 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3229
3230const char kNaclName[] = "Native Client";
3231const char kNaclDescription[] =
3232 "Support Native Client for all web applications, even those that were not "
3233 "installed from the Chrome Web Store.";
3234
3235const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3236const char kPnaclSubzeroDescription[] =
3237 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3238
Nico Weberaf3b00b2017-09-11 17:58:173239#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283240
Brett Wilson7b44537e2017-08-18 01:38:283241const char kWebrtcH264WithOpenh264FfmpegName[] =
3242 "WebRTC H.264 software video encoder/decoder";
3243const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3244 "When enabled, an H.264 software video encoder/decoder pair is included. "
3245 "If a hardware encoder/decoder is also available it may be used instead of "
3246 "this encoder/decoder.";
3247
Brett Wilson7b44537e2017-08-18 01:38:283248#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3249
3250const char kAutofillCreditCardUploadName[] =
3251 "Enable offering upload of Autofilled credit cards";
3252const char kAutofillCreditCardUploadDescription[] =
3253 "Enables a new option to upload credit cards to Google Payments for sync "
3254 "to all Chrome devices.";
3255
3256#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3257
Becca Hughesdc96e842018-05-04 22:48:283258#if defined(OS_ANDROID)
3259
3260const char kDisplayCutoutAPIName[] =
3261 "Enable support for the Display Cutout API";
3262const char kDisplayCutoutAPIDescription[] =
3263 "Enables developers to support devices that have a display cutout.";
3264
3265#endif // defined(OS_ANDROID)
3266
Brett Wilson7b44537e2017-08-18 01:38:283267// ============================================================================
3268// Don't just add flags to the end, put them in the right section in
3269// alphabetical order just like the header file.
3270// ============================================================================
3271
vabr0215a8e2017-03-28 12:47:343272} // namespace flag_descriptions