blob: 73a69bbd265f912b371ae3a2bc121259b6106558 [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
brettw5f9c1642017-05-14 17:12:481047const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:341048const char kNostatePrefetchDescription[] =
1049 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
1050 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1051 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1052 R"*(similar to disabling the feature, but collects more metrics for )*"
1053 R"*(comparison purposes.)*";
1054
Alex Newcomerd7b0cc42018-05-25 22:58:481055const char kNotificationIndicatorName[] = "Notification Indicators";
1056const char kNotificationIndicatorDescription[] =
1057 "Enable notification indicators, which appear on app icons when a "
1058 "notification is active. This will also enable notifications in context "
1059 "menus.";
1060
Brett Wilsonecb80982017-07-12 20:34:511061const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1062const char kNotificationsNativeFlagDescription[] =
1063 "Enable support for using the native notification toasts and notification "
1064 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341065
Zentaro Kavanaghbad511c2017-10-18 22:29:001066#if defined(OS_POSIX)
1067const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1068const char kNtlmV2EnabledDescription[] =
1069 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1070#endif
1071
Ramya Nagarajane9f16b82018-05-03 01:05:341072const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1073const char kNtpBackgroundsDescription[] =
1074 "Allow selection of a custom background image on the New Tab Page.";
1075
1076const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1077const char kNtpIconsDescription[] =
1078 "Show custom link icons on the New Tab Page, instead of Most Visited "
1079 "tiles.";
1080
1081const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1082const char kNtpUIMdDescription[] =
1083 "Updates the New Tab Page with Material Design elements.";
1084
Brett Wilsonecb80982017-07-12 20:34:511085const char kNumRasterThreadsName[] = "Number of raster threads";
1086const char kNumRasterThreadsDescription[] =
1087 "Specify the number of raster threads.";
1088const char kNumRasterThreadsOne[] = "1";
1089const char kNumRasterThreadsTwo[] = "2";
1090const char kNumRasterThreadsThree[] = "3";
1091const char kNumRasterThreadsFour[] = "4";
1092
1093const char kOfferStoreUnmaskedWalletCardsName[] =
1094 "Google Payments card saving checkbox";
1095const char kOfferStoreUnmaskedWalletCardsDescription[] =
1096 "Show the checkbox to offer local saving of a credit card downloaded from "
1097 "the server.";
1098
1099const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1100const char kOfflineAutoReloadDescription[] =
1101 "Pages that fail to load while the browser is offline will be "
1102 "auto-reloaded when the browser is online again.";
1103
1104const char kOfflineAutoReloadVisibleOnlyName[] =
1105 "Only Auto-Reload Visible Tabs";
1106const char kOfflineAutoReloadVisibleOnlyDescription[] =
1107 "Pages that fail to load while the browser is offline will only be "
1108 "auto-reloaded if their tab is visible.";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kOmniboxDisplayTitleForCurrentUrlName[] =
1111 "Include title for the current URL in the omnibox";
1112const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1113 "In the event that the omnibox provides suggestions on-focus, the URL of "
1114 "the current page is provided as the first suggestion without a title. "
1115 "Enabling this flag causes the title to be displayed.";
1116
Benoit Lizeab08362c2017-07-19 14:50:541117const char kOmniboxSpareRendererName[] =
1118 "Start spare renderer on omnibox focus";
1119const char kOmniboxSpareRendererDescription[] =
1120 "When the omnibox is focused, start an empty spare renderer. This can "
1121 "speed up the load of the navigation from the omnibox.";
1122
Tommy C. Li8875a442017-08-23 00:10:591123const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1124 "Omnibox UI Elide Suggestion URL After Host";
1125const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1126 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1127 "dropdown.";
1128
Tommy C. Lid79d4402017-12-22 22:49:121129const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1130 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1131const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1132 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1133 "displayed URLs. Hidden portions are restored during editing.";
1134
Brett Wilsonecb80982017-07-12 20:34:511135const char kOmniboxUIMaxAutocompleteMatchesName[] =
1136 "Omnibox UI Max Autocomplete Matches";
1137
1138const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1139 "Changes the maximum number of autocomplete matches displayed in the "
1140 "Omnibox UI.";
1141
Justin Donnelly65c9e8b2017-10-01 05:15:011142const char kOmniboxUIShowSuggestionFaviconsName[] =
1143 "Omnibox UI Show Suggestion Favicons";
1144const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1145 "Shows favicons instead of generic vector icons for URL suggestions in the "
1146 "Omnibox dropdown.";
1147
1148const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1149const char kOmniboxUISwapTitleAndUrlDescription[] =
1150 "In the omnibox dropdown, shows titles before URLs when both are "
1151 "available.";
1152
Brett Wilsonecb80982017-07-12 20:34:511153const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1154const char kOmniboxUIVerticalMarginDescription[] =
1155 "Changes the vertical margin in the Omnibox UI.";
1156
Troy Hildebrandtb32637ca2018-02-21 23:25:091157const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1158 "Omnibox Voice Search Always Visible";
1159const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1160 "Always displays voice search icon in focused omnibox as long as voice "
1161 "search is possible";
1162
Brett Wilsonecb80982017-07-12 20:34:511163const char kOriginTrialsName[] = "Origin Trials";
1164const char kOriginTrialsDescription[] =
1165 "Enables origin trials for controlling access to feature/API experiments.";
1166
Becca Hughes930d8cd2017-10-02 11:09:121167const char kOverflowIconsForMediaControlsName[] =
1168 "Icons on Media Controls Overflow Menu";
1169const char kOverflowIconsForMediaControlsDescription[] =
1170 "Displays icons on the overflow menu of the native media controls";
1171
Brett Wilsonecb80982017-07-12 20:34:511172const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1173const char kOverlayScrollbarsDescription[] =
1174 "Enable the experimental overlay scrollbars implementation. You must also "
1175 "enable threaded compositing to have the scrollbars animate.";
1176
chaopenge8aa016b2017-08-24 15:20:191177const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1178 "Flash Overlay Scrollbars After Any Scroll Update";
1179const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1180 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1181 " must also enable Overlay Scrollbars.";
1182
chaopeng343678022017-08-24 18:45:001183const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1184 "Flash Overlay Scrollbars When Mouse Enter";
1185const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1186 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1187 " enable Overlay Scrollbars.";
1188
Claudio Magni81326f92017-09-01 05:21:181189const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1190const char kUseNewAcceptLanguageHeaderDescription[] =
1191 "Adds the base language code after other corresponding language+region "
1192 "codes. This ensures that users receive content in their preferred "
1193 "language.";
1194
Brett Wilsonecb80982017-07-12 20:34:511195const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1196const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481197 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511198const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481199const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511200
1201const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1202const char kOverscrollStartThresholdDescription[] =
1203 "Changes overscroll start threshold relative to the default value.";
1204const char kOverscrollStartThreshold133Percent[] = "133%";
1205const char kOverscrollStartThreshold166Percent[] = "166%";
1206const char kOverscrollStartThreshold200Percent[] = "200%";
1207
chaopenge2b6e5f2018-05-08 16:40:451208const char kTouchpadOverscrollHistoryNavigationName[] =
1209 "Overscroll history navigation on Touchpad";
1210const char kTouchpadOverscrollHistoryNavigationDescription[] =
1211 "Allows swipe left/right from touchpad change browser navigation.";
1212
Xing Liu5400a002017-09-15 21:48:291213const char kParallelDownloadingName[] = "Parallel downloading";
1214const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061215 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291216
Brett Wilsonecb80982017-07-12 20:34:511217const char kPassiveEventListenerDefaultName[] =
1218 "Passive Event Listener Override";
1219const char kPassiveEventListenerDefaultDescription[] =
1220 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1221 "haven't requested otherwise) to be treated as passive. This will break "
1222 "touch/wheel behavior on some websites but is useful for demonstrating the "
1223 "potential performance benefits of adopting passive event listeners.";
1224const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1225const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1226
1227const char kPassiveEventListenersDueToFlingName[] =
1228 "Touch Event Listeners Passive Default During Fling";
1229const char kPassiveEventListenersDueToFlingDescription[] =
1230 "Forces touchstart, and first touchmove per scroll event listeners during "
1231 "fling to be treated as passive.";
1232
1233const char kPassiveDocumentEventListenersName[] =
1234 "Document Level Event Listeners Passive Default";
1235const char kPassiveDocumentEventListenersDescription[] =
1236 "Forces touchstart, and touchmove event listeners on document level "
1237 "targets (which haven't requested otherwise) to be treated as passive.";
1238
1239const char kPasswordForceSavingName[] = "Force-saving of passwords";
1240const char kPasswordForceSavingDescription[] =
1241 "Allow the user to manually enforce password saving instead of relying on "
1242 "password manager's heuristics.";
1243
1244const char kPasswordGenerationName[] = "Password generation";
1245const char kPasswordGenerationDescription[] =
1246 "Allow the user to have Chrome generate passwords when it detects account "
1247 "creation pages.";
1248
Vaclav Brozekd8a3f542017-11-16 14:21:131249const char kPasswordExportName[] = "Password export";
1250const char kPasswordExportDescription[] =
1251 "Export functionality in password settings.";
1252
1253const char kPasswordImportName[] = "Password import";
1254const char kPasswordImportDescription[] =
1255 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511256
Friedrich Horschig03c91982018-01-25 14:21:281257const char kPasswordSearchMobileName[] = "Password search";
1258const char kPasswordSearchMobileDescription[] =
1259 "Search functionality in password settings.";
1260
Friedrich Horschige6c27742018-04-23 17:13:411261const char kPasswordsKeyboardAccessoryName[] =
1262 "Add password-related functions to keyboard accessory";
1263const char kPasswordsKeyboardAccessoryDescription[] =
1264 "Adds password generation button and toggle for the passwords bottom sheet "
1265 "to the keyboard accessory. Replaces password generation popups.";
1266
Tom Sepez92a2cd242018-03-13 19:23:091267const char kPdfIsolationName[] = "PDF Isolation";
1268const char kPdfIsolationDescription[] =
1269 "Render PDF files from different origins in different plugin processes.";
1270
Brett Wilsonecb80982017-07-12 20:34:511271const char kPinchScaleName[] = "Pinch scale";
1272const char kPinchScaleDescription[] =
1273 "Enables experimental support for scale using pinch.";
1274
Doug Arnett620ff542018-02-06 17:54:221275const char kPreviewsAllowedName[] = "Previews Allowed";
1276const char kPreviewsAllowedDescription[] =
1277 "Allows previews to be shown subject to specific preview types being "
1278 "enabled and the client experiencing specific triggering conditions. "
1279 "May be used as a kill-switch to turn off all potential preview types.";
1280
Brett Wilsonecb80982017-07-12 20:34:511281const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1282const char kPrintPdfAsImageDescription[] =
1283 "If enabled, an option to print PDF files as images will be available in "
1284 "print preview.";
1285
1286const char kPrintPreviewRegisterPromosName[] =
1287 "Print Preview Registration Promos";
1288const char kPrintPreviewRegisterPromosDescription[] =
1289 "Enable registering unregistered cloud printers from print preview.";
1290
1291const char kProtectSyncCredentialName[] = "Autofill sync credential";
1292const char kProtectSyncCredentialDescription[] =
1293 "How the password manager handles autofill for the sync credential.";
1294
1295const char kProtectSyncCredentialOnReauthName[] =
1296 "Autofill sync credential only for transactional reauth pages";
1297const char kProtectSyncCredentialOnReauthDescription[] =
1298 "How the password manager handles autofill for the sync credential only "
1299 "for transactional reauth pages.";
1300
Mohsen Izadi93faac12017-07-29 04:45:151301const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1302const char kPullToRefreshDescription[] =
1303 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011304const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151305
Troy Hildebrandt7228ad12018-02-23 21:18:241306const char kQueryInOmniboxName[] = "Query in Omnibox";
1307const char kQueryInOmniboxDescription[] =
1308 "Only display query terms in the omnibox when viewing a search results "
1309 "page.";
1310
Brett Wilsonecb80982017-07-12 20:34:511311const char kQuicName[] = "Experimental QUIC protocol";
1312const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1313
Emily Starke8878d52018-05-11 21:27:261314const char kRecurrentInterstitialName[] =
1315 "Show a message when the same SSL error recurs";
1316const char kRecurrentInterstitialDescription[] =
1317 "Enable a special message on the SSL certificate error page when the same "
1318 "SSL error occurs repeatedly.";
1319
Brett Wilsonecb80982017-07-12 20:34:511320const char kReducedReferrerGranularityName[] =
1321 "Reduce default 'referer' header granularity.";
1322const char kReducedReferrerGranularityDescription[] =
1323 "If a page hasn't set an explicit referrer policy, setting this flag will "
1324 "reduce the amount of information in the 'referer' header for cross-origin "
1325 "requests.";
1326
Claudio Magnie0a80bb2018-01-31 02:52:581327extern const char kRegionalLocalesAsDisplayUIName[] =
1328 "Allow regional locales as display UI";
1329extern const char kRegionalLocalesAsDisplayUIDescription[] =
1330 "This flag allows regional locales to be selected as display UI by the "
1331 "user in Language Settings. The actual locale of the system is derived "
1332 "from the user selection based on some simple fallback logic.";
1333
Christian Dullweber1af31e62018-02-22 11:49:481334const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141335 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481336const char kRemoveNavigationHistoryDescription[] =
1337 "Remove a navigation entry when the corresponding history entry has been "
1338 "deleted.";
1339
Mihai Sardarescu6d0f5b72017-10-30 11:24:381340const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1341 "Remove usage of the deprecated GAIA sign-in endpoint";
1342const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1343 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1344 "This flags controls wheter it should no longer be used during a sign-in "
1345 " flow.";
1346
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351347const char kRendererSideResourceSchedulerName[] =
1348 "Renderer side ResourceScheduler";
1349const char kRendererSideResourceSchedulerDescription[] =
1350 "Migrate some ResourceScheduler functionalities to renderer";
1351
Brett Wilsonecb80982017-07-12 20:34:511352const char kRequestTabletSiteName[] =
1353 "Request tablet site option in the settings menu";
1354const char kRequestTabletSiteDescription[] =
1355 "Allows the user to request tablet site. Web content is often optimized "
1356 "for tablet devices. When this option is selected the user agent string is "
1357 "changed to indicate a tablet device. Web content optimized for tablets is "
1358 "received there after for the current tab.";
1359
1360const char kResetAppListInstallStateName[] =
1361 "Reset the App Launcher install state on every restart.";
1362const char kResetAppListInstallStateDescription[] =
1363 "Reset the App Launcher install state on every restart. While this flag is "
1364 "set, Chrome will forget the launcher has been installed each time it "
1365 "starts. This is used for testing the App Launcher install flow.";
1366
1367const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1368const char kResourceLoadSchedulerDescription[] =
1369 "Uses the resource load scheduler in blink to schedule and throttle "
1370 "resource load requests.";
1371
Brett Wilsonecb80982017-07-12 20:34:511372const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1373const char kSafeSearchUrlReportingDescription[] =
1374 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1375
Alexei Filippov98772752018-01-27 08:26:521376const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1377const char kSamplingHeapProfilerDescription[] =
1378 "Enables native memory sampling profiler with specified rate in KiB. "
1379 "If sampling rate is not provided the default value of 128 KiB is used.";
1380
Brett Wilsonecb80982017-07-12 20:34:511381const char kSaveasMenuLabelExperimentName[] =
1382 "Switch 'Save as' menu labels to 'Download'";
1383const char kSaveasMenuLabelExperimentDescription[] =
1384 "Enables an experiment to switch menu labels that use 'Save as...' to "
1385 "'Download'.";
1386
1387const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1388const char kSavePageAsMhtmlDescription[] =
1389 "Enables saving pages as MHTML: a single text file containing HTML and all "
1390 "sub-resources.";
1391
Nate Chapin9638e7102017-09-20 22:11:011392const char kSavePreviousDocumentResourcesName[] =
1393 "Save Previous Document Resources";
1394const char kSavePreviousDocumentResourcesDescription[] =
1395 "Saves an old document's cached resources until the specified point in the "
1396 "next document's lifecycle.";
1397const char kSavePreviousDocumentResourcesNever[] =
1398 "Don't explicitly save resources";
1399const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1400 "Save resources until onDOMContentLoaded completes";
1401const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1402 "Save resources until onload completes";
1403
Brett Wilsonecb80982017-07-12 20:34:511404const char kScrollPredictionName[] = "Scroll prediction";
1405const char kScrollPredictionDescription[] =
1406 "Predicts the finger's future position during scrolls allowing time to "
1407 "render the frame before the finger is there.";
1408
1409const char kSecondaryUiMd[] =
1410 "Material Design in the rest of the browser's native UI";
1411const char kSecondaryUiMdDescription[] =
1412 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1413 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1414 "browser dialogs.";
1415
1416const char kServiceWorkerNavigationPreloadName[] =
1417 "Service worker navigation preload.";
1418const char kServiceWorkerNavigationPreloadDescription[] =
1419 "Enable web pages to use the experimental service worker navigation "
1420 "preload API.";
1421
gogeraldd5061b592017-09-06 23:39:551422const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1423const char kServiceWorkerPaymentAppsDescription[] =
1424 "Enable Service Worker applications to integrate as payment apps";
1425
Makoto Shimazu22078cc2018-02-21 03:01:441426extern const char kServiceWorkerServicificationName[] =
1427 "Servicified service workers";
1428extern const char kServiceWorkerServicificationDescription[] =
1429 "Enable the servicified service workers. A servicified service worker can "
1430 "have direct connection from its clients, so that fetch events can be "
1431 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171432
Tsuyoshi Horobcb1c642017-11-24 16:32:141433const char kServiceWorkerScriptFullCodeCacheName[] =
1434 "Service worker script full code cache.";
1435const char kServiceWorkerScriptFullCodeCacheDescription[] =
1436 "Generate V8 full code cache of Service Worker scripts while installing.";
1437
Brett Wilsonecb80982017-07-12 20:34:511438const char kSettingsWindowName[] = "Show settings in a window";
1439const char kSettingsWindowDescription[] =
1440 "Settings will be shown in a dedicated window instead of as a browser tab.";
1441
Manu Cornetd7ef7c52018-05-01 22:08:231442const char kShelfHoverPreviewsName[] =
1443 "Show previews of running apps when hovering over the shelf.";
1444const char kShelfHoverPreviewsDescription[] =
1445 "Shows previews of the open windows for a given running app when hovering "
1446 "over the shelf.";
1447
Trent Apted750ba7022017-10-23 13:36:251448const char kShowAllDialogsWithViewsToolkitName[] =
1449 "Show all dialogs with Views toolkit";
1450const char kShowAllDialogsWithViewsToolkitDescription[] =
1451 "All browser dialogs will be shown using the Views toolkit rather than "
1452 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1453
Naoki Fukino008a0022018-05-23 18:33:001454const char kShowAndroidFilesInFilesAppName[] =
1455 "Show Android files in Files app";
1456const char kShowAndroidFilesInFilesAppDescription[] =
1457 "Show Android files in Files app if Android is enabled on the device.";
1458
Luciano Pachecof1beaa82018-05-30 04:48:511459const char kFilesAppNewStyleNavigationName[] =
1460 "Use new-style navigation in the Files app";
1461const char kFilesAppNewStyleNavigationDescription[] =
1462 "Enables the new-style navigation in the Files app, which displays a "
1463 R"("My Files" root for Downloads, Linux and Play files)";
1464
Brett Wilsonecb80982017-07-12 20:34:511465const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1466const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381467 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1468 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511469
1470const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1471const char kShowAutofillTypePredictionsDescription[] =
1472 "Annotates web forms with Autofill field type predictions as placeholder "
1473 "text.";
1474
1475const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1476const char kShowOverdrawFeedbackDescription[] =
1477 "Visualize overdraw by color-coding elements based on if they have other "
1478 "elements drawn underneath.";
1479
Carlos IL89128732018-04-03 17:00:251480const char kSupervisedUserCommittedInterstitialsName[] =
1481 "Enable Supervised User Committed Interstitials";
1482const char kSupervisedUserCommittedInterstitialsDescription[] =
1483 "Use committed error pages instead of transient navigation entries for "
1484 "supervised user interstitials";
1485
yiyixbdfa9a0b2017-10-23 22:21:471486const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1487const char kEnableDrawOcclusionDescription[] =
1488 "Enable the system to use draw occlusion to skip draw quads when they are "
1489 "not shown on the screen.";
1490
Brett Wilsonecb80982017-07-12 20:34:511491const char kShowSavedCopyName[] = "Show Saved Copy Button";
1492const char kShowSavedCopyDescription[] =
1493 "When a page fails to load, if a stale copy of the page exists in the "
1494 "browser cache, a button will be presented to allow the user to load that "
1495 "stale copy. The primary enabling choice puts the button in the most "
1496 "salient position on the error page; the secondary enabling choice puts it "
1497 "secondary to the reload button.";
1498const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1499const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1500const char kDisableShowSavedCopy[] = "Disable";
1501
Brett Wilsonecb80982017-07-12 20:34:511502const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1503const char kSilentDebuggerExtensionApiDescription[] =
1504 "Do not show the infobar when an extension attaches to a page via "
1505 "chrome.debugger API. This is required to debug extension background "
1506 "pages.";
1507
Tsuyoshi Horo53895ba92018-03-14 04:06:481508const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1509const char kSignedHTTPExchangeDescription[] =
1510 "Enables Origin-Signed HTTP Exchanges support which is still in "
1511 "development. Warning: Enabling this may pose a security risk.";
1512
Brett Wilsonecb80982017-07-12 20:34:511513const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1514const char kSimpleCacheBackendDescription[] =
1515 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1516 "disk space allocation.";
1517
Christopher Thompson75ff845d2018-02-01 20:12:461518const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1519const char kSimplifyHttpsIndicatorDescription[] =
1520 "Change the UI treatment for HTTPS pages.";
1521
Brett Wilsonecb80982017-07-12 20:34:511522const char kSingleClickAutofillName[] = "Single-click autofill";
1523const char kSingleClickAutofillDescription[] =
1524 "Make autofill suggestions on initial mouse click on a form element.";
1525
Nick Carter855bc492018-03-10 00:44:571526const char kStrictSiteIsolationName[] = "Strict site isolation";
1527const char kStrictSiteIsolationDescription[] =
1528 "Security mode that enables site isolation for all sites. When enabled, "
1529 "each renderer process will contain pages from at most one site, using "
1530 "out-of-process iframes when needed. When enabled, this flag forces the "
1531 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1532 "isolation mode will be determined by enterprise policy or field trial.";
1533
1534const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1535const char kSiteIsolationTrialOptOutDescription[] =
1536 "Opts out of field trials that enable site isolation modes "
1537 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1538 "may be due to out-of-process iframes. Opt-out has no effect if site "
1539 "isolation is force-enabled via #enable-site-per-process or enterprise "
1540 "policy. Caution: this disables important mitigations for the Spectre CPU "
1541 "vulnerability affecting most computers.";
1542extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1543extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1544 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511545
Pattideade7972018-04-27 02:59:401546const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511547const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401548 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511549
Brett Wilsonecb80982017-07-12 20:34:511550const char kSmoothScrollingName[] = "Smooth Scrolling";
1551const char kSmoothScrollingDescription[] =
1552 "Animate smoothly when scrolling page content.";
1553
1554const char kSoftwareRasterizerName[] = "3D software rasterizer";
1555const char kSoftwareRasterizerDescription[] =
1556 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1557
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201558const char kSoleIntegrationName[] = "Sole integration";
1559const char kSoleIntegrationDescription[] =
1560 "Enable Sole integration for browser customization. You must restart "
1561 "the browser twice for changes to take effect.";
1562
Tommy Steimel77704be2017-08-28 22:14:401563const char kSoundContentSettingName[] = "Sound content setting";
1564const char kSoundContentSettingDescription[] =
1565 "Enable site-wide muting in content settings and tab strip context menu.";
1566
Alexandr Ilinf0500ed32017-09-27 21:12:361567const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1568const char kSpeculativePreconnectDescription[] =
1569 "Enable the new implementation of preconnect and DNS preresolve. "
1570 "\"Learning\" means that only database construction is enabled, "
1571 "\"Preconnect\" enables both learning and preconnect and disables the "
1572 "existing implementation. \"No preconnect\" disables both implementations.";
1573
Brett Wilsonecb80982017-07-12 20:34:511574const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341575const char kSpeculativePrefetchDescription[] =
1576 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1577 R"*(load times, based on a local database (see chrome://predictors). )*"
1578 R"*("Learning" means that only the database construction is enabled, )*"
1579 R"*("Prefetching" that learning and prefetching are enabled.)*";
1580
Justin Donnelly4e448cb2017-07-07 21:32:131581const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1582 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131583const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1584 "If enabled, when the user enters text in the omnibox that looks like a "
1585 "a query, any service worker associated with the search engine the query "
1586 "will be sent to is started early.";
1587
Brett Wilsonecb80982017-07-12 20:34:511588const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1589const char kSpellingFeedbackFieldTrialDescription[] =
1590 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401591
Shubhie Panickerfaf082ed2018-01-03 04:49:151592const char kStopInBackgroundName[] = "Stop in background";
1593const char kStopInBackgroundDescription[] =
1594 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281595 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151596
1597const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1598const char kStopLoadingInBackgroundDescription[] =
1599 "Stop loading tasks and loading "
1600 "resources, in the background, after certain grace time.";
1601
Shubhie Panicker56c99a22018-03-21 00:22:281602const char kStopNonTimersInBackgroundName[] =
1603 "Stop non-timer task queues background";
1604const char kStopNonTimersInBackgroundDescription[] =
1605 "Stop non-timer task queues, in the background, "
1606 "after a grace period.";
1607
Brett Wilsonecb80982017-07-12 20:34:511608const char kSuggestionsWithSubStringMatchName[] =
1609 "Substring matching for Autofill suggestions";
1610const char kSuggestionsWithSubStringMatchDescription[] =
1611 "Match Autofill suggestions based on substrings (token prefixes) rather "
1612 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341613
Brett Wilsonecb80982017-07-12 20:34:511614const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1615const char kSyncSandboxDescription[] =
1616 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341617
Joe Downing8cbbc192018-05-14 17:37:071618const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1619const char kSystemKeyboardLockDescription[] =
1620 "Enables websites to use the keyboard.lock() API to intercept system "
1621 "keyboard shortcuts and have the events routed directly to the website "
1622 "when in fullscreen mode.";
1623
Brett Wilsonecb80982017-07-12 20:34:511624const char kTabAudioMutingName[] = "Tab audio muting UI control";
1625const char kTabAudioMutingDescription[] =
1626 "When enabled, the audio indicators in the tab strip double as tab audio "
1627 "mute controls. This also adds commands in the tab context menu for "
1628 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341629
Christian Dullweberd0d96f02017-09-13 09:22:511630const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1631const char kTabsInCbdDescription[] =
1632 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1633
Becky Zhou99c22802017-10-19 05:09:271634const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1635const char kTabModalJsDialogDescription[] =
1636 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1637 " tab.";
1638
Brett Wilsonecb80982017-07-12 20:34:511639const char kTcpFastOpenName[] = "TCP Fast Open";
1640const char kTcpFastOpenDescription[] =
1641 "Enable the option to send extra authentication information in the initial "
1642 "SYN packet for a previously connected client, allowing faster data send "
1643 "start.";
vabr0215a8e2017-03-28 12:47:341644
Daniele Castagna0fead93e2018-01-10 20:40:291645const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1646const char kTintGlCompositedContentDescription[] =
1647 "Tint contents composited using GL with a shade of red to help debug and "
1648 "study overlay support.";
1649
Brett Wilsonecb80982017-07-12 20:34:511650const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1651const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581652 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401653 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431654 "- new unified interface for touch and convertibles (Chrome OS), 4) "
1655 "Material Design refresh and 5) Touchable Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511656const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531657const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461658const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581659const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401660const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431661const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341662
Brett Wilsonecb80982017-07-12 20:34:511663const char kThreadedScrollingName[] = "Threaded scrolling";
1664const char kThreadedScrollingDescription[] =
1665 "Threaded handling of scroll-related input events. Disabling this will "
1666 "force all such scroll events to be handled on the main thread. Note that "
1667 "this can dramatically hurt scrolling performance of most websites and is "
1668 "intended for testing purposes only.";
1669
Steven Valdez4584b2482017-07-14 01:11:571670const char kTLS13VariantName[] = "TLS 1.3";
1671const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1672const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111673const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041674const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381675const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571676
Brett Wilsonecb80982017-07-12 20:34:511677const char kTopDocumentIsolationName[] = "Top document isolation";
1678const char kTopDocumentIsolationDescription[] =
1679 "Highly experimental performance mode where cross-site iframes are kept in "
1680 "a separate process from the top document. In this mode, iframes from "
1681 "different third-party sites will be allowed to share a process.";
1682
Dominick Ng8896b1cd2017-10-17 23:24:361683const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1684const char kTopSitesFromSiteEngagementDescription[] =
1685 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1686 "engagement.";
1687
Brett Wilsonecb80982017-07-12 20:34:511688const char kTouchAdjustmentName[] = "Touch adjustment";
1689const char kTouchAdjustmentDescription[] =
1690 "Refine the position of a touch gesture in order to compensate for touches "
1691 "having poor resolution compared to a mouse.";
1692
Alex Newcomerb3d3c972018-05-03 14:59:401693const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1694const char kTouchableAppContextMenuDescription[] =
1695 "Enable the touchable app context menu, which enlarges app context menus "
1696 "in the Launcher and Shelf to make room for new features.";
1697
Brett Wilsonecb80982017-07-12 20:34:511698const char kTouchDragDropName[] = "Touch initiated drag and drop";
1699const char kTouchDragDropDescription[] =
1700 "Touch drag and drop can be initiated through long press on a draggable "
1701 "element.";
1702
1703const char kTouchEventsName[] = "Touch Events API";
1704const char kTouchEventsDescription[] =
1705 "Force Touch Events API feature detection to always be enabled or "
1706 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291707 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511708
1709const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1710const char kTouchSelectionStrategyDescription[] =
1711 "Controls how text selection granularity changes when touch text selection "
1712 "handles are dragged. Non-default behavior is experimental.";
1713const char kTouchSelectionStrategyCharacter[] = "Character";
1714const char kTouchSelectionStrategyDirection[] = "Direction";
1715
1716const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1717const char kTraceUploadUrlDescription[] =
1718 "This is to be used in conjunction with the enable-navigation-tracing "
1719 "flag. Please select the label that best describes the recorded traces. "
1720 "This will choose the destination the traces are uploaded to. If you are "
1721 "not sure, select other. If left empty, no traces will be uploaded.";
1722const char kTraceUploadUrlChoiceOther[] = "Other";
1723const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1724const char kTraceUploadUrlChoiceQa[] = "QA";
1725const char kTraceUploadUrlChoiceTesting[] = "Testing";
1726
Philippe Hamel7fdaa452017-09-29 17:22:491727const char kTranslateRankerEnforcementName[] =
1728 "Enforce TranslateRanker decisions";
1729const char kTranslateRankerEnforcementDescription[] =
1730 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1731 "or not Translate UI should be triggered in a given context.";
1732
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051733const char kTreatInsecureOriginAsSecureName[] =
1734 "Insecure origins treated as secure";
1735const char kTreatInsecureOriginAsSecureDescription[] =
1736 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1737 "supplied as a comma-separated list. For the definition of secure "
1738 "contexts, "
1739 "see https://w3c.github.io/webappsec-secure-contexts/";
1740
Brett Wilsonecb80982017-07-12 20:34:511741const char kTrySupportedChannelLayoutsName[] =
1742 "Causes audio output streams to check if channel layouts other than the "
1743 "default hardware layout are available.";
1744const char kTrySupportedChannelLayoutsDescription[] =
1745 "Causes audio output streams to check if channel layouts other than the "
1746 "default hardware layout are available. Turning this on will allow the OS "
1747 "to do stereo to surround expansion if supported. May expose third party "
1748 "driver bugs, use with caution.";
1749
David Roger6762a092018-01-31 15:55:071750const char kUnifiedConsentName[] = "Unified Consent";
1751const char kUnifiedConsentDescription[] =
1752 "Enables a unified management of user consent for privacy-related "
1753 "features. This includes new confirmation screens and improved settings "
1754 "pages.";
1755
Brett Wilsonecb80982017-07-12 20:34:511756const char kUiPartialSwapName[] = "Partial swap";
1757const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1758
Chris Pickel3a227ae62017-08-24 10:47:261759const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1760const char kUseDdljsonApiDescription[] =
1761 "Enables the new ddljson API to fetch Doodles for the NTP.";
1762
Becca Hughes59c05b42017-11-03 13:11:581763const char kUseModernMediaControlsName[] = "New Media Controls";
1764const char kUseModernMediaControlsDescription[] =
1765 "Enables the new style native media controls.";
1766
Wei Li790e7a8572018-03-23 01:31:551767const char kUsePdfCompositorServiceName[] =
1768 "Use PDF compositor service for printing";
1769const char kUsePdfCompositorServiceDescription[] =
1770 "When enabled, use PDF compositor service to composite and generate PDF "
1771 "files for printing. When site isolation is enabled, disabling this will "
1772 "not stop using PDF compositor service since the service is required for "
1773 "printing out-of-process iframes correctly.";
1774
Mustaq Ahmedc646c0a2017-10-20 20:08:301775const char kUserActivationV2Name[] = "User Activation v2";
1776const char kUserActivationV2Description[] =
1777 "Enable simple user activation for APIs that are otherwise controlled by "
1778 "user gesture tokens.";
1779
Brett Wilsonecb80982017-07-12 20:34:511780const char kUserConsentForExtensionScriptsName[] =
1781 "User consent for extension scripts";
1782const char kUserConsentForExtensionScriptsDescription[] =
1783 "Require user consent for an extension running a script on the page, if "
1784 "the extension requested permission to run on all urls.";
1785
1786const char kUseSuggestionsEvenIfFewFeatureName[] =
1787 "Disable minimum for server-side tile suggestions on NTP.";
1788const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1789 "Request server-side suggestions even if there are only very few of them "
1790 "and use them for tiles on the New Tab Page.";
1791
1792const char kV8CacheOptionsName[] = "V8 caching mode.";
1793const char kV8CacheOptionsDescription[] =
1794 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511795const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1796
Hitoshi Yoshida3e5db562017-09-11 02:31:081797const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1798const char kV8ContextSnapshotDescription[] =
1799 "Sets to use a snapshot to create V8 contexts in frame creation.";
1800
Michael Hablich896d52662017-10-23 15:59:571801const char kV8VmFutureName[] = "Future V8 VM features";
1802const char kV8VmFutureDescription[] =
1803 "This enables upcoming and experimental V8 VM features. "
1804 "This flag does not enable experimental JavaScript features.";
1805
Brett Wilsonecb80982017-07-12 20:34:511806const char kVideoFullscreenOrientationLockName[] =
1807 "Lock screen orientation when playing a video fullscreen.";
1808const char kVideoFullscreenOrientationLockDescription[] =
1809 "Lock the screen orientation of the device to match video orientation when "
1810 "a video goes fullscreen. Only on phones.";
1811
1812const char kVideoRotateToFullscreenName[] =
1813 "Rotate-to-fullscreen gesture for videos.";
1814const char kVideoRotateToFullscreenDescription[] =
1815 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1816 "the video. Only on phones.";
1817
Elly Fong-Jonesf4c79502018-03-23 19:21:531818const char kViewsBrowserWindowsName[] =
1819 "Use Views browser windows instead of Cocoa.";
1820const char kViewsBrowserWindowsDescription[] =
1821 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1822
Brett Wilsonecb80982017-07-12 20:34:511823const char kWalletServiceUseSandboxName[] =
1824 "Use Google Payments sandbox servers";
1825const char kWalletServiceUseSandboxDescription[] =
1826 "For developers: use the sandbox service for Google Payments API calls.";
1827
Brett Wilsonecb80982017-07-12 20:34:511828const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1829const char kWebglDraftExtensionsDescription[] =
1830 "Enabling this option allows web applications to access the WebGL "
1831 "Extensions that are still in draft status.";
1832
1833const char kWebMidiName[] = "Web MIDI API";
1834const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1835
1836const char kWebPaymentsName[] = "Web Payments";
1837const char kWebPaymentsDescription[] =
1838 "Enable Web Payments API integration, a JavaScript API for merchants.";
1839
Mathieu Perreault51339b82017-07-20 17:06:051840const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1841const char kWebPaymentsModifiersDescription[] =
1842 "If the website provides modifiers in the payment request, show the custom "
1843 "total for each payment instrument, update the shopping cart when "
1844 "instruments are switched, and send modified payment method specific data "
1845 "to the payment app.";
1846
Brett Wilsonecb80982017-07-12 20:34:511847const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1848const char kWebrtcEchoCanceller3Description[] =
1849 "Experimental WebRTC echo canceller (AEC3).";
1850
1851const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1852const char kWebrtcHwDecodingDescription[] =
1853 "Support in WebRTC for decoding video streams using platform hardware.";
1854
1855const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1856const char kWebrtcHwEncodingDescription[] =
1857 "Support in WebRTC for encoding video streams using platform hardware.";
1858
1859const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1860const char kWebrtcHwH264EncodingDescription[] =
1861 "Support in WebRTC for encoding h264 video streams using platform "
1862 "hardware.";
1863
1864const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1865const char kWebrtcHwVP8EncodingDescription[] =
1866 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1867
Niels Möller090866a2018-02-13 10:55:031868const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1869 "WebRTC new encode cpu load estimator";
1870const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1871 "Enable new estimator for the encoder cpu load, for evaluation and "
1872 "testing. Intended to improve accuracy when screen casting.";
1873
Brett Wilsonecb80982017-07-12 20:34:511874const char kWebrtcSrtpAesGcmName[] =
1875 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1876const char kWebrtcSrtpAesGcmDescription[] =
1877 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1878
Joachim Bauch4a41d7512017-08-23 14:24:231879const char kWebrtcSrtpEncryptedHeadersName[] =
1880 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1881const char kWebrtcSrtpEncryptedHeadersDescription[] =
1882 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1883 "for SRTP.";
1884
Brett Wilsonecb80982017-07-12 20:34:511885const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1886const char kWebrtcStunOriginDescription[] =
1887 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1888 "header.";
1889
Adam Ricec786ad8a2018-05-22 09:49:151890const char kWebSocketHandshakeReuseConnectionName[] =
1891 "Enable WebSocket connection reuse for authentication";
1892const char kWebSocketHandshakeReuseConnectionDescription[] =
1893 "Permits the WebSocket handshake to keep the connection open after an "
1894 "authentication failure. The connection may be used for further requests "
1895 "to send credentials. This is sometimes needed for Windows authentication.";
1896
Brett Wilsonecb80982017-07-12 20:34:511897const char kWebvrName[] = "WebVR";
1898const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011899 "Enables access to experimental Virtual Reality functionality via the "
1900 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1901 "Device API. Warning: Enabling this will also allow WebVR content on "
1902 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221903 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511904
Brandon Jonese9d9b2b2017-12-11 22:20:111905const char kWebXrName[] = "WebXR Device API";
1906const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011907 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1908 "and Augmented Reality (AR) devices.";
1909
1910const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1911const char kWebXrGamepadSupportDescription[] =
1912 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221913 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1914 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431915
1916const char kWebXrHitTestName[] = "WebXR Hit Test";
1917const char kWebXrHitTestDescription[] =
1918 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111919
Anna Maria57ecf7592018-01-12 03:10:401920const char kWebXrOrientationSensorDeviceName[] =
1921 "WebXR orientation sensor device";
1922const char kWebXrOrientationSensorDeviceDescription[] =
1923 "When no VR platform device is available, expose a non-presenting device "
1924 "based on the device's orientation sensors, if available.";
1925
Brett Wilsonecb80982017-07-12 20:34:511926const char kWifiCredentialSyncName[] = "WiFi credential sync";
1927const char kWifiCredentialSyncDescription[] =
1928 "Enables synchronizing WiFi network settings across devices. When enabled, "
1929 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1930 "credentials are synchronized subject to user preferences. (See also, "
1931 "chrome://settings/syncSetup.)";
1932
1933const char kZeroCopyName[] = "Zero-copy rasterizer";
1934const char kZeroCopyDescription[] =
1935 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341936
Brett Wilsonff596952017-07-14 01:06:551937// Android ---------------------------------------------------------------------
1938
1939#if defined(OS_ANDROID)
1940
1941const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1942const char kAiaFetchingDescription[] =
1943 "Enable intermediate certificate fetching when a server does not provide "
1944 "sufficient certificates to build a chain to a trusted root.";
1945
1946const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1947const char kAccessibilityTabSwitcherDescription[] =
1948 "Enable the accessibility tab switcher for Android.";
1949
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251950const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1951const char kAllowReaderForAccessibilityDescription[] =
1952 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1953
Brett Wilsonff596952017-07-14 01:06:551954const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1955const char kAndroidAutofillAccessibilityDescription[] =
1956 "Enable accessibility for autofill popup.";
1957
1958const char kAndroidPaymentAppsName[] = "Android payment apps";
1959const char kAndroidPaymentAppsDescription[] =
1960 "Enable third party Android apps to integrate as payment apps";
1961
Miriam Gershenson8cf1397222018-01-23 22:48:291962const char kAsyncDnsName[] = "Async DNS resolver";
1963const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1964
Brett Wilsonff596952017-07-14 01:06:551965const char kAutofillAccessoryViewName[] =
1966 "Autofill suggestions as keyboard accessory view";
1967const char kAutofillAccessoryViewDescription[] =
1968 "Shows Autofill suggestions on top of the keyboard rather than in a "
1969 "dropdown.";
1970
1971const char kBackgroundLoaderForDownloadsName[] =
1972 "Enables background downloading of pages.";
1973const char kBackgroundLoaderForDownloadsDescription[] =
1974 "Enables downloading pages in the background in case page is not yet "
1975 "loaded in current tab.";
1976
Matthew Jones6c1f5e22018-02-06 18:19:531977const char kChromeDuplexName[] = "Chrome Duplex";
1978const char kChromeDuplexDescription[] =
1979 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051980
Brett Wilsonff596952017-07-14 01:06:551981const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1982const char kChromeHomeSwipeLogicDescription[] =
1983 "Various swipe logic options for Chrome Home for sheet expansion.";
1984const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151985const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551986
Matthew Jones5b7f1d62018-01-23 00:37:251987const char kChromeModernDesignName[] = "Chrome Modern Design";
1988const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451989 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1990 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251991
Megan Jablonskic61eb1b82017-10-02 18:03:061992const char kChromeMemexName[] = "Chrome Memex";
1993const char kChromeMemexDescription[] =
1994 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1995 "Googlers.";
1996
Sarath Singapati83aef1c2017-11-16 15:54:521997const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1998const char kClearOldBrowsingDataDescription[] =
1999 "Enables clearing of browsing data which is older than a given time "
2000 "period.";
2001
Brett Wilsonff596952017-07-14 01:06:552002const char kContentSuggestionsCategoryOrderName[] =
2003 "Default content suggestions category order (e.g. on NTP)";
2004const char kContentSuggestionsCategoryOrderDescription[] =
2005 "Set default order of content suggestion categories (e.g. on the NTP).";
2006
2007const char kContentSuggestionsCategoryRankerName[] =
2008 "Content suggestions category ranker (e.g. on NTP)";
2009const char kContentSuggestionsCategoryRankerDescription[] =
2010 "Set category ranker to order categories of content suggestions (e.g. on "
2011 "the NTP).";
2012
Vitalii Iarkof52ff802017-09-14 12:34:242013const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
2014const char kContentSuggestionsDebugLogDescription[] =
2015 "Enable content suggestions debug log accessible through "
2016 "snippets-internals.";
2017
Donn Denman8e58ead2017-11-04 01:44:012018const char kContextualSearchMlTapSuppressionName[] =
2019 "Contextual Search ML tap suppression";
2020const char kContextualSearchMlTapSuppressionDescription[] =
2021 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022022 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2023 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552024
2025const char kContextualSearchName[] = "Contextual Search";
2026const char kContextualSearchDescription[] =
2027 "Whether or not Contextual Search is enabled.";
2028
Donn Denman59729812018-01-09 01:27:022029const char kContextualSearchRankerQueryName[] =
2030 "Contextual Search Ranker prediction";
2031const char kContextualSearchRankerQueryDescription[] =
2032 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2033
2034const char kContextualSearchSecondTapName[] =
2035 "Contextual Search second tap triggering";
2036const char kContextualSearchSecondTapDescription[] =
2037 "Enables triggering on a second tap gesture even when Ranker would "
2038 "normally suppress that tap.";
2039
Dmitry Skiba9c3efa72017-07-20 22:01:142040const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2041const char kDontPrefetchLibrariesDescription[] =
2042 "Don't prefetch libraries after loading.";
2043
Joy Ming5fd29ca62017-10-02 22:51:222044const char kDownloadsForegroundName[] = "Enable downloads foreground";
2045const char kDownloadsForegroundDescription[] =
2046 "Enable downloads as a foreground service for all versions of Android.";
2047
Joy Ming189b0cc2017-12-08 19:42:432048const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2049const char kDownloadsLocationChangeDescription[] =
2050 "Enable changing default downloads storage location on Android.";
2051
Shakti Sahu32b2ee102018-05-17 00:04:462052const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2053const char kDownloadProgressInfoBarDescription[] =
2054 "Enables an infobar notifying users about status of current downloads.";
2055
Brett Wilsonff596952017-07-14 01:06:552056const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2057const char kEnableAndroidPayIntegrationV1Description[] =
2058 "Enable integration with Android Pay using the first version of the API";
2059
2060const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2061const char kEnableAndroidPayIntegrationV2Description[] =
2062 "Enable integration with Android Pay using the second version of the API";
2063
Vitalii Iarkof4ed32d2017-09-26 13:15:532064const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552065const char kEnableAndroidSpellcheckerDescription[] =
2066 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552067
Lei Tianbd5a3bf2018-02-28 19:01:162068const char kEnableCommandLineOnNonRootedName[] =
2069 "Enable command line on non-rooted devices";
2070const char kEnableCommandLineOnNoRootedDescription[] =
2071 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2072
Vitalii Iarkof4ed32d2017-09-26 13:15:532073const char kEnableContentSuggestionsNewFaviconServerName[] =
2074 "Get favicons for content suggestions from a new server.";
2075const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2076 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2077 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552078
2079const char kEnableContentSuggestionsSettingsName[] =
2080 "Show content suggestions settings.";
2081const char kEnableContentSuggestionsSettingsDescription[] =
2082 "If enabled, the content suggestions settings will be available from the "
2083 "main settings menu.";
2084
Vitalii Iarkof4ed32d2017-09-26 13:15:532085const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2086 "Use content suggestions thumbnail dominant color.";
2087const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2088 "Use content suggestions thumbnail dominant color as a placeholder before "
2089 "the real thumbnail is fetched (requires Chrome Home).";
2090
Brett Wilsonff596952017-07-14 01:06:552091const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2092const char kEnableCustomContextMenuDescription[] =
2093 "Enables a new context menu when a link, image, or video is pressed within "
2094 "Chrome.";
2095
2096const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2097const char kEnableCustomFeedbackUiDescription[] =
2098 "Enables a custom feedback UI when submitting feedback through Google "
2099 "Feedback. Works with Google Play Services v10.2+";
2100
2101const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472102 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552103const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472104 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552105
Brett Wilsonff596952017-07-14 01:06:552106const char kEnableOmniboxClipboardProviderName[] =
2107 "Omnibox clipboard URL suggestions";
2108const char kEnableOmniboxClipboardProviderDescription[] =
2109 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2110 "focus in the omnibox.";
2111
Becky Zhoua7f11d62018-02-01 16:02:532112const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2113 "Show article suggestions expandable header on New Tab Page";
2114const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2115 "If enabled, the article suggestions content on New Tab Page can be "
2116 "toggled shown or hidden by clicking the expandable header.";
2117
Brett Wilsonff596952017-07-14 01:06:552118const char kEnableNtpAssetDownloadSuggestionsName[] =
2119 "Show asset downloads on the New Tab page";
2120const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2121 "If enabled, the list of content suggestions on the New Tab page will "
2122 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2123 "later use.";
2124
2125const char kEnableNtpBookmarkSuggestionsName[] =
2126 "Show recently visited bookmarks on the New Tab page";
2127const char kEnableNtpBookmarkSuggestionsDescription[] =
2128 "If enabled, the list of content suggestions on the New Tab page will "
2129 "contain recently visited bookmarks.";
2130
2131const char kEnableNtpForeignSessionsSuggestionsName[] =
2132 "Show recent foreign tabs on the New Tab page";
2133const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2134 "If enabled, the list of content suggestions on the New Tab page will "
2135 "contain recent foreign tabs.";
2136
Brett Wilsonff596952017-07-14 01:06:552137const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2138 "Show offline page downloads on the New Tab page";
2139const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2140 "If enabled, the list of content suggestions on the New Tab page will "
2141 "contain pages that the user downloaded for later use.";
2142
2143const char kEnableNtpRemoteSuggestionsName[] =
2144 "Show server-side suggestions on the New Tab page";
2145const char kEnableNtpRemoteSuggestionsDescription[] =
2146 "If enabled, the list of content suggestions on the New Tab page will "
2147 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2148 "allows to override the source used to retrieve these server-side "
2149 "suggestions.";
2150
2151const char kEnableNtpSnippetsVisibilityName[] =
2152 "Make New Tab Page Snippets more visible.";
2153const char kEnableNtpSnippetsVisibilityDescription[] =
2154 "If enabled, the NTP snippets will become more discoverable with a larger "
2155 "portion of the first card above the fold.";
2156
2157const char kEnableNtpSuggestionsNotificationsName[] =
2158 "Notify about new content suggestions available at the New Tab page";
2159const char kEnableNtpSuggestionsNotificationsDescription[] =
2160 "If enabled, notifications will inform about new content suggestions on "
2161 "the New Tab page.";
2162
Brett Wilsonff596952017-07-14 01:06:552163const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2164const char kEnableOfflinePreviewsDescription[] =
2165 "Enable showing offline page previews on slow networks.";
2166
2167const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2168const char kEnableOskOverscrollDescription[] =
2169 "Enable OSK overscroll support. With this flag on, the OSK will only "
2170 "resize the visual viewport.";
2171
2172const char kEnableSpecialLocaleName[] =
2173 "Enable custom logic for special locales.";
2174const char kEnableSpecialLocaleDescription[] =
2175 "Enable custom logic for special locales. In this mode, Chrome might "
2176 "behave differently in some locales.";
2177
Brett Wilsonff596952017-07-14 01:06:552178const char kEnableWebNfcName[] = "WebNFC";
2179const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2180
gogeraldf3cbb422017-07-26 14:37:122181const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2182 "Enable Web Payments method section order V2.";
2183const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2184 "Enable this option to display payment method section above address "
2185 "section instead of below it.";
2186
Raymes Khoury582b43132017-12-12 23:54:302187const char kGrantNotificationsToDSEName[] =
2188 "Grant notifications to the Default Search Engine";
2189const char kGrantNotificationsToDSENameDescription[] =
2190 "Automatically grant the notifications permission to the Default Search "
2191 "Engine";
2192
Daniel Parke74fcf862018-03-27 18:05:452193const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512194const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452195
Theresa920e0ed2018-03-07 18:12:442196const char kInterestFeedContentSuggestionsDescription[] =
2197 "Use the interest feed to render content suggestions. Currently content "
2198 "suggestions are shown on the New Tab Page.";
2199const char kInterestFeedContentSuggestionsName[] =
2200 "Interest Feed Content Suggestions";
2201
Brett Wilsonff596952017-07-14 01:06:552202const char kKeepPrefetchedContentSuggestionsName[] =
2203 "Keep prefetched content suggestions";
2204const char kKeepPrefetchedContentSuggestionsDescription[] =
2205 "If enabled, some of prefetched content suggestions are not replaced by "
2206 "the new fetched suggestions.";
2207
Leo Zhang051b75482017-12-20 03:28:302208const char kLanguagesPreferenceName[] = "Language Settings";
2209const char kLanguagesPreferenceDescription[] =
2210 "Enable this option for Language Settings feature on Android.";
2211
Brett Wilsonff596952017-07-14 01:06:552212const char kLsdPermissionPromptName[] =
2213 "Location Settings Dialog Permission Prompt";
2214const char kLsdPermissionPromptDescription[] =
2215 "Whether to use the Google Play Services Location Settings Dialog "
2216 "permission dialog.";
2217
Amirhossein Simjour97b4154f2018-02-20 03:49:592218const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2219const char kModalPermissionDialogViewDescription[] =
2220 "Enable this option to use ModalDialogManager for permission Dialogs.";
2221
Brett Wilsonff596952017-07-14 01:06:552222const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2223const char kMediaScreenCaptureDescription[] =
2224 "Enable this option for experimental ScreenCapture feature on Android.";
2225
2226const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2227const char kModalPermissionPromptsDescription[] =
2228 "Whether to use permission dialogs in place of permission infobars.";
2229
Brett Wilsonff596952017-07-14 01:06:552230const char kNewPhotoPickerName[] = "Enable new Photopicker";
2231const char kNewPhotoPickerDescription[] =
2232 "Activates the new picker for selecting photos.";
2233
2234const char kNoCreditCardAbort[] = "No Credit Card Abort";
2235const char kNoCreditCardAbortDescription[] =
2236 "Whether or not the No Credit Card Abort is enabled.";
2237
Daniel Park990d0992018-05-18 22:12:512238const char kNtpButtonName[] = "Enable NTP Button";
2239const char kNtpButtonDescription[] =
2240 "Displays a New Tab Page button in the toolbar if enabled.";
2241
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062242const char kNtpModernLayoutName[] = "Modern NTP layout";
2243const char kNtpModernLayoutDescription[] =
2244 "Show a modern layout on the New Tab Page.";
2245
Brett Wilsonff596952017-07-14 01:06:552246const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2247const char kNtpGoogleGInOmniboxDescription[] =
2248 "Show a Google G in the omnibox on the New Tab Page.";
2249
Brett Wilsonff596952017-07-14 01:06:552250const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2251const char kOfflineBookmarksDescription[] =
2252 "Enable saving bookmarked pages for offline viewing.";
2253
Brett Wilsonff596952017-07-14 01:06:552254const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2255const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2256
2257const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2258const char kOfflinePagesCtV2Description[] =
2259 "V2 features include attributing pages to the app that initiated the "
2260 "custom tabs, and being able to query for pages by page attribution.";
2261
Cathy Li7311d792018-04-05 00:34:162262const char kOfflinePagesCTSuppressNotificationsName[] =
2263 "Disable download complete notification for whitelisted CCT apps.";
2264const char kOfflinePagesCTSuppressNotificationsDescription[] =
2265 "Disable download complete notification for page downloads originating "
2266 "from a CCT app whitelisted to show their own download complete "
2267 "notification.";
2268
Candice Sy74fa7a352018-03-30 23:46:492269const char kOfflinePagesDescriptiveFailStatusName[] =
2270 "Enables descriptive failed download status text.";
2271const char kOfflinePagesDescriptiveFailStatusDescription[] =
2272 "Enables failed download status text in notifications and Downloads Home "
2273 "to state the reason the request failed if the failure is actionable.";
2274
2275const char kOfflinePagesDescriptivePendingStatusName[] =
2276 "Enables descriptive pending download status text.";
2277const char kOfflinePagesDescriptivePendingStatusDescription[] =
2278 "Enables pending download status text in notifications and Downloads Home "
2279 "to state the reason the request is pending.";
2280
2281const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2282 "Enables offline pages in the downloads home to be opened in CCT.";
2283const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2284 "When enabled offline pages launched from the Downloads Home will be "
2285 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2286
Carlos Knippschild09272ecd2017-12-09 03:29:362287const char kOfflinePagesLimitlessPrefetchingName[] =
2288 "Removes resource usage limits for the prefetching of offline pages.";
2289const char kOfflinePagesLimitlessPrefetchingDescription[] =
2290 "Allows the prefetching of suggested offline pages to ignore resource "
2291 "usage limits. This allows it to completely ignore data usage limitations "
2292 "and allows downloads to happen with any kind of connection.";
2293
Brett Wilsonff596952017-07-14 01:06:552294const char kOfflinePagesLoadSignalCollectingName[] =
2295 "Enables collecting load timing data for offline page snapshots.";
2296const char kOfflinePagesLoadSignalCollectingDescription[] =
2297 "Enables loading completeness data collection while writing an offline "
2298 "page. This data is collected in the snapshotted offline page to allow "
2299 "data analysis to improve deciding when to make the offline snapshot.";
2300
2301const char kOfflinePagesPrefetchingName[] =
2302 "Enables suggested offline pages to be prefetched.";
2303const char kOfflinePagesPrefetchingDescription[] =
2304 "Enables suggested offline pages to be prefetched, so useful content is "
2305 "available while offline.";
2306
Cathy Li3d5379e2017-09-07 00:11:092307const char kOfflinePagesPrefetchingUIName[] =
2308 "Enables prefetched offline pages to be shown in UI.";
2309const char kOfflinePagesPrefetchingUIDescription[] =
2310 "Enables prefetched offline pages to raise notifications and be shown in "
2311 "download home UI.";
2312
Pete Williamson7845dff2017-09-20 11:06:192313const char kOfflinePagesResourceBasedSnapshotName[] =
2314 "Enables offline page snapshots to be based on percentage of page loaded.";
2315const char kOfflinePagesResourceBasedSnapshotDescription[] =
2316 "Enables offline page snapshots to use a resource percentage based "
2317 "approach for determining when the page is loaded as opposed to a time "
2318 "based approach";
2319
Collin Baker17f92a52017-07-19 21:41:252320const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2321const char kOfflinePagesRenovationsDescription[] =
2322 "Enables offline page renovations which correct issues with dynamic "
2323 "content that occur when offlining pages that use JavaScript.";
2324
Brett Wilsonff596952017-07-14 01:06:552325const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2326const char kOfflinePagesSharingDescription[] =
2327 "Enables the saved offline pages to be shared via other applications.";
2328
Cathy Lie0d88762018-04-12 08:03:012329const char kOfflinePagesShowAlternateDinoPageName[] =
2330 "Enable alternate dino page with more user capabilities.";
2331const char kOfflinePagesShowAlternateDinoPageDescription[] =
2332 "Enables the dino page to show more buttons and offer existing offline "
2333 "content.";
2334
Brett Wilsonff596952017-07-14 01:06:552335const char kOfflinePagesSvelteConcurrentLoadingName[] =
2336 "Enables concurrent background loading on svelte.";
2337const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2338 "Enables concurrent background loading (or downloading) of pages on "
2339 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2340 "happen when the svelte device is idle.";
2341
2342const char kOffliningRecentPagesName[] =
2343 "Enable offlining of recently visited pages";
2344const char kOffliningRecentPagesDescription[] =
2345 "Enable storing recently visited pages locally for offline use. Requires "
2346 "Offline Pages to be enabled.";
2347
Lei Zhang2eca9082017-10-17 20:42:502348const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2349const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552350 "Enable Pay with Google integration into Web Payments with API version "
2351 "'1'.";
2352
Matthew Jonesa88b95852017-11-08 23:13:502353const char kProgressBarThrottleName[] = "Android progress update throttling.";
2354const char kProgressBarThrottleDescription[] =
2355 "Limit the maximum progress update to make progress appear smoother.";
2356
Brett Wilsonff596952017-07-14 01:06:552357const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2358const char kPullToRefreshEffectDescription[] =
2359 "Page reloads triggered by vertically overscrolling content.";
2360
Piotr Swigon7c296ef2017-08-29 04:32:002361const char kPwaImprovedSplashScreenName[] =
2362 "Improved Splash Screen for standalone PWAs";
2363const char kPwaImprovedSplashScreenDescription[] =
2364 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2365 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492366const char kPwaPersistentNotificationName[] =
2367 "Persistent notification in standalone PWA";
2368const char kPwaPersistentNotificationDescription[] =
2369 "Enables a persistent Android notification for standalone PWAs";
2370
Brett Wilsonff596952017-07-14 01:06:552371const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2372const char kReaderModeHeuristicsDescription[] =
2373 "Determines what pages the Reader Mode infobar is shown on.";
2374const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2375const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2376const char kReaderModeHeuristicsAllArticles[] = "All articles";
2377const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2378const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2379
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182380const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2381const char kReaderModeInCCTDescription[] =
2382 "Open Reader Mode in Chrome Custom Tabs.";
2383
Brett Wilsonff596952017-07-14 01:06:552384const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2385const char kSetMarketUrlForTestingDescription[] =
2386 "When enabled, sets the market URL for use in testing the update menu "
2387 "item.";
2388
2389const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2390const char kSpannableInlineAutocompleteDescription[] =
2391 "A new type of inline autocomplete for the omnibox that works with "
2392 "keyboards that compose text.";
2393
Theresaeea05a12018-05-09 21:01:592394const char kSimplifiedNtpName[] = "Simplified NTP";
2395const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2396
2397const char kSiteExplorationUiName[] = "Site Exploration UI";
2398const char kSiteExplorationUiDescription[] =
2399 "Show site suggestions in the Exploration UI";
2400
Brett Wilsonff596952017-07-14 01:06:552401const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2402const char kUpdateMenuBadgeDescription[] =
2403 "When enabled, an update badge will be shown on the app menu button.";
2404
2405const char kUpdateMenuItemCustomSummaryDescription[] =
2406 "When this flag and the force show update menu item flag are enabled, a "
2407 "custom summary string will be displayed below the update menu item.";
2408const char kUpdateMenuItemCustomSummaryName[] =
2409 "Update menu item custom summary";
2410
2411const char kUpdateMenuItemName[] = "Force show update menu item";
2412const char kUpdateMenuItemDescription[] =
2413 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2414 R"*(menu.)*";
2415
Amirhossein Simjourd78bbcf2018-02-02 16:23:392416const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2417const char kVrBrowsingNativeAndroidUiDescription[] =
2418 "Enable Android UI elements in VR.";
2419
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462420const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2421const char kVrBrowsingTabsViewDescription[] =
2422 "Enable tab overview (tab switcher) in VR.";
2423
Marc Treib93af46a2017-08-23 13:30:002424const char kThirdPartyDoodlesName[] =
2425 "Enable Doodles for third-party search engines";
2426const char kThirdPartyDoodlesDescription[] =
2427 "Enables fetching and displaying Doodles on the NTP for third-party search "
2428 "engines.";
2429
Klaus Weidneraaf697f2018-01-18 20:07:362430const char kWebXrRenderPathName[] = "WebXR presentation render path";
2431const char kWebXrRenderPathDescription[] =
2432 "Render path to use for WebXR presentation (including WebVR)";
2433const char kWebXrRenderPathChoiceClientWaitDescription[] =
2434 "ClientWait (Baseline)";
2435const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2436 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072437const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2438 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362439
Brett Wilson7b44537e2017-08-18 01:38:282440// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552441
Brett Wilson7b44537e2017-08-18 01:38:282442#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482443
Brett Wilson7b44537e2017-08-18 01:38:282444const char kAccountConsistencyName[] =
2445 "Identity consistency between browser and cookie jar";
2446const char kAccountConsistencyDescription[] =
2447 "When enabled, the browser manages signing in and out of Google accounts.";
2448const char kAccountConsistencyChoiceMirror[] = "Mirror";
2449const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342450
Chris Pickel3a227ae62017-08-24 10:47:262451const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2452const char kDoodlesOnLocalNtpDescription[] =
2453 "Show doodles on the local New Tab page if Google is the default search "
2454 "engine.";
2455
mlamouriff56c092017-05-11 15:31:392456const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392457const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342458 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392459const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392460const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392461const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342462 "Enabled (Flash lowers volume when interrupted by other sound, "
2463 "experimental)";
2464
Brett Wilson7b44537e2017-08-18 01:38:282465const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2466const char kEnableNewAppMenuIconDescription[] =
2467 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342468
Dave Schuyler598a4a42018-01-04 02:15:102469const char kOmniboxRichEntitySuggestionsName[] =
2470 "Omnibox rich entity suggestions";
2471const char kOmniboxRichEntitySuggestionsDescription[] =
2472 "Display entity suggestions using images and an enhanced layout; showing "
2473 "more context and descriptive text about the entity";
2474
Dave Schuyler616273d2018-04-19 03:12:522475const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2476const char kOmniboxNewAnswerLayoutDescription[] =
2477 "Display answers using an enhanced layout with larger images";
2478
Kevin Bailey898669972017-11-06 15:34:492479const char kOmniboxTabSwitchSuggestionsName[] =
2480 "Omnibox tab switch suggestions";
2481const char kOmniboxTabSwitchSuggestionsDescription[] =
2482 "Enable suggestions for switching to open tabs within the Omnibox.";
2483
krbcc621412017-06-01 19:40:282484const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2485const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192486 "Enable receiving tail suggestions, a type of search suggestion based on "
2487 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342488
Brett Wilson7b44537e2017-08-18 01:38:282489const char kOneGoogleBarOnLocalNtpName[] =
2490 "Enable the OneGoogleBar on the local NTP";
2491const char kOneGoogleBarOnLocalNtpDescription[] =
2492 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2493 "search engine.";
2494
Brett Wilson7b44537e2017-08-18 01:38:282495const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2496const char kUseGoogleLocalNtpDescription[] =
2497 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322498
Brett Wilson7b44537e2017-08-18 01:38:282499const char kVoiceSearchOnLocalNtpName[] =
2500 "Enable Voice Search on the local NTP";
2501const char kVoiceSearchOnLocalNtpDescription[] =
2502 "Show a microphone for voice search on the local New Tab page "
2503 "if Google is the default search engine.";
2504
Balazs Engedy00c5cea2018-03-30 15:36:392505const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422506const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392507 "Enable Web Authentication API support";
2508
2509const char kEnableWebAuthenticationTestingAPIName[] =
2510 "Web Authentication Testing API";
2511const char kEnableWebAuthenticationTestingAPIDescription[] =
2512 "Enable Web Authentication Testing API support, which disconnects the API "
2513 "implementation from the real world, and allows configuring virtual "
2514 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422515
Brett Wilson7b44537e2017-08-18 01:38:282516#if defined(GOOGLE_CHROME_BUILD)
2517
2518const char kGoogleBrandedContextMenuName[] =
2519 "Google branding in the context menu";
2520const char kGoogleBrandedContextMenuDescription[] =
2521 "Shows a Google icon next to context menu items powered by Google "
2522 "services.";
2523
2524#endif // !defined(GOOGLE_CHROME_BUILD)
2525
2526#endif // !defined(OS_ANDROID)
2527
2528// Windows ---------------------------------------------------------------------
2529
2530#if defined(OS_WIN)
2531
2532const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2533const char kCloudPrintXpsDescription[] =
2534 "XPS enables advanced options for classic printers connected to the Cloud "
2535 "Print with Chrome. Printers must be re-connected after changing this "
2536 "flag.";
2537
Dave Tapuskadd43469d2017-08-22 22:15:532538const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2539const char kDirectManipulationStylusDescription[] =
2540 "If enabled, Chrome will scroll web pages on stylus drag.";
2541
Brett Wilson7b44537e2017-08-18 01:38:282542const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2543const char kDisablePostscriptPrintingDescription[] =
2544 "Disables PostScript generation when printing to PostScript capable "
2545 "printers, and uses EMF generation in its place.";
2546
2547const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2548const char kEnableAppcontainerDescription[] =
2549 "Enables the use of an AppContainer on sandboxed processes to improve "
2550 "security.";
2551
2552const char kEnableD3DVsync[] = "D3D v-sync";
2553const char kEnableD3DVsyncDescription[] =
2554 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2555 "to occur.";
2556
2557const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2558const char kEnableDesktopIosPromotionsDescription[] =
2559 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2560 "eligible.";
2561
James Forshawfd0ce342018-02-14 09:55:392562const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2563const char kEnableGpuAppcontainerDescription[] =
2564 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2565 "improve security.";
2566
Brett Wilson7b44537e2017-08-18 01:38:282567const char kGdiTextPrinting[] = "GDI Text Printing";
2568const char kGdiTextPrintingDescription[] =
2569 "Use GDI to print text as simply text";
2570
Henrik Grunell67e56ef2018-04-10 14:04:092571const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2572const char kIncreaseInputAudioBufferSizeDescription[] =
2573 "Increases the input audio endpoint buffer to 100 ms.";
2574
Brett Wilson7b44537e2017-08-18 01:38:282575const char kTraceExportEventsToEtwName[] =
2576 "Enable exporting of tracing events to ETW.";
2577const char kTraceExportEventsToEtwDesription[] =
2578 "If enabled, trace events will be exported to the Event Tracing for "
2579 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2580 "Xperf.";
2581
2582const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2583const char kUseWinrtMidiApiDescription[] =
2584 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2585 "later).";
2586
2587const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2588const char kWindows10CustomTitlebarDescription[] =
2589 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2590 "deferring to Windows.";
2591
2592#endif // defined(OS_WIN)
2593
2594// Mac -------------------------------------------------------------------------
2595
2596#if defined(OS_MACOSX)
2597
Brett Wilson7b44537e2017-08-18 01:38:282598const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2599const char kAppWindowCyclingDescription[] =
2600 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2601 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2602 "browser window, and browser windows will not be cycled when a Chrome App "
2603 "is active.";
2604
Brett Wilson7b44537e2017-08-18 01:38:282605const char kFullscreenToolbarRevealName[] =
2606 "Enables the toolbar in fullscreen to reveal itself.";
2607const char kFullscreenToolbarRevealDescription[] =
2608 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2609 "has changed.";
2610
2611const char kContentFullscreenName[] = "Improved Content Fullscreen";
2612const char kContentFullscreenDescription[] =
2613 "Fullscreen content window detaches from main browser window and goes to "
2614 "a new space without moving or changing the original browser window.";
2615
Lei Zhang2eca9082017-10-17 20:42:502616const char kDialogTouchBarName[] = "Dialog Touch Bar";
2617const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282618 "Shows Dialog buttons on the Touch Bar.";
2619
2620const char kHostedAppsInWindowsName[] =
2621 "Allow hosted apps to be opened in windows";
2622const char kHostedAppsInWindowsDescription[] =
2623 "Allows hosted apps to be opened in windows instead of being limited to "
2624 "tabs.";
2625
Lei Zhang2eca9082017-10-17 20:42:502626const char kMacRTLName[] = "Enable RTL";
2627const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282628
Lei Zhang2eca9082017-10-17 20:42:502629const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2630const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522631 "Enables sharing via macOS share extensions.";
2632
Lei Zhang2eca9082017-10-17 20:42:502633const char kMacTouchBarName[] = "Hardware Touch Bar";
2634const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282635
2636const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2637const char kMacV2SandboxDescription[] =
2638 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2639 "entire life cycle.";
2640
2641const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2642const char kMacViewsNativeAppWindowsDescription[] =
2643 "Controls whether to use Toolkit-Views based Chrome App windows.";
2644
2645const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2646const char kMacViewsTaskManagerDescription[] =
2647 "Controls whether to use the Toolkit-Views based Task Manager.";
2648
2649const char kTabDetachingInFullscreenName[] =
2650 "Allow tab detaching in fullscreen";
2651const char kTabDetachingInFullscreenDescription[] =
2652 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2653
2654const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2655const char kTabStripKeyboardFocusDescription[] =
2656 "Enable keyboard focus for the tabs in the tab strip.";
2657
Brett Wilson7b44537e2017-08-18 01:38:282658#endif
2659
2660// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342661
2662#if defined(OS_CHROMEOS)
2663
Brett Wilson7b44537e2017-08-18 01:38:282664const char kAcceleratedMjpegDecodeName[] =
2665 "Hardware-accelerated mjpeg decode for captured frame";
2666const char kAcceleratedMjpegDecodeDescription[] =
2667 "Enable hardware-accelerated mjpeg decode for captured frame where "
2668 "available.";
vabr0215a8e2017-03-28 12:47:342669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2671const char kAllowTouchpadThreeFingerClickDescription[] =
2672 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342673
Brett Wilson7b44537e2017-08-18 01:38:282674const char kArcBootCompleted[] = "Load Android apps automatically";
2675const char kArcBootCompletedDescription[] =
2676 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342677
Lev Rumyantsev7a8544312017-08-18 19:26:512678const char kArcNativeBridgeExperimentName[] =
2679 "Enable native bridge experiment for ARC";
2680const char kArcNativeBridgeExperimentDescription[] =
2681 "Enables experimental native bridge feature.";
2682
lgchengecd1c1a62018-01-09 02:59:462683const char kArcUsbHostName[] = "Enable ARC USB host integration";
2684const char kArcUsbHostDescription[] =
2685 "Allow Android apps to use USB host feature on ChromeOS devices.";
2686
Kevin Cernekeeb7f96a52017-10-25 17:40:182687const char kArcVpnName[] = "Enable ARC VPN integration";
2688const char kArcVpnDescription[] =
2689 "Allow Android VPN clients to tunnel Chrome traffic.";
2690
Qiang Xu045aff222018-05-21 23:21:012691const char kAshDisableLoginDimAndBlurName[] =
2692 "Disable dimming and blur on login screen.";
2693const char kAshDisableLoginDimAndBlurDescription[] =
2694 "Disable dimming and blur on login screen.";
2695
2696const char kAshDisableSmoothScreenRotationName[] =
2697 "Disable smooth rotation animations.";
2698const char kAshDisableSmoothScreenRotationDescription[] =
2699 "Disable smooth rotation animations.";
2700
2701const char kAshEnableDisplayMoveWindowAccelsName[] =
2702 "Enable shortcuts for moving window between displays.";
2703const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2704 "Enable shortcuts for moving window between displays.";
2705
2706const char kAshEnableKeyboardShortcutViewerName[] =
2707 "Enable keyboard shortcut viewer.";
2708const char kAshEnableKeyboardShortcutViewerDescription[] =
2709 "Enable keyboard shortcut viewer.";
2710
2711const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2712const char kAshEnableMirroredScreenDescription[] =
2713 "Enable the mirrored screen mode. This mode flips the screen image "
2714 "horizontally.";
2715
2716const char kAshEnableNewOverviewAnimationsName[] =
2717 "Enable new overview animations.";
2718const char kAshEnableNewOverviewAnimationsDescription[] =
2719 "Enables the new overview mode animations.";
2720
2721const char kAshEnablePersistentWindowBoundsName[] =
2722 "Enable persistent window bounds in multi-displays scenario.";
2723const char kAshEnablePersistentWindowBoundsDescription[] =
2724 "Enable persistent window bounds in multi-displays scenario.";
2725
2726const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2727const char kAshEnableTrilinearFilteringDescription[] =
2728 "Enable trilinear filtering.";
2729
Brett Wilson7b44537e2017-08-18 01:38:282730const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2731const char kAshEnableUnifiedDesktopDescription[] =
2732 "Enable unified desktop mode which allows a window to span multiple "
2733 "displays.";
vabr0215a8e2017-03-28 12:47:342734
Qiang Xu045aff222018-05-21 23:21:012735const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2736const char kAshShelfColorDescription[] =
2737 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2738 "--ash-shelf-color-scheme flag defines how that color is derived.";
2739
2740const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2741const char kAshShelfColorSchemeDescription[] =
2742 "Specify how the color is derived from the wallpaper. This flag is only "
2743 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2744const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2745const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2746const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2747const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2748const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2749const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2750
Sean Kau5e956192017-10-06 22:25:172751const char kBulkPrintersName[] = "Bulk Printers Policy";
2752const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2753
Brett Wilson7b44537e2017-08-18 01:38:282754const char kCaptivePortalBypassProxyName[] =
2755 "Bypass proxy for Captive Portal Authorization";
2756const char kCaptivePortalBypassProxyDescription[] =
2757 "If proxy is configured, it usually prevents from authorization on "
2758 "different captive portals. This enables opening captive portal "
2759 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342760
Brett Wilson7b44537e2017-08-18 01:38:282761const char kCrOSComponentName[] = "Chrome OS Component";
2762const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082763 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342764
Xiaochu Liu51d03fd2017-09-08 23:51:022765const char kCrOSContainerName[] = "Chrome OS Container";
2766const char kCrOSContainerDescription[] =
2767 "Enable the use of Chrome OS Container utility.";
2768
Brett Wilson7b44537e2017-08-18 01:38:282769const char kCrosRegionsModeName[] = "Cros-regions load mode";
2770const char kCrosRegionsModeDescription[] =
2771 "This flag controls cros-regions load mode";
2772const char kCrosRegionsModeDefault[] = "Default";
2773const char kCrosRegionsModeOverride[] = "Override VPD values.";
2774const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342775
Jacob Dufault2becbc482017-08-25 00:36:352776const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2777const char kDisableLockScreenAppsDescription[] =
2778 "Disable new-note action handler apps on the lock screen. The user will "
2779 "not be able to launch the preferred note-taking action from the lock "
2780 "screen, provided that the app supports lock screen note taking.";
2781
Qiang Xu045aff222018-05-21 23:21:012782const char kDisableNetworkSettingsConfigName[] =
2783 "Disable Settings based Network Configuration";
2784const char kDisableNetworkSettingsConfigDescription[] =
2785 "Disables the Settings based network configuration UI and restores the "
2786 "Views based configuration dialog.";
2787
2788const char kDisableSystemTimezoneAutomaticDetectionName[] =
2789 "SystemTimezoneAutomaticDetection policy support";
2790const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2791 "Disable system timezone automatic detection device policy.";
2792
Sammie Quonef6b4882017-09-14 16:50:052793const char kDisableTabletAutohideTitlebarsName[] =
2794 "Disable autohide titlebars in tablet mode";
2795const char kDisableTabletAutohideTitlebarsDescription[] =
2796 "Disable tablet mode autohide titlebars functionality. The user will be "
2797 "able to see the titlebar in tablet mode.";
2798
Xiaoqian Dai24b33eb2018-04-10 21:01:572799const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2800const char kDisableTabletSplitViewDescription[] =
2801 "Disable split view for Chrome OS tablet mode.";
2802
Qiang Xu53d1a5832018-05-24 18:44:192803const char kEnableAppShortcutSearchName[] =
2804 "Enable app shortcut search in launcher";
2805const char kEnableAppShortcutSearchDescription[] =
2806 "Enables app shortcut search in launcher";
2807
Lei Zhang2eca9082017-10-17 20:42:502808const char kEnableBackgroundBlurName[] = "Enable background blur.";
2809const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422810 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392811
Brett Wilson7b44537e2017-08-18 01:38:282812const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2813const char kEnableChromevoxArcSupportDescription[] =
2814 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342815
F#m75862c92018-01-25 19:10:472816const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2817const char kEnableDisplayZoomSettingDescription[] =
2818 "Allows the user to modify the display size or zoom via the chrome display "
2819 "settings page.";
2820
Xiaoqian Dai82d99192018-05-25 18:51:352821const char kEnableDragTabsInTabletModeName[] =
2822 "Enable dragging tabs in tablet mode";
2823const char kEnableDragTabsInTabletModeDescription[] =
2824 "Allows the user to drag the tabs out of a browser window in tablet mode.";
2825
Brett Wilson7b44537e2017-08-18 01:38:282826const char kEnableEhvInputName[] =
2827 "Emoji, handwriting and voice input on opt-in IME menu";
2828const char kEnableEhvInputDescription[] =
2829 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342830
Brett Wilson7b44537e2017-08-18 01:38:282831const char kEnableEncryptionMigrationName[] =
2832 "Enable encryption migration of user data";
2833const char kEnableEncryptionMigrationDescription[] =
2834 "If enabled and the device supports ARC, the user will be asked to update "
2835 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342836
Blake O'Hare9e9317b22017-10-24 02:49:352837const char kEnableFloatingVirtualKeyboardName[] =
2838 "Enable floating virtual keyboard";
2839const char kEnableFloatingVirtualKeyboardDescription[] =
2840 "If enabled, the keyboard will use floating behavior by default.";
2841
Qiang Xu045aff222018-05-21 23:21:012842const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2843 "Enable full screen handwriting virtual keyboard";
2844const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2845 "If enabled, the handwriting virtual keyboard will allow user to write "
2846 "anywhere on the screen";
2847
2848const char kEnableHomeLauncherName[] = "Enable home launcher";
2849const char kEnableHomeLauncherDescription[] =
2850 "Enable home launcher in tablet mode.";
2851
Brett Wilson7b44537e2017-08-18 01:38:282852const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2853const char kEnableImeMenuDescription[] =
2854 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342855
Qiang Xu045aff222018-05-21 23:21:012856const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2857const char kEnableNewWallpaperPickerDescription[] =
2858 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2859
2860const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2861const char kEnablePerUserTimezoneDescription[] =
2862 "Chrome OS system timezone preference is stored and handled for each user "
2863 "individually.";
2864
2865const char kEnableSettingsShortcutSearchName[] =
2866 "Enable Settings shortcut search";
2867const char kEnableSettingsShortcutSearchDescription[] =
2868 "Enable Settings shortcut search in launcher.";
2869
Darren Shen3e49c63d2018-03-28 04:45:502870const char kEnableStylusVirtualKeyboardName[] =
2871 "Enable stylus virtual keyboard";
2872const char kEnableStylusVirtualKeyboardDescription[] =
2873 "If enabled, tapping with a stylus will show the handwriting virtual "
2874 "keyboard.";
2875
Jordy Greenblatt2f23df22018-02-22 19:49:192876const char kEnableUnifiedMultiDeviceSettingsName[] =
2877 "Enable unified MultiDevice settings";
2878const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2879 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2880 "MultiDevice settings.";
2881
2882const char kEnableUnifiedMultiDeviceSetupName[] =
2883 "Enable unified MultiDevice setup";
2884const char kEnableUnifiedMultiDeviceSetupDescription[] =
2885 "Enable the device to setup all MultiDevice services in a single workflow.";
2886
Klemen Kozjek05fc4512017-10-18 12:51:102887const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2888const char kEnableZipArchiverPackerDescription[] =
2889 "Enable the ability to archive files on Drive in the Files app";
2890
Brett Wilson7b44537e2017-08-18 01:38:282891const char kEolNotificationName[] = "Disable Device End of Life notification.";
2892const char kEolNotificationDescription[] =
2893 "Disable Notifcation when Device is End of Life.";
2894
2895const char kExperimentalAccessibilityFeaturesName[] =
2896 "Experimental accessibility features";
2897const char kExperimentalAccessibilityFeaturesDescription[] =
2898 "Enable additional accessibility features in the Settings page.";
2899
2900const char kExperimentalInputViewFeaturesName[] =
2901 "Experimental input view features";
2902const char kExperimentalInputViewFeaturesDescription[] =
2903 "Enable experimental features for IME input views.";
2904
2905const char kFileManagerTouchModeName[] = "Files App. touch mode";
2906const char kFileManagerTouchModeDescription[] =
2907 "Touchscreen-specific interactions of the Files app.";
2908
2909const char kFirstRunUiTransitionsName[] =
2910 "Animated transitions in the first-run tutorial";
2911const char kFirstRunUiTransitionsDescription[] =
2912 "Transitions during first-run tutorial are animated.";
2913
Brett Wilson7b44537e2017-08-18 01:38:282914const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2915const char kForceEnableStylusToolsDescription[] =
2916 "Forces display of the stylus tools menu in the shelf and the stylus "
2917 "section in settings, even if there is no attached stylus device.";
2918
2919const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2920const char kGestureEditingDescription[] =
2921 "Enable/Disable gesture editing option in the settings page for the "
2922 "virtual keyboard.";
2923
2924const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2925const char kGestureTypingDescription[] =
2926 "Enable/Disable gesture typing option in the settings page for the virtual "
2927 "keyboard.";
2928
2929const char kInputViewName[] = "Input views";
2930const char kInputViewDescription[] =
2931 "Enable IME extensions to supply custom views for user input such as "
2932 "virtual keyboards.";
2933
Megumi Hattori5a0d4182018-03-06 11:09:502934const char kLockScreenNotificationName[] = "Lock screen notification";
2935const char kLockScreenNotificationDescription[] =
2936 "Enable notifications on the lock screen.";
2937
Qiang Xu045aff222018-05-21 23:21:012938const char kMaterialDesignInkDropAnimationSpeedName[] =
2939 "Material design ink drop animation speed";
2940const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2941 "Sets the speed of the experimental visual feedback animations for "
2942 "material design.";
2943const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2944const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2945
Brett Wilson7b44537e2017-08-18 01:38:282946const char kMemoryPressureThresholdName[] =
2947 "Memory discard strategy for advanced pressure handling";
2948const char kMemoryPressureThresholdDescription[] =
2949 "Memory discarding strategy to use";
2950const char kConservativeThresholds[] =
2951 "Conservative memory pressure release strategy";
2952const char kAggressiveCacheDiscardThresholds[] =
2953 "Aggressive cache release strategy";
2954const char kAggressiveTabDiscardThresholds[] =
2955 "Aggressive tab release strategy";
2956const char kAggressiveThresholds[] =
2957 "Aggressive tab and cache release strategy";
2958
2959const char kMtpWriteSupportName[] = "MTP write support";
2960const char kMtpWriteSupportDescription[] =
2961 "MTP write support in File System API (and file manager). In-place editing "
2962 "operations are not supported.";
2963
2964const char kMultideviceName[] = "Enable multidevice features";
2965const char kMultideviceDescription[] =
2966 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342967
Kyle Horimoto027590fb2018-02-13 22:19:482968const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2969const char kMultiDeviceApiDescription[] =
2970 "Enable Mojo-based API which provides synced device metadata and the "
2971 "ability to connect to other devices associated the logged-in Google "
2972 "account.";
2973
Bailey Berrodca8eeca02017-11-18 00:49:122974const char kNativeSmbName[] = "Native Smb Client";
2975const char kNativeSmbDescription[] =
2976 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302977
vabr0215a8e2017-03-28 12:47:342978const char kNetworkPortalNotificationName[] =
2979 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342980const char kNetworkPortalNotificationDescription[] =
2981 "If enabled, notification is displayed when device is connected to a "
2982 "network behind captive portal.";
2983
Brett Wilson7b44537e2017-08-18 01:38:282984const char kNewKoreanImeName[] = "New Korean IME";
2985const char kNewKoreanImeDescription[] =
2986 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342987
Brett Wilson7b44537e2017-08-18 01:38:282988const char kNewZipUnpackerName[] = "New ZIP unpacker";
2989const char kNewZipUnpackerDescription[] =
2990 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342991
Qiang Xu045aff222018-05-21 23:21:012992const char kOfficeEditingComponentAppName[] =
2993 "Office Editing for Docs, Sheets & Slides";
2994const char kOfficeEditingComponentAppDescription[] =
2995 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2996
Brett Wilson7b44537e2017-08-18 01:38:282997const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2998const char kPhysicalKeyboardAutocorrectDescription[] =
2999 "Enable physical keyboard autocorrect for US keyboard, which can provide "
3000 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:343001
3002const char kPrinterProviderSearchAppName[] =
3003 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:343004const char kPrinterProviderSearchAppDescription[] =
3005 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:193006 "searches Chrome Web Store for extensions that support printing to a USB "
3007 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:343008
Brett Wilson7b44537e2017-08-18 01:38:283009const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
3010const char kQuickUnlockPinDescription[] =
3011 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
3012 "device on the lock screen after you have signed into your device.";
3013const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3014const char kQuickUnlockPinSigninDescription[] =
3015 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3016 "device. After changing this flag PIN needs to be set up again.";
3017const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3018const char kQuickUnlockFingerprintDescription[] =
3019 "Enabling fingerprint quick unlock allows you to setup and use a "
3020 "fingerprint to unlock your Chromebook on the lock screen after you have "
3021 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343022
James Cook0ba192bf2017-12-01 20:53:113023const char kShowTapsName[] = "Show taps";
3024const char kShowTapsDescription[] =
3025 "Draws a circle at each touch point, which makes touch points more obvious "
3026 "when projecting or mirroring the display. Similar to the Android OS "
3027 "developer option.";
3028
3029const char kShowTouchHudName[] = "Show HUD for touch points";
3030const char kShowTouchHudDescription[] =
3031 "Shows a trail of colored dots for the last few touch points. Pressing "
3032 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3033 "debug hardware issues that generate spurious touch events.";
3034
Chung-Sheng Wu468b0b32017-09-01 14:41:573035const char kSysInternalsName[] = "Enable Sys-Internals";
3036const char kSysInternalsDescription[] =
3037 "If enabled, user can monitor system information at "
3038 "chrome://sys-internals.";
3039
James Cooka9384092018-05-23 02:54:263040const char kTapVisualizerAppName[] = "Show taps with mojo app";
3041const char kTapVisualizerAppDescription[] =
3042 "Use an out-of-process mojo app to show touch points.";
3043
Brett Wilson7b44537e2017-08-18 01:38:283044const char kTeamDrivesName[] = "Enable Team Drives Integration";
3045const char kTeamDrivesDescription[] =
3046 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343047
Brett Wilson7b44537e2017-08-18 01:38:283048const char kTetherName[] = "Instant Tethering";
3049const char kTetherDescription[] =
3050 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3051 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373052
Brett Wilson7b44537e2017-08-18 01:38:283053const char kTouchscreenCalibrationName[] =
3054 "Enable/disable touchscreen calibration option in material design settings";
3055const char kTouchscreenCalibrationDescription[] =
3056 "If enabled, the user can calibrate the touch screen displays in "
3057 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093058
Qiang Xu045aff222018-05-21 23:21:013059const char kUiDevToolsName[] = "Enable native UI inspection";
3060const char kUiDevToolsDescription[] =
3061 "Enables inspection of native UI elements. For local inspection use "
3062 "chrome://inspect#other";
3063
3064const char kUiShowCompositedLayerBordersName[] =
3065 "Show UI composited layer borders";
3066const char kUiShowCompositedLayerBordersDescription[] =
3067 "Show border around composited layers created by UI.";
3068const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3069const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3070const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3071const char kUiShowCompositedLayerBordersAll[] = "All";
3072
3073const char kUiSlowAnimationsName[] = "Slow UI animations";
3074const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3075
Mitsuru Oshima63d3f2a2017-08-23 00:12:113076// Force UI Mode
3077const char kUiModeName[] = "Force Ui Mode";
3078const char kUiModeDescription[] =
3079 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3080 R"*(despite its current orientation. "Tablet" means that the )*"
3081 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3082 R"*(means that the chromebook will act as if it were in clamshell )*"
3083 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3084 R"*(the two, based on its orientation.)*";
3085const char kUiModeTablet[] = "TouchView";
3086const char kUiModeClamshell[] = "Clamshell";
3087const char kUiModeAuto[] = "Auto (default)";
3088
James Cooka1bcfa9a2018-01-30 00:18:403089const char kUseMashName[] = "Out-of-process system UI (mash)";
3090const char kUseMashDescription[] =
3091 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3092 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283093
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343094// TODO(mcasas): remove after https://crbug.com/771345.
3095const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3096const char kUseMonitorColorSpaceDescription[] =
3097 "Enables Chrome to use the color space information provided by the monitor"
3098 " instead of the default sRGB color space.";
3099
Brett Wilson7b44537e2017-08-18 01:38:283100const char kVideoPlayerChromecastSupportName[] =
3101 "Experimental Chromecast support for Video Player";
3102const char kVideoPlayerChromecastSupportDescription[] =
3103 "This option enables experimental Chromecast support for Video Player app "
3104 "on ChromeOS.";
3105
3106const char kVirtualKeyboardName[] = "Virtual Keyboard";
3107const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3108
3109const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3110const char kVirtualKeyboardOverscrollDescription[] =
3111 "Enables virtual keyboard overscroll support.";
3112
3113const char kVoiceInputName[] = "Voice input on virtual keyboard";
3114const char kVoiceInputDescription[] =
3115 "Enables voice input on virtual keyboard.";
3116
3117const char kWakeOnPacketsName[] = "Wake On Packets";
3118const char kWakeOnPacketsDescription[] =
3119 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203120
Qiang Xu53d1a5832018-05-24 18:44:193121const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
3122const char kZipArchiverUnpackerDescription[] =
3123 "Enable or disable the ability to unpack archives in incognito mode";
3124
yhanadac5bff5b2017-05-18 06:37:093125#endif // defined(OS_CHROMEOS)
3126
Brett Wilson7b44537e2017-08-18 01:38:283127// Random platform combinations -----------------------------------------------
3128
3129#if defined(OS_WIN) || defined(OS_LINUX)
3130
3131const char kEnableInputImeApiName[] = "Enable Input IME API";
3132const char kEnableInputImeApiDescription[] =
3133 "Enable the use of chrome.input.ime API.";
3134
Tom Anderson6cbd5052018-05-03 23:49:543135#if !defined(OS_CHROMEOS)
3136
3137const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3138const char kWarnBeforeQuittingFlagDescription[] =
3139 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3140
3141#endif // !defined(OS_CHROMEOS)
3142
Brett Wilson7b44537e2017-08-18 01:38:283143#endif // defined(OS_WIN) || defined(OS_LINUX)
3144
3145#if defined(OS_WIN) || defined(OS_MACOSX)
3146
3147const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3148const char kAutomaticTabDiscardingDescription[] =
3149 "If enabled, tabs get automatically discarded from memory when the system "
3150 "memory is low. Discarded tabs are still visible on the tab strip and get "
3151 "reloaded when clicked on. Info about discarded tabs can be found at "
3152 "chrome://discards.";
3153
3154#endif // defined(OS_WIN) || defined(OS_MACOSX)
3155
Elly Fong-Jonesdfaf8532018-05-29 18:20:483156#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
3157
3158const char kUiFoodName[] = "Use all upcoming UI features";
3159const char kUiFoodDescription[] = "Use all upcoming UI features.";
3160
3161#endif
3162
Brett Wilson7b44537e2017-08-18 01:38:283163// Feature flags --------------------------------------------------------------
3164
3165#if BUILDFLAG(ENABLE_VR)
3166
David Dorwin5a496c32017-11-17 01:45:053167const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3168const char kWebVrVsyncAlignDescription[] =
3169 "Align WebVR application rendering with VSync for smoother animations.";
3170
Brett Wilson7b44537e2017-08-18 01:38:283171#if defined(OS_ANDROID)
3172
Yash Malikb78e72a72018-02-21 09:14:103173const char kVrWebInputEditingName[] = "VR browsing web input editing";
3174const char kVrWebInputEditingDescription[] =
3175 "Allow editing web input fields while in VR mode.";
3176
David Dorwin5a496c32017-11-17 01:45:053177const char kVrBrowsingExperimentalFeaturesName[] =
3178 "VR browsing experimental features";
3179const char kVrBrowsingExperimentalFeaturesDescription[] =
3180 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283181
David Dorwin5a496c32017-11-17 01:45:053182const char kVrBrowsingExperimentalRenderingName[] =
3183 "VR browsing experimental rendering features";
3184const char kVrBrowsingExperimentalRenderingDescription[] =
3185 "Experimental rendering features for VR browsing (e.g. power-saving "
3186 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103187
David Dorwin5a496c32017-11-17 01:45:053188const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3189const char kVrBrowsingInCustomTabDescription[] =
3190 "Allow browsing within a VR headset while in a Custom Tab.";
3191
Michael Thiessen37895912018-01-19 20:15:543192const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3193const char kVrIconInDaydreamHomeDescription[] =
3194 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3195
David Dorwin5a496c32017-11-17 01:45:053196const char kWebVrAutopresentFromIntentName[] =
3197 "WebVR auto presentation from intents";
3198const char kWebVrAutopresentFromIntentDescription[] =
3199 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283200
3201#endif // OS_ANDROID
3202
Bill Orr103ed272018-02-14 21:23:053203#if BUILDFLAG(ENABLE_OCULUS_VR)
3204const char kOculusVRName[] = "Oculus hardware support";
3205const char kOculusVRDescription[] =
3206 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3207 "Windows 10 or later).";
3208#endif // ENABLE_OCULUS_VR
3209
Bill Orr49527562017-11-22 16:58:483210#if BUILDFLAG(ENABLE_OPENVR)
3211const char kOpenVRName[] = "OpenVR hardware support";
3212const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073213 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3214 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483215#endif // ENABLE_OPENVR
3216
Brett Wilson7b44537e2017-08-18 01:38:283217#endif // ENABLE_VR
3218
Nico Weberaf3b00b2017-09-11 17:58:173219#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283220
3221const char kNaclDebugMaskName[] =
3222 "Restrict Native Client GDB-based debugging by pattern";
3223const char kNaclDebugMaskDescription[] =
3224 "Restricts Native Client application GDB-based debugging by URL of "
3225 "manifest file. Native Client GDB-based debugging must be enabled for this "
3226 "option to work.";
3227const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3228const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3229 "Debug everything except secure shell and the PNaCl translator.";
3230const char kNaclDebugMaskChoiceIncludeDebug[] =
3231 "Debug only if manifest URL ends with debug.nmf.";
3232
3233const char kNaclDebugName[] = "Native Client GDB-based debugging";
3234const char kNaclDebugDescription[] =
3235 "Enable GDB debug stub. This will stop a Native Client application on "
3236 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3237
3238const char kNaclName[] = "Native Client";
3239const char kNaclDescription[] =
3240 "Support Native Client for all web applications, even those that were not "
3241 "installed from the Chrome Web Store.";
3242
3243const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3244const char kPnaclSubzeroDescription[] =
3245 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3246
Nico Weberaf3b00b2017-09-11 17:58:173247#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283248
Brett Wilson7b44537e2017-08-18 01:38:283249const char kWebrtcH264WithOpenh264FfmpegName[] =
3250 "WebRTC H.264 software video encoder/decoder";
3251const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3252 "When enabled, an H.264 software video encoder/decoder pair is included. "
3253 "If a hardware encoder/decoder is also available it may be used instead of "
3254 "this encoder/decoder.";
3255
Brett Wilson7b44537e2017-08-18 01:38:283256#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3257
3258const char kAutofillCreditCardUploadName[] =
3259 "Enable offering upload of Autofilled credit cards";
3260const char kAutofillCreditCardUploadDescription[] =
3261 "Enables a new option to upload credit cards to Google Payments for sync "
3262 "to all Chrome devices.";
3263
3264#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3265
Becca Hughesdc96e842018-05-04 22:48:283266#if defined(OS_ANDROID)
3267
3268const char kDisplayCutoutAPIName[] =
3269 "Enable support for the Display Cutout API";
3270const char kDisplayCutoutAPIDescription[] =
3271 "Enables developers to support devices that have a display cutout.";
3272
3273#endif // defined(OS_ANDROID)
3274
Brett Wilson7b44537e2017-08-18 01:38:283275// ============================================================================
3276// Don't just add flags to the end, put them in the right section in
3277// alphabetical order just like the header file.
3278// ============================================================================
3279
vabr0215a8e2017-03-28 12:47:343280} // namespace flag_descriptions