blob: 0efc0185c6a2e286b981ece4cecd312acb0cdcfe [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
Anton Urusov47cd4932017-09-19 14:41:41494const char kEnablePolicyToolName[] = "Enable policy management page";
495const char kEnablePolicyToolDescription[] =
496 "If enabled, the chrome://policy-tool URL loads a page for managing "
497 "policies.";
498
Tsuyoshi Horoea7edb72017-11-12 04:14:00499const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
500const char kEnablePWAFullCodeCacheDescription[] =
501 "Generate V8 code cache in Cache Storage while installing Service Worker "
502 "for PWAs.";
503
Weidong Guof1e5a892018-01-06 02:26:39504const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28505 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39506const char kDisableMultiMirroringDescription[] =
507 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28508
Brett Wilsonf27ff602017-07-07 22:28:47509const char kEnableNavigationTracingName[] = "Enable navigation tracing";
510const char kEnableNavigationTracingDescription[] =
511 "This is to be used in conjunction with the trace-upload-url flag. "
512 "WARNING: When enabled, Chrome will record performance data for every "
513 "navigation and upload it to the URL specified by the trace-upload-url "
514 "flag. The trace may include personally identifiable information (PII) "
515 "such as the titles and URLs of websites you visit.";
516
Bernhard Bauer5533f9912017-11-06 17:56:02517const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
518const char kEnableNetworkLoggingToFileDescription[] =
519 "Enables network logging to a file named netlog.json in the user data "
520 "directory. The file can be imported into chrome://net-internals.";
521
Brett Wilsonf27ff602017-07-07 22:28:47522const char kEnableNetworkServiceName[] = "Enable network service";
523const char kEnableNetworkServiceDescription[] =
524 "Enables the network service, which makes network requests through a "
525 "separate service. Note: most features don't work with this yet.";
526
John Abd-El-Malek8067cc02017-12-04 23:23:20527const char kEnableNetworkServiceInProcessName[] =
528 "Runs network service in-process";
529const char kEnableNetworkServiceInProcessDescription[] =
530 "Runs the network service in the browser process.";
531
dpapaded8349472017-10-25 03:21:27532const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
533const char kEnableNewPrintPreviewDescription[] =
534 "If enabled, Print Preview will display a newer UI";
535
Ahmed Fakhry2fd8fc82017-07-28 16:31:12536const char kEnableNightLightName[] = "Enable Night Light";
537const char kEnableNightLightDescription[] =
538 "Enable the Night Light feature which controls the color temperature of "
539 "the screen.";
540
xlou8b56f672018-02-09 23:34:30541const char kEnableNupPrintingName[] = "Enable N-up printing";
542const char kEnableNupPrintingDescription[] =
543 "Enable N-up printing in the print preview panel.";
544
Sophie Chang117a3b22017-10-24 22:25:36545const char kEnableOptimizationHintsName[] = "Optimization Hints";
546const char kEnableOptimizationHintsDescription[] =
547 "Enable the Optimization Hints feature which incorporates server hints"
548 "into decisions for what optimizations to perform on some pages on slow "
549 "networks.";
550
Yutaka Hirano98be3272017-08-07 17:55:39551const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
552const char kEnableOutOfBlinkCORSDescription[] =
553 "CORS handling logic is moved out of blink.";
554
Sammie Quon0fbf0782018-05-01 22:11:08555const char kEnableOverviewSwipeToCloseName[] =
556 "Enable overview swipe to close.";
557const char kEnableOverviewSwipeToCloseDescription[] =
558 "Enables closing of items in overview mode by dragging or flinging "
559 "vertically.";
560
kylechar7051c092018-02-05 20:31:39561const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
562const char kVizDisplayCompositorDescription[] =
563 "If enabled, the display compositor runs as part of the viz service in the"
564 "GPU process.";
565
Ria Jiang6a129b982018-03-01 18:30:40566const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
567const char kVizHitTestDrawQuadDescription[] =
568 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
569 "with hit-test data computed from the CompositorFrame.";
570
Erik Chen49bbfa22017-08-18 08:49:56571const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23572 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56573const char kEnableOutOfProcessHeapProfilingDescription[] =
574 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19575 "malloced objects. Heap dumps can be obtained at chrome://tracing "
576 "[category:memory-infra] and chrome://memory-internals. This setting "
577 "controls which processes are profiled. As long as this setting is not "
578 "disabled, users can start profiling any given process in "
579 "chrome://memory-internals.";
580const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
581const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
582const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
583const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
584const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10585const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19586 "None by default. Visit chrome://memory-internals to choose which "
587 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15588const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
589 "Profile a random sampling of renderer processes, ensuring only one is "
590 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19591
Erik Chen8bb76b52017-12-06 19:06:25592const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19593 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25594const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
595 "By default, small allocations are pruned from the heap dump. This reduces "
596 "the size of the compressed trace by 100x. If pruning is disabled, the "
597 "chrome://tracing UI may be unable to take or load the trace. Save the "
598 "trace directly using chrome://memory-internals, and use other mechanisms "
599 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
600 "automatically uploaded traces will always be pruned. This only affects "
601 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56602
erikchen8bc20d82018-02-14 03:21:51603const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
604const char kOutOfProcessHeapProfilingSamplingDescription[] =
605 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22606 "10000. This results in low noise for large and/or frequent allocations ["
607 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
608 "total size of malloc-ed objects] and large and/or frequent allocations "
609 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51610
Erik Chen3303fd0232018-01-11 20:29:05611const char kOOPHPStackModeName[] =
612 "The type of stack to record for memlog heap dumps";
613const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19614 "By default, memlog heap dumps record native stacks, which requires a "
615 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55616 "pointers to work on Android. Native with thread names will add the thread "
617 "name as the first frame of each native stack. It's also possible to "
618 "record a pseudo stack using trace events as identifiers. It's also "
619 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19620const char kOOPHPStackModeMixed[] = "Mixed";
621const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55622const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19623const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05624
François Beaufort2e75f492018-02-08 20:44:46625const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47626const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46627 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47628
F#m59d036e2017-09-13 07:22:17629const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
630const char kEnablePixelCanvasRecordingDescription[] =
631 "Pixel canvas recording allows the compositor to raster contents aligned "
632 "with the pixel and improves text rendering. This should be enabled when a "
633 "device is using fractional scale factor.";
634
Mikel Astiz38837f82018-04-24 22:23:23635const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
636const char kEnableSyncUSSSessionsDescription[] =
637 "Enables the new, experimental implementation of session sync (aka tab "
638 "sync).";
639
Brett Wilsonf27ff602017-07-07 22:28:47640const char kEnableTokenBindingName[] = "Token Binding.";
641const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
642
Sahel Sharifyd732ab12017-11-29 23:03:16643extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
644 "Wheel Scroll Latching.";
645extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
646 "Wheel scroll latching enforces latching to a single element for the "
647 "duration of a scroll sequence.";
648
Brett Wilsonf27ff602017-07-07 22:28:47649const char kEnableUseZoomForDsfName[] =
650 "Use Blink's zoom for device scale factor.";
651const char kEnableUseZoomForDsfDescription[] =
652 "If enabled, Blink uses its zooming mechanism to scale content for device "
653 "scale factor.";
654const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
655const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
656const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
657
Patrick Noland8ee016e2018-01-24 11:44:53658const char kEnableScrollAnchorSerializationName[] =
659 "Scroll Anchor Serialization";
660const char kEnableScrollAnchorSerializationDescription[] =
661 "Save the scroll anchor and use it to restore the scroll position when "
662 "navigating.";
663
Brad Nelson5cd500e2018-01-04 00:50:19664const char kEnableSharedArrayBufferName[] =
665 "Experimental enabled SharedArrayBuffer support in JavaScript.";
666const char kEnableSharedArrayBufferDescription[] =
667 "Enable SharedArrayBuffer support in JavaScript.";
668
Brett Wilsonf27ff602017-07-07 22:28:47669const char kEnableWasmName[] = "WebAssembly structured cloning support.";
670const char kEnableWasmDescription[] =
671 "Enable web pages to use WebAssembly structured cloning.";
672
Brett Wilsonf27ff602017-07-07 22:28:47673const char kEnableImageCaptureAPIName[] = "Image Capture API";
674const char kEnableImageCaptureAPIDescription[] =
675 "Enables the Web Platform Image Capture API: takePhoto(), "
676 "getPhotoCapabilities(), etc.";
677
678const char kEnableZeroSuggestRedirectToChromeName[] =
679 "Experimental contextual omnibox suggestion";
680const char kEnableZeroSuggestRedirectToChromeDescription[] =
681 "Change omnibox contextual suggestions to an experimental source. Note "
682 "that this is not an on/off switch for contextual omnibox and it only "
683 "applies to suggestions provided before the user starts typing a URL or a "
684 "search query (i.e. zero suggest).";
685
686const char kEnableWasmStreamingName[] =
687 "WebAssembly streaming compile/instantiate support.";
688const char kEnableWasmStreamingDescription[] =
689 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
690
Clemens Hammacher0c8a15a2018-04-27 13:45:32691const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
692const char kEnableWasmBaselineDescription[] =
693 "Enables WebAssembly baseline compilation and tier up.";
694
Brett Wilsonf27ff602017-07-07 22:28:47695const char kExpensiveBackgroundTimerThrottlingName[] =
696 "Throttle expensive background timers";
697const char kExpensiveBackgroundTimerThrottlingDescription[] =
698 "Enables intervention to limit CPU usage of background timers to 1%.";
699
700const char kExperimentalAppBannersName[] = "Experimental app banners";
701const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38702 "Enables a new experimental app banner flow and UI. Implies "
703 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47704
705const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
706const char kExperimentalCanvasFeaturesDescription[] =
707 "Enables the use of experimental canvas features which are still in "
708 "development.";
709
Nicholas Verneccd8259802018-02-22 01:22:04710const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
711const char kExperimentalCrostiniUIDescription[] =
712 "Enables in-development Crostini features.";
713
Brett Wilsonf27ff602017-07-07 22:28:47714const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
715const char kExperimentalExtensionApisDescription[] =
716 "Enables experimental extension APIs. Note that the extension gallery "
717 "doesn't allow you to upload extensions that use experimental APIs.";
718
719const char kExperimentalFullscreenExitUIName[] =
720 "Experimental fullscreen exit UI";
721const char kExperimentalFullscreenExitUIDescription[] =
722 "Displays experimental UI to allow mouse and touch input methods to exit "
723 "fullscreen mode.";
724
Ian Clelland37a985d2018-05-04 02:43:13725const char kExperimentalProductivityFeaturesName[] =
726 "Experimental Productivity Features";
727const char kExperimentalProductivityFeaturesDescription[] =
728 "Enable support for experimental developer productivity features, such as "
729 "Layered APIs and policies for avoiding slow rendering.";
730
Brett Wilsonf27ff602017-07-07 22:28:47731const char kExperimentalSecurityFeaturesName[] =
732 "Potentially annoying security features";
733const char kExperimentalSecurityFeaturesDescription[] =
734 "Enables several security features that will likely break one or more "
735 "pages that you visit on a daily basis. Strict mixed content checking, for "
736 "example. And locking powerful features to secure contexts. This flag will "
737 "probably annoy you.";
738
739const char kExperimentalWebPlatformFeaturesName[] =
740 "Experimental Web Platform features";
741const char kExperimentalWebPlatformFeaturesDescription[] =
742 "Enables experimental Web Platform features that are in development.";
743
744const char kExtensionContentVerificationName[] =
745 "Extension Content Verification";
746const char kExtensionContentVerificationDescription[] =
747 "This flag can be used to turn on verification that the contents of the "
748 "files on disk for extensions from the webstore match what they're "
749 "expected to be. This can be used to turn on this feature if it would not "
750 "otherwise have been turned on, but cannot be used to turn it off (because "
751 "this setting can be tampered with by malware).";
752const char kExtensionContentVerificationBootstrap[] =
753 "Bootstrap (get expected hashes, but do not enforce them)";
754const char kExtensionContentVerificationEnforce[] =
755 "Enforce (try to get hashes, and enforce them if successful)";
756const char kExtensionContentVerificationEnforceStrict[] =
757 "Enforce strict (hard fail if we can't get hashes)";
758
759const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
760const char kExtensionsOnChromeUrlsDescription[] =
761 "Enables running extensions on chrome:// URLs, where extensions explicitly "
762 "request this permission.";
galinapae72e152017-05-12 13:12:28763
Brett Wilsonecb80982017-07-12 20:34:51764const char kFastUnloadName[] = "Fast tab/window close";
765const char kFastUnloadDescription[] =
766 "Enables fast tab/window closing - runs a tab's onunload js handler "
767 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34768
Brett Wilsonecb80982017-07-12 20:34:51769const char kFeaturePolicyName[] = "Feature Policy";
770const char kFeaturePolicyDescription[] =
771 "Enables granting and removing access to features through the "
772 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34773
Brett Wilsonecb80982017-07-12 20:34:51774const char kFontCacheScalingName[] = "FontCache scaling";
775const char kFontCacheScalingDescription[] =
776 "Reuse a cached font in the renderer to serve different sizes of font for "
777 "faster layout.";
778
779const char kForceEffectiveConnectionTypeName[] =
780 "Override effective connection type";
781const char kForceEffectiveConnectionTypeDescription[] =
782 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30783 "returned by the network quality estimator. Slow 2G on Cellular returns "
784 "Slow 2G when connected to a cellular network, and the actual estimate "
785 "effective connection type when not on a cellular network. Previews are "
786 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51787const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
788const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
789const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30790const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
791 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51792const char kEffectiveConnectionType2GDescription[] = "2G";
793const char kEffectiveConnectionType3GDescription[] = "3G";
794const char kEffectiveConnectionType4GDescription[] = "4G";
795
796const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
797const char kFillOnAccountSelectDescription[] =
798 "Filling of passwords when an account is explicitly selected by the user "
799 "rather than autofilling credentials on page load.";
800
Brett Wilsonecb80982017-07-12 20:34:51801const char kForceTextDirectionName[] = "Force text direction";
802const char kForceTextDirectionDescription[] =
803 "Explicitly force the per-character directionality of UI text to "
804 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
805 "direction of the character language.";
806const char kForceDirectionLtr[] = "Left-to-right";
807const char kForceDirectionRtl[] = "Right-to-left";
808
809const char kForceUiDirectionName[] = "Force UI direction";
810const char kForceUiDirectionDescription[] =
811 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
812 "mode, overriding the default direction of the UI language.";
813
814const char kFramebustingName[] =
815 "Framebusting requires same-origin or a user gesture";
816const char kFramebustingDescription[] =
817 "Don't permit an iframe to navigate the top level browsing context unless "
818 "they are same-origin or the iframe is processing a user gesture.";
819
820const char kGamepadExtensionsName[] = "Gamepad Extensions";
821const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22822 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58823const char kGamepadVibrationName[] = "Gamepad Vibration";
824const char kGamepadVibrationDescription[] =
825 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51826
Brett Wilsonecb80982017-07-12 20:34:51827const char kGpuRasterizationMsaaSampleCountName[] =
828 "GPU rasterization MSAA sample count.";
829const char kGpuRasterizationMsaaSampleCountDescription[] =
830 "Specify the number of MSAA samples for GPU rasterization.";
831const char kGpuRasterizationMsaaSampleCountZero[] = "0";
832const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
833const char kGpuRasterizationMsaaSampleCountFour[] = "4";
834const char kGpuRasterizationMsaaSampleCountEight[] = "8";
835const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
836
837const char kGpuRasterizationName[] = "GPU rasterization";
838const char kGpuRasterizationDescription[] =
839 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28840const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51841
842const char kGoogleProfileInfoName[] = "Google profile name and icon";
843const char kGoogleProfileInfoDescription[] =
844 "Enables using Google information to populate the profile name and icon in "
845 "the avatar menu.";
846
847const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
848const char kHarfbuzzRendertextDescription[] =
849 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
850 "web content.";
851
Takumi Fujimotofb71e332018-03-31 14:04:08852const char kViewsCastDialogName[] = "Views Cast dialog";
853const char kViewsCastDialogDescription[] =
Takumi Fujimoto541e5e22018-05-30 00:46:31854 "Replace the WebUI Cast dialog with a Views toolkit dialog. This requires "
855 "#views-browser-windows on Mac.";
Takumi Fujimotofb71e332018-03-31 14:04:08856
Manu Cornet4a908de2018-04-09 04:32:27857const char kHideActiveAppsFromShelfName[] =
858 "Hide running apps (that are not pinned) from the shelf";
859const char kHideActiveAppsFromShelfDescription[] =
860 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25861
Brett Wilsonecb80982017-07-12 20:34:51862const char kHistoryRequiresUserGestureName[] =
863 "New history entries require a user gesture.";
864const char kHistoryRequiresUserGestureDescription[] =
865 "Require a user gesture to add a history entry.";
866const char kHyperlinkAuditingName[] = "Hyperlink auditing";
867const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
868
Ryan Landay4242dbc22018-04-04 01:47:33869const char kHorizontalTabSwitcherAndroidName[] =
870 "Enable horizontal tab switcher";
871const char kHorizontalTabSwitcherAndroidDescription[] =
872 "Changes the layout of the Android tab switcher so tabs scroll "
873 "horizontally instead of vertically.";
874
Brett Wilsonecb80982017-07-12 20:34:51875const char kHostedAppQuitNotificationName[] =
876 "Quit notification for hosted apps";
877const char kHostedAppQuitNotificationDescription[] =
878 "Display a notification when quitting Chrome if hosted apps are currently "
879 "running.";
880
881const char kHostedAppShimCreationName[] =
882 "Creation of app shims for hosted apps on Mac";
883const char kHostedAppShimCreationDescription[] =
884 "Create app shims on Mac when creating a hosted app.";
885
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48886const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
887const char kHtmlBasedUsernameDetectorDescription[] =
888 "Use HTML-based username detector for the password manager.";
889
Brett Wilsonecb80982017-07-12 20:34:51890const char kIconNtpName[] = "Large icons on the New Tab page";
891const char kIconNtpDescription[] =
892 "Enable the experimental New Tab page using large icons.";
893
894const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
895const char kIgnoreGpuBlacklistDescription[] =
896 "Overrides the built-in software rendering list and enables "
897 "GPU-acceleration on unsupported system configurations.";
898
Thanh Le5f090efa52017-12-27 22:39:44899const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
900const char kIgnorePreviewsBlacklistDescription[] =
901 "Ignore decisions made by the PreviewsBlackList";
902
Brett Wilsonecb80982017-07-12 20:34:51903const char kImportantSitesInCbdName[] =
904 "Important sites options in clear browsing data dialog";
905const char kImportantSitesInCbdDescription[] =
906 "Include the option to whitelist important sites in the clear browsing "
907 "data dialog.";
908
Claudio Magni61c210922017-12-28 00:29:51909const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
910const char kImprovedLanguageSettingsDescription[] =
911 "Set of changes for Language Settings. These changes are intended to fix "
912 "the major bugs related to Language Settings.";
913
Brett Wilsonecb80982017-07-12 20:34:51914const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
915const char kInProductHelpDemoModeChoiceDescription[] =
916 "Selects the In-Product Help demo mode.";
917
918const char kJavascriptHarmonyName[] = "Experimental JavaScript";
919const char kJavascriptHarmonyDescription[] =
920 "Enable web pages to use experimental JavaScript features.";
921
922const char kJavascriptHarmonyShippingName[] =
923 "Latest stable JavaScript features";
924const char kJavascriptHarmonyShippingDescription[] =
925 "Some web pages use legacy or non-standard JavaScript extensions that may "
926 "conflict with the latest JavaScript features. This flag allows disabling "
927 "support of those features for compatibility with such pages.";
928
Yutaka Hiranof7f2f632017-09-06 10:40:08929const char kKeepAliveRendererForKeepaliveRequestsName[] =
930 "Keep a renderer alive for keepalive fetch requests";
931const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
932 "Keep a render process alive when the process has a pending fetch request "
933 "with `keepalive' specified.";
934
Joe Downing095fd6d2018-02-01 18:40:36935const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
936const char kKeyboardLockApiDescription[] =
937 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
938 "specific key events and have them routed directly to the webpage when in "
939 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
940
Brett Wilsonecb80982017-07-12 20:34:51941const char kLcdTextName[] = "LCD text antialiasing";
942const char kLcdTextDescription[] =
943 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
944 "(subpixel) when doing accelerated compositing.";
945
Matt Giucac399982f2017-10-06 07:51:29946const char kLeftToRightUrlsName[] =
947 "Render bidirectional URLs from left to right";
948const char kLeftToRightUrlsDescription[] =
949 "An experimental Bidi URL rendering algorithm where the URL components are "
950 "always shown in order from left to right, regardless of any RTL "
951 "characters. (The contents of each component are still rendered with the "
952 "normal Bidi algorithm.)";
953
Brett Wilsonecb80982017-07-12 20:34:51954const char kLoadMediaRouterComponentExtensionName[] =
955 "Load Media Router Component Extension";
956const char kLoadMediaRouterComponentExtensionDescription[] =
957 "Loads the Media Router component extension at startup.";
958
spqchanb87755692018-04-05 00:46:09959const char kMacViewsAutofillPopupName[] =
960 "Uses the Views Autofill Popup on Mac";
961const char kMacViewsAutofillPopupDescription[] =
962 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32963
Brett Wilsonecb80982017-07-12 20:34:51964const char kManualPasswordGenerationName[] = "Manual password generation.";
965const char kManualPasswordGenerationDescription[] =
966 "Show a 'Generate Password' option on the context menu for all password "
967 "fields.";
968
969const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
970const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51971
Lei Zhang2eca9082017-10-17 20:42:50972const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
973const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51974 "If enabled, the Incognito New Tab page uses the new material design with "
975 "a better readable text.";
976
spqchanb87755692018-04-05 00:46:09977const char kMediaRouterCastAllowAllIPsName[] =
978 "Connect to Cast devices on all IP addresses";
979const char kMediaRouterCastAllowAllIPsDescription[] =
980 "Have the Media Router connect to Cast devices on all IP addresses, not "
981 "just RFC1918/RFC4913 private addresses.";
982
Brett Wilsonecb80982017-07-12 20:34:51983const char kMemoryAblationName[] = "Memory ablation experiment";
984const char kMemoryAblationDescription[] =
985 "Allocates extra memory in the browser process.";
986
987const char kMemoryCoordinatorName[] = "Memory coordinator";
988const char kMemoryCoordinatorDescription[] =
989 "Enable memory coordinator instead of memory pressure listeners.";
990
991const char kMessageCenterNewStyleNotificationName[] = "New style notification";
992const char kMessageCenterNewStyleNotificationDescription[] =
993 "Enables the experiment style of material-design notification";
994
Brett Wilsonecb80982017-07-12 20:34:51995const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
996const char kMhtmlGeneratorOptionDescription[] =
997 "Provides experimental options for MHTML file generator.";
998const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
999const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1000
Kouhei Ueno08445c22017-09-05 03:58:301001const char kModuleScriptsDynamicImportName[] =
1002 "Enable ECMAScript 6 modules dynamic import";
1003const char kModuleScriptsDynamicImportDescription[] =
1004 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1005 "Blink.";
1006
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051007const char kModuleScriptsImportMetaUrlName[] =
1008 "Enable ECMAScript 6 modules import.meta.url";
1009const char kModuleScriptsImportMetaUrlDescription[] =
1010 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1011 "Blink.";
1012
Brett Wilsonecb80982017-07-12 20:34:511013const char kNewAudioRenderingMixingStrategyName[] =
1014 "New audio rendering mixing strategy";
1015const char kNewAudioRenderingMixingStrategyDescription[] =
1016 "Use the new audio rendering mixing strategy.";
1017
1018const char kNewBookmarkAppsName[] = "The new bookmark app system";
1019const char kNewBookmarkAppsDescription[] =
1020 "Enables the new system for creating bookmark apps.";
1021
Vadym Doroshenkof81e8bb2018-04-18 14:35:241022const char kNewPasswordFormParsingName[] = "New password form parsing";
1023const char kNewPasswordFormParsingDescription[] =
1024 "Replaces existing form parsing in password manager with a new version, "
1025 "currently under development. WARNING: when enabled Password Manager might "
1026 "stop working";
1027
Brett Wilsonecb80982017-07-12 20:34:511028const char kNewRemotePlaybackPipelineName[] =
1029 "Enable the new remote playback pipeline.";
1030const char kNewRemotePlaybackPipelineDescription[] =
1031 "Enable the new pipeline for playing media element remotely via "
1032 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501033const char kUseSurfaceLayerForVideoName[] =
1034 "Enable the use of SurfaceLayer objects for videos.";
1035const char kUseSurfaceLayerForVideoDescription[] =
1036 "Enable compositing onto a Surface instead of a VideoLayer "
1037 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511038
1039const char kNewUsbBackendName[] = "Enable new USB backend";
1040const char kNewUsbBackendDescription[] =
1041 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341042
Sonny Sasaka2d200432018-03-22 17:43:161043const char kNewblueName[] = "Newblue";
1044const char kNewblueDescription[] =
1045 "Enables the use of newblue Bluetooth daemon.";
1046
Egor Pasko6fed3822018-05-30 10:33:141047const char kNostatePrefetchName[] = "NoState Prefetch";
vabr0215a8e2017-03-28 12:47:341048const char kNostatePrefetchDescription[] =
Egor Pasko6fed3822018-05-30 10:33:141049 R"*(If enabled, pre-downloads resources to improve page load speed.)*";
vabr0215a8e2017-03-28 12:47:341050
Alex Newcomerd7b0cc42018-05-25 22:58:481051const char kNotificationIndicatorName[] = "Notification Indicators";
1052const char kNotificationIndicatorDescription[] =
1053 "Enable notification indicators, which appear on app icons when a "
1054 "notification is active. This will also enable notifications in context "
1055 "menus.";
1056
Brett Wilsonecb80982017-07-12 20:34:511057const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1058const char kNotificationsNativeFlagDescription[] =
1059 "Enable support for using the native notification toasts and notification "
1060 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341061
Zentaro Kavanaghbad511c2017-10-18 22:29:001062#if defined(OS_POSIX)
1063const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1064const char kNtlmV2EnabledDescription[] =
1065 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1066#endif
1067
Ramya Nagarajane9f16b82018-05-03 01:05:341068const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1069const char kNtpBackgroundsDescription[] =
1070 "Allow selection of a custom background image on the New Tab Page.";
1071
1072const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1073const char kNtpIconsDescription[] =
1074 "Show custom link icons on the New Tab Page, instead of Most Visited "
1075 "tiles.";
1076
1077const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1078const char kNtpUIMdDescription[] =
1079 "Updates the New Tab Page with Material Design elements.";
1080
Brett Wilsonecb80982017-07-12 20:34:511081const char kNumRasterThreadsName[] = "Number of raster threads";
1082const char kNumRasterThreadsDescription[] =
1083 "Specify the number of raster threads.";
1084const char kNumRasterThreadsOne[] = "1";
1085const char kNumRasterThreadsTwo[] = "2";
1086const char kNumRasterThreadsThree[] = "3";
1087const char kNumRasterThreadsFour[] = "4";
1088
1089const char kOfferStoreUnmaskedWalletCardsName[] =
1090 "Google Payments card saving checkbox";
1091const char kOfferStoreUnmaskedWalletCardsDescription[] =
1092 "Show the checkbox to offer local saving of a credit card downloaded from "
1093 "the server.";
1094
1095const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1096const char kOfflineAutoReloadDescription[] =
1097 "Pages that fail to load while the browser is offline will be "
1098 "auto-reloaded when the browser is online again.";
1099
1100const char kOfflineAutoReloadVisibleOnlyName[] =
1101 "Only Auto-Reload Visible Tabs";
1102const char kOfflineAutoReloadVisibleOnlyDescription[] =
1103 "Pages that fail to load while the browser is offline will only be "
1104 "auto-reloaded if their tab is visible.";
1105
Brett Wilsonecb80982017-07-12 20:34:511106const char kOmniboxDisplayTitleForCurrentUrlName[] =
1107 "Include title for the current URL in the omnibox";
1108const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1109 "In the event that the omnibox provides suggestions on-focus, the URL of "
1110 "the current page is provided as the first suggestion without a title. "
1111 "Enabling this flag causes the title to be displayed.";
1112
Benoit Lizeab08362c2017-07-19 14:50:541113const char kOmniboxSpareRendererName[] =
1114 "Start spare renderer on omnibox focus";
1115const char kOmniboxSpareRendererDescription[] =
1116 "When the omnibox is focused, start an empty spare renderer. This can "
1117 "speed up the load of the navigation from the omnibox.";
1118
Tommy C. Li8875a442017-08-23 00:10:591119const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1120 "Omnibox UI Elide Suggestion URL After Host";
1121const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1122 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1123 "dropdown.";
1124
Tommy C. Lid79d4402017-12-22 22:49:121125const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1126 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1127const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1128 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1129 "displayed URLs. Hidden portions are restored during editing.";
1130
Brett Wilsonecb80982017-07-12 20:34:511131const char kOmniboxUIMaxAutocompleteMatchesName[] =
1132 "Omnibox UI Max Autocomplete Matches";
1133
1134const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1135 "Changes the maximum number of autocomplete matches displayed in the "
1136 "Omnibox UI.";
1137
Justin Donnelly65c9e8b2017-10-01 05:15:011138const char kOmniboxUIShowSuggestionFaviconsName[] =
1139 "Omnibox UI Show Suggestion Favicons";
1140const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1141 "Shows favicons instead of generic vector icons for URL suggestions in the "
1142 "Omnibox dropdown.";
1143
1144const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1145const char kOmniboxUISwapTitleAndUrlDescription[] =
1146 "In the omnibox dropdown, shows titles before URLs when both are "
1147 "available.";
1148
Brett Wilsonecb80982017-07-12 20:34:511149const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1150const char kOmniboxUIVerticalMarginDescription[] =
1151 "Changes the vertical margin in the Omnibox UI.";
1152
Troy Hildebrandtb32637ca2018-02-21 23:25:091153const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1154 "Omnibox Voice Search Always Visible";
1155const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1156 "Always displays voice search icon in focused omnibox as long as voice "
1157 "search is possible";
1158
Brett Wilsonecb80982017-07-12 20:34:511159const char kOriginTrialsName[] = "Origin Trials";
1160const char kOriginTrialsDescription[] =
1161 "Enables origin trials for controlling access to feature/API experiments.";
1162
Becca Hughes930d8cd2017-10-02 11:09:121163const char kOverflowIconsForMediaControlsName[] =
1164 "Icons on Media Controls Overflow Menu";
1165const char kOverflowIconsForMediaControlsDescription[] =
1166 "Displays icons on the overflow menu of the native media controls";
1167
Brett Wilsonecb80982017-07-12 20:34:511168const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1169const char kOverlayScrollbarsDescription[] =
1170 "Enable the experimental overlay scrollbars implementation. You must also "
1171 "enable threaded compositing to have the scrollbars animate.";
1172
chaopenge8aa016b2017-08-24 15:20:191173const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1174 "Flash Overlay Scrollbars After Any Scroll Update";
1175const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1176 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1177 " must also enable Overlay Scrollbars.";
1178
chaopeng343678022017-08-24 18:45:001179const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1180 "Flash Overlay Scrollbars When Mouse Enter";
1181const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1182 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1183 " enable Overlay Scrollbars.";
1184
Claudio Magni81326f92017-09-01 05:21:181185const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1186const char kUseNewAcceptLanguageHeaderDescription[] =
1187 "Adds the base language code after other corresponding language+region "
1188 "codes. This ensures that users receive content in their preferred "
1189 "language.";
1190
Brett Wilsonecb80982017-07-12 20:34:511191const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1192const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481193 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511194const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481195const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511196
1197const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1198const char kOverscrollStartThresholdDescription[] =
1199 "Changes overscroll start threshold relative to the default value.";
1200const char kOverscrollStartThreshold133Percent[] = "133%";
1201const char kOverscrollStartThreshold166Percent[] = "166%";
1202const char kOverscrollStartThreshold200Percent[] = "200%";
1203
chaopenge2b6e5f2018-05-08 16:40:451204const char kTouchpadOverscrollHistoryNavigationName[] =
1205 "Overscroll history navigation on Touchpad";
1206const char kTouchpadOverscrollHistoryNavigationDescription[] =
1207 "Allows swipe left/right from touchpad change browser navigation.";
1208
Xing Liu5400a002017-09-15 21:48:291209const char kParallelDownloadingName[] = "Parallel downloading";
1210const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061211 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291212
Brett Wilsonecb80982017-07-12 20:34:511213const char kPassiveEventListenerDefaultName[] =
1214 "Passive Event Listener Override";
1215const char kPassiveEventListenerDefaultDescription[] =
1216 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1217 "haven't requested otherwise) to be treated as passive. This will break "
1218 "touch/wheel behavior on some websites but is useful for demonstrating the "
1219 "potential performance benefits of adopting passive event listeners.";
1220const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1221const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1222
1223const char kPassiveEventListenersDueToFlingName[] =
1224 "Touch Event Listeners Passive Default During Fling";
1225const char kPassiveEventListenersDueToFlingDescription[] =
1226 "Forces touchstart, and first touchmove per scroll event listeners during "
1227 "fling to be treated as passive.";
1228
1229const char kPassiveDocumentEventListenersName[] =
1230 "Document Level Event Listeners Passive Default";
1231const char kPassiveDocumentEventListenersDescription[] =
1232 "Forces touchstart, and touchmove event listeners on document level "
1233 "targets (which haven't requested otherwise) to be treated as passive.";
1234
1235const char kPasswordForceSavingName[] = "Force-saving of passwords";
1236const char kPasswordForceSavingDescription[] =
1237 "Allow the user to manually enforce password saving instead of relying on "
1238 "password manager's heuristics.";
1239
1240const char kPasswordGenerationName[] = "Password generation";
1241const char kPasswordGenerationDescription[] =
1242 "Allow the user to have Chrome generate passwords when it detects account "
1243 "creation pages.";
1244
Vaclav Brozekd8a3f542017-11-16 14:21:131245const char kPasswordExportName[] = "Password export";
1246const char kPasswordExportDescription[] =
1247 "Export functionality in password settings.";
1248
1249const char kPasswordImportName[] = "Password import";
1250const char kPasswordImportDescription[] =
1251 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511252
Friedrich Horschig03c91982018-01-25 14:21:281253const char kPasswordSearchMobileName[] = "Password search";
1254const char kPasswordSearchMobileDescription[] =
1255 "Search functionality in password settings.";
1256
Friedrich Horschige6c27742018-04-23 17:13:411257const char kPasswordsKeyboardAccessoryName[] =
1258 "Add password-related functions to keyboard accessory";
1259const char kPasswordsKeyboardAccessoryDescription[] =
1260 "Adds password generation button and toggle for the passwords bottom sheet "
1261 "to the keyboard accessory. Replaces password generation popups.";
1262
Tom Sepez92a2cd242018-03-13 19:23:091263const char kPdfIsolationName[] = "PDF Isolation";
1264const char kPdfIsolationDescription[] =
1265 "Render PDF files from different origins in different plugin processes.";
1266
Brett Wilsonecb80982017-07-12 20:34:511267const char kPinchScaleName[] = "Pinch scale";
1268const char kPinchScaleDescription[] =
1269 "Enables experimental support for scale using pinch.";
1270
Doug Arnett620ff542018-02-06 17:54:221271const char kPreviewsAllowedName[] = "Previews Allowed";
1272const char kPreviewsAllowedDescription[] =
1273 "Allows previews to be shown subject to specific preview types being "
1274 "enabled and the client experiencing specific triggering conditions. "
1275 "May be used as a kill-switch to turn off all potential preview types.";
1276
Brett Wilsonecb80982017-07-12 20:34:511277const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1278const char kPrintPdfAsImageDescription[] =
1279 "If enabled, an option to print PDF files as images will be available in "
1280 "print preview.";
1281
1282const char kPrintPreviewRegisterPromosName[] =
1283 "Print Preview Registration Promos";
1284const char kPrintPreviewRegisterPromosDescription[] =
1285 "Enable registering unregistered cloud printers from print preview.";
1286
1287const char kProtectSyncCredentialName[] = "Autofill sync credential";
1288const char kProtectSyncCredentialDescription[] =
1289 "How the password manager handles autofill for the sync credential.";
1290
1291const char kProtectSyncCredentialOnReauthName[] =
1292 "Autofill sync credential only for transactional reauth pages";
1293const char kProtectSyncCredentialOnReauthDescription[] =
1294 "How the password manager handles autofill for the sync credential only "
1295 "for transactional reauth pages.";
1296
Mohsen Izadi93faac12017-07-29 04:45:151297const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1298const char kPullToRefreshDescription[] =
1299 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011300const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151301
Troy Hildebrandt7228ad12018-02-23 21:18:241302const char kQueryInOmniboxName[] = "Query in Omnibox";
1303const char kQueryInOmniboxDescription[] =
1304 "Only display query terms in the omnibox when viewing a search results "
1305 "page.";
1306
Brett Wilsonecb80982017-07-12 20:34:511307const char kQuicName[] = "Experimental QUIC protocol";
1308const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1309
Emily Starke8878d52018-05-11 21:27:261310const char kRecurrentInterstitialName[] =
1311 "Show a message when the same SSL error recurs";
1312const char kRecurrentInterstitialDescription[] =
1313 "Enable a special message on the SSL certificate error page when the same "
1314 "SSL error occurs repeatedly.";
1315
Brett Wilsonecb80982017-07-12 20:34:511316const char kReducedReferrerGranularityName[] =
1317 "Reduce default 'referer' header granularity.";
1318const char kReducedReferrerGranularityDescription[] =
1319 "If a page hasn't set an explicit referrer policy, setting this flag will "
1320 "reduce the amount of information in the 'referer' header for cross-origin "
1321 "requests.";
1322
Claudio Magnie0a80bb2018-01-31 02:52:581323extern const char kRegionalLocalesAsDisplayUIName[] =
1324 "Allow regional locales as display UI";
1325extern const char kRegionalLocalesAsDisplayUIDescription[] =
1326 "This flag allows regional locales to be selected as display UI by the "
1327 "user in Language Settings. The actual locale of the system is derived "
1328 "from the user selection based on some simple fallback logic.";
1329
Christian Dullweber1af31e62018-02-22 11:49:481330const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141331 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481332const char kRemoveNavigationHistoryDescription[] =
1333 "Remove a navigation entry when the corresponding history entry has been "
1334 "deleted.";
1335
Mihai Sardarescu6d0f5b72017-10-30 11:24:381336const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1337 "Remove usage of the deprecated GAIA sign-in endpoint";
1338const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1339 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1340 "This flags controls wheter it should no longer be used during a sign-in "
1341 " flow.";
1342
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351343const char kRendererSideResourceSchedulerName[] =
1344 "Renderer side ResourceScheduler";
1345const char kRendererSideResourceSchedulerDescription[] =
1346 "Migrate some ResourceScheduler functionalities to renderer";
1347
Brett Wilsonecb80982017-07-12 20:34:511348const char kRequestTabletSiteName[] =
1349 "Request tablet site option in the settings menu";
1350const char kRequestTabletSiteDescription[] =
1351 "Allows the user to request tablet site. Web content is often optimized "
1352 "for tablet devices. When this option is selected the user agent string is "
1353 "changed to indicate a tablet device. Web content optimized for tablets is "
1354 "received there after for the current tab.";
1355
1356const char kResetAppListInstallStateName[] =
1357 "Reset the App Launcher install state on every restart.";
1358const char kResetAppListInstallStateDescription[] =
1359 "Reset the App Launcher install state on every restart. While this flag is "
1360 "set, Chrome will forget the launcher has been installed each time it "
1361 "starts. This is used for testing the App Launcher install flow.";
1362
1363const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1364const char kResourceLoadSchedulerDescription[] =
1365 "Uses the resource load scheduler in blink to schedule and throttle "
1366 "resource load requests.";
1367
Brett Wilsonecb80982017-07-12 20:34:511368const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1369const char kSafeSearchUrlReportingDescription[] =
1370 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1371
Alexei Filippov98772752018-01-27 08:26:521372const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1373const char kSamplingHeapProfilerDescription[] =
1374 "Enables native memory sampling profiler with specified rate in KiB. "
1375 "If sampling rate is not provided the default value of 128 KiB is used.";
1376
Brett Wilsonecb80982017-07-12 20:34:511377const char kSaveasMenuLabelExperimentName[] =
1378 "Switch 'Save as' menu labels to 'Download'";
1379const char kSaveasMenuLabelExperimentDescription[] =
1380 "Enables an experiment to switch menu labels that use 'Save as...' to "
1381 "'Download'.";
1382
1383const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1384const char kSavePageAsMhtmlDescription[] =
1385 "Enables saving pages as MHTML: a single text file containing HTML and all "
1386 "sub-resources.";
1387
Nate Chapin9638e7102017-09-20 22:11:011388const char kSavePreviousDocumentResourcesName[] =
1389 "Save Previous Document Resources";
1390const char kSavePreviousDocumentResourcesDescription[] =
1391 "Saves an old document's cached resources until the specified point in the "
1392 "next document's lifecycle.";
1393const char kSavePreviousDocumentResourcesNever[] =
1394 "Don't explicitly save resources";
1395const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1396 "Save resources until onDOMContentLoaded completes";
1397const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1398 "Save resources until onload completes";
1399
Brett Wilsonecb80982017-07-12 20:34:511400const char kScrollPredictionName[] = "Scroll prediction";
1401const char kScrollPredictionDescription[] =
1402 "Predicts the finger's future position during scrolls allowing time to "
1403 "render the frame before the finger is there.";
1404
1405const char kSecondaryUiMd[] =
1406 "Material Design in the rest of the browser's native UI";
1407const char kSecondaryUiMdDescription[] =
1408 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1409 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1410 "browser dialogs.";
1411
1412const char kServiceWorkerNavigationPreloadName[] =
1413 "Service worker navigation preload.";
1414const char kServiceWorkerNavigationPreloadDescription[] =
1415 "Enable web pages to use the experimental service worker navigation "
1416 "preload API.";
1417
gogeraldd5061b592017-09-06 23:39:551418const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1419const char kServiceWorkerPaymentAppsDescription[] =
1420 "Enable Service Worker applications to integrate as payment apps";
1421
Makoto Shimazu22078cc2018-02-21 03:01:441422extern const char kServiceWorkerServicificationName[] =
1423 "Servicified service workers";
1424extern const char kServiceWorkerServicificationDescription[] =
1425 "Enable the servicified service workers. A servicified service worker can "
1426 "have direct connection from its clients, so that fetch events can be "
1427 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171428
Tsuyoshi Horobcb1c642017-11-24 16:32:141429const char kServiceWorkerScriptFullCodeCacheName[] =
1430 "Service worker script full code cache.";
1431const char kServiceWorkerScriptFullCodeCacheDescription[] =
1432 "Generate V8 full code cache of Service Worker scripts while installing.";
1433
Brett Wilsonecb80982017-07-12 20:34:511434const char kSettingsWindowName[] = "Show settings in a window";
1435const char kSettingsWindowDescription[] =
1436 "Settings will be shown in a dedicated window instead of as a browser tab.";
1437
Manu Cornetd7ef7c52018-05-01 22:08:231438const char kShelfHoverPreviewsName[] =
1439 "Show previews of running apps when hovering over the shelf.";
1440const char kShelfHoverPreviewsDescription[] =
1441 "Shows previews of the open windows for a given running app when hovering "
1442 "over the shelf.";
1443
Trent Apted750ba7022017-10-23 13:36:251444const char kShowAllDialogsWithViewsToolkitName[] =
1445 "Show all dialogs with Views toolkit";
1446const char kShowAllDialogsWithViewsToolkitDescription[] =
1447 "All browser dialogs will be shown using the Views toolkit rather than "
1448 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1449
Naoki Fukino008a0022018-05-23 18:33:001450const char kShowAndroidFilesInFilesAppName[] =
1451 "Show Android files in Files app";
1452const char kShowAndroidFilesInFilesAppDescription[] =
1453 "Show Android files in Files app if Android is enabled on the device.";
1454
Luciano Pachecof1beaa82018-05-30 04:48:511455const char kFilesAppNewStyleNavigationName[] =
1456 "Use new-style navigation in the Files app";
1457const char kFilesAppNewStyleNavigationDescription[] =
1458 "Enables the new-style navigation in the Files app, which displays a "
1459 R"("My Files" root for Downloads, Linux and Play files)";
1460
Brett Wilsonecb80982017-07-12 20:34:511461const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1462const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381463 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1464 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511465
1466const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1467const char kShowAutofillTypePredictionsDescription[] =
1468 "Annotates web forms with Autofill field type predictions as placeholder "
1469 "text.";
1470
1471const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1472const char kShowOverdrawFeedbackDescription[] =
1473 "Visualize overdraw by color-coding elements based on if they have other "
1474 "elements drawn underneath.";
1475
Carlos IL89128732018-04-03 17:00:251476const char kSupervisedUserCommittedInterstitialsName[] =
1477 "Enable Supervised User Committed Interstitials";
1478const char kSupervisedUserCommittedInterstitialsDescription[] =
1479 "Use committed error pages instead of transient navigation entries for "
1480 "supervised user interstitials";
1481
yiyixbdfa9a0b2017-10-23 22:21:471482const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1483const char kEnableDrawOcclusionDescription[] =
1484 "Enable the system to use draw occlusion to skip draw quads when they are "
1485 "not shown on the screen.";
1486
Brett Wilsonecb80982017-07-12 20:34:511487const char kShowSavedCopyName[] = "Show Saved Copy Button";
1488const char kShowSavedCopyDescription[] =
1489 "When a page fails to load, if a stale copy of the page exists in the "
1490 "browser cache, a button will be presented to allow the user to load that "
1491 "stale copy. The primary enabling choice puts the button in the most "
1492 "salient position on the error page; the secondary enabling choice puts it "
1493 "secondary to the reload button.";
1494const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1495const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1496const char kDisableShowSavedCopy[] = "Disable";
1497
Brett Wilsonecb80982017-07-12 20:34:511498const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1499const char kSilentDebuggerExtensionApiDescription[] =
1500 "Do not show the infobar when an extension attaches to a page via "
1501 "chrome.debugger API. This is required to debug extension background "
1502 "pages.";
1503
Tsuyoshi Horo53895ba92018-03-14 04:06:481504const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1505const char kSignedHTTPExchangeDescription[] =
1506 "Enables Origin-Signed HTTP Exchanges support which is still in "
1507 "development. Warning: Enabling this may pose a security risk.";
1508
Brett Wilsonecb80982017-07-12 20:34:511509const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1510const char kSimpleCacheBackendDescription[] =
1511 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1512 "disk space allocation.";
1513
Christopher Thompson75ff845d2018-02-01 20:12:461514const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1515const char kSimplifyHttpsIndicatorDescription[] =
1516 "Change the UI treatment for HTTPS pages.";
1517
Brett Wilsonecb80982017-07-12 20:34:511518const char kSingleClickAutofillName[] = "Single-click autofill";
1519const char kSingleClickAutofillDescription[] =
1520 "Make autofill suggestions on initial mouse click on a form element.";
1521
Nick Carter855bc492018-03-10 00:44:571522const char kStrictSiteIsolationName[] = "Strict site isolation";
1523const char kStrictSiteIsolationDescription[] =
1524 "Security mode that enables site isolation for all sites. When enabled, "
1525 "each renderer process will contain pages from at most one site, using "
1526 "out-of-process iframes when needed. When enabled, this flag forces the "
1527 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1528 "isolation mode will be determined by enterprise policy or field trial.";
1529
1530const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1531const char kSiteIsolationTrialOptOutDescription[] =
1532 "Opts out of field trials that enable site isolation modes "
1533 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1534 "may be due to out-of-process iframes. Opt-out has no effect if site "
1535 "isolation is force-enabled via #enable-site-per-process or enterprise "
1536 "policy. Caution: this disables important mitigations for the Spectre CPU "
1537 "vulnerability affecting most computers.";
1538extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1539extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1540 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511541
Pattideade7972018-04-27 02:59:401542const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511543const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401544 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511545
Brett Wilsonecb80982017-07-12 20:34:511546const char kSmoothScrollingName[] = "Smooth Scrolling";
1547const char kSmoothScrollingDescription[] =
1548 "Animate smoothly when scrolling page content.";
1549
1550const char kSoftwareRasterizerName[] = "3D software rasterizer";
1551const char kSoftwareRasterizerDescription[] =
1552 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1553
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201554const char kSoleIntegrationName[] = "Sole integration";
1555const char kSoleIntegrationDescription[] =
1556 "Enable Sole integration for browser customization. You must restart "
1557 "the browser twice for changes to take effect.";
1558
Tommy Steimel77704be2017-08-28 22:14:401559const char kSoundContentSettingName[] = "Sound content setting";
1560const char kSoundContentSettingDescription[] =
1561 "Enable site-wide muting in content settings and tab strip context menu.";
1562
Alexandr Ilinf0500ed32017-09-27 21:12:361563const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1564const char kSpeculativePreconnectDescription[] =
1565 "Enable the new implementation of preconnect and DNS preresolve. "
1566 "\"Learning\" means that only database construction is enabled, "
1567 "\"Preconnect\" enables both learning and preconnect and disables the "
1568 "existing implementation. \"No preconnect\" disables both implementations.";
1569
Brett Wilsonecb80982017-07-12 20:34:511570const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341571const char kSpeculativePrefetchDescription[] =
1572 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1573 R"*(load times, based on a local database (see chrome://predictors). )*"
1574 R"*("Learning" means that only the database construction is enabled, )*"
1575 R"*("Prefetching" that learning and prefetching are enabled.)*";
1576
Justin Donnelly4e448cb2017-07-07 21:32:131577const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1578 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131579const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1580 "If enabled, when the user enters text in the omnibox that looks like a "
1581 "a query, any service worker associated with the search engine the query "
1582 "will be sent to is started early.";
1583
Brett Wilsonecb80982017-07-12 20:34:511584const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1585const char kSpellingFeedbackFieldTrialDescription[] =
1586 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401587
Shubhie Panickerfaf082ed2018-01-03 04:49:151588const char kStopInBackgroundName[] = "Stop in background";
1589const char kStopInBackgroundDescription[] =
1590 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281591 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151592
1593const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1594const char kStopLoadingInBackgroundDescription[] =
1595 "Stop loading tasks and loading "
1596 "resources, in the background, after certain grace time.";
1597
Shubhie Panicker56c99a22018-03-21 00:22:281598const char kStopNonTimersInBackgroundName[] =
1599 "Stop non-timer task queues background";
1600const char kStopNonTimersInBackgroundDescription[] =
1601 "Stop non-timer task queues, in the background, "
1602 "after a grace period.";
1603
Brett Wilsonecb80982017-07-12 20:34:511604const char kSuggestionsWithSubStringMatchName[] =
1605 "Substring matching for Autofill suggestions";
1606const char kSuggestionsWithSubStringMatchDescription[] =
1607 "Match Autofill suggestions based on substrings (token prefixes) rather "
1608 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341609
Brett Wilsonecb80982017-07-12 20:34:511610const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1611const char kSyncSandboxDescription[] =
1612 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341613
Joe Downing8cbbc192018-05-14 17:37:071614const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1615const char kSystemKeyboardLockDescription[] =
1616 "Enables websites to use the keyboard.lock() API to intercept system "
1617 "keyboard shortcuts and have the events routed directly to the website "
1618 "when in fullscreen mode.";
1619
Brett Wilsonecb80982017-07-12 20:34:511620const char kTabAudioMutingName[] = "Tab audio muting UI control";
1621const char kTabAudioMutingDescription[] =
1622 "When enabled, the audio indicators in the tab strip double as tab audio "
1623 "mute controls. This also adds commands in the tab context menu for "
1624 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341625
Christian Dullweberd0d96f02017-09-13 09:22:511626const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1627const char kTabsInCbdDescription[] =
1628 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1629
Becky Zhou99c22802017-10-19 05:09:271630const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1631const char kTabModalJsDialogDescription[] =
1632 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1633 " tab.";
1634
Brett Wilsonecb80982017-07-12 20:34:511635const char kTcpFastOpenName[] = "TCP Fast Open";
1636const char kTcpFastOpenDescription[] =
1637 "Enable the option to send extra authentication information in the initial "
1638 "SYN packet for a previously connected client, allowing faster data send "
1639 "start.";
vabr0215a8e2017-03-28 12:47:341640
Daniele Castagna0fead93e2018-01-10 20:40:291641const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1642const char kTintGlCompositedContentDescription[] =
1643 "Tint contents composited using GL with a shade of red to help debug and "
1644 "study overlay support.";
1645
Brett Wilsonecb80982017-07-12 20:34:511646const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1647const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581648 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401649 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431650 "- new unified interface for touch and convertibles (Chrome OS), 4) "
1651 "Material Design refresh and 5) Touchable Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511652const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531653const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461654const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581655const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401656const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431657const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341658
Brett Wilsonecb80982017-07-12 20:34:511659const char kThreadedScrollingName[] = "Threaded scrolling";
1660const char kThreadedScrollingDescription[] =
1661 "Threaded handling of scroll-related input events. Disabling this will "
1662 "force all such scroll events to be handled on the main thread. Note that "
1663 "this can dramatically hurt scrolling performance of most websites and is "
1664 "intended for testing purposes only.";
1665
Steven Valdez4584b2482017-07-14 01:11:571666const char kTLS13VariantName[] = "TLS 1.3";
1667const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1668const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111669const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041670const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381671const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571672
Brett Wilsonecb80982017-07-12 20:34:511673const char kTopDocumentIsolationName[] = "Top document isolation";
1674const char kTopDocumentIsolationDescription[] =
1675 "Highly experimental performance mode where cross-site iframes are kept in "
1676 "a separate process from the top document. In this mode, iframes from "
1677 "different third-party sites will be allowed to share a process.";
1678
Dominick Ng8896b1cd2017-10-17 23:24:361679const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1680const char kTopSitesFromSiteEngagementDescription[] =
1681 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1682 "engagement.";
1683
Brett Wilsonecb80982017-07-12 20:34:511684const char kTouchAdjustmentName[] = "Touch adjustment";
1685const char kTouchAdjustmentDescription[] =
1686 "Refine the position of a touch gesture in order to compensate for touches "
1687 "having poor resolution compared to a mouse.";
1688
Alex Newcomerb3d3c972018-05-03 14:59:401689const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1690const char kTouchableAppContextMenuDescription[] =
1691 "Enable the touchable app context menu, which enlarges app context menus "
1692 "in the Launcher and Shelf to make room for new features.";
1693
Brett Wilsonecb80982017-07-12 20:34:511694const char kTouchDragDropName[] = "Touch initiated drag and drop";
1695const char kTouchDragDropDescription[] =
1696 "Touch drag and drop can be initiated through long press on a draggable "
1697 "element.";
1698
1699const char kTouchEventsName[] = "Touch Events API";
1700const char kTouchEventsDescription[] =
1701 "Force Touch Events API feature detection to always be enabled or "
1702 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291703 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511704
1705const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1706const char kTouchSelectionStrategyDescription[] =
1707 "Controls how text selection granularity changes when touch text selection "
1708 "handles are dragged. Non-default behavior is experimental.";
1709const char kTouchSelectionStrategyCharacter[] = "Character";
1710const char kTouchSelectionStrategyDirection[] = "Direction";
1711
1712const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1713const char kTraceUploadUrlDescription[] =
1714 "This is to be used in conjunction with the enable-navigation-tracing "
1715 "flag. Please select the label that best describes the recorded traces. "
1716 "This will choose the destination the traces are uploaded to. If you are "
1717 "not sure, select other. If left empty, no traces will be uploaded.";
1718const char kTraceUploadUrlChoiceOther[] = "Other";
1719const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1720const char kTraceUploadUrlChoiceQa[] = "QA";
1721const char kTraceUploadUrlChoiceTesting[] = "Testing";
1722
Philippe Hamel7fdaa452017-09-29 17:22:491723const char kTranslateRankerEnforcementName[] =
1724 "Enforce TranslateRanker decisions";
1725const char kTranslateRankerEnforcementDescription[] =
1726 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1727 "or not Translate UI should be triggered in a given context.";
1728
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051729const char kTreatInsecureOriginAsSecureName[] =
1730 "Insecure origins treated as secure";
1731const char kTreatInsecureOriginAsSecureDescription[] =
1732 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1733 "supplied as a comma-separated list. For the definition of secure "
1734 "contexts, "
1735 "see https://w3c.github.io/webappsec-secure-contexts/";
1736
Brett Wilsonecb80982017-07-12 20:34:511737const char kTrySupportedChannelLayoutsName[] =
1738 "Causes audio output streams to check if channel layouts other than the "
1739 "default hardware layout are available.";
1740const char kTrySupportedChannelLayoutsDescription[] =
1741 "Causes audio output streams to check if channel layouts other than the "
1742 "default hardware layout are available. Turning this on will allow the OS "
1743 "to do stereo to surround expansion if supported. May expose third party "
1744 "driver bugs, use with caution.";
1745
David Roger6762a092018-01-31 15:55:071746const char kUnifiedConsentName[] = "Unified Consent";
1747const char kUnifiedConsentDescription[] =
1748 "Enables a unified management of user consent for privacy-related "
1749 "features. This includes new confirmation screens and improved settings "
1750 "pages.";
1751
Brett Wilsonecb80982017-07-12 20:34:511752const char kUiPartialSwapName[] = "Partial swap";
1753const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1754
Chris Pickel3a227ae62017-08-24 10:47:261755const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1756const char kUseDdljsonApiDescription[] =
1757 "Enables the new ddljson API to fetch Doodles for the NTP.";
1758
Becca Hughes59c05b42017-11-03 13:11:581759const char kUseModernMediaControlsName[] = "New Media Controls";
1760const char kUseModernMediaControlsDescription[] =
1761 "Enables the new style native media controls.";
1762
Wei Li790e7a8572018-03-23 01:31:551763const char kUsePdfCompositorServiceName[] =
1764 "Use PDF compositor service for printing";
1765const char kUsePdfCompositorServiceDescription[] =
1766 "When enabled, use PDF compositor service to composite and generate PDF "
1767 "files for printing. When site isolation is enabled, disabling this will "
1768 "not stop using PDF compositor service since the service is required for "
1769 "printing out-of-process iframes correctly.";
1770
Mustaq Ahmedc646c0a2017-10-20 20:08:301771const char kUserActivationV2Name[] = "User Activation v2";
1772const char kUserActivationV2Description[] =
1773 "Enable simple user activation for APIs that are otherwise controlled by "
1774 "user gesture tokens.";
1775
Brett Wilsonecb80982017-07-12 20:34:511776const char kUserConsentForExtensionScriptsName[] =
1777 "User consent for extension scripts";
1778const char kUserConsentForExtensionScriptsDescription[] =
1779 "Require user consent for an extension running a script on the page, if "
1780 "the extension requested permission to run on all urls.";
1781
1782const char kUseSuggestionsEvenIfFewFeatureName[] =
1783 "Disable minimum for server-side tile suggestions on NTP.";
1784const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1785 "Request server-side suggestions even if there are only very few of them "
1786 "and use them for tiles on the New Tab Page.";
1787
1788const char kV8CacheOptionsName[] = "V8 caching mode.";
1789const char kV8CacheOptionsDescription[] =
1790 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511791const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1792
Hitoshi Yoshida3e5db562017-09-11 02:31:081793const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1794const char kV8ContextSnapshotDescription[] =
1795 "Sets to use a snapshot to create V8 contexts in frame creation.";
1796
Michael Hablich896d52662017-10-23 15:59:571797const char kV8VmFutureName[] = "Future V8 VM features";
1798const char kV8VmFutureDescription[] =
1799 "This enables upcoming and experimental V8 VM features. "
1800 "This flag does not enable experimental JavaScript features.";
1801
Brett Wilsonecb80982017-07-12 20:34:511802const char kVideoFullscreenOrientationLockName[] =
1803 "Lock screen orientation when playing a video fullscreen.";
1804const char kVideoFullscreenOrientationLockDescription[] =
1805 "Lock the screen orientation of the device to match video orientation when "
1806 "a video goes fullscreen. Only on phones.";
1807
1808const char kVideoRotateToFullscreenName[] =
1809 "Rotate-to-fullscreen gesture for videos.";
1810const char kVideoRotateToFullscreenDescription[] =
1811 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1812 "the video. Only on phones.";
1813
Elly Fong-Jonesf4c79502018-03-23 19:21:531814const char kViewsBrowserWindowsName[] =
1815 "Use Views browser windows instead of Cocoa.";
1816const char kViewsBrowserWindowsDescription[] =
1817 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1818
Brett Wilsonecb80982017-07-12 20:34:511819const char kWalletServiceUseSandboxName[] =
1820 "Use Google Payments sandbox servers";
1821const char kWalletServiceUseSandboxDescription[] =
1822 "For developers: use the sandbox service for Google Payments API calls.";
1823
Brett Wilsonecb80982017-07-12 20:34:511824const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1825const char kWebglDraftExtensionsDescription[] =
1826 "Enabling this option allows web applications to access the WebGL "
1827 "Extensions that are still in draft status.";
1828
1829const char kWebMidiName[] = "Web MIDI API";
1830const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1831
1832const char kWebPaymentsName[] = "Web Payments";
1833const char kWebPaymentsDescription[] =
1834 "Enable Web Payments API integration, a JavaScript API for merchants.";
1835
Mathieu Perreault51339b82017-07-20 17:06:051836const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1837const char kWebPaymentsModifiersDescription[] =
1838 "If the website provides modifiers in the payment request, show the custom "
1839 "total for each payment instrument, update the shopping cart when "
1840 "instruments are switched, and send modified payment method specific data "
1841 "to the payment app.";
1842
Brett Wilsonecb80982017-07-12 20:34:511843const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1844const char kWebrtcEchoCanceller3Description[] =
1845 "Experimental WebRTC echo canceller (AEC3).";
1846
1847const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1848const char kWebrtcHwDecodingDescription[] =
1849 "Support in WebRTC for decoding video streams using platform hardware.";
1850
1851const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1852const char kWebrtcHwEncodingDescription[] =
1853 "Support in WebRTC for encoding video streams using platform hardware.";
1854
1855const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1856const char kWebrtcHwH264EncodingDescription[] =
1857 "Support in WebRTC for encoding h264 video streams using platform "
1858 "hardware.";
1859
1860const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1861const char kWebrtcHwVP8EncodingDescription[] =
1862 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1863
Niels Möller090866a2018-02-13 10:55:031864const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1865 "WebRTC new encode cpu load estimator";
1866const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1867 "Enable new estimator for the encoder cpu load, for evaluation and "
1868 "testing. Intended to improve accuracy when screen casting.";
1869
Brett Wilsonecb80982017-07-12 20:34:511870const char kWebrtcSrtpAesGcmName[] =
1871 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1872const char kWebrtcSrtpAesGcmDescription[] =
1873 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1874
Joachim Bauch4a41d7512017-08-23 14:24:231875const char kWebrtcSrtpEncryptedHeadersName[] =
1876 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1877const char kWebrtcSrtpEncryptedHeadersDescription[] =
1878 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1879 "for SRTP.";
1880
Brett Wilsonecb80982017-07-12 20:34:511881const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1882const char kWebrtcStunOriginDescription[] =
1883 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1884 "header.";
1885
Adam Ricec786ad8a2018-05-22 09:49:151886const char kWebSocketHandshakeReuseConnectionName[] =
1887 "Enable WebSocket connection reuse for authentication";
1888const char kWebSocketHandshakeReuseConnectionDescription[] =
1889 "Permits the WebSocket handshake to keep the connection open after an "
1890 "authentication failure. The connection may be used for further requests "
1891 "to send credentials. This is sometimes needed for Windows authentication.";
1892
Brett Wilsonecb80982017-07-12 20:34:511893const char kWebvrName[] = "WebVR";
1894const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011895 "Enables access to experimental Virtual Reality functionality via the "
1896 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1897 "Device API. Warning: Enabling this will also allow WebVR content on "
1898 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221899 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511900
Brandon Jonese9d9b2b2017-12-11 22:20:111901const char kWebXrName[] = "WebXR Device API";
1902const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011903 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1904 "and Augmented Reality (AR) devices.";
1905
1906const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1907const char kWebXrGamepadSupportDescription[] =
1908 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221909 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1910 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431911
1912const char kWebXrHitTestName[] = "WebXR Hit Test";
1913const char kWebXrHitTestDescription[] =
1914 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111915
Anna Maria57ecf7592018-01-12 03:10:401916const char kWebXrOrientationSensorDeviceName[] =
1917 "WebXR orientation sensor device";
1918const char kWebXrOrientationSensorDeviceDescription[] =
1919 "When no VR platform device is available, expose a non-presenting device "
1920 "based on the device's orientation sensors, if available.";
1921
Brett Wilsonecb80982017-07-12 20:34:511922const char kWifiCredentialSyncName[] = "WiFi credential sync";
1923const char kWifiCredentialSyncDescription[] =
1924 "Enables synchronizing WiFi network settings across devices. When enabled, "
1925 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1926 "credentials are synchronized subject to user preferences. (See also, "
1927 "chrome://settings/syncSetup.)";
1928
1929const char kZeroCopyName[] = "Zero-copy rasterizer";
1930const char kZeroCopyDescription[] =
1931 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341932
Brett Wilsonff596952017-07-14 01:06:551933// Android ---------------------------------------------------------------------
1934
1935#if defined(OS_ANDROID)
1936
1937const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1938const char kAiaFetchingDescription[] =
1939 "Enable intermediate certificate fetching when a server does not provide "
1940 "sufficient certificates to build a chain to a trusted root.";
1941
1942const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1943const char kAccessibilityTabSwitcherDescription[] =
1944 "Enable the accessibility tab switcher for Android.";
1945
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251946const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1947const char kAllowReaderForAccessibilityDescription[] =
1948 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1949
Brett Wilsonff596952017-07-14 01:06:551950const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1951const char kAndroidAutofillAccessibilityDescription[] =
1952 "Enable accessibility for autofill popup.";
1953
1954const char kAndroidPaymentAppsName[] = "Android payment apps";
1955const char kAndroidPaymentAppsDescription[] =
1956 "Enable third party Android apps to integrate as payment apps";
1957
Miriam Gershenson8cf1397222018-01-23 22:48:291958const char kAsyncDnsName[] = "Async DNS resolver";
1959const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1960
Brett Wilsonff596952017-07-14 01:06:551961const char kAutofillAccessoryViewName[] =
1962 "Autofill suggestions as keyboard accessory view";
1963const char kAutofillAccessoryViewDescription[] =
1964 "Shows Autofill suggestions on top of the keyboard rather than in a "
1965 "dropdown.";
1966
1967const char kBackgroundLoaderForDownloadsName[] =
1968 "Enables background downloading of pages.";
1969const char kBackgroundLoaderForDownloadsDescription[] =
1970 "Enables downloading pages in the background in case page is not yet "
1971 "loaded in current tab.";
1972
Matthew Jones6c1f5e22018-02-06 18:19:531973const char kChromeDuplexName[] = "Chrome Duplex";
1974const char kChromeDuplexDescription[] =
1975 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051976
Brett Wilsonff596952017-07-14 01:06:551977const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1978const char kChromeHomeSwipeLogicDescription[] =
1979 "Various swipe logic options for Chrome Home for sheet expansion.";
1980const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151981const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551982
Matthew Jones5b7f1d62018-01-23 00:37:251983const char kChromeModernDesignName[] = "Chrome Modern Design";
1984const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451985 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1986 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251987
Megan Jablonskic61eb1b82017-10-02 18:03:061988const char kChromeMemexName[] = "Chrome Memex";
1989const char kChromeMemexDescription[] =
1990 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1991 "Googlers.";
1992
Sarath Singapati83aef1c2017-11-16 15:54:521993const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1994const char kClearOldBrowsingDataDescription[] =
1995 "Enables clearing of browsing data which is older than a given time "
1996 "period.";
1997
Brett Wilsonff596952017-07-14 01:06:551998const char kContentSuggestionsCategoryOrderName[] =
1999 "Default content suggestions category order (e.g. on NTP)";
2000const char kContentSuggestionsCategoryOrderDescription[] =
2001 "Set default order of content suggestion categories (e.g. on the NTP).";
2002
2003const char kContentSuggestionsCategoryRankerName[] =
2004 "Content suggestions category ranker (e.g. on NTP)";
2005const char kContentSuggestionsCategoryRankerDescription[] =
2006 "Set category ranker to order categories of content suggestions (e.g. on "
2007 "the NTP).";
2008
Vitalii Iarkof52ff802017-09-14 12:34:242009const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2010const char kContentSuggestionsDebugLogDescription[] =
2011 "Enable content suggestions debug log accessible through "
2012 "snippets-internals.";
2013
Donn Denman8e58ead2017-11-04 01:44:012014const char kContextualSearchMlTapSuppressionName[] =
2015 "Contextual Search ML tap suppression";
2016const char kContextualSearchMlTapSuppressionDescription[] =
2017 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022018 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2019 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552020
2021const char kContextualSearchName[] = "Contextual Search";
2022const char kContextualSearchDescription[] =
2023 "Whether or not Contextual Search is enabled.";
2024
Donn Denman59729812018-01-09 01:27:022025const char kContextualSearchRankerQueryName[] =
2026 "Contextual Search Ranker prediction";
2027const char kContextualSearchRankerQueryDescription[] =
2028 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2029
2030const char kContextualSearchSecondTapName[] =
2031 "Contextual Search second tap triggering";
2032const char kContextualSearchSecondTapDescription[] =
2033 "Enables triggering on a second tap gesture even when Ranker would "
2034 "normally suppress that tap.";
2035
Dmitry Skiba9c3efa72017-07-20 22:01:142036const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2037const char kDontPrefetchLibrariesDescription[] =
2038 "Don't prefetch libraries after loading.";
2039
Joy Ming5fd29ca62017-10-02 22:51:222040const char kDownloadsForegroundName[] = "Enable downloads foreground";
2041const char kDownloadsForegroundDescription[] =
2042 "Enable downloads as a foreground service for all versions of Android.";
2043
Joy Ming189b0cc2017-12-08 19:42:432044const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2045const char kDownloadsLocationChangeDescription[] =
2046 "Enable changing default downloads storage location on Android.";
2047
Shakti Sahu32b2ee102018-05-17 00:04:462048const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2049const char kDownloadProgressInfoBarDescription[] =
2050 "Enables an infobar notifying users about status of current downloads.";
2051
Brett Wilsonff596952017-07-14 01:06:552052const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2053const char kEnableAndroidPayIntegrationV1Description[] =
2054 "Enable integration with Android Pay using the first version of the API";
2055
2056const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2057const char kEnableAndroidPayIntegrationV2Description[] =
2058 "Enable integration with Android Pay using the second version of the API";
2059
Vitalii Iarkof4ed32d2017-09-26 13:15:532060const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552061const char kEnableAndroidSpellcheckerDescription[] =
2062 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552063
Lei Tianbd5a3bf2018-02-28 19:01:162064const char kEnableCommandLineOnNonRootedName[] =
2065 "Enable command line on non-rooted devices";
2066const char kEnableCommandLineOnNoRootedDescription[] =
2067 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2068
Vitalii Iarkof4ed32d2017-09-26 13:15:532069const char kEnableContentSuggestionsNewFaviconServerName[] =
2070 "Get favicons for content suggestions from a new server.";
2071const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2072 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2073 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552074
2075const char kEnableContentSuggestionsSettingsName[] =
2076 "Show content suggestions settings.";
2077const char kEnableContentSuggestionsSettingsDescription[] =
2078 "If enabled, the content suggestions settings will be available from the "
2079 "main settings menu.";
2080
Vitalii Iarkof4ed32d2017-09-26 13:15:532081const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2082 "Use content suggestions thumbnail dominant color.";
2083const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2084 "Use content suggestions thumbnail dominant color as a placeholder before "
2085 "the real thumbnail is fetched (requires Chrome Home).";
2086
Brett Wilsonff596952017-07-14 01:06:552087const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2088const char kEnableCustomContextMenuDescription[] =
2089 "Enables a new context menu when a link, image, or video is pressed within "
2090 "Chrome.";
2091
2092const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2093const char kEnableCustomFeedbackUiDescription[] =
2094 "Enables a custom feedback UI when submitting feedback through Google "
2095 "Feedback. Works with Google Play Services v10.2+";
2096
2097const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472098 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552099const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472100 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552101
Brett Wilsonff596952017-07-14 01:06:552102const char kEnableOmniboxClipboardProviderName[] =
2103 "Omnibox clipboard URL suggestions";
2104const char kEnableOmniboxClipboardProviderDescription[] =
2105 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2106 "focus in the omnibox.";
2107
Becky Zhoua7f11d62018-02-01 16:02:532108const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2109 "Show article suggestions expandable header on New Tab Page";
2110const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2111 "If enabled, the article suggestions content on New Tab Page can be "
2112 "toggled shown or hidden by clicking the expandable header.";
2113
Brett Wilsonff596952017-07-14 01:06:552114const char kEnableNtpAssetDownloadSuggestionsName[] =
2115 "Show asset downloads on the New Tab page";
2116const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2117 "If enabled, the list of content suggestions on the New Tab page will "
2118 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2119 "later use.";
2120
2121const char kEnableNtpBookmarkSuggestionsName[] =
2122 "Show recently visited bookmarks on the New Tab page";
2123const char kEnableNtpBookmarkSuggestionsDescription[] =
2124 "If enabled, the list of content suggestions on the New Tab page will "
2125 "contain recently visited bookmarks.";
2126
2127const char kEnableNtpForeignSessionsSuggestionsName[] =
2128 "Show recent foreign tabs on the New Tab page";
2129const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2130 "If enabled, the list of content suggestions on the New Tab page will "
2131 "contain recent foreign tabs.";
2132
Brett Wilsonff596952017-07-14 01:06:552133const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2134 "Show offline page downloads on the New Tab page";
2135const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2136 "If enabled, the list of content suggestions on the New Tab page will "
2137 "contain pages that the user downloaded for later use.";
2138
2139const char kEnableNtpRemoteSuggestionsName[] =
2140 "Show server-side suggestions on the New Tab page";
2141const char kEnableNtpRemoteSuggestionsDescription[] =
2142 "If enabled, the list of content suggestions on the New Tab page will "
2143 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2144 "allows to override the source used to retrieve these server-side "
2145 "suggestions.";
2146
2147const char kEnableNtpSnippetsVisibilityName[] =
2148 "Make New Tab Page Snippets more visible.";
2149const char kEnableNtpSnippetsVisibilityDescription[] =
2150 "If enabled, the NTP snippets will become more discoverable with a larger "
2151 "portion of the first card above the fold.";
2152
2153const char kEnableNtpSuggestionsNotificationsName[] =
2154 "Notify about new content suggestions available at the New Tab page";
2155const char kEnableNtpSuggestionsNotificationsDescription[] =
2156 "If enabled, notifications will inform about new content suggestions on "
2157 "the New Tab page.";
2158
Brett Wilsonff596952017-07-14 01:06:552159const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2160const char kEnableOfflinePreviewsDescription[] =
2161 "Enable showing offline page previews on slow networks.";
2162
2163const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2164const char kEnableOskOverscrollDescription[] =
2165 "Enable OSK overscroll support. With this flag on, the OSK will only "
2166 "resize the visual viewport.";
2167
2168const char kEnableSpecialLocaleName[] =
2169 "Enable custom logic for special locales.";
2170const char kEnableSpecialLocaleDescription[] =
2171 "Enable custom logic for special locales. In this mode, Chrome might "
2172 "behave differently in some locales.";
2173
Brett Wilsonff596952017-07-14 01:06:552174const char kEnableWebNfcName[] = "WebNFC";
2175const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2176
gogeraldf3cbb422017-07-26 14:37:122177const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2178 "Enable Web Payments method section order V2.";
2179const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2180 "Enable this option to display payment method section above address "
2181 "section instead of below it.";
2182
Raymes Khoury582b43132017-12-12 23:54:302183const char kGrantNotificationsToDSEName[] =
2184 "Grant notifications to the Default Search Engine";
2185const char kGrantNotificationsToDSENameDescription[] =
2186 "Automatically grant the notifications permission to the Default Search "
2187 "Engine";
2188
Daniel Parke74fcf862018-03-27 18:05:452189const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512190const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452191
Theresa920e0ed2018-03-07 18:12:442192const char kInterestFeedContentSuggestionsDescription[] =
2193 "Use the interest feed to render content suggestions. Currently content "
2194 "suggestions are shown on the New Tab Page.";
2195const char kInterestFeedContentSuggestionsName[] =
2196 "Interest Feed Content Suggestions";
2197
Brett Wilsonff596952017-07-14 01:06:552198const char kKeepPrefetchedContentSuggestionsName[] =
2199 "Keep prefetched content suggestions";
2200const char kKeepPrefetchedContentSuggestionsDescription[] =
2201 "If enabled, some of prefetched content suggestions are not replaced by "
2202 "the new fetched suggestions.";
2203
Leo Zhang051b75482017-12-20 03:28:302204const char kLanguagesPreferenceName[] = "Language Settings";
2205const char kLanguagesPreferenceDescription[] =
2206 "Enable this option for Language Settings feature on Android.";
2207
Brett Wilsonff596952017-07-14 01:06:552208const char kLsdPermissionPromptName[] =
2209 "Location Settings Dialog Permission Prompt";
2210const char kLsdPermissionPromptDescription[] =
2211 "Whether to use the Google Play Services Location Settings Dialog "
2212 "permission dialog.";
2213
Amirhossein Simjour97b4154f2018-02-20 03:49:592214const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2215const char kModalPermissionDialogViewDescription[] =
2216 "Enable this option to use ModalDialogManager for permission Dialogs.";
2217
Brett Wilsonff596952017-07-14 01:06:552218const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2219const char kMediaScreenCaptureDescription[] =
2220 "Enable this option for experimental ScreenCapture feature on Android.";
2221
2222const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2223const char kModalPermissionPromptsDescription[] =
2224 "Whether to use permission dialogs in place of permission infobars.";
2225
Brett Wilsonff596952017-07-14 01:06:552226const char kNewPhotoPickerName[] = "Enable new Photopicker";
2227const char kNewPhotoPickerDescription[] =
2228 "Activates the new picker for selecting photos.";
2229
2230const char kNoCreditCardAbort[] = "No Credit Card Abort";
2231const char kNoCreditCardAbortDescription[] =
2232 "Whether or not the No Credit Card Abort is enabled.";
2233
Daniel Park990d0992018-05-18 22:12:512234const char kNtpButtonName[] = "Enable NTP Button";
2235const char kNtpButtonDescription[] =
2236 "Displays a New Tab Page button in the toolbar if enabled.";
2237
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062238const char kNtpModernLayoutName[] = "Modern NTP layout";
2239const char kNtpModernLayoutDescription[] =
2240 "Show a modern layout on the New Tab Page.";
2241
Brett Wilsonff596952017-07-14 01:06:552242const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2243const char kNtpGoogleGInOmniboxDescription[] =
2244 "Show a Google G in the omnibox on the New Tab Page.";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2247const char kOfflineBookmarksDescription[] =
2248 "Enable saving bookmarked pages for offline viewing.";
2249
Brett Wilsonff596952017-07-14 01:06:552250const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2251const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2252
2253const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2254const char kOfflinePagesCtV2Description[] =
2255 "V2 features include attributing pages to the app that initiated the "
2256 "custom tabs, and being able to query for pages by page attribution.";
2257
Cathy Li7311d792018-04-05 00:34:162258const char kOfflinePagesCTSuppressNotificationsName[] =
2259 "Disable download complete notification for whitelisted CCT apps.";
2260const char kOfflinePagesCTSuppressNotificationsDescription[] =
2261 "Disable download complete notification for page downloads originating "
2262 "from a CCT app whitelisted to show their own download complete "
2263 "notification.";
2264
Candice Sy74fa7a352018-03-30 23:46:492265const char kOfflinePagesDescriptiveFailStatusName[] =
2266 "Enables descriptive failed download status text.";
2267const char kOfflinePagesDescriptiveFailStatusDescription[] =
2268 "Enables failed download status text in notifications and Downloads Home "
2269 "to state the reason the request failed if the failure is actionable.";
2270
2271const char kOfflinePagesDescriptivePendingStatusName[] =
2272 "Enables descriptive pending download status text.";
2273const char kOfflinePagesDescriptivePendingStatusDescription[] =
2274 "Enables pending download status text in notifications and Downloads Home "
2275 "to state the reason the request is pending.";
2276
2277const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2278 "Enables offline pages in the downloads home to be opened in CCT.";
2279const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2280 "When enabled offline pages launched from the Downloads Home will be "
2281 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2282
Carlos Knippschild09272ecd2017-12-09 03:29:362283const char kOfflinePagesLimitlessPrefetchingName[] =
2284 "Removes resource usage limits for the prefetching of offline pages.";
2285const char kOfflinePagesLimitlessPrefetchingDescription[] =
2286 "Allows the prefetching of suggested offline pages to ignore resource "
2287 "usage limits. This allows it to completely ignore data usage limitations "
2288 "and allows downloads to happen with any kind of connection.";
2289
Brett Wilsonff596952017-07-14 01:06:552290const char kOfflinePagesLoadSignalCollectingName[] =
2291 "Enables collecting load timing data for offline page snapshots.";
2292const char kOfflinePagesLoadSignalCollectingDescription[] =
2293 "Enables loading completeness data collection while writing an offline "
2294 "page. This data is collected in the snapshotted offline page to allow "
2295 "data analysis to improve deciding when to make the offline snapshot.";
2296
2297const char kOfflinePagesPrefetchingName[] =
2298 "Enables suggested offline pages to be prefetched.";
2299const char kOfflinePagesPrefetchingDescription[] =
2300 "Enables suggested offline pages to be prefetched, so useful content is "
2301 "available while offline.";
2302
Cathy Li3d5379e2017-09-07 00:11:092303const char kOfflinePagesPrefetchingUIName[] =
2304 "Enables prefetched offline pages to be shown in UI.";
2305const char kOfflinePagesPrefetchingUIDescription[] =
2306 "Enables prefetched offline pages to raise notifications and be shown in "
2307 "download home UI.";
2308
Pete Williamson7845dff2017-09-20 11:06:192309const char kOfflinePagesResourceBasedSnapshotName[] =
2310 "Enables offline page snapshots to be based on percentage of page loaded.";
2311const char kOfflinePagesResourceBasedSnapshotDescription[] =
2312 "Enables offline page snapshots to use a resource percentage based "
2313 "approach for determining when the page is loaded as opposed to a time "
2314 "based approach";
2315
Collin Baker17f92a52017-07-19 21:41:252316const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2317const char kOfflinePagesRenovationsDescription[] =
2318 "Enables offline page renovations which correct issues with dynamic "
2319 "content that occur when offlining pages that use JavaScript.";
2320
Brett Wilsonff596952017-07-14 01:06:552321const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2322const char kOfflinePagesSharingDescription[] =
2323 "Enables the saved offline pages to be shared via other applications.";
2324
Cathy Lie0d88762018-04-12 08:03:012325const char kOfflinePagesShowAlternateDinoPageName[] =
2326 "Enable alternate dino page with more user capabilities.";
2327const char kOfflinePagesShowAlternateDinoPageDescription[] =
2328 "Enables the dino page to show more buttons and offer existing offline "
2329 "content.";
2330
Brett Wilsonff596952017-07-14 01:06:552331const char kOfflinePagesSvelteConcurrentLoadingName[] =
2332 "Enables concurrent background loading on svelte.";
2333const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2334 "Enables concurrent background loading (or downloading) of pages on "
2335 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2336 "happen when the svelte device is idle.";
2337
2338const char kOffliningRecentPagesName[] =
2339 "Enable offlining of recently visited pages";
2340const char kOffliningRecentPagesDescription[] =
2341 "Enable storing recently visited pages locally for offline use. Requires "
2342 "Offline Pages to be enabled.";
2343
Lei Zhang2eca9082017-10-17 20:42:502344const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2345const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552346 "Enable Pay with Google integration into Web Payments with API version "
2347 "'1'.";
2348
Matthew Jonesa88b95852017-11-08 23:13:502349const char kProgressBarThrottleName[] = "Android progress update throttling.";
2350const char kProgressBarThrottleDescription[] =
2351 "Limit the maximum progress update to make progress appear smoother.";
2352
Brett Wilsonff596952017-07-14 01:06:552353const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2354const char kPullToRefreshEffectDescription[] =
2355 "Page reloads triggered by vertically overscrolling content.";
2356
Piotr Swigon7c296ef2017-08-29 04:32:002357const char kPwaImprovedSplashScreenName[] =
2358 "Improved Splash Screen for standalone PWAs";
2359const char kPwaImprovedSplashScreenDescription[] =
2360 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2361 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492362const char kPwaPersistentNotificationName[] =
2363 "Persistent notification in standalone PWA";
2364const char kPwaPersistentNotificationDescription[] =
2365 "Enables a persistent Android notification for standalone PWAs";
2366
Brett Wilsonff596952017-07-14 01:06:552367const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2368const char kReaderModeHeuristicsDescription[] =
2369 "Determines what pages the Reader Mode infobar is shown on.";
2370const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2371const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2372const char kReaderModeHeuristicsAllArticles[] = "All articles";
2373const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2374const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2375
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182376const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2377const char kReaderModeInCCTDescription[] =
2378 "Open Reader Mode in Chrome Custom Tabs.";
2379
Brett Wilsonff596952017-07-14 01:06:552380const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2381const char kSetMarketUrlForTestingDescription[] =
2382 "When enabled, sets the market URL for use in testing the update menu "
2383 "item.";
2384
2385const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2386const char kSpannableInlineAutocompleteDescription[] =
2387 "A new type of inline autocomplete for the omnibox that works with "
2388 "keyboards that compose text.";
2389
Theresaeea05a12018-05-09 21:01:592390const char kSimplifiedNtpName[] = "Simplified NTP";
2391const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2392
2393const char kSiteExplorationUiName[] = "Site Exploration UI";
2394const char kSiteExplorationUiDescription[] =
2395 "Show site suggestions in the Exploration UI";
2396
Brett Wilsonff596952017-07-14 01:06:552397const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2398const char kUpdateMenuBadgeDescription[] =
2399 "When enabled, an update badge will be shown on the app menu button.";
2400
2401const char kUpdateMenuItemCustomSummaryDescription[] =
2402 "When this flag and the force show update menu item flag are enabled, a "
2403 "custom summary string will be displayed below the update menu item.";
2404const char kUpdateMenuItemCustomSummaryName[] =
2405 "Update menu item custom summary";
2406
2407const char kUpdateMenuItemName[] = "Force show update menu item";
2408const char kUpdateMenuItemDescription[] =
2409 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2410 R"*(menu.)*";
2411
Amirhossein Simjourd78bbcf2018-02-02 16:23:392412const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2413const char kVrBrowsingNativeAndroidUiDescription[] =
2414 "Enable Android UI elements in VR.";
2415
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462416const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2417const char kVrBrowsingTabsViewDescription[] =
2418 "Enable tab overview (tab switcher) in VR.";
2419
Marc Treib93af46a2017-08-23 13:30:002420const char kThirdPartyDoodlesName[] =
2421 "Enable Doodles for third-party search engines";
2422const char kThirdPartyDoodlesDescription[] =
2423 "Enables fetching and displaying Doodles on the NTP for third-party search "
2424 "engines.";
2425
Klaus Weidneraaf697f2018-01-18 20:07:362426const char kWebXrRenderPathName[] = "WebXR presentation render path";
2427const char kWebXrRenderPathDescription[] =
2428 "Render path to use for WebXR presentation (including WebVR)";
2429const char kWebXrRenderPathChoiceClientWaitDescription[] =
2430 "ClientWait (Baseline)";
2431const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2432 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072433const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2434 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362435
Brett Wilson7b44537e2017-08-18 01:38:282436// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552437
Brett Wilson7b44537e2017-08-18 01:38:282438#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482439
Brett Wilson7b44537e2017-08-18 01:38:282440const char kAccountConsistencyName[] =
2441 "Identity consistency between browser and cookie jar";
2442const char kAccountConsistencyDescription[] =
2443 "When enabled, the browser manages signing in and out of Google accounts.";
2444const char kAccountConsistencyChoiceMirror[] = "Mirror";
2445const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342446
Chris Pickel3a227ae62017-08-24 10:47:262447const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2448const char kDoodlesOnLocalNtpDescription[] =
2449 "Show doodles on the local New Tab page if Google is the default search "
2450 "engine.";
2451
mlamouriff56c092017-05-11 15:31:392452const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392453const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342454 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392455const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392456const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392457const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342458 "Enabled (Flash lowers volume when interrupted by other sound, "
2459 "experimental)";
2460
Brett Wilson7b44537e2017-08-18 01:38:282461const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2462const char kEnableNewAppMenuIconDescription[] =
2463 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342464
Dave Schuyler598a4a42018-01-04 02:15:102465const char kOmniboxRichEntitySuggestionsName[] =
2466 "Omnibox rich entity suggestions";
2467const char kOmniboxRichEntitySuggestionsDescription[] =
2468 "Display entity suggestions using images and an enhanced layout; showing "
2469 "more context and descriptive text about the entity";
2470
Dave Schuyler616273d2018-04-19 03:12:522471const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2472const char kOmniboxNewAnswerLayoutDescription[] =
2473 "Display answers using an enhanced layout with larger images";
2474
Kevin Bailey898669972017-11-06 15:34:492475const char kOmniboxTabSwitchSuggestionsName[] =
2476 "Omnibox tab switch suggestions";
2477const char kOmniboxTabSwitchSuggestionsDescription[] =
2478 "Enable suggestions for switching to open tabs within the Omnibox.";
2479
krbcc621412017-06-01 19:40:282480const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2481const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192482 "Enable receiving tail suggestions, a type of search suggestion based on "
2483 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342484
Brett Wilson7b44537e2017-08-18 01:38:282485const char kOneGoogleBarOnLocalNtpName[] =
2486 "Enable the OneGoogleBar on the local NTP";
2487const char kOneGoogleBarOnLocalNtpDescription[] =
2488 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2489 "search engine.";
2490
Brett Wilson7b44537e2017-08-18 01:38:282491const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2492const char kUseGoogleLocalNtpDescription[] =
2493 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322494
Brett Wilson7b44537e2017-08-18 01:38:282495const char kVoiceSearchOnLocalNtpName[] =
2496 "Enable Voice Search on the local NTP";
2497const char kVoiceSearchOnLocalNtpDescription[] =
2498 "Show a microphone for voice search on the local New Tab page "
2499 "if Google is the default search engine.";
2500
Balazs Engedy00c5cea2018-03-30 15:36:392501const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422502const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392503 "Enable Web Authentication API support";
2504
2505const char kEnableWebAuthenticationTestingAPIName[] =
2506 "Web Authentication Testing API";
2507const char kEnableWebAuthenticationTestingAPIDescription[] =
2508 "Enable Web Authentication Testing API support, which disconnects the API "
2509 "implementation from the real world, and allows configuring virtual "
2510 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422511
Brett Wilson7b44537e2017-08-18 01:38:282512#if defined(GOOGLE_CHROME_BUILD)
2513
2514const char kGoogleBrandedContextMenuName[] =
2515 "Google branding in the context menu";
2516const char kGoogleBrandedContextMenuDescription[] =
2517 "Shows a Google icon next to context menu items powered by Google "
2518 "services.";
2519
2520#endif // !defined(GOOGLE_CHROME_BUILD)
2521
2522#endif // !defined(OS_ANDROID)
2523
2524// Windows ---------------------------------------------------------------------
2525
2526#if defined(OS_WIN)
2527
2528const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2529const char kCloudPrintXpsDescription[] =
2530 "XPS enables advanced options for classic printers connected to the Cloud "
2531 "Print with Chrome. Printers must be re-connected after changing this "
2532 "flag.";
2533
Dave Tapuskadd43469d2017-08-22 22:15:532534const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2535const char kDirectManipulationStylusDescription[] =
2536 "If enabled, Chrome will scroll web pages on stylus drag.";
2537
Brett Wilson7b44537e2017-08-18 01:38:282538const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2539const char kDisablePostscriptPrintingDescription[] =
2540 "Disables PostScript generation when printing to PostScript capable "
2541 "printers, and uses EMF generation in its place.";
2542
2543const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2544const char kEnableAppcontainerDescription[] =
2545 "Enables the use of an AppContainer on sandboxed processes to improve "
2546 "security.";
2547
2548const char kEnableD3DVsync[] = "D3D v-sync";
2549const char kEnableD3DVsyncDescription[] =
2550 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2551 "to occur.";
2552
2553const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2554const char kEnableDesktopIosPromotionsDescription[] =
2555 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2556 "eligible.";
2557
James Forshawfd0ce342018-02-14 09:55:392558const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2559const char kEnableGpuAppcontainerDescription[] =
2560 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2561 "improve security.";
2562
Brett Wilson7b44537e2017-08-18 01:38:282563const char kGdiTextPrinting[] = "GDI Text Printing";
2564const char kGdiTextPrintingDescription[] =
2565 "Use GDI to print text as simply text";
2566
Henrik Grunell67e56ef2018-04-10 14:04:092567const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2568const char kIncreaseInputAudioBufferSizeDescription[] =
2569 "Increases the input audio endpoint buffer to 100 ms.";
2570
Brett Wilson7b44537e2017-08-18 01:38:282571const char kTraceExportEventsToEtwName[] =
2572 "Enable exporting of tracing events to ETW.";
2573const char kTraceExportEventsToEtwDesription[] =
2574 "If enabled, trace events will be exported to the Event Tracing for "
2575 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2576 "Xperf.";
2577
2578const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2579const char kUseWinrtMidiApiDescription[] =
2580 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2581 "later).";
2582
2583const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2584const char kWindows10CustomTitlebarDescription[] =
2585 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2586 "deferring to Windows.";
2587
2588#endif // defined(OS_WIN)
2589
2590// Mac -------------------------------------------------------------------------
2591
2592#if defined(OS_MACOSX)
2593
Brett Wilson7b44537e2017-08-18 01:38:282594const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2595const char kAppWindowCyclingDescription[] =
2596 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2597 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2598 "browser window, and browser windows will not be cycled when a Chrome App "
2599 "is active.";
2600
Brett Wilson7b44537e2017-08-18 01:38:282601const char kFullscreenToolbarRevealName[] =
2602 "Enables the toolbar in fullscreen to reveal itself.";
2603const char kFullscreenToolbarRevealDescription[] =
2604 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2605 "has changed.";
2606
2607const char kContentFullscreenName[] = "Improved Content Fullscreen";
2608const char kContentFullscreenDescription[] =
2609 "Fullscreen content window detaches from main browser window and goes to "
2610 "a new space without moving or changing the original browser window.";
2611
Lei Zhang2eca9082017-10-17 20:42:502612const char kDialogTouchBarName[] = "Dialog Touch Bar";
2613const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282614 "Shows Dialog buttons on the Touch Bar.";
2615
2616const char kHostedAppsInWindowsName[] =
2617 "Allow hosted apps to be opened in windows";
2618const char kHostedAppsInWindowsDescription[] =
2619 "Allows hosted apps to be opened in windows instead of being limited to "
2620 "tabs.";
2621
Lei Zhang2eca9082017-10-17 20:42:502622const char kMacRTLName[] = "Enable RTL";
2623const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282624
Lei Zhang2eca9082017-10-17 20:42:502625const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2626const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522627 "Enables sharing via macOS share extensions.";
2628
Lei Zhang2eca9082017-10-17 20:42:502629const char kMacTouchBarName[] = "Hardware Touch Bar";
2630const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282631
2632const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2633const char kMacV2SandboxDescription[] =
2634 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2635 "entire life cycle.";
2636
2637const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2638const char kMacViewsNativeAppWindowsDescription[] =
2639 "Controls whether to use Toolkit-Views based Chrome App windows.";
2640
2641const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2642const char kMacViewsTaskManagerDescription[] =
2643 "Controls whether to use the Toolkit-Views based Task Manager.";
2644
2645const char kTabDetachingInFullscreenName[] =
2646 "Allow tab detaching in fullscreen";
2647const char kTabDetachingInFullscreenDescription[] =
2648 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2649
2650const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2651const char kTabStripKeyboardFocusDescription[] =
2652 "Enable keyboard focus for the tabs in the tab strip.";
2653
Brett Wilson7b44537e2017-08-18 01:38:282654#endif
2655
2656// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342657
2658#if defined(OS_CHROMEOS)
2659
Brett Wilson7b44537e2017-08-18 01:38:282660const char kAcceleratedMjpegDecodeName[] =
2661 "Hardware-accelerated mjpeg decode for captured frame";
2662const char kAcceleratedMjpegDecodeDescription[] =
2663 "Enable hardware-accelerated mjpeg decode for captured frame where "
2664 "available.";
vabr0215a8e2017-03-28 12:47:342665
Brett Wilson7b44537e2017-08-18 01:38:282666const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2667const char kAllowTouchpadThreeFingerClickDescription[] =
2668 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kArcBootCompleted[] = "Load Android apps automatically";
2671const char kArcBootCompletedDescription[] =
2672 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342673
Lev Rumyantsev7a8544312017-08-18 19:26:512674const char kArcNativeBridgeExperimentName[] =
2675 "Enable native bridge experiment for ARC";
2676const char kArcNativeBridgeExperimentDescription[] =
2677 "Enables experimental native bridge feature.";
2678
lgchengecd1c1a62018-01-09 02:59:462679const char kArcUsbHostName[] = "Enable ARC USB host integration";
2680const char kArcUsbHostDescription[] =
2681 "Allow Android apps to use USB host feature on ChromeOS devices.";
2682
Kevin Cernekeeb7f96a52017-10-25 17:40:182683const char kArcVpnName[] = "Enable ARC VPN integration";
2684const char kArcVpnDescription[] =
2685 "Allow Android VPN clients to tunnel Chrome traffic.";
2686
Qiang Xu045aff222018-05-21 23:21:012687const char kAshDisableLoginDimAndBlurName[] =
2688 "Disable dimming and blur on login screen.";
2689const char kAshDisableLoginDimAndBlurDescription[] =
2690 "Disable dimming and blur on login screen.";
2691
2692const char kAshDisableSmoothScreenRotationName[] =
2693 "Disable smooth rotation animations.";
2694const char kAshDisableSmoothScreenRotationDescription[] =
2695 "Disable smooth rotation animations.";
2696
2697const char kAshEnableDisplayMoveWindowAccelsName[] =
2698 "Enable shortcuts for moving window between displays.";
2699const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2700 "Enable shortcuts for moving window between displays.";
2701
2702const char kAshEnableKeyboardShortcutViewerName[] =
2703 "Enable keyboard shortcut viewer.";
2704const char kAshEnableKeyboardShortcutViewerDescription[] =
2705 "Enable keyboard shortcut viewer.";
2706
2707const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2708const char kAshEnableMirroredScreenDescription[] =
2709 "Enable the mirrored screen mode. This mode flips the screen image "
2710 "horizontally.";
2711
2712const char kAshEnableNewOverviewAnimationsName[] =
2713 "Enable new overview animations.";
2714const char kAshEnableNewOverviewAnimationsDescription[] =
2715 "Enables the new overview mode animations.";
2716
2717const char kAshEnablePersistentWindowBoundsName[] =
2718 "Enable persistent window bounds in multi-displays scenario.";
2719const char kAshEnablePersistentWindowBoundsDescription[] =
2720 "Enable persistent window bounds in multi-displays scenario.";
2721
2722const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2723const char kAshEnableTrilinearFilteringDescription[] =
2724 "Enable trilinear filtering.";
2725
Brett Wilson7b44537e2017-08-18 01:38:282726const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2727const char kAshEnableUnifiedDesktopDescription[] =
2728 "Enable unified desktop mode which allows a window to span multiple "
2729 "displays.";
vabr0215a8e2017-03-28 12:47:342730
Qiang Xu045aff222018-05-21 23:21:012731const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2732const char kAshShelfColorDescription[] =
2733 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2734 "--ash-shelf-color-scheme flag defines how that color is derived.";
2735
2736const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2737const char kAshShelfColorSchemeDescription[] =
2738 "Specify how the color is derived from the wallpaper. This flag is only "
2739 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2740const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2741const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2742const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2743const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2744const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2745const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2746
Sean Kau5e956192017-10-06 22:25:172747const char kBulkPrintersName[] = "Bulk Printers Policy";
2748const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2749
Brett Wilson7b44537e2017-08-18 01:38:282750const char kCaptivePortalBypassProxyName[] =
2751 "Bypass proxy for Captive Portal Authorization";
2752const char kCaptivePortalBypassProxyDescription[] =
2753 "If proxy is configured, it usually prevents from authorization on "
2754 "different captive portals. This enables opening captive portal "
2755 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342756
Brett Wilson7b44537e2017-08-18 01:38:282757const char kCrOSComponentName[] = "Chrome OS Component";
2758const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082759 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342760
Xiaochu Liu51d03fd2017-09-08 23:51:022761const char kCrOSContainerName[] = "Chrome OS Container";
2762const char kCrOSContainerDescription[] =
2763 "Enable the use of Chrome OS Container utility.";
2764
Brett Wilson7b44537e2017-08-18 01:38:282765const char kCrosRegionsModeName[] = "Cros-regions load mode";
2766const char kCrosRegionsModeDescription[] =
2767 "This flag controls cros-regions load mode";
2768const char kCrosRegionsModeDefault[] = "Default";
2769const char kCrosRegionsModeOverride[] = "Override VPD values.";
2770const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342771
Jacob Dufault2becbc482017-08-25 00:36:352772const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2773const char kDisableLockScreenAppsDescription[] =
2774 "Disable new-note action handler apps on the lock screen. The user will "
2775 "not be able to launch the preferred note-taking action from the lock "
2776 "screen, provided that the app supports lock screen note taking.";
2777
Qiang Xu045aff222018-05-21 23:21:012778const char kDisableNetworkSettingsConfigName[] =
2779 "Disable Settings based Network Configuration";
2780const char kDisableNetworkSettingsConfigDescription[] =
2781 "Disables the Settings based network configuration UI and restores the "
2782 "Views based configuration dialog.";
2783
2784const char kDisableSystemTimezoneAutomaticDetectionName[] =
2785 "SystemTimezoneAutomaticDetection policy support";
2786const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2787 "Disable system timezone automatic detection device policy.";
2788
Sammie Quonef6b4882017-09-14 16:50:052789const char kDisableTabletAutohideTitlebarsName[] =
2790 "Disable autohide titlebars in tablet mode";
2791const char kDisableTabletAutohideTitlebarsDescription[] =
2792 "Disable tablet mode autohide titlebars functionality. The user will be "
2793 "able to see the titlebar in tablet mode.";
2794
Xiaoqian Dai24b33eb2018-04-10 21:01:572795const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2796const char kDisableTabletSplitViewDescription[] =
2797 "Disable split view for Chrome OS tablet mode.";
2798
Qiang Xu53d1a5832018-05-24 18:44:192799const char kEnableAppShortcutSearchName[] =
2800 "Enable app shortcut search in launcher";
2801const char kEnableAppShortcutSearchDescription[] =
2802 "Enables app shortcut search in launcher";
2803
Lei Zhang2eca9082017-10-17 20:42:502804const char kEnableBackgroundBlurName[] = "Enable background blur.";
2805const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422806 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392807
Brett Wilson7b44537e2017-08-18 01:38:282808const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2809const char kEnableChromevoxArcSupportDescription[] =
2810 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342811
F#m75862c92018-01-25 19:10:472812const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2813const char kEnableDisplayZoomSettingDescription[] =
2814 "Allows the user to modify the display size or zoom via the chrome display "
2815 "settings page.";
2816
Xiaoqian Dai82d99192018-05-25 18:51:352817const char kEnableDragTabsInTabletModeName[] =
2818 "Enable dragging tabs in tablet mode";
2819const char kEnableDragTabsInTabletModeDescription[] =
2820 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2821
Brett Wilson7b44537e2017-08-18 01:38:282822const char kEnableEhvInputName[] =
2823 "Emoji, handwriting and voice input on opt-in IME menu";
2824const char kEnableEhvInputDescription[] =
2825 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342826
Brett Wilson7b44537e2017-08-18 01:38:282827const char kEnableEncryptionMigrationName[] =
2828 "Enable encryption migration of user data";
2829const char kEnableEncryptionMigrationDescription[] =
2830 "If enabled and the device supports ARC, the user will be asked to update "
2831 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342832
Blake O'Hare9e9317b22017-10-24 02:49:352833const char kEnableFloatingVirtualKeyboardName[] =
2834 "Enable floating virtual keyboard";
2835const char kEnableFloatingVirtualKeyboardDescription[] =
2836 "If enabled, the keyboard will use floating behavior by default.";
2837
Qiang Xu045aff222018-05-21 23:21:012838const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2839 "Enable full screen handwriting virtual keyboard";
2840const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2841 "If enabled, the handwriting virtual keyboard will allow user to write "
2842 "anywhere on the screen";
2843
2844const char kEnableHomeLauncherName[] = "Enable home launcher";
2845const char kEnableHomeLauncherDescription[] =
2846 "Enable home launcher in tablet mode.";
2847
Brett Wilson7b44537e2017-08-18 01:38:282848const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2849const char kEnableImeMenuDescription[] =
2850 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342851
Qiang Xu045aff222018-05-21 23:21:012852const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2853const char kEnableNewWallpaperPickerDescription[] =
2854 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2855
2856const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2857const char kEnablePerUserTimezoneDescription[] =
2858 "Chrome OS system timezone preference is stored and handled for each user "
2859 "individually.";
2860
2861const char kEnableSettingsShortcutSearchName[] =
2862 "Enable Settings shortcut search";
2863const char kEnableSettingsShortcutSearchDescription[] =
2864 "Enable Settings shortcut search in launcher.";
2865
Darren Shen3e49c63d2018-03-28 04:45:502866const char kEnableStylusVirtualKeyboardName[] =
2867 "Enable stylus virtual keyboard";
2868const char kEnableStylusVirtualKeyboardDescription[] =
2869 "If enabled, tapping with a stylus will show the handwriting virtual "
2870 "keyboard.";
2871
Jordy Greenblatt2f23df22018-02-22 19:49:192872const char kEnableUnifiedMultiDeviceSettingsName[] =
2873 "Enable unified MultiDevice settings";
2874const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2875 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2876 "MultiDevice settings.";
2877
2878const char kEnableUnifiedMultiDeviceSetupName[] =
2879 "Enable unified MultiDevice setup";
2880const char kEnableUnifiedMultiDeviceSetupDescription[] =
2881 "Enable the device to setup all MultiDevice services in a single workflow.";
2882
Klemen Kozjek05fc4512017-10-18 12:51:102883const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2884const char kEnableZipArchiverPackerDescription[] =
2885 "Enable the ability to archive files on Drive in the Files app";
2886
Brett Wilson7b44537e2017-08-18 01:38:282887const char kEolNotificationName[] = "Disable Device End of Life notification.";
2888const char kEolNotificationDescription[] =
2889 "Disable Notifcation when Device is End of Life.";
2890
2891const char kExperimentalAccessibilityFeaturesName[] =
2892 "Experimental accessibility features";
2893const char kExperimentalAccessibilityFeaturesDescription[] =
2894 "Enable additional accessibility features in the Settings page.";
2895
2896const char kExperimentalInputViewFeaturesName[] =
2897 "Experimental input view features";
2898const char kExperimentalInputViewFeaturesDescription[] =
2899 "Enable experimental features for IME input views.";
2900
2901const char kFileManagerTouchModeName[] = "Files App. touch mode";
2902const char kFileManagerTouchModeDescription[] =
2903 "Touchscreen-specific interactions of the Files app.";
2904
2905const char kFirstRunUiTransitionsName[] =
2906 "Animated transitions in the first-run tutorial";
2907const char kFirstRunUiTransitionsDescription[] =
2908 "Transitions during first-run tutorial are animated.";
2909
Brett Wilson7b44537e2017-08-18 01:38:282910const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2911const char kForceEnableStylusToolsDescription[] =
2912 "Forces display of the stylus tools menu in the shelf and the stylus "
2913 "section in settings, even if there is no attached stylus device.";
2914
2915const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2916const char kGestureEditingDescription[] =
2917 "Enable/Disable gesture editing option in the settings page for the "
2918 "virtual keyboard.";
2919
2920const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2921const char kGestureTypingDescription[] =
2922 "Enable/Disable gesture typing option in the settings page for the virtual "
2923 "keyboard.";
2924
2925const char kInputViewName[] = "Input views";
2926const char kInputViewDescription[] =
2927 "Enable IME extensions to supply custom views for user input such as "
2928 "virtual keyboards.";
2929
Megumi Hattori5a0d4182018-03-06 11:09:502930const char kLockScreenNotificationName[] = "Lock screen notification";
2931const char kLockScreenNotificationDescription[] =
2932 "Enable notifications on the lock screen.";
2933
Qiang Xu045aff222018-05-21 23:21:012934const char kMaterialDesignInkDropAnimationSpeedName[] =
2935 "Material design ink drop animation speed";
2936const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2937 "Sets the speed of the experimental visual feedback animations for "
2938 "material design.";
2939const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2940const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2941
Brett Wilson7b44537e2017-08-18 01:38:282942const char kMemoryPressureThresholdName[] =
2943 "Memory discard strategy for advanced pressure handling";
2944const char kMemoryPressureThresholdDescription[] =
2945 "Memory discarding strategy to use";
2946const char kConservativeThresholds[] =
2947 "Conservative memory pressure release strategy";
2948const char kAggressiveCacheDiscardThresholds[] =
2949 "Aggressive cache release strategy";
2950const char kAggressiveTabDiscardThresholds[] =
2951 "Aggressive tab release strategy";
2952const char kAggressiveThresholds[] =
2953 "Aggressive tab and cache release strategy";
2954
2955const char kMtpWriteSupportName[] = "MTP write support";
2956const char kMtpWriteSupportDescription[] =
2957 "MTP write support in File System API (and file manager). In-place editing "
2958 "operations are not supported.";
2959
2960const char kMultideviceName[] = "Enable multidevice features";
2961const char kMultideviceDescription[] =
2962 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342963
Kyle Horimoto027590fb2018-02-13 22:19:482964const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2965const char kMultiDeviceApiDescription[] =
2966 "Enable Mojo-based API which provides synced device metadata and the "
2967 "ability to connect to other devices associated the logged-in Google "
2968 "account.";
2969
Bailey Berrodca8eeca02017-11-18 00:49:122970const char kNativeSmbName[] = "Native Smb Client";
2971const char kNativeSmbDescription[] =
2972 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302973
vabr0215a8e2017-03-28 12:47:342974const char kNetworkPortalNotificationName[] =
2975 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342976const char kNetworkPortalNotificationDescription[] =
2977 "If enabled, notification is displayed when device is connected to a "
2978 "network behind captive portal.";
2979
Brett Wilson7b44537e2017-08-18 01:38:282980const char kNewKoreanImeName[] = "New Korean IME";
2981const char kNewKoreanImeDescription[] =
2982 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342983
Brett Wilson7b44537e2017-08-18 01:38:282984const char kNewZipUnpackerName[] = "New ZIP unpacker";
2985const char kNewZipUnpackerDescription[] =
2986 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342987
Qiang Xu045aff222018-05-21 23:21:012988const char kOfficeEditingComponentAppName[] =
2989 "Office Editing for Docs, Sheets & Slides";
2990const char kOfficeEditingComponentAppDescription[] =
2991 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2992
Brett Wilson7b44537e2017-08-18 01:38:282993const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2994const char kPhysicalKeyboardAutocorrectDescription[] =
2995 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2996 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342997
2998const char kPrinterProviderSearchAppName[] =
2999 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343000const char kPrinterProviderSearchAppDescription[] =
3001 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193002 "searches Chrome Web Store for extensions that support printing to a USB "
3003 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343004
Brett Wilson7b44537e2017-08-18 01:38:283005const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3006const char kQuickUnlockPinDescription[] =
3007 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3008 "device on the lock screen after you have signed into your device.";
3009const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3010const char kQuickUnlockPinSigninDescription[] =
3011 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3012 "device. After changing this flag PIN needs to be set up again.";
3013const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3014const char kQuickUnlockFingerprintDescription[] =
3015 "Enabling fingerprint quick unlock allows you to setup and use a "
3016 "fingerprint to unlock your Chromebook on the lock screen after you have "
3017 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343018
James Cook0ba192bf2017-12-01 20:53:113019const char kShowTapsName[] = "Show taps";
3020const char kShowTapsDescription[] =
3021 "Draws a circle at each touch point, which makes touch points more obvious "
3022 "when projecting or mirroring the display. Similar to the Android OS "
3023 "developer option.";
3024
3025const char kShowTouchHudName[] = "Show HUD for touch points";
3026const char kShowTouchHudDescription[] =
3027 "Shows a trail of colored dots for the last few touch points. Pressing "
3028 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3029 "debug hardware issues that generate spurious touch events.";
3030
Chung-Sheng Wu468b0b32017-09-01 14:41:573031const char kSysInternalsName[] = "Enable Sys-Internals";
3032const char kSysInternalsDescription[] =
3033 "If enabled, user can monitor system information at "
3034 "chrome://sys-internals.";
3035
James Cooka9384092018-05-23 02:54:263036const char kTapVisualizerAppName[] = "Show taps with mojo app";
3037const char kTapVisualizerAppDescription[] =
3038 "Use an out-of-process mojo app to show touch points.";
3039
Brett Wilson7b44537e2017-08-18 01:38:283040const char kTeamDrivesName[] = "Enable Team Drives Integration";
3041const char kTeamDrivesDescription[] =
3042 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343043
Brett Wilson7b44537e2017-08-18 01:38:283044const char kTetherName[] = "Instant Tethering";
3045const char kTetherDescription[] =
3046 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3047 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373048
Brett Wilson7b44537e2017-08-18 01:38:283049const char kTouchscreenCalibrationName[] =
3050 "Enable/disable touchscreen calibration option in material design settings";
3051const char kTouchscreenCalibrationDescription[] =
3052 "If enabled, the user can calibrate the touch screen displays in "
3053 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093054
Qiang Xu045aff222018-05-21 23:21:013055const char kUiDevToolsName[] = "Enable native UI inspection";
3056const char kUiDevToolsDescription[] =
3057 "Enables inspection of native UI elements. For local inspection use "
3058 "chrome://inspect#other";
3059
3060const char kUiShowCompositedLayerBordersName[] =
3061 "Show UI composited layer borders";
3062const char kUiShowCompositedLayerBordersDescription[] =
3063 "Show border around composited layers created by UI.";
3064const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3065const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3066const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3067const char kUiShowCompositedLayerBordersAll[] = "All";
3068
3069const char kUiSlowAnimationsName[] = "Slow UI animations";
3070const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3071
Mitsuru Oshima63d3f2a2017-08-23 00:12:113072// Force UI Mode
3073const char kUiModeName[] = "Force Ui Mode";
3074const char kUiModeDescription[] =
3075 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3076 R"*(despite its current orientation. "Tablet" means that the )*"
3077 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3078 R"*(means that the chromebook will act as if it were in clamshell )*"
3079 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3080 R"*(the two, based on its orientation.)*";
3081const char kUiModeTablet[] = "TouchView";
3082const char kUiModeClamshell[] = "Clamshell";
3083const char kUiModeAuto[] = "Auto (default)";
3084
James Cooka1bcfa9a2018-01-30 00:18:403085const char kUseMashName[] = "Out-of-process system UI (mash)";
3086const char kUseMashDescription[] =
3087 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3088 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283089
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343090// TODO(mcasas): remove after https://crbug.com/771345.
3091const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3092const char kUseMonitorColorSpaceDescription[] =
3093 "Enables Chrome to use the color space information provided by the monitor"
3094 " instead of the default sRGB color space.";
3095
Brett Wilson7b44537e2017-08-18 01:38:283096const char kVideoPlayerChromecastSupportName[] =
3097 "Experimental Chromecast support for Video Player";
3098const char kVideoPlayerChromecastSupportDescription[] =
3099 "This option enables experimental Chromecast support for Video Player app "
3100 "on ChromeOS.";
3101
3102const char kVirtualKeyboardName[] = "Virtual Keyboard";
3103const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3104
3105const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3106const char kVirtualKeyboardOverscrollDescription[] =
3107 "Enables virtual keyboard overscroll support.";
3108
3109const char kVoiceInputName[] = "Voice input on virtual keyboard";
3110const char kVoiceInputDescription[] =
3111 "Enables voice input on virtual keyboard.";
3112
3113const char kWakeOnPacketsName[] = "Wake On Packets";
3114const char kWakeOnPacketsDescription[] =
3115 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203116
Qiang Xu53d1a5832018-05-24 18:44:193117const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3118const char kZipArchiverUnpackerDescription[] =
3119 "Enable or disable the ability to unpack archives in incognito mode";
3120
yhanadac5bff5b2017-05-18 06:37:093121#endif // defined(OS_CHROMEOS)
3122
Brett Wilson7b44537e2017-08-18 01:38:283123// Random platform combinations -----------------------------------------------
3124
3125#if defined(OS_WIN) || defined(OS_LINUX)
3126
3127const char kEnableInputImeApiName[] = "Enable Input IME API";
3128const char kEnableInputImeApiDescription[] =
3129 "Enable the use of chrome.input.ime API.";
3130
Tom Anderson6cbd5052018-05-03 23:49:543131#if !defined(OS_CHROMEOS)
3132
3133const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3134const char kWarnBeforeQuittingFlagDescription[] =
3135 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3136
3137#endif // !defined(OS_CHROMEOS)
3138
Brett Wilson7b44537e2017-08-18 01:38:283139#endif // defined(OS_WIN) || defined(OS_LINUX)
3140
3141#if defined(OS_WIN) || defined(OS_MACOSX)
3142
3143const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3144const char kAutomaticTabDiscardingDescription[] =
3145 "If enabled, tabs get automatically discarded from memory when the system "
3146 "memory is low. Discarded tabs are still visible on the tab strip and get "
3147 "reloaded when clicked on. Info about discarded tabs can be found at "
3148 "chrome://discards.";
3149
3150#endif // defined(OS_WIN) || defined(OS_MACOSX)
3151
Elly Fong-Jonesdfaf8532018-05-29 18:20:483152#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3153
3154const char kUiFoodName[] = "Use all upcoming UI features";
3155const char kUiFoodDescription[] = "Use all upcoming UI features.";
3156
3157#endif
3158
Brett Wilson7b44537e2017-08-18 01:38:283159// Feature flags --------------------------------------------------------------
3160
3161#if BUILDFLAG(ENABLE_VR)
3162
David Dorwin5a496c32017-11-17 01:45:053163const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3164const char kWebVrVsyncAlignDescription[] =
3165 "Align WebVR application rendering with VSync for smoother animations.";
3166
Brett Wilson7b44537e2017-08-18 01:38:283167#if defined(OS_ANDROID)
3168
Yash Malikb78e72a72018-02-21 09:14:103169const char kVrWebInputEditingName[] = "VR browsing web input editing";
3170const char kVrWebInputEditingDescription[] =
3171 "Allow editing web input fields while in VR mode.";
3172
David Dorwin5a496c32017-11-17 01:45:053173const char kVrBrowsingExperimentalFeaturesName[] =
3174 "VR browsing experimental features";
3175const char kVrBrowsingExperimentalFeaturesDescription[] =
3176 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283177
David Dorwin5a496c32017-11-17 01:45:053178const char kVrBrowsingExperimentalRenderingName[] =
3179 "VR browsing experimental rendering features";
3180const char kVrBrowsingExperimentalRenderingDescription[] =
3181 "Experimental rendering features for VR browsing (e.g. power-saving "
3182 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103183
David Dorwin5a496c32017-11-17 01:45:053184const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3185const char kVrBrowsingInCustomTabDescription[] =
3186 "Allow browsing within a VR headset while in a Custom Tab.";
3187
Michael Thiessen37895912018-01-19 20:15:543188const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3189const char kVrIconInDaydreamHomeDescription[] =
3190 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3191
David Dorwin5a496c32017-11-17 01:45:053192const char kWebVrAutopresentFromIntentName[] =
3193 "WebVR auto presentation from intents";
3194const char kWebVrAutopresentFromIntentDescription[] =
3195 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283196
3197#endif // OS_ANDROID
3198
Bill Orr103ed272018-02-14 21:23:053199#if BUILDFLAG(ENABLE_OCULUS_VR)
3200const char kOculusVRName[] = "Oculus hardware support";
3201const char kOculusVRDescription[] =
3202 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3203 "Windows 10 or later).";
3204#endif // ENABLE_OCULUS_VR
3205
Bill Orr49527562017-11-22 16:58:483206#if BUILDFLAG(ENABLE_OPENVR)
3207const char kOpenVRName[] = "OpenVR hardware support";
3208const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073209 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3210 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483211#endif // ENABLE_OPENVR
3212
Brett Wilson7b44537e2017-08-18 01:38:283213#endif // ENABLE_VR
3214
Nico Weberaf3b00b2017-09-11 17:58:173215#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283216
3217const char kNaclDebugMaskName[] =
3218 "Restrict Native Client GDB-based debugging by pattern";
3219const char kNaclDebugMaskDescription[] =
3220 "Restricts Native Client application GDB-based debugging by URL of "
3221 "manifest file. Native Client GDB-based debugging must be enabled for this "
3222 "option to work.";
3223const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3224const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3225 "Debug everything except secure shell and the PNaCl translator.";
3226const char kNaclDebugMaskChoiceIncludeDebug[] =
3227 "Debug only if manifest URL ends with debug.nmf.";
3228
3229const char kNaclDebugName[] = "Native Client GDB-based debugging";
3230const char kNaclDebugDescription[] =
3231 "Enable GDB debug stub. This will stop a Native Client application on "
3232 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3233
3234const char kNaclName[] = "Native Client";
3235const char kNaclDescription[] =
3236 "Support Native Client for all web applications, even those that were not "
3237 "installed from the Chrome Web Store.";
3238
3239const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3240const char kPnaclSubzeroDescription[] =
3241 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3242
Nico Weberaf3b00b2017-09-11 17:58:173243#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283244
Brett Wilson7b44537e2017-08-18 01:38:283245const char kWebrtcH264WithOpenh264FfmpegName[] =
3246 "WebRTC H.264 software video encoder/decoder";
3247const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3248 "When enabled, an H.264 software video encoder/decoder pair is included. "
3249 "If a hardware encoder/decoder is also available it may be used instead of "
3250 "this encoder/decoder.";
3251
Brett Wilson7b44537e2017-08-18 01:38:283252#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3253
3254const char kAutofillCreditCardUploadName[] =
3255 "Enable offering upload of Autofilled credit cards";
3256const char kAutofillCreditCardUploadDescription[] =
3257 "Enables a new option to upload credit cards to Google Payments for sync "
3258 "to all Chrome devices.";
3259
3260#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3261
Becca Hughesdc96e842018-05-04 22:48:283262#if defined(OS_ANDROID)
3263
3264const char kDisplayCutoutAPIName[] =
3265 "Enable support for the Display Cutout API";
3266const char kDisplayCutoutAPIDescription[] =
3267 "Enables developers to support devices that have a display cutout.";
3268
3269#endif // defined(OS_ANDROID)
3270
Brett Wilson7b44537e2017-08-18 01:38:283271// ============================================================================
3272// Don't just add flags to the end, put them in the right section in
3273// alphabetical order just like the header file.
3274// ============================================================================
3275
vabr0215a8e2017-03-28 12:47:343276} // namespace flag_descriptions