blob: 2c86f039e6c96b2e5aaa876d110bf2a42885b9d6 [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
Sathya Gunasekaranbc706d62018-02-09 21:44:2250const char kArrayPrototypeValuesName[] = "Array.prototype.values ES6 method";
51const char kArrayPrototypeValuesDescription[] =
52 "Enables Array.prototype.values method";
53
Khushalba202212017-07-12 19:53:4954const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
55const char kAsyncImageDecodingDescription[] =
56 "Enables asynchronous decoding of images from raster for web content";
57
sebsge35b762c2018-03-29 20:33:2758const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
59const char kAutofillDynamicFormsDescription[] =
60 "Allows autofill to fill dynamically changing forms";
61
Roger McFarlane1a37d7b2018-04-20 22:45:1962const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
63 "Autofill Enforce Min Required Fields For Heuristics";
64const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
65 "When enabled, autofill will generally require a form to have at least 3 "
66 "fields before allowing heuristic field-type prediction to occur.";
67
68const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
69 "Autofill Enforce Min Required Fields For Query";
70const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
71 "When enabled, autofill will generally require a form to have at least 3 "
72 "fields before querying the autofill server for field-type predictions.";
73
74const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
75 "Autofill Enforce Min Required Fields For Upload";
76const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
77 "When enabled, autofill will generally require a form to have at least 3 "
78 "fillable fields before uploading field-type votes for that form.";
79
Moe Ahmadid3ddfcb2018-04-20 19:51:0880const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
81 "Restrict formless form extraction";
82const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
83 "Restrict extraction of formless forms to checkout flows";
84
Brett Wilsonf27ff602017-07-07 22:28:4785const char kAutoplayPolicyName[] = "Autoplay policy";
86const char kAutoplayPolicyDescription[] =
87 "Policy used when deciding if audio or video is allowed to autoplay.";
88
89const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
90 "User gesture is required for cross-origin iframes.";
91const char kAutoplayPolicyNoUserGestureRequired[] =
92 "No user gesture is required.";
93const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
94const char kAutoplayPolicyDocumentUserActivation[] =
95 "Document user activation is required.";
96
Johanne0cc6902017-11-16 00:23:5097extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
98extern const char kAv1DecoderDescription[] =
99 "Allow decoding of files with the AV1 video codec.";
100
Brett Wilsonf27ff602017-07-07 22:28:47101const char kBackgroundVideoTrackOptimizationName[] =
102 "Optimize background video playback.";
103const char kBackgroundVideoTrackOptimizationDescription[] =
104 "Disable video tracks when the video is played in the background to "
105 "optimize performance.";
106
107const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
108const char kBleAdvertisingInExtensionsDescription[] =
109 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
110 "with regular use of Bluetooth Low Energy features.";
111
Charles Harrisond629cc62017-10-05 01:39:54112const char kBlockTabUndersName[] = "Block tab-unders";
113const char kBlockTabUndersDescription[] =
114 "Blocks tab-unders in Chrome with some native UI to allow the user to "
115 "proceed.";
116
Brett Wilsonf27ff602017-07-07 22:28:47117const char kBrowserTaskSchedulerName[] = "Task Scheduler";
118const char kBrowserTaskSchedulerDescription[] =
119 "Enables redirection of some task posting APIs to the task scheduler.";
120
Carlos IL766fbc882018-02-16 02:34:52121const char kBundledConnectionHelpName[] = "Bundled Connection Help";
122const char kBundledConnectionHelpDescription[] =
123 "Enables or disables redirecting users who get an interstitial when "
124 "accessing https://support.google.com/chrome/answer/6098869 to local "
125 "connection help content.";
126
Brett Wilsonf27ff602017-07-07 22:28:47127const char kBypassAppBannerEngagementChecksName[] =
128 "Bypass user engagement checks";
129const char kBypassAppBannerEngagementChecksDescription[] =
130 "Bypasses user engagement checks for displaying app banners, such as "
131 "requiring that users have visited the site before and that the banner "
132 "hasn't been shown recently. This allows developers to test that other "
133 "eligibility requirements for showing app banners, such as having a "
134 "manifest, are met.";
135
Lucas Garronb9539b732017-10-31 00:22:09136const char kCommittedInterstitialsName[] = "Committed Interstitials";
137const char kCommittedInterstitialsDescription[] =
138 "Use committed error pages instead of transient navigation entries "
139 "for interstitial error pages (e.g. certificate errors).";
140
Brett Wilsonf27ff602017-07-07 22:28:47141const char kCastStreamingHwEncodingName[] =
142 "Cast Streaming hardware video encoding";
143const char kCastStreamingHwEncodingDescription[] =
144 "This option enables support in Cast Streaming for encoding video streams "
145 "using platform hardware.";
146
Amber Won478561d2017-08-19 01:02:59147const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
148const char kClickToOpenPDFDescription[] =
149 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
150 "embedded PDFs.";
151
Gary Kacmarcikfb69b212017-11-14 03:41:08152const char kClipboardContentSettingName[] = "Clipboard content setting";
153const char kClipboardContentSettingDescription[] =
154 "Enables a site-wide permission in the UI which controls access to the "
155 "asynchronous clipboard web API";
156
Brett Wilsonf27ff602017-07-07 22:28:47157const char kCloudImportName[] = "Cloud Import";
158const char kCloudImportDescription[] = "Allows the cloud-import feature.";
159
Christopher Cameronceb8727d2017-09-07 23:53:16160const char kForceColorProfileSRGB[] = "sRGB";
161const char kForceColorProfileP3[] = "Display P3 D65";
162const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
163const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
164
165const char kForceColorProfileName[] = "Force color profile";
166const char kForceColorProfileDescription[] =
167 "Forces Chrome to use a specific color profile instead of the color "
168 "of the window's current monitor, as specified by the operating system.";
169
Brett Wilsonf27ff602017-07-07 22:28:47170const char kCompositedLayerBordersName[] = "Composited render layer borders";
171const char kCompositedLayerBordersDescription[] =
172 "Renders a border around composited Render Layers to help debug and study "
173 "layer compositing.";
174
Theresaf39c1882018-03-21 18:18:07175const char kContextualSuggestionsBottomSheetName[] =
176 "Enable Contextual Suggestions Bottom Sheet";
177const char kContextualSuggestionsBottomSheetDescription[] =
178 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47179
180const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
181const char kCreditCardAssistDescription[] =
182 "Enable assisted credit card filling on certain sites.";
183
184const char kCrossProcessGuestViewIsolationName[] =
185 "Cross process frames for guests";
186const char kCrossProcessGuestViewIsolationDescription[] =
187 "Highly experimental where guests such as <webview> are implemented on "
188 "the out-of-process iframe infrastructure.";
189
Thanh Le659cb102017-12-20 22:00:19190const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
191const char kDataSaverServerPreviewsDescription[] =
192 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47193
194const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
195const char kDatasaverPromptDescription[] =
196 "Enables a prompt, which appears when a cellular network connection is "
197 "detected, to take the user to the Data Saver extension page on Chrome Web "
198 "Store.";
199const char kDatasaverPromptDemoMode[] = "Demo mode";
200
Wez54dc71b2018-04-17 00:42:34201#if DCHECK_IS_CONFIGURABLE
202const char kDcheckIsFatalName[] = "DCHECKs are fatal";
203const char kDcheckIsFatalDescription[] =
204 "By default Chrome will evaluate in this build, but only log failures, "
205 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
206#endif // DCHECK_IS_CONFIGURABLE
207
Brett Wilsonf27ff602017-07-07 22:28:47208const char kDebugPackedAppName[] = "Debugging for packed apps";
209const char kDebugPackedAppDescription[] =
210 "Enables debugging context menu options such as Inspect Element for packed "
211 "applications.";
212
213const char kDefaultTileHeightName[] = "Default tile height";
214const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
215const char kDefaultTileHeightShort[] = "128";
216const char kDefaultTileHeightTall[] = "256";
217const char kDefaultTileHeightGrande[] = "512";
218const char kDefaultTileHeightVenti[] = "1024";
219
220const char kDefaultTileWidthName[] = "Default tile width";
221const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
222const char kDefaultTileWidthShort[] = "128";
223const char kDefaultTileWidthTall[] = "256";
224const char kDefaultTileWidthGrande[] = "512";
225const char kDefaultTileWidthVenti[] = "1024";
226
227const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
228const char kDebugShortcutsDescription[] =
229 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
230
231const char kDeviceDiscoveryNotificationsName[] =
232 "Device Discovery Notifications";
233const char kDeviceDiscoveryNotificationsDescription[] =
234 "Device discovery notifications on local network.";
235
236const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
237const char kDevtoolsExperimentsDescription[] =
238 "Enables Developer Tools experiments. Use Settings panel in Developer "
239 "Tools to toggle individual experiments.";
240
241const char kDisableAudioForDesktopShareName[] =
242 "Disable Audio For Desktop Share";
243const char kDisableAudioForDesktopShareDescription[] =
244 "With this flag on, desktop share picker window will not let the user "
245 "choose whether to share audio.";
246
Chris Palmer917bc052018-03-14 19:28:31247const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
248const char kDisablePushStateThrottleDescription[] =
249 "Disables throttling of history.pushState and history.replaceState method "
250 "calls.";
251
Brett Wilsonf27ff602017-07-07 22:28:47252const char kDisableTabForDesktopShareName[] =
253 "Disable Desktop Share with tab source";
254const char kDisableTabForDesktopShareDescription[] =
255 "This flag controls whether users can choose a tab for desktop share.";
256
257const char kDisallowDocWrittenScriptsUiName[] =
258 "Block scripts loaded via document.write";
259const char kDisallowDocWrittenScriptsUiDescription[] =
260 "Disallows fetches for third-party parser-blocking scripts inserted into "
261 "the main frame via document.write.";
262
Brett Wilsonf27ff602017-07-07 22:28:47263const char kDriveSearchInChromeLauncherName[] =
264 "Drive Search in Chrome App Launcher";
265const char kDriveSearchInChromeLauncherDescription[] =
266 "Files from Drive will show up when searching the Chrome App Launcher.";
267
Gustavo Sacomotofb11164f2017-07-21 12:56:18268const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
269const char kEasyUnlockPromotionsDescription[] =
270 "Enables Smart Lock promotions. Promotions will be periodically display "
271 "if the user is eligible.";
272
Brett Wilsonf27ff602017-07-07 22:28:47273const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
274const char kEmbeddedExtensionOptionsDescription[] =
275 "Display extension options as an embedded element in chrome://extensions "
276 "rather than opening a new tab.";
277
278const char kEnableAsmWasmName[] =
279 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
280const char kEnableAsmWasmDescription[] =
281 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
282 R"*(WebAssembly.)*";
283
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36284const char kEnableWebPaymentsSingleAppUiSkipName[] =
285 "Enable Web Payments single app UI skip";
286const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
287 "Enable Web Payments to skip showing its UI if the developer specifies a "
288 "single app.";
289
Shanfeng Zhang19c16562017-10-17 02:30:40290const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
291 "Credit card autofill ablation experiment.";
292const char kEnableAutofillCreditCardAblationExperimentDescription[] =
293 "If enabled, credit card autofill suggestions will not display.";
294
Jared Saulae93aa12018-03-23 19:04:39295const char kEnableAutofillCreditCardBankNameDisplayName[] =
296 "Display the issuer bank name of a credit card in autofill.";
297const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
298 "If enabled, displays the issuer bank name of a credit card in autofill.";
299
Brett Wilsonf27ff602017-07-07 22:28:47300const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
301 "Display the last used date of a credit card in autofill.";
302const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
303 "If enabled, display the last used date of a credit card in autofill.";
304
305const char kEnableAutofillCreditCardUploadCvcPromptName[] =
306 "Enable requesting missing CVC during Autofill credit card upload";
307const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
308 "If enabled, requests missing CVC when offering to upload credit cards to "
309 "Google Payments.";
310
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37311const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
312 "Enable Google Pay branding when offering credit card upload on Android";
313const char
314 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
315 "If enabled, shows the Google Pay logo and a shorter header message "
316 "when credit card upload to Google Payments is offered on Android.";
317
Jared Saul1e4786a2017-12-14 01:43:09318const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
319 "Always send metadata on detected form values for Autofill credit card "
320 "upload";
321const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
322 "If enabled, always checks with Google Payments when deciding whether to "
323 "offer credit card upload, even if some data is missing.";
324
Jared Saul5c2a1482017-12-09 00:24:31325const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
326 "Send first six digits of PAN when deciding whether to offer Autofill "
327 "credit card upload";
328const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
329 "If enabled, when deciding whether to offer credit card upload to Google "
330 "Payments, sends the first six digits of the card number to avoid cases "
331 "where card upload is likely to fail.";
332
siyua7c4e97b42018-04-24 02:49:42333const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
334 "Enable updated prompt explanation when offering credit card upload";
335const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
336 "If enabled, changes the server save card prompt's explanation to mention "
337 "the saving of the billing address.";
338
tmartinocd414732018-02-12 19:01:01339const char kEnableAutofillNativeDropdownViewsName[] =
340 "Display Autofill Dropdown Using Views";
341const char kEnableAutofillNativeDropdownViewsDescription[] =
342 "If enabled, the Autofill Dropdown will be built natively using Views, "
343 "rather than painted directly to a canvas.";
344
Vitalii Iarko4f9834ce2017-08-04 07:05:19345const char kEnableBreakingNewsPushName[] = "Breaking News Push";
346const char kEnableBreakingNewsPushDescription[] =
347 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
348 "through Google Cloud Messaging.";
349
Brett Wilsonf27ff602017-07-07 22:28:47350const char kEnableBrotliName[] = "Brotli Content-Encoding.";
351const char kEnableBrotliDescription[] =
352 "Enable Brotli Content-Encoding support.";
353
Qiang Xu0f602fe62017-12-22 01:31:20354const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
355const char kEnableCaptivePortalRandomUrlDescription[] =
356 "Enable Captive Portal URL randomization.";
357
sclittle50e4bb92017-07-08 02:23:03358const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
359
360const char kEnableClientLoFiDescription[] =
361 "Enable showing low fidelity images on some pages on slow networks.";
362
David Reveman87b4b692018-03-09 21:22:22363const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
364const char kEnableCursorMotionBlurDescription[] =
365 "Enable motion blur effect for the cursor.";
366
Doug Arnett08b4067b2017-10-12 20:14:44367const char kEnableNoScriptPreviewsName[] = "NoScript previews";
368
369const char kEnableNoScriptPreviewsDescription[] =
370 "Enable disabling JavaScript on some pages on slow networks.";
371
Thanh Le2c279fbc2017-11-21 01:25:40372const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
373const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
374const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
375const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
376const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
377const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
378const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
379const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
380const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
381const char kDataReductionProxyServerAlternative10[] =
382 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47383const char kEnableDataReductionProxyServerExperimentName[] =
384 "Use an alternative Data Saver back end configuration.";
385const char kEnableDataReductionProxyServerExperimentDescription[] =
386 "Enable a different approach to saving data by configuring the back end "
387 "server";
388
389const char kEnableDataReductionProxySavingsPromoName[] =
390 "Data Saver 1 MB Savings Promo";
391const char kEnableDataReductionProxySavingsPromoDescription[] =
392 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
393 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
394 "enabled for the promo to be shown.";
395
Matt Giucad4870432017-11-24 01:04:38396const char kEnableDesktopPWAsName[] = "Desktop PWAs";
397const char kEnableDesktopPWAsDescription[] =
398 "Experimental windowing and install banner treatment for Progressive Web "
399 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17400
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59401const char kEnableDesktopPWAsLinkCapturingName[] =
402 "Desktop PWAs Link Capturing";
403const char kEnableDesktopPWAsLinkCapturingDescription[] =
404 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
405 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
406 "#enable-desktop-pwas.";
407
Ahmed Fakhry0037de02018-01-29 19:58:31408const char kEnableDockedMagnifierName[] = "Docked Magnifier";
409const char kEnableDockedMagnifierDescription[] =
410 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
411
Ramya Nagarajan5b41d8d2018-04-02 19:53:02412const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
413const char kEnableEmojiContextMenuDescription[] =
414 "Enables the Emoji picker item in context menus for editable text areas.";
415
Brett Wilsonf27ff602017-07-07 22:28:47416const char kEnableEnumeratingAudioDevicesName[] =
417 "Experimentally enable enumerating audio devices.";
418const char kEnableEnumeratingAudioDevicesDescription[] =
419 "Experimentally enable the use of enumerating audio devices.";
420
421const char kEnableGenericSensorName[] = "Generic Sensor";
422const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25423 "Enables motion sensor classes based on Generic Sensor API, i.e. "
424 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
425 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
426
427const char kEnableGenericSensorExtraClassesName[] =
428 "Generic Sensor Extra Classes";
429const char kEnableGenericSensorExtraClassesDescription[] =
430 "Enables an extra set of sensor classes based on Generic Sensor API, which "
431 "expose previously unavailable platform features, i.e. AmbientLightSensor "
432 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47433
Brett Wilsonf27ff602017-07-07 22:28:47434const char kEnableHDRName[] = "HDR mode";
435const char kEnableHDRDescription[] =
436 "Enables HDR support on compatible displays.";
437
Brett Wilsonf27ff602017-07-07 22:28:47438const char kEnableHttpFormWarningName[] =
439 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15440 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47441const char kEnableHttpFormWarningDescription[] =
442 "Attaches a warning UI to any password or credit card fields detected when "
443 "the top-level page is not HTTPS";
444
Scott Littled0fd2d002018-04-13 03:37:26445const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
446const char kEnableLazyFrameLoadingDescription[] =
447 "Defers the loading of certain cross-origin frames until the page is "
448 "scrolled down near them.";
449
Sidney San Martín9375b892017-09-09 00:29:54450const char kEnableMacMaterialDesignDownloadShelfName[] =
451 "Enable Material Design download shelf";
452
453const char kEnableMacMaterialDesignDownloadShelfDescription[] =
454 "If enabled, the download shelf uses Material Design.";
455
Tatiana Gornakafb40452017-07-31 13:50:04456const char kEnableManualFallbacksFillingName[] =
457 "Manual fallbacks for password manager forms filling";
458const char kEnableManualFallbacksFillingDescription[] =
459 "If enabled, then if user clicks on the password field on a form, popup "
460 "might contain generation fallbacks or 'Show all saved passwords' "
461 "fallback.";
462
vabr0215a8e2017-03-28 12:47:34463const char kEnableMaterialDesignExtensionsName[] =
464 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34465const char kEnableMaterialDesignExtensionsDescription[] =
466 "If enabled, the chrome://extensions/ URL loads the Material Design "
467 "extensions page.";
468
Anton Urusov47cd4932017-09-19 14:41:41469const char kEnablePolicyToolName[] = "Enable policy management page";
470const char kEnablePolicyToolDescription[] =
471 "If enabled, the chrome://policy-tool URL loads a page for managing "
472 "policies.";
473
Tsuyoshi Horoea7edb72017-11-12 04:14:00474const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
475const char kEnablePWAFullCodeCacheDescription[] =
476 "Generate V8 code cache in Cache Storage while installing Service Worker "
477 "for PWAs.";
478
Weidong Guof1e5a892018-01-06 02:26:39479const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28480 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39481const char kDisableMultiMirroringDescription[] =
482 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28483
Brett Wilsonf27ff602017-07-07 22:28:47484const char kEnableNavigationTracingName[] = "Enable navigation tracing";
485const char kEnableNavigationTracingDescription[] =
486 "This is to be used in conjunction with the trace-upload-url flag. "
487 "WARNING: When enabled, Chrome will record performance data for every "
488 "navigation and upload it to the URL specified by the trace-upload-url "
489 "flag. The trace may include personally identifiable information (PII) "
490 "such as the titles and URLs of websites you visit.";
491
Bernhard Bauer5533f9912017-11-06 17:56:02492const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
493const char kEnableNetworkLoggingToFileDescription[] =
494 "Enables network logging to a file named netlog.json in the user data "
495 "directory. The file can be imported into chrome://net-internals.";
496
Brett Wilsonf27ff602017-07-07 22:28:47497const char kEnableNetworkServiceName[] = "Enable network service";
498const char kEnableNetworkServiceDescription[] =
499 "Enables the network service, which makes network requests through a "
500 "separate service. Note: most features don't work with this yet.";
501
John Abd-El-Malek8067cc02017-12-04 23:23:20502const char kEnableNetworkServiceInProcessName[] =
503 "Runs network service in-process";
504const char kEnableNetworkServiceInProcessDescription[] =
505 "Runs the network service in the browser process.";
506
dpapaded8349472017-10-25 03:21:27507const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
508const char kEnableNewPrintPreviewDescription[] =
509 "If enabled, Print Preview will display a newer UI";
510
Ahmed Fakhry2fd8fc82017-07-28 16:31:12511const char kEnableNightLightName[] = "Enable Night Light";
512const char kEnableNightLightDescription[] =
513 "Enable the Night Light feature which controls the color temperature of "
514 "the screen.";
515
xlou8b56f672018-02-09 23:34:30516const char kEnableNupPrintingName[] = "Enable N-up printing";
517const char kEnableNupPrintingDescription[] =
518 "Enable N-up printing in the print preview panel.";
519
Sophie Chang117a3b22017-10-24 22:25:36520const char kEnableOptimizationHintsName[] = "Optimization Hints";
521const char kEnableOptimizationHintsDescription[] =
522 "Enable the Optimization Hints feature which incorporates server hints"
523 "into decisions for what optimizations to perform on some pages on slow "
524 "networks.";
525
Yutaka Hirano98be3272017-08-07 17:55:39526const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
527const char kEnableOutOfBlinkCORSDescription[] =
528 "CORS handling logic is moved out of blink.";
529
Sammie Quon0fbf0782018-05-01 22:11:08530const char kEnableOverviewSwipeToCloseName[] =
531 "Enable overview swipe to close.";
532const char kEnableOverviewSwipeToCloseDescription[] =
533 "Enables closing of items in overview mode by dragging or flinging "
534 "vertically.";
535
kylechar7051c092018-02-05 20:31:39536const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
537const char kVizDisplayCompositorDescription[] =
538 "If enabled, the display compositor runs as part of the viz service in the"
539 "GPU process.";
540
Ria Jiang6a129b982018-03-01 18:30:40541const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
542const char kVizHitTestDrawQuadDescription[] =
543 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
544 "with hit-test data computed from the CompositorFrame.";
545
Erik Chen49bbfa22017-08-18 08:49:56546const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23547 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56548const char kEnableOutOfProcessHeapProfilingDescription[] =
549 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19550 "malloced objects. Heap dumps can be obtained at chrome://tracing "
551 "[category:memory-infra] and chrome://memory-internals. This setting "
552 "controls which processes are profiled. As long as this setting is not "
553 "disabled, users can start profiling any given process in "
554 "chrome://memory-internals.";
555const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
556const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
557const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
558const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
559const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10560const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19561 "None by default. Visit chrome://memory-internals to choose which "
562 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15563const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
564 "Profile a random sampling of renderer processes, ensuring only one is "
565 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19566
Erik Chen8bb76b52017-12-06 19:06:25567const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19568 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25569const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
570 "By default, small allocations are pruned from the heap dump. This reduces "
571 "the size of the compressed trace by 100x. If pruning is disabled, the "
572 "chrome://tracing UI may be unable to take or load the trace. Save the "
573 "trace directly using chrome://memory-internals, and use other mechanisms "
574 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
575 "automatically uploaded traces will always be pruned. This only affects "
576 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56577
erikchen8bc20d82018-02-14 03:21:51578const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
579const char kOutOfProcessHeapProfilingSamplingDescription[] =
580 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22581 "10000. This results in low noise for large and/or frequent allocations ["
582 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
583 "total size of malloc-ed objects] and large and/or frequent allocations "
584 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51585
Erik Chen3303fd0232018-01-11 20:29:05586const char kOOPHPStackModeName[] =
587 "The type of stack to record for memlog heap dumps";
588const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19589 "By default, memlog heap dumps record native stacks, which requires a "
590 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55591 "pointers to work on Android. Native with thread names will add the thread "
592 "name as the first frame of each native stack. It's also possible to "
593 "record a pseudo stack using trace events as identifiers. It's also "
594 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19595const char kOOPHPStackModeMixed[] = "Mixed";
596const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55597const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19598const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05599
François Beaufort2e75f492018-02-08 20:44:46600const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47601const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46602 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47603
F#m59d036e2017-09-13 07:22:17604const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
605const char kEnablePixelCanvasRecordingDescription[] =
606 "Pixel canvas recording allows the compositor to raster contents aligned "
607 "with the pixel and improves text rendering. This should be enabled when a "
608 "device is using fractional scale factor.";
609
Mikel Astiz38837f82018-04-24 22:23:23610const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
611const char kEnableSyncUSSSessionsDescription[] =
612 "Enables the new, experimental implementation of session sync (aka tab "
613 "sync).";
614
Brett Wilsonf27ff602017-07-07 22:28:47615const char kEnableTokenBindingName[] = "Token Binding.";
616const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
617
Sahel Sharifyd732ab12017-11-29 23:03:16618extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
619 "Wheel Scroll Latching.";
620extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
621 "Wheel scroll latching enforces latching to a single element for the "
622 "duration of a scroll sequence.";
623
Brett Wilsonf27ff602017-07-07 22:28:47624const char kEnableUseZoomForDsfName[] =
625 "Use Blink's zoom for device scale factor.";
626const char kEnableUseZoomForDsfDescription[] =
627 "If enabled, Blink uses its zooming mechanism to scale content for device "
628 "scale factor.";
629const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
630const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
631const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
632
633const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
634const char kEnableScrollAnchoringDescription[] =
635 "Adjusts scroll position to prevent visible jumps when offscreen content "
636 "changes.";
637
Patrick Noland8ee016e2018-01-24 11:44:53638const char kEnableScrollAnchorSerializationName[] =
639 "Scroll Anchor Serialization";
640const char kEnableScrollAnchorSerializationDescription[] =
641 "Save the scroll anchor and use it to restore the scroll position when "
642 "navigating.";
643
Brad Nelson5cd500e2018-01-04 00:50:19644const char kEnableSharedArrayBufferName[] =
645 "Experimental enabled SharedArrayBuffer support in JavaScript.";
646const char kEnableSharedArrayBufferDescription[] =
647 "Enable SharedArrayBuffer support in JavaScript.";
648
Brett Wilsonf27ff602017-07-07 22:28:47649const char kEnableWasmName[] = "WebAssembly structured cloning support.";
650const char kEnableWasmDescription[] =
651 "Enable web pages to use WebAssembly structured cloning.";
652
Brett Wilsonf27ff602017-07-07 22:28:47653const char kEnableImageCaptureAPIName[] = "Image Capture API";
654const char kEnableImageCaptureAPIDescription[] =
655 "Enables the Web Platform Image Capture API: takePhoto(), "
656 "getPhotoCapabilities(), etc.";
657
658const char kEnableZeroSuggestRedirectToChromeName[] =
659 "Experimental contextual omnibox suggestion";
660const char kEnableZeroSuggestRedirectToChromeDescription[] =
661 "Change omnibox contextual suggestions to an experimental source. Note "
662 "that this is not an on/off switch for contextual omnibox and it only "
663 "applies to suggestions provided before the user starts typing a URL or a "
664 "search query (i.e. zero suggest).";
665
666const char kEnableWasmStreamingName[] =
667 "WebAssembly streaming compile/instantiate support.";
668const char kEnableWasmStreamingDescription[] =
669 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
670
Clemens Hammacher0c8a15a2018-04-27 13:45:32671const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
672const char kEnableWasmBaselineDescription[] =
673 "Enables WebAssembly baseline compilation and tier up.";
674
Brett Wilsonf27ff602017-07-07 22:28:47675const char kExpensiveBackgroundTimerThrottlingName[] =
676 "Throttle expensive background timers";
677const char kExpensiveBackgroundTimerThrottlingDescription[] =
678 "Enables intervention to limit CPU usage of background timers to 1%.";
679
680const char kExperimentalAppBannersName[] = "Experimental app banners";
681const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38682 "Enables a new experimental app banner flow and UI. Implies "
683 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47684
685const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
686const char kExperimentalCanvasFeaturesDescription[] =
687 "Enables the use of experimental canvas features which are still in "
688 "development.";
689
Nicholas Verneccd8259802018-02-22 01:22:04690const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
691const char kExperimentalCrostiniUIDescription[] =
692 "Enables in-development Crostini features.";
693
Brett Wilsonf27ff602017-07-07 22:28:47694const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
695const char kExperimentalExtensionApisDescription[] =
696 "Enables experimental extension APIs. Note that the extension gallery "
697 "doesn't allow you to upload extensions that use experimental APIs.";
698
699const char kExperimentalFullscreenExitUIName[] =
700 "Experimental fullscreen exit UI";
701const char kExperimentalFullscreenExitUIDescription[] =
702 "Displays experimental UI to allow mouse and touch input methods to exit "
703 "fullscreen mode.";
704
Brett Wilsonf27ff602017-07-07 22:28:47705const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
706const char kExperimentalKeyboardLockUiDescription[] =
707 "An experimental full screen with keyboard lock mode requiring users to "
708 "hold Esc to exit.";
709
710const char kExperimentalSecurityFeaturesName[] =
711 "Potentially annoying security features";
712const char kExperimentalSecurityFeaturesDescription[] =
713 "Enables several security features that will likely break one or more "
714 "pages that you visit on a daily basis. Strict mixed content checking, for "
715 "example. And locking powerful features to secure contexts. This flag will "
716 "probably annoy you.";
717
718const char kExperimentalWebPlatformFeaturesName[] =
719 "Experimental Web Platform features";
720const char kExperimentalWebPlatformFeaturesDescription[] =
721 "Enables experimental Web Platform features that are in development.";
722
723const char kExtensionContentVerificationName[] =
724 "Extension Content Verification";
725const char kExtensionContentVerificationDescription[] =
726 "This flag can be used to turn on verification that the contents of the "
727 "files on disk for extensions from the webstore match what they're "
728 "expected to be. This can be used to turn on this feature if it would not "
729 "otherwise have been turned on, but cannot be used to turn it off (because "
730 "this setting can be tampered with by malware).";
731const char kExtensionContentVerificationBootstrap[] =
732 "Bootstrap (get expected hashes, but do not enforce them)";
733const char kExtensionContentVerificationEnforce[] =
734 "Enforce (try to get hashes, and enforce them if successful)";
735const char kExtensionContentVerificationEnforceStrict[] =
736 "Enforce strict (hard fail if we can't get hashes)";
737
738const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
739const char kExtensionsOnChromeUrlsDescription[] =
740 "Enables running extensions on chrome:// URLs, where extensions explicitly "
741 "request this permission.";
galinapae72e152017-05-12 13:12:28742
Brett Wilsonecb80982017-07-12 20:34:51743const char kFastUnloadName[] = "Fast tab/window close";
744const char kFastUnloadDescription[] =
745 "Enables fast tab/window closing - runs a tab's onunload js handler "
746 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34747
Brett Wilsonecb80982017-07-12 20:34:51748const char kFeaturePolicyName[] = "Feature Policy";
749const char kFeaturePolicyDescription[] =
750 "Enables granting and removing access to features through the "
751 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34752
Brett Wilsonecb80982017-07-12 20:34:51753const char kFontCacheScalingName[] = "FontCache scaling";
754const char kFontCacheScalingDescription[] =
755 "Reuse a cached font in the renderer to serve different sizes of font for "
756 "faster layout.";
757
758const char kForceEffectiveConnectionTypeName[] =
759 "Override effective connection type";
760const char kForceEffectiveConnectionTypeDescription[] =
761 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30762 "returned by the network quality estimator. Slow 2G on Cellular returns "
763 "Slow 2G when connected to a cellular network, and the actual estimate "
764 "effective connection type when not on a cellular network. Previews are "
765 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51766const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
767const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
768const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30769const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
770 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51771const char kEffectiveConnectionType2GDescription[] = "2G";
772const char kEffectiveConnectionType3GDescription[] = "3G";
773const char kEffectiveConnectionType4GDescription[] = "4G";
774
775const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
776const char kFillOnAccountSelectDescription[] =
777 "Filling of passwords when an account is explicitly selected by the user "
778 "rather than autofilling credentials on page load.";
779
Brett Wilsonecb80982017-07-12 20:34:51780const char kForceTextDirectionName[] = "Force text direction";
781const char kForceTextDirectionDescription[] =
782 "Explicitly force the per-character directionality of UI text to "
783 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
784 "direction of the character language.";
785const char kForceDirectionLtr[] = "Left-to-right";
786const char kForceDirectionRtl[] = "Right-to-left";
787
788const char kForceUiDirectionName[] = "Force UI direction";
789const char kForceUiDirectionDescription[] =
790 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
791 "mode, overriding the default direction of the UI language.";
792
793const char kFramebustingName[] =
794 "Framebusting requires same-origin or a user gesture";
795const char kFramebustingDescription[] =
796 "Don't permit an iframe to navigate the top level browsing context unless "
797 "they are same-origin or the iframe is processing a user gesture.";
798
799const char kGamepadExtensionsName[] = "Gamepad Extensions";
800const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22801 "Enables experimental extensions to the Gamepad APIs.";
Brett Wilsonecb80982017-07-12 20:34:51802
Brett Wilsonecb80982017-07-12 20:34:51803const char kGpuRasterizationMsaaSampleCountName[] =
804 "GPU rasterization MSAA sample count.";
805const char kGpuRasterizationMsaaSampleCountDescription[] =
806 "Specify the number of MSAA samples for GPU rasterization.";
807const char kGpuRasterizationMsaaSampleCountZero[] = "0";
808const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
809const char kGpuRasterizationMsaaSampleCountFour[] = "4";
810const char kGpuRasterizationMsaaSampleCountEight[] = "8";
811const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
812
813const char kGpuRasterizationName[] = "GPU rasterization";
814const char kGpuRasterizationDescription[] =
815 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28816const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51817
818const char kGoogleProfileInfoName[] = "Google profile name and icon";
819const char kGoogleProfileInfoDescription[] =
820 "Enables using Google information to populate the profile name and icon in "
821 "the avatar menu.";
822
823const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
824const char kHarfbuzzRendertextDescription[] =
825 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
826 "web content.";
827
Takumi Fujimotofb71e332018-03-31 14:04:08828const char kViewsCastDialogName[] = "Views Cast dialog";
829const char kViewsCastDialogDescription[] =
830 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
831
Manu Cornet4a908de2018-04-09 04:32:27832const char kHideActiveAppsFromShelfName[] =
833 "Hide running apps (that are not pinned) from the shelf";
834const char kHideActiveAppsFromShelfDescription[] =
835 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25836
Brett Wilsonecb80982017-07-12 20:34:51837const char kHistoryRequiresUserGestureName[] =
838 "New history entries require a user gesture.";
839const char kHistoryRequiresUserGestureDescription[] =
840 "Require a user gesture to add a history entry.";
841const char kHyperlinkAuditingName[] = "Hyperlink auditing";
842const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
843
Ryan Landay4242dbc22018-04-04 01:47:33844const char kHorizontalTabSwitcherAndroidName[] =
845 "Enable horizontal tab switcher";
846const char kHorizontalTabSwitcherAndroidDescription[] =
847 "Changes the layout of the Android tab switcher so tabs scroll "
848 "horizontally instead of vertically.";
849
Brett Wilsonecb80982017-07-12 20:34:51850const char kHostedAppQuitNotificationName[] =
851 "Quit notification for hosted apps";
852const char kHostedAppQuitNotificationDescription[] =
853 "Display a notification when quitting Chrome if hosted apps are currently "
854 "running.";
855
856const char kHostedAppShimCreationName[] =
857 "Creation of app shims for hosted apps on Mac";
858const char kHostedAppShimCreationDescription[] =
859 "Create app shims on Mac when creating a hosted app.";
860
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48861const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
862const char kHtmlBasedUsernameDetectorDescription[] =
863 "Use HTML-based username detector for the password manager.";
864
Brett Wilsonecb80982017-07-12 20:34:51865const char kIconNtpName[] = "Large icons on the New Tab page";
866const char kIconNtpDescription[] =
867 "Enable the experimental New Tab page using large icons.";
868
869const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
870const char kIgnoreGpuBlacklistDescription[] =
871 "Overrides the built-in software rendering list and enables "
872 "GPU-acceleration on unsupported system configurations.";
873
Thanh Le5f090efa52017-12-27 22:39:44874const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
875const char kIgnorePreviewsBlacklistDescription[] =
876 "Ignore decisions made by the PreviewsBlackList";
877
Brett Wilsonecb80982017-07-12 20:34:51878const char kImportantSitesInCbdName[] =
879 "Important sites options in clear browsing data dialog";
880const char kImportantSitesInCbdDescription[] =
881 "Include the option to whitelist important sites in the clear browsing "
882 "data dialog.";
883
Claudio Magni61c210922017-12-28 00:29:51884const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
885const char kImprovedLanguageSettingsDescription[] =
886 "Set of changes for Language Settings. These changes are intended to fix "
887 "the major bugs related to Language Settings.";
888
Brett Wilsonecb80982017-07-12 20:34:51889const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
890const char kInProductHelpDemoModeChoiceDescription[] =
891 "Selects the In-Product Help demo mode.";
892
893const char kJavascriptHarmonyName[] = "Experimental JavaScript";
894const char kJavascriptHarmonyDescription[] =
895 "Enable web pages to use experimental JavaScript features.";
896
897const char kJavascriptHarmonyShippingName[] =
898 "Latest stable JavaScript features";
899const char kJavascriptHarmonyShippingDescription[] =
900 "Some web pages use legacy or non-standard JavaScript extensions that may "
901 "conflict with the latest JavaScript features. This flag allows disabling "
902 "support of those features for compatibility with such pages.";
903
Yutaka Hiranof7f2f632017-09-06 10:40:08904const char kKeepAliveRendererForKeepaliveRequestsName[] =
905 "Keep a renderer alive for keepalive fetch requests";
906const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
907 "Keep a render process alive when the process has a pending fetch request "
908 "with `keepalive' specified.";
909
Joe Downing095fd6d2018-02-01 18:40:36910const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
911const char kKeyboardLockApiDescription[] =
912 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
913 "specific key events and have them routed directly to the webpage when in "
914 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
915
Brett Wilsonecb80982017-07-12 20:34:51916const char kLcdTextName[] = "LCD text antialiasing";
917const char kLcdTextDescription[] =
918 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
919 "(subpixel) when doing accelerated compositing.";
920
Matt Giucac399982f2017-10-06 07:51:29921const char kLeftToRightUrlsName[] =
922 "Render bidirectional URLs from left to right";
923const char kLeftToRightUrlsDescription[] =
924 "An experimental Bidi URL rendering algorithm where the URL components are "
925 "always shown in order from left to right, regardless of any RTL "
926 "characters. (The contents of each component are still rendered with the "
927 "normal Bidi algorithm.)";
928
Brett Wilsonecb80982017-07-12 20:34:51929const char kLoadMediaRouterComponentExtensionName[] =
930 "Load Media Router Component Extension";
931const char kLoadMediaRouterComponentExtensionDescription[] =
932 "Loads the Media Router component extension at startup.";
933
spqchanb87755692018-04-05 00:46:09934const char kMacViewsAutofillPopupName[] =
935 "Uses the Views Autofill Popup on Mac";
936const char kMacViewsAutofillPopupDescription[] =
937 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32938
Brett Wilsonecb80982017-07-12 20:34:51939const char kManualPasswordGenerationName[] = "Manual password generation.";
940const char kManualPasswordGenerationDescription[] =
941 "Show a 'Generate Password' option on the context menu for all password "
942 "fields.";
943
944const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
945const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51946
Lei Zhang2eca9082017-10-17 20:42:50947const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
948const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51949 "If enabled, the Incognito New Tab page uses the new material design with "
950 "a better readable text.";
951
952const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
953const char kMediaRemotingDescription[] =
954 "When Casting a tab to a remote device, enabling this turns on an "
955 "optimization that forwards the content bitstream directly to the remote "
956 "device when a video is fullscreened.";
957
spqchanb87755692018-04-05 00:46:09958const char kMediaRouterCastAllowAllIPsName[] =
959 "Connect to Cast devices on all IP addresses";
960const char kMediaRouterCastAllowAllIPsDescription[] =
961 "Have the Media Router connect to Cast devices on all IP addresses, not "
962 "just RFC1918/RFC4913 private addresses.";
963
Brett Wilsonecb80982017-07-12 20:34:51964const char kMemoryAblationName[] = "Memory ablation experiment";
965const char kMemoryAblationDescription[] =
966 "Allocates extra memory in the browser process.";
967
968const char kMemoryCoordinatorName[] = "Memory coordinator";
969const char kMemoryCoordinatorDescription[] =
970 "Enable memory coordinator instead of memory pressure listeners.";
971
972const char kMessageCenterNewStyleNotificationName[] = "New style notification";
973const char kMessageCenterNewStyleNotificationDescription[] =
974 "Enables the experiment style of material-design notification";
975
Brett Wilsonecb80982017-07-12 20:34:51976const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
977const char kMhtmlGeneratorOptionDescription[] =
978 "Provides experimental options for MHTML file generator.";
979const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
980const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
981
Kouhei Ueno08445c22017-09-05 03:58:30982const char kModuleScriptsDynamicImportName[] =
983 "Enable ECMAScript 6 modules dynamic import";
984const char kModuleScriptsDynamicImportDescription[] =
985 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
986 "Blink.";
987
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05988const char kModuleScriptsImportMetaUrlName[] =
989 "Enable ECMAScript 6 modules import.meta.url";
990const char kModuleScriptsImportMetaUrlDescription[] =
991 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
992 "Blink.";
993
Brett Wilsonecb80982017-07-12 20:34:51994const char kNewAudioRenderingMixingStrategyName[] =
995 "New audio rendering mixing strategy";
996const char kNewAudioRenderingMixingStrategyDescription[] =
997 "Use the new audio rendering mixing strategy.";
998
999const char kNewBookmarkAppsName[] = "The new bookmark app system";
1000const char kNewBookmarkAppsDescription[] =
1001 "Enables the new system for creating bookmark apps.";
1002
Vadym Doroshenkof81e8bb2018-04-18 14:35:241003const char kNewPasswordFormParsingName[] = "New password form parsing";
1004const char kNewPasswordFormParsingDescription[] =
1005 "Replaces existing form parsing in password manager with a new version, "
1006 "currently under development. WARNING: when enabled Password Manager might "
1007 "stop working";
1008
Brett Wilsonecb80982017-07-12 20:34:511009const char kNewRemotePlaybackPipelineName[] =
1010 "Enable the new remote playback pipeline.";
1011const char kNewRemotePlaybackPipelineDescription[] =
1012 "Enable the new pipeline for playing media element remotely via "
1013 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501014const char kUseSurfaceLayerForVideoName[] =
1015 "Enable the use of SurfaceLayer objects for videos.";
1016const char kUseSurfaceLayerForVideoDescription[] =
1017 "Enable compositing onto a Surface instead of a VideoLayer "
1018 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511019
1020const char kNewUsbBackendName[] = "Enable new USB backend";
1021const char kNewUsbBackendDescription[] =
1022 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341023
Sonny Sasaka2d200432018-03-22 17:43:161024const char kNewblueName[] = "Newblue";
1025const char kNewblueDescription[] =
1026 "Enables the use of newblue Bluetooth daemon.";
1027
brettw5f9c1642017-05-14 17:12:481028const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:341029const char kNostatePrefetchDescription[] =
1030 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
1031 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1032 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1033 R"*(similar to disabling the feature, but collects more metrics for )*"
1034 R"*(comparison purposes.)*";
1035
Brett Wilsonecb80982017-07-12 20:34:511036const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1037const char kNotificationsNativeFlagDescription[] =
1038 "Enable support for using the native notification toasts and notification "
1039 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341040
Zentaro Kavanaghbad511c2017-10-18 22:29:001041#if defined(OS_POSIX)
1042const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1043const char kNtlmV2EnabledDescription[] =
1044 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1045#endif
1046
Brett Wilsonecb80982017-07-12 20:34:511047const char kNumRasterThreadsName[] = "Number of raster threads";
1048const char kNumRasterThreadsDescription[] =
1049 "Specify the number of raster threads.";
1050const char kNumRasterThreadsOne[] = "1";
1051const char kNumRasterThreadsTwo[] = "2";
1052const char kNumRasterThreadsThree[] = "3";
1053const char kNumRasterThreadsFour[] = "4";
1054
1055const char kOfferStoreUnmaskedWalletCardsName[] =
1056 "Google Payments card saving checkbox";
1057const char kOfferStoreUnmaskedWalletCardsDescription[] =
1058 "Show the checkbox to offer local saving of a credit card downloaded from "
1059 "the server.";
1060
1061const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1062const char kOfflineAutoReloadDescription[] =
1063 "Pages that fail to load while the browser is offline will be "
1064 "auto-reloaded when the browser is online again.";
1065
1066const char kOfflineAutoReloadVisibleOnlyName[] =
1067 "Only Auto-Reload Visible Tabs";
1068const char kOfflineAutoReloadVisibleOnlyDescription[] =
1069 "Pages that fail to load while the browser is offline will only be "
1070 "auto-reloaded if their tab is visible.";
1071
Brett Wilsonecb80982017-07-12 20:34:511072const char kOmniboxDisplayTitleForCurrentUrlName[] =
1073 "Include title for the current URL in the omnibox";
1074const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1075 "In the event that the omnibox provides suggestions on-focus, the URL of "
1076 "the current page is provided as the first suggestion without a title. "
1077 "Enabling this flag causes the title to be displayed.";
1078
Benoit Lizeab08362c2017-07-19 14:50:541079const char kOmniboxSpareRendererName[] =
1080 "Start spare renderer on omnibox focus";
1081const char kOmniboxSpareRendererDescription[] =
1082 "When the omnibox is focused, start an empty spare renderer. This can "
1083 "speed up the load of the navigation from the omnibox.";
1084
Tommy C. Li8875a442017-08-23 00:10:591085const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1086 "Omnibox UI Elide Suggestion URL After Host";
1087const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1088 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1089 "dropdown.";
1090
Tommy C. Lid79d4402017-12-22 22:49:121091const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1092 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1093const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1094 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1095 "displayed URLs. Hidden portions are restored during editing.";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kOmniboxUIMaxAutocompleteMatchesName[] =
1098 "Omnibox UI Max Autocomplete Matches";
1099
1100const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1101 "Changes the maximum number of autocomplete matches displayed in the "
1102 "Omnibox UI.";
1103
1104const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
1105const char kOmniboxUINarrowDropdownDescription[] =
1106 "Makes the suggestions dropdown width match the omnibox width.";
1107
Justin Donnelly65c9e8b2017-10-01 05:15:011108const char kOmniboxUIShowSuggestionFaviconsName[] =
1109 "Omnibox UI Show Suggestion Favicons";
1110const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1111 "Shows favicons instead of generic vector icons for URL suggestions in the "
1112 "Omnibox dropdown.";
1113
1114const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1115const char kOmniboxUISwapTitleAndUrlDescription[] =
1116 "In the omnibox dropdown, shows titles before URLs when both are "
1117 "available.";
1118
Brett Wilsonecb80982017-07-12 20:34:511119const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1120const char kOmniboxUIVerticalMarginDescription[] =
1121 "Changes the vertical margin in the Omnibox UI.";
1122
Troy Hildebrandtb32637ca2018-02-21 23:25:091123const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1124 "Omnibox Voice Search Always Visible";
1125const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1126 "Always displays voice search icon in focused omnibox as long as voice "
1127 "search is possible";
1128
Brett Wilsonecb80982017-07-12 20:34:511129const char kOriginTrialsName[] = "Origin Trials";
1130const char kOriginTrialsDescription[] =
1131 "Enables origin trials for controlling access to feature/API experiments.";
1132
Becca Hughes930d8cd2017-10-02 11:09:121133const char kOverflowIconsForMediaControlsName[] =
1134 "Icons on Media Controls Overflow Menu";
1135const char kOverflowIconsForMediaControlsDescription[] =
1136 "Displays icons on the overflow menu of the native media controls";
1137
Brett Wilsonecb80982017-07-12 20:34:511138const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1139const char kOverlayScrollbarsDescription[] =
1140 "Enable the experimental overlay scrollbars implementation. You must also "
1141 "enable threaded compositing to have the scrollbars animate.";
1142
chaopenge8aa016b2017-08-24 15:20:191143const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1144 "Flash Overlay Scrollbars After Any Scroll Update";
1145const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1146 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1147 " must also enable Overlay Scrollbars.";
1148
chaopeng343678022017-08-24 18:45:001149const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1150 "Flash Overlay Scrollbars When Mouse Enter";
1151const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1152 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1153 " enable Overlay Scrollbars.";
1154
Claudio Magni81326f92017-09-01 05:21:181155const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1156const char kUseNewAcceptLanguageHeaderDescription[] =
1157 "Adds the base language code after other corresponding language+region "
1158 "codes. This ensures that users receive content in their preferred "
1159 "language.";
1160
Brett Wilsonecb80982017-07-12 20:34:511161const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1162const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481163 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511164const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481165const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511166
1167const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1168const char kOverscrollStartThresholdDescription[] =
1169 "Changes overscroll start threshold relative to the default value.";
1170const char kOverscrollStartThreshold133Percent[] = "133%";
1171const char kOverscrollStartThreshold166Percent[] = "166%";
1172const char kOverscrollStartThreshold200Percent[] = "200%";
1173
Xing Liu5400a002017-09-15 21:48:291174const char kParallelDownloadingName[] = "Parallel downloading";
1175const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061176 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291177
Brett Wilsonecb80982017-07-12 20:34:511178const char kPassiveEventListenerDefaultName[] =
1179 "Passive Event Listener Override";
1180const char kPassiveEventListenerDefaultDescription[] =
1181 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1182 "haven't requested otherwise) to be treated as passive. This will break "
1183 "touch/wheel behavior on some websites but is useful for demonstrating the "
1184 "potential performance benefits of adopting passive event listeners.";
1185const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1186const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1187
1188const char kPassiveEventListenersDueToFlingName[] =
1189 "Touch Event Listeners Passive Default During Fling";
1190const char kPassiveEventListenersDueToFlingDescription[] =
1191 "Forces touchstart, and first touchmove per scroll event listeners during "
1192 "fling to be treated as passive.";
1193
1194const char kPassiveDocumentEventListenersName[] =
1195 "Document Level Event Listeners Passive Default";
1196const char kPassiveDocumentEventListenersDescription[] =
1197 "Forces touchstart, and touchmove event listeners on document level "
1198 "targets (which haven't requested otherwise) to be treated as passive.";
1199
1200const char kPasswordForceSavingName[] = "Force-saving of passwords";
1201const char kPasswordForceSavingDescription[] =
1202 "Allow the user to manually enforce password saving instead of relying on "
1203 "password manager's heuristics.";
1204
1205const char kPasswordGenerationName[] = "Password generation";
1206const char kPasswordGenerationDescription[] =
1207 "Allow the user to have Chrome generate passwords when it detects account "
1208 "creation pages.";
1209
Vaclav Brozekd8a3f542017-11-16 14:21:131210const char kPasswordExportName[] = "Password export";
1211const char kPasswordExportDescription[] =
1212 "Export functionality in password settings.";
1213
1214const char kPasswordImportName[] = "Password import";
1215const char kPasswordImportDescription[] =
1216 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511217
Friedrich Horschig03c91982018-01-25 14:21:281218const char kPasswordSearchMobileName[] = "Password search";
1219const char kPasswordSearchMobileDescription[] =
1220 "Search functionality in password settings.";
1221
Friedrich Horschige6c27742018-04-23 17:13:411222const char kPasswordsKeyboardAccessoryName[] =
1223 "Add password-related functions to keyboard accessory";
1224const char kPasswordsKeyboardAccessoryDescription[] =
1225 "Adds password generation button and toggle for the passwords bottom sheet "
1226 "to the keyboard accessory. Replaces password generation popups.";
1227
Tom Sepez92a2cd242018-03-13 19:23:091228const char kPdfIsolationName[] = "PDF Isolation";
1229const char kPdfIsolationDescription[] =
1230 "Render PDF files from different origins in different plugin processes.";
1231
Brett Wilsonecb80982017-07-12 20:34:511232const char kPinchScaleName[] = "Pinch scale";
1233const char kPinchScaleDescription[] =
1234 "Enables experimental support for scale using pinch.";
1235
Doug Arnett620ff542018-02-06 17:54:221236const char kPreviewsAllowedName[] = "Previews Allowed";
1237const char kPreviewsAllowedDescription[] =
1238 "Allows previews to be shown subject to specific preview types being "
1239 "enabled and the client experiencing specific triggering conditions. "
1240 "May be used as a kill-switch to turn off all potential preview types.";
1241
Brett Wilsonecb80982017-07-12 20:34:511242const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1243const char kPrintPdfAsImageDescription[] =
1244 "If enabled, an option to print PDF files as images will be available in "
1245 "print preview.";
1246
1247const char kPrintPreviewRegisterPromosName[] =
1248 "Print Preview Registration Promos";
1249const char kPrintPreviewRegisterPromosDescription[] =
1250 "Enable registering unregistered cloud printers from print preview.";
1251
1252const char kProtectSyncCredentialName[] = "Autofill sync credential";
1253const char kProtectSyncCredentialDescription[] =
1254 "How the password manager handles autofill for the sync credential.";
1255
1256const char kProtectSyncCredentialOnReauthName[] =
1257 "Autofill sync credential only for transactional reauth pages";
1258const char kProtectSyncCredentialOnReauthDescription[] =
1259 "How the password manager handles autofill for the sync credential only "
1260 "for transactional reauth pages.";
1261
Mohsen Izadi93faac12017-07-29 04:45:151262const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1263const char kPullToRefreshDescription[] =
1264 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011265const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151266
Brett Wilsonecb80982017-07-12 20:34:511267const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1268const char kPushApiBackgroundModeDescription[] =
1269 "Enable background mode for the Push API. This allows Chrome to continue "
1270 "running after the last window is closed, and to launch at OS startup, if "
1271 "the Push API needs it.";
1272
Troy Hildebrandt7228ad12018-02-23 21:18:241273const char kQueryInOmniboxName[] = "Query in Omnibox";
1274const char kQueryInOmniboxDescription[] =
1275 "Only display query terms in the omnibox when viewing a search results "
1276 "page.";
1277
Brett Wilsonecb80982017-07-12 20:34:511278const char kQuicName[] = "Experimental QUIC protocol";
1279const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1280
1281const char kReducedReferrerGranularityName[] =
1282 "Reduce default 'referer' header granularity.";
1283const char kReducedReferrerGranularityDescription[] =
1284 "If a page hasn't set an explicit referrer policy, setting this flag will "
1285 "reduce the amount of information in the 'referer' header for cross-origin "
1286 "requests.";
1287
Claudio Magnie0a80bb2018-01-31 02:52:581288extern const char kRegionalLocalesAsDisplayUIName[] =
1289 "Allow regional locales as display UI";
1290extern const char kRegionalLocalesAsDisplayUIDescription[] =
1291 "This flag allows regional locales to be selected as display UI by the "
1292 "user in Language Settings. The actual locale of the system is derived "
1293 "from the user selection based on some simple fallback logic.";
1294
Christian Dullweber1af31e62018-02-22 11:49:481295const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141296 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481297const char kRemoveNavigationHistoryDescription[] =
1298 "Remove a navigation entry when the corresponding history entry has been "
1299 "deleted.";
1300
Mihai Sardarescu6d0f5b72017-10-30 11:24:381301const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1302 "Remove usage of the deprecated GAIA sign-in endpoint";
1303const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1304 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1305 "This flags controls wheter it should no longer be used during a sign-in "
1306 " flow.";
1307
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351308const char kRendererSideResourceSchedulerName[] =
1309 "Renderer side ResourceScheduler";
1310const char kRendererSideResourceSchedulerDescription[] =
1311 "Migrate some ResourceScheduler functionalities to renderer";
1312
Brett Wilsonecb80982017-07-12 20:34:511313const char kRequestTabletSiteName[] =
1314 "Request tablet site option in the settings menu";
1315const char kRequestTabletSiteDescription[] =
1316 "Allows the user to request tablet site. Web content is often optimized "
1317 "for tablet devices. When this option is selected the user agent string is "
1318 "changed to indicate a tablet device. Web content optimized for tablets is "
1319 "received there after for the current tab.";
1320
1321const char kResetAppListInstallStateName[] =
1322 "Reset the App Launcher install state on every restart.";
1323const char kResetAppListInstallStateDescription[] =
1324 "Reset the App Launcher install state on every restart. While this flag is "
1325 "set, Chrome will forget the launcher has been installed each time it "
1326 "starts. This is used for testing the App Launcher install flow.";
1327
1328const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1329const char kResourceLoadSchedulerDescription[] =
1330 "Uses the resource load scheduler in blink to schedule and throttle "
1331 "resource load requests.";
1332
Brett Wilsonecb80982017-07-12 20:34:511333const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1334const char kSafeSearchUrlReportingDescription[] =
1335 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1336
Alexei Filippov98772752018-01-27 08:26:521337const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1338const char kSamplingHeapProfilerDescription[] =
1339 "Enables native memory sampling profiler with specified rate in KiB. "
1340 "If sampling rate is not provided the default value of 128 KiB is used.";
1341
Brett Wilsonecb80982017-07-12 20:34:511342const char kSaveasMenuLabelExperimentName[] =
1343 "Switch 'Save as' menu labels to 'Download'";
1344const char kSaveasMenuLabelExperimentDescription[] =
1345 "Enables an experiment to switch menu labels that use 'Save as...' to "
1346 "'Download'.";
1347
1348const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1349const char kSavePageAsMhtmlDescription[] =
1350 "Enables saving pages as MHTML: a single text file containing HTML and all "
1351 "sub-resources.";
1352
Nate Chapin9638e7102017-09-20 22:11:011353const char kSavePreviousDocumentResourcesName[] =
1354 "Save Previous Document Resources";
1355const char kSavePreviousDocumentResourcesDescription[] =
1356 "Saves an old document's cached resources until the specified point in the "
1357 "next document's lifecycle.";
1358const char kSavePreviousDocumentResourcesNever[] =
1359 "Don't explicitly save resources";
1360const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1361 "Save resources until onDOMContentLoaded completes";
1362const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1363 "Save resources until onload completes";
1364
Brett Wilsonecb80982017-07-12 20:34:511365const char kScrollPredictionName[] = "Scroll prediction";
1366const char kScrollPredictionDescription[] =
1367 "Predicts the finger's future position during scrolls allowing time to "
1368 "render the frame before the finger is there.";
1369
1370const char kSecondaryUiMd[] =
1371 "Material Design in the rest of the browser's native UI";
1372const char kSecondaryUiMdDescription[] =
1373 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1374 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1375 "browser dialogs.";
1376
1377const char kServiceWorkerNavigationPreloadName[] =
1378 "Service worker navigation preload.";
1379const char kServiceWorkerNavigationPreloadDescription[] =
1380 "Enable web pages to use the experimental service worker navigation "
1381 "preload API.";
1382
gogeraldd5061b592017-09-06 23:39:551383const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1384const char kServiceWorkerPaymentAppsDescription[] =
1385 "Enable Service Worker applications to integrate as payment apps";
1386
Makoto Shimazu22078cc2018-02-21 03:01:441387extern const char kServiceWorkerServicificationName[] =
1388 "Servicified service workers";
1389extern const char kServiceWorkerServicificationDescription[] =
1390 "Enable the servicified service workers. A servicified service worker can "
1391 "have direct connection from its clients, so that fetch events can be "
1392 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171393
Tsuyoshi Horobcb1c642017-11-24 16:32:141394const char kServiceWorkerScriptFullCodeCacheName[] =
1395 "Service worker script full code cache.";
1396const char kServiceWorkerScriptFullCodeCacheDescription[] =
1397 "Generate V8 full code cache of Service Worker scripts while installing.";
1398
Brett Wilsonecb80982017-07-12 20:34:511399const char kSettingsWindowName[] = "Show settings in a window";
1400const char kSettingsWindowDescription[] =
1401 "Settings will be shown in a dedicated window instead of as a browser tab.";
1402
Manu Cornetd7ef7c52018-05-01 22:08:231403const char kShelfHoverPreviewsName[] =
1404 "Show previews of running apps when hovering over the shelf.";
1405const char kShelfHoverPreviewsDescription[] =
1406 "Shows previews of the open windows for a given running app when hovering "
1407 "over the shelf.";
1408
Trent Apted750ba7022017-10-23 13:36:251409const char kShowAllDialogsWithViewsToolkitName[] =
1410 "Show all dialogs with Views toolkit";
1411const char kShowAllDialogsWithViewsToolkitDescription[] =
1412 "All browser dialogs will be shown using the Views toolkit rather than "
1413 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1414
Brett Wilsonecb80982017-07-12 20:34:511415const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1416const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381417 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1418 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511419
1420const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1421const char kShowAutofillTypePredictionsDescription[] =
1422 "Annotates web forms with Autofill field type predictions as placeholder "
1423 "text.";
1424
1425const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1426const char kShowOverdrawFeedbackDescription[] =
1427 "Visualize overdraw by color-coding elements based on if they have other "
1428 "elements drawn underneath.";
1429
Carlos IL89128732018-04-03 17:00:251430const char kSupervisedUserCommittedInterstitialsName[] =
1431 "Enable Supervised User Committed Interstitials";
1432const char kSupervisedUserCommittedInterstitialsDescription[] =
1433 "Use committed error pages instead of transient navigation entries for "
1434 "supervised user interstitials";
1435
yiyixbdfa9a0b2017-10-23 22:21:471436const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1437const char kEnableDrawOcclusionDescription[] =
1438 "Enable the system to use draw occlusion to skip draw quads when they are "
1439 "not shown on the screen.";
1440
Brett Wilsonecb80982017-07-12 20:34:511441const char kShowSavedCopyName[] = "Show Saved Copy Button";
1442const char kShowSavedCopyDescription[] =
1443 "When a page fails to load, if a stale copy of the page exists in the "
1444 "browser cache, a button will be presented to allow the user to load that "
1445 "stale copy. The primary enabling choice puts the button in the most "
1446 "salient position on the error page; the secondary enabling choice puts it "
1447 "secondary to the reload button.";
1448const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1449const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1450const char kDisableShowSavedCopy[] = "Disable";
1451
Brett Wilsonecb80982017-07-12 20:34:511452const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1453const char kSilentDebuggerExtensionApiDescription[] =
1454 "Do not show the infobar when an extension attaches to a page via "
1455 "chrome.debugger API. This is required to debug extension background "
1456 "pages.";
1457
Tsuyoshi Horo53895ba92018-03-14 04:06:481458const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1459const char kSignedHTTPExchangeDescription[] =
1460 "Enables Origin-Signed HTTP Exchanges support which is still in "
1461 "development. Warning: Enabling this may pose a security risk.";
1462
Brett Wilsonecb80982017-07-12 20:34:511463const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1464const char kSimpleCacheBackendDescription[] =
1465 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1466 "disk space allocation.";
1467
1468const char kSimplifiedFullscreenUiName[] =
1469 "Simplified full screen / mouse lock UI.";
1470const char kSimplifiedFullscreenUiDescription[] =
1471 "A simplified new user experience when entering page-triggered full screen "
1472 "or mouse pointer lock states.";
1473
Christopher Thompson75ff845d2018-02-01 20:12:461474const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1475const char kSimplifyHttpsIndicatorDescription[] =
1476 "Change the UI treatment for HTTPS pages.";
1477
Brett Wilsonecb80982017-07-12 20:34:511478const char kSingleClickAutofillName[] = "Single-click autofill";
1479const char kSingleClickAutofillDescription[] =
1480 "Make autofill suggestions on initial mouse click on a form element.";
1481
Nick Carter855bc492018-03-10 00:44:571482const char kStrictSiteIsolationName[] = "Strict site isolation";
1483const char kStrictSiteIsolationDescription[] =
1484 "Security mode that enables site isolation for all sites. When enabled, "
1485 "each renderer process will contain pages from at most one site, using "
1486 "out-of-process iframes when needed. When enabled, this flag forces the "
1487 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1488 "isolation mode will be determined by enterprise policy or field trial.";
1489
1490const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1491const char kSiteIsolationTrialOptOutDescription[] =
1492 "Opts out of field trials that enable site isolation modes "
1493 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1494 "may be due to out-of-process iframes. Opt-out has no effect if site "
1495 "isolation is force-enabled via #enable-site-per-process or enterprise "
1496 "policy. Caution: this disables important mitigations for the Spectre CPU "
1497 "vulnerability affecting most computers.";
1498extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1499extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1500 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511501
Pattideade7972018-04-27 02:59:401502const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511503const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401504 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511505
Brett Wilsonecb80982017-07-12 20:34:511506const char kSmoothScrollingName[] = "Smooth Scrolling";
1507const char kSmoothScrollingDescription[] =
1508 "Animate smoothly when scrolling page content.";
1509
1510const char kSoftwareRasterizerName[] = "3D software rasterizer";
1511const char kSoftwareRasterizerDescription[] =
1512 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1513
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201514const char kSoleIntegrationName[] = "Sole integration";
1515const char kSoleIntegrationDescription[] =
1516 "Enable Sole integration for browser customization. You must restart "
1517 "the browser twice for changes to take effect.";
1518
Tommy Steimel77704be2017-08-28 22:14:401519const char kSoundContentSettingName[] = "Sound content setting";
1520const char kSoundContentSettingDescription[] =
1521 "Enable site-wide muting in content settings and tab strip context menu.";
1522
Alexandr Ilinf0500ed32017-09-27 21:12:361523const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1524const char kSpeculativePreconnectDescription[] =
1525 "Enable the new implementation of preconnect and DNS preresolve. "
1526 "\"Learning\" means that only database construction is enabled, "
1527 "\"Preconnect\" enables both learning and preconnect and disables the "
1528 "existing implementation. \"No preconnect\" disables both implementations.";
1529
Brett Wilsonecb80982017-07-12 20:34:511530const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341531const char kSpeculativePrefetchDescription[] =
1532 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1533 R"*(load times, based on a local database (see chrome://predictors). )*"
1534 R"*("Learning" means that only the database construction is enabled, )*"
1535 R"*("Prefetching" that learning and prefetching are enabled.)*";
1536
Justin Donnelly4e448cb2017-07-07 21:32:131537const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1538 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131539const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1540 "If enabled, when the user enters text in the omnibox that looks like a "
1541 "a query, any service worker associated with the search engine the query "
1542 "will be sent to is started early.";
1543
Brett Wilsonecb80982017-07-12 20:34:511544const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1545const char kSpellingFeedbackFieldTrialDescription[] =
1546 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401547
Shubhie Panickerfaf082ed2018-01-03 04:49:151548const char kStopInBackgroundName[] = "Stop in background";
1549const char kStopInBackgroundDescription[] =
1550 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281551 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151552
1553const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1554const char kStopLoadingInBackgroundDescription[] =
1555 "Stop loading tasks and loading "
1556 "resources, in the background, after certain grace time.";
1557
Shubhie Panicker56c99a22018-03-21 00:22:281558const char kStopNonTimersInBackgroundName[] =
1559 "Stop non-timer task queues background";
1560const char kStopNonTimersInBackgroundDescription[] =
1561 "Stop non-timer task queues, in the background, "
1562 "after a grace period.";
1563
Brett Wilsonecb80982017-07-12 20:34:511564const char kSuggestionsWithSubStringMatchName[] =
1565 "Substring matching for Autofill suggestions";
1566const char kSuggestionsWithSubStringMatchDescription[] =
1567 "Match Autofill suggestions based on substrings (token prefixes) rather "
1568 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341569
Brett Wilsonecb80982017-07-12 20:34:511570const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1571const char kSyncSandboxDescription[] =
1572 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341573
Brett Wilsonecb80982017-07-12 20:34:511574const char kTabAudioMutingName[] = "Tab audio muting UI control";
1575const char kTabAudioMutingDescription[] =
1576 "When enabled, the audio indicators in the tab strip double as tab audio "
1577 "mute controls. This also adds commands in the tab context menu for "
1578 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341579
Christian Dullweberd0d96f02017-09-13 09:22:511580const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1581const char kTabsInCbdDescription[] =
1582 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1583
Becky Zhou99c22802017-10-19 05:09:271584const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1585const char kTabModalJsDialogDescription[] =
1586 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1587 " tab.";
1588
Brett Wilsonecb80982017-07-12 20:34:511589const char kTcpFastOpenName[] = "TCP Fast Open";
1590const char kTcpFastOpenDescription[] =
1591 "Enable the option to send extra authentication information in the initial "
1592 "SYN packet for a previously connected client, allowing faster data send "
1593 "start.";
vabr0215a8e2017-03-28 12:47:341594
Daniele Castagna0fead93e2018-01-10 20:40:291595const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1596const char kTintGlCompositedContentDescription[] =
1597 "Tint contents composited using GL with a shade of red to help debug and "
1598 "study overlay support.";
1599
Brett Wilsonecb80982017-07-12 20:34:511600const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1601const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581602 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401603 "touch) - middle point for devices with a touch screen, 3) Touchable "
1604 "- new unified interface for touch and convertibles (Chrome OS) and 4) "
1605 "Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511606const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531607const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461608const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581609const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401610const char kTopChromeMdMaterialRefresh[] = "Refresh";
vabr0215a8e2017-03-28 12:47:341611
Brett Wilsonecb80982017-07-12 20:34:511612const char kThreadedScrollingName[] = "Threaded scrolling";
1613const char kThreadedScrollingDescription[] =
1614 "Threaded handling of scroll-related input events. Disabling this will "
1615 "force all such scroll events to be handled on the main thread. Note that "
1616 "this can dramatically hurt scrolling performance of most websites and is "
1617 "intended for testing purposes only.";
1618
Steven Valdez4584b2482017-07-14 01:11:571619const char kTLS13VariantName[] = "TLS 1.3";
1620const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1621const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111622const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041623const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
Steven Valdez4584b2482017-07-14 01:11:571624
Brett Wilsonecb80982017-07-12 20:34:511625const char kTopDocumentIsolationName[] = "Top document isolation";
1626const char kTopDocumentIsolationDescription[] =
1627 "Highly experimental performance mode where cross-site iframes are kept in "
1628 "a separate process from the top document. In this mode, iframes from "
1629 "different third-party sites will be allowed to share a process.";
1630
Dominick Ng8896b1cd2017-10-17 23:24:361631const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1632const char kTopSitesFromSiteEngagementDescription[] =
1633 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1634 "engagement.";
1635
Brett Wilsonecb80982017-07-12 20:34:511636const char kTouchAdjustmentName[] = "Touch adjustment";
1637const char kTouchAdjustmentDescription[] =
1638 "Refine the position of a touch gesture in order to compensate for touches "
1639 "having poor resolution compared to a mouse.";
1640
1641const char kTouchDragDropName[] = "Touch initiated drag and drop";
1642const char kTouchDragDropDescription[] =
1643 "Touch drag and drop can be initiated through long press on a draggable "
1644 "element.";
1645
1646const char kTouchEventsName[] = "Touch Events API";
1647const char kTouchEventsDescription[] =
1648 "Force Touch Events API feature detection to always be enabled or "
1649 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291650 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511651
1652const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1653const char kTouchSelectionStrategyDescription[] =
1654 "Controls how text selection granularity changes when touch text selection "
1655 "handles are dragged. Non-default behavior is experimental.";
1656const char kTouchSelectionStrategyCharacter[] = "Character";
1657const char kTouchSelectionStrategyDirection[] = "Direction";
1658
1659const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1660const char kTraceUploadUrlDescription[] =
1661 "This is to be used in conjunction with the enable-navigation-tracing "
1662 "flag. Please select the label that best describes the recorded traces. "
1663 "This will choose the destination the traces are uploaded to. If you are "
1664 "not sure, select other. If left empty, no traces will be uploaded.";
1665const char kTraceUploadUrlChoiceOther[] = "Other";
1666const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1667const char kTraceUploadUrlChoiceQa[] = "QA";
1668const char kTraceUploadUrlChoiceTesting[] = "Testing";
1669
Philippe Hamel7fdaa452017-09-29 17:22:491670const char kTranslateRankerEnforcementName[] =
1671 "Enforce TranslateRanker decisions";
1672const char kTranslateRankerEnforcementDescription[] =
1673 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1674 "or not Translate UI should be triggered in a given context.";
1675
Brett Wilsonecb80982017-07-12 20:34:511676const char kTrySupportedChannelLayoutsName[] =
1677 "Causes audio output streams to check if channel layouts other than the "
1678 "default hardware layout are available.";
1679const char kTrySupportedChannelLayoutsDescription[] =
1680 "Causes audio output streams to check if channel layouts other than the "
1681 "default hardware layout are available. Turning this on will allow the OS "
1682 "to do stereo to surround expansion if supported. May expose third party "
1683 "driver bugs, use with caution.";
1684
David Roger6762a092018-01-31 15:55:071685const char kUnifiedConsentName[] = "Unified Consent";
1686const char kUnifiedConsentDescription[] =
1687 "Enables a unified management of user consent for privacy-related "
1688 "features. This includes new confirmation screens and improved settings "
1689 "pages.";
1690
Brett Wilsonecb80982017-07-12 20:34:511691const char kUiPartialSwapName[] = "Partial swap";
1692const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1693
Chris Pickel3a227ae62017-08-24 10:47:261694const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1695const char kUseDdljsonApiDescription[] =
1696 "Enables the new ddljson API to fetch Doodles for the NTP.";
1697
Becca Hughes59c05b42017-11-03 13:11:581698const char kUseModernMediaControlsName[] = "New Media Controls";
1699const char kUseModernMediaControlsDescription[] =
1700 "Enables the new style native media controls.";
1701
Wei Li790e7a8572018-03-23 01:31:551702const char kUsePdfCompositorServiceName[] =
1703 "Use PDF compositor service for printing";
1704const char kUsePdfCompositorServiceDescription[] =
1705 "When enabled, use PDF compositor service to composite and generate PDF "
1706 "files for printing. When site isolation is enabled, disabling this will "
1707 "not stop using PDF compositor service since the service is required for "
1708 "printing out-of-process iframes correctly.";
1709
Mustaq Ahmedc646c0a2017-10-20 20:08:301710const char kUserActivationV2Name[] = "User Activation v2";
1711const char kUserActivationV2Description[] =
1712 "Enable simple user activation for APIs that are otherwise controlled by "
1713 "user gesture tokens.";
1714
Brett Wilsonecb80982017-07-12 20:34:511715const char kUserConsentForExtensionScriptsName[] =
1716 "User consent for extension scripts";
1717const char kUserConsentForExtensionScriptsDescription[] =
1718 "Require user consent for an extension running a script on the page, if "
1719 "the extension requested permission to run on all urls.";
1720
1721const char kUseSuggestionsEvenIfFewFeatureName[] =
1722 "Disable minimum for server-side tile suggestions on NTP.";
1723const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1724 "Request server-side suggestions even if there are only very few of them "
1725 "and use them for tiles on the New Tab Page.";
1726
1727const char kV8CacheOptionsName[] = "V8 caching mode.";
1728const char kV8CacheOptionsDescription[] =
1729 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511730const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1731
Hitoshi Yoshida3e5db562017-09-11 02:31:081732const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1733const char kV8ContextSnapshotDescription[] =
1734 "Sets to use a snapshot to create V8 contexts in frame creation.";
1735
Michael Hablich896d52662017-10-23 15:59:571736const char kV8VmFutureName[] = "Future V8 VM features";
1737const char kV8VmFutureDescription[] =
1738 "This enables upcoming and experimental V8 VM features. "
1739 "This flag does not enable experimental JavaScript features.";
1740
Brett Wilsonecb80982017-07-12 20:34:511741const char kVideoFullscreenOrientationLockName[] =
1742 "Lock screen orientation when playing a video fullscreen.";
1743const char kVideoFullscreenOrientationLockDescription[] =
1744 "Lock the screen orientation of the device to match video orientation when "
1745 "a video goes fullscreen. Only on phones.";
1746
1747const char kVideoRotateToFullscreenName[] =
1748 "Rotate-to-fullscreen gesture for videos.";
1749const char kVideoRotateToFullscreenDescription[] =
1750 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1751 "the video. Only on phones.";
1752
Elly Fong-Jonesf4c79502018-03-23 19:21:531753const char kViewsBrowserWindowsName[] =
1754 "Use Views browser windows instead of Cocoa.";
1755const char kViewsBrowserWindowsDescription[] =
1756 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1757
Brett Wilsonecb80982017-07-12 20:34:511758const char kWalletServiceUseSandboxName[] =
1759 "Use Google Payments sandbox servers";
1760const char kWalletServiceUseSandboxDescription[] =
1761 "For developers: use the sandbox service for Google Payments API calls.";
1762
Brett Wilsonecb80982017-07-12 20:34:511763const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1764const char kWebglDraftExtensionsDescription[] =
1765 "Enabling this option allows web applications to access the WebGL "
1766 "Extensions that are still in draft status.";
1767
1768const char kWebMidiName[] = "Web MIDI API";
1769const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1770
1771const char kWebPaymentsName[] = "Web Payments";
1772const char kWebPaymentsDescription[] =
1773 "Enable Web Payments API integration, a JavaScript API for merchants.";
1774
Mathieu Perreault51339b82017-07-20 17:06:051775const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1776const char kWebPaymentsModifiersDescription[] =
1777 "If the website provides modifiers in the payment request, show the custom "
1778 "total for each payment instrument, update the shopping cart when "
1779 "instruments are switched, and send modified payment method specific data "
1780 "to the payment app.";
1781
Brett Wilsonecb80982017-07-12 20:34:511782const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1783const char kWebrtcEchoCanceller3Description[] =
1784 "Experimental WebRTC echo canceller (AEC3).";
1785
1786const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1787const char kWebrtcHwDecodingDescription[] =
1788 "Support in WebRTC for decoding video streams using platform hardware.";
1789
1790const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1791const char kWebrtcHwEncodingDescription[] =
1792 "Support in WebRTC for encoding video streams using platform hardware.";
1793
1794const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1795const char kWebrtcHwH264EncodingDescription[] =
1796 "Support in WebRTC for encoding h264 video streams using platform "
1797 "hardware.";
1798
1799const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1800const char kWebrtcHwVP8EncodingDescription[] =
1801 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1802
Niels Möller090866a2018-02-13 10:55:031803const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1804 "WebRTC new encode cpu load estimator";
1805const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1806 "Enable new estimator for the encoder cpu load, for evaluation and "
1807 "testing. Intended to improve accuracy when screen casting.";
1808
Brett Wilsonecb80982017-07-12 20:34:511809const char kWebrtcSrtpAesGcmName[] =
1810 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1811const char kWebrtcSrtpAesGcmDescription[] =
1812 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1813
Joachim Bauch4a41d7512017-08-23 14:24:231814const char kWebrtcSrtpEncryptedHeadersName[] =
1815 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1816const char kWebrtcSrtpEncryptedHeadersDescription[] =
1817 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1818 "for SRTP.";
1819
Brett Wilsonecb80982017-07-12 20:34:511820const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1821const char kWebrtcStunOriginDescription[] =
1822 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1823 "header.";
1824
1825const char kWebvrName[] = "WebVR";
1826const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011827 "Enables access to experimental Virtual Reality functionality via the "
1828 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1829 "Device API. Warning: Enabling this will also allow WebVR content on "
1830 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221831 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511832
Brandon Jonese9d9b2b2017-12-11 22:20:111833const char kWebXrName[] = "WebXR Device API";
1834const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011835 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1836 "and Augmented Reality (AR) devices.";
1837
1838const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1839const char kWebXrGamepadSupportDescription[] =
1840 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221841 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1842 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431843
1844const char kWebXrHitTestName[] = "WebXR Hit Test";
1845const char kWebXrHitTestDescription[] =
1846 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111847
Anna Maria57ecf7592018-01-12 03:10:401848const char kWebXrOrientationSensorDeviceName[] =
1849 "WebXR orientation sensor device";
1850const char kWebXrOrientationSensorDeviceDescription[] =
1851 "When no VR platform device is available, expose a non-presenting device "
1852 "based on the device's orientation sensors, if available.";
1853
Brett Wilsonecb80982017-07-12 20:34:511854const char kWifiCredentialSyncName[] = "WiFi credential sync";
1855const char kWifiCredentialSyncDescription[] =
1856 "Enables synchronizing WiFi network settings across devices. When enabled, "
1857 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1858 "credentials are synchronized subject to user preferences. (See also, "
1859 "chrome://settings/syncSetup.)";
1860
1861const char kZeroCopyName[] = "Zero-copy rasterizer";
1862const char kZeroCopyDescription[] =
1863 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341864
Brett Wilsonff596952017-07-14 01:06:551865// Android ---------------------------------------------------------------------
1866
1867#if defined(OS_ANDROID)
1868
1869const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1870const char kAiaFetchingDescription[] =
1871 "Enable intermediate certificate fetching when a server does not provide "
1872 "sufficient certificates to build a chain to a trusted root.";
1873
1874const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1875const char kAccessibilityTabSwitcherDescription[] =
1876 "Enable the accessibility tab switcher for Android.";
1877
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251878const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1879const char kAllowReaderForAccessibilityDescription[] =
1880 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1881
Brett Wilsonff596952017-07-14 01:06:551882const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1883const char kAndroidAutofillAccessibilityDescription[] =
1884 "Enable accessibility for autofill popup.";
1885
1886const char kAndroidPaymentAppsName[] = "Android payment apps";
1887const char kAndroidPaymentAppsDescription[] =
1888 "Enable third party Android apps to integrate as payment apps";
1889
Miriam Gershenson8cf1397222018-01-23 22:48:291890const char kAsyncDnsName[] = "Async DNS resolver";
1891const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1892
Brett Wilsonff596952017-07-14 01:06:551893const char kAutofillAccessoryViewName[] =
1894 "Autofill suggestions as keyboard accessory view";
1895const char kAutofillAccessoryViewDescription[] =
1896 "Shows Autofill suggestions on top of the keyboard rather than in a "
1897 "dropdown.";
1898
1899const char kBackgroundLoaderForDownloadsName[] =
1900 "Enables background downloading of pages.";
1901const char kBackgroundLoaderForDownloadsDescription[] =
1902 "Enables downloading pages in the background in case page is not yet "
1903 "loaded in current tab.";
1904
Matthew Jones6c1f5e22018-02-06 18:19:531905const char kChromeDuplexName[] = "Chrome Duplex";
1906const char kChromeDuplexDescription[] =
1907 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051908
Daniel Park825a16f32017-12-08 00:44:261909const char kChromeHomeEnableSurveyName[] = "Enable Chrome Home survey";
1910const char kChromeHomeEnableSurveyDescription[] =
1911 "If enabled, the survey process will allow surveys using sample "
1912 "parameters.";
1913
Theresa Wellingtonb9243b22017-12-01 16:23:051914const char kChromeHomeInactivitySheetExpansionName[] =
1915 "Expansion of Chrome Home bottom sheet on startup";
1916const char kChromeHomeInactivitySheetExpansionDescription[] =
1917 "Expand bottom sheet on startup in Chrome Home after a period of"
1918 " inactivity.";
1919
Matthew Joneseab91aa2017-12-19 16:12:421920const char kChromeHomeMenuItemsName[] =
1921 "Show bookmarks, downloads, and history menu items in Chrome Home";
1922const char kChromeHomeMenuItemsDescription[] =
1923 "Shows bookmarks, downloads, and history menu items in the overflow menu"
1924 " when Chrome Home is enabled. These items will open the bottom sheet to"
1925 " show the desired content.";
1926
Theresa Wellingtonc4cff8a12017-11-28 04:13:181927const char kChromeHomePersistentIphName[] = "Chrome Home Persistent Iph";
1928const char kChromeHomePersistentIphDescription[] =
1929 "Wait to dismiss the Chrome Home IPH until the user inteacts with the "
1930 "toolbar or a timer expires.";
1931
Theresa Wellington13977c832017-12-13 16:59:111932const char kChromeHomePullToRefreshIphAtTopName[] =
1933 "Chrome Home Pull-To-Refresh Iph At Top";
1934const char kChromeHomePullToRefreshIphAtTopDescription[] =
1935 "Show the Chrome Home pull-to-refresh help bubble at the top of the screen";
1936
Brett Wilsonff596952017-07-14 01:06:551937const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1938const char kChromeHomeSwipeLogicDescription[] =
1939 "Various swipe logic options for Chrome Home for sheet expansion.";
1940const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151941const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551942
Matthew Jones5b7f1d62018-01-23 00:37:251943const char kChromeModernDesignName[] = "Chrome Modern Design";
1944const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451945 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1946 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251947
Megan Jablonskic61eb1b82017-10-02 18:03:061948const char kChromeMemexName[] = "Chrome Memex";
1949const char kChromeMemexDescription[] =
1950 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1951 "Googlers.";
1952
Sarath Singapati83aef1c2017-11-16 15:54:521953const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1954const char kClearOldBrowsingDataDescription[] =
1955 "Enables clearing of browsing data which is older than a given time "
1956 "period.";
1957
Brett Wilsonff596952017-07-14 01:06:551958const char kContentSuggestionsCategoryOrderName[] =
1959 "Default content suggestions category order (e.g. on NTP)";
1960const char kContentSuggestionsCategoryOrderDescription[] =
1961 "Set default order of content suggestion categories (e.g. on the NTP).";
1962
1963const char kContentSuggestionsCategoryRankerName[] =
1964 "Content suggestions category ranker (e.g. on NTP)";
1965const char kContentSuggestionsCategoryRankerDescription[] =
1966 "Set category ranker to order categories of content suggestions (e.g. on "
1967 "the NTP).";
1968
Vitalii Iarkof52ff802017-09-14 12:34:241969const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1970const char kContentSuggestionsDebugLogDescription[] =
1971 "Enable content suggestions debug log accessible through "
1972 "snippets-internals.";
1973
Donn Denman8e58ead2017-11-04 01:44:011974const char kContextualSearchMlTapSuppressionName[] =
1975 "Contextual Search ML tap suppression";
1976const char kContextualSearchMlTapSuppressionDescription[] =
1977 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:021978 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
1979 "enabled!";
Brett Wilsonff596952017-07-14 01:06:551980
1981const char kContextualSearchName[] = "Contextual Search";
1982const char kContextualSearchDescription[] =
1983 "Whether or not Contextual Search is enabled.";
1984
Donn Denman59729812018-01-09 01:27:021985const char kContextualSearchRankerQueryName[] =
1986 "Contextual Search Ranker prediction";
1987const char kContextualSearchRankerQueryDescription[] =
1988 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
1989
1990const char kContextualSearchSecondTapName[] =
1991 "Contextual Search second tap triggering";
1992const char kContextualSearchSecondTapDescription[] =
1993 "Enables triggering on a second tap gesture even when Ranker would "
1994 "normally suppress that tap.";
1995
Dmitry Skiba9c3efa72017-07-20 22:01:141996const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1997const char kDontPrefetchLibrariesDescription[] =
1998 "Don't prefetch libraries after loading.";
1999
Joy Ming5fd29ca62017-10-02 22:51:222000const char kDownloadsForegroundName[] = "Enable downloads foreground";
2001const char kDownloadsForegroundDescription[] =
2002 "Enable downloads as a foreground service for all versions of Android.";
2003
Joy Ming189b0cc2017-12-08 19:42:432004const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2005const char kDownloadsLocationChangeDescription[] =
2006 "Enable changing default downloads storage location on Android.";
2007
Brett Wilsonff596952017-07-14 01:06:552008const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2009const char kEnableAndroidPayIntegrationV1Description[] =
2010 "Enable integration with Android Pay using the first version of the API";
2011
2012const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2013const char kEnableAndroidPayIntegrationV2Description[] =
2014 "Enable integration with Android Pay using the second version of the API";
2015
Vitalii Iarkof4ed32d2017-09-26 13:15:532016const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552017const char kEnableAndroidSpellcheckerDescription[] =
2018 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552019
Lei Tianbd5a3bf2018-02-28 19:01:162020const char kEnableCommandLineOnNonRootedName[] =
2021 "Enable command line on non-rooted devices";
2022const char kEnableCommandLineOnNoRootedDescription[] =
2023 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2024
Vitalii Iarkof4ed32d2017-09-26 13:15:532025const char kEnableContentSuggestionsNewFaviconServerName[] =
2026 "Get favicons for content suggestions from a new server.";
2027const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2028 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2029 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552030
2031const char kEnableContentSuggestionsSettingsName[] =
2032 "Show content suggestions settings.";
2033const char kEnableContentSuggestionsSettingsDescription[] =
2034 "If enabled, the content suggestions settings will be available from the "
2035 "main settings menu.";
2036
Vitalii Iarkof4ed32d2017-09-26 13:15:532037const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2038 "Use content suggestions thumbnail dominant color.";
2039const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2040 "Use content suggestions thumbnail dominant color as a placeholder before "
2041 "the real thumbnail is fetched (requires Chrome Home).";
2042
Brett Wilsonff596952017-07-14 01:06:552043const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2044const char kEnableCustomContextMenuDescription[] =
2045 "Enables a new context menu when a link, image, or video is pressed within "
2046 "Chrome.";
2047
2048const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2049const char kEnableCustomFeedbackUiDescription[] =
2050 "Enables a custom feedback UI when submitting feedback through Google "
2051 "Feedback. Works with Google Play Services v10.2+";
2052
2053const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472054 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552055const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472056 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552057
Brett Wilsonff596952017-07-14 01:06:552058const char kEnableOmniboxClipboardProviderName[] =
2059 "Omnibox clipboard URL suggestions";
2060const char kEnableOmniboxClipboardProviderDescription[] =
2061 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2062 "focus in the omnibox.";
2063
2064const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2065 "Use expanded autofill credit card popup layout.";
2066const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2067 "If enabled, displays autofill credit card popup using expanded layout.";
2068
Becky Zhoua7f11d62018-02-01 16:02:532069const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2070 "Show article suggestions expandable header on New Tab Page";
2071const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2072 "If enabled, the article suggestions content on New Tab Page can be "
2073 "toggled shown or hidden by clicking the expandable header.";
2074
Brett Wilsonff596952017-07-14 01:06:552075const char kEnableNtpAssetDownloadSuggestionsName[] =
2076 "Show asset downloads on the New Tab page";
2077const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2078 "If enabled, the list of content suggestions on the New Tab page will "
2079 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2080 "later use.";
2081
2082const char kEnableNtpBookmarkSuggestionsName[] =
2083 "Show recently visited bookmarks on the New Tab page";
2084const char kEnableNtpBookmarkSuggestionsDescription[] =
2085 "If enabled, the list of content suggestions on the New Tab page will "
2086 "contain recently visited bookmarks.";
2087
2088const char kEnableNtpForeignSessionsSuggestionsName[] =
2089 "Show recent foreign tabs on the New Tab page";
2090const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2091 "If enabled, the list of content suggestions on the New Tab page will "
2092 "contain recent foreign tabs.";
2093
Brett Wilsonff596952017-07-14 01:06:552094const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2095 "Show offline page downloads on the New Tab page";
2096const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2097 "If enabled, the list of content suggestions on the New Tab page will "
2098 "contain pages that the user downloaded for later use.";
2099
2100const char kEnableNtpRemoteSuggestionsName[] =
2101 "Show server-side suggestions on the New Tab page";
2102const char kEnableNtpRemoteSuggestionsDescription[] =
2103 "If enabled, the list of content suggestions on the New Tab page will "
2104 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2105 "allows to override the source used to retrieve these server-side "
2106 "suggestions.";
2107
2108const char kEnableNtpSnippetsVisibilityName[] =
2109 "Make New Tab Page Snippets more visible.";
2110const char kEnableNtpSnippetsVisibilityDescription[] =
2111 "If enabled, the NTP snippets will become more discoverable with a larger "
2112 "portion of the first card above the fold.";
2113
2114const char kEnableNtpSuggestionsNotificationsName[] =
2115 "Notify about new content suggestions available at the New Tab page";
2116const char kEnableNtpSuggestionsNotificationsDescription[] =
2117 "If enabled, notifications will inform about new content suggestions on "
2118 "the New Tab page.";
2119
Brett Wilsonff596952017-07-14 01:06:552120const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2121const char kEnableOfflinePreviewsDescription[] =
2122 "Enable showing offline page previews on slow networks.";
2123
2124const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2125const char kEnableOskOverscrollDescription[] =
2126 "Enable OSK overscroll support. With this flag on, the OSK will only "
2127 "resize the visual viewport.";
2128
2129const char kEnableSpecialLocaleName[] =
2130 "Enable custom logic for special locales.";
2131const char kEnableSpecialLocaleDescription[] =
2132 "Enable custom logic for special locales. In this mode, Chrome might "
2133 "behave differently in some locales.";
2134
Brett Wilsonff596952017-07-14 01:06:552135const char kEnableWebNfcName[] = "WebNFC";
2136const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2137
gogeraldf3cbb422017-07-26 14:37:122138const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2139 "Enable Web Payments method section order V2.";
2140const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2141 "Enable this option to display payment method section above address "
2142 "section instead of below it.";
2143
Raymes Khoury582b43132017-12-12 23:54:302144const char kGrantNotificationsToDSEName[] =
2145 "Grant notifications to the Default Search Engine";
2146const char kGrantNotificationsToDSENameDescription[] =
2147 "Automatically grant the notifications permission to the Default Search "
2148 "Engine";
2149
Daniel Parke74fcf862018-03-27 18:05:452150const char kHomePageButtonName[] = "Force Enable Home Page Button";
2151const char kHomePageButtonDescription[] =
2152 "Displays a home button if enabled. "
2153 "Chrome must be restarted twice for this flag to take effect.";
2154
Theresa920e0ed2018-03-07 18:12:442155const char kInterestFeedContentSuggestionsDescription[] =
2156 "Use the interest feed to render content suggestions. Currently content "
2157 "suggestions are shown on the New Tab Page.";
2158const char kInterestFeedContentSuggestionsName[] =
2159 "Interest Feed Content Suggestions";
2160
Brett Wilsonff596952017-07-14 01:06:552161const char kKeepPrefetchedContentSuggestionsName[] =
2162 "Keep prefetched content suggestions";
2163const char kKeepPrefetchedContentSuggestionsDescription[] =
2164 "If enabled, some of prefetched content suggestions are not replaced by "
2165 "the new fetched suggestions.";
2166
Leo Zhang051b75482017-12-20 03:28:302167const char kLanguagesPreferenceName[] = "Language Settings";
2168const char kLanguagesPreferenceDescription[] =
2169 "Enable this option for Language Settings feature on Android.";
2170
Brett Wilsonff596952017-07-14 01:06:552171const char kLsdPermissionPromptName[] =
2172 "Location Settings Dialog Permission Prompt";
2173const char kLsdPermissionPromptDescription[] =
2174 "Whether to use the Google Play Services Location Settings Dialog "
2175 "permission dialog.";
2176
Amirhossein Simjour97b4154f2018-02-20 03:49:592177const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2178const char kModalPermissionDialogViewDescription[] =
2179 "Enable this option to use ModalDialogManager for permission Dialogs.";
2180
Brett Wilsonff596952017-07-14 01:06:552181const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2182const char kMediaScreenCaptureDescription[] =
2183 "Enable this option for experimental ScreenCapture feature on Android.";
2184
2185const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2186const char kModalPermissionPromptsDescription[] =
2187 "Whether to use permission dialogs in place of permission infobars.";
2188
Brett Wilsonff596952017-07-14 01:06:552189const char kNewPhotoPickerName[] = "Enable new Photopicker";
2190const char kNewPhotoPickerDescription[] =
2191 "Activates the new picker for selecting photos.";
2192
2193const char kNoCreditCardAbort[] = "No Credit Card Abort";
2194const char kNoCreditCardAbortDescription[] =
2195 "Whether or not the No Credit Card Abort is enabled.";
2196
2197const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2198const char kNtpCondensedLayoutDescription[] =
2199 "Show a condensed layout on the New Tab Page.";
2200
2201const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2202const char kNtpCondensedTileLayoutDescription[] =
2203 "Show a condensed tile layout on the New Tab Page.";
2204
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062205const char kNtpModernLayoutName[] = "Modern NTP layout";
2206const char kNtpModernLayoutDescription[] =
2207 "Show a modern layout on the New Tab Page.";
2208
Theresa6bd5f282018-03-09 16:40:032209const char kNtpShortcutsName[] = "NTP Shortcuts";
2210const char kNtpShortcutsDescription[] =
2211 "Show shortcuts for bookmarks and downloads on the New Tab Page.";
2212
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:042213const char kSiteExplorationUiName[] = "Site Exploration UI";
2214const char kSiteExplorationUiDescription[] =
2215 "Show site suggestions in the Exploration UI";
2216
Brett Wilsonff596952017-07-14 01:06:552217const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2218const char kNtpGoogleGInOmniboxDescription[] =
2219 "Show a Google G in the omnibox on the New Tab Page.";
2220
Brett Wilsonff596952017-07-14 01:06:552221const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2222const char kOfflineBookmarksDescription[] =
2223 "Enable saving bookmarked pages for offline viewing.";
2224
Brett Wilsonff596952017-07-14 01:06:552225const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2226const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2227
2228const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2229const char kOfflinePagesCtV2Description[] =
2230 "V2 features include attributing pages to the app that initiated the "
2231 "custom tabs, and being able to query for pages by page attribution.";
2232
Cathy Li7311d792018-04-05 00:34:162233const char kOfflinePagesCTSuppressNotificationsName[] =
2234 "Disable download complete notification for whitelisted CCT apps.";
2235const char kOfflinePagesCTSuppressNotificationsDescription[] =
2236 "Disable download complete notification for page downloads originating "
2237 "from a CCT app whitelisted to show their own download complete "
2238 "notification.";
2239
Candice Sy74fa7a352018-03-30 23:46:492240const char kOfflinePagesDescriptiveFailStatusName[] =
2241 "Enables descriptive failed download status text.";
2242const char kOfflinePagesDescriptiveFailStatusDescription[] =
2243 "Enables failed download status text in notifications and Downloads Home "
2244 "to state the reason the request failed if the failure is actionable.";
2245
2246const char kOfflinePagesDescriptivePendingStatusName[] =
2247 "Enables descriptive pending download status text.";
2248const char kOfflinePagesDescriptivePendingStatusDescription[] =
2249 "Enables pending download status text in notifications and Downloads Home "
2250 "to state the reason the request is pending.";
2251
2252const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2253 "Enables offline pages in the downloads home to be opened in CCT.";
2254const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2255 "When enabled offline pages launched from the Downloads Home will be "
2256 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2257
Carlos Knippschild09272ecd2017-12-09 03:29:362258const char kOfflinePagesLimitlessPrefetchingName[] =
2259 "Removes resource usage limits for the prefetching of offline pages.";
2260const char kOfflinePagesLimitlessPrefetchingDescription[] =
2261 "Allows the prefetching of suggested offline pages to ignore resource "
2262 "usage limits. This allows it to completely ignore data usage limitations "
2263 "and allows downloads to happen with any kind of connection.";
2264
Brett Wilsonff596952017-07-14 01:06:552265const char kOfflinePagesLoadSignalCollectingName[] =
2266 "Enables collecting load timing data for offline page snapshots.";
2267const char kOfflinePagesLoadSignalCollectingDescription[] =
2268 "Enables loading completeness data collection while writing an offline "
2269 "page. This data is collected in the snapshotted offline page to allow "
2270 "data analysis to improve deciding when to make the offline snapshot.";
2271
2272const char kOfflinePagesPrefetchingName[] =
2273 "Enables suggested offline pages to be prefetched.";
2274const char kOfflinePagesPrefetchingDescription[] =
2275 "Enables suggested offline pages to be prefetched, so useful content is "
2276 "available while offline.";
2277
Cathy Li3d5379e2017-09-07 00:11:092278const char kOfflinePagesPrefetchingUIName[] =
2279 "Enables prefetched offline pages to be shown in UI.";
2280const char kOfflinePagesPrefetchingUIDescription[] =
2281 "Enables prefetched offline pages to raise notifications and be shown in "
2282 "download home UI.";
2283
Pete Williamson7845dff2017-09-20 11:06:192284const char kOfflinePagesResourceBasedSnapshotName[] =
2285 "Enables offline page snapshots to be based on percentage of page loaded.";
2286const char kOfflinePagesResourceBasedSnapshotDescription[] =
2287 "Enables offline page snapshots to use a resource percentage based "
2288 "approach for determining when the page is loaded as opposed to a time "
2289 "based approach";
2290
Collin Baker17f92a52017-07-19 21:41:252291const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2292const char kOfflinePagesRenovationsDescription[] =
2293 "Enables offline page renovations which correct issues with dynamic "
2294 "content that occur when offlining pages that use JavaScript.";
2295
Brett Wilsonff596952017-07-14 01:06:552296const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2297const char kOfflinePagesSharingDescription[] =
2298 "Enables the saved offline pages to be shared via other applications.";
2299
Cathy Lie0d88762018-04-12 08:03:012300const char kOfflinePagesShowAlternateDinoPageName[] =
2301 "Enable alternate dino page with more user capabilities.";
2302const char kOfflinePagesShowAlternateDinoPageDescription[] =
2303 "Enables the dino page to show more buttons and offer existing offline "
2304 "content.";
2305
Brett Wilsonff596952017-07-14 01:06:552306const char kOfflinePagesSvelteConcurrentLoadingName[] =
2307 "Enables concurrent background loading on svelte.";
2308const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2309 "Enables concurrent background loading (or downloading) of pages on "
2310 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2311 "happen when the svelte device is idle.";
2312
2313const char kOffliningRecentPagesName[] =
2314 "Enable offlining of recently visited pages";
2315const char kOffliningRecentPagesDescription[] =
2316 "Enable storing recently visited pages locally for offline use. Requires "
2317 "Offline Pages to be enabled.";
2318
Lei Zhang2eca9082017-10-17 20:42:502319const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2320const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552321 "Enable Pay with Google integration into Web Payments with API version "
2322 "'1'.";
2323
Matthew Jonesa88b95852017-11-08 23:13:502324const char kProgressBarThrottleName[] = "Android progress update throttling.";
2325const char kProgressBarThrottleDescription[] =
2326 "Limit the maximum progress update to make progress appear smoother.";
2327
Brett Wilsonff596952017-07-14 01:06:552328const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2329const char kPullToRefreshEffectDescription[] =
2330 "Page reloads triggered by vertically overscrolling content.";
2331
Piotr Swigon7c296ef2017-08-29 04:32:002332const char kPwaImprovedSplashScreenName[] =
2333 "Improved Splash Screen for standalone PWAs";
2334const char kPwaImprovedSplashScreenDescription[] =
2335 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2336 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492337const char kPwaPersistentNotificationName[] =
2338 "Persistent notification in standalone PWA";
2339const char kPwaPersistentNotificationDescription[] =
2340 "Enables a persistent Android notification for standalone PWAs";
2341
Brett Wilsonff596952017-07-14 01:06:552342const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2343const char kReaderModeHeuristicsDescription[] =
2344 "Determines what pages the Reader Mode infobar is shown on.";
2345const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2346const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2347const char kReaderModeHeuristicsAllArticles[] = "All articles";
2348const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2349const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2350
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182351const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2352const char kReaderModeInCCTDescription[] =
2353 "Open Reader Mode in Chrome Custom Tabs.";
2354
Brett Wilsonff596952017-07-14 01:06:552355const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2356const char kSetMarketUrlForTestingDescription[] =
2357 "When enabled, sets the market URL for use in testing the update menu "
2358 "item.";
2359
2360const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2361const char kSpannableInlineAutocompleteDescription[] =
2362 "A new type of inline autocomplete for the omnibox that works with "
2363 "keyboards that compose text.";
2364
Brett Wilsonff596952017-07-14 01:06:552365const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2366const char kUpdateMenuBadgeDescription[] =
2367 "When enabled, an update badge will be shown on the app menu button.";
2368
2369const char kUpdateMenuItemCustomSummaryDescription[] =
2370 "When this flag and the force show update menu item flag are enabled, a "
2371 "custom summary string will be displayed below the update menu item.";
2372const char kUpdateMenuItemCustomSummaryName[] =
2373 "Update menu item custom summary";
2374
2375const char kUpdateMenuItemName[] = "Force show update menu item";
2376const char kUpdateMenuItemDescription[] =
2377 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2378 R"*(menu.)*";
2379
Amirhossein Simjourd78bbcf2018-02-02 16:23:392380const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2381const char kVrBrowsingNativeAndroidUiDescription[] =
2382 "Enable Android UI elements in VR.";
2383
Marc Treib93af46a2017-08-23 13:30:002384const char kThirdPartyDoodlesName[] =
2385 "Enable Doodles for third-party search engines";
2386const char kThirdPartyDoodlesDescription[] =
2387 "Enables fetching and displaying Doodles on the NTP for third-party search "
2388 "engines.";
2389
Klaus Weidneraaf697f2018-01-18 20:07:362390const char kWebXrRenderPathName[] = "WebXR presentation render path";
2391const char kWebXrRenderPathDescription[] =
2392 "Render path to use for WebXR presentation (including WebVR)";
2393const char kWebXrRenderPathChoiceClientWaitDescription[] =
2394 "ClientWait (Baseline)";
2395const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2396 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072397const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2398 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362399
Brett Wilson7b44537e2017-08-18 01:38:282400// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552401
Brett Wilson7b44537e2017-08-18 01:38:282402#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482403
Brett Wilson7b44537e2017-08-18 01:38:282404const char kAccountConsistencyName[] =
2405 "Identity consistency between browser and cookie jar";
2406const char kAccountConsistencyDescription[] =
2407 "When enabled, the browser manages signing in and out of Google accounts.";
2408const char kAccountConsistencyChoiceMirror[] = "Mirror";
2409const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342410
Chris Pickel3a227ae62017-08-24 10:47:262411const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2412const char kDoodlesOnLocalNtpDescription[] =
2413 "Show doodles on the local New Tab page if Google is the default search "
2414 "engine.";
2415
mlamouriff56c092017-05-11 15:31:392416const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392417const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342418 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392419const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392420const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392421const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342422 "Enabled (Flash lowers volume when interrupted by other sound, "
2423 "experimental)";
2424
Brett Wilson7b44537e2017-08-18 01:38:282425const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2426const char kEnableNewAppMenuIconDescription[] =
2427 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342428
Dave Schuyler598a4a42018-01-04 02:15:102429const char kOmniboxRichEntitySuggestionsName[] =
2430 "Omnibox rich entity suggestions";
2431const char kOmniboxRichEntitySuggestionsDescription[] =
2432 "Display entity suggestions using images and an enhanced layout; showing "
2433 "more context and descriptive text about the entity";
2434
Dave Schuyler616273d2018-04-19 03:12:522435const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2436const char kOmniboxNewAnswerLayoutDescription[] =
2437 "Display answers using an enhanced layout with larger images";
2438
Kevin Bailey898669972017-11-06 15:34:492439const char kOmniboxTabSwitchSuggestionsName[] =
2440 "Omnibox tab switch suggestions";
2441const char kOmniboxTabSwitchSuggestionsDescription[] =
2442 "Enable suggestions for switching to open tabs within the Omnibox.";
2443
krbcc621412017-06-01 19:40:282444const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2445const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192446 "Enable receiving tail suggestions, a type of search suggestion based on "
2447 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342448
Brett Wilson7b44537e2017-08-18 01:38:282449const char kOneGoogleBarOnLocalNtpName[] =
2450 "Enable the OneGoogleBar on the local NTP";
2451const char kOneGoogleBarOnLocalNtpDescription[] =
2452 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2453 "search engine.";
2454
Brett Wilson7b44537e2017-08-18 01:38:282455const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2456const char kUseGoogleLocalNtpDescription[] =
2457 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322458
Brett Wilson7b44537e2017-08-18 01:38:282459const char kVoiceSearchOnLocalNtpName[] =
2460 "Enable Voice Search on the local NTP";
2461const char kVoiceSearchOnLocalNtpDescription[] =
2462 "Show a microphone for voice search on the local New Tab page "
2463 "if Google is the default search engine.";
2464
Balazs Engedy00c5cea2018-03-30 15:36:392465const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422466const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392467 "Enable Web Authentication API support";
2468
2469const char kEnableWebAuthenticationTestingAPIName[] =
2470 "Web Authentication Testing API";
2471const char kEnableWebAuthenticationTestingAPIDescription[] =
2472 "Enable Web Authentication Testing API support, which disconnects the API "
2473 "implementation from the real world, and allows configuring virtual "
2474 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422475
Brett Wilson7b44537e2017-08-18 01:38:282476#if defined(GOOGLE_CHROME_BUILD)
2477
2478const char kGoogleBrandedContextMenuName[] =
2479 "Google branding in the context menu";
2480const char kGoogleBrandedContextMenuDescription[] =
2481 "Shows a Google icon next to context menu items powered by Google "
2482 "services.";
2483
2484#endif // !defined(GOOGLE_CHROME_BUILD)
2485
2486#endif // !defined(OS_ANDROID)
2487
2488// Windows ---------------------------------------------------------------------
2489
2490#if defined(OS_WIN)
2491
2492const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2493const char kCloudPrintXpsDescription[] =
2494 "XPS enables advanced options for classic printers connected to the Cloud "
2495 "Print with Chrome. Printers must be re-connected after changing this "
2496 "flag.";
2497
Dave Tapuskadd43469d2017-08-22 22:15:532498const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2499const char kDirectManipulationStylusDescription[] =
2500 "If enabled, Chrome will scroll web pages on stylus drag.";
2501
Brett Wilson7b44537e2017-08-18 01:38:282502const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2503const char kDisablePostscriptPrintingDescription[] =
2504 "Disables PostScript generation when printing to PostScript capable "
2505 "printers, and uses EMF generation in its place.";
2506
2507const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2508const char kEnableAppcontainerDescription[] =
2509 "Enables the use of an AppContainer on sandboxed processes to improve "
2510 "security.";
2511
2512const char kEnableD3DVsync[] = "D3D v-sync";
2513const char kEnableD3DVsyncDescription[] =
2514 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2515 "to occur.";
2516
2517const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2518const char kEnableDesktopIosPromotionsDescription[] =
2519 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2520 "eligible.";
2521
James Forshawfd0ce342018-02-14 09:55:392522const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2523const char kEnableGpuAppcontainerDescription[] =
2524 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2525 "improve security.";
2526
Brett Wilson7b44537e2017-08-18 01:38:282527const char kGdiTextPrinting[] = "GDI Text Printing";
2528const char kGdiTextPrintingDescription[] =
2529 "Use GDI to print text as simply text";
2530
Henrik Grunell67e56ef2018-04-10 14:04:092531const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2532const char kIncreaseInputAudioBufferSizeDescription[] =
2533 "Increases the input audio endpoint buffer to 100 ms.";
2534
Brett Wilson7b44537e2017-08-18 01:38:282535const char kTraceExportEventsToEtwName[] =
2536 "Enable exporting of tracing events to ETW.";
2537const char kTraceExportEventsToEtwDesription[] =
2538 "If enabled, trace events will be exported to the Event Tracing for "
2539 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2540 "Xperf.";
2541
2542const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2543const char kUseWinrtMidiApiDescription[] =
2544 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2545 "later).";
2546
2547const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2548const char kWindows10CustomTitlebarDescription[] =
2549 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2550 "deferring to Windows.";
2551
2552#endif // defined(OS_WIN)
2553
2554// Mac -------------------------------------------------------------------------
2555
2556#if defined(OS_MACOSX)
2557
Brett Wilson7b44537e2017-08-18 01:38:282558const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2559const char kAppWindowCyclingDescription[] =
2560 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2561 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2562 "browser window, and browser windows will not be cycled when a Chrome App "
2563 "is active.";
2564
Lei Zhang2eca9082017-10-17 20:42:502565const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2566const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282567 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2568
2569const char kFullscreenToolbarRevealName[] =
2570 "Enables the toolbar in fullscreen to reveal itself.";
2571const char kFullscreenToolbarRevealDescription[] =
2572 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2573 "has changed.";
2574
2575const char kContentFullscreenName[] = "Improved Content Fullscreen";
2576const char kContentFullscreenDescription[] =
2577 "Fullscreen content window detaches from main browser window and goes to "
2578 "a new space without moving or changing the original browser window.";
2579
Lei Zhang2eca9082017-10-17 20:42:502580const char kDialogTouchBarName[] = "Dialog Touch Bar";
2581const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282582 "Shows Dialog buttons on the Touch Bar.";
2583
2584const char kHostedAppsInWindowsName[] =
2585 "Allow hosted apps to be opened in windows";
2586const char kHostedAppsInWindowsDescription[] =
2587 "Allows hosted apps to be opened in windows instead of being limited to "
2588 "tabs.";
2589
Lei Zhang2eca9082017-10-17 20:42:502590const char kMacRTLName[] = "Enable RTL";
2591const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282592
Lei Zhang2eca9082017-10-17 20:42:502593const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2594const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522595 "Enables sharing via macOS share extensions.";
2596
Lei Zhang2eca9082017-10-17 20:42:502597const char kMacTouchBarName[] = "Hardware Touch Bar";
2598const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282599
2600const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2601const char kMacV2SandboxDescription[] =
2602 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2603 "entire life cycle.";
2604
2605const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2606const char kMacViewsNativeAppWindowsDescription[] =
2607 "Controls whether to use Toolkit-Views based Chrome App windows.";
2608
2609const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2610const char kMacViewsTaskManagerDescription[] =
2611 "Controls whether to use the Toolkit-Views based Task Manager.";
2612
2613const char kTabDetachingInFullscreenName[] =
2614 "Allow tab detaching in fullscreen";
2615const char kTabDetachingInFullscreenDescription[] =
2616 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2617
2618const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2619const char kTabStripKeyboardFocusDescription[] =
2620 "Enable keyboard focus for the tabs in the tab strip.";
2621
Brett Wilson7b44537e2017-08-18 01:38:282622#endif
2623
2624// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342625
2626#if defined(OS_CHROMEOS)
2627
Brett Wilson7b44537e2017-08-18 01:38:282628const char kAcceleratedMjpegDecodeName[] =
2629 "Hardware-accelerated mjpeg decode for captured frame";
2630const char kAcceleratedMjpegDecodeDescription[] =
2631 "Enable hardware-accelerated mjpeg decode for captured frame where "
2632 "available.";
vabr0215a8e2017-03-28 12:47:342633
Brett Wilson7b44537e2017-08-18 01:38:282634const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2635const char kAllowTouchpadThreeFingerClickDescription[] =
2636 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342637
Brett Wilson7b44537e2017-08-18 01:38:282638const char kArcBootCompleted[] = "Load Android apps automatically";
2639const char kArcBootCompletedDescription[] =
2640 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342641
Lev Rumyantsev7a8544312017-08-18 19:26:512642const char kArcNativeBridgeExperimentName[] =
2643 "Enable native bridge experiment for ARC";
2644const char kArcNativeBridgeExperimentDescription[] =
2645 "Enables experimental native bridge feature.";
2646
lgchengecd1c1a62018-01-09 02:59:462647const char kArcUsbHostName[] = "Enable ARC USB host integration";
2648const char kArcUsbHostDescription[] =
2649 "Allow Android apps to use USB host feature on ChromeOS devices.";
2650
Kevin Cernekeeb7f96a52017-10-25 17:40:182651const char kArcVpnName[] = "Enable ARC VPN integration";
2652const char kArcVpnDescription[] =
2653 "Allow Android VPN clients to tunnel Chrome traffic.";
2654
Brett Wilson7b44537e2017-08-18 01:38:282655const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2656const char kAshEnableUnifiedDesktopDescription[] =
2657 "Enable unified desktop mode which allows a window to span multiple "
2658 "displays.";
vabr0215a8e2017-03-28 12:47:342659
Sean Kau5e956192017-10-06 22:25:172660const char kBulkPrintersName[] = "Bulk Printers Policy";
2661const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2662
Brett Wilson7b44537e2017-08-18 01:38:282663const char kCaptivePortalBypassProxyName[] =
2664 "Bypass proxy for Captive Portal Authorization";
2665const char kCaptivePortalBypassProxyDescription[] =
2666 "If proxy is configured, it usually prevents from authorization on "
2667 "different captive portals. This enables opening captive portal "
2668 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342669
Brett Wilson7b44537e2017-08-18 01:38:282670const char kCrOSComponentName[] = "Chrome OS Component";
2671const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082672 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342673
Xiaochu Liu51d03fd2017-09-08 23:51:022674const char kCrOSContainerName[] = "Chrome OS Container";
2675const char kCrOSContainerDescription[] =
2676 "Enable the use of Chrome OS Container utility.";
2677
Brett Wilson7b44537e2017-08-18 01:38:282678const char kCrosRegionsModeName[] = "Cros-regions load mode";
2679const char kCrosRegionsModeDescription[] =
2680 "This flag controls cros-regions load mode";
2681const char kCrosRegionsModeDefault[] = "Default";
2682const char kCrosRegionsModeOverride[] = "Override VPD values.";
2683const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342684
Jacob Dufault2becbc482017-08-25 00:36:352685const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2686const char kDisableLockScreenAppsDescription[] =
2687 "Disable new-note action handler apps on the lock screen. The user will "
2688 "not be able to launch the preferred note-taking action from the lock "
2689 "screen, provided that the app supports lock screen note taking.";
2690
Sammie Quonef6b4882017-09-14 16:50:052691const char kDisableTabletAutohideTitlebarsName[] =
2692 "Disable autohide titlebars in tablet mode";
2693const char kDisableTabletAutohideTitlebarsDescription[] =
2694 "Disable tablet mode autohide titlebars functionality. The user will be "
2695 "able to see the titlebar in tablet mode.";
2696
Xiaoqian Dai24b33eb2018-04-10 21:01:572697const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2698const char kDisableTabletSplitViewDescription[] =
2699 "Disable split view for Chrome OS tablet mode.";
2700
Brett Wilson7b44537e2017-08-18 01:38:282701const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2702const char kEnablePerUserTimezoneDescription[] =
2703 "Chrome OS system timezone preference is stored and handled for each user "
2704 "individually.";
vabr0215a8e2017-03-28 12:47:342705
Brett Wilson7b44537e2017-08-18 01:38:282706const char kDisableSystemTimezoneAutomaticDetectionName[] =
2707 "SystemTimezoneAutomaticDetection policy support";
2708const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2709 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342710
Lei Zhang2eca9082017-10-17 20:42:502711const char kEnableBackgroundBlurName[] = "Enable background blur.";
2712const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422713 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392714
Brett Wilson7b44537e2017-08-18 01:38:282715const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2716const char kEnableChromevoxArcSupportDescription[] =
2717 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342718
F#m75862c92018-01-25 19:10:472719const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2720const char kEnableDisplayZoomSettingDescription[] =
2721 "Allows the user to modify the display size or zoom via the chrome display "
2722 "settings page.";
2723
Brett Wilson7b44537e2017-08-18 01:38:282724const char kEnableEhvInputName[] =
2725 "Emoji, handwriting and voice input on opt-in IME menu";
2726const char kEnableEhvInputDescription[] =
2727 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342728
Brett Wilson7b44537e2017-08-18 01:38:282729const char kEnableEncryptionMigrationName[] =
2730 "Enable encryption migration of user data";
2731const char kEnableEncryptionMigrationDescription[] =
2732 "If enabled and the device supports ARC, the user will be asked to update "
2733 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342734
Blake O'Hare9e9317b22017-10-24 02:49:352735const char kEnableFloatingVirtualKeyboardName[] =
2736 "Enable floating virtual keyboard";
2737const char kEnableFloatingVirtualKeyboardDescription[] =
2738 "If enabled, the keyboard will use floating behavior by default.";
2739
Brett Wilson7b44537e2017-08-18 01:38:282740const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2741const char kEnableImeMenuDescription[] =
2742 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342743
Darren Shen3e49c63d2018-03-28 04:45:502744const char kEnableStylusVirtualKeyboardName[] =
2745 "Enable stylus virtual keyboard";
2746const char kEnableStylusVirtualKeyboardDescription[] =
2747 "If enabled, tapping with a stylus will show the handwriting virtual "
2748 "keyboard.";
2749
Jianzhou Feng4fb046c2018-03-29 07:38:542750const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2751 "Enable full screen handwriting virtual keyboard";
2752const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2753 "If enabled, the handwriting virtual keyboard will allow user to write "
2754 "anywhere on the screen";
2755
Jordy Greenblatt2f23df22018-02-22 19:49:192756const char kEnableUnifiedMultiDeviceSettingsName[] =
2757 "Enable unified MultiDevice settings";
2758const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2759 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2760 "MultiDevice settings.";
2761
2762const char kEnableUnifiedMultiDeviceSetupName[] =
2763 "Enable unified MultiDevice setup";
2764const char kEnableUnifiedMultiDeviceSetupDescription[] =
2765 "Enable the device to setup all MultiDevice services in a single workflow.";
2766
Klemen Kozjek05fc4512017-10-18 12:51:102767const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2768const char kEnableZipArchiverPackerDescription[] =
2769 "Enable the ability to archive files on Drive in the Files app";
2770
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412771const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2772const char kZipArchiverUnpackerDescription[] =
2773 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282774
2775const char kEolNotificationName[] = "Disable Device End of Life notification.";
2776const char kEolNotificationDescription[] =
2777 "Disable Notifcation when Device is End of Life.";
2778
2779const char kExperimentalAccessibilityFeaturesName[] =
2780 "Experimental accessibility features";
2781const char kExperimentalAccessibilityFeaturesDescription[] =
2782 "Enable additional accessibility features in the Settings page.";
2783
2784const char kExperimentalInputViewFeaturesName[] =
2785 "Experimental input view features";
2786const char kExperimentalInputViewFeaturesDescription[] =
2787 "Enable experimental features for IME input views.";
2788
2789const char kFileManagerTouchModeName[] = "Files App. touch mode";
2790const char kFileManagerTouchModeDescription[] =
2791 "Touchscreen-specific interactions of the Files app.";
2792
2793const char kFirstRunUiTransitionsName[] =
2794 "Animated transitions in the first-run tutorial";
2795const char kFirstRunUiTransitionsDescription[] =
2796 "Transitions during first-run tutorial are animated.";
2797
Brett Wilson7b44537e2017-08-18 01:38:282798const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2799const char kForceEnableStylusToolsDescription[] =
2800 "Forces display of the stylus tools menu in the shelf and the stylus "
2801 "section in settings, even if there is no attached stylus device.";
2802
2803const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2804const char kGestureEditingDescription[] =
2805 "Enable/Disable gesture editing option in the settings page for the "
2806 "virtual keyboard.";
2807
2808const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2809const char kGestureTypingDescription[] =
2810 "Enable/Disable gesture typing option in the settings page for the virtual "
2811 "keyboard.";
2812
2813const char kInputViewName[] = "Input views";
2814const char kInputViewDescription[] =
2815 "Enable IME extensions to supply custom views for user input such as "
2816 "virtual keyboards.";
2817
Megumi Hattori5a0d4182018-03-06 11:09:502818const char kLockScreenNotificationName[] = "Lock screen notification";
2819const char kLockScreenNotificationDescription[] =
2820 "Enable notifications on the lock screen.";
2821
Brett Wilson7b44537e2017-08-18 01:38:282822const char kMemoryPressureThresholdName[] =
2823 "Memory discard strategy for advanced pressure handling";
2824const char kMemoryPressureThresholdDescription[] =
2825 "Memory discarding strategy to use";
2826const char kConservativeThresholds[] =
2827 "Conservative memory pressure release strategy";
2828const char kAggressiveCacheDiscardThresholds[] =
2829 "Aggressive cache release strategy";
2830const char kAggressiveTabDiscardThresholds[] =
2831 "Aggressive tab release strategy";
2832const char kAggressiveThresholds[] =
2833 "Aggressive tab and cache release strategy";
2834
2835const char kMtpWriteSupportName[] = "MTP write support";
2836const char kMtpWriteSupportDescription[] =
2837 "MTP write support in File System API (and file manager). In-place editing "
2838 "operations are not supported.";
2839
2840const char kMultideviceName[] = "Enable multidevice features";
2841const char kMultideviceDescription[] =
2842 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342843
Kyle Horimoto027590fb2018-02-13 22:19:482844const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2845const char kMultiDeviceApiDescription[] =
2846 "Enable Mojo-based API which provides synced device metadata and the "
2847 "ability to connect to other devices associated the logged-in Google "
2848 "account.";
2849
Bailey Berrodca8eeca02017-11-18 00:49:122850const char kNativeSmbName[] = "Native Smb Client";
2851const char kNativeSmbDescription[] =
2852 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302853
vabr0215a8e2017-03-28 12:47:342854const char kNetworkPortalNotificationName[] =
2855 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342856const char kNetworkPortalNotificationDescription[] =
2857 "If enabled, notification is displayed when device is connected to a "
2858 "network behind captive portal.";
2859
Steven Bennetts77b67972017-12-14 19:38:322860const char kDisableNetworkSettingsConfigName[] =
2861 "Disable Settings based Network Configuration";
2862const char kDisableNetworkSettingsConfigDescription[] =
2863 "Disables the Settings based network configuration UI and restores the "
2864 "Views based configuration dialog.";
stevenjbe1d457382017-05-24 22:37:242865
Brett Wilson7b44537e2017-08-18 01:38:282866const char kNewKoreanImeName[] = "New Korean IME";
2867const char kNewKoreanImeDescription[] =
2868 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342869
Brett Wilson7b44537e2017-08-18 01:38:282870const char kNewZipUnpackerName[] = "New ZIP unpacker";
2871const char kNewZipUnpackerDescription[] =
2872 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342873
Brett Wilson7b44537e2017-08-18 01:38:282874const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2875const char kPhysicalKeyboardAutocorrectDescription[] =
2876 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2877 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342878
2879const char kPrinterProviderSearchAppName[] =
2880 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342881const char kPrinterProviderSearchAppDescription[] =
2882 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192883 "searches Chrome Web Store for extensions that support printing to a USB "
2884 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342885
Brett Wilson7b44537e2017-08-18 01:38:282886const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2887const char kQuickUnlockPinDescription[] =
2888 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2889 "device on the lock screen after you have signed into your device.";
2890const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2891const char kQuickUnlockPinSigninDescription[] =
2892 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2893 "device. After changing this flag PIN needs to be set up again.";
2894const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2895const char kQuickUnlockFingerprintDescription[] =
2896 "Enabling fingerprint quick unlock allows you to setup and use a "
2897 "fingerprint to unlock your Chromebook on the lock screen after you have "
2898 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342899
Brett Wilson7b44537e2017-08-18 01:38:282900const char kOfficeEditingComponentAppName[] =
2901 "Office Editing for Docs, Sheets & Slides";
2902const char kOfficeEditingComponentAppDescription[] =
2903 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072904
James Cook0ba192bf2017-12-01 20:53:112905const char kShowTapsName[] = "Show taps";
2906const char kShowTapsDescription[] =
2907 "Draws a circle at each touch point, which makes touch points more obvious "
2908 "when projecting or mirroring the display. Similar to the Android OS "
2909 "developer option.";
2910
2911const char kShowTouchHudName[] = "Show HUD for touch points";
2912const char kShowTouchHudDescription[] =
2913 "Shows a trail of colored dots for the last few touch points. Pressing "
2914 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
2915 "debug hardware issues that generate spurious touch events.";
2916
Chung-Sheng Wu468b0b32017-09-01 14:41:572917const char kSysInternalsName[] = "Enable Sys-Internals";
2918const char kSysInternalsDescription[] =
2919 "If enabled, user can monitor system information at "
2920 "chrome://sys-internals.";
2921
Brett Wilson7b44537e2017-08-18 01:38:282922const char kTeamDrivesName[] = "Enable Team Drives Integration";
2923const char kTeamDrivesDescription[] =
2924 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342925
Brett Wilson7b44537e2017-08-18 01:38:282926const char kTetherName[] = "Instant Tethering";
2927const char kTetherDescription[] =
2928 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2929 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372930
Brett Wilson7b44537e2017-08-18 01:38:282931const char kTouchscreenCalibrationName[] =
2932 "Enable/disable touchscreen calibration option in material design settings";
2933const char kTouchscreenCalibrationDescription[] =
2934 "If enabled, the user can calibrate the touch screen displays in "
2935 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092936
Mitsuru Oshima63d3f2a2017-08-23 00:12:112937// Force UI Mode
2938const char kUiModeName[] = "Force Ui Mode";
2939const char kUiModeDescription[] =
2940 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2941 R"*(despite its current orientation. "Tablet" means that the )*"
2942 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2943 R"*(means that the chromebook will act as if it were in clamshell )*"
2944 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2945 R"*(the two, based on its orientation.)*";
2946const char kUiModeTablet[] = "TouchView";
2947const char kUiModeClamshell[] = "Clamshell";
2948const char kUiModeAuto[] = "Auto (default)";
2949
bruthigeafb0c02017-06-09 13:11:532950const char kUiDevToolsName[] = "Enable native UI inspection";
2951const char kUiDevToolsDescription[] =
2952 "Enables inspection of native UI elements. For local inspection use "
2953 "chrome://inspect#other";
2954
James Cooka1bcfa9a2018-01-30 00:18:402955const char kUseMusName[] = "Mojo UI service (mus)";
2956const char kUseMusDescription[] =
2957 "Handles input events, display configuration, and windowing in a mojo "
2958 "service on a thread in the browser process.";
2959
2960const char kUseMashName[] = "Out-of-process system UI (mash)";
2961const char kUseMashDescription[] =
2962 "Runs the mojo UI service (mus) and the ash window manager and system UI "
2963 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:282964
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342965// TODO(mcasas): remove after https://crbug.com/771345.
2966const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2967const char kUseMonitorColorSpaceDescription[] =
2968 "Enables Chrome to use the color space information provided by the monitor"
2969 " instead of the default sRGB color space.";
2970
Brett Wilson7b44537e2017-08-18 01:38:282971const char kVideoPlayerChromecastSupportName[] =
2972 "Experimental Chromecast support for Video Player";
2973const char kVideoPlayerChromecastSupportDescription[] =
2974 "This option enables experimental Chromecast support for Video Player app "
2975 "on ChromeOS.";
2976
2977const char kVirtualKeyboardName[] = "Virtual Keyboard";
2978const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2979
2980const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2981const char kVirtualKeyboardOverscrollDescription[] =
2982 "Enables virtual keyboard overscroll support.";
2983
2984const char kVoiceInputName[] = "Voice input on virtual keyboard";
2985const char kVoiceInputDescription[] =
2986 "Enables voice input on virtual keyboard.";
2987
2988const char kWakeOnPacketsName[] = "Wake On Packets";
2989const char kWakeOnPacketsDescription[] =
2990 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202991
Weidong Guo7ae47532018-04-05 21:30:372992const char kEnableHomeLauncherName[] = "Enable home launcher";
2993const char kEnableHomeLauncherDescription[] =
2994 "Enable home launcher in tablet mode.";
2995
wutao7bfb1f22018-04-19 01:30:582996const char kEnableSettingsShortcutSearchName[] =
2997 "Enable Settings shortcut search";
2998const char kEnableSettingsShortcutSearchDescription[] =
2999 "Enable Settings shortcut search in launcher.";
3000
yhanadac5bff5b2017-05-18 06:37:093001#endif // defined(OS_CHROMEOS)
3002
Brett Wilson7b44537e2017-08-18 01:38:283003// Random platform combinations -----------------------------------------------
3004
3005#if defined(OS_WIN) || defined(OS_LINUX)
3006
3007const char kEnableInputImeApiName[] = "Enable Input IME API";
3008const char kEnableInputImeApiDescription[] =
3009 "Enable the use of chrome.input.ime API.";
3010
3011#endif // defined(OS_WIN) || defined(OS_LINUX)
3012
3013#if defined(OS_WIN) || defined(OS_MACOSX)
3014
3015const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3016const char kAutomaticTabDiscardingDescription[] =
3017 "If enabled, tabs get automatically discarded from memory when the system "
3018 "memory is low. Discarded tabs are still visible on the tab strip and get "
3019 "reloaded when clicked on. Info about discarded tabs can be found at "
3020 "chrome://discards.";
3021
3022#endif // defined(OS_WIN) || defined(OS_MACOSX)
3023
3024// Feature flags --------------------------------------------------------------
3025
3026#if BUILDFLAG(ENABLE_VR)
3027
David Dorwin5a496c32017-11-17 01:45:053028const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3029const char kWebVrVsyncAlignDescription[] =
3030 "Align WebVR application rendering with VSync for smoother animations.";
3031
Brett Wilson7b44537e2017-08-18 01:38:283032#if defined(OS_ANDROID)
3033
Yash Malikb78e72a72018-02-21 09:14:103034const char kVrWebInputEditingName[] = "VR browsing web input editing";
3035const char kVrWebInputEditingDescription[] =
3036 "Allow editing web input fields while in VR mode.";
3037
David Dorwin5a496c32017-11-17 01:45:053038const char kVrBrowsingExperimentalFeaturesName[] =
3039 "VR browsing experimental features";
3040const char kVrBrowsingExperimentalFeaturesDescription[] =
3041 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283042
David Dorwin5a496c32017-11-17 01:45:053043const char kVrBrowsingExperimentalRenderingName[] =
3044 "VR browsing experimental rendering features";
3045const char kVrBrowsingExperimentalRenderingDescription[] =
3046 "Experimental rendering features for VR browsing (e.g. power-saving "
3047 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103048
David Dorwin5a496c32017-11-17 01:45:053049const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3050const char kVrBrowsingInCustomTabDescription[] =
3051 "Allow browsing within a VR headset while in a Custom Tab.";
3052
Michael Thiessen37895912018-01-19 20:15:543053const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3054const char kVrIconInDaydreamHomeDescription[] =
3055 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3056
David Dorwin5a496c32017-11-17 01:45:053057const char kWebVrAutopresentFromIntentName[] =
3058 "WebVR auto presentation from intents";
3059const char kWebVrAutopresentFromIntentDescription[] =
3060 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283061
3062#endif // OS_ANDROID
3063
Bill Orr103ed272018-02-14 21:23:053064#if BUILDFLAG(ENABLE_OCULUS_VR)
3065const char kOculusVRName[] = "Oculus hardware support";
3066const char kOculusVRDescription[] =
3067 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3068 "Windows 10 or later).";
3069#endif // ENABLE_OCULUS_VR
3070
Bill Orr49527562017-11-22 16:58:483071#if BUILDFLAG(ENABLE_OPENVR)
3072const char kOpenVRName[] = "OpenVR hardware support";
3073const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073074 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3075 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483076#endif // ENABLE_OPENVR
3077
Brett Wilson7b44537e2017-08-18 01:38:283078#endif // ENABLE_VR
3079
Nico Weberaf3b00b2017-09-11 17:58:173080#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283081
3082const char kNaclDebugMaskName[] =
3083 "Restrict Native Client GDB-based debugging by pattern";
3084const char kNaclDebugMaskDescription[] =
3085 "Restricts Native Client application GDB-based debugging by URL of "
3086 "manifest file. Native Client GDB-based debugging must be enabled for this "
3087 "option to work.";
3088const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3089const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3090 "Debug everything except secure shell and the PNaCl translator.";
3091const char kNaclDebugMaskChoiceIncludeDebug[] =
3092 "Debug only if manifest URL ends with debug.nmf.";
3093
3094const char kNaclDebugName[] = "Native Client GDB-based debugging";
3095const char kNaclDebugDescription[] =
3096 "Enable GDB debug stub. This will stop a Native Client application on "
3097 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3098
3099const char kNaclName[] = "Native Client";
3100const char kNaclDescription[] =
3101 "Support Native Client for all web applications, even those that were not "
3102 "installed from the Chrome Web Store.";
3103
3104const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3105const char kPnaclSubzeroDescription[] =
3106 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3107
Nico Weberaf3b00b2017-09-11 17:58:173108#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283109
Brett Wilson7b44537e2017-08-18 01:38:283110#if BUILDFLAG(ENABLE_WEBRTC)
3111
3112const char kWebrtcH264WithOpenh264FfmpegName[] =
3113 "WebRTC H.264 software video encoder/decoder";
3114const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3115 "When enabled, an H.264 software video encoder/decoder pair is included. "
3116 "If a hardware encoder/decoder is also available it may be used instead of "
3117 "this encoder/decoder.";
3118
3119#endif // BUILDFLAG(ENABLE_WEBRTC)
3120
James Cookf9d34d22017-10-04 16:39:353121#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283122
Wenzhao Zang50fb0b22017-11-07 01:38:423123const char kAshDisableLoginDimAndBlurName[] =
3124 "Disable dimming and blur on login screen.";
3125const char kAshDisableLoginDimAndBlurDescription[] =
3126 "Disable dimming and blur on login screen.";
3127
Brett Wilson7b44537e2017-08-18 01:38:283128const char kAshDisableSmoothScreenRotationName[] =
3129 "Disable smooth rotation animations.";
3130const char kAshDisableSmoothScreenRotationDescription[] =
3131 "Disable smooth rotation animations.";
3132
Qiang Xub7e921072017-12-07 21:02:113133const char kAshEnableDisplayMoveWindowAccelsName[] =
3134 "Enable shortcuts for moving window between displays.";
3135const char kAshEnableDisplayMoveWindowAccelsDescription[] =
3136 "Enable shortcuts for moving window between displays.";
3137
wutaoc70d7b92017-11-01 08:06:013138const char kAshEnableKeyboardShortcutViewerName[] =
3139 "Enable keyboard shortcut viewer.";
3140const char kAshEnableKeyboardShortcutViewerDescription[] =
3141 "Enable keyboard shortcut viewer.";
3142
Brett Wilson7b44537e2017-08-18 01:38:283143const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
3144const char kAshEnableMirroredScreenDescription[] =
3145 "Enable the mirrored screen mode. This mode flips the screen image "
3146 "horizontally.";
3147
Sammie Quon4e14214d2018-01-30 22:45:243148const char kAshEnableNewOverviewUiName[] = "Enable new overview UI.";
3149const char kAshEnableNewOverviewUiDescription[] =
3150 "Enables the new overview mode UI.";
3151
wutaod9cbcd32018-02-17 02:31:063152const char kAshEnableNewOverviewAnimationsName[] =
3153 "Enable new overview animations.";
3154const char kAshEnableNewOverviewAnimationsDescription[] =
3155 "Enables the new overview mode animations.";
3156
Qiang Xufa19cfd2018-01-29 19:36:503157const char kAshEnablePersistentWindowBoundsName[] =
3158 "Enable persistent window bounds in multi-displays scenario.";
3159const char kAshEnablePersistentWindowBoundsDescription[] =
3160 "Enable persistent window bounds in multi-displays scenario.";
3161
Daniel Erat9ef89ee2018-03-27 03:46:463162const char kAshEnableModeSpecificPowerButtonName[] =
3163 "Enable mode-specific power button behavior.";
3164const char kAshEnableModeSpecificPowerButtonDescription[] =
3165 "Enable mode-specific power button behavior. While in tablet mode, tapping "
3166 "the power button turns the display off.";
3167
wutaoc5062be2018-03-16 02:16:233168const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
3169const char kAshEnableTrilinearFilteringDescription[] =
3170 "Enable trilinear filtering.";
3171
Brett Wilson7b44537e2017-08-18 01:38:283172const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
3173const char kAshShelfColorDescription[] =
3174 "Enables/disables the shelf color to be a derived from the wallpaper. The "
3175 "--ash-shelf-color-scheme flag defines how that color is derived.";
3176
3177const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
3178const char kAshShelfColorSchemeDescription[] =
3179 "Specify how the color is derived from the wallpaper. This flag is only "
3180 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
3181const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
3182const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
3183const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
3184const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
3185const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
3186const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
3187
Wenzhao Zang06a28872018-02-23 04:01:353188const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
3189const char kEnableNewWallpaperPickerDescription[] =
3190 "Enable the redesigned wallpaper picker with new wallpaper collections.";
3191
Brett Wilson7b44537e2017-08-18 01:38:283192const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:373193 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:283194const char kMaterialDesignInkDropAnimationSpeedDescription[] =
3195 "Sets the speed of the experimental visual feedback animations for "
3196 "material design.";
3197const char kMaterialDesignInkDropAnimationFast[] = "Fast";
3198const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
3199
3200const char kUiShowCompositedLayerBordersName[] =
3201 "Show UI composited layer borders";
3202const char kUiShowCompositedLayerBordersDescription[] =
3203 "Show border around composited layers created by UI.";
3204const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3205const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3206const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3207const char kUiShowCompositedLayerBordersAll[] = "All";
3208
3209const char kUiSlowAnimationsName[] = "Slow UI animations";
3210const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3211
James Cookf9d34d22017-10-04 16:39:353212#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:283213
Brett Wilson7b44537e2017-08-18 01:38:283214#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3215
3216const char kAutofillCreditCardUploadName[] =
3217 "Enable offering upload of Autofilled credit cards";
3218const char kAutofillCreditCardUploadDescription[] =
3219 "Enables a new option to upload credit cards to Google Payments for sync "
3220 "to all Chrome devices.";
3221
3222#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3223
3224// ============================================================================
3225// Don't just add flags to the end, put them in the right section in
3226// alphabetical order just like the header file.
3227// ============================================================================
3228
vabr0215a8e2017-03-28 12:47:343229} // namespace flag_descriptions