blob: b8589231ce0015b757151374049395683c730937 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
yoshiki iguchi4a10c5f2017-11-29 20:16:5443const char kAshSidebarName[] = "Sidebar";
44const char kAshSidebarDescription[] = "Enable the experimental sidebar.";
45
Tetsui Ohkubo2852b952018-02-23 04:12:0146const char kSystemTrayUnifiedName[] = "New system menu";
47const char kSystemTrayUnifiedDescription[] =
Tetsui Ohkubof860b8e2018-02-16 03:50:5548 "Enable the experimental system menu.";
49
Khushalba202212017-07-12 19:53:4950const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
51const char kAsyncImageDecodingDescription[] =
52 "Enables asynchronous decoding of images from raster for web content";
53
Roger McFarlane2eceba982018-05-18 01:37:1154const char kAutofillCacheQueryResponsesName[] =
55 "Cache Autofill Query Responses";
56const char kAutofillCacheQueryResponsesDescription[] =
57 "When enabled, autofill will cache the responses it receives from the "
58 "crowd-sourced field type prediction server.";
59
sebsge35b762c2018-03-29 20:33:2760const char kAutofillDynamicFormsName[] = "Autofill Dynamic Forms";
61const char kAutofillDynamicFormsDescription[] =
62 "Allows autofill to fill dynamically changing forms";
63
Roger McFarlane1a37d7b2018-04-20 22:45:1964const char kAutofillEnforceMinRequiredFieldsForHeuristicsName[] =
65 "Autofill Enforce Min Required Fields For Heuristics";
66const char kAutofillEnforceMinRequiredFieldsForHeuristicsDescription[] =
67 "When enabled, autofill will generally require a form to have at least 3 "
68 "fields before allowing heuristic field-type prediction to occur.";
69
70const char kAutofillEnforceMinRequiredFieldsForQueryName[] =
71 "Autofill Enforce Min Required Fields For Query";
72const char kAutofillEnforceMinRequiredFieldsForQueryDescription[] =
73 "When enabled, autofill will generally require a form to have at least 3 "
74 "fields before querying the autofill server for field-type predictions.";
75
76const char kAutofillEnforceMinRequiredFieldsForUploadName[] =
77 "Autofill Enforce Min Required Fields For Upload";
78const char kAutofillEnforceMinRequiredFieldsForUploadDescription[] =
79 "When enabled, autofill will generally require a form to have at least 3 "
80 "fillable fields before uploading field-type votes for that form.";
81
Moe Ahmadid3ddfcb2018-04-20 19:51:0882const char kAutofillRestrictUnownedFieldsToFormlessCheckoutName[] =
83 "Restrict formless form extraction";
84const char kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription[] =
85 "Restrict extraction of formless forms to checkout flows";
86
Brett Wilsonf27ff602017-07-07 22:28:4787const char kAutoplayPolicyName[] = "Autoplay policy";
88const char kAutoplayPolicyDescription[] =
89 "Policy used when deciding if audio or video is allowed to autoplay.";
90
91const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
92 "User gesture is required for cross-origin iframes.";
93const char kAutoplayPolicyNoUserGestureRequired[] =
94 "No user gesture is required.";
95const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
96const char kAutoplayPolicyDocumentUserActivation[] =
97 "Document user activation is required.";
98
Johanne0cc6902017-11-16 00:23:5099extern const char kAv1DecoderName[] = "Enable AV1 video decoding.";
100extern const char kAv1DecoderDescription[] =
101 "Allow decoding of files with the AV1 video codec.";
102
Brett Wilsonf27ff602017-07-07 22:28:47103const char kBackgroundVideoTrackOptimizationName[] =
104 "Optimize background video playback.";
105const char kBackgroundVideoTrackOptimizationDescription[] =
106 "Disable video tracks when the video is played in the background to "
107 "optimize performance.";
108
109const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
110const char kBleAdvertisingInExtensionsDescription[] =
111 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
112 "with regular use of Bluetooth Low Energy features.";
113
Charles Harrisond629cc62017-10-05 01:39:54114const char kBlockTabUndersName[] = "Block tab-unders";
115const char kBlockTabUndersDescription[] =
116 "Blocks tab-unders in Chrome with some native UI to allow the user to "
117 "proceed.";
118
Brett Wilsonf27ff602017-07-07 22:28:47119const char kBrowserTaskSchedulerName[] = "Task Scheduler";
120const char kBrowserTaskSchedulerDescription[] =
121 "Enables redirection of some task posting APIs to the task scheduler.";
122
Carlos IL766fbc882018-02-16 02:34:52123const char kBundledConnectionHelpName[] = "Bundled Connection Help";
124const char kBundledConnectionHelpDescription[] =
125 "Enables or disables redirecting users who get an interstitial when "
126 "accessing https://support.google.com/chrome/answer/6098869 to local "
127 "connection help content.";
128
Brett Wilsonf27ff602017-07-07 22:28:47129const char kBypassAppBannerEngagementChecksName[] =
130 "Bypass user engagement checks";
131const char kBypassAppBannerEngagementChecksDescription[] =
132 "Bypasses user engagement checks for displaying app banners, such as "
133 "requiring that users have visited the site before and that the banner "
134 "hasn't been shown recently. This allows developers to test that other "
135 "eligibility requirements for showing app banners, such as having a "
136 "manifest, are met.";
137
Lucas Garronb9539b732017-10-31 00:22:09138const char kCommittedInterstitialsName[] = "Committed Interstitials";
139const char kCommittedInterstitialsDescription[] =
140 "Use committed error pages instead of transient navigation entries "
141 "for interstitial error pages (e.g. certificate errors).";
142
Brett Wilsonf27ff602017-07-07 22:28:47143const char kCastStreamingHwEncodingName[] =
144 "Cast Streaming hardware video encoding";
145const char kCastStreamingHwEncodingDescription[] =
146 "This option enables support in Cast Streaming for encoding video streams "
147 "using platform hardware.";
148
Amber Won478561d2017-08-19 01:02:59149const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
150const char kClickToOpenPDFDescription[] =
151 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
152 "embedded PDFs.";
153
Gary Kacmarcikfb69b212017-11-14 03:41:08154const char kClipboardContentSettingName[] = "Clipboard content setting";
155const char kClipboardContentSettingDescription[] =
156 "Enables a site-wide permission in the UI which controls access to the "
157 "asynchronous clipboard web API";
158
Brett Wilsonf27ff602017-07-07 22:28:47159const char kCloudImportName[] = "Cloud Import";
160const char kCloudImportDescription[] = "Allows the cloud-import feature.";
161
Christopher Cameronceb8727d2017-09-07 23:53:16162const char kForceColorProfileSRGB[] = "sRGB";
163const char kForceColorProfileP3[] = "Display P3 D65";
164const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
165const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
166
167const char kForceColorProfileName[] = "Force color profile";
168const char kForceColorProfileDescription[] =
169 "Forces Chrome to use a specific color profile instead of the color "
170 "of the window's current monitor, as specified by the operating system.";
171
Brett Wilsonf27ff602017-07-07 22:28:47172const char kCompositedLayerBordersName[] = "Composited render layer borders";
173const char kCompositedLayerBordersDescription[] =
174 "Renders a border around composited Render Layers to help debug and study "
175 "layer compositing.";
176
Theresaf39c1882018-03-21 18:18:07177const char kContextualSuggestionsBottomSheetName[] =
Theresa818d3452018-05-22 00:08:07178 "Contextual Suggestions Bottom Sheet";
Theresaf39c1882018-03-21 18:18:07179const char kContextualSuggestionsBottomSheetDescription[] =
180 "If enabled, shows contextual suggestions in the bottom sheet.";
Brett Wilsonf27ff602017-07-07 22:28:47181
Theresa818d3452018-05-22 00:08:07182const char kContextualSuggestionsSlimPeekUIName[] =
183 "Contextual Suggestions Slim Peek UI";
184const char kContextualSuggestionsSlimPeekUIDescription[] =
185 "Use a slimmer peek UI for the contextual suggestions bottom sheet.";
186
Brett Wilsonf27ff602017-07-07 22:28:47187const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
188const char kCreditCardAssistDescription[] =
189 "Enable assisted credit card filling on certain sites.";
190
191const char kCrossProcessGuestViewIsolationName[] =
192 "Cross process frames for guests";
193const char kCrossProcessGuestViewIsolationDescription[] =
194 "Highly experimental where guests such as <webview> are implemented on "
195 "the out-of-process iframe infrastructure.";
196
Thanh Le659cb102017-12-20 22:00:19197const char kDataSaverServerPreviewsName[] = "Data Saver Server Previews";
198const char kDataSaverServerPreviewsDescription[] =
199 "Allow the Data Reduction Proxy to serve previews.";
Brett Wilsonf27ff602017-07-07 22:28:47200
201const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
202const char kDatasaverPromptDescription[] =
203 "Enables a prompt, which appears when a cellular network connection is "
204 "detected, to take the user to the Data Saver extension page on Chrome Web "
205 "Store.";
206const char kDatasaverPromptDemoMode[] = "Demo mode";
207
Wez54dc71b2018-04-17 00:42:34208#if DCHECK_IS_CONFIGURABLE
209const char kDcheckIsFatalName[] = "DCHECKs are fatal";
210const char kDcheckIsFatalDescription[] =
211 "By default Chrome will evaluate in this build, but only log failures, "
212 "rather than crashing. If enabled, DCHECKs will crash the calling process.";
213#endif // DCHECK_IS_CONFIGURABLE
214
Brett Wilsonf27ff602017-07-07 22:28:47215const char kDebugPackedAppName[] = "Debugging for packed apps";
216const char kDebugPackedAppDescription[] =
217 "Enables debugging context menu options such as Inspect Element for packed "
218 "applications.";
219
220const char kDefaultTileHeightName[] = "Default tile height";
221const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
222const char kDefaultTileHeightShort[] = "128";
223const char kDefaultTileHeightTall[] = "256";
224const char kDefaultTileHeightGrande[] = "512";
225const char kDefaultTileHeightVenti[] = "1024";
226
227const char kDefaultTileWidthName[] = "Default tile width";
228const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
229const char kDefaultTileWidthShort[] = "128";
230const char kDefaultTileWidthTall[] = "256";
231const char kDefaultTileWidthGrande[] = "512";
232const char kDefaultTileWidthVenti[] = "1024";
233
234const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
235const char kDebugShortcutsDescription[] =
236 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
237
238const char kDeviceDiscoveryNotificationsName[] =
239 "Device Discovery Notifications";
240const char kDeviceDiscoveryNotificationsDescription[] =
241 "Device discovery notifications on local network.";
242
243const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
244const char kDevtoolsExperimentsDescription[] =
245 "Enables Developer Tools experiments. Use Settings panel in Developer "
246 "Tools to toggle individual experiments.";
247
248const char kDisableAudioForDesktopShareName[] =
249 "Disable Audio For Desktop Share";
250const char kDisableAudioForDesktopShareDescription[] =
251 "With this flag on, desktop share picker window will not let the user "
252 "choose whether to share audio.";
253
Chris Palmer917bc052018-03-14 19:28:31254const char kDisablePushStateThrottleName[] = "Disable pushState throttling";
255const char kDisablePushStateThrottleDescription[] =
256 "Disables throttling of history.pushState and history.replaceState method "
257 "calls.";
258
Brett Wilsonf27ff602017-07-07 22:28:47259const char kDisableTabForDesktopShareName[] =
260 "Disable Desktop Share with tab source";
261const char kDisableTabForDesktopShareDescription[] =
262 "This flag controls whether users can choose a tab for desktop share.";
263
264const char kDisallowDocWrittenScriptsUiName[] =
265 "Block scripts loaded via document.write";
266const char kDisallowDocWrittenScriptsUiDescription[] =
267 "Disallows fetches for third-party parser-blocking scripts inserted into "
268 "the main frame via document.write.";
269
Christopher Thompson2ffffa2c2018-05-18 23:06:37270const char kDisallowUnsafeHttpDownloadsName[] =
271 "Block unsafe downloads over insecure connections";
272const char kDisallowUnsafeHttpDownloadsNameDescription[] =
273 "Disallows downloads of unsafe files (files that can potentially execute "
274 "code), where the final download origin or any origin in the redirect "
275 "chain is insecure.";
276
Brett Wilsonf27ff602017-07-07 22:28:47277const char kDriveSearchInChromeLauncherName[] =
278 "Drive Search in Chrome App Launcher";
279const char kDriveSearchInChromeLauncherDescription[] =
280 "Files from Drive will show up when searching the Chrome App Launcher.";
281
Gustavo Sacomotofb11164f2017-07-21 12:56:18282const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
283const char kEasyUnlockPromotionsDescription[] =
284 "Enables Smart Lock promotions. Promotions will be periodically display "
285 "if the user is eligible.";
286
Brett Wilsonf27ff602017-07-07 22:28:47287const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
288const char kEmbeddedExtensionOptionsDescription[] =
289 "Display extension options as an embedded element in chrome://extensions "
290 "rather than opening a new tab.";
291
292const char kEnableAsmWasmName[] =
293 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
294const char kEnableAsmWasmDescription[] =
295 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
296 R"*(WebAssembly.)*";
297
Anthony Vallee-Dubois968ae4d2018-03-15 16:56:36298const char kEnableWebPaymentsSingleAppUiSkipName[] =
299 "Enable Web Payments single app UI skip";
300const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
301 "Enable Web Payments to skip showing its UI if the developer specifies a "
302 "single app.";
303
Shanfeng Zhang19c16562017-10-17 02:30:40304const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
305 "Credit card autofill ablation experiment.";
306const char kEnableAutofillCreditCardAblationExperimentDescription[] =
307 "If enabled, credit card autofill suggestions will not display.";
308
Jared Saulae93aa12018-03-23 19:04:39309const char kEnableAutofillCreditCardBankNameDisplayName[] =
310 "Display the issuer bank name of a credit card in autofill.";
311const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
312 "If enabled, displays the issuer bank name of a credit card in autofill.";
313
Brett Wilsonf27ff602017-07-07 22:28:47314const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
315 "Display the last used date of a credit card in autofill.";
316const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
317 "If enabled, display the last used date of a credit card in autofill.";
318
Lakshmi Kumar Dabbiru51f1c202018-03-29 22:23:37319const char kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingName[] =
320 "Enable Google Pay branding when offering credit card upload on Android";
321const char
322 kEnableAutofillCreditCardUploadGooglePayOnAndroidBrandingDescription[] =
323 "If enabled, shows the Google Pay logo and a shorter header message "
324 "when credit card upload to Google Payments is offered on Android.";
325
Jared Saul1e4786a2017-12-14 01:43:09326const char kEnableAutofillCreditCardUploadSendDetectedValuesName[] =
327 "Always send metadata on detected form values for Autofill credit card "
328 "upload";
329const char kEnableAutofillCreditCardUploadSendDetectedValuesDescription[] =
330 "If enabled, always checks with Google Payments when deciding whether to "
331 "offer credit card upload, even if some data is missing.";
332
Jared Saul5c2a1482017-12-09 00:24:31333const char kEnableAutofillCreditCardUploadSendPanFirstSixName[] =
334 "Send first six digits of PAN when deciding whether to offer Autofill "
335 "credit card upload";
336const char kEnableAutofillCreditCardUploadSendPanFirstSixDescription[] =
337 "If enabled, when deciding whether to offer credit card upload to Google "
338 "Payments, sends the first six digits of the card number to avoid cases "
339 "where card upload is likely to fail.";
340
siyua7c4e97b42018-04-24 02:49:42341const char kEnableAutofillCreditCardUploadUpdatePromptExplanationName[] =
342 "Enable updated prompt explanation when offering credit card upload";
343const char kEnableAutofillCreditCardUploadUpdatePromptExplanationDescription[] =
344 "If enabled, changes the server save card prompt's explanation to mention "
345 "the saving of the billing address.";
346
tmartinocd414732018-02-12 19:01:01347const char kEnableAutofillNativeDropdownViewsName[] =
348 "Display Autofill Dropdown Using Views";
349const char kEnableAutofillNativeDropdownViewsDescription[] =
350 "If enabled, the Autofill Dropdown will be built natively using Views, "
351 "rather than painted directly to a canvas.";
352
Lakshmi Kumar Dabbirua3d0805f2018-05-22 22:04:23353const char kEnableAutofillSendExperimentIdsInPaymentsRPCsName[] =
354 "Send experiment flag IDs in calls to Google Payments";
355const char kEnableAutofillSendExperimentIdsInPaymentsRPCsDescription[] =
356 "If enabled, adds the status of certain experiment variations when making "
357 "calls to Google Payments.";
358
Vitalii Iarko4f9834ce2017-08-04 07:05:19359const char kEnableBreakingNewsPushName[] = "Breaking News Push";
360const char kEnableBreakingNewsPushDescription[] =
361 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
362 "through Google Cloud Messaging.";
363
Brett Wilsonf27ff602017-07-07 22:28:47364const char kEnableBrotliName[] = "Brotli Content-Encoding.";
365const char kEnableBrotliDescription[] =
366 "Enable Brotli Content-Encoding support.";
367
Qiang Xu0f602fe62017-12-22 01:31:20368const char kEnableCaptivePortalRandomUrl[] = "Captive Portal url Randomization";
369const char kEnableCaptivePortalRandomUrlDescription[] =
370 "Enable Captive Portal URL randomization.";
371
sclittle50e4bb92017-07-08 02:23:03372const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
373
374const char kEnableClientLoFiDescription[] =
375 "Enable showing low fidelity images on some pages on slow networks.";
376
David Reveman87b4b692018-03-09 21:22:22377const char kEnableCursorMotionBlurName[] = "Enable Cursor Motion Blur";
378const char kEnableCursorMotionBlurDescription[] =
379 "Enable motion blur effect for the cursor.";
380
Doug Arnett08b4067b2017-10-12 20:14:44381const char kEnableNoScriptPreviewsName[] = "NoScript previews";
382
383const char kEnableNoScriptPreviewsDescription[] =
384 "Enable disabling JavaScript on some pages on slow networks.";
385
Thanh Le2c279fbc2017-11-21 01:25:40386const char kDataReductionProxyServerAlternative1[] = "Use alt. server config 1";
387const char kDataReductionProxyServerAlternative2[] = "Use alt. server config 2";
388const char kDataReductionProxyServerAlternative3[] = "Use alt. server config 3";
389const char kDataReductionProxyServerAlternative4[] = "Use alt. server config 4";
390const char kDataReductionProxyServerAlternative5[] = "Use alt. server config 5";
391const char kDataReductionProxyServerAlternative6[] = "Use alt. server config 6";
392const char kDataReductionProxyServerAlternative7[] = "Use alt. server config 7";
393const char kDataReductionProxyServerAlternative8[] = "Use alt. server config 8";
394const char kDataReductionProxyServerAlternative9[] = "Use alt. server config 9";
395const char kDataReductionProxyServerAlternative10[] =
396 "Use alt. server config 10";
Brett Wilsonf27ff602017-07-07 22:28:47397const char kEnableDataReductionProxyServerExperimentName[] =
398 "Use an alternative Data Saver back end configuration.";
399const char kEnableDataReductionProxyServerExperimentDescription[] =
400 "Enable a different approach to saving data by configuring the back end "
401 "server";
402
403const char kEnableDataReductionProxySavingsPromoName[] =
404 "Data Saver 1 MB Savings Promo";
405const char kEnableDataReductionProxySavingsPromoDescription[] =
406 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
407 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
408 "enabled for the promo to be shown.";
409
Matt Giucad4870432017-11-24 01:04:38410const char kEnableDesktopPWAsName[] = "Desktop PWAs";
411const char kEnableDesktopPWAsDescription[] =
412 "Experimental windowing and install banner treatment for Progressive Web "
413 "Apps on desktop platforms. Implies #enable-experimental-app-banners.";
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17414
Giovanni Ortuño Urquidi40c8e792018-02-28 04:18:59415const char kEnableDesktopPWAsLinkCapturingName[] =
416 "Desktop PWAs Link Capturing";
417const char kEnableDesktopPWAsLinkCapturingDescription[] =
418 "Experimentally enable link capturing for Desktop PWAs. Navigations to "
419 "URLs that are in-scope of Desktop PWAs will open in a window. Requires "
420 "#enable-desktop-pwas.";
421
Ahmed Fakhry0037de02018-01-29 19:58:31422const char kEnableDockedMagnifierName[] = "Docked Magnifier";
423const char kEnableDockedMagnifierDescription[] =
424 "Enables the Docked Magnifier (a.k.a. picture-in-picture magnifier).";
425
Ramya Nagarajan5b41d8d2018-04-02 19:53:02426const char kEnableEmojiContextMenuName[] = "Emoji Context Menu";
427const char kEnableEmojiContextMenuDescription[] =
Mathieu Perreault608546ee2018-05-09 00:35:09428 "Enables the Emoji picker item in context menus for editable text areas, if"
429 " supported by the operating system.";
Ramya Nagarajan5b41d8d2018-04-02 19:53:02430
Brett Wilsonf27ff602017-07-07 22:28:47431const char kEnableEnumeratingAudioDevicesName[] =
432 "Experimentally enable enumerating audio devices.";
433const char kEnableEnumeratingAudioDevicesDescription[] =
434 "Experimentally enable the use of enumerating audio devices.";
435
436const char kEnableGenericSensorName[] = "Generic Sensor";
437const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25438 "Enables motion sensor classes based on Generic Sensor API, i.e. "
439 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
440 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
441
442const char kEnableGenericSensorExtraClassesName[] =
443 "Generic Sensor Extra Classes";
444const char kEnableGenericSensorExtraClassesDescription[] =
445 "Enables an extra set of sensor classes based on Generic Sensor API, which "
446 "expose previously unavailable platform features, i.e. AmbientLightSensor "
447 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47448
Brett Wilsonf27ff602017-07-07 22:28:47449const char kEnableHDRName[] = "HDR mode";
450const char kEnableHDRDescription[] =
451 "Enables HDR support on compatible displays.";
452
Brett Wilsonf27ff602017-07-07 22:28:47453const char kEnableHttpFormWarningName[] =
454 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15455 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47456const char kEnableHttpFormWarningDescription[] =
457 "Attaches a warning UI to any password or credit card fields detected when "
458 "the top-level page is not HTTPS";
459
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:41460const char kLayeredAPIName[] = "Experimental layered APIs";
461const char kLayeredAPIDescription[] =
462 "Enable layered API infrastructure, as well as several experimental "
463 "layered APIs. The syntax and the APIs exposed are experimental and will "
464 "change over time.";
465
Scott Littled0fd2d002018-04-13 03:37:26466const char kEnableLazyFrameLoadingName[] = "Enable lazy frame loading";
467const char kEnableLazyFrameLoadingDescription[] =
468 "Defers the loading of certain cross-origin frames until the page is "
469 "scrolled down near them.";
470
Sidney San Martín9375b892017-09-09 00:29:54471const char kEnableMacMaterialDesignDownloadShelfName[] =
472 "Enable Material Design download shelf";
473
474const char kEnableMacMaterialDesignDownloadShelfDescription[] =
475 "If enabled, the download shelf uses Material Design.";
476
Tatiana Gornakafb40452017-07-31 13:50:04477const char kEnableManualFallbacksFillingName[] =
478 "Manual fallbacks for password manager forms filling";
479const char kEnableManualFallbacksFillingDescription[] =
480 "If enabled, then if user clicks on the password field on a form, popup "
481 "might contain generation fallbacks or 'Show all saved passwords' "
482 "fallback.";
483
vabr0215a8e2017-03-28 12:47:34484const char kEnableMaterialDesignExtensionsName[] =
485 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34486const char kEnableMaterialDesignExtensionsDescription[] =
487 "If enabled, the chrome://extensions/ URL loads the Material Design "
488 "extensions page.";
489
Anton Urusov47cd4932017-09-19 14:41:41490const char kEnablePolicyToolName[] = "Enable policy management page";
491const char kEnablePolicyToolDescription[] =
492 "If enabled, the chrome://policy-tool URL loads a page for managing "
493 "policies.";
494
Tsuyoshi Horoea7edb72017-11-12 04:14:00495const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
496const char kEnablePWAFullCodeCacheDescription[] =
497 "Generate V8 code cache in Cache Storage while installing Service Worker "
498 "for PWAs.";
499
Weidong Guof1e5a892018-01-06 02:26:39500const char kDisableMultiMirroringName[] =
Weidong Guo7dfd1482017-11-08 05:56:28501 "Display mirroring across multiple displays.";
Weidong Guof1e5a892018-01-06 02:26:39502const char kDisableMultiMirroringDescription[] =
503 "Disable Display mirroring across multiple displays.";
Weidong Guo7dfd1482017-11-08 05:56:28504
Brett Wilsonf27ff602017-07-07 22:28:47505const char kEnableNavigationTracingName[] = "Enable navigation tracing";
506const char kEnableNavigationTracingDescription[] =
507 "This is to be used in conjunction with the trace-upload-url flag. "
508 "WARNING: When enabled, Chrome will record performance data for every "
509 "navigation and upload it to the URL specified by the trace-upload-url "
510 "flag. The trace may include personally identifiable information (PII) "
511 "such as the titles and URLs of websites you visit.";
512
Bernhard Bauer5533f9912017-11-06 17:56:02513const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
514const char kEnableNetworkLoggingToFileDescription[] =
515 "Enables network logging to a file named netlog.json in the user data "
516 "directory. The file can be imported into chrome://net-internals.";
517
Brett Wilsonf27ff602017-07-07 22:28:47518const char kEnableNetworkServiceName[] = "Enable network service";
519const char kEnableNetworkServiceDescription[] =
520 "Enables the network service, which makes network requests through a "
521 "separate service. Note: most features don't work with this yet.";
522
John Abd-El-Malek8067cc02017-12-04 23:23:20523const char kEnableNetworkServiceInProcessName[] =
524 "Runs network service in-process";
525const char kEnableNetworkServiceInProcessDescription[] =
526 "Runs the network service in the browser process.";
527
dpapaded8349472017-10-25 03:21:27528const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
529const char kEnableNewPrintPreviewDescription[] =
530 "If enabled, Print Preview will display a newer UI";
531
Ahmed Fakhry2fd8fc82017-07-28 16:31:12532const char kEnableNightLightName[] = "Enable Night Light";
533const char kEnableNightLightDescription[] =
534 "Enable the Night Light feature which controls the color temperature of "
535 "the screen.";
536
xlou8b56f672018-02-09 23:34:30537const char kEnableNupPrintingName[] = "Enable N-up printing";
538const char kEnableNupPrintingDescription[] =
539 "Enable N-up printing in the print preview panel.";
540
Sophie Chang117a3b22017-10-24 22:25:36541const char kEnableOptimizationHintsName[] = "Optimization Hints";
542const char kEnableOptimizationHintsDescription[] =
543 "Enable the Optimization Hints feature which incorporates server hints"
544 "into decisions for what optimizations to perform on some pages on slow "
545 "networks.";
546
Yutaka Hirano98be3272017-08-07 17:55:39547const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
548const char kEnableOutOfBlinkCORSDescription[] =
549 "CORS handling logic is moved out of blink.";
550
Sammie Quon0fbf0782018-05-01 22:11:08551const char kEnableOverviewSwipeToCloseName[] =
552 "Enable overview swipe to close.";
553const char kEnableOverviewSwipeToCloseDescription[] =
554 "Enables closing of items in overview mode by dragging or flinging "
555 "vertically.";
556
kylechar7051c092018-02-05 20:31:39557const char kVizDisplayCompositorName[] = "Viz Display Compositor (OOP-D)";
558const char kVizDisplayCompositorDescription[] =
559 "If enabled, the display compositor runs as part of the viz service in the"
560 "GPU process.";
561
Ria Jiang6a129b982018-03-01 18:30:40562const char kVizHitTestDrawQuadName[] = "Viz Hit-test Draw-quad version";
563const char kVizHitTestDrawQuadDescription[] =
564 "If enabled, event targeting uses the new viz-assisted hit-testing logic, "
565 "with hit-test data computed from the CompositorFrame.";
566
Erik Chen49bbfa22017-08-18 08:49:56567const char kEnableOutOfProcessHeapProfilingName[] =
Albert J. Wong174174762018-01-18 23:50:23568 "Out of process heap profiling start mode.";
Erik Chen49bbfa22017-08-18 08:49:56569const char kEnableOutOfProcessHeapProfilingDescription[] =
570 "Creates a profiling service that records stacktraces for all live, "
erikchen94aca892018-01-18 00:21:19571 "malloced objects. Heap dumps can be obtained at chrome://tracing "
572 "[category:memory-infra] and chrome://memory-internals. This setting "
573 "controls which processes are profiled. As long as this setting is not "
574 "disabled, users can start profiling any given process in "
575 "chrome://memory-internals.";
576const char kEnableOutOfProcessHeapProfilingModeMinimal[] = "Browser and GPU";
577const char kEnableOutOfProcessHeapProfilingModeAll[] = "All processes";
578const char kEnableOutOfProcessHeapProfilingModeAllRenderers[] = "All renderers";
579const char kEnableOutOfProcessHeapProfilingModeBrowser[] = "Only browser";
580const char kEnableOutOfProcessHeapProfilingModeGpu[] = "Only GPU.";
erikchen0a5dd692017-12-12 00:53:10581const char kEnableOutOfProcessHeapProfilingModeManual[] =
erikchen94aca892018-01-18 00:21:19582 "None by default. Visit chrome://memory-internals to choose which "
583 "processes to profile.";
Albert J. Wongbd5bd902017-11-09 19:56:15584const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
585 "Profile a random sampling of renderer processes, ensuring only one is "
586 "ever profiled at a time.";
erikchen94aca892018-01-18 00:21:19587
Erik Chen8bb76b52017-12-06 19:06:25588const char kOutOfProcessHeapProfilingKeepSmallAllocations[] =
erikchen94aca892018-01-18 00:21:19589 "Emit small allocations in memlog heap dumps.";
Erik Chen8bb76b52017-12-06 19:06:25590const char kOutOfProcessHeapProfilingKeepSmallAllocationsDescription[] =
591 "By default, small allocations are pruned from the heap dump. This reduces "
592 "the size of the compressed trace by 100x. If pruning is disabled, the "
593 "chrome://tracing UI may be unable to take or load the trace. Save the "
594 "trace directly using chrome://memory-internals, and use other mechanisms "
595 "[e.g. diff_heap_profiler.py] to examine the trace. Note that "
596 "automatically uploaded traces will always be pruned. This only affects "
597 "manually taken memory-infra traces.";
Erik Chen49bbfa22017-08-18 08:49:56598
erikchen8bc20d82018-02-14 03:21:51599const char kOutOfProcessHeapProfilingSampling[] = "Sample memlog allocations";
600const char kOutOfProcessHeapProfilingSamplingDescription[] =
601 "Use a poisson process to sample allocations. Defaults to a sample rate of "
erikchen99bfce02018-02-14 20:29:22602 "10000. This results in low noise for large and/or frequent allocations ["
603 "[size * frequency >> 10000]. This means that aggregate numbers [e.g. "
604 "total size of malloc-ed objects] and large and/or frequent allocations "
605 "can be trusted with high fidelity.";
erikchen8bc20d82018-02-14 03:21:51606
Erik Chen3303fd0232018-01-11 20:29:05607const char kOOPHPStackModeName[] =
608 "The type of stack to record for memlog heap dumps";
609const char kOOPHPStackModeDescription[] =
erikchen94aca892018-01-18 00:21:19610 "By default, memlog heap dumps record native stacks, which requires a "
611 "post-processing step to symbolize. Requires a custom build with frame "
erikchen011ad3f2018-01-26 17:54:55612 "pointers to work on Android. Native with thread names will add the thread "
613 "name as the first frame of each native stack. It's also possible to "
614 "record a pseudo stack using trace events as identifiers. It's also "
615 "possible to do a mix of both.";
erikchen94aca892018-01-18 00:21:19616const char kOOPHPStackModeMixed[] = "Mixed";
617const char kOOPHPStackModeNative[] = "Native";
erikchen011ad3f2018-01-26 17:54:55618const char kOOPHPStackModeNativeWithThreadNames[] = "Native with thread names";
erikchen94aca892018-01-18 00:21:19619const char kOOPHPStackModePseudo[] = "Trace events";
Erik Chen3303fd0232018-01-11 20:29:05620
François Beaufort2e75f492018-02-08 20:44:46621const char kEnablePictureInPictureName[] = "Enable Picture-in-Picture.";
Brett Wilsonf27ff602017-07-07 22:28:47622const char kEnablePictureInPictureDescription[] =
François Beaufort2e75f492018-02-08 20:44:46623 "Enable the Picture-in-Picture feature for videos.";
Brett Wilsonf27ff602017-07-07 22:28:47624
F#m59d036e2017-09-13 07:22:17625const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
626const char kEnablePixelCanvasRecordingDescription[] =
627 "Pixel canvas recording allows the compositor to raster contents aligned "
628 "with the pixel and improves text rendering. This should be enabled when a "
629 "device is using fractional scale factor.";
630
Mikel Astiz38837f82018-04-24 22:23:23631const char kEnableSyncUSSSessionsName[] = "Enable USS for sessions sync";
632const char kEnableSyncUSSSessionsDescription[] =
633 "Enables the new, experimental implementation of session sync (aka tab "
634 "sync).";
635
Brett Wilsonf27ff602017-07-07 22:28:47636const char kEnableTokenBindingName[] = "Token Binding.";
637const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
638
Sahel Sharifyd732ab12017-11-29 23:03:16639extern const char kEnableTouchpadAndWheelScrollLatchingName[] =
640 "Wheel Scroll Latching.";
641extern const char kEnableTouchpadAndWheelScrollLatchingDescription[] =
642 "Wheel scroll latching enforces latching to a single element for the "
643 "duration of a scroll sequence.";
644
Brett Wilsonf27ff602017-07-07 22:28:47645const char kEnableUseZoomForDsfName[] =
646 "Use Blink's zoom for device scale factor.";
647const char kEnableUseZoomForDsfDescription[] =
648 "If enabled, Blink uses its zooming mechanism to scale content for device "
649 "scale factor.";
650const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
651const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
652const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
653
Patrick Noland8ee016e2018-01-24 11:44:53654const char kEnableScrollAnchorSerializationName[] =
655 "Scroll Anchor Serialization";
656const char kEnableScrollAnchorSerializationDescription[] =
657 "Save the scroll anchor and use it to restore the scroll position when "
658 "navigating.";
659
Brad Nelson5cd500e2018-01-04 00:50:19660const char kEnableSharedArrayBufferName[] =
661 "Experimental enabled SharedArrayBuffer support in JavaScript.";
662const char kEnableSharedArrayBufferDescription[] =
663 "Enable SharedArrayBuffer support in JavaScript.";
664
Brett Wilsonf27ff602017-07-07 22:28:47665const char kEnableWasmName[] = "WebAssembly structured cloning support.";
666const char kEnableWasmDescription[] =
667 "Enable web pages to use WebAssembly structured cloning.";
668
Brett Wilsonf27ff602017-07-07 22:28:47669const char kEnableImageCaptureAPIName[] = "Image Capture API";
670const char kEnableImageCaptureAPIDescription[] =
671 "Enables the Web Platform Image Capture API: takePhoto(), "
672 "getPhotoCapabilities(), etc.";
673
674const char kEnableZeroSuggestRedirectToChromeName[] =
675 "Experimental contextual omnibox suggestion";
676const char kEnableZeroSuggestRedirectToChromeDescription[] =
677 "Change omnibox contextual suggestions to an experimental source. Note "
678 "that this is not an on/off switch for contextual omnibox and it only "
679 "applies to suggestions provided before the user starts typing a URL or a "
680 "search query (i.e. zero suggest).";
681
682const char kEnableWasmStreamingName[] =
683 "WebAssembly streaming compile/instantiate support.";
684const char kEnableWasmStreamingDescription[] =
685 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
686
Clemens Hammacher0c8a15a2018-04-27 13:45:32687const char kEnableWasmBaselineName[] = "WebAssembly baseline compiler";
688const char kEnableWasmBaselineDescription[] =
689 "Enables WebAssembly baseline compilation and tier up.";
690
Brett Wilsonf27ff602017-07-07 22:28:47691const char kExpensiveBackgroundTimerThrottlingName[] =
692 "Throttle expensive background timers";
693const char kExpensiveBackgroundTimerThrottlingDescription[] =
694 "Enables intervention to limit CPU usage of background timers to 1%.";
695
696const char kExperimentalAppBannersName[] = "Experimental app banners";
697const char kExperimentalAppBannersDescription[] =
Matt Giucad4870432017-11-24 01:04:38698 "Enables a new experimental app banner flow and UI. Implies "
699 "#enable-app-banners.";
Brett Wilsonf27ff602017-07-07 22:28:47700
701const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
702const char kExperimentalCanvasFeaturesDescription[] =
703 "Enables the use of experimental canvas features which are still in "
704 "development.";
705
Nicholas Verneccd8259802018-02-22 01:22:04706const char kExperimentalCrostiniUIName[] = "Experimental Crostini";
707const char kExperimentalCrostiniUIDescription[] =
708 "Enables in-development Crostini features.";
709
Brett Wilsonf27ff602017-07-07 22:28:47710const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
711const char kExperimentalExtensionApisDescription[] =
712 "Enables experimental extension APIs. Note that the extension gallery "
713 "doesn't allow you to upload extensions that use experimental APIs.";
714
715const char kExperimentalFullscreenExitUIName[] =
716 "Experimental fullscreen exit UI";
717const char kExperimentalFullscreenExitUIDescription[] =
718 "Displays experimental UI to allow mouse and touch input methods to exit "
719 "fullscreen mode.";
720
Ian Clelland37a985d2018-05-04 02:43:13721const char kExperimentalProductivityFeaturesName[] =
722 "Experimental Productivity Features";
723const char kExperimentalProductivityFeaturesDescription[] =
724 "Enable support for experimental developer productivity features, such as "
725 "Layered APIs and policies for avoiding slow rendering.";
726
Brett Wilsonf27ff602017-07-07 22:28:47727const char kExperimentalSecurityFeaturesName[] =
728 "Potentially annoying security features";
729const char kExperimentalSecurityFeaturesDescription[] =
730 "Enables several security features that will likely break one or more "
731 "pages that you visit on a daily basis. Strict mixed content checking, for "
732 "example. And locking powerful features to secure contexts. This flag will "
733 "probably annoy you.";
734
735const char kExperimentalWebPlatformFeaturesName[] =
736 "Experimental Web Platform features";
737const char kExperimentalWebPlatformFeaturesDescription[] =
738 "Enables experimental Web Platform features that are in development.";
739
740const char kExtensionContentVerificationName[] =
741 "Extension Content Verification";
742const char kExtensionContentVerificationDescription[] =
743 "This flag can be used to turn on verification that the contents of the "
744 "files on disk for extensions from the webstore match what they're "
745 "expected to be. This can be used to turn on this feature if it would not "
746 "otherwise have been turned on, but cannot be used to turn it off (because "
747 "this setting can be tampered with by malware).";
748const char kExtensionContentVerificationBootstrap[] =
749 "Bootstrap (get expected hashes, but do not enforce them)";
750const char kExtensionContentVerificationEnforce[] =
751 "Enforce (try to get hashes, and enforce them if successful)";
752const char kExtensionContentVerificationEnforceStrict[] =
753 "Enforce strict (hard fail if we can't get hashes)";
754
755const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
756const char kExtensionsOnChromeUrlsDescription[] =
757 "Enables running extensions on chrome:// URLs, where extensions explicitly "
758 "request this permission.";
galinapae72e152017-05-12 13:12:28759
Brett Wilsonecb80982017-07-12 20:34:51760const char kFastUnloadName[] = "Fast tab/window close";
761const char kFastUnloadDescription[] =
762 "Enables fast tab/window closing - runs a tab's onunload js handler "
763 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34764
Brett Wilsonecb80982017-07-12 20:34:51765const char kFeaturePolicyName[] = "Feature Policy";
766const char kFeaturePolicyDescription[] =
767 "Enables granting and removing access to features through the "
768 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34769
Brett Wilsonecb80982017-07-12 20:34:51770const char kFontCacheScalingName[] = "FontCache scaling";
771const char kFontCacheScalingDescription[] =
772 "Reuse a cached font in the renderer to serve different sizes of font for "
773 "faster layout.";
774
775const char kForceEffectiveConnectionTypeName[] =
776 "Override effective connection type";
777const char kForceEffectiveConnectionTypeDescription[] =
778 "Overrides the effective connection type of the current connection "
Thanh Lea98f12f2017-12-18 19:35:30779 "returned by the network quality estimator. Slow 2G on Cellular returns "
780 "Slow 2G when connected to a cellular network, and the actual estimate "
781 "effective connection type when not on a cellular network. Previews are "
782 "usually served on 2G networks.";
Brett Wilsonecb80982017-07-12 20:34:51783const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
784const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
785const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
Thanh Lea98f12f2017-12-18 19:35:30786const char kEffectiveConnectionTypeSlow2GOnCellularDescription[] =
787 "Slow 2G On Cellular";
Brett Wilsonecb80982017-07-12 20:34:51788const char kEffectiveConnectionType2GDescription[] = "2G";
789const char kEffectiveConnectionType3GDescription[] = "3G";
790const char kEffectiveConnectionType4GDescription[] = "4G";
791
792const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
793const char kFillOnAccountSelectDescription[] =
794 "Filling of passwords when an account is explicitly selected by the user "
795 "rather than autofilling credentials on page load.";
796
Brett Wilsonecb80982017-07-12 20:34:51797const char kForceTextDirectionName[] = "Force text direction";
798const char kForceTextDirectionDescription[] =
799 "Explicitly force the per-character directionality of UI text to "
800 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
801 "direction of the character language.";
802const char kForceDirectionLtr[] = "Left-to-right";
803const char kForceDirectionRtl[] = "Right-to-left";
804
805const char kForceUiDirectionName[] = "Force UI direction";
806const char kForceUiDirectionDescription[] =
807 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
808 "mode, overriding the default direction of the UI language.";
809
810const char kFramebustingName[] =
811 "Framebusting requires same-origin or a user gesture";
812const char kFramebustingDescription[] =
813 "Don't permit an iframe to navigate the top level browsing context unless "
814 "they are same-origin or the iframe is processing a user gesture.";
815
816const char kGamepadExtensionsName[] = "Gamepad Extensions";
817const char kGamepadExtensionsDescription[] =
Anna Offenwanger06dc6062018-04-12 07:56:22818 "Enables experimental extensions to the Gamepad APIs.";
Matt Reynolds043469f2018-05-01 22:56:58819const char kGamepadVibrationName[] = "Gamepad Vibration";
820const char kGamepadVibrationDescription[] =
821 "Enables haptic vibration effects on supported gamepads.";
Brett Wilsonecb80982017-07-12 20:34:51822
Brett Wilsonecb80982017-07-12 20:34:51823const char kGpuRasterizationMsaaSampleCountName[] =
824 "GPU rasterization MSAA sample count.";
825const char kGpuRasterizationMsaaSampleCountDescription[] =
826 "Specify the number of MSAA samples for GPU rasterization.";
827const char kGpuRasterizationMsaaSampleCountZero[] = "0";
828const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
829const char kGpuRasterizationMsaaSampleCountFour[] = "4";
830const char kGpuRasterizationMsaaSampleCountEight[] = "8";
831const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
832
833const char kGpuRasterizationName[] = "GPU rasterization";
834const char kGpuRasterizationDescription[] =
835 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28836const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51837
838const char kGoogleProfileInfoName[] = "Google profile name and icon";
839const char kGoogleProfileInfoDescription[] =
840 "Enables using Google information to populate the profile name and icon in "
841 "the avatar menu.";
842
843const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
844const char kHarfbuzzRendertextDescription[] =
845 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
846 "web content.";
847
Takumi Fujimotofb71e332018-03-31 14:04:08848const char kViewsCastDialogName[] = "Views Cast dialog";
849const char kViewsCastDialogDescription[] =
850 "Replace the WebUI Cast dialog with a Views toolkit dialog.";
851
Manu Cornet4a908de2018-04-09 04:32:27852const char kHideActiveAppsFromShelfName[] =
853 "Hide running apps (that are not pinned) from the shelf";
854const char kHideActiveAppsFromShelfDescription[] =
855 "Save space in the shelf by hiding running apps (that are not pinned).";
Manu Cornete5f855b2018-03-13 03:35:25856
Brett Wilsonecb80982017-07-12 20:34:51857const char kHistoryRequiresUserGestureName[] =
858 "New history entries require a user gesture.";
859const char kHistoryRequiresUserGestureDescription[] =
860 "Require a user gesture to add a history entry.";
861const char kHyperlinkAuditingName[] = "Hyperlink auditing";
862const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
863
Ryan Landay4242dbc22018-04-04 01:47:33864const char kHorizontalTabSwitcherAndroidName[] =
865 "Enable horizontal tab switcher";
866const char kHorizontalTabSwitcherAndroidDescription[] =
867 "Changes the layout of the Android tab switcher so tabs scroll "
868 "horizontally instead of vertically.";
869
Brett Wilsonecb80982017-07-12 20:34:51870const char kHostedAppQuitNotificationName[] =
871 "Quit notification for hosted apps";
872const char kHostedAppQuitNotificationDescription[] =
873 "Display a notification when quitting Chrome if hosted apps are currently "
874 "running.";
875
876const char kHostedAppShimCreationName[] =
877 "Creation of app shims for hosted apps on Mac";
878const char kHostedAppShimCreationDescription[] =
879 "Create app shims on Mac when creating a hosted app.";
880
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48881const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
882const char kHtmlBasedUsernameDetectorDescription[] =
883 "Use HTML-based username detector for the password manager.";
884
Brett Wilsonecb80982017-07-12 20:34:51885const char kIconNtpName[] = "Large icons on the New Tab page";
886const char kIconNtpDescription[] =
887 "Enable the experimental New Tab page using large icons.";
888
889const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
890const char kIgnoreGpuBlacklistDescription[] =
891 "Overrides the built-in software rendering list and enables "
892 "GPU-acceleration on unsupported system configurations.";
893
Thanh Le5f090efa52017-12-27 22:39:44894const char kIgnorePreviewsBlacklistName[] = "Ignore Previews Blacklist";
895const char kIgnorePreviewsBlacklistDescription[] =
896 "Ignore decisions made by the PreviewsBlackList";
897
Brett Wilsonecb80982017-07-12 20:34:51898const char kImportantSitesInCbdName[] =
899 "Important sites options in clear browsing data dialog";
900const char kImportantSitesInCbdDescription[] =
901 "Include the option to whitelist important sites in the clear browsing "
902 "data dialog.";
903
Claudio Magni61c210922017-12-28 00:29:51904const char kImprovedLanguageSettingsName[] = "Improved Language Settings";
905const char kImprovedLanguageSettingsDescription[] =
906 "Set of changes for Language Settings. These changes are intended to fix "
907 "the major bugs related to Language Settings.";
908
Brett Wilsonecb80982017-07-12 20:34:51909const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
910const char kInProductHelpDemoModeChoiceDescription[] =
911 "Selects the In-Product Help demo mode.";
912
913const char kJavascriptHarmonyName[] = "Experimental JavaScript";
914const char kJavascriptHarmonyDescription[] =
915 "Enable web pages to use experimental JavaScript features.";
916
917const char kJavascriptHarmonyShippingName[] =
918 "Latest stable JavaScript features";
919const char kJavascriptHarmonyShippingDescription[] =
920 "Some web pages use legacy or non-standard JavaScript extensions that may "
921 "conflict with the latest JavaScript features. This flag allows disabling "
922 "support of those features for compatibility with such pages.";
923
Yutaka Hiranof7f2f632017-09-06 10:40:08924const char kKeepAliveRendererForKeepaliveRequestsName[] =
925 "Keep a renderer alive for keepalive fetch requests";
926const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
927 "Keep a render process alive when the process has a pending fetch request "
928 "with `keepalive' specified.";
929
Joe Downing095fd6d2018-02-01 18:40:36930const char kKeyboardLockApiName[] = "Experimental keyboard lock API.";
931const char kKeyboardLockApiDescription[] =
932 "Enables websites to use the new keyboard{Lock|Unlock} API to intercept "
933 "specific key events and have them routed directly to the webpage when in "
934 "fullscreen mode. Implies #experimental-keyboard-lock-ui.";
935
Brett Wilsonecb80982017-07-12 20:34:51936const char kLcdTextName[] = "LCD text antialiasing";
937const char kLcdTextDescription[] =
938 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
939 "(subpixel) when doing accelerated compositing.";
940
Matt Giucac399982f2017-10-06 07:51:29941const char kLeftToRightUrlsName[] =
942 "Render bidirectional URLs from left to right";
943const char kLeftToRightUrlsDescription[] =
944 "An experimental Bidi URL rendering algorithm where the URL components are "
945 "always shown in order from left to right, regardless of any RTL "
946 "characters. (The contents of each component are still rendered with the "
947 "normal Bidi algorithm.)";
948
Brett Wilsonecb80982017-07-12 20:34:51949const char kLoadMediaRouterComponentExtensionName[] =
950 "Load Media Router Component Extension";
951const char kLoadMediaRouterComponentExtensionDescription[] =
952 "Loads the Media Router component extension at startup.";
953
spqchanb87755692018-04-05 00:46:09954const char kMacViewsAutofillPopupName[] =
955 "Uses the Views Autofill Popup on Mac";
956const char kMacViewsAutofillPopupDescription[] =
957 "Autofill popup will be shown using the Views toolkit rather than Cocoa.";
Derek Chengd24c68c2018-03-12 19:09:32958
Brett Wilsonecb80982017-07-12 20:34:51959const char kManualPasswordGenerationName[] = "Manual password generation.";
960const char kManualPasswordGenerationDescription[] =
961 "Show a 'Generate Password' option on the context menu for all password "
962 "fields.";
963
964const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
965const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
Brett Wilsonecb80982017-07-12 20:34:51966
Lei Zhang2eca9082017-10-17 20:42:50967const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
968const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51969 "If enabled, the Incognito New Tab page uses the new material design with "
970 "a better readable text.";
971
972const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
973const char kMediaRemotingDescription[] =
974 "When Casting a tab to a remote device, enabling this turns on an "
975 "optimization that forwards the content bitstream directly to the remote "
976 "device when a video is fullscreened.";
977
spqchanb87755692018-04-05 00:46:09978const char kMediaRouterCastAllowAllIPsName[] =
979 "Connect to Cast devices on all IP addresses";
980const char kMediaRouterCastAllowAllIPsDescription[] =
981 "Have the Media Router connect to Cast devices on all IP addresses, not "
982 "just RFC1918/RFC4913 private addresses.";
983
Brett Wilsonecb80982017-07-12 20:34:51984const char kMemoryAblationName[] = "Memory ablation experiment";
985const char kMemoryAblationDescription[] =
986 "Allocates extra memory in the browser process.";
987
988const char kMemoryCoordinatorName[] = "Memory coordinator";
989const char kMemoryCoordinatorDescription[] =
990 "Enable memory coordinator instead of memory pressure listeners.";
991
992const char kMessageCenterNewStyleNotificationName[] = "New style notification";
993const char kMessageCenterNewStyleNotificationDescription[] =
994 "Enables the experiment style of material-design notification";
995
Brett Wilsonecb80982017-07-12 20:34:51996const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
997const char kMhtmlGeneratorOptionDescription[] =
998 "Provides experimental options for MHTML file generator.";
999const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
1000const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
1001
Kouhei Ueno08445c22017-09-05 03:58:301002const char kModuleScriptsDynamicImportName[] =
1003 "Enable ECMAScript 6 modules dynamic import";
1004const char kModuleScriptsDynamicImportDescription[] =
1005 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
1006 "Blink.";
1007
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:051008const char kModuleScriptsImportMetaUrlName[] =
1009 "Enable ECMAScript 6 modules import.meta.url";
1010const char kModuleScriptsImportMetaUrlDescription[] =
1011 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
1012 "Blink.";
1013
Brett Wilsonecb80982017-07-12 20:34:511014const char kNewAudioRenderingMixingStrategyName[] =
1015 "New audio rendering mixing strategy";
1016const char kNewAudioRenderingMixingStrategyDescription[] =
1017 "Use the new audio rendering mixing strategy.";
1018
1019const char kNewBookmarkAppsName[] = "The new bookmark app system";
1020const char kNewBookmarkAppsDescription[] =
1021 "Enables the new system for creating bookmark apps.";
1022
Vadym Doroshenkof81e8bb2018-04-18 14:35:241023const char kNewPasswordFormParsingName[] = "New password form parsing";
1024const char kNewPasswordFormParsingDescription[] =
1025 "Replaces existing form parsing in password manager with a new version, "
1026 "currently under development. WARNING: when enabled Password Manager might "
1027 "stop working";
1028
Brett Wilsonecb80982017-07-12 20:34:511029const char kNewRemotePlaybackPipelineName[] =
1030 "Enable the new remote playback pipeline.";
1031const char kNewRemotePlaybackPipelineDescription[] =
1032 "Enable the new pipeline for playing media element remotely via "
1033 "RemotePlayback API or native controls.";
CJ DiMeglio7b4a199f2017-11-30 01:26:501034const char kUseSurfaceLayerForVideoName[] =
1035 "Enable the use of SurfaceLayer objects for videos.";
1036const char kUseSurfaceLayerForVideoDescription[] =
1037 "Enable compositing onto a Surface instead of a VideoLayer "
1038 "for videos.";
Brett Wilsonecb80982017-07-12 20:34:511039
1040const char kNewUsbBackendName[] = "Enable new USB backend";
1041const char kNewUsbBackendDescription[] =
1042 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:341043
Sonny Sasaka2d200432018-03-22 17:43:161044const char kNewblueName[] = "Newblue";
1045const char kNewblueDescription[] =
1046 "Enables the use of newblue Bluetooth daemon.";
1047
brettw5f9c1642017-05-14 17:12:481048const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:341049const char kNostatePrefetchDescription[] =
1050 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
1051 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
1052 R"*(improve load times even more. "Simple Load" does nothing and is )*"
1053 R"*(similar to disabling the feature, but collects more metrics for )*"
1054 R"*(comparison purposes.)*";
1055
Brett Wilsonecb80982017-07-12 20:34:511056const char kNotificationsNativeFlagName[] = "Enable native notifications.";
1057const char kNotificationsNativeFlagDescription[] =
1058 "Enable support for using the native notification toasts and notification "
1059 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:341060
Zentaro Kavanaghbad511c2017-10-18 22:29:001061#if defined(OS_POSIX)
1062const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
1063const char kNtlmV2EnabledDescription[] =
1064 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
1065#endif
1066
Ramya Nagarajane9f16b82018-05-03 01:05:341067const char kNtpBackgroundsName[] = "New Tab Page Background Selection";
1068const char kNtpBackgroundsDescription[] =
1069 "Allow selection of a custom background image on the New Tab Page.";
1070
1071const char kNtpIconsName[] = "New Tab Page Custom Link Icons";
1072const char kNtpIconsDescription[] =
1073 "Show custom link icons on the New Tab Page, instead of Most Visited "
1074 "tiles.";
1075
1076const char kNtpUIMdName[] = "New Tab Page Material Design UI";
1077const char kNtpUIMdDescription[] =
1078 "Updates the New Tab Page with Material Design elements.";
1079
Brett Wilsonecb80982017-07-12 20:34:511080const char kNumRasterThreadsName[] = "Number of raster threads";
1081const char kNumRasterThreadsDescription[] =
1082 "Specify the number of raster threads.";
1083const char kNumRasterThreadsOne[] = "1";
1084const char kNumRasterThreadsTwo[] = "2";
1085const char kNumRasterThreadsThree[] = "3";
1086const char kNumRasterThreadsFour[] = "4";
1087
1088const char kOfferStoreUnmaskedWalletCardsName[] =
1089 "Google Payments card saving checkbox";
1090const char kOfferStoreUnmaskedWalletCardsDescription[] =
1091 "Show the checkbox to offer local saving of a credit card downloaded from "
1092 "the server.";
1093
1094const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1095const char kOfflineAutoReloadDescription[] =
1096 "Pages that fail to load while the browser is offline will be "
1097 "auto-reloaded when the browser is online again.";
1098
1099const char kOfflineAutoReloadVisibleOnlyName[] =
1100 "Only Auto-Reload Visible Tabs";
1101const char kOfflineAutoReloadVisibleOnlyDescription[] =
1102 "Pages that fail to load while the browser is offline will only be "
1103 "auto-reloaded if their tab is visible.";
1104
Brett Wilsonecb80982017-07-12 20:34:511105const char kOmniboxDisplayTitleForCurrentUrlName[] =
1106 "Include title for the current URL in the omnibox";
1107const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
1108 "In the event that the omnibox provides suggestions on-focus, the URL of "
1109 "the current page is provided as the first suggestion without a title. "
1110 "Enabling this flag causes the title to be displayed.";
1111
Benoit Lizeab08362c2017-07-19 14:50:541112const char kOmniboxSpareRendererName[] =
1113 "Start spare renderer on omnibox focus";
1114const char kOmniboxSpareRendererDescription[] =
1115 "When the omnibox is focused, start an empty spare renderer. This can "
1116 "speed up the load of the navigation from the omnibox.";
1117
Tommy C. Li8875a442017-08-23 00:10:591118const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
1119 "Omnibox UI Elide Suggestion URL After Host";
1120const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
1121 "Elides the path, query, and ref of suggested URLs in the Omnibox "
1122 "dropdown.";
1123
Tommy C. Lid79d4402017-12-22 22:49:121124const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsName[] =
1125 "Omnibox UI Hide Steady-State URL Scheme and Trivial Subdomains";
1126const char kOmniboxUIHideSteadyStateUrlSchemeAndSubdomainsDescription[] =
1127 "In the Omnibox, hide the scheme and trivial subdomains from steady state "
1128 "displayed URLs. Hidden portions are restored during editing.";
1129
Brett Wilsonecb80982017-07-12 20:34:511130const char kOmniboxUIMaxAutocompleteMatchesName[] =
1131 "Omnibox UI Max Autocomplete Matches";
1132
1133const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
1134 "Changes the maximum number of autocomplete matches displayed in the "
1135 "Omnibox UI.";
1136
Justin Donnelly65c9e8b2017-10-01 05:15:011137const char kOmniboxUIShowSuggestionFaviconsName[] =
1138 "Omnibox UI Show Suggestion Favicons";
1139const char kOmniboxUIShowSuggestionFaviconsDescription[] =
1140 "Shows favicons instead of generic vector icons for URL suggestions in the "
1141 "Omnibox dropdown.";
1142
1143const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
1144const char kOmniboxUISwapTitleAndUrlDescription[] =
1145 "In the omnibox dropdown, shows titles before URLs when both are "
1146 "available.";
1147
Brett Wilsonecb80982017-07-12 20:34:511148const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
1149const char kOmniboxUIVerticalMarginDescription[] =
1150 "Changes the vertical margin in the Omnibox UI.";
1151
Troy Hildebrandtb32637ca2018-02-21 23:25:091152const char kOmniboxVoiceSearchAlwaysVisibleName[] =
1153 "Omnibox Voice Search Always Visible";
1154const char kOmniboxVoiceSearchAlwaysVisibleDescription[] =
1155 "Always displays voice search icon in focused omnibox as long as voice "
1156 "search is possible";
1157
Brett Wilsonecb80982017-07-12 20:34:511158const char kOriginTrialsName[] = "Origin Trials";
1159const char kOriginTrialsDescription[] =
1160 "Enables origin trials for controlling access to feature/API experiments.";
1161
Becca Hughes930d8cd2017-10-02 11:09:121162const char kOverflowIconsForMediaControlsName[] =
1163 "Icons on Media Controls Overflow Menu";
1164const char kOverflowIconsForMediaControlsDescription[] =
1165 "Displays icons on the overflow menu of the native media controls";
1166
Brett Wilsonecb80982017-07-12 20:34:511167const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
1168const char kOverlayScrollbarsDescription[] =
1169 "Enable the experimental overlay scrollbars implementation. You must also "
1170 "enable threaded compositing to have the scrollbars animate.";
1171
chaopenge8aa016b2017-08-24 15:20:191172const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1173 "Flash Overlay Scrollbars After Any Scroll Update";
1174const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1175 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1176 " must also enable Overlay Scrollbars.";
1177
chaopeng343678022017-08-24 18:45:001178const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1179 "Flash Overlay Scrollbars When Mouse Enter";
1180const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1181 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1182 " enable Overlay Scrollbars.";
1183
Claudio Magni81326f92017-09-01 05:21:181184const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1185const char kUseNewAcceptLanguageHeaderDescription[] =
1186 "Adds the base language code after other corresponding language+region "
1187 "codes. This ensures that users receive content in their preferred "
1188 "language.";
1189
Brett Wilsonecb80982017-07-12 20:34:511190const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1191const char kOverscrollHistoryNavigationDescription[] =
Mohsen Izadi88b392a2018-02-15 06:57:481192 "History navigation in response to horizontal overscroll.";
Brett Wilsonecb80982017-07-12 20:34:511193const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
Mohsen Izadi88b392a2018-02-15 06:57:481194const char kOverscrollHistoryNavigationParallaxUi[] = "Parallax";
Brett Wilsonecb80982017-07-12 20:34:511195
1196const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1197const char kOverscrollStartThresholdDescription[] =
1198 "Changes overscroll start threshold relative to the default value.";
1199const char kOverscrollStartThreshold133Percent[] = "133%";
1200const char kOverscrollStartThreshold166Percent[] = "166%";
1201const char kOverscrollStartThreshold200Percent[] = "200%";
1202
chaopenge2b6e5f2018-05-08 16:40:451203const char kTouchpadOverscrollHistoryNavigationName[] =
1204 "Overscroll history navigation on Touchpad";
1205const char kTouchpadOverscrollHistoryNavigationDescription[] =
1206 "Allows swipe left/right from touchpad change browser navigation.";
1207
Xing Liu5400a002017-09-15 21:48:291208const char kParallelDownloadingName[] = "Parallel downloading";
1209const char kParallelDownloadingDescription[] =
Yannic Bonenbergera32f9902017-11-20 18:47:061210 "Enable parallel downloading to accelerate download speed.";
Xing Liu5400a002017-09-15 21:48:291211
Brett Wilsonecb80982017-07-12 20:34:511212const char kPassiveEventListenerDefaultName[] =
1213 "Passive Event Listener Override";
1214const char kPassiveEventListenerDefaultDescription[] =
1215 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1216 "haven't requested otherwise) to be treated as passive. This will break "
1217 "touch/wheel behavior on some websites but is useful for demonstrating the "
1218 "potential performance benefits of adopting passive event listeners.";
1219const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1220const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1221
1222const char kPassiveEventListenersDueToFlingName[] =
1223 "Touch Event Listeners Passive Default During Fling";
1224const char kPassiveEventListenersDueToFlingDescription[] =
1225 "Forces touchstart, and first touchmove per scroll event listeners during "
1226 "fling to be treated as passive.";
1227
1228const char kPassiveDocumentEventListenersName[] =
1229 "Document Level Event Listeners Passive Default";
1230const char kPassiveDocumentEventListenersDescription[] =
1231 "Forces touchstart, and touchmove event listeners on document level "
1232 "targets (which haven't requested otherwise) to be treated as passive.";
1233
1234const char kPasswordForceSavingName[] = "Force-saving of passwords";
1235const char kPasswordForceSavingDescription[] =
1236 "Allow the user to manually enforce password saving instead of relying on "
1237 "password manager's heuristics.";
1238
1239const char kPasswordGenerationName[] = "Password generation";
1240const char kPasswordGenerationDescription[] =
1241 "Allow the user to have Chrome generate passwords when it detects account "
1242 "creation pages.";
1243
Vaclav Brozekd8a3f542017-11-16 14:21:131244const char kPasswordExportName[] = "Password export";
1245const char kPasswordExportDescription[] =
1246 "Export functionality in password settings.";
1247
1248const char kPasswordImportName[] = "Password import";
1249const char kPasswordImportDescription[] =
1250 "Import functionality in password settings.";
Brett Wilsonecb80982017-07-12 20:34:511251
Friedrich Horschig03c91982018-01-25 14:21:281252const char kPasswordSearchMobileName[] = "Password search";
1253const char kPasswordSearchMobileDescription[] =
1254 "Search functionality in password settings.";
1255
Friedrich Horschige6c27742018-04-23 17:13:411256const char kPasswordsKeyboardAccessoryName[] =
1257 "Add password-related functions to keyboard accessory";
1258const char kPasswordsKeyboardAccessoryDescription[] =
1259 "Adds password generation button and toggle for the passwords bottom sheet "
1260 "to the keyboard accessory. Replaces password generation popups.";
1261
Tom Sepez92a2cd242018-03-13 19:23:091262const char kPdfIsolationName[] = "PDF Isolation";
1263const char kPdfIsolationDescription[] =
1264 "Render PDF files from different origins in different plugin processes.";
1265
Brett Wilsonecb80982017-07-12 20:34:511266const char kPinchScaleName[] = "Pinch scale";
1267const char kPinchScaleDescription[] =
1268 "Enables experimental support for scale using pinch.";
1269
Doug Arnett620ff542018-02-06 17:54:221270const char kPreviewsAllowedName[] = "Previews Allowed";
1271const char kPreviewsAllowedDescription[] =
1272 "Allows previews to be shown subject to specific preview types being "
1273 "enabled and the client experiencing specific triggering conditions. "
1274 "May be used as a kill-switch to turn off all potential preview types.";
1275
Brett Wilsonecb80982017-07-12 20:34:511276const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1277const char kPrintPdfAsImageDescription[] =
1278 "If enabled, an option to print PDF files as images will be available in "
1279 "print preview.";
1280
1281const char kPrintPreviewRegisterPromosName[] =
1282 "Print Preview Registration Promos";
1283const char kPrintPreviewRegisterPromosDescription[] =
1284 "Enable registering unregistered cloud printers from print preview.";
1285
1286const char kProtectSyncCredentialName[] = "Autofill sync credential";
1287const char kProtectSyncCredentialDescription[] =
1288 "How the password manager handles autofill for the sync credential.";
1289
1290const char kProtectSyncCredentialOnReauthName[] =
1291 "Autofill sync credential only for transactional reauth pages";
1292const char kProtectSyncCredentialOnReauthDescription[] =
1293 "How the password manager handles autofill for the sync credential only "
1294 "for transactional reauth pages.";
1295
Mohsen Izadi93faac12017-07-29 04:45:151296const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1297const char kPullToRefreshDescription[] =
1298 "Pull-to-refresh gesture in response to vertical overscroll.";
Mohsen Izadi8c59ba52018-04-12 18:52:011299const char kPullToRefreshEnabledTouchscreen[] = "Enabled for touchscreen only";
Mohsen Izadi93faac12017-07-29 04:45:151300
Troy Hildebrandt7228ad12018-02-23 21:18:241301const char kQueryInOmniboxName[] = "Query in Omnibox";
1302const char kQueryInOmniboxDescription[] =
1303 "Only display query terms in the omnibox when viewing a search results "
1304 "page.";
1305
Brett Wilsonecb80982017-07-12 20:34:511306const char kQuicName[] = "Experimental QUIC protocol";
1307const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1308
Emily Starke8878d52018-05-11 21:27:261309const char kRecurrentInterstitialName[] =
1310 "Show a message when the same SSL error recurs";
1311const char kRecurrentInterstitialDescription[] =
1312 "Enable a special message on the SSL certificate error page when the same "
1313 "SSL error occurs repeatedly.";
1314
Brett Wilsonecb80982017-07-12 20:34:511315const char kReducedReferrerGranularityName[] =
1316 "Reduce default 'referer' header granularity.";
1317const char kReducedReferrerGranularityDescription[] =
1318 "If a page hasn't set an explicit referrer policy, setting this flag will "
1319 "reduce the amount of information in the 'referer' header for cross-origin "
1320 "requests.";
1321
Claudio Magnie0a80bb2018-01-31 02:52:581322extern const char kRegionalLocalesAsDisplayUIName[] =
1323 "Allow regional locales as display UI";
1324extern const char kRegionalLocalesAsDisplayUIDescription[] =
1325 "This flag allows regional locales to be selected as display UI by the "
1326 "user in Language Settings. The actual locale of the system is derived "
1327 "from the user selection based on some simple fallback logic.";
1328
Christian Dullweber1af31e62018-02-22 11:49:481329const char kRemoveNavigationHistoryName[] =
Christian Dullweberb13ffda2018-02-23 11:42:141330 "Remove navigation entry on history deletion";
Christian Dullweber1af31e62018-02-22 11:49:481331const char kRemoveNavigationHistoryDescription[] =
1332 "Remove a navigation entry when the corresponding history entry has been "
1333 "deleted.";
1334
Mihai Sardarescu6d0f5b72017-10-30 11:24:381335const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1336 "Remove usage of the deprecated GAIA sign-in endpoint";
1337const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1338 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1339 "This flags controls wheter it should no longer be used during a sign-in "
1340 " flow.";
1341
Yutaka Hirano4c0f2f5d452017-11-17 04:24:351342const char kRendererSideResourceSchedulerName[] =
1343 "Renderer side ResourceScheduler";
1344const char kRendererSideResourceSchedulerDescription[] =
1345 "Migrate some ResourceScheduler functionalities to renderer";
1346
Brett Wilsonecb80982017-07-12 20:34:511347const char kRequestTabletSiteName[] =
1348 "Request tablet site option in the settings menu";
1349const char kRequestTabletSiteDescription[] =
1350 "Allows the user to request tablet site. Web content is often optimized "
1351 "for tablet devices. When this option is selected the user agent string is "
1352 "changed to indicate a tablet device. Web content optimized for tablets is "
1353 "received there after for the current tab.";
1354
1355const char kResetAppListInstallStateName[] =
1356 "Reset the App Launcher install state on every restart.";
1357const char kResetAppListInstallStateDescription[] =
1358 "Reset the App Launcher install state on every restart. While this flag is "
1359 "set, Chrome will forget the launcher has been installed each time it "
1360 "starts. This is used for testing the App Launcher install flow.";
1361
1362const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1363const char kResourceLoadSchedulerDescription[] =
1364 "Uses the resource load scheduler in blink to schedule and throttle "
1365 "resource load requests.";
1366
Brett Wilsonecb80982017-07-12 20:34:511367const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1368const char kSafeSearchUrlReportingDescription[] =
1369 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1370
Alexei Filippov98772752018-01-27 08:26:521371const char kSamplingHeapProfilerName[] = "Native memory sampling profiler.";
1372const char kSamplingHeapProfilerDescription[] =
1373 "Enables native memory sampling profiler with specified rate in KiB. "
1374 "If sampling rate is not provided the default value of 128 KiB is used.";
1375
Brett Wilsonecb80982017-07-12 20:34:511376const char kSaveasMenuLabelExperimentName[] =
1377 "Switch 'Save as' menu labels to 'Download'";
1378const char kSaveasMenuLabelExperimentDescription[] =
1379 "Enables an experiment to switch menu labels that use 'Save as...' to "
1380 "'Download'.";
1381
1382const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1383const char kSavePageAsMhtmlDescription[] =
1384 "Enables saving pages as MHTML: a single text file containing HTML and all "
1385 "sub-resources.";
1386
Nate Chapin9638e7102017-09-20 22:11:011387const char kSavePreviousDocumentResourcesName[] =
1388 "Save Previous Document Resources";
1389const char kSavePreviousDocumentResourcesDescription[] =
1390 "Saves an old document's cached resources until the specified point in the "
1391 "next document's lifecycle.";
1392const char kSavePreviousDocumentResourcesNever[] =
1393 "Don't explicitly save resources";
1394const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1395 "Save resources until onDOMContentLoaded completes";
1396const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1397 "Save resources until onload completes";
1398
Brett Wilsonecb80982017-07-12 20:34:511399const char kScrollPredictionName[] = "Scroll prediction";
1400const char kScrollPredictionDescription[] =
1401 "Predicts the finger's future position during scrolls allowing time to "
1402 "render the frame before the finger is there.";
1403
1404const char kSecondaryUiMd[] =
1405 "Material Design in the rest of the browser's native UI";
1406const char kSecondaryUiMdDescription[] =
1407 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1408 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1409 "browser dialogs.";
1410
1411const char kServiceWorkerNavigationPreloadName[] =
1412 "Service worker navigation preload.";
1413const char kServiceWorkerNavigationPreloadDescription[] =
1414 "Enable web pages to use the experimental service worker navigation "
1415 "preload API.";
1416
gogeraldd5061b592017-09-06 23:39:551417const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1418const char kServiceWorkerPaymentAppsDescription[] =
1419 "Enable Service Worker applications to integrate as payment apps";
1420
Makoto Shimazu22078cc2018-02-21 03:01:441421extern const char kServiceWorkerServicificationName[] =
1422 "Servicified service workers";
1423extern const char kServiceWorkerServicificationDescription[] =
1424 "Enable the servicified service workers. A servicified service worker can "
1425 "have direct connection from its clients, so that fetch events can be "
1426 "dispatched through the connection without hopping to the browser process.";
Makoto Shimazud9f333c2017-08-08 07:23:171427
Tsuyoshi Horobcb1c642017-11-24 16:32:141428const char kServiceWorkerScriptFullCodeCacheName[] =
1429 "Service worker script full code cache.";
1430const char kServiceWorkerScriptFullCodeCacheDescription[] =
1431 "Generate V8 full code cache of Service Worker scripts while installing.";
1432
Brett Wilsonecb80982017-07-12 20:34:511433const char kSettingsWindowName[] = "Show settings in a window";
1434const char kSettingsWindowDescription[] =
1435 "Settings will be shown in a dedicated window instead of as a browser tab.";
1436
Manu Cornetd7ef7c52018-05-01 22:08:231437const char kShelfHoverPreviewsName[] =
1438 "Show previews of running apps when hovering over the shelf.";
1439const char kShelfHoverPreviewsDescription[] =
1440 "Shows previews of the open windows for a given running app when hovering "
1441 "over the shelf.";
1442
Trent Apted750ba7022017-10-23 13:36:251443const char kShowAllDialogsWithViewsToolkitName[] =
1444 "Show all dialogs with Views toolkit";
1445const char kShowAllDialogsWithViewsToolkitDescription[] =
1446 "All browser dialogs will be shown using the Views toolkit rather than "
1447 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1448
Brett Wilsonecb80982017-07-12 20:34:511449const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1450const char kShowAutofillSignaturesDescription[] =
Maxim Kolosovskiye66f8cb2018-03-23 10:25:381451 "Annotates web forms with Autofill signatures as HTML attributes. Also "
1452 "marks password fields suitable for password generation.";
Brett Wilsonecb80982017-07-12 20:34:511453
1454const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1455const char kShowAutofillTypePredictionsDescription[] =
1456 "Annotates web forms with Autofill field type predictions as placeholder "
1457 "text.";
1458
1459const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1460const char kShowOverdrawFeedbackDescription[] =
1461 "Visualize overdraw by color-coding elements based on if they have other "
1462 "elements drawn underneath.";
1463
Carlos IL89128732018-04-03 17:00:251464const char kSupervisedUserCommittedInterstitialsName[] =
1465 "Enable Supervised User Committed Interstitials";
1466const char kSupervisedUserCommittedInterstitialsDescription[] =
1467 "Use committed error pages instead of transient navigation entries for "
1468 "supervised user interstitials";
1469
yiyixbdfa9a0b2017-10-23 22:21:471470const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1471const char kEnableDrawOcclusionDescription[] =
1472 "Enable the system to use draw occlusion to skip draw quads when they are "
1473 "not shown on the screen.";
1474
Brett Wilsonecb80982017-07-12 20:34:511475const char kShowSavedCopyName[] = "Show Saved Copy Button";
1476const char kShowSavedCopyDescription[] =
1477 "When a page fails to load, if a stale copy of the page exists in the "
1478 "browser cache, a button will be presented to allow the user to load that "
1479 "stale copy. The primary enabling choice puts the button in the most "
1480 "salient position on the error page; the secondary enabling choice puts it "
1481 "secondary to the reload button.";
1482const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1483const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1484const char kDisableShowSavedCopy[] = "Disable";
1485
Brett Wilsonecb80982017-07-12 20:34:511486const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1487const char kSilentDebuggerExtensionApiDescription[] =
1488 "Do not show the infobar when an extension attaches to a page via "
1489 "chrome.debugger API. This is required to debug extension background "
1490 "pages.";
1491
Tsuyoshi Horo53895ba92018-03-14 04:06:481492const char kSignedHTTPExchangeName[] = "Signed HTTP Exchange";
1493const char kSignedHTTPExchangeDescription[] =
1494 "Enables Origin-Signed HTTP Exchanges support which is still in "
1495 "development. Warning: Enabling this may pose a security risk.";
1496
Brett Wilsonecb80982017-07-12 20:34:511497const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1498const char kSimpleCacheBackendDescription[] =
1499 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1500 "disk space allocation.";
1501
Christopher Thompson75ff845d2018-02-01 20:12:461502const char kSimplifyHttpsIndicatorName[] = "Simplify HTTPS indicator UI";
1503const char kSimplifyHttpsIndicatorDescription[] =
1504 "Change the UI treatment for HTTPS pages.";
1505
Brett Wilsonecb80982017-07-12 20:34:511506const char kSingleClickAutofillName[] = "Single-click autofill";
1507const char kSingleClickAutofillDescription[] =
1508 "Make autofill suggestions on initial mouse click on a form element.";
1509
Nick Carter855bc492018-03-10 00:44:571510const char kStrictSiteIsolationName[] = "Strict site isolation";
1511const char kStrictSiteIsolationDescription[] =
1512 "Security mode that enables site isolation for all sites. When enabled, "
1513 "each renderer process will contain pages from at most one site, using "
1514 "out-of-process iframes when needed. When enabled, this flag forces the "
1515 "strictest site isolation mode (SitePerProcess). When disabled, the site "
1516 "isolation mode will be determined by enterprise policy or field trial.";
1517
1518const char kSiteIsolationTrialOptOutName[] = "Site isolation trial opt-out";
1519const char kSiteIsolationTrialOptOutDescription[] =
1520 "Opts out of field trials that enable site isolation modes "
1521 "(SitePerProcess, IsolateOrigins, etc). Intended for diagnosing bugs that "
1522 "may be due to out-of-process iframes. Opt-out has no effect if site "
1523 "isolation is force-enabled via #enable-site-per-process or enterprise "
1524 "policy. Caution: this disables important mitigations for the Spectre CPU "
1525 "vulnerability affecting most computers.";
1526extern const char kSiteIsolationTrialOptOutChoiceDefault[] = "Default";
1527extern const char kSiteIsolationTrialOptOutChoiceOptOut[] =
1528 "Opt-out (not recommended)";
Brett Wilsonecb80982017-07-12 20:34:511529
Pattideade7972018-04-27 02:59:401530const char kSiteSettings[] = "Site settings";
Brett Wilsonecb80982017-07-12 20:34:511531const char kSiteSettingsDescription[] =
Pattideade7972018-04-27 02:59:401532 "Add the All Sites list to Site Settings.";
Brett Wilsonecb80982017-07-12 20:34:511533
Brett Wilsonecb80982017-07-12 20:34:511534const char kSmoothScrollingName[] = "Smooth Scrolling";
1535const char kSmoothScrollingDescription[] =
1536 "Animate smoothly when scrolling page content.";
1537
1538const char kSoftwareRasterizerName[] = "3D software rasterizer";
1539const char kSoftwareRasterizerDescription[] =
1540 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1541
Wei-Yin Chen (陳威尹)deff0802018-01-19 06:29:201542const char kSoleIntegrationName[] = "Sole integration";
1543const char kSoleIntegrationDescription[] =
1544 "Enable Sole integration for browser customization. You must restart "
1545 "the browser twice for changes to take effect.";
1546
Tommy Steimel77704be2017-08-28 22:14:401547const char kSoundContentSettingName[] = "Sound content setting";
1548const char kSoundContentSettingDescription[] =
1549 "Enable site-wide muting in content settings and tab strip context menu.";
1550
Alexandr Ilinf0500ed32017-09-27 21:12:361551const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1552const char kSpeculativePreconnectDescription[] =
1553 "Enable the new implementation of preconnect and DNS preresolve. "
1554 "\"Learning\" means that only database construction is enabled, "
1555 "\"Preconnect\" enables both learning and preconnect and disables the "
1556 "existing implementation. \"No preconnect\" disables both implementations.";
1557
Brett Wilsonecb80982017-07-12 20:34:511558const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341559const char kSpeculativePrefetchDescription[] =
1560 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1561 R"*(load times, based on a local database (see chrome://predictors). )*"
1562 R"*("Learning" means that only the database construction is enabled, )*"
1563 R"*("Prefetching" that learning and prefetching are enabled.)*";
1564
Justin Donnelly4e448cb2017-07-07 21:32:131565const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1566 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131567const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1568 "If enabled, when the user enters text in the omnibox that looks like a "
1569 "a query, any service worker associated with the search engine the query "
1570 "will be sent to is started early.";
1571
Brett Wilsonecb80982017-07-12 20:34:511572const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1573const char kSpellingFeedbackFieldTrialDescription[] =
1574 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401575
Shubhie Panickerfaf082ed2018-01-03 04:49:151576const char kStopInBackgroundName[] = "Stop in background";
1577const char kStopInBackgroundDescription[] =
1578 "Stop scheduler task queues, in the background, "
Shubhie Panicker56c99a22018-03-21 00:22:281579 " after a grace period.";
Shubhie Panickerfaf082ed2018-01-03 04:49:151580
1581const char kStopLoadingInBackgroundName[] = "Stop loading in background";
1582const char kStopLoadingInBackgroundDescription[] =
1583 "Stop loading tasks and loading "
1584 "resources, in the background, after certain grace time.";
1585
Shubhie Panicker56c99a22018-03-21 00:22:281586const char kStopNonTimersInBackgroundName[] =
1587 "Stop non-timer task queues background";
1588const char kStopNonTimersInBackgroundDescription[] =
1589 "Stop non-timer task queues, in the background, "
1590 "after a grace period.";
1591
Brett Wilsonecb80982017-07-12 20:34:511592const char kSuggestionsWithSubStringMatchName[] =
1593 "Substring matching for Autofill suggestions";
1594const char kSuggestionsWithSubStringMatchDescription[] =
1595 "Match Autofill suggestions based on substrings (token prefixes) rather "
1596 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341597
Brett Wilsonecb80982017-07-12 20:34:511598const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1599const char kSyncSandboxDescription[] =
1600 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341601
Joe Downing8cbbc192018-05-14 17:37:071602const char kSystemKeyboardLockName[] = "Experimental system keyboard lock";
1603const char kSystemKeyboardLockDescription[] =
1604 "Enables websites to use the keyboard.lock() API to intercept system "
1605 "keyboard shortcuts and have the events routed directly to the website "
1606 "when in fullscreen mode.";
1607
Brett Wilsonecb80982017-07-12 20:34:511608const char kTabAudioMutingName[] = "Tab audio muting UI control";
1609const char kTabAudioMutingDescription[] =
1610 "When enabled, the audio indicators in the tab strip double as tab audio "
1611 "mute controls. This also adds commands in the tab context menu for "
1612 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341613
Christian Dullweberd0d96f02017-09-13 09:22:511614const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1615const char kTabsInCbdDescription[] =
1616 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1617
Becky Zhou99c22802017-10-19 05:09:271618const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1619const char kTabModalJsDialogDescription[] =
1620 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1621 " tab.";
1622
Brett Wilsonecb80982017-07-12 20:34:511623const char kTcpFastOpenName[] = "TCP Fast Open";
1624const char kTcpFastOpenDescription[] =
1625 "Enable the option to send extra authentication information in the initial "
1626 "SYN packet for a previously connected client, allowing faster data send "
1627 "start.";
vabr0215a8e2017-03-28 12:47:341628
Daniele Castagna0fead93e2018-01-10 20:40:291629const char kTintGlCompositedContentName[] = "Tint GL-composited content";
1630const char kTintGlCompositedContentDescription[] =
1631 "Tint contents composited using GL with a shade of red to help debug and "
1632 "study overlay support.";
1633
Brett Wilsonecb80982017-07-12 20:34:511634const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1635const char kTopChromeMdDescription[] =
Ahmed Fakhryb2552be92018-03-02 00:56:581636 "Toggles between 1) Normal - for clamshell devices, 2) Hybrid (previously "
Peter Boström85fa2e12018-03-16 20:43:401637 "touch) - middle point for devices with a touch screen, 3) Touchable "
Peter Boström756745dd2018-05-14 22:59:431638 "- new unified interface for touch and convertibles (Chrome OS), 4) "
1639 "Material Design refresh and 5) Touchable Material Design refresh.";
Brett Wilsonecb80982017-07-12 20:34:511640const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531641const char kTopChromeMdMaterialAuto[] = "Auto";
Trent Aptedd3e5f022018-03-01 07:25:461642const char kTopChromeMdMaterialHybrid[] = "Hybrid";
Ahmed Fakhryb2552be92018-03-02 00:56:581643const char kTopChromeMdMaterialTouchOptimized[] = "Touchable";
Peter Boström85fa2e12018-03-16 20:43:401644const char kTopChromeMdMaterialRefresh[] = "Refresh";
Peter Boström756745dd2018-05-14 22:59:431645const char kTopChromeMdMaterialRefreshTouchOptimized[] = "Touchable Refresh";
vabr0215a8e2017-03-28 12:47:341646
Brett Wilsonecb80982017-07-12 20:34:511647const char kThreadedScrollingName[] = "Threaded scrolling";
1648const char kThreadedScrollingDescription[] =
1649 "Threaded handling of scroll-related input events. Disabling this will "
1650 "force all such scroll events to be handled on the main thread. Note that "
1651 "this can dramatically hurt scrolling performance of most websites and is "
1652 "intended for testing purposes only.";
1653
Steven Valdez4584b2482017-07-14 01:11:571654const char kTLS13VariantName[] = "TLS 1.3";
1655const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1656const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111657const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez781157b2018-01-11 13:32:041658const char kTLS13VariantDraft23[] = "Enabled (Draft 23)";
David Benjamin27ac5b62018-05-22 15:28:381659const char kTLS13VariantDraft28[] = "Enabled (Draft 28)";
Steven Valdez4584b2482017-07-14 01:11:571660
Brett Wilsonecb80982017-07-12 20:34:511661const char kTopDocumentIsolationName[] = "Top document isolation";
1662const char kTopDocumentIsolationDescription[] =
1663 "Highly experimental performance mode where cross-site iframes are kept in "
1664 "a separate process from the top document. In this mode, iframes from "
1665 "different third-party sites will be allowed to share a process.";
1666
Dominick Ng8896b1cd2017-10-17 23:24:361667const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1668const char kTopSitesFromSiteEngagementDescription[] =
1669 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1670 "engagement.";
1671
Brett Wilsonecb80982017-07-12 20:34:511672const char kTouchAdjustmentName[] = "Touch adjustment";
1673const char kTouchAdjustmentDescription[] =
1674 "Refine the position of a touch gesture in order to compensate for touches "
1675 "having poor resolution compared to a mouse.";
1676
Alex Newcomerb3d3c972018-05-03 14:59:401677const char kTouchableAppContextMenuName[] = "Touchable App Context Menu";
1678const char kTouchableAppContextMenuDescription[] =
1679 "Enable the touchable app context menu, which enlarges app context menus "
1680 "in the Launcher and Shelf to make room for new features.";
1681
Brett Wilsonecb80982017-07-12 20:34:511682const char kTouchDragDropName[] = "Touch initiated drag and drop";
1683const char kTouchDragDropDescription[] =
1684 "Touch drag and drop can be initiated through long press on a draggable "
1685 "element.";
1686
1687const char kTouchEventsName[] = "Touch Events API";
1688const char kTouchEventsDescription[] =
1689 "Force Touch Events API feature detection to always be enabled or "
1690 "disabled, or to be enabled when a touchscreen is detected on startup "
Ella Gea6a203c92017-10-26 19:09:291691 "(Automatic).";
Brett Wilsonecb80982017-07-12 20:34:511692
1693const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1694const char kTouchSelectionStrategyDescription[] =
1695 "Controls how text selection granularity changes when touch text selection "
1696 "handles are dragged. Non-default behavior is experimental.";
1697const char kTouchSelectionStrategyCharacter[] = "Character";
1698const char kTouchSelectionStrategyDirection[] = "Direction";
1699
1700const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1701const char kTraceUploadUrlDescription[] =
1702 "This is to be used in conjunction with the enable-navigation-tracing "
1703 "flag. Please select the label that best describes the recorded traces. "
1704 "This will choose the destination the traces are uploaded to. If you are "
1705 "not sure, select other. If left empty, no traces will be uploaded.";
1706const char kTraceUploadUrlChoiceOther[] = "Other";
1707const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1708const char kTraceUploadUrlChoiceQa[] = "QA";
1709const char kTraceUploadUrlChoiceTesting[] = "Testing";
1710
Philippe Hamel7fdaa452017-09-29 17:22:491711const char kTranslateRankerEnforcementName[] =
1712 "Enforce TranslateRanker decisions";
1713const char kTranslateRankerEnforcementDescription[] =
1714 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1715 "or not Translate UI should be triggered in a given context.";
1716
Mustafa Emre Acerb3aa36a82018-05-22 21:44:051717const char kTreatInsecureOriginAsSecureName[] =
1718 "Insecure origins treated as secure";
1719const char kTreatInsecureOriginAsSecureDescription[] =
1720 "Treat given (insecure) origins as secure origins. Multiple origins can be "
1721 "supplied as a comma-separated list. For the definition of secure "
1722 "contexts, "
1723 "see https://w3c.github.io/webappsec-secure-contexts/";
1724
Brett Wilsonecb80982017-07-12 20:34:511725const char kTrySupportedChannelLayoutsName[] =
1726 "Causes audio output streams to check if channel layouts other than the "
1727 "default hardware layout are available.";
1728const char kTrySupportedChannelLayoutsDescription[] =
1729 "Causes audio output streams to check if channel layouts other than the "
1730 "default hardware layout are available. Turning this on will allow the OS "
1731 "to do stereo to surround expansion if supported. May expose third party "
1732 "driver bugs, use with caution.";
1733
David Roger6762a092018-01-31 15:55:071734const char kUnifiedConsentName[] = "Unified Consent";
1735const char kUnifiedConsentDescription[] =
1736 "Enables a unified management of user consent for privacy-related "
1737 "features. This includes new confirmation screens and improved settings "
1738 "pages.";
1739
Brett Wilsonecb80982017-07-12 20:34:511740const char kUiPartialSwapName[] = "Partial swap";
1741const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1742
Chris Pickel3a227ae62017-08-24 10:47:261743const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1744const char kUseDdljsonApiDescription[] =
1745 "Enables the new ddljson API to fetch Doodles for the NTP.";
1746
Becca Hughes59c05b42017-11-03 13:11:581747const char kUseModernMediaControlsName[] = "New Media Controls";
1748const char kUseModernMediaControlsDescription[] =
1749 "Enables the new style native media controls.";
1750
Wei Li790e7a8572018-03-23 01:31:551751const char kUsePdfCompositorServiceName[] =
1752 "Use PDF compositor service for printing";
1753const char kUsePdfCompositorServiceDescription[] =
1754 "When enabled, use PDF compositor service to composite and generate PDF "
1755 "files for printing. When site isolation is enabled, disabling this will "
1756 "not stop using PDF compositor service since the service is required for "
1757 "printing out-of-process iframes correctly.";
1758
Mustaq Ahmedc646c0a2017-10-20 20:08:301759const char kUserActivationV2Name[] = "User Activation v2";
1760const char kUserActivationV2Description[] =
1761 "Enable simple user activation for APIs that are otherwise controlled by "
1762 "user gesture tokens.";
1763
Brett Wilsonecb80982017-07-12 20:34:511764const char kUserConsentForExtensionScriptsName[] =
1765 "User consent for extension scripts";
1766const char kUserConsentForExtensionScriptsDescription[] =
1767 "Require user consent for an extension running a script on the page, if "
1768 "the extension requested permission to run on all urls.";
1769
1770const char kUseSuggestionsEvenIfFewFeatureName[] =
1771 "Disable minimum for server-side tile suggestions on NTP.";
1772const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1773 "Request server-side suggestions even if there are only very few of them "
1774 "and use them for tiles on the New Tab Page.";
1775
1776const char kV8CacheOptionsName[] = "V8 caching mode.";
1777const char kV8CacheOptionsDescription[] =
1778 "Caching mode for the V8 JavaScript engine.";
Brett Wilsonecb80982017-07-12 20:34:511779const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1780
Hitoshi Yoshida3e5db562017-09-11 02:31:081781const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1782const char kV8ContextSnapshotDescription[] =
1783 "Sets to use a snapshot to create V8 contexts in frame creation.";
1784
Michael Hablich896d52662017-10-23 15:59:571785const char kV8VmFutureName[] = "Future V8 VM features";
1786const char kV8VmFutureDescription[] =
1787 "This enables upcoming and experimental V8 VM features. "
1788 "This flag does not enable experimental JavaScript features.";
1789
Brett Wilsonecb80982017-07-12 20:34:511790const char kVideoFullscreenOrientationLockName[] =
1791 "Lock screen orientation when playing a video fullscreen.";
1792const char kVideoFullscreenOrientationLockDescription[] =
1793 "Lock the screen orientation of the device to match video orientation when "
1794 "a video goes fullscreen. Only on phones.";
1795
1796const char kVideoRotateToFullscreenName[] =
1797 "Rotate-to-fullscreen gesture for videos.";
1798const char kVideoRotateToFullscreenDescription[] =
1799 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1800 "the video. Only on phones.";
1801
Elly Fong-Jonesf4c79502018-03-23 19:21:531802const char kViewsBrowserWindowsName[] =
1803 "Use Views browser windows instead of Cocoa.";
1804const char kViewsBrowserWindowsDescription[] =
1805 "Use Views browser windows instead of Cocoa, aka MacViews-Browser.";
1806
Brett Wilsonecb80982017-07-12 20:34:511807const char kWalletServiceUseSandboxName[] =
1808 "Use Google Payments sandbox servers";
1809const char kWalletServiceUseSandboxDescription[] =
1810 "For developers: use the sandbox service for Google Payments API calls.";
1811
Brett Wilsonecb80982017-07-12 20:34:511812const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1813const char kWebglDraftExtensionsDescription[] =
1814 "Enabling this option allows web applications to access the WebGL "
1815 "Extensions that are still in draft status.";
1816
1817const char kWebMidiName[] = "Web MIDI API";
1818const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1819
1820const char kWebPaymentsName[] = "Web Payments";
1821const char kWebPaymentsDescription[] =
1822 "Enable Web Payments API integration, a JavaScript API for merchants.";
1823
Mathieu Perreault51339b82017-07-20 17:06:051824const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1825const char kWebPaymentsModifiersDescription[] =
1826 "If the website provides modifiers in the payment request, show the custom "
1827 "total for each payment instrument, update the shopping cart when "
1828 "instruments are switched, and send modified payment method specific data "
1829 "to the payment app.";
1830
Brett Wilsonecb80982017-07-12 20:34:511831const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1832const char kWebrtcEchoCanceller3Description[] =
1833 "Experimental WebRTC echo canceller (AEC3).";
1834
1835const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1836const char kWebrtcHwDecodingDescription[] =
1837 "Support in WebRTC for decoding video streams using platform hardware.";
1838
1839const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1840const char kWebrtcHwEncodingDescription[] =
1841 "Support in WebRTC for encoding video streams using platform hardware.";
1842
1843const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1844const char kWebrtcHwH264EncodingDescription[] =
1845 "Support in WebRTC for encoding h264 video streams using platform "
1846 "hardware.";
1847
1848const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1849const char kWebrtcHwVP8EncodingDescription[] =
1850 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1851
Niels Möller090866a2018-02-13 10:55:031852const char kWebrtcNewEncodeCpuLoadEstimatorName[] =
1853 "WebRTC new encode cpu load estimator";
1854const char kWebrtcNewEncodeCpuLoadEstimatorDescription[] =
1855 "Enable new estimator for the encoder cpu load, for evaluation and "
1856 "testing. Intended to improve accuracy when screen casting.";
1857
Brett Wilsonecb80982017-07-12 20:34:511858const char kWebrtcSrtpAesGcmName[] =
1859 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1860const char kWebrtcSrtpAesGcmDescription[] =
1861 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1862
Joachim Bauch4a41d7512017-08-23 14:24:231863const char kWebrtcSrtpEncryptedHeadersName[] =
1864 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1865const char kWebrtcSrtpEncryptedHeadersDescription[] =
1866 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1867 "for SRTP.";
1868
Brett Wilsonecb80982017-07-12 20:34:511869const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1870const char kWebrtcStunOriginDescription[] =
1871 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1872 "header.";
1873
Adam Ricec786ad8a2018-05-22 09:49:151874const char kWebSocketHandshakeReuseConnectionName[] =
1875 "Enable WebSocket connection reuse for authentication";
1876const char kWebSocketHandshakeReuseConnectionDescription[] =
1877 "Permits the WebSocket handshake to keep the connection open after an "
1878 "authentication failure. The connection may be used for further requests "
1879 "to send credentials. This is sometimes needed for Windows authentication.";
1880
Brett Wilsonecb80982017-07-12 20:34:511881const char kWebvrName[] = "WebVR";
1882const char kWebvrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011883 "Enables access to experimental Virtual Reality functionality via the "
1884 "WebVR 1.1 API. This feature will eventually be replaced by the WebXR "
1885 "Device API. Warning: Enabling this will also allow WebVR content on "
1886 "insecure origins to access these powerful APIs, and may pose a security "
Anna Offenwanger06dc6062018-04-12 07:56:221887 "risk. Controllers are exposed as Gamepads.";
Brett Wilsonecb80982017-07-12 20:34:511888
Brandon Jonese9d9b2b2017-12-11 22:20:111889const char kWebXrName[] = "WebXR Device API";
1890const char kWebXrDescription[] =
Anna Offenwanger00e6dd052018-04-05 02:12:011891 "Enables access to experimental APIs to interact with Virtual Reality (VR) "
1892 "and Augmented Reality (AR) devices.";
1893
1894const char kWebXrGamepadSupportName[] = "WebXR Gamepad Support";
1895const char kWebXrGamepadSupportDescription[] =
1896 "Expose VR controllers as Gamepads for use with the WebXR Device API. Each "
Anna Offenwanger06dc6062018-04-12 07:56:221897 "XRInputSource will have a corresponding Gamepad instance. Requires that "
1898 "WebXR Device API is also enabled.";
Ian Vollick7aaccf92018-04-07 23:10:431899
1900const char kWebXrHitTestName[] = "WebXR Hit Test";
1901const char kWebXrHitTestDescription[] =
1902 "Enables access to raycasting against estimated XR scene geometry.";
Brandon Jonese9d9b2b2017-12-11 22:20:111903
Anna Maria57ecf7592018-01-12 03:10:401904const char kWebXrOrientationSensorDeviceName[] =
1905 "WebXR orientation sensor device";
1906const char kWebXrOrientationSensorDeviceDescription[] =
1907 "When no VR platform device is available, expose a non-presenting device "
1908 "based on the device's orientation sensors, if available.";
1909
Brett Wilsonecb80982017-07-12 20:34:511910const char kWifiCredentialSyncName[] = "WiFi credential sync";
1911const char kWifiCredentialSyncDescription[] =
1912 "Enables synchronizing WiFi network settings across devices. When enabled, "
1913 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1914 "credentials are synchronized subject to user preferences. (See also, "
1915 "chrome://settings/syncSetup.)";
1916
1917const char kZeroCopyName[] = "Zero-copy rasterizer";
1918const char kZeroCopyDescription[] =
1919 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341920
Brett Wilsonff596952017-07-14 01:06:551921// Android ---------------------------------------------------------------------
1922
1923#if defined(OS_ANDROID)
1924
1925const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1926const char kAiaFetchingDescription[] =
1927 "Enable intermediate certificate fetching when a server does not provide "
1928 "sufficient certificates to build a chain to a trusted root.";
1929
1930const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1931const char kAccessibilityTabSwitcherDescription[] =
1932 "Enable the accessibility tab switcher for Android.";
1933
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251934const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1935const char kAllowReaderForAccessibilityDescription[] =
1936 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1937
Brett Wilsonff596952017-07-14 01:06:551938const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1939const char kAndroidAutofillAccessibilityDescription[] =
1940 "Enable accessibility for autofill popup.";
1941
1942const char kAndroidPaymentAppsName[] = "Android payment apps";
1943const char kAndroidPaymentAppsDescription[] =
1944 "Enable third party Android apps to integrate as payment apps";
1945
Miriam Gershenson8cf1397222018-01-23 22:48:291946const char kAsyncDnsName[] = "Async DNS resolver";
1947const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1948
Brett Wilsonff596952017-07-14 01:06:551949const char kAutofillAccessoryViewName[] =
1950 "Autofill suggestions as keyboard accessory view";
1951const char kAutofillAccessoryViewDescription[] =
1952 "Shows Autofill suggestions on top of the keyboard rather than in a "
1953 "dropdown.";
1954
1955const char kBackgroundLoaderForDownloadsName[] =
1956 "Enables background downloading of pages.";
1957const char kBackgroundLoaderForDownloadsDescription[] =
1958 "Enables downloading pages in the background in case page is not yet "
1959 "loaded in current tab.";
1960
Matthew Jones6c1f5e22018-02-06 18:19:531961const char kChromeDuplexName[] = "Chrome Duplex";
1962const char kChromeDuplexDescription[] =
1963 "Enables Chrome Duplex, split toolbar Chrome Home, on Android.";
Theresa Wellingtonb9243b22017-12-01 16:23:051964
Brett Wilsonff596952017-07-14 01:06:551965const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1966const char kChromeHomeSwipeLogicDescription[] =
1967 "Various swipe logic options for Chrome Home for sheet expansion.";
1968const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151969const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551970
Matthew Jones5b7f1d62018-01-23 00:37:251971const char kChromeModernDesignName[] = "Chrome Modern Design";
1972const char kChromeModernDesignDescription[] =
Matthew Jones213a0692018-02-05 20:07:451973 "Enable modern design for Chrome. Chrome must be restarted twice for this "
1974 "flag to take effect.";
Matthew Jones5b7f1d62018-01-23 00:37:251975
Megan Jablonskic61eb1b82017-10-02 18:03:061976const char kChromeMemexName[] = "Chrome Memex";
1977const char kChromeMemexDescription[] =
1978 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1979 "Googlers.";
1980
Sarath Singapati83aef1c2017-11-16 15:54:521981const char kClearOldBrowsingDataName[] = "Clear older browsing data";
1982const char kClearOldBrowsingDataDescription[] =
1983 "Enables clearing of browsing data which is older than a given time "
1984 "period.";
1985
Brett Wilsonff596952017-07-14 01:06:551986const char kContentSuggestionsCategoryOrderName[] =
1987 "Default content suggestions category order (e.g. on NTP)";
1988const char kContentSuggestionsCategoryOrderDescription[] =
1989 "Set default order of content suggestion categories (e.g. on the NTP).";
1990
1991const char kContentSuggestionsCategoryRankerName[] =
1992 "Content suggestions category ranker (e.g. on NTP)";
1993const char kContentSuggestionsCategoryRankerDescription[] =
1994 "Set category ranker to order categories of content suggestions (e.g. on "
1995 "the NTP).";
1996
Vitalii Iarkof52ff802017-09-14 12:34:241997const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1998const char kContentSuggestionsDebugLogDescription[] =
1999 "Enable content suggestions debug log accessible through "
2000 "snippets-internals.";
2001
Donn Denman8e58ead2017-11-04 01:44:012002const char kContextualSearchMlTapSuppressionName[] =
2003 "Contextual Search ML tap suppression";
2004const char kContextualSearchMlTapSuppressionDescription[] =
2005 "Enables tap gestures to be suppressed to improve CTR by applying machine "
Donn Denman59729812018-01-09 01:27:022006 "learning. The \"Contextual Search Ranker prediction\" flag must also be "
2007 "enabled!";
Brett Wilsonff596952017-07-14 01:06:552008
2009const char kContextualSearchName[] = "Contextual Search";
2010const char kContextualSearchDescription[] =
2011 "Whether or not Contextual Search is enabled.";
2012
Donn Denman59729812018-01-09 01:27:022013const char kContextualSearchRankerQueryName[] =
2014 "Contextual Search Ranker prediction";
2015const char kContextualSearchRankerQueryDescription[] =
2016 "Enables prediction of tap gestures using Assist-Ranker machine learning.";
2017
2018const char kContextualSearchSecondTapName[] =
2019 "Contextual Search second tap triggering";
2020const char kContextualSearchSecondTapDescription[] =
2021 "Enables triggering on a second tap gesture even when Ranker would "
2022 "normally suppress that tap.";
2023
Dmitry Skiba9c3efa72017-07-20 22:01:142024const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
2025const char kDontPrefetchLibrariesDescription[] =
2026 "Don't prefetch libraries after loading.";
2027
Joy Ming5fd29ca62017-10-02 22:51:222028const char kDownloadsForegroundName[] = "Enable downloads foreground";
2029const char kDownloadsForegroundDescription[] =
2030 "Enable downloads as a foreground service for all versions of Android.";
2031
Joy Ming189b0cc2017-12-08 19:42:432032const char kDownloadsLocationChangeName[] = "Enable downloads location change";
2033const char kDownloadsLocationChangeDescription[] =
2034 "Enable changing default downloads storage location on Android.";
2035
Shakti Sahu32b2ee102018-05-17 00:04:462036const char kDownloadProgressInfoBarName[] = "Enable download progress infobar";
2037const char kDownloadProgressInfoBarDescription[] =
2038 "Enables an infobar notifying users about status of current downloads.";
2039
Brett Wilsonff596952017-07-14 01:06:552040const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2041const char kEnableAndroidPayIntegrationV1Description[] =
2042 "Enable integration with Android Pay using the first version of the API";
2043
2044const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2045const char kEnableAndroidPayIntegrationV2Description[] =
2046 "Enable integration with Android Pay using the second version of the API";
2047
Vitalii Iarkof4ed32d2017-09-26 13:15:532048const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:552049const char kEnableAndroidSpellcheckerDescription[] =
2050 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:552051
Lei Tianbd5a3bf2018-02-28 19:01:162052const char kEnableCommandLineOnNonRootedName[] =
2053 "Enable command line on non-rooted devices";
2054const char kEnableCommandLineOnNoRootedDescription[] =
2055 "Enable reading command line file on non-rooted devices (DANGEROUS).";
2056
Vitalii Iarkof4ed32d2017-09-26 13:15:532057const char kEnableContentSuggestionsNewFaviconServerName[] =
2058 "Get favicons for content suggestions from a new server.";
2059const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2060 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2061 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:552062
2063const char kEnableContentSuggestionsSettingsName[] =
2064 "Show content suggestions settings.";
2065const char kEnableContentSuggestionsSettingsDescription[] =
2066 "If enabled, the content suggestions settings will be available from the "
2067 "main settings menu.";
2068
Vitalii Iarkof4ed32d2017-09-26 13:15:532069const char kEnableContentSuggestionsThumbnailDominantColorName[] =
2070 "Use content suggestions thumbnail dominant color.";
2071const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
2072 "Use content suggestions thumbnail dominant color as a placeholder before "
2073 "the real thumbnail is fetched (requires Chrome Home).";
2074
Brett Wilsonff596952017-07-14 01:06:552075const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2076const char kEnableCustomContextMenuDescription[] =
2077 "Enables a new context menu when a link, image, or video is pressed within "
2078 "Chrome.";
2079
2080const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2081const char kEnableCustomFeedbackUiDescription[] =
2082 "Enables a custom feedback UI when submitting feedback through Google "
2083 "Feedback. Works with Google Play Services v10.2+";
2084
2085const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:472086 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:552087const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:472088 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:552089
Brett Wilsonff596952017-07-14 01:06:552090const char kEnableOmniboxClipboardProviderName[] =
2091 "Omnibox clipboard URL suggestions";
2092const char kEnableOmniboxClipboardProviderDescription[] =
2093 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
2094 "focus in the omnibox.";
2095
2096const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
2097 "Use expanded autofill credit card popup layout.";
2098const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2099 "If enabled, displays autofill credit card popup using expanded layout.";
2100
Becky Zhoua7f11d62018-02-01 16:02:532101const char kEnableNtpArticleSuggestionsExpandableHeaderName[] =
2102 "Show article suggestions expandable header on New Tab Page";
2103const char kEnableNtpArticleSuggestionsExpandableHeaderDescription[] =
2104 "If enabled, the article suggestions content on New Tab Page can be "
2105 "toggled shown or hidden by clicking the expandable header.";
2106
Brett Wilsonff596952017-07-14 01:06:552107const char kEnableNtpAssetDownloadSuggestionsName[] =
2108 "Show asset downloads on the New Tab page";
2109const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2110 "If enabled, the list of content suggestions on the New Tab page will "
2111 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
2112 "later use.";
2113
2114const char kEnableNtpBookmarkSuggestionsName[] =
2115 "Show recently visited bookmarks on the New Tab page";
2116const char kEnableNtpBookmarkSuggestionsDescription[] =
2117 "If enabled, the list of content suggestions on the New Tab page will "
2118 "contain recently visited bookmarks.";
2119
2120const char kEnableNtpForeignSessionsSuggestionsName[] =
2121 "Show recent foreign tabs on the New Tab page";
2122const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2123 "If enabled, the list of content suggestions on the New Tab page will "
2124 "contain recent foreign tabs.";
2125
Brett Wilsonff596952017-07-14 01:06:552126const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2127 "Show offline page downloads on the New Tab page";
2128const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2129 "If enabled, the list of content suggestions on the New Tab page will "
2130 "contain pages that the user downloaded for later use.";
2131
2132const char kEnableNtpRemoteSuggestionsName[] =
2133 "Show server-side suggestions on the New Tab page";
2134const char kEnableNtpRemoteSuggestionsDescription[] =
2135 "If enabled, the list of content suggestions on the New Tab page will "
2136 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
2137 "allows to override the source used to retrieve these server-side "
2138 "suggestions.";
2139
2140const char kEnableNtpSnippetsVisibilityName[] =
2141 "Make New Tab Page Snippets more visible.";
2142const char kEnableNtpSnippetsVisibilityDescription[] =
2143 "If enabled, the NTP snippets will become more discoverable with a larger "
2144 "portion of the first card above the fold.";
2145
2146const char kEnableNtpSuggestionsNotificationsName[] =
2147 "Notify about new content suggestions available at the New Tab page";
2148const char kEnableNtpSuggestionsNotificationsDescription[] =
2149 "If enabled, notifications will inform about new content suggestions on "
2150 "the New Tab page.";
2151
Brett Wilsonff596952017-07-14 01:06:552152const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
2153const char kEnableOfflinePreviewsDescription[] =
2154 "Enable showing offline page previews on slow networks.";
2155
2156const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
2157const char kEnableOskOverscrollDescription[] =
2158 "Enable OSK overscroll support. With this flag on, the OSK will only "
2159 "resize the visual viewport.";
2160
2161const char kEnableSpecialLocaleName[] =
2162 "Enable custom logic for special locales.";
2163const char kEnableSpecialLocaleDescription[] =
2164 "Enable custom logic for special locales. In this mode, Chrome might "
2165 "behave differently in some locales.";
2166
Brett Wilsonff596952017-07-14 01:06:552167const char kEnableWebNfcName[] = "WebNFC";
2168const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
2169
gogeraldf3cbb422017-07-26 14:37:122170const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
2171 "Enable Web Payments method section order V2.";
2172const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
2173 "Enable this option to display payment method section above address "
2174 "section instead of below it.";
2175
Raymes Khoury582b43132017-12-12 23:54:302176const char kGrantNotificationsToDSEName[] =
2177 "Grant notifications to the Default Search Engine";
2178const char kGrantNotificationsToDSENameDescription[] =
2179 "Automatically grant the notifications permission to the Default Search "
2180 "Engine";
2181
Daniel Parke74fcf862018-03-27 18:05:452182const char kHomePageButtonName[] = "Force Enable Home Page Button";
Daniel Park990d0992018-05-18 22:12:512183const char kHomePageButtonDescription[] = "Displays a home button if enabled.";
Daniel Parke74fcf862018-03-27 18:05:452184
Theresa920e0ed2018-03-07 18:12:442185const char kInterestFeedContentSuggestionsDescription[] =
2186 "Use the interest feed to render content suggestions. Currently content "
2187 "suggestions are shown on the New Tab Page.";
2188const char kInterestFeedContentSuggestionsName[] =
2189 "Interest Feed Content Suggestions";
2190
Brett Wilsonff596952017-07-14 01:06:552191const char kKeepPrefetchedContentSuggestionsName[] =
2192 "Keep prefetched content suggestions";
2193const char kKeepPrefetchedContentSuggestionsDescription[] =
2194 "If enabled, some of prefetched content suggestions are not replaced by "
2195 "the new fetched suggestions.";
2196
Leo Zhang051b75482017-12-20 03:28:302197const char kLanguagesPreferenceName[] = "Language Settings";
2198const char kLanguagesPreferenceDescription[] =
2199 "Enable this option for Language Settings feature on Android.";
2200
Brett Wilsonff596952017-07-14 01:06:552201const char kLsdPermissionPromptName[] =
2202 "Location Settings Dialog Permission Prompt";
2203const char kLsdPermissionPromptDescription[] =
2204 "Whether to use the Google Play Services Location Settings Dialog "
2205 "permission dialog.";
2206
Amirhossein Simjour97b4154f2018-02-20 03:49:592207const char kModalPermissionDialogViewName[] = "Modal Permission Dialog";
2208const char kModalPermissionDialogViewDescription[] =
2209 "Enable this option to use ModalDialogManager for permission Dialogs.";
2210
Brett Wilsonff596952017-07-14 01:06:552211const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
2212const char kMediaScreenCaptureDescription[] =
2213 "Enable this option for experimental ScreenCapture feature on Android.";
2214
2215const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2216const char kModalPermissionPromptsDescription[] =
2217 "Whether to use permission dialogs in place of permission infobars.";
2218
Brett Wilsonff596952017-07-14 01:06:552219const char kNewPhotoPickerName[] = "Enable new Photopicker";
2220const char kNewPhotoPickerDescription[] =
2221 "Activates the new picker for selecting photos.";
2222
2223const char kNoCreditCardAbort[] = "No Credit Card Abort";
2224const char kNoCreditCardAbortDescription[] =
2225 "Whether or not the No Credit Card Abort is enabled.";
2226
Daniel Park990d0992018-05-18 22:12:512227const char kNtpButtonName[] = "Enable NTP Button";
2228const char kNtpButtonDescription[] =
2229 "Displays a New Tab Page button in the toolbar if enabled.";
2230
Michael van Ouwerkerkcdbbe332017-11-24 15:07:062231const char kNtpModernLayoutName[] = "Modern NTP layout";
2232const char kNtpModernLayoutDescription[] =
2233 "Show a modern layout on the New Tab Page.";
2234
Brett Wilsonff596952017-07-14 01:06:552235const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2236const char kNtpGoogleGInOmniboxDescription[] =
2237 "Show a Google G in the omnibox on the New Tab Page.";
2238
Brett Wilsonff596952017-07-14 01:06:552239const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2240const char kOfflineBookmarksDescription[] =
2241 "Enable saving bookmarked pages for offline viewing.";
2242
Brett Wilsonff596952017-07-14 01:06:552243const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2244const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2245
2246const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
2247const char kOfflinePagesCtV2Description[] =
2248 "V2 features include attributing pages to the app that initiated the "
2249 "custom tabs, and being able to query for pages by page attribution.";
2250
Cathy Li7311d792018-04-05 00:34:162251const char kOfflinePagesCTSuppressNotificationsName[] =
2252 "Disable download complete notification for whitelisted CCT apps.";
2253const char kOfflinePagesCTSuppressNotificationsDescription[] =
2254 "Disable download complete notification for page downloads originating "
2255 "from a CCT app whitelisted to show their own download complete "
2256 "notification.";
2257
Candice Sy74fa7a352018-03-30 23:46:492258const char kOfflinePagesDescriptiveFailStatusName[] =
2259 "Enables descriptive failed download status text.";
2260const char kOfflinePagesDescriptiveFailStatusDescription[] =
2261 "Enables failed download status text in notifications and Downloads Home "
2262 "to state the reason the request failed if the failure is actionable.";
2263
2264const char kOfflinePagesDescriptivePendingStatusName[] =
2265 "Enables descriptive pending download status text.";
2266const char kOfflinePagesDescriptivePendingStatusDescription[] =
2267 "Enables pending download status text in notifications and Downloads Home "
2268 "to state the reason the request is pending.";
2269
2270const char kOfflinePagesInDownloadHomeOpenInCctName[] =
2271 "Enables offline pages in the downloads home to be opened in CCT.";
2272const char kOfflinePagesInDownloadHomeOpenInCctDescription[] =
2273 "When enabled offline pages launched from the Downloads Home will be "
2274 "opened in Chrome Custom Tabs (CCT) instead of regular tabs.";
2275
Carlos Knippschild09272ecd2017-12-09 03:29:362276const char kOfflinePagesLimitlessPrefetchingName[] =
2277 "Removes resource usage limits for the prefetching of offline pages.";
2278const char kOfflinePagesLimitlessPrefetchingDescription[] =
2279 "Allows the prefetching of suggested offline pages to ignore resource "
2280 "usage limits. This allows it to completely ignore data usage limitations "
2281 "and allows downloads to happen with any kind of connection.";
2282
Brett Wilsonff596952017-07-14 01:06:552283const char kOfflinePagesLoadSignalCollectingName[] =
2284 "Enables collecting load timing data for offline page snapshots.";
2285const char kOfflinePagesLoadSignalCollectingDescription[] =
2286 "Enables loading completeness data collection while writing an offline "
2287 "page. This data is collected in the snapshotted offline page to allow "
2288 "data analysis to improve deciding when to make the offline snapshot.";
2289
2290const char kOfflinePagesPrefetchingName[] =
2291 "Enables suggested offline pages to be prefetched.";
2292const char kOfflinePagesPrefetchingDescription[] =
2293 "Enables suggested offline pages to be prefetched, so useful content is "
2294 "available while offline.";
2295
Cathy Li3d5379e2017-09-07 00:11:092296const char kOfflinePagesPrefetchingUIName[] =
2297 "Enables prefetched offline pages to be shown in UI.";
2298const char kOfflinePagesPrefetchingUIDescription[] =
2299 "Enables prefetched offline pages to raise notifications and be shown in "
2300 "download home UI.";
2301
Pete Williamson7845dff2017-09-20 11:06:192302const char kOfflinePagesResourceBasedSnapshotName[] =
2303 "Enables offline page snapshots to be based on percentage of page loaded.";
2304const char kOfflinePagesResourceBasedSnapshotDescription[] =
2305 "Enables offline page snapshots to use a resource percentage based "
2306 "approach for determining when the page is loaded as opposed to a time "
2307 "based approach";
2308
Collin Baker17f92a52017-07-19 21:41:252309const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2310const char kOfflinePagesRenovationsDescription[] =
2311 "Enables offline page renovations which correct issues with dynamic "
2312 "content that occur when offlining pages that use JavaScript.";
2313
Brett Wilsonff596952017-07-14 01:06:552314const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2315const char kOfflinePagesSharingDescription[] =
2316 "Enables the saved offline pages to be shared via other applications.";
2317
Cathy Lie0d88762018-04-12 08:03:012318const char kOfflinePagesShowAlternateDinoPageName[] =
2319 "Enable alternate dino page with more user capabilities.";
2320const char kOfflinePagesShowAlternateDinoPageDescription[] =
2321 "Enables the dino page to show more buttons and offer existing offline "
2322 "content.";
2323
Brett Wilsonff596952017-07-14 01:06:552324const char kOfflinePagesSvelteConcurrentLoadingName[] =
2325 "Enables concurrent background loading on svelte.";
2326const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2327 "Enables concurrent background loading (or downloading) of pages on "
2328 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2329 "happen when the svelte device is idle.";
2330
2331const char kOffliningRecentPagesName[] =
2332 "Enable offlining of recently visited pages";
2333const char kOffliningRecentPagesDescription[] =
2334 "Enable storing recently visited pages locally for offline use. Requires "
2335 "Offline Pages to be enabled.";
2336
Lei Zhang2eca9082017-10-17 20:42:502337const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2338const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552339 "Enable Pay with Google integration into Web Payments with API version "
2340 "'1'.";
2341
Matthew Jonesa88b95852017-11-08 23:13:502342const char kProgressBarThrottleName[] = "Android progress update throttling.";
2343const char kProgressBarThrottleDescription[] =
2344 "Limit the maximum progress update to make progress appear smoother.";
2345
Brett Wilsonff596952017-07-14 01:06:552346const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2347const char kPullToRefreshEffectDescription[] =
2348 "Page reloads triggered by vertically overscrolling content.";
2349
Piotr Swigon7c296ef2017-08-29 04:32:002350const char kPwaImprovedSplashScreenName[] =
2351 "Improved Splash Screen for standalone PWAs";
2352const char kPwaImprovedSplashScreenDescription[] =
2353 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2354 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492355const char kPwaPersistentNotificationName[] =
2356 "Persistent notification in standalone PWA";
2357const char kPwaPersistentNotificationDescription[] =
2358 "Enables a persistent Android notification for standalone PWAs";
2359
Brett Wilsonff596952017-07-14 01:06:552360const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2361const char kReaderModeHeuristicsDescription[] =
2362 "Determines what pages the Reader Mode infobar is shown on.";
2363const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2364const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2365const char kReaderModeHeuristicsAllArticles[] = "All articles";
2366const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2367const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2368
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182369const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2370const char kReaderModeInCCTDescription[] =
2371 "Open Reader Mode in Chrome Custom Tabs.";
2372
Brett Wilsonff596952017-07-14 01:06:552373const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2374const char kSetMarketUrlForTestingDescription[] =
2375 "When enabled, sets the market URL for use in testing the update menu "
2376 "item.";
2377
2378const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2379const char kSpannableInlineAutocompleteDescription[] =
2380 "A new type of inline autocomplete for the omnibox that works with "
2381 "keyboards that compose text.";
2382
Theresaeea05a12018-05-09 21:01:592383const char kSimplifiedNtpName[] = "Simplified NTP";
2384const char kSimplifiedNtpDescription[] = "Show a simplified New Tab Page.";
2385
2386const char kSiteExplorationUiName[] = "Site Exploration UI";
2387const char kSiteExplorationUiDescription[] =
2388 "Show site suggestions in the Exploration UI";
2389
Brett Wilsonff596952017-07-14 01:06:552390const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2391const char kUpdateMenuBadgeDescription[] =
2392 "When enabled, an update badge will be shown on the app menu button.";
2393
2394const char kUpdateMenuItemCustomSummaryDescription[] =
2395 "When this flag and the force show update menu item flag are enabled, a "
2396 "custom summary string will be displayed below the update menu item.";
2397const char kUpdateMenuItemCustomSummaryName[] =
2398 "Update menu item custom summary";
2399
2400const char kUpdateMenuItemName[] = "Force show update menu item";
2401const char kUpdateMenuItemDescription[] =
2402 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2403 R"*(menu.)*";
2404
Amirhossein Simjourd78bbcf2018-02-02 16:23:392405const char kVrBrowsingNativeAndroidUiName[] = "VR browsing native android ui";
2406const char kVrBrowsingNativeAndroidUiDescription[] =
2407 "Enable Android UI elements in VR.";
2408
Tibor Goldschwendt4cdea8d2018-05-10 15:46:462409const char kVrBrowsingTabsViewName[] = "VR browsing tabs view";
2410const char kVrBrowsingTabsViewDescription[] =
2411 "Enable tab overview (tab switcher) in VR.";
2412
Marc Treib93af46a2017-08-23 13:30:002413const char kThirdPartyDoodlesName[] =
2414 "Enable Doodles for third-party search engines";
2415const char kThirdPartyDoodlesDescription[] =
2416 "Enables fetching and displaying Doodles on the NTP for third-party search "
2417 "engines.";
2418
Klaus Weidneraaf697f2018-01-18 20:07:362419const char kWebXrRenderPathName[] = "WebXR presentation render path";
2420const char kWebXrRenderPathDescription[] =
2421 "Render path to use for WebXR presentation (including WebVR)";
2422const char kWebXrRenderPathChoiceClientWaitDescription[] =
2423 "ClientWait (Baseline)";
2424const char kWebXrRenderPathChoiceGpuFenceDescription[] =
2425 "GpuFence (Android N+)";
Klaus Weidnerd25dff42018-04-12 06:56:072426const char kWebXrRenderPathChoiceSharedBufferDescription[] =
2427 "SharedBuffer (Android O+)";
Klaus Weidneraaf697f2018-01-18 20:07:362428
Brett Wilson7b44537e2017-08-18 01:38:282429// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552430
Brett Wilson7b44537e2017-08-18 01:38:282431#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482432
Brett Wilson7b44537e2017-08-18 01:38:282433const char kAccountConsistencyName[] =
2434 "Identity consistency between browser and cookie jar";
2435const char kAccountConsistencyDescription[] =
2436 "When enabled, the browser manages signing in and out of Google accounts.";
2437const char kAccountConsistencyChoiceMirror[] = "Mirror";
2438const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342439
Chris Pickel3a227ae62017-08-24 10:47:262440const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2441const char kDoodlesOnLocalNtpDescription[] =
2442 "Show doodles on the local New Tab page if Google is the default search "
2443 "engine.";
2444
mlamouriff56c092017-05-11 15:31:392445const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392446const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342447 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392448const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392449const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392450const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342451 "Enabled (Flash lowers volume when interrupted by other sound, "
2452 "experimental)";
2453
Brett Wilson7b44537e2017-08-18 01:38:282454const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2455const char kEnableNewAppMenuIconDescription[] =
2456 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342457
Dave Schuyler598a4a42018-01-04 02:15:102458const char kOmniboxRichEntitySuggestionsName[] =
2459 "Omnibox rich entity suggestions";
2460const char kOmniboxRichEntitySuggestionsDescription[] =
2461 "Display entity suggestions using images and an enhanced layout; showing "
2462 "more context and descriptive text about the entity";
2463
Dave Schuyler616273d2018-04-19 03:12:522464const char kOmniboxNewAnswerLayoutName[] = "Omnibox new answer layout";
2465const char kOmniboxNewAnswerLayoutDescription[] =
2466 "Display answers using an enhanced layout with larger images";
2467
Kevin Bailey898669972017-11-06 15:34:492468const char kOmniboxTabSwitchSuggestionsName[] =
2469 "Omnibox tab switch suggestions";
2470const char kOmniboxTabSwitchSuggestionsDescription[] =
2471 "Enable suggestions for switching to open tabs within the Omnibox.";
2472
krbcc621412017-06-01 19:40:282473const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2474const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192475 "Enable receiving tail suggestions, a type of search suggestion based on "
2476 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342477
Brett Wilson7b44537e2017-08-18 01:38:282478const char kOneGoogleBarOnLocalNtpName[] =
2479 "Enable the OneGoogleBar on the local NTP";
2480const char kOneGoogleBarOnLocalNtpDescription[] =
2481 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2482 "search engine.";
2483
Brett Wilson7b44537e2017-08-18 01:38:282484const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2485const char kUseGoogleLocalNtpDescription[] =
2486 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322487
Brett Wilson7b44537e2017-08-18 01:38:282488const char kVoiceSearchOnLocalNtpName[] =
2489 "Enable Voice Search on the local NTP";
2490const char kVoiceSearchOnLocalNtpDescription[] =
2491 "Show a microphone for voice search on the local New Tab page "
2492 "if Google is the default search engine.";
2493
Balazs Engedy00c5cea2018-03-30 15:36:392494const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
Kim Paulhamus33f87b12018-01-18 22:00:422495const char kEnableWebAuthenticationAPIDescription[] =
Balazs Engedy00c5cea2018-03-30 15:36:392496 "Enable Web Authentication API support";
2497
2498const char kEnableWebAuthenticationTestingAPIName[] =
2499 "Web Authentication Testing API";
2500const char kEnableWebAuthenticationTestingAPIDescription[] =
2501 "Enable Web Authentication Testing API support, which disconnects the API "
2502 "implementation from the real world, and allows configuring virtual "
2503 "authenticator devices for testing";
Kim Paulhamus33f87b12018-01-18 22:00:422504
Brett Wilson7b44537e2017-08-18 01:38:282505#if defined(GOOGLE_CHROME_BUILD)
2506
2507const char kGoogleBrandedContextMenuName[] =
2508 "Google branding in the context menu";
2509const char kGoogleBrandedContextMenuDescription[] =
2510 "Shows a Google icon next to context menu items powered by Google "
2511 "services.";
2512
2513#endif // !defined(GOOGLE_CHROME_BUILD)
2514
2515#endif // !defined(OS_ANDROID)
2516
2517// Windows ---------------------------------------------------------------------
2518
2519#if defined(OS_WIN)
2520
2521const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2522const char kCloudPrintXpsDescription[] =
2523 "XPS enables advanced options for classic printers connected to the Cloud "
2524 "Print with Chrome. Printers must be re-connected after changing this "
2525 "flag.";
2526
Dave Tapuskadd43469d2017-08-22 22:15:532527const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2528const char kDirectManipulationStylusDescription[] =
2529 "If enabled, Chrome will scroll web pages on stylus drag.";
2530
Brett Wilson7b44537e2017-08-18 01:38:282531const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2532const char kDisablePostscriptPrintingDescription[] =
2533 "Disables PostScript generation when printing to PostScript capable "
2534 "printers, and uses EMF generation in its place.";
2535
2536const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2537const char kEnableAppcontainerDescription[] =
2538 "Enables the use of an AppContainer on sandboxed processes to improve "
2539 "security.";
2540
2541const char kEnableD3DVsync[] = "D3D v-sync";
2542const char kEnableD3DVsyncDescription[] =
2543 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2544 "to occur.";
2545
2546const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2547const char kEnableDesktopIosPromotionsDescription[] =
2548 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2549 "eligible.";
2550
James Forshawfd0ce342018-02-14 09:55:392551const char kEnableGpuAppcontainerName[] = "Enable GPU AppContainer Lockdown.";
2552const char kEnableGpuAppcontainerDescription[] =
2553 "Enables the use of an AppContainer for the GPU sandboxed processes to "
2554 "improve security.";
2555
Brett Wilson7b44537e2017-08-18 01:38:282556const char kGdiTextPrinting[] = "GDI Text Printing";
2557const char kGdiTextPrintingDescription[] =
2558 "Use GDI to print text as simply text";
2559
Henrik Grunell67e56ef2018-04-10 14:04:092560const char kIncreaseInputAudioBufferSize[] = "Increase input audio buffer size";
2561const char kIncreaseInputAudioBufferSizeDescription[] =
2562 "Increases the input audio endpoint buffer to 100 ms.";
2563
Brett Wilson7b44537e2017-08-18 01:38:282564const char kTraceExportEventsToEtwName[] =
2565 "Enable exporting of tracing events to ETW.";
2566const char kTraceExportEventsToEtwDesription[] =
2567 "If enabled, trace events will be exported to the Event Tracing for "
2568 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2569 "Xperf.";
2570
2571const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2572const char kUseWinrtMidiApiDescription[] =
2573 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2574 "later).";
2575
2576const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2577const char kWindows10CustomTitlebarDescription[] =
2578 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2579 "deferring to Windows.";
2580
2581#endif // defined(OS_WIN)
2582
2583// Mac -------------------------------------------------------------------------
2584
2585#if defined(OS_MACOSX)
2586
Brett Wilson7b44537e2017-08-18 01:38:282587const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2588const char kAppWindowCyclingDescription[] =
2589 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2590 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2591 "browser window, and browser windows will not be cycled when a Chrome App "
2592 "is active.";
2593
Brett Wilson7b44537e2017-08-18 01:38:282594const char kFullscreenToolbarRevealName[] =
2595 "Enables the toolbar in fullscreen to reveal itself.";
2596const char kFullscreenToolbarRevealDescription[] =
2597 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2598 "has changed.";
2599
2600const char kContentFullscreenName[] = "Improved Content Fullscreen";
2601const char kContentFullscreenDescription[] =
2602 "Fullscreen content window detaches from main browser window and goes to "
2603 "a new space without moving or changing the original browser window.";
2604
Lei Zhang2eca9082017-10-17 20:42:502605const char kDialogTouchBarName[] = "Dialog Touch Bar";
2606const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282607 "Shows Dialog buttons on the Touch Bar.";
2608
2609const char kHostedAppsInWindowsName[] =
2610 "Allow hosted apps to be opened in windows";
2611const char kHostedAppsInWindowsDescription[] =
2612 "Allows hosted apps to be opened in windows instead of being limited to "
2613 "tabs.";
2614
Lei Zhang2eca9082017-10-17 20:42:502615const char kMacRTLName[] = "Enable RTL";
2616const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282617
Lei Zhang2eca9082017-10-17 20:42:502618const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2619const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522620 "Enables sharing via macOS share extensions.";
2621
Lei Zhang2eca9082017-10-17 20:42:502622const char kMacTouchBarName[] = "Hardware Touch Bar";
2623const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282624
2625const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2626const char kMacV2SandboxDescription[] =
2627 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2628 "entire life cycle.";
2629
2630const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2631const char kMacViewsNativeAppWindowsDescription[] =
2632 "Controls whether to use Toolkit-Views based Chrome App windows.";
2633
2634const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2635const char kMacViewsTaskManagerDescription[] =
2636 "Controls whether to use the Toolkit-Views based Task Manager.";
2637
2638const char kTabDetachingInFullscreenName[] =
2639 "Allow tab detaching in fullscreen";
2640const char kTabDetachingInFullscreenDescription[] =
2641 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2642
2643const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2644const char kTabStripKeyboardFocusDescription[] =
2645 "Enable keyboard focus for the tabs in the tab strip.";
2646
Brett Wilson7b44537e2017-08-18 01:38:282647#endif
2648
2649// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342650
2651#if defined(OS_CHROMEOS)
2652
Brett Wilson7b44537e2017-08-18 01:38:282653const char kAcceleratedMjpegDecodeName[] =
2654 "Hardware-accelerated mjpeg decode for captured frame";
2655const char kAcceleratedMjpegDecodeDescription[] =
2656 "Enable hardware-accelerated mjpeg decode for captured frame where "
2657 "available.";
vabr0215a8e2017-03-28 12:47:342658
Brett Wilson7b44537e2017-08-18 01:38:282659const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2660const char kAllowTouchpadThreeFingerClickDescription[] =
2661 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342662
Brett Wilson7b44537e2017-08-18 01:38:282663const char kArcBootCompleted[] = "Load Android apps automatically";
2664const char kArcBootCompletedDescription[] =
2665 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342666
Lev Rumyantsev7a8544312017-08-18 19:26:512667const char kArcNativeBridgeExperimentName[] =
2668 "Enable native bridge experiment for ARC";
2669const char kArcNativeBridgeExperimentDescription[] =
2670 "Enables experimental native bridge feature.";
2671
lgchengecd1c1a62018-01-09 02:59:462672const char kArcUsbHostName[] = "Enable ARC USB host integration";
2673const char kArcUsbHostDescription[] =
2674 "Allow Android apps to use USB host feature on ChromeOS devices.";
2675
Kevin Cernekeeb7f96a52017-10-25 17:40:182676const char kArcVpnName[] = "Enable ARC VPN integration";
2677const char kArcVpnDescription[] =
2678 "Allow Android VPN clients to tunnel Chrome traffic.";
2679
Qiang Xu045aff222018-05-21 23:21:012680const char kAshDisableLoginDimAndBlurName[] =
2681 "Disable dimming and blur on login screen.";
2682const char kAshDisableLoginDimAndBlurDescription[] =
2683 "Disable dimming and blur on login screen.";
2684
2685const char kAshDisableSmoothScreenRotationName[] =
2686 "Disable smooth rotation animations.";
2687const char kAshDisableSmoothScreenRotationDescription[] =
2688 "Disable smooth rotation animations.";
2689
2690const char kAshEnableDisplayMoveWindowAccelsName[] =
2691 "Enable shortcuts for moving window between displays.";
2692const char kAshEnableDisplayMoveWindowAccelsDescription[] =
2693 "Enable shortcuts for moving window between displays.";
2694
2695const char kAshEnableKeyboardShortcutViewerName[] =
2696 "Enable keyboard shortcut viewer.";
2697const char kAshEnableKeyboardShortcutViewerDescription[] =
2698 "Enable keyboard shortcut viewer.";
2699
2700const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2701const char kAshEnableMirroredScreenDescription[] =
2702 "Enable the mirrored screen mode. This mode flips the screen image "
2703 "horizontally.";
2704
2705const char kAshEnableNewOverviewAnimationsName[] =
2706 "Enable new overview animations.";
2707const char kAshEnableNewOverviewAnimationsDescription[] =
2708 "Enables the new overview mode animations.";
2709
2710const char kAshEnablePersistentWindowBoundsName[] =
2711 "Enable persistent window bounds in multi-displays scenario.";
2712const char kAshEnablePersistentWindowBoundsDescription[] =
2713 "Enable persistent window bounds in multi-displays scenario.";
2714
2715const char kAshEnableTrilinearFilteringName[] = "Enable trilinear filtering.";
2716const char kAshEnableTrilinearFilteringDescription[] =
2717 "Enable trilinear filtering.";
2718
Brett Wilson7b44537e2017-08-18 01:38:282719const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2720const char kAshEnableUnifiedDesktopDescription[] =
2721 "Enable unified desktop mode which allows a window to span multiple "
2722 "displays.";
vabr0215a8e2017-03-28 12:47:342723
Qiang Xu045aff222018-05-21 23:21:012724const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2725const char kAshShelfColorDescription[] =
2726 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2727 "--ash-shelf-color-scheme flag defines how that color is derived.";
2728
2729const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2730const char kAshShelfColorSchemeDescription[] =
2731 "Specify how the color is derived from the wallpaper. This flag is only "
2732 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2733const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2734const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2735const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2736const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2737const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2738const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2739
Sean Kau5e956192017-10-06 22:25:172740const char kBulkPrintersName[] = "Bulk Printers Policy";
2741const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2742
Brett Wilson7b44537e2017-08-18 01:38:282743const char kCaptivePortalBypassProxyName[] =
2744 "Bypass proxy for Captive Portal Authorization";
2745const char kCaptivePortalBypassProxyDescription[] =
2746 "If proxy is configured, it usually prevents from authorization on "
2747 "different captive portals. This enables opening captive portal "
2748 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342749
Brett Wilson7b44537e2017-08-18 01:38:282750const char kCrOSComponentName[] = "Chrome OS Component";
2751const char kCrOSComponentDescription[] =
Xiaochu Liu4c1b75d2017-12-18 23:52:082752 "Disable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342753
Xiaochu Liu51d03fd2017-09-08 23:51:022754const char kCrOSContainerName[] = "Chrome OS Container";
2755const char kCrOSContainerDescription[] =
2756 "Enable the use of Chrome OS Container utility.";
2757
Brett Wilson7b44537e2017-08-18 01:38:282758const char kCrosRegionsModeName[] = "Cros-regions load mode";
2759const char kCrosRegionsModeDescription[] =
2760 "This flag controls cros-regions load mode";
2761const char kCrosRegionsModeDefault[] = "Default";
2762const char kCrosRegionsModeOverride[] = "Override VPD values.";
2763const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342764
Joel Hockey0ab36feb02018-05-03 00:09:322765const char kCrostiniFilesName[] = "Crostini Files";
2766const char kCrostiniFilesDescription[] = "Enable Crostini Files in Files app.";
2767
Jacob Dufault2becbc482017-08-25 00:36:352768const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2769const char kDisableLockScreenAppsDescription[] =
2770 "Disable new-note action handler apps on the lock screen. The user will "
2771 "not be able to launch the preferred note-taking action from the lock "
2772 "screen, provided that the app supports lock screen note taking.";
2773
Qiang Xu045aff222018-05-21 23:21:012774const char kDisableNetworkSettingsConfigName[] =
2775 "Disable Settings based Network Configuration";
2776const char kDisableNetworkSettingsConfigDescription[] =
2777 "Disables the Settings based network configuration UI and restores the "
2778 "Views based configuration dialog.";
2779
2780const char kDisableSystemTimezoneAutomaticDetectionName[] =
2781 "SystemTimezoneAutomaticDetection policy support";
2782const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2783 "Disable system timezone automatic detection device policy.";
2784
Sammie Quonef6b4882017-09-14 16:50:052785const char kDisableTabletAutohideTitlebarsName[] =
2786 "Disable autohide titlebars in tablet mode";
2787const char kDisableTabletAutohideTitlebarsDescription[] =
2788 "Disable tablet mode autohide titlebars functionality. The user will be "
2789 "able to see the titlebar in tablet mode.";
2790
Xiaoqian Dai24b33eb2018-04-10 21:01:572791const char kDisableTabletSplitViewName[] = "Disable split view in Tablet mode";
2792const char kDisableTabletSplitViewDescription[] =
2793 "Disable split view for Chrome OS tablet mode.";
2794
Lei Zhang2eca9082017-10-17 20:42:502795const char kEnableBackgroundBlurName[] = "Enable background blur.";
2796const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422797 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392798
Brett Wilson7b44537e2017-08-18 01:38:282799const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2800const char kEnableChromevoxArcSupportDescription[] =
2801 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342802
F#m75862c92018-01-25 19:10:472803const char kEnableDisplayZoomSettingName[] = "Enable display zoom settings";
2804const char kEnableDisplayZoomSettingDescription[] =
2805 "Allows the user to modify the display size or zoom via the chrome display "
2806 "settings page.";
2807
Brett Wilson7b44537e2017-08-18 01:38:282808const char kEnableEhvInputName[] =
2809 "Emoji, handwriting and voice input on opt-in IME menu";
2810const char kEnableEhvInputDescription[] =
2811 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342812
Brett Wilson7b44537e2017-08-18 01:38:282813const char kEnableEncryptionMigrationName[] =
2814 "Enable encryption migration of user data";
2815const char kEnableEncryptionMigrationDescription[] =
2816 "If enabled and the device supports ARC, the user will be asked to update "
2817 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342818
Blake O'Hare9e9317b22017-10-24 02:49:352819const char kEnableFloatingVirtualKeyboardName[] =
2820 "Enable floating virtual keyboard";
2821const char kEnableFloatingVirtualKeyboardDescription[] =
2822 "If enabled, the keyboard will use floating behavior by default.";
2823
Qiang Xu045aff222018-05-21 23:21:012824const char kEnableFullscreenHandwritingVirtualKeyboardName[] =
2825 "Enable full screen handwriting virtual keyboard";
2826const char kEnableFullscreenHandwritingVirtualKeyboardDescription[] =
2827 "If enabled, the handwriting virtual keyboard will allow user to write "
2828 "anywhere on the screen";
2829
2830const char kEnableHomeLauncherName[] = "Enable home launcher";
2831const char kEnableHomeLauncherDescription[] =
2832 "Enable home launcher in tablet mode.";
2833
Brett Wilson7b44537e2017-08-18 01:38:282834const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2835const char kEnableImeMenuDescription[] =
2836 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342837
Qiang Xu045aff222018-05-21 23:21:012838const char kEnableNewWallpaperPickerName[] = "Enable new wallpaper picker";
2839const char kEnableNewWallpaperPickerDescription[] =
2840 "Enable the redesigned wallpaper picker with new wallpaper collections.";
2841
2842const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2843const char kEnablePerUserTimezoneDescription[] =
2844 "Chrome OS system timezone preference is stored and handled for each user "
2845 "individually.";
2846
2847const char kEnableSettingsShortcutSearchName[] =
2848 "Enable Settings shortcut search";
2849const char kEnableSettingsShortcutSearchDescription[] =
2850 "Enable Settings shortcut search in launcher.";
2851
Darren Shen3e49c63d2018-03-28 04:45:502852const char kEnableStylusVirtualKeyboardName[] =
2853 "Enable stylus virtual keyboard";
2854const char kEnableStylusVirtualKeyboardDescription[] =
2855 "If enabled, tapping with a stylus will show the handwriting virtual "
2856 "keyboard.";
2857
Jordy Greenblatt2f23df22018-02-22 19:49:192858const char kEnableUnifiedMultiDeviceSettingsName[] =
2859 "Enable unified MultiDevice settings";
2860const char kEnableUnifiedMultiDeviceSettingsDescription[] =
2861 "If enabled, the Chrome OS Settings UI will include a menu for the unified "
2862 "MultiDevice settings.";
2863
2864const char kEnableUnifiedMultiDeviceSetupName[] =
2865 "Enable unified MultiDevice setup";
2866const char kEnableUnifiedMultiDeviceSetupDescription[] =
2867 "Enable the device to setup all MultiDevice services in a single workflow.";
2868
Klemen Kozjek05fc4512017-10-18 12:51:102869const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2870const char kEnableZipArchiverPackerDescription[] =
2871 "Enable the ability to archive files on Drive in the Files app";
2872
Tatsuhisa Yamaguchi5c07d2532017-11-10 03:52:412873const char kZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2874const char kZipArchiverUnpackerDescription[] =
2875 "Enable or disable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282876
2877const char kEolNotificationName[] = "Disable Device End of Life notification.";
2878const char kEolNotificationDescription[] =
2879 "Disable Notifcation when Device is End of Life.";
2880
2881const char kExperimentalAccessibilityFeaturesName[] =
2882 "Experimental accessibility features";
2883const char kExperimentalAccessibilityFeaturesDescription[] =
2884 "Enable additional accessibility features in the Settings page.";
2885
2886const char kExperimentalInputViewFeaturesName[] =
2887 "Experimental input view features";
2888const char kExperimentalInputViewFeaturesDescription[] =
2889 "Enable experimental features for IME input views.";
2890
2891const char kFileManagerTouchModeName[] = "Files App. touch mode";
2892const char kFileManagerTouchModeDescription[] =
2893 "Touchscreen-specific interactions of the Files app.";
2894
2895const char kFirstRunUiTransitionsName[] =
2896 "Animated transitions in the first-run tutorial";
2897const char kFirstRunUiTransitionsDescription[] =
2898 "Transitions during first-run tutorial are animated.";
2899
Brett Wilson7b44537e2017-08-18 01:38:282900const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2901const char kForceEnableStylusToolsDescription[] =
2902 "Forces display of the stylus tools menu in the shelf and the stylus "
2903 "section in settings, even if there is no attached stylus device.";
2904
2905const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2906const char kGestureEditingDescription[] =
2907 "Enable/Disable gesture editing option in the settings page for the "
2908 "virtual keyboard.";
2909
2910const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2911const char kGestureTypingDescription[] =
2912 "Enable/Disable gesture typing option in the settings page for the virtual "
2913 "keyboard.";
2914
2915const char kInputViewName[] = "Input views";
2916const char kInputViewDescription[] =
2917 "Enable IME extensions to supply custom views for user input such as "
2918 "virtual keyboards.";
2919
Megumi Hattori5a0d4182018-03-06 11:09:502920const char kLockScreenNotificationName[] = "Lock screen notification";
2921const char kLockScreenNotificationDescription[] =
2922 "Enable notifications on the lock screen.";
2923
Qiang Xu045aff222018-05-21 23:21:012924const char kMaterialDesignInkDropAnimationSpeedName[] =
2925 "Material design ink drop animation speed";
2926const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2927 "Sets the speed of the experimental visual feedback animations for "
2928 "material design.";
2929const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2930const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2931
Brett Wilson7b44537e2017-08-18 01:38:282932const char kMemoryPressureThresholdName[] =
2933 "Memory discard strategy for advanced pressure handling";
2934const char kMemoryPressureThresholdDescription[] =
2935 "Memory discarding strategy to use";
2936const char kConservativeThresholds[] =
2937 "Conservative memory pressure release strategy";
2938const char kAggressiveCacheDiscardThresholds[] =
2939 "Aggressive cache release strategy";
2940const char kAggressiveTabDiscardThresholds[] =
2941 "Aggressive tab release strategy";
2942const char kAggressiveThresholds[] =
2943 "Aggressive tab and cache release strategy";
2944
2945const char kMtpWriteSupportName[] = "MTP write support";
2946const char kMtpWriteSupportDescription[] =
2947 "MTP write support in File System API (and file manager). In-place editing "
2948 "operations are not supported.";
2949
2950const char kMultideviceName[] = "Enable multidevice features";
2951const char kMultideviceDescription[] =
2952 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342953
Kyle Horimoto027590fb2018-02-13 22:19:482954const char kMultiDeviceApiName[] = "Enables the MultiDevice API";
2955const char kMultiDeviceApiDescription[] =
2956 "Enable Mojo-based API which provides synced device metadata and the "
2957 "ability to connect to other devices associated the logged-in Google "
2958 "account.";
2959
Bailey Berrodca8eeca02017-11-18 00:49:122960const char kNativeSmbName[] = "Native Smb Client";
2961const char kNativeSmbDescription[] =
2962 "If enabled, allows connections to an smb filesystem via Files app";
Bailey Berrofc0da1b2017-11-02 11:02:302963
vabr0215a8e2017-03-28 12:47:342964const char kNetworkPortalNotificationName[] =
2965 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342966const char kNetworkPortalNotificationDescription[] =
2967 "If enabled, notification is displayed when device is connected to a "
2968 "network behind captive portal.";
2969
Brett Wilson7b44537e2017-08-18 01:38:282970const char kNewKoreanImeName[] = "New Korean IME";
2971const char kNewKoreanImeDescription[] =
2972 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342973
Brett Wilson7b44537e2017-08-18 01:38:282974const char kNewZipUnpackerName[] = "New ZIP unpacker";
2975const char kNewZipUnpackerDescription[] =
2976 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342977
Qiang Xu045aff222018-05-21 23:21:012978const char kOfficeEditingComponentAppName[] =
2979 "Office Editing for Docs, Sheets & Slides";
2980const char kOfficeEditingComponentAppDescription[] =
2981 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2982
Brett Wilson7b44537e2017-08-18 01:38:282983const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2984const char kPhysicalKeyboardAutocorrectDescription[] =
2985 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2986 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342987
2988const char kPrinterProviderSearchAppName[] =
2989 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342990const char kPrinterProviderSearchAppDescription[] =
2991 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192992 "searches Chrome Web Store for extensions that support printing to a USB "
2993 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342994
Brett Wilson7b44537e2017-08-18 01:38:282995const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2996const char kQuickUnlockPinDescription[] =
2997 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2998 "device on the lock screen after you have signed into your device.";
2999const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
3000const char kQuickUnlockPinSigninDescription[] =
3001 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
3002 "device. After changing this flag PIN needs to be set up again.";
3003const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
3004const char kQuickUnlockFingerprintDescription[] =
3005 "Enabling fingerprint quick unlock allows you to setup and use a "
3006 "fingerprint to unlock your Chromebook on the lock screen after you have "
3007 "signed into your device.";
vabr0215a8e2017-03-28 12:47:343008
James Cook0ba192bf2017-12-01 20:53:113009const char kShowTapsName[] = "Show taps";
3010const char kShowTapsDescription[] =
3011 "Draws a circle at each touch point, which makes touch points more obvious "
3012 "when projecting or mirroring the display. Similar to the Android OS "
3013 "developer option.";
3014
James Cook0ba192bf2017-12-01 20:53:113015const char kShowTouchHudName[] = "Show HUD for touch points";
3016const char kShowTouchHudDescription[] =
3017 "Shows a trail of colored dots for the last few touch points. Pressing "
3018 "Ctrl-Alt-I shows a heads-up display view in the top-left corner. Helps "
3019 "debug hardware issues that generate spurious touch events.";
3020
Chung-Sheng Wu468b0b32017-09-01 14:41:573021const char kSysInternalsName[] = "Enable Sys-Internals";
3022const char kSysInternalsDescription[] =
3023 "If enabled, user can monitor system information at "
3024 "chrome://sys-internals.";
3025
James Cooka9384092018-05-23 02:54:263026const char kTapVisualizerAppName[] = "Show taps with mojo app";
3027const char kTapVisualizerAppDescription[] =
3028 "Use an out-of-process mojo app to show touch points.";
3029
Brett Wilson7b44537e2017-08-18 01:38:283030const char kTeamDrivesName[] = "Enable Team Drives Integration";
3031const char kTeamDrivesDescription[] =
3032 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:343033
Brett Wilson7b44537e2017-08-18 01:38:283034const char kTetherName[] = "Instant Tethering";
3035const char kTetherDescription[] =
3036 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
3037 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:373038
Brett Wilson7b44537e2017-08-18 01:38:283039const char kTouchscreenCalibrationName[] =
3040 "Enable/disable touchscreen calibration option in material design settings";
3041const char kTouchscreenCalibrationDescription[] =
3042 "If enabled, the user can calibrate the touch screen displays in "
3043 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:093044
Qiang Xu045aff222018-05-21 23:21:013045const char kUiDevToolsName[] = "Enable native UI inspection";
3046const char kUiDevToolsDescription[] =
3047 "Enables inspection of native UI elements. For local inspection use "
3048 "chrome://inspect#other";
3049
3050const char kUiShowCompositedLayerBordersName[] =
3051 "Show UI composited layer borders";
3052const char kUiShowCompositedLayerBordersDescription[] =
3053 "Show border around composited layers created by UI.";
3054const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
3055const char kUiShowCompositedLayerBordersSurface[] = "Surface";
3056const char kUiShowCompositedLayerBordersLayer[] = "Layer";
3057const char kUiShowCompositedLayerBordersAll[] = "All";
3058
3059const char kUiSlowAnimationsName[] = "Slow UI animations";
3060const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
3061
Mitsuru Oshima63d3f2a2017-08-23 00:12:113062// Force UI Mode
3063const char kUiModeName[] = "Force Ui Mode";
3064const char kUiModeDescription[] =
3065 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
3066 R"*(despite its current orientation. "Tablet" means that the )*"
3067 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
3068 R"*(means that the chromebook will act as if it were in clamshell )*"
3069 R"*(mode . "Auto" means that the chromebook will alternate between )*"
3070 R"*(the two, based on its orientation.)*";
3071const char kUiModeTablet[] = "TouchView";
3072const char kUiModeClamshell[] = "Clamshell";
3073const char kUiModeAuto[] = "Auto (default)";
3074
James Cooka1bcfa9a2018-01-30 00:18:403075const char kUseMashName[] = "Out-of-process system UI (mash)";
3076const char kUseMashDescription[] =
3077 "Runs the mojo UI service (mus) and the ash window manager and system UI "
3078 "in a separate process.";
Brett Wilson7b44537e2017-08-18 01:38:283079
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:343080// TODO(mcasas): remove after https://crbug.com/771345.
3081const char kUseMonitorColorSpaceName[] = "Use monitor color space";
3082const char kUseMonitorColorSpaceDescription[] =
3083 "Enables Chrome to use the color space information provided by the monitor"
3084 " instead of the default sRGB color space.";
3085
Brett Wilson7b44537e2017-08-18 01:38:283086const char kVideoPlayerChromecastSupportName[] =
3087 "Experimental Chromecast support for Video Player";
3088const char kVideoPlayerChromecastSupportDescription[] =
3089 "This option enables experimental Chromecast support for Video Player app "
3090 "on ChromeOS.";
3091
3092const char kVirtualKeyboardName[] = "Virtual Keyboard";
3093const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
3094
3095const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
3096const char kVirtualKeyboardOverscrollDescription[] =
3097 "Enables virtual keyboard overscroll support.";
3098
3099const char kVoiceInputName[] = "Voice input on virtual keyboard";
3100const char kVoiceInputDescription[] =
3101 "Enables voice input on virtual keyboard.";
3102
3103const char kWakeOnPacketsName[] = "Wake On Packets";
3104const char kWakeOnPacketsDescription[] =
3105 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:203106
yhanadac5bff5b2017-05-18 06:37:093107#endif // defined(OS_CHROMEOS)
3108
Brett Wilson7b44537e2017-08-18 01:38:283109// Random platform combinations -----------------------------------------------
3110
3111#if defined(OS_WIN) || defined(OS_LINUX)
3112
3113const char kEnableInputImeApiName[] = "Enable Input IME API";
3114const char kEnableInputImeApiDescription[] =
3115 "Enable the use of chrome.input.ime API.";
3116
Tom Anderson6cbd5052018-05-03 23:49:543117#if !defined(OS_CHROMEOS)
3118
3119const char kWarnBeforeQuittingFlagName[] = "Warn Before Quitting";
3120const char kWarnBeforeQuittingFlagDescription[] =
3121 "Confirm to quit by either holding the quit shortcut or pressing it twice.";
3122
3123#endif // !defined(OS_CHROMEOS)
3124
Brett Wilson7b44537e2017-08-18 01:38:283125#endif // defined(OS_WIN) || defined(OS_LINUX)
3126
3127#if defined(OS_WIN) || defined(OS_MACOSX)
3128
3129const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
3130const char kAutomaticTabDiscardingDescription[] =
3131 "If enabled, tabs get automatically discarded from memory when the system "
3132 "memory is low. Discarded tabs are still visible on the tab strip and get "
3133 "reloaded when clicked on. Info about discarded tabs can be found at "
3134 "chrome://discards.";
3135
3136#endif // defined(OS_WIN) || defined(OS_MACOSX)
3137
3138// Feature flags --------------------------------------------------------------
3139
3140#if BUILDFLAG(ENABLE_VR)
3141
David Dorwin5a496c32017-11-17 01:45:053142const char kWebVrVsyncAlignName[] = "WebVR VSync-aligned timing";
3143const char kWebVrVsyncAlignDescription[] =
3144 "Align WebVR application rendering with VSync for smoother animations.";
3145
Brett Wilson7b44537e2017-08-18 01:38:283146#if defined(OS_ANDROID)
3147
Yash Malikb78e72a72018-02-21 09:14:103148const char kVrWebInputEditingName[] = "VR browsing web input editing";
3149const char kVrWebInputEditingDescription[] =
3150 "Allow editing web input fields while in VR mode.";
3151
David Dorwin5a496c32017-11-17 01:45:053152const char kVrBrowsingExperimentalFeaturesName[] =
3153 "VR browsing experimental features";
3154const char kVrBrowsingExperimentalFeaturesDescription[] =
3155 "Experimental VR browsing features that are under development.";
Brett Wilson7b44537e2017-08-18 01:38:283156
David Dorwin5a496c32017-11-17 01:45:053157const char kVrBrowsingExperimentalRenderingName[] =
3158 "VR browsing experimental rendering features";
3159const char kVrBrowsingExperimentalRenderingDescription[] =
3160 "Experimental rendering features for VR browsing (e.g. power-saving "
3161 "rendering modes).";
Michael Thiessenb480fe92017-10-26 16:25:103162
David Dorwin5a496c32017-11-17 01:45:053163const char kVrBrowsingInCustomTabName[] = "VR browsing in Custom Tabs";
3164const char kVrBrowsingInCustomTabDescription[] =
3165 "Allow browsing within a VR headset while in a Custom Tab.";
3166
Michael Thiessen37895912018-01-19 20:15:543167const char kVrIconInDaydreamHomeName[] = "Chrome icon in Daydream Home";
3168const char kVrIconInDaydreamHomeDescription[] =
3169 "Adds an icon to Daydream Home that allows launching Chrome in VR.";
3170
David Dorwin5a496c32017-11-17 01:45:053171const char kWebVrAutopresentFromIntentName[] =
3172 "WebVR auto presentation from intents";
3173const char kWebVrAutopresentFromIntentDescription[] =
3174 "Allow auto presentation of WebVR content from trusted first-party apps.";
Brett Wilson7b44537e2017-08-18 01:38:283175
3176#endif // OS_ANDROID
3177
Bill Orr103ed272018-02-14 21:23:053178#if BUILDFLAG(ENABLE_OCULUS_VR)
3179const char kOculusVRName[] = "Oculus hardware support";
3180const char kOculusVRDescription[] =
3181 "If enabled, Chrome will use Oculus devices for VR (supported only on "
3182 "Windows 10 or later).";
3183#endif // ENABLE_OCULUS_VR
3184
Bill Orr49527562017-11-22 16:58:483185#if BUILDFLAG(ENABLE_OPENVR)
3186const char kOpenVRName[] = "OpenVR hardware support";
3187const char kOpenVRDescription[] =
Bill Orr5056e692018-01-17 02:08:073188 "If enabled, Chrome will use OpenVR devices for VR (supported only on "
3189 "Windows 10 or later).";
Bill Orr49527562017-11-22 16:58:483190#endif // ENABLE_OPENVR
3191
Brett Wilson7b44537e2017-08-18 01:38:283192#endif // ENABLE_VR
3193
Nico Weberaf3b00b2017-09-11 17:58:173194#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283195
3196const char kNaclDebugMaskName[] =
3197 "Restrict Native Client GDB-based debugging by pattern";
3198const char kNaclDebugMaskDescription[] =
3199 "Restricts Native Client application GDB-based debugging by URL of "
3200 "manifest file. Native Client GDB-based debugging must be enabled for this "
3201 "option to work.";
3202const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
3203const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
3204 "Debug everything except secure shell and the PNaCl translator.";
3205const char kNaclDebugMaskChoiceIncludeDebug[] =
3206 "Debug only if manifest URL ends with debug.nmf.";
3207
3208const char kNaclDebugName[] = "Native Client GDB-based debugging";
3209const char kNaclDebugDescription[] =
3210 "Enable GDB debug stub. This will stop a Native Client application on "
3211 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
3212
3213const char kNaclName[] = "Native Client";
3214const char kNaclDescription[] =
3215 "Support Native Client for all web applications, even those that were not "
3216 "installed from the Chrome Web Store.";
3217
3218const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
3219const char kPnaclSubzeroDescription[] =
3220 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
3221
Nico Weberaf3b00b2017-09-11 17:58:173222#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:283223
Brett Wilson7b44537e2017-08-18 01:38:283224const char kWebrtcH264WithOpenh264FfmpegName[] =
3225 "WebRTC H.264 software video encoder/decoder";
3226const char kWebrtcH264WithOpenh264FfmpegDescription[] =
3227 "When enabled, an H.264 software video encoder/decoder pair is included. "
3228 "If a hardware encoder/decoder is also available it may be used instead of "
3229 "this encoder/decoder.";
3230
Brett Wilson7b44537e2017-08-18 01:38:283231#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3232
3233const char kAutofillCreditCardUploadName[] =
3234 "Enable offering upload of Autofilled credit cards";
3235const char kAutofillCreditCardUploadDescription[] =
3236 "Enables a new option to upload credit cards to Google Payments for sync "
3237 "to all Chrome devices.";
3238
3239#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
3240
Becca Hughesdc96e842018-05-04 22:48:283241#if defined(OS_ANDROID)
3242
3243const char kDisplayCutoutAPIName[] =
3244 "Enable support for the Display Cutout API";
3245const char kDisplayCutoutAPIDescription[] =
3246 "Enables developers to support devices that have a display cutout.";
3247
3248#endif // defined(OS_ANDROID)
3249
Brett Wilson7b44537e2017-08-18 01:38:283250// ============================================================================
3251// Don't just add flags to the end, put them in the right section in
3252// alphabetical order just like the header file.
3253// ============================================================================
3254
vabr0215a8e2017-03-28 12:47:343255} // namespace flag_descriptions